Case with Complex Roots
We continue our discussion of ODEs of the form . We illustrate the case where the characteristic polynomial has complex roots using the following example:
Consider the ODE . The characteristic polynomial is , which has no real roots. Using the quadratic formula, we can find that are the two roots of this polynomial. So then the general solution is , and we're done. But wait! There's a problem with this. Our differential equation is for a real valued function, but as written, our solution could be complex. What's going on? To try and resolve this, let's first use Euler's Formula and expand these exponentials. Write
Now, we define and , so we have
so this is the general solution for problems with complex roots. The one thing we need to be careful about is ensuring the constants are real. They will be real if and are complex conjugates, and any two choices of and can be obtained with appopriate choices of . An alternative justification could be that if are picked to satisfy a problem's initial conditions, will solve the given IVP and we can know we found the right solution using the existence and uniqueness theorem.