4.6.10 · D2Ordinary Differential Equations

Visual walkthrough — Homogeneous with constant coefficients — characteristic equation

2,095 words10 min readBack to topic

We follow one concrete equation the whole way:

Let me name every symbol before using it, because that is the rule:


Step 1 — Read the equation as a balance, not a formula

WHAT. The equation says: take the curve's bendiness (), its slope (), and its height (); scale each by a number; the three must sum to zero at every point .

WHY. Before touching algebra we must see what we're hunting: a curve so self-consistent that its own height, slope and bend forever conspire to cancel. Most curves cannot do this — a random wiggle has no reason for its three quantities to stay in balance.

PICTURE. Look at the figure. A candidate curve is drawn in burnt orange. At one point we mark its height (the dot), its slope (the tangent arrow), and its bend (how the tangent is turning). The little scale-bars show , , stacked — and they must add to the flat zero line.

Figure — Homogeneous with constant coefficients — characteristic equation

Step 2 — Only one family self-reproduces: the exponential

WHAT. We guess the curve is . Here is a fixed special number, and is an unknown number (possibly negative, possibly imaginary — we'll allow all of it later).

WHY THIS TOOL AND NOT ANOTHER? The balance in Step 1 needs , and to be the same shape so they can cancel. Ask: which curve has a derivative that is just a scaled copy of itself?

  • A parabola? Its derivative is a line — different shape. Rejected.
  • ? Its derivative is — a shifted shape. (Almost; it comes back around after two steps. Hold that thought — it re-enters in Step 8.)
  • ? Its derivative is exactly itself, only rescaled.

That last property is unique to the exponential, and it is precisely what lets three copies cancel.

PICTURE. The figure overlays and its derivative (dashed). They are the same curve vertically stretched by — never a new shape. That "shape-invariance" is the whole reason we bet on it.

Figure — Homogeneous with constant coefficients — characteristic equation

Step 3 — Differentiate the guess, twice

WHAT. Apply the shape-invariance rule from Step 2 repeatedly:

WHY. We need and in the same language () so we can substitute them into the balance. Each differentiation just multiplies by another — that is the beauty of the choice.

Term by term:

  • — height.
  • — one factor of (one derivative).
  • — two factors of (two derivatives).

PICTURE. A little "ladder" figure: each rung is one derivative, and climbing a rung pins on one more . The exponential rides along untouched at every rung.

Figure — Homogeneous with constant coefficients — characteristic equation

Step 4 — Substitute and factor: calculus becomes algebra

WHAT. Put the three expressions into : Every term carries a common . Pull it out front:

WHY. Factoring exposes the structure. The messy calculus has collapsed into a product: an exponential times a plain polynomial in .

Annotating the factored form:

PICTURE. The figure shows the two factors as two blocks. The block is shaded and stamped " always". The only way the product is zero is if the other block is zero.

Figure — Homogeneous with constant coefficients — characteristic equation

Step 5 — Divide by : the characteristic equation is born

WHAT. Because is never zero (an exponential is always positive), we may divide it away. What survives is: the characteristic equation (also called the auxiliary equation).

WHY. This is the payoff of the whole trick. We started with a differential equation about slopes and bends, and we have traded it for a plain quadratic — the same kind you factor in school. Solve for , and each hands you a solution .

To solve it we use the quadratic formula — the tool that answers "for which does a parabola hit zero?":

  • centres the roots, scales them.
  • is the spread of the two roots away from the centre.
  • is the discriminant — the number under the root that decides everything.

PICTURE. The figure plots the parabola . Its crossings of the horizontal axis are the roots. The teal arrows show the two crossings; the plum bracket shows as their half-spread.

Figure — Homogeneous with constant coefficients — characteristic equation

Step 6 — Case A: , the parabola cuts the axis twice

WHAT. If then is a real positive number, so we get two different real roots . Two roots ⇒ two independent building-block solutions:

WHY the two constants ? A second-order equation loses two derivatives, so it needs two free knobs to fit any starting height and starting slope. (Independence is exactly what the Wronskian certifies.)

Each piece:

  • , — two genuinely different exponential shapes.
  • — free dials set later by initial conditions.

PICTURE. Parabola dips below the axis, crossing at two points . Beside it, the two resulting exponential curves (one steeper, one shallower).

Figure — Homogeneous with constant coefficients — characteristic equation

Step 7 — Case B (degenerate): , the parabola just kisses the axis

WHAT. If then , and both roots collapse to a single . Now is only one solution — but a second-order equation still demands two. The rescue:

WHY the extra ? This is the subtle one, so draw it. The operator factors as where . Solving the inner gives ; solving is a first-order ODE whose integrating factor cancels the exponential and leaves a bare constant to integrate, which manufactures the . (Full mechanism in Second Order Linear ODE — Reduction of Order.) So the is not a magic rule — it is the leftover of an integration.

Annotating:

  • — the ordinary exponential solution.
  • — the reduction-of-order companion; the is the missing second dial.

PICTURE. The parabola is tangent to the axis at exactly one point (a "kiss"). Beside it, the two solution curves: and — the second one starts at zero, rises, then the exponential takes over.

Figure — Homogeneous with constant coefficients — characteristic equation

Step 8 — Case C: , the parabola never touches the axis

WHAT. If then is the square root of a negative number — no real works. We invent with , giving a complex conjugate pair:

  • — the real part: sets growth () or decay () or neither ().
  • — the imaginary part: sets how fast it oscillates.

WHY sin and cos appear. The raw solutions are complex, but a real-world ODE wants real answers. Euler's formula converts: This is why the shifted-shape curve we rejected in Step 2 sneaks back in: an oscillation is what an exponential with an imaginary exponent is. Taking real and imaginary parts gives two real, independent solutions, so:

Term by term:

  • — the envelope: shrinks the wave if , grows it if , flat if .
  • — the wiggle at frequency .

PICTURE. The parabola floats entirely above the axis (no crossing). Beside it, an oscillation hugged by a shrinking envelope (a decaying wave) — the picture of a Damped Harmonic Oscillator.

Figure — Homogeneous with constant coefficients — characteristic equation

Step 9 — All three cases are one parabola in disguise

WHAT. The only thing that changed across Steps 6–8 was where the parabola sits relative to the axis:

Parabola vs axis Roots Solution shape
cuts twice two real
kisses once one (double)
misses

WHY. Understanding the one picture — a parabola sliding up and down past the -axis — replaces memorising three unrelated rules. The height of the parabola is the discriminant.

PICTURE. Three copies of the same parabola shifted vertically, each with its solution sketch beneath. This is the flagship compression.

Figure — Homogeneous with constant coefficients — characteristic equation

The one-picture summary

Everything collapses to: guess → get quadratic → look where the parabola meets the axis.

guess y = e^rx

divide by e^rx

delta greater 0

delta equals 0

delta less 0

a y'' + b y' + c y = 0

e^rx times a r^2 + b r + c

a r^2 + b r + c = 0

two real roots: c1 e^r1x + c2 e^r2x

double root: c1 + c2 x times e^rx

complex: e^alpha x times c1 cos + c2 sin

Figure — Homogeneous with constant coefficients — characteristic equation
Recall Feynman retelling of the whole walkthrough

We wanted a curve whose height, slope, and bend always cancel in fixed proportion. Only one curve in the world copies itself when you differentiate it — the exponential — so we bet on it. Differentiating just sticks on extra 's, so the whole differential equation shrinks into a plain quadratic . That quadratic is a parabola, and the whole story is where it meets the axis: cross twice → two exponentials; barely kiss → one exponential plus an -nudge partner; miss entirely → the roots go imaginary and the curve wiggles as sine and cosine, wrapped in a growing or fading envelope. Three answers, one parabola.


Connections