Now let us solve the initial value problem
Again, we will assume that our solution has the form Substituting this function into our differential equation, we find that
As in
Example 4.1.2,
however, the roots of this polynomial are complex,
Using Euler’s formula, we can find a complex solution
The real and imaginary parts of our solution are
respectively. We claim that both and are solutions to our differential equation. Indeed, since is a solution,
Since the real part and the imaginary part of must both be zero, we can conclude that and Therefore, the general solution to our equation is
To apply our initial conditions and we first calculate
Thus,
and and Hence, the solution to our initial value problem is