1 reduct2.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 systems of partial differential equations depending on one
6 independent space variable.
8 The example is from p187. maxima-5.9.0 cvs reproduces the
13 (C1) load("reduct3.mac");
14 Warning - you are redefining the MACSYMA function SETIFY
17 ENTER THE NUMBER OF DIFFERENTIAL EQUATIONS
19 ENTER THE DEPENDENT VARIABLES AS A LIST
21 ENTER THE SPATIAL COORDINATE
23 ENTER THE BIFURCATION PARAMETER
25 ENTER THE CRITICAL BIFURCATION VALUE
27 WE DEFINE LAM = ALPHA - 1
28 ENTER THE CRITICAL EIGENFUNCTION AS A LIST
30 ENTER THE ADJOINT CRITICAL EIGENFUNCTION AS A LIST
32 ENTER THE DIFFERENTIAL EQUATION NUMBER 1
34 ENTER THE DIFFERENTIAL EQUATION NUMBER 2
35 'diff(y1,x,2)+alpha*y1-y2-y1^3-a*y1^5;
38 [Y2, - Y2 + ---- - a Y1 - Y1 + (LAM + 1) Y1]
41 WHAT IS THE LENGTH OF THE SPACE INTERVAL
43 DO YOU KNOW APRIORI THAT SOME TAYLOR COEFFICIENTS ARE 0
46 TO WHICH ORDER DO YOU WANT TO CALCULATE
48 IS DIFF(W(AMP, 2 ,LAM, 0 ) IDENTICALLY ZERO, Y/N
50 IS DIFF(W(AMP, 3 ,LAM, 0 ) IDENTICALLY ZERO, Y/N
53 Dependent equations eliminated: (1)
55 d W1 3 SIN(3 x) + 72 SIN(x) d W2 9 SIN(x)
56 [----- = ----------------------, ----- = - --------]
59 IS DIFF(W(AMP, 4 ,LAM, 0 ) IDENTICALLY ZERO, Y/N
61 IS DIFF(W(AMP, 1 ,LAM, 1 ) IDENTICALLY ZERO, Y/N
64 Dependent equations eliminated: (2)
67 [--------- = - SIN(x), --------- = SIN(x)]
69 IS DIFF(W(AMP, 2 ,LAM, 1 ) IDENTICALLY ZERO, Y/N
71 IS DIFF(W(AMP, 3 ,LAM, 1 ) IDENTICALLY ZERO, Y/N
74 Dependent equations eliminated: (1)
76 d W1 69 SIN(3 x) + 2304 SIN(x) d W2
77 [---------- = - -------------------------, ---------- = 18 SIN(x)]
80 IS G_POLY( 1 , 0 )IDENTICALLY ZERO, Y/N
82 IS G_POLY( 2 , 0 )IDENTICALLY ZERO, Y/N
84 IS G_POLY( 3 , 0 )IDENTICALLY ZERO, Y/N
86 IS G_POLY( 4 , 0 )IDENTICALLY ZERO, Y/N
88 IS G_POLY( 5 , 0 )IDENTICALLY ZERO, Y/N
90 IS G_POLY( 1 , 1 )IDENTICALLY ZERO, Y/N
92 IS G_POLY( 2 , 1 )IDENTICALLY ZERO, Y/N
94 IS G_POLY( 3 , 1 )IDENTICALLY ZERO, Y/N
96 IS G_POLY( 4 , 1 )IDENTICALLY ZERO, Y/N
99 3 (- 1200 %PI a - 3195 %PI) AMP 3 AMP
100 (D2) 3 AMP LAM + AMP LAM + ------------------------------ - ------
104 (80 a + 213) AMP + 96 AMP
105 (D3) [LAM = ---------------------------]
108 (C4) taylor(%,amp,0,4);
110 3 AMP (80 a - 75) AMP
111 (D4)/T/ [LAM + . . . = ------ + ---------------- + . . .]