Find the general solution of
where and are real constants.
Normalise the equation. Dividing by (legitimate since ) gives
Only the single ratio matters — the individual values of and never appear again.
Form the characteristic equation. Substituting and cancelling the non-zero :
There is no linear term in because the equation has no term — this is the undamped case, so the roots are either purely imaginary or purely real, never both.
Case b/a > 0: purely imaginary roots. Then and
This is simple harmonic motion with angular frequency — the mass-spring equation is exactly this case.
Case b/a < 0: two real roots. Then and
One solution grows and one decays; equivalently .
Case b = 0: a double root at zero. The equation collapses to , whose solutions are the straight lines
This is the repeated-root case, with and as the two independent solutions.
Verify one case. With , we get and . Substituting : , so . Correct.
Need to solve a different problem like this? Open the solver →