d'Alembert's Solution Explained with Worked Examples

For on the whole line with and : .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What d'Alembert's solution means

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.

What is it used for?

d'Alembert's formula shows that a wave splits into two halves travelling in opposite directions.

How to use d'alembert's solution

  1. Identify , and .
  2. Evaluate and and average them.
  3. Integrate from to and divide by .
  4. Add the two parts.

Graph

Pulse f = e^(−x²) split into two halves at t = 1 (c = 1)x = 0.5: 0.4421-4-3-2-10123400.10.20.30.40.5Pulse f = e^(−x²) split into two halves at t = 1 (c = 1)xuu(x, 1)Graph with x from -4 to 4 and y from 0 to 0.55. Shows the curve u(x, 1); point x = 0.5: 0.4421 at (0.5, 0.4421).

Two copies of half the pulse have moved one unit left and right.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: a Gaussian pulse

Find for , , .

Worked example
Answer
0.44210.4421
  1. Values
  2. Average

Example 2: constant velocity

Find for , , .

Worked example
Answer
33
  1. Integral

Example 3: g = cos s

Find for , , .

Worked example
Answer
0.25900.2590
  1. Formula

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

f = e^(−x²), g = 0, c = 1

½[f(x − t) + f(x + t)]

At (0.5, 1): 0.4421.

f = 0, g = 1

u = t

t = 3 gives 3.

f = 0, g(s) = s

u = xt

At (2, 3): 6.

Half-amplitude

initial bump splits into two halves

Each travels at speed c.

Word problems

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.

Gaussian pulse

f = e^(−x²), g = 0, c = 1. Find u(0.5, 1).

  1. ½(0.7788 + 0.1054)
  2. Check: ✓0.4421.

Velocity 1

f = 0, g = 1. Find u at t = 3.

  1. (1/2c)(2ct)
  2. Check: ✓3.

Velocity s Higher

f = 0, g(s) = s. Find u(2, 3).

  1. (1/2c)·2ctx
  2. Check: ✓6.

Splitting Higher

What fraction of the initial pulse height travels each way?

  1. ½
  2. Check: ✓0.5.

Common mistakes

Missing ½

f(x − ct) + f(x + ct) ✗

½[...] ✓

Half each way.

Forgetting 1/(2c)

integral alone ✗

divide by 2c ✓

Velocity term.

Wrong limits

0 to t ✗

x − ct to x + ct ✓

Domain of dependence.

Half-line problems

applying directly ✗

needs reflection ✓

Whole line formula.

Exam tips

  1. ½[f(x − ct) + f(x + ct)].
  2. Add velocity integral.
  3. Limits x ± ct.
  4. Two half-pulses.
  5. Check t = 0.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. ½(e^(−0.25) + e^(−0.25)) to 4 d.p. Foundation

0.7788

2. u for g = 1 at t = 5 Foundation

5

3. u for g(s) = s at (1, 2) Foundation

2

4. ½[f(1) + f(−1)] for f = x² Higher

1

5. ½[f(2) + f(0)] for f = x² Higher

2

6. ½(e^(−1) + e^(−1)) to 4 d.p. Higher

0.3679

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

d’Alembert solution
Closed form for the wave equation.
Initial displacement (f)
u at t = 0.
Initial velocity (g)
u_t at t = 0.
Domain of dependence
[x − ct, x + ct].
Travelling wave
Moves at speed c.
Characteristics
Lines x ± ct.

Frequently asked questions

What is d’Alembert’s solution?

A formula for the 1D wave equation on the line.

What does g do?

It adds the integral term.

What happens to a pulse?

It splits into two half-height pulses.

What is the domain of dependence?

The interval [x − ct, x + ct].

Which page covers the wave equation?

wave equation.

Which page covers area under a curve?

area under a curve.

More in Differential equations and transforms and the formula sheets.