Solve this starting value problem.
The characteristic equation has a complex pair. Checked exactly in the original equation.
See what the equation is asking for, and make an inspired guess
The equation says: a fixed combination of , its slope and its curvature must cancel to zero at EVERY . The simplest way for three functions to cancel like that everywhere is for all three to be constant multiples of ONE function, so that the equation only has to balance the multiples. So we look for a function whose derivatives are multiples of itself, and the functions that do that are the exponentials . The guess is not a trick pulled from a hat, and it costs nothing: a theorem about linear equations (Lebl, Notes on Diffy Qs, Theorem 2.1.3) says that once two independent solutions and are known, EVERY solution is . So if the guess produces two, there are no others left to find.
Turn the differential equation into an ordinary equation
Put into the equation with still unknown. Each differentiation simply brings down a factor of , so every term contains the same , which can be taken out. What is left is an equation about the NUMBER , with no derivatives in it at all. Calculus has been traded for algebra.
Solve the characteristic equation
It is a quadratic, and its discriminant decides the whole character of the solution before we compute anything else: positive means two real rates (pure growth or decay), zero means one rate counted twice, negative means a complex pair, and complex rates are how oscillation enters an equation that contains no sines or cosines at all.
Turn the complex exponentials into real waves
The solutions are perfectly good, but they are complex, and the problem is about a real quantity. Euler's formula, , splits them: . Because the equation has REAL coefficients, the real part and the imaginary part of a complex solution are each solutions on their own. So an imaginary part in the rate is not a nuisance: it IS the oscillation.
Use the starting values to find the constants
At the cosine is , the sine is and the exponential is , so the first starting value gives with no work. The slope at zero then gives .
Differentiating with the product rule and putting gives .
State the solution and check it in the equation
The check for a differential equation asks nothing on trust: differentiate the answer twice, put everything into the left side, and it must vanish for every . Our software does this exactly, in surd arithmetic, comparing the coefficient of each basic function separately, and refuses to show the page if anything is left over.