Separable Equations, Growth and Decay met y′ = k·y and its solution e^(kt), and the previous course leaned on that exponential at every step. Here the equation is a·y″ + b·y′ + c·y = 0, with a, b and c constants and a not zero, and the same function is the natural thing to try. The only unknown is the number r in the exponent.
y = e^(rt)
y′ = r·e^(rt)
y″ = r²·e^(rt)
a·r²·e^(rt) + b·r·e^(rt) + c·e^(rt) = 0
(a·r² + b·r + c)·e^(rt) = 0
Theorem · The characteristic equationThe function e^(rt) solves a·y″ + b·y′ + c·y = 0 exactly when r solves a·r² + b·r + c = 0.
From the substitution above, e^(rt) solves the equation exactly when (a·r² + b·r + c)·e^(rt) is zero for every t.
The factor e^(rt) is positive for every t, so the product is zero exactly when the bracket is. The bracket has no t in it, so it is zero exactly when r is a root.
□
The rate of the exponential, (e^(rt))′ = r·e^(rt), is the claim Rates of Change and the Derivative demonstrated with rounded quotients in “The Exponential and Its Rate”; the proof above uses it and nothing else new. What is left is the algebra of a quadratic, which is “The Quadratic Formula” in Algebra's Quadratics and Complex Numbers.
r = (−b ± √(b² − 4ac)) / (2a)
disc = b² − 4ac
The four presets
Each preset is an equation and its quadratic. The lab prints the discriminant, the kind of root and the roots, all exactly. For y″ + 3y′ + 2y = 0 the discriminant is 9 − 8 = 1, a perfect square, so the roots are rational. For y″ + 4y′ + 4y = 0 it is 16 − 16 = 0, one root twice. For y″ + 2y′ + 5y = 0 it is 4 − 20 = −16, so the roots are the complex pair −1 ± 2i.
Example · A discriminant that is positive and not a squareFor y″ − y′ − y = 0 the discriminant is 1 + 4 = 5. Both roots are real, and they are (1 ± √5)/2. The lab prints that surd exactly.
Rounded, the roots are ≈ 1.61803 and ≈ −0.618034; the rounded numbers are for the eye only, and the exact surd is what the next lessons would carry into a solution.
Every equation of this form has a characteristic quadratic, and every root of it gives one exponential solution. What is still to decide is how to build the full set of solutions from the roots, and that depends on the kind of root: one lesson each, starting with two real roots.