u = sin(x − 2t), c = 2
u_tt = 4u_xx
At (2, 0.5): sin 1.
The wave equation describes vibrating strings, sound and light. Waves travel at speed , and every solution has the form .
This page is easier if you are comfortable with:
Check a travelling wave: , : and , so . At , : . The general form is d'Alembert's solution, using the chain rule. For : and , so it solves the equation; with , , , .
For a string fixed at both ends, separation of variables gives standing waves with frequencies proportional to ; the sum of these modes is a Fourier series. Unlike the heat equation, the wave equation conserves energy and is reversible: waves do not smooth out.
On a computer the grid must respect the CFL condition, . The stationary case is Laplace's equation. The speed is determined by the medium: for a string with tension and density ; the sinusoidal solutions are those of simple harmonic motion at each point. A one-directional wave that obeys a first-order equation is solved by the method of characteristics.
The wave equation describes disturbances that travel at a fixed speed without losing energy.
The wave shape moves to the right at speed 2.
These examples are worked by hand, step by step, so you can compare your own working.
Check for and find .
Check and find for .
Find the speed of a wave on a string with tension 100 N and density 0.04 kg/m.
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
u_tt = 4u_xx
At (2, 0.5): sin 1.
u_tt = 2c², u_xx = 2
c = 3, x = 1, t = 1: 10.
c² = 4
c = 2.
u_tt − c²u_xx = 2c² − 2c²
0.
u_tt = c²u_xx has general solution u = f(x − ct) + g(x + ct): waves travelling right and left at speed c.
u = sin(x − 2t). Find u(2, 0.5).
u_tt = 4u_xx. Find c.
u = x² + c²t² with c = 3. Find u(1, 1).
Check 2c² − c²·2 for c = 3.
u_tt = cu_xx ✗
u_tt = c²u_xx ✓
Speed squared.
u_t ✗
u_tt ✓
Second order in time.
f(x − ct) only ✗
plus g(x + ct) ✓
General solution.
x + ct is rightward ✗
x − ct is rightward ✓
Check direction.
Try each one on paper, then open the answer. Use the solver above to see the full working.
0.4794
17
3
1
4
32
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
u_tt = c²u_xx.
f(x − ct) + g(x + ct).
Wave speed.
Yes, u and u_t.
d’Alembert’s solution.
heat equation.
More in Differential equations and transforms and the formula sheets.