Sie sind auf Seite 1von 2

dAlembert solution of the wave equation.

Edwards and Penney have a typo in the dAlembert solution (equations (37) and (39) on page 639 in section 9.6). This is an easier way to derive the solution. Suppose we have the wave equation utt = a2 uxx . (1) And we wish to solve the equation (1) given the conditions u(0, t) = u(L, t) = 0 for all t, u(x, 0) = f (x) 0 < x < L, ut (x, 0) = g(x) 0 < x < L. (2) (3) (4)

We will transform the equation into a simpler form where it can be solved by simple integration. We change variables to = x at, = x + at and we use the chain rule: = + = + x x x = + = a2 + a2 x t t We compute 2u = x2 2u = t2 Then 0 = a2 uxx utt = 4a2 u u 2u 2u 2u + + = +2 + 2 2 2 u u 2u u 2u a2 a2 = a2 2 2a2 + a2 + a2 + a2 2 2u

And therefore the wave equation (1) transforms into u = 0. It is easy to nd the general solution to this equation by integration twice. First suppose you integrate with respect to and notice that the constant of integration depends on to get u = C(). Now integrate with respect to and notice that the constant of integration must depend on . Thus, u = C()d + B(). The solution must then be of the following form for some functions A and B. u = A() + B() = A(x at) + B(x + at). We will need to solve for the given conditions. First let F (x) denote the odd extension of f (x) and G(x) denote the odd extension of g(x). We let A(x) = 1 1 F (x) 2 2a
x

G(s) ds
0

B(x) =

1 1 F (x) + 2 2a

G(s) ds.
0

The solution is explicitly


xat 1 1 1 1 F (x at) G(s) ds + F (x + at) + 2 2a 0 2 2a x+at F (x at) + F (x + at) 1 = + G(s) ds 2 2a xat x+at

u(x, t) =

G(s) ds
0

Checking our work. Let us check that this works. So 1 1 u(x, 0) = F (x) 2 2a
x 0

1 1 G(s) ds + F (x) + 2 2a

G(s) ds = F (x).
0

So far so good. Assume for simplicity F is dierentiable. By the fundamental theorem of calculus we have 1 a 1 a F (x at) + G(x at) + F (x + at) + G(x + at) ut (x, t) = 2 2 2 2 So a 1 a 1 ut (x, 0) = F (x) + G(x) + F (x) + G(x) = G(x). 2 2 2 2 x Yay! Were smoking now. OK, now the boundary conditions. Note that F and G are odd. Also 0 G(s)ds is an even function of x because G is odd (do the substitution s = v to see that). So u(0, t) = 1 F (at) 2 1 = F (at) 2
Lat 0 L

1 2a 1 2a

at 1 1 G(s) ds + F (at) + G(s) ds 2 2a 0 0 at at 1 1 G(s) ds + F (at) + G(s) ds = 0 2 2a 0 0

at

Now F and G are 2L periodic as well. Furthermore u(L, t) = = 1 1 F (L at) 2 2a 1 2a 1 2a 1 1 G(s) ds + F (L + at) + 2 2a
L+at

G(s) ds
0 L

1 F (L at) 2 1 = F (L + at) 2 Notes

at 1 1 1 G(s) ds + F (L + at) + 2a 0 2 2a 0 at at 1 1 G(s) ds + F (L + at) + G(s) ds = 0 2 2a 0 0

G(s) ds

G(s) ds +
0

1 2a

at

G(s) ds
0

It is best to memorize the procedure rather than the formula itself. You should remember that a solution to the wave equation is a superposition of two waves traveling at opposite directions. That is u(x, t) = A(x at) + B(x + at). If you think about it, the formulas for A and B are then not hard to guess. Also note that when g(x) = 0 (and hence G(x) = 0) we have F (x at) + F (x + at) u(x, t) = 2 Here is where the book got it wrong. If you let
x

H(x) =
0

G(s)ds,

then assuming that F (x) = 0 the solution is H(x at) + H(x + at) . 2a So by superposition we get a solution in the general case when neither f nor g are identically zero. F (x at) + F (x + at) H(x at) + H(x + at) + , 2 2a which is what the book was going for but it missed the minus sign. u(x, t) = Warning: Make sure you use the odd extensions F and G, when you have formulas for f and g. The thing is, those formulas in general hold only for 0 < x < L, and are note equal to F and G for other x.

Das könnte Ihnen auch gefallen