[Notes on Diffy Qs home] [PDF version] [Buy cheap paperback version]
[next] [prev] [prev-tail] [tail] [up]
Note: 1 lecture, different from §9.6 in [EP], part of §10.7 in [BD]
We have solved the wave equation by using Fourier series. But it is often more convenient to use the so-called d’Alembert solution to the wave equation3. This solution can be derived using Fourier series as well, but it is really an awkward use of those concepts. It is much easier to derive this solution by making a correct change of variables to get an equation that can be solved by simple integration.
Suppose we have the wave equation
|
|
(4.14) |
And we wish to solve the equation (4.14) given the conditions
![]() |
(4.15) |
We will transform the equation into a simpler form where it can be solved by simple integration. We change variables to
,
and we use the chain rule:


|
|
Therefore, the wave equation (4.14) transforms into
. It is easy to find the general solution to this equation by integrating twice. Let us integrate with respect to
first4 and notice that the constant of integration depends on
. We get
. Next, we integrate with respect to
and notice that the constant of integration must depend on
. Thus,
. The solution must, therefore, be of the following form for some functions
and
:
|
|
We know what any solution must look like, but we need to solve for the given side conditions. We will just give the formula and see that it works. First let
denote the odd extension of
, and let
denote the odd extension of
. Define
|
|
We claim this
and
give the solution. Explicitly, the solution is
or in other words:
![]() |
(4.16) |
Let us check that the d’Alembert formula really works.
|
|
So far so good. Assume for simplicity
is differentiable. By the fundamental theorem of calculus we have
|
|
So
|
|
Yay! We’re smoking now. OK, now the boundary conditions. Note that
and
are odd. Also
is an even function of
because
is odd (to see this fact, do the substitution
). So
![]() |
Note that
and
are
periodic. We compute
![]() |
And voilà, it works.
Example 4.8.1: What the d’Alembert solution says is that the solution is a superposition of two functions (waves) moving in the opposite direction at “speed”
. To get an idea of how it works, let us do an example. Suppose that we have the simpler setup

![]() |
The graph of this pulse is the top left plot in Figure 4.21.
Let
be the odd periodic extension of
. Then from (4.16) we know that the solution is given as
|
|
It is not hard to compute specific values of
. For example, to compute
we notice
and
. Now
and
. Hence
. As you can see the d’Alembert solution is much easier to actually compute and to plot than the Fourier series solution. See Figure 4.21 for plots of the solution
for several different
.
It is perhaps easier and more useful to memorize the procedure rather than the formula itself. The important thing to remember is that a solution to the wave equation is a superposition of two waves traveling in opposite directions. That is,
|
|
If you think about it, the exact formulas for
and
are not hard to guess once you realize what kind of side conditions
is supposed to satisfy. Let us give the formula again, but slightly differently. Best approach is to do this in stages. When
(and hence
) we have the solution
|
|
On the other hand, when
(and hence
), we let
|
|
The solution in this case is
|
|
By superposition we get a solution for the general side conditions (4.15) (when neither
nor
are identically zero).
|
|
(4.17) |
Do note the minus sign before the
, and the
in the second denominator.
Warning: Make sure you use the odd extensions
and
, when you have formulas for
and
. The thing is, those formulas in general hold only for
, and are not usually equal to
and
for other
.
Exercise 4.8.2: Using the d’Alembert solution solve
,
,
,
,
, and
. Hint: Note that
is the odd extension of
and
.
Exercise 4.8.4: Take
,
,
,
,
, and
. a) Solve using the d’Alembert formula. Hint: You can use the sine series for
. b) Find the solution as a function of
for a fixed
,
, and
. Do not use the sine series here.
Exercise 4.8.5: Derive the d’Alembert solution for
,
,
,
,
, and
, using the Fourier series solution of the wave equation, by applying an appropriate trigonometric identity.
Exercise 4.8.6: The d’Alembert solution still works if there are no boundary conditions and the initial condition is defined on the whole real line. Suppose that
(for all
on the real line and
),
, and
, where
![]() |
Solve using the d’Alembert solution. That is, write down a piecewise definition for the solution. Then sketch the solution for
,
,
, and
.
Exercise 4.8.102: Take
,
,
,
,
, and
. Using the D’Alembert solution find the solution at a)
, b)
, c)
. You may have to split your answer up by cases.
Exercise 4.8.103: Take
,
,
,
,
, and
. Suppose that
,
,
,
. Using the D’Alembert solution find a)
, b)
, c)
.
3Named after the French mathematician Jean le Rond d’Alembert (1717 – 1783).
4We can just as well integrate with
first, if we wish.