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.

84 CHAPTER 2. PHASE-PLANE ANALYSIS<br />

sol2 := [ [x =0;y=0;z=0]; [ x =6 p 2;y=6 p 2;z =27];<br />

[ x = ¡6 p 2;y= ¡6 p 2;z =27]]<br />

Thenumberof¯xedpointsisequaltothenumberN2 of operands in sol2 .<br />

> N2:=nops(sol2);<br />

N2 := 3<br />

So the Lorenz system has three ¯xed points. The stability of these ¯xed points<br />

will now be determined by extending the procedure used in the phase-plane<br />

analysis. A functional operator f is introduced to substitute the coordinates<br />

x + u, y + v, z + w of an ordinary point, near a ¯xed point (x; y; z), into a<br />

dependent variable V ,whereV will be taken to be P , Q, andR.<br />

> f:=V->simplify(subs(fx=x+u,y=y+v,z=z+wg,V)):<br />

Assuming that u, v, andw are su±ciently small, only linear terms in these<br />

variables will be retained in P , Q, andR. Since P is already linear, entering<br />

f(P) produces the linear algebraic form shown in eq1 . However, on entering<br />

f(Q) the nonlinear term uw will be present. This term can be removed with<br />

the remove command, which is done in eq2 . Similarly, the nonlinear term uv<br />

is removed from f(R) in eq3 .<br />

> eq1:=f(P); eq2:=remove(has,f(Q),u*w);<br />

eq3:=remove(has,f(R),u*v):<br />

eq1 := 10 y +10v ¡ 10 x ¡ 10 u<br />

eq2 := 28 x +28u ¡ y ¡ v ¡ xz¡ xw¡ uz<br />

8 z 8 w<br />

eq3 := xy+ xv+ uy¡ ¡<br />

3 3<br />

Let's take i = 1, so that assigning the ith operand in sol2 corresponds to taking<br />

the ¯xed point coordinates to be x =0,y =0,z = 0. The stability of the other<br />

two ¯xed points may be examined by choosing i =2ori =3.<br />

> i:=1: assign(sol2[i]): #choose i<br />

For i =1,eq1 , eq2 ,andeq3 reduce to the following linear forms:<br />

> eq1:=eq1; eq2:=eq2; eq3:=eq3;<br />

8 w<br />

eq1 := 10 v ¡ 10 u eq2 := 28 u ¡ v eq3 := ¡<br />

3<br />

So, the linearized ODEs at an ordinary point near the ¯xed point at the origin<br />

are<br />

du<br />

dv<br />

dw 8 w<br />

=10v ¡ 10 u; =28u ¡ v; = ¡<br />

dt dt dt 3 :<br />

The stability is determined by assuming that u; v; w ' e¸t . For the ODEs<br />

to have a nontrivial solution, a determinantal equation must be satis¯ed that<br />

when expanded produces a cubic equation in ¸ with three roots. To have a<br />

stable ¯xed point, the real part of ¸ must be negative for all three roots. If any<br />

root has a real part that is positive, the solution will grow with time, leading<br />

to an unstable situation.

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

Saved successfully!

Ooh no, something went wrong!