Solve the differential equation dydx=x2+2x+1 with the boundary condition when x=3, then y=−1.
Solution We begin by finding the general solution of the differential equation, namely y=x33+x2+x+C
To determine the number C, we use the boundary condition when x=3, then y=−1. −1=333+32+3+Cx=3,y=−1C=−22
The particular solution of the differential equation with the boundary condition when x=3, then y=−1, is y=x33+x2+x−22