Find the general solution of
where and are real constants.
Derive the characteristic equation. Trying gives and , so
Since is never zero, the exponent must satisfy
Note the sign: the middle coefficient is , so the characteristic equation carries , not .
Solve for r and identify the discriminant.
Everything now depends on the sign of , which is why the answer necessarily comes in three cases.
Case D > 0: two distinct real roots. With ,
The two exponentials are independent because .
Case D = 0: one repeated root. Then , and alone gives only a one-parameter family. The second independent solution is :
Case D < 0: complex conjugate roots. Writing and taking real and imaginary parts:
The real part controls growth or decay; the imaginary part sets the frequency.
Check a concrete instance. Take , : then , roots and , and . Substituting : . Correct. Take , : , giving , the familiar solution of .
Need to solve a different problem like this? Open the solver →