Introduction to differential equations
Second-order linear equations
Why the characteristic equation works: it is an eigenvalue problem.
about 8 min
Start from a problem
A damped oscillator behaves in three sharply different ways: it oscillates forever, it oscillates and decays, or it slides back without oscillating. What decides whether it oscillates?
We need a method that turns a second-order differential equation into an algebra problem, and explains why the answer splits into exactly three cases.
Choose "Damped oscillator": . With the solution is an undying sine wave; for small the oscillation decays; once exceeds it stops oscillating and simply slides back to zero. In the phase portrait these are an ellipse, an inward spiral, and a curve heading straight for the origin.
The shape of the solution (oscillating or not) depends on how compares with , like the sign of a discriminant of some quadratic. And solutions are always exponentials or exponentials times trigonometric functions, all relatives of . Perhaps substituting turns the differential equation into an algebraic one.
Definition
Derivation: the characteristic equation
Substitute : , , so
is the characteristic equation of the ODE.
Why "characteristic"? Let . Then . The characteristic polynomial of is The characteristic equation of the ODE is literally the characteristic equation of . And the eigenvector of corresponds exactly to the solution (for which ). Solving a second-order linear ODE is finding the eigenvalues of a matrix.
Theorems and proofs
The solutions of form a two-dimensional real vector space.
Linearity: if are solutions, , so the solution set is a subspace of the space of functions.
Dimension: by existence and uniqueness (for the system ), the map is a linear bijection from the solution space onto : injective because equal initial data give equal solutions, surjective because every initial datum has a solution. So the solution space is isomorphic to .
Hence it suffices to find two independent solutions ; the general solution is .
Let the characteristic roots be and .
- , distinct real : .
- , : .
- , : .
Case 1. are solutions. Independence: if , divide by to get ; differentiating gives , so and then .
Case 2. and . Check : , ; substituting, since and is a root. and are clearly independent. This is the case where has only one eigen-direction (like a shear): the missing second solution is supplied by the factor .
Case 3. (Euler's formula, see Taylor expansion) is a complex solution. The coefficients are real, so its real and imaginary parts are real solutions: and . They are independent since are ().
For the damped oscillator , , : underdamped (decaying oscillation), critical, overdamped. Exactly the three behaviours in the experiment.
: , , .
: , .
For a double root the second solution is , not another : two proportional solutions span only one dimension and cannot fill a two-dimensional solution space. For complex roots the general solution is with the imaginary part, not some combination like .
Applications
The general solution of is the homogeneous general solution plus one particular solution; the proof is identical to the first-order case. For forced vibration the particular solution's amplitude blows up as : resonance.
An -th order constant-coefficient linear ODE an eigenvalue problem for an matrix; the solution space is an -dimensional vector space; inhomogeneous solutions form its translate. Vibration modes in mechanics and RLC responses in circuits are diagonalisation in disguise.
Textbooks usually give the name "characteristic equation" first and then ask you to memorise three cases. Here the order is reversed: first see the three behaviours, then guess , then discover that the "characteristic equation" really is the characteristic equation of a matrix. The name is no coincidence; it is one mathematical object seen from two fields.