Differential Equations › Section I · Partial differential equations › Topic I.2

The wave equation

Pluck a guitar string and its shape changes in space and time, but instead of fading smoothly like a temperature profile it swings back and forth. Newton's second law, applied to each tiny piece of the string, gives the wave equation that describes this motion.

A stretched string

Picture a string pulled tight between two fixed points at \(x = 0\) and \(x = L\), resting along the \(x\)-axis. When it vibrates, let \(u(x, t)\) be the displacement of the point that sits at position \(x\) when the string is at rest. The previous topic built the heat equation from an energy balance on a thin slice. This topic does the same for the string with a force balance, and the result looks similar but behaves very differently: it carries waves instead of smoothing them away.

The modelling assumptions

Four simplifications make the problem manageable. First, the string is tightly stretched, so its slope stays small everywhere; then each point moves almost straight up and down, and \(u\) can be treated as purely vertical. Second, the string is perfectly flexible, offering no resistance to bending, so the force it exerts at any point acts along the string. That force is the tension. Third, the string is perfectly elastic and the slopes are small, so the tension barely changes from its resting value \(F_T\). Fourth, gravity and other outside forces are small enough to ignore. The mass per unit length is \(\mu\), in kg/m.

Newton's second law on a small piece

Take the piece of string between \(x\) and \(x + \Delta x\). Its mass is \(\mu\,\Delta x\) and its vertical acceleration is \(u_{tt}\). The tension pulls along the string at each end. For a small angle \(\theta\), \(\sin\theta \approx \tan\theta\), and \(\tan\theta\) is the slope \(u_x\), so the upward pull at the right end is about \(F_T\,u_x(x + \Delta x, t)\) and the downward pull at the left end is about \(F_T\,u_x(x, t)\). Newton's second law gives

\mu\,\Delta x\, u_{tt} \approx F_T\big[u_x(x + \Delta x, t) - u_x(x, t)\big]

Dividing by \(\Delta x\) and letting \(\Delta x \to 0\) turns the bracket into \(u_{xx}\).

The wave equation

The force balance becomes \(\mu\, u_{tt} = F_T\, u_{xx}\). Dividing by \(\mu\) gives the one-dimensional wave equation

u_{tt} = c^2 u_{xx}, \qquad c^2 = \frac{F_T}{\mu}

The units of \(F_T/\mu\) are N per kg/m, which is m²/s², so \(c\) is a speed: it is the wave speed \(v_w = \sqrt{F_T/\mu}\) from physics. If the density varies along the string, or an outside force acts with size \(Q\) per unit mass, the general form is

\mu(x)\, u_{tt} = (F_T\, u_x)_x + \mu(x)\, Q

In a membrane or in air, \(u_{xx}\) becomes the Laplacian: \(u_{tt} = c^2 \nabla^2 u\).

Worked example: wave speed on a string

A string has a mass of 5.0 g per metre and is held at a tension of 80 N. Find \(c\), and the new value if the tension is doubled. 1. Convert to SI units: \(\mu = 5.0 \times 10^{-3}\) kg/m. 2. Apply \(c = \sqrt{F_T/\mu}\):

c = \sqrt{\frac{80}{0.0050}} = \sqrt{16{,}000} \approx 126\ \mathrm{m/s}

3. Double the tension: \(c = \sqrt{32{,}000}\), about 179 m/s. 4. Check: \(c\) grows as the square root of the tension, so doubling \(F_T\) should multiply it by \(\sqrt{2} \approx 1.414\), and \(126 \times 1.414 \approx 179\).

Reading the equation

The wave equation says that each point's acceleration is proportional to the concavity of the string there. Where the string bulges upwards, concave down, \(u_{xx} < 0\), so that part accelerates downwards, back towards rest. That restoring pull makes points overshoot and oscillate, as a mass on a spring does. Compare the heat equation, \(u_t = k\,u_{xx}\): there concavity sets the velocity of change, so bumps simply sink and never come back. One time derivative means smoothing; two mean vibration. A plucked string keeps its shape moving rather than flattening it.

Initial and boundary conditions

Because the wave equation is second order in time, it needs two initial conditions: the starting shape and the starting velocity,

u(x, 0) = f(x), \qquad u_t(x, 0) = g(x)

