A string held in the shape of a single arch can be released from rest, or it can be released while it is also given a flick. The two motions differ even though the starting shape is the same, so a vibrating string needs more initial information than a cooling rod. Here is the displacement of the string at position and time , and subscripts denote partial derivatives, so and . This lesson solves the wave equation in two ways, as a sum of standing modes and as a pair of traveling waves, and it uses the second form to show that disturbances move at a finite speed.
Key terms
Wave equation
Definition The one-dimensional wave equation with wave speed is
For small transverse vibrations of a string with tension and mass per unit length , it follows from , so . The equation is second order in time, so an initial-value problem needs two initial functions, the initial displacement and the initial velocity . On a bounded interval it also needs one boundary condition at each end.
In plain words The acceleration at each point is proportional to the curvature of the string there. Unlike heat flow, the motion does not die out, and knowing where the string is does not tell you how it is moving.
Example On with fixed ends and , the data and give . The same displacement with the velocity gives
Both start in the same shape and both satisfy . The first never exceeds , while the second reaches the amplitude at , because .
Standing modes
Definition On with fixed ends , the product separates the equation into with and , where primes are derivatives in each factor’s own variable. With and the angular frequencies , the standing modes are the products with
for . The solution with displacement and velocity is the sum of these modes with
where and are the half-range sine coefficients of and . When and are smooth enough and compatible with the fixed ends, this series converges to the classical solution. The division by is needed because the derivative of is . Each mode oscillates with the angular frequency and stays at rest at its nodes for . For a smooth solution with fixed ends the energy
is constant in time.
In plain words Each mode is a fixed shape whose size swings back and forth at its own frequency. The initial displacement sets the cosine part of each swing, and the initial velocity, divided by the frequency, sets the sine part.
Example Take on with and . The only nonzero coefficients are and , and , so
For the first term both and equal times the term, and for the second both equal times it. At the displacement is and the velocity equals , and both ends stay fixed. The energy equals at every time. Leaving out the factor would still give a solution of the equation, but with the initial velocity .
Fixed and free ends
Definition A fixed end holds the displacement at zero, so there, a Dirichlet condition. A free end, such as a ring that slides on a frictionless vertical rod, feels no vertical force from its support, so there, a Neumann condition. With free ends at and , the modes are for , with the same . The zero mode has and the time equation , so
where and are the mean values of and over the interval. The mean displacement of the string is , a uniform drift. A fixed end at and a free end at give the modes for .
In plain words A fixed end cannot move. A free end can move up and down but stays flat. With two free ends the whole string may also drift, and that rigid motion is the zero mode, which a sum of nonconstant cosines would miss.
Example With free ends on , , and , the mean of is , and the mode has and the velocity coefficient . So
To check, , , , and vanishes at and at . The string rocks while it drifts upward at the average speed .
Traveling waves
Definition For any twice continuously differentiable functions and on , the function
solves the wave equation. The term is a profile moving right at speed , and is one moving left at speed . Conversely, every twice continuously differentiable solution for and has this form. To see it, set and and write . The chain rule gives
so the equation says . Then depends on alone, and integrating once more gives .
In plain words On the whole line every smooth solution is two shapes sliding in opposite directions at the same speed, passing through each other without interacting.
Example By the product formulas for sines and cosines, the first mode of the example above splits as , and the second as . So the two-mode solution is with
A standing wave is two traveling waves of equal size moving in opposite directions.
d’Alembert’s formula
Definition Let , let be twice continuously differentiable and let be continuously differentiable on . The problem for and , with and , has exactly one twice continuously differentiable solution. Its value at each point is given by d’Alembert’s formula
It comes from the traveling form . The data give and , and together with this yields
With an antiderivative of , this gives and for a constant , which cancels in the sum, and is the integral of . On a string with fixed ends, the same formula holds after and are replaced by their odd -periodic extensions, and with free ends by their even -periodic extensions. For the odd extensions of and to be twice and once continuously differentiable, the values , and and the same values at must vanish.
In plain words Half of the initial shape travels left and half travels right. For the velocity term equals times the average of over the interval from to .
Example For , and on the whole line, the displacement part is . The velocity part is
which equals . So the formula reproduces the standing-mode solution. Restricted to it also has fixed ends, because and are already odd and -periodic. A pulse behaves differently. The data , and give , two bumps of half the height moving apart.
Domain of dependence
Definition By d’Alembert’s formula, the value with depends only on at the two points and on over the interval
which is the domain of dependence of the point . In the plane it is the base of the triangle cut out by the two characteristic lines and . Conversely, changing the data only on an interval changes only in the region , the domain of influence of that interval. This is finite propagation speed. In particular, if and vanish outside , then whenever or . The heat equation behaves differently. On the whole line, the heat kernel solution with a bounded continuous initial temperature that is nonnegative and positive somewhere is positive everywhere at every time .
In plain words A signal on the string cannot travel faster than . A point far from the initial disturbance stays at rest until the first wave front reaches it.
Example Let , , and let for and otherwise, which is twice continuously differentiable. At the term is always zero, so . The point is at rest for , the right-moving half of the pulse passes during with the peak at , and the point is at rest again for . An initial velocity leaves something behind. If instead and vanishes outside , then for the whole interval lies inside , and
a constant displacement that stays after the waves have passed.
Check yourself
- Solve on with fixed ends, and . Check the initial velocity of your answer.
Show the answer
Here , the only nonzero coefficient is , and . So and , which gives
Its velocity is , which equals at , and the displacement starts at . Writing without the factor is a common slip. It solves the equation and the end conditions, but its initial velocity is .
- Solve on with free ends, and . What is the mean displacement at ? What happens if the zero mode is left out?
Show the answer
The displacement is the mode with , and the constant velocity belongs entirely to the zero mode, with and . So
To check, , vanishes at both ends, and . The cosine integrates to zero over the interval, so the mean displacement is , which is at . Without the zero mode, the constant has no cosine coefficient with to go into, and the result starts at rest, so it does not meet the velocity condition.
- On the whole line with , the data (twice continuously differentiable) and (continuously differentiable) vanish outside . For which times can be nonzero, and what is for ?
Show the answer
The domain of dependence of is , and the data are nonzero only inside . The two intervals overlap in more than one point only when , that is , so for . For the left end is at most , so both values are zero and the interval contains all of . Then
for every . The point does not return to rest unless the integral of is zero, which is a property of the wave equation in one space dimension.