f = e^(−x²), g = 0, c = 1
½[f(x − t) + f(x + t)]
At (0.5, 1): 0.4421.
For on the whole line with and : .
This page is easier if you are comfortable with:
The initial shape splits into two halves travelling left and right at speed . With , , , at , : . With , : , so at , for any and . The integral is the area under (area under a curve).
With , and : , which at , is . The formula is a direct consequence of the general solution of the wave equation, found with the chain rule, and the result uses the sum-to-product identity.
The value at depends only on the initial data in (the domain of dependence), which is the idea behind the CFL condition. On a finite string, use separation of variables instead.
d'Alembert's formula shows that a wave splits into two halves travelling in opposite directions.
Two copies of half the pulse have moved one unit left and right.
These examples are worked by hand, step by step, so you can compare your own working.
Find for , , .
Find for , , .
Find for , , .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
½[f(x − t) + f(x + t)]
At (0.5, 1): 0.4421.
u = t
t = 3 gives 3.
u = xt
At (2, 3): 6.
initial bump splits into two halves
Each travels at speed c.
u = ½[f(x − ct) + f(x + ct)] + (1/2c)∫_{x−ct}^{x+ct} g(s)ds solves u_tt = c²u_xx with u(x, 0) = f, u_t(x, 0) = g.
f = e^(−x²), g = 0, c = 1. Find u(0.5, 1).
f = 0, g = 1. Find u at t = 3.
f = 0, g(s) = s. Find u(2, 3).
What fraction of the initial pulse height travels each way?
f(x − ct) + f(x + ct) ✗
½[...] ✓
Half each way.
integral alone ✗
divide by 2c ✓
Velocity term.
0 to t ✗
x − ct to x + ct ✓
Domain of dependence.
applying directly ✗
needs reflection ✓
Whole line formula.
Try each one on paper, then open the answer. Use the solver above to see the full working.
0.7788
5
2
1
2
0.3679
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
A formula for the 1D wave equation on the line.
It adds the integral term.
It splits into two half-height pulses.
The interval [x − ct, x + ct].
wave equation.
area under a curve.
More in Differential equations and transforms and the formula sheets.