4.7.10 · D4Partial Differential Equations

Exercises — Wave equation (hyperbolic) 1D — derivation

2,602 words12 min readBack to topic

Throughout, is the sideways (transverse) displacement of a string, the tension (a pull, in newtons), the mass per unit length (kg/m), and the wave speed (m/s). The equation is where is "how fast the up-down velocity is changing" (vertical acceleration) and is the curvature — how much the string bends.


Level 1 — Recognition

L1.1 — Name the parts

State, for , what , , and each mean physically, and give the formula for .

Recall Solution
  • = vertical acceleration of a point on the string (second time-derivative).
  • = curvature of the string at that point (second space-derivative): how the slope changes as you move along .
  • = wave speed, and . The equation reads: acceleration of a point is proportional to how curved the string is there.

L1.2 — Spot the wave equation

Which of these is the 1D wave equation?

Recall Solution

(b).

  • (a) has one time-derivative → that is the heat equation (parabolic).
  • (c) has no time at all → the Laplace equation (elliptic).
  • (b) has two time-derivatives matched to two space-derivatives → the wave equation (hyperbolic). See Classification of second-order PDEs.

What are , , ? Every second-order PDE in two variables can be written in the standard form where is the number multiplying the pure second time-derivative , the number multiplying the pure second space-derivative , and the number multiplying the mixed derivative . For the wave equation we read off , , . The discriminant classifies the PDE just like the discriminant of a quadratic classifies its roots.


Level 2 — Application

L2.1 — Compute a wave speed

A guitar string has N and kg/m. Find .

Recall Solution

Why this formula? From the derivation, : tighter string (bigger ) → faster; heavier string (bigger ) → slower. Matches tuning a guitar (tightening raises pitch, i.e. speeds the wave).

L2.2 — Tension for a target speed

You want the wave speed to double from to on the same string ( fixed). By what factor must you change ?

Recall Solution

Since , we have . To double : You must quadruple the tension. Speed grows only with the square root of tension, so doubling speed costs a factor of in pull.

L2.3 — Verify a solution

Show that satisfies a wave equation, and find its .

Recall Solution

Differentiate. Treat as the inside; the chain rule multiplies by the derivative of the inside each time. For we need , so , giving Sanity check: the argument is , a function of , so it travels right at speed . Consistent.

L2.4 — d'Alembert, zero velocity

A string is released from rest with shape and . Wave speed . Write .

Recall Solution

d'Alembert's formula is With the integral vanishes. Put : Physically: the single bump splits into two half-height copies, one running right, one left, each at speed . See d'Alembert solution.


Level 3 — Analysis

L3.1 — Where does a point accelerate up?

At a fixed instant a string looks like the figure below. At the marked points (in a dip) and (on a hump), state the sign of and the direction of motion.

Figure — Wave equation (hyperbolic) 1D — derivation
Recall Solution

Use with , so sign of = sign of curvature .

  • sits in a -shaped dip: concave up, , so → accelerates upward. The dip fills in.
  • sits on a -shaped hump: concave down, , so → accelerates downward. The hump flattens. Every point is pulled toward straight; that perpetual chasing is what propagates the shape.

L3.2 — Slope vs curvature

A student says: "Point has the steepest slope, so it accelerates the most." Refute this using the equation.

Recall Solution

Acceleration is , which depends on curvature , not on slope . At the steepest point of a smooth bump the graph is passing through an inflection-like region where curvature can be small or even zero, while the flat top of the hump (zero slope) can have large curvature. So steepness (slope) and acceleration (curvature) are different things. This is the classic slope/curvature confusion from the parent note.

L3.3 — Units check builds confidence

Verify that has units of m/s, given in newtons and in kg/m.

Recall Solution

A newton is . So Taking the square root gives . A genuine speed — the formula is dimensionally honest.

L3.4 — Direction of travel from the argument

Classify each as right-moving, left-moving, or neither, for :

Recall Solution

A pure travelling wave has the form (function of ) or (function of ).

  • (a) argument right-moving at speed (the shape at appears later at larger ).
  • (b) argument left-moving at speed .
  • (c) is a standing wave — neither purely left nor right. But it is still a solution: it is the sum of a left- and a right-mover, since . This links to Separation of variables for the wave equation.

Level 4 — Synthesis

L4.1 — Full d'Alembert with initial velocity

Solve with and . Take general .

Recall Solution

With , only the integral term survives: Using with , : Check : ✓. And , at gives ✓.

L4.2 — Derive the "reduction to " for a given

Using characteristics , show explicitly that .

Recall Solution

The idea. We rewrite as a function of the two new variables (constant along right-movers) and (constant along left-movers). To convert - and -derivatives into - and -derivatives we use the chain rule. Since both and depend on and on , each derivative operator splits: Where the signs come from: so ; so . That opposite sign is the whole reason the two families of waves separate.

Second -derivative. Apply twice: The two cross terms and are equal (mixed partials commute for smooth ), so they combine into — that is why the cross coefficient is : Second -derivative. Apply twice. Factor out : , so Here the cross terms carry a minus sign because each factor contributes one ; multiplying and both give .

Subtract. The and terms cancel; the cross terms give : Setting this to zero forces . Integrating once in gives ; integrating again in gives where and are arbitrary twice-differentiable functions — "arbitrary" because integration introduces free functions of the other variable, and "twice-differentiable" so that and actually exist. These are exactly the right- and left-moving shapes. See Method of characteristics.

L4.3 — Build a standing wave and check it

Construct that solves . Find the required relation between , , ; then check with , .

Recall Solution

Differentiate: Substituting into : This is the dispersion relation for the string. With , : . So solves it. (Standing waves are the building blocks of Separation of variables for the wave equation.)


Level 5 — Mastery

L5.1 — Energy is conserved

For a solution on with fixed ends , define the energy Show using (i.e. ).

Recall Solution

Differentiate under the integral (the interval is fixed): Replace in the first term: because (product rule, and ). Integrate: Fixed ends mean for all , so at both ends. Both boundary terms vanish: The kinetic + potential energy of the vibrating string is constant — the equation neither creates nor destroys energy. That is exactly Newton's second law applied to the element is what makes this work.

L5.2 — Uniqueness from energy

Two solutions satisfy the same wave equation, same fixed-end conditions, and the same initial data . Prove .

Recall Solution

Let . Because the wave equation is linear, also satisfies , with fixed ends , and zero initial data: and . Apply the energy result L5.1 to : is constant. At , everywhere so the kinetic part is ; and everywhere means so the potential part is . Hence , so for all . But is a sum of squares — it can only be zero if and everywhere. Then is constant in both and ; since at the boundary, . Therefore : the solution is unique.

L5.3 — Speed from a snapshot pair

A right-moving wave has, at time its peak at position , and at time s its peak at position . (i) Find the wave speed . (ii) Then confirm that any smooth function of the single combination satisfies the wave equation .

Recall Solution

(i) Find . A right-mover keeps its shape and slides right without changing form. Its peak occurs wherever the argument equals the fixed number that maximises . So the peak position obeys i.e. the peak moves along a straight line at speed . Using the two snapshots:

(ii) Any smooth works. Let be the inside. By the chain rule (derivative of times derivative of the inside): Therefore This holds for every twice-differentiable — not just sines. That is exactly why the equation supports arbitrary travelling shapes (a plucked corner, a Gaussian bump, anything), which is the content of the d'Alembert solution.


Recall One-line summary of the ladder

Recognise the equation → plug into → read curvature to predict motion → build d'Alembert / standing-wave solutions → prove conservation and uniqueness from energy.