1 reduct1.mac is from the book "Perturbation Methods, Bifurcation Theory
2 and Computer Algebra" by Rand & Armbruster (Springer 1987)
4 It performs a Liapunov-Schmidt reduction for steady state bifurcations
5 in one differential equation depending on one independent variable.
6 The de has the form y'' + f(y,y',alpha) = 0. y = y(x) is defined on a
7 real interval with dirichlet or neumann boundary conditions and f
8 depends only linearly on alpha.
10 The example is from p168. maxima-5.9.0 cvs reproduces the
11 results from the book.
14 (C1) load("./reduct1.mac");
17 ENTER DEPENDENT VARIABLE
19 USE X AS THE INDEPENDENT VARIABLE AND ALPHA AS A PARAMETER TO VARY
20 ENTER THE CRITICAL BIFURCATION VALUE ALPHA
23 WE DEFINE LAM = ALPHA - %PI
24 ENTER THE CRITICAL EIGENFUNCTION
26 WHAT IS THE LENGTH OF THE X-INTERVAL
28 SPECIFY THE BOUNDARY CONDITIONS
29 YOUR CHOICE FOR THE B.C. ON Y AT X=0 AND X= 1
30 ENTER 1 FOR Y=0, 2 FOR Y'=0
35 THE D.E. IS OF THE FORM Y'' + F(Y,Y',ALPHA) = 0,ENTER F
39 --- + (LAM + %PI ) SIN(Y)
42 DO YOU KNOW APRIORI THAT SOME TAYLOR COEFFICIENTS ARE ZERO, Y/N
44 TO WHICH ORDER DO YOU WANT TO CALCULATE
46 IS DIFF(W,AMP, 2 ,LAM, 0 ) IDENTICALLY ZERO
50 IS DIFF(W,AMP, 3 ,LAM, 0 ) IDENTICALLY ZERO
55 Dependent equations eliminated: (2)
58 [----- = - ------------]
61 IS DIFF(W,AMP, 4 ,LAM, 0 ) IDENTICALLY ZERO
65 IS DIFF(W,AMP, 1 ,LAM, 1 ) IDENTICALLY ZERO
70 Dependent equations eliminated: (2)
75 IS DIFF(W,AMP, 2 ,LAM, 1 ) IDENTICALLY ZERO
79 IS DIFF(W,AMP, 3 ,LAM, 1 ) IDENTICALLY ZERO
84 Dependent equations eliminated: (2)
87 [---------- = - --------------]
90 IS G_POLY( 1 , 0 ) IDENTICALLY
94 IS G_POLY( 2 , 0 ) IDENTICALLY
98 IS G_POLY( 3 , 0 ) IDENTICALLY
102 IS G_POLY( 4 , 0 ) IDENTICALLY
106 IS G_POLY( 5 , 0 ) IDENTICALLY
110 IS G_POLY( 1 , 1 ) IDENTICALLY
114 IS G_POLY( 2 , 1 ) IDENTICALLY
118 IS G_POLY( 3 , 1 ) IDENTICALLY
122 IS G_POLY( 4 , 1 ) IDENTICALLY
127 AMP LAM AMP LAM 3 %PI AMP %PI AMP
128 (D2) - -------- + ------- + ----------- - ---------
132 3 %PI AMP - 64 %PI AMP
133 (D3) [LAM = --------------------------]
136 (C4) taylor(%,amp,0,4);
139 (D4)/T/ [LAM + . . . = --------- + ------------- + . . .]