1Today's goals
- Derive the wave equation and the wave speed for a string, a bar and a shaft in torsion
- Use d'Alembert's solution and the reflection at fixed ends
- Find natural frequencies fₙ = n·c/2L and explain missing harmonics
- Solve Laplace's equation by relaxation and know its mean-value property
- Classify second-order PDEs as hyperbolic, parabolic or elliptic
2The wave equation
A string under tension T with mass μ per metre. A small element bent into a curve feels a net vertical force T·uxx·dx (the tension pulls it towards the straight line). Newton:
| System | Wave speed c | Typical value |
|---|---|---|
| String | √(T/μ) | 100 – 400 m/s for instrument strings |
| Axial waves in a bar | √(E/ρ) | ≈ 5100 m/s (steel) |
| Torsional waves in a shaft | √(G/ρ) | ≈ 3200 m/s (steel) |
| Sound in a pipe | √(γp/ρ) | ≈ 343 m/s in air at 20 °C |
3d'Alembert: two travelling copies
Any function of x − ct is a shape moving right at speed c, and any function of x + ct moves left. Both satisfy the wave equation, and so does their sum. For a string released from rest in shape f(x):
The initial bump splits into two half-height copies that run apart. At a fixed end the copy reflects upside down (mathematically: extend f as an odd function beyond the end). After a time 2L/c everything returns to the start — the string is periodic.
4Standing waves and harmonics
Separation of variables again (as on Day 12), but now T″ = −c²λT gives oscillation instead of decay:
The frequencies are whole-number multiples of the fundamental — the harmonic series that makes a string sound musical. Pluck at a point and every mode with a node there is not excited: pluck at L/2 and all even harmonics vanish (a hollow sound); pluck near the end and the high harmonics are strong (a bright sound).
Fixed–free shafts, and why drums sound "out of tune"
A shaft fixed at one end and free at the other has u = 0 at x = 0 and ux = 0 at x = L. The modes become sin((2n − 1)πx/2L) with frequencies (2n − 1)·c/(4L): only odd multiples, like a clarinet. A drum membrane obeys the 2-D wave equation; on a circle its modes are Bessel functions whose frequencies are not whole-number multiples, which is why most drums have no clear pitch. Timpani are the exception: the air in the kettle and around the head pulls their main modes close to a harmonic series.
5Laplace's equation: when time stops
Let a heat problem run until nothing changes. Then ut = 0 and in two dimensions
It describes steady temperature in a plate, electrostatic potential, groundwater pressure, potential flow round a wing, and the stress function in torsion of a non-circular shaft. Its solutions (harmonic functions) have two remarkable properties:
- Mean value: the value at any point equals the average around any circle centred there. On a grid: each point equals the average of its four neighbours.
- Maximum principle: the hottest and coldest points are on the boundary — never inside, unless there is a source.
The mean-value property gives a solution method a child could follow: guess any values, then repeatedly replace each interior point by the average of its neighbours. This relaxation (Jacobi, Gauss–Seidel, and the faster over-relaxed SOR) converges to the answer.
| Type | Prototype | Character | Information travels |
|---|---|---|---|
| Hyperbolic | utt = c²uxx | Waves, sharp fronts keep their shape | At finite speed c |
| Parabolic | ut = αuxx | Diffusion, smoothing | Instantly, but weakly |
| Elliptic | uxx + uyy = 0 | Equilibrium, smooth everywhere | Every point depends on the whole boundary |
6Worked example
7Lab: the vibrating string
Press P. With "d'Alembert halves" on, the orange dashed curve is the right-moving copy and the black dashed one the left-moving copy; their sum is the blue string. The space–time map shows the two waves crossing and reflecting. Pluck at 0.5 and look at the harmonic bars: the even ones disappear.
The heated plate
Set the four edge temperatures. The solver relaxes the plate towards Laplace's equation (watch the convergence plot fall). With only the top at 100 °C, the centre settles at exactly 25 °C — the average of the four edges. Add a hot or cold pipe and turn on the heat-flow arrows: they always cross the isotherms at right angles.
8Pro tips and common mistakes
- The wave speed is not the speed of the string's particles — they move up and down; the shape moves sideways at c.
- Real strings and shafts have some stiffness and damping, so high harmonics are slightly sharp and die faster.
- For Laplace problems the answer depends on the whole boundary: one wrong boundary value spoils the interior everywhere.
9Practice
- A string of μ = 1 g/m under 80 N tension is 0.4 m long. Find its first three frequencies.
- Show that u = f(x − ct) satisfies the wave equation for any twice-differentiable f.
- In the plate lab, set top 100, others 0 and read the centre. Now set top 100 and left 100. Predict the centre first.
- Find the first axial natural frequency of a 2 m steel bar free at both ends (modes cos(nπx/L), fₙ = n·c/2L).
10Quick quiz
5 questions. Click an answer — you get the explanation straight away.