MATH 373 -- Applied Mathematics

January 25, 2001

D'Alembert's general solution of the 1D wave equation

[Maple Math]

is [Maple Math] , which expresses the

solution as the superposition of two traveling waves -- one

moving to the right with constant speed [Maple Math] and the other moving

to the left with the same constant speed [Maple Math] . For example,

with [Maple Math] , we have that

> u:=(x,t)->sin(t)*cos(x);

[Maple Math]

is a solution:

> diff(u(x,t),t$2)-diff(u(x,t),x$2);

[Maple Math]

Here is an animation showing how [Maple Math] looks as a function of [Maple Math]

> with(plots):

> standing1:=animate(u(x,t),x=-3*Pi..3*Pi,t=-Pi..Pi,frames=50,color=green):

> display({standing1},insequence=true);

This is called a "standing wave solution". The key to writing this in D'Alembert's

form is the trig identity:

[Maple Math]

> travleft:=animate(sin(x+t),x=-3*Pi..3*Pi,t=-Pi..Pi,frames=50,color=red):

> travright:=animate(sin(x-t),x=-3*Pi..3*Pi,t=-Pi..Pi,frames=50,color=blue):

> display({travleft,travright});

> standing2:=animate((sin(x+t)+sin(x-t))/2,x=-3*Pi..3*Pi,t=-Pi..Pi,frames=50):

> display({standing2},insequence=true);

>