16.12.2012 Views

Computer Algebra Recipes

Computer Algebra Recipes

Computer Algebra Recipes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.2. ANALYTIC SOLITON SOLUTIONS 307<br />

In 1971, Fred Tappert, of Bell Laboratories, found an exact two-soliton<br />

analytic solution for the KdV equation, this equation now being entered.<br />

> restart: with(plots):<br />

> KdVE:=diff(psi(x,t),t)+psi(x,t)*diff(psi(x,t),x)<br />

+diff(psi(x,t),x,x,x)=0;<br />

μ μ μ <br />

3<br />

@<br />

@<br />

@<br />

KdVE := Ã(x; t) + Ã(x; t) Ã(x; t) + Ã(x; t) =0<br />

@t @x @x3 Tappert's two-soliton solution Ã(x; t) isgiven.<br />

> psi(x,t):=72*(3+4*cosh(2*x-8*t)+cosh(4*x-64*t))<br />

/(3*cosh(x-28*t)+cosh(3*x-36*t))^2;<br />

72 (3 + 4 cosh(2 x ¡ 8 t)+cosh(4x ¡ 64 t))<br />

Ã(x; t) :=<br />

(3 cosh(x ¡ 28 t)+cosh(3x ¡ 36 t)) 2<br />

The lhs of KdVE is extracted and simpli¯ed, Ã(x; t) having been automatically<br />

substituted. A lengthy expression results, which is suppressed here in the text.<br />

> check1:=simplify(lhs(KdVE));<br />

The combine command, with the trig option, is applied to the numerator of<br />

check1 , the result being zero, con¯rming that Ã(x; t) is a solution of KdVE .<br />

> check2:=combine(numer(check1),trig);<br />

check2 := 0<br />

The two-soliton solution is now animated.<br />

> animate(plot,[psi(x,t),x=-20..20],t=-1..1,frames=60,<br />

numpoints=250,axes=frame,thickness=2);<br />

In the animation, one initially has a taller, narrower solitary wave to the left of<br />

a shorter, wider solitary wave. As the animation progresses, both pulses move<br />

to the right. Having a larger velocity, the taller pulse overtakes the shorter<br />

pulse and a collision occurs. During the collision, a nonlinear superposition<br />

takes place, the resultant amplitude being less than the linear sum of the two<br />

amplitudes. As time progresses, the taller, faster pulse passes through the<br />

shorter one and emerges unchanged in shape, as does the shorter pulse. The<br />

solitary waves are indeed solitons.<br />

Next, we con¯rm that the sine{Gordon equation,<br />

> SGE:=diff(U(x,t),x,x)-diff(U(x,t),t,t)-sin(U(x,t))=0;<br />

μ μ <br />

2<br />

2<br />

@ @<br />

SGE := U (x; t) ¡ U (x; t) ¡ sin(U (x; t)) = 0<br />

@x2 @t2 is satis¯ed by the following two-soliton kink{kink solution. [Jac90]<br />

> U(x,t):=4*arctan(c*sinh(x/sqrt(1-c^2))<br />

/cosh(c*t/sqrt(1-c^2)));<br />

0 μ 1<br />

x<br />

B<br />

c sinh p<br />

U (x; t) := 4 arctan B 1 ¡ c2 C<br />

@<br />

μ C<br />

ct A<br />

cosh p<br />

1 ¡ c2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!