Particular Solution
We proceed as in the hints. First, we find a solution to
by noticing that since the right hand side is a quadratic polynomial and the left hand side is a second order differential equation, we have that a solution is given by
and we solve for A,B and C. Direct substitution yields
Isolating to one side yields
Since this must hold for all x values, we have that each of the individual coefficients must be zero. This gives
Solving gives A=1, B=1 and C= 0. Hence, a solution to our differential equation is
Homogeneous solution
The story is not over yet. We could add the particular solution to solutions found via
Adding these solutions together would give the full set of solutions. To solve the homogeneous part notice that the corresponding polynomial given by
has two imaginary roots given by (using the quadratic formula)
Hence, to this new differential equation, we have the solutions
Combining solutions, we have that
.
Initial Conditions
Now we would be done except, this is an initial value problem so we need to solve for the constants. The initial conditions are and . Hence, plugging in these values, we get that
and that (taking the derivative via the product rule)
NOTE: Above plugging in 0 for immediately would make the above computation simpler. Hence, the final solution is
.
Phew!
|