4.6.9 · D2Ordinary Differential Equations

Visual walkthrough — Second-order linear ODEs — superposition principle, general theory

2,243 words10 min readBack to topic

We will use a few symbols. Before we do, here is the promise for each:

  • is a function — a machine that takes a number and returns a number . Think of it as a curve drawn on paper.
  • means "the slope of that curve" (how steep it is) and means "how fast the slope itself is changing" (the bending). We earn these fully in Step 1.
  • is a machine that eats a function and returns a function. We build it in Step 2.

Let's go from zero.


Step 1 — What and actually look like

WHY we need them. An "ODE" is just a rule that ties a curve's height, slope, and bending together. To read such a rule you must first see those three quantities on one picture. Everything after this depends on recognising them.

PICTURE. In the figure, the blue curve is . At the marked point the short orange segment is the tangent — its tilt is . The green shading shows where the curve bends downward () versus upward ().

Figure — Second-order linear ODEs — superposition principle, general theory

Step 2 — Packaging the ODE into one machine

Each symbol, right where it sits:

  • — the bending of the curve (from Step 1).
  • — a given function; a dial that weights how much the slope contributes.
  • — the slope.
  • — a given function; a dial weighting the height.
  • — the height of the curve.

WHY box it. Because then "solving the ODE" becomes the single sentence: find every function that the machine sends to the target . And the machine has a magic property we can draw.

PICTURE. The figure shows as a box: a curve goes in the left, a new curve comes out the right. Feeding in different curves gives different outputs.

Figure — Second-order linear ODEs — superposition principle, general theory

Step 3 — The magic property: is linear

Term by term:

  • — plain numbers (scaling factors, e.g. "make this curve twice as tall").
  • — two input curves.
  • Left side: feed the combined curve into the machine.
  • Right side: feed each curve separately, then combine the outputs.
  • The equals sign is the whole claim: doing it either way lands on the same output.

WHY it's true. Because differentiation itself already obeys this: the slope of a sum is the sum of the slopes, and scaling a curve scales its slope. The parent note shows the three-line algebra; here we just see it.

PICTURE. Left panel: build the input by stretching by , stretching by , and stacking them — then run the machine. Right panel: run each through first, then stack. The two red output curves coincide exactly.

Figure — Second-order linear ODEs — superposition principle, general theory

This one identity — see Linear algebra — vector spaces and bases for the general idea of a "linear map" — is the seed of everything below.


Step 4 — Superposition: solutions add up

  • The two under-braces are zero because are assumed to be solutions.
  • Therefore the whole thing is zero, so is also a solution, for any numbers .

WHY this is huge. It means solutions can be mixed in any proportion and you stay a solution. Geometrically: the solutions live on a flat sheet through the origin — a plane.

PICTURE. Each solution is drawn as an arrow from the origin in an abstract "solution space". points one way, another. Every dot on the shaded plane is again a valid solution. Nothing escapes the plane.

Figure — Second-order linear ODEs — superposition principle, general theory

Step 5 — Why we need independence (the parallel-arrows trap)

  • collapses two knobs into one effective knob.
  • So you'd be missing half the solutions.

WHY it matters. A second-order ODE needs two free constants (Step 8 explains why). Parallel solutions give only one. We call two non-parallel solutions linearly independent.

PICTURE. Left: two parallel arrows — all combinations stay on one line (bad). Right: two spread-apart arrows — combinations fill the plane (good).

Figure — Second-order linear ODEs — superposition principle, general theory

Step 6 — The Wronskian: a machine that detects parallelness

  • is called the Wronskian.
  • at even one point no hidden relation arrows are independent.
  • measures how much "spread apart" in the height-and-slope plane.

WHY a determinant. The quantity is exactly the signed area of the parallelogram made by the two vectors and . Zero area = squashed flat = parallel = dependent. Non-zero area = genuine spread = independent. See Linear algebra — vector spaces and bases.

PICTURE. The two vectors and drawn tail-to-origin; the shaded parallelogram between them; its area is . When they line up the parallelogram collapses to a segment of area .

Figure — Second-order linear ODEs — superposition principle, general theory

Step 7 — Edge case: all-or-nothing (Abel's theorem)

  • The exponential of any real number is strictly positive — it never touches zero.
  • So is multiplied by a strictly positive factor: if then is never zero; if then is always zero.

WHY we care. You only ever check the Wronskian at one convenient point. See Abel's theorem and First-order linear ODEs for where that little equation comes from.

PICTURE. The exponential envelope curve stays strictly above the axis; (blue) is that curve scaled by a constant, so it either lives entirely above or entirely below the axis — it cannot cross.

Figure — Second-order linear ODEs — superposition principle, general theory

Step 8 — Why exactly two constants, and the forced case

  • is homogeneous equals some .
  • So every forced solution = (the whole homogeneous plane) shifted by the single vector .

WHY it fails to be a plane through the origin. The forced solutions form the same plane, lifted off the origin by — an affine plane. Two initial conditions then pin one exact point (guaranteed unique by Existence and uniqueness theorems for ODEs).

PICTURE. The blue homogeneous plane passes through the origin; the orange forced plane is a parallel copy shifted by the green vector . A red dot marks the unique solution selected by the initial conditions.

Figure — Second-order linear ODEs — superposition principle, general theory

Where each piece comes from in practice: from the Characteristic equation — constant coefficient ODEs, and from Method of undetermined coefficients or Variation of parameters.


The one-picture summary

Figure — Second-order linear ODEs — superposition principle, general theory

The full logical chain: linearity of solutions add (a plane) need two independent arrows Wronskian detects independence Abel makes it all-or-nothing forced case is the same plane shifted by .

Recall Feynman retelling — say it like a story

The ODE is a machine. Feed it a curve, it hands you back a curve. The machine is fair: stretch the input, the output stretches the same; add two inputs, the outputs add. Because it's fair, if two curves each come out as flat zero, then any mix of them also comes out zero — so all the "zero solutions" live on a flat sheet. To lay out that whole sheet you need two curves that don't point the same way; if one is just a scaled copy of the other you only get a line and you're missing half. To check they truly point different ways, compute the little area between the vectors and — that's the Wronskian. If that area is non-zero anywhere, Abel's rule says it's non-zero everywhere, so one check suffices. Finally, if the machine is asked to output something non-zero, find just one curve that works and slide the whole flat sheet over to sit on it; two initial conditions then poke a finger onto the exact point you want.

Recall Test yourself

Why can you scale-and-add homogeneous solutions but not forced ones? ::: For , . For , you'd get , which equals only if — so free scaling breaks. What does the Wronskian geometrically measure? ::: The signed area of the parallelogram formed by the vectors and ; zero area = parallel = dependent. Why is checking at one point enough for ODE solutions? ::: Abel: , and the exponential is never zero, so is all-or-nothing. What shape do the forced solutions form? ::: The homogeneous plane through the origin, shifted (translated) by any one particular solution — an affine plane.