16.12.2012 Views

Computer Algebra Recipes

Computer Algebra Recipes

Computer Algebra Recipes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

308 CHAPTER 7. THE HUNT FOR SOLITONS<br />

The lhs of SGE is simpli¯ed,<br />

> check3:=simplify(lhs(SGE));<br />

and the numerator of check3 expanded and further simpli¯ed.<br />

> check4:=simplify(expand(numer(check3)));<br />

check4 := 0<br />

The result is zero, so U(x; t) satis¯es the sine{Gordon equation. This twosoliton<br />

kink{kink solution is now animated, with c = 1<br />

4 .<br />

> animate(plot,[eval(U(x,t),c=1/4),x=-50..50],t=-100..100,<br />

frames=50,thickness=2,axes=framed);<br />

On running the animation, you will observe that the two kinks travel in opposite<br />

directions, run into each other, and reverse directions after the collision, still<br />

maintaining their initial shapes.<br />

PROBLEMS:<br />

Problem 7-16: Kink{antikink collision<br />

In the two-soliton kink{kink solution, replace the ¯rst c by 1=c, x by ct,and<br />

ct by x. Animate the resulting solution and show that it represents a kink{<br />

antikink collision. Describe the observed behavior.<br />

7.3 Simulating Soliton Collisions<br />

Both authors of this text have spent an academic lifetime jousting with nonlinearities<br />

in all mathematical shapes and sizes. In this text, we have tried to<br />

provide a glimpse of the excitement and complexity involved in the study of<br />

nonlinear dynamics, yet still present the bread-and-butter recipes necessary to<br />

solve linear ODE and PDE problems, the staple of most undergraduate science<br />

curricula. Whether the balance of linear and nonlinear recipes is right in our<br />

computer algebra menu, you will have to be the judge, but we could not resist<br />

presenting two numerical recipes that simulate soliton collisions. The ¯rst is<br />

for the Korteweg{de Vries equation, the second for the sine{Gordon equation.<br />

7.3.1 To Be or Not to Be a Soliton<br />

There is no means of proving it is preferable to be than not to be.<br />

E. M. Cioran, French philosopher (1911{1995)<br />

To prove that solitary-wave solutions are solitons, i.e., whether they survive<br />

collisions with each other unchanged in shape, is an important area of research<br />

in nonlinear dynamics. One approach is to numerically collide the solitary<br />

waves using a ¯nite di®erence scheme to simulate the relevant nonlinear PDE.<br />

This was done by Norman Zabusky and Martin Kruskal [ZK65] for the KdV

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

Saved successfully!

Ooh no, something went wrong!