A plucked string is held in a shape and released from rest, so \(g = 0\). A struck string, like a piano string hit by a hammer, starts flat but moving, so \(f = 0\). Being second order in \(x\), it also needs two boundary conditions. The usual ones prescribe the position of the ends, \(u(0, t) = h_1(t)\) and \(u(L, t) = h_2(t)\); for ends fixed in place, both are zero.

Travelling waves: d'Alembert's solution

On a string so long that its ends do not matter, every twice-differentiable solution has the form

u(x, t) = F(x - ct) + G(x + ct)

a shape \(F\) moving right at speed \(c\) plus a shape \(G\) moving left. Checking that it works takes only the chain rule. Each \(t\)-derivative of \(F(x - ct)\) brings out a factor \(-c\), so \(u_{tt} = c^2 F'' + c^2 G''\), while \(u_{xx} = F'' + G''\). The two sides match for any twice-differentiable \(F\) and \(G\). Jean le Rond d'Alembert found this form in the 1740s.

Worked example: checking a travelling pulse

Show that \(u = e^{-(x - 3t)^2}\) solves \(u_{tt} = 9u_{xx}\), and describe it. 1. Let \(s = x - 3t\), so \(u = e^{-s^2}\), with \(s_x = 1\) and \(s_t = -3\). 2. Space: \(u_x = -2s\,e^{-s^2}\), then \(u_{xx} = (4s^2 - 2)e^{-s^2}\). 3. Time: \(u_t = 6s\,e^{-s^2}\), then \(u_{tt} = (36s^2 - 18)e^{-s^2}\). 4. Compare: \(36s^2 - 18 = 9(4s^2 - 2)\), so the equation holds with \(c = 3\). 5. Describe: a bell-shaped bump of height 1 that keeps its shape and moves right at 3 units per unit time.

Worked example: a pulse released from rest

A very long string with \(c = 50\) m/s is held in a narrow bump 2.0 cm high, centred at \(x = 0\), and released from rest. Describe the motion. 1. Try a d'Alembert solution:

u = \tfrac{1}{2}\big[f(x - ct) + f(x + ct)\big]

2. At \(t = 0\) it gives \(f(x)\), the right shape. 3. Its velocity at \(t = 0\) is half of \(-c f'(x) + c f'(x)\), which is 0, so it starts from rest. 4. The bump splits into two bumps, each 1.0 cm high, one moving each way. 5. After 0.10 s they are centred at \(x = \pm 5.0\) m. Check: the heights add back to 2.0 cm at \(t = 0\).

Common mistakes to avoid

First, mixing up \(u_t\) and \(u_{tt}\): the heat equation has one time derivative, the wave equation two. Second, giving only the initial shape; the wave equation also needs the initial velocity. Third, writing \(c = F_T/\mu\); it is \(c^2\) that equals \(F_T/\mu\). Fourth, forgetting to convert grams per metre to kg/m before computing \(c\). Fifth, sign slips in d'Alembert's form: \(F(x - ct)\) moves right, towards larger \(x\), and \(G(x + ct)\) moves left.

Key takeaways

A tight, flexible, elastic string with small slopes and constant tension \(F_T\) obeys \(u_{tt} = c^2 u_{xx}\), from Newton's second law on each small piece. The wave speed is \(c = \sqrt{F_T/\mu}\). Acceleration follows concavity, so the string oscillates instead of smoothing out. Two initial conditions are needed, shape \(u(x, 0) = f(x)\) and velocity \(u_t(x, 0) = g(x)\), plus the positions of both ends. On a long string every solution is \(F(x - ct) + G(x + ct)\), two shapes travelling in opposite directions. In higher dimensions, \(u_{tt} = c^2 \nabla^2 u\).

Flashcards

Flashcard

u(x, t) for a string

Vertical displacement of the point at rest position x, at time t

Small slopes make the motion vertical.

Test your understanding

Question 1 of 5

A string has mass per unit length 2.0 × 10⁻³ kg/m. What tension gives a wave speed of 200 m/s?

Question 2 of 5

For which value of c does u = (x + 4t)³ solve uₜₜ = c² uₓₓ, and which way does the shape move?

Question 3 of 5

A piano string is struck by a hammer while it is straight and at rest in position. Which initial conditions describe it?

Question 4 of 5

At one instant, part of a vibrating string is concave down, so uₓₓ < 0 there. What does the wave equation say about that part?

Question 5 of 5

A long string with c = 40 m/s is held in a 3.0 cm high bump at x = 0 and released from rest. What does it look like 0.50 s later?

← Previous topicNext topic →