4.7.11 · D5Partial Differential Equations

Question bank — Solving wave equation — D'Alembert's solution

1,847 words8 min readBack to topic

Reminder of the cast, so no symbol is unearned:

  • — displacement of the string at position , time .
  • — the fixed wave speed.
  • — the initial shape; — the initial velocity.
  • — the two travelling profiles: the general solution is , a right-mover plus a left-mover .
  • , — the characteristic coordinates (lines along which info travels).
  • The formula under test: .

Picture 1 — a bump splits into two half-height copies

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

Picture 2 — characteristics and the domain of dependence

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

Picture 3 — solving E1 and E2 to see where and come from

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

True or false — justify

Each answer must give the reason, never a bare verdict.

The general solution needs and to be the same function.
False — they generally differ by the velocity integral; only in the special case , where both equal (see Picture 1).
describes a wave moving in the positive -direction.
True — to keep constant as grows, must grow, so the profile slides toward at speed (orange copy in Picture 1).
If the initial velocity , the string never moves.
False — a nonzero initial shape still splits into two half-height copies that travel apart; "zero velocity" only means the instantaneous speed at is zero.
D'Alembert's formula requires to be smooth (infinitely differentiable).
False — the formula only shifts and averages , so even a corner (kink) travels along the characteristics; it is a valid "weak" solution though may not exist at the kink.
The wave equation smooths out sharp corners over time, like the heat equation does.
False — the Heat Equation smooths instantly, but the wave equation transports corners unchanged along ; a kink stays a kink forever.
Doubling the wave speed halves the coefficient in front of the velocity integral.
True — the coefficient is , so turns into , i.e. half — though the interval also widens.
Information from the initial data can reach every point instantly.
False — finite speed means only "sees" the initial line inside ; points outside cannot influence it yet (the triangle base in Picture 2).
The value depends on at just the two endpoints .
False — is integrated over the whole interval ; it is that enters only at the two endpoints.
Adding a constant to leaves the solution unchanged.
False — adds , a term growing linearly in time (a steady drift).
The two characteristic families const and const have opposite slopes in the plane.
True — const has slope while const has slope ; they form the "light-cone" cross through each point (Picture 2).

Spot the error

State what is wrong and fix it.

A student writes .
The integral coefficient must be , not ; it came from dividing the velocity condition , , by (Picture 3). Dimensionally has units velocity·length, and dividing by restores a length (displacement).
"Since , I factor — but this only works because the operators are the same."
The factoring is correct, but the reason is that and commute ( for smooth ); without commuting operators the difference-of-squares identity would fail.
"After the change of variables I got , so is constant."
does not make constant; it means , a sum of two arbitrary single-variable functions — two whole "constants of integration."
Given , , a student writes .
The antiderivative of evaluated top-minus-bottom gives (a minus), yielding , not a plus.
", and , so at we get ."
Setting gives : , i.e. — the sign on and the factor were dropped.
"The bump splits into two full-height copies moving apart."
Each copy carries the factor , so they are half-height (); at they overlap and re-sum to full height (exactly Picture 1).

Why questions

Why do we get two arbitrary functions rather than two arbitrary constants?
A second-order PDE in two independent variables integrates "twice," but each integration in or leaves a free function of the other variable — not a mere constant.
Why do the characteristic coordinates make the messy terms cancel?
In the new variables ; the like terms and appear with equal magnitude and opposite sign, so only the cross term survives.
Why is D'Alembert's the natural method for the wave equation but not the Heat Equation?
The wave equation is hyperbolic with two real characteristic families to travel along; the heat equation is parabolic with no such real characteristics, so it has no finite propagation speed and no travelling-wave factorisation.
Why does the domain of dependence shrink to a point as ?
The interval has width , which vanishes as (the triangle collapses in Picture 2), recovering — the point sees only itself at the initial instant.
Why does a constant initial velocity make the string drift upward linearly?
, a term independent of that grows steadily in time.
Why must we integrate the velocity condition from to (introducing a constant ) rather than just antidifferentiate freely?
We need a definite relation between and (equation ); the constant then provably cancels when reassembled into , so the answer is well-defined.
Why is D'Alembert's construction linked to the Transport Equation?
Each first-order factor is a transport equation whose solution is constant along ; chaining the two builds the full wave solution.

Edge cases

What is from the formula, and does it match the data?
The interval collapses so the integral is and — it correctly returns the initial shape.
What happens to the formula if ?
The characteristics flatten () and the coefficient blows up; the wave equation degenerates (), so D'Alembert's finite-speed picture no longer applies.
If and are both zero everywhere, what is ?
Identically — no shape, no push means no motion; both terms of the formula vanish for all .
If is nonzero only on a tiny interval , when does a far point first move?
When the interval first overlaps , i.e. at — before that the far point is still at rest (finite speed).
If has a jump discontinuity, what does the solution do?
The jump splits into two half-jumps that travel along unchanged; the wave equation neither heals nor spreads the discontinuity, unlike diffusion.
What is the solution if is a pure right-mover, e.g. but you want only ?
You cannot force a pure right-mover from shape data alone; a nonzero always contributes to both directions unless the velocity is tuned via to cancel the left-mover.
Does the formula still work for (running the wave backward)?
Yes — the wave equation is time-reversible, so replacing by still solves it; the two travellers simply swap directions and reconverge.
Recall One-line self-test

If someone hands you , , and asks for , name the exact pieces of the initial line you must inspect. Answer ::: at the two endpoints , and over the whole interval between them — nothing else (the base of the triangle in Picture 2).


Connections

  • Parent: D'Alembert's solution — the derivation these traps probe; Picture 3 is its data-fitting step.
  • Domain of Dependence and Influence — literally Picture 2: the shaded triangle and its base.
  • Transport Equation — the single characteristic lines of Picture 2, taken one at a time ().
  • Method of Characteristics — where the lines drawn in Picture 2 come from.
  • Classification of Second-Order PDEs — why "hyperbolic" gives the two real characteristic slopes .
  • Heat Equation — the contrast case: no straight characteristics, so no triangle, no finite speed.