4.7.11 · D2Partial Differential Equations

Visual walkthrough — Solving wave equation — D'Alembert's solution

1,862 words8 min readBack to topic

Step 1 — What is a "wave that keeps its shape"?

WHAT. Before any equation, look at a single bump on a rope. Call the height of the rope at position and time the letter . So is just "how high the rope is, here and now." At we have a shape; a little later the same shape sits somewhere else.

WHY. We need to know what "moving without changing shape" means as a formula before we can solve anything. That single idea is the seed of the whole solution.

PICTURE. In the figure the same bump is drawn at three times. Notice: the point that was at the top slides to the right. If the top was at at time , and it moves at speed (distance over time), then at time the top is at . So the shape at time is the old shape shifted right by .

Figure — Solving wave equation — D'Alembert's solution

Step 2 — The equation that only such travellers obey

WHAT. We want the differential equation whose solutions are exactly these shape-preserving travellers. Physics (Newton's law on a tiny string element) gives the 1D wave equation:

WHY. We need one master equation. Every symbol:

  • ::: acceleration of a point on the rope (rate of rate of change of height in time) — the "force felt" side.
  • ::: curvature of the rope (how much it bends in space) — a bent rope pulls itself straight.
  • ::: turns curvature into acceleration; carries units of speed.

The sentence is: "how fast a point accelerates = (speed²) × how curved the rope is there." A sharply curved dip snaps back hardest.

PICTURE. The figure shows a curved piece of rope. Where it curves upward (a valley, ) the acceleration is upward — it gets pushed up, filling the valley. That restoring push is what makes the disturbance travel.

Figure — Solving wave equation — D'Alembert's solution

Step 3 — Factor the operator: two transports hiding inside

WHAT. Move everything to one side and read the derivatives as objects we can multiply: Here means "take the time-derivative" and "take the space-derivative." Because ,

WHY this tool — difference of squares. We chose factoring (not the quadratic formula, not guessing) because the operator is literally a difference of two squares, and the two factors are simpler first-order operators. Each factor is a Transport Equation — the simplest PDE there is. Solving two easy problems beats one hard one.

  • ::: annihilates left-movers .
  • ::: annihilates right-movers .

Why we're allowed to factor: the operators commute — for a smooth , (order of differentiation doesn't matter), exactly as ordinary numbers commute.

PICTURE. Two slanted lines cross the plane: one for each factor. Values ride along these lines unchanged — that is what a transport equation says.

Figure — Solving wave equation — D'Alembert's solution

Step 4 — Rotate onto the natural grid: characteristic coordinates

WHAT. Those two slanted line-families beg to be used as axes. Define (chalk-blue lines) labels which right-going line you're on; (chalk-pink) which left-going line.

WHY. In the ordinary grid the wave equation is tangled. If we tilt our graph paper so its lines are the characteristics, the equation should simplify — because along each line nothing changes. This is the Method of Characteristics idea: choose coordinates that follow the physics.

PICTURE. The old square grid is redrawn as a diamond grid of const and const lines. A single point is now named by which two lines cross there.

Figure — Solving wave equation — D'Alembert's solution

To translate derivatives we invert: , . The chain rule (each old variable feeds both new ones) gives


Step 5 — The great cancellation:

WHAT. Square each translated operator and subtract: Now form :

WHY it's beautiful. Every "straight" second derivative (, ) appears once with and once with — they annihilate. Only the cross term survives, and only its sign differs, leaving Term by term: = "first slope along , then along ." Setting it to zero says the -slope doesn't change as you walk in .

PICTURE. The figure lines up the two expansions and strikes out the matching terms in chalk, leaving one lonely surviving box.

Figure — Solving wave equation — D'Alembert's solution

Step 6 — Integrate twice: two free travellers appear

WHAT. From : integrate in depends on alone, call it . Integrate in

WHY two whole functions. Each integration of a PDE gives back a function of the leftover variable (not a mere constant). Two integrations → two arbitrary functions, exactly the freedom a second-order equation needs. = right-mover (Step 1), = left-mover.

PICTURE. A tall bump is drawn as the sum of a right-running half and a left-running half; add the heights and you recover the original.

Figure — Solving wave equation — D'Alembert's solution

Step 7 — Fitting the initial data (where , enter)

WHAT. Two unknown functions need two facts. The initial shape and initial velocity supply them.

At the two riders overlap: u(x,0)=F(x)+G(x)=f(x).\tag{1} Differentiate and set : -cF'(x)+cG'(x)=g(x)\ \Rightarrow\ -F'(x)+G'(x)=\tfrac{1}{c}\,g(x).\tag{2}

WHY the . The chain rule pulls a factor out of every time-derivative of a traveller (because ). Dividing it back gives — this single is the ancestor of the in the final formula.

Integrate (2) from to : -F(x)+G(x)=\tfrac1c\int_0^x g(s)\,ds+K.\tag{3}

Adding/subtracting (1) and (3) and rebuilding (the cancels, the limits merge) yields:

PICTURE. The figure shows the two half-copies of splitting apart, and the velocity shaded over — the domain of dependence.

Figure — Solving wave equation — D'Alembert's solution

Step 8 — Edge cases you must be able to draw

WHAT / WHY. A solution you can't stress-test isn't understood. Three degenerate inputs:

  1. (pure shape). Integral vanishes → . The bump splits into two half-height twins.
  2. (pure kick). First term gone → only the spreading integral. A flat, widening plateau grows between two edges at .
  3. . Both ; the two -halves stack to full height and the integral (zero-width) vanishes → , . The formula obeys its own initial conditions.
  4. Outside the cone. A point on the initial line farther than from cannot reach : finite speed — contrast the Heat Equation, which spreads instantly.

PICTURE. Three mini-panels: split twins, spreading plateau, and the light-cone showing what can and cannot influence .

Figure — Solving wave equation — D'Alembert's solution

The one-picture summary

Figure — Solving wave equation — D'Alembert's solution

The single diagram threads it all: the plane, the two characteristic diagonals through , their feet at carrying the two halves of , and the shaded base carrying . Reading the picture is reading D'Alembert's formula.

Recall Feynman: the whole walkthrough in plain words

Flick a rope. Newton says every point accelerates in proportion to how curved the rope is right there — that's . Stare at it and you notice it factors into two "just carry the value along a slanted line" problems: one line runs right, one runs left. So we tilt our graph paper to use those lines as axes (). On that tilted paper the equation collapses to "the slope-along-one-line never changes along the other" — — which means the answer is simply any right-runner plus any left-runner: . Finally we ask the rope its two starting facts — its shape and its push — and solving two simple equations tells us: cut the shape in half and send the halves apart (), and smear the push over the stretch the wave can reach, sliced by the speed (). Anything too far away at the start simply can't have arrived yet — the wave has a top speed . That's the entire song.


Connections

  • Method of Characteristics — the tilt is this method in action.
  • Transport Equation — the two first-order factors from Step 3.
  • Separation of Variables — Wave Equation — the Fourier route on bounded strings.
  • Domain of Dependence and Influence — Step 8's light-cone.
  • Classification of Second-Order PDEs — the wave equation as hyperbolic prototype.
  • Heat Equation — the instant-spreading contrast.