TOPICS
Search

d'Alembert's Solution


d'Alembert's solution solves the one-dimensional wave equation

 (partial^2y)/(partialx^2)=1/(c^2)(partial^2y)/(partialt^2)
(1)

that models vibrations of a string, where c>0 is the wave speed.

The general solution can be obtained by introducing new variables xi=x-ct and eta=x+ct, and applying the chain rule to obtain

partial/(partialx)=(partialxi)/(partialx)partial/(partialxi)+(partialeta)/(partialx)partial/(partialeta)
(2)
=partial/(partialxi)+partial/(partialeta)
partial/(partialt)=(partialxi)/(partialt)partial/(partialxi)+(partialeta)/(partialt)partial/(partialeta)
(3)
=-cpartial/(partialxi)+cpartial/(partialeta).

Using these operators to compute the second partial derivatives gives

(partial^2y)/(partialx^2)=(partial/(partialxi)+partial/(partialeta))((partialy)/(partialxi)+(partialy)/(partialeta))
(4)
=(partial^2y)/(partialxi^2)+2(partial^2y)/(partialxipartialeta)+(partial^2y)/(partialeta^2)
(partial^2y)/(partialt^2)=(-cpartial/(partialxi)+cpartial/(partialeta))(-c(partialy)/(partialxi)+c(partialy)/(partialeta))
(5)
=c^2(partial^2y)/(partialxi^2)-2c^2(partial^2y)/(partialxipartialeta)+c^2(partial^2y)/(partialeta^2),

respectively, so plugging in and expanding then gives

 (partial^2y)/(partialxipartialeta)=0.
(6)

This partial differential equation has general solution

y(x,t)=f(xi)+g(eta)
(7)
=f(x-ct)+g(x+ct),

where f and g are arbitrary functions, with f representing a right-traveling wave and g a left-traveling wave.

The initial value problem for a string located at position y(x,t=0)=y_0(x) as a function of distance along the string x and vertical speed partialy/partialt|_(t=0)=v_0(x) can be found as follows. From the initial condition and (7),

 y_0(x)=f(x)+g(x).
(8)

Taking the derivative with respect to t then gives

v_0(x)=f^'(x)(partial(x-ct))/(partialt)+g^'(x)(partial(x+ct))/(partialt)
(9)
=-cf^'(x)+cg^'(x),

and integrating, with the additive constants in f and g chosen so that f(a)=g(a), gives

 int_a^xv_0(s)ds=-cf(x)+cg(x).
(10)

Solving (8) and (10) simultaneously for f and g immediately gives

f(x)=1/2y_0(x)-1/(2c)int_a^xv_0(s)ds
(11)
g(x)=1/2y_0(x)+1/(2c)int_a^xv_0(s)ds,
(12)

so plugging these into (7) then gives the solution to the wave equation with specified initial conditions as

 y(x,t)=1/2y_0(x-ct)+1/2y_0(x+ct)+1/(2c)int_(x-ct)^(x+ct)v_0(s)ds.
(13)

See also

Wave Equation

Explore with Wolfram|Alpha

References

Bekefi, G. and Barrett, A. H. Electromagnetic Vibrations, Waves, and Radiation. Cambridge, MA: MIT Press, pp. 161-163, 1987.

Referenced on Wolfram|Alpha

d'Alembert's Solution

Cite this as:

Weisstein, Eric W. "d'Alembert's Solution." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/dAlembertsSolution.html

Subject classifications