Source

Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree

A homogeneous linear second order ODE with constant coefficients has the form

with real constants . ("Homogeneous" here means the right side is .) Examples: , . Not linear: , .

Characteristic equation

Try . Then and , and since :

This is the characteristic (auxiliary) equation: replace by , by , by .

Three cases

DiscriminantRootsGeneral solution
real
repeated
complex

In each case the two basic solutions are linearly independent (not a constant multiple of each other), which is why the extra is needed in the repeated case. The lecture derives all three formulas by setting , which turns the ODE into the separable equation .

Method

  1. Write the characteristic equation
  2. Solve for (factorise or quadratic formula)
  3. Pick the matching general solution from the table
  4. For an IVP, use and to find and

Worked examples

  • : , so
  • : , so
  • : , so

Applications

Spring and mass: Hooke's law and Newton's second law give

, is simple harmonic motion, adds damping, and is an external (forcing) term.

RLC circuit in series: by Kirchhoff's voltage law, with charge and current ,

Both have the same form. With a non-zero right side, solve with the Method of Undetermined Coefficients or variation of parameters.