Solve the differential equation
Move every term to one side to expose the standard form. Second-order linear theory only applies to an equation written as , so add to both sides:
There is no term and no forcing term on the right, so this is homogeneous with constant coefficients — the case that the exponential ansatz solves exactly.
Substitute to turn calculus into algebra. Differentiating twice gives and , so the equation becomes
Because is never zero for any real , the bracket must vanish. That leaves the characteristic equation .
Solve for and read the sign of .
The roots are purely imaginary: there is no real part at all. That is the algebraic signature of undamped oscillation — nothing in the equation grows or decays.
Convert the complex roots into real sine and cosine. For a conjugate pair the two real independent solutions are and , so with :
Writing gives the equivalent form .
Check by substituting back. Differentiating twice multiplies each term by , so identically. A numerical second difference of with , at , and reproduces to within ✓.
Interpret the constants. The angular frequency is rad per unit time, so the period is . The two constants and are fixed by initial data: and .
Need to solve a different problem like this? Open the solver →