*A(t[2])^3*exp(I*B(t[2]))*exp(-I*B(t[2]))+((1/2)*I)*alpha[1](t[1], t[2])*A(t[2])*exp(I*B(t[2]))*exp(-I*B(t[2]))+I*(diff(A(t[2]), t[2]))*exp(I*B(t[2]))*exp(-I*B(t[2]))-A(t[2])*(diff(B(t[2]), t[2]))*exp(I*B(t[2]))*exp(-I*B(t[2]))-(1/2)*f0*exp(I*sigma*t[2])*exp(-I*B(t[2]))](/view.aspx?sf=225401_question/f19d9a97b2c6ab7a6c68e88b9cff6aca.gif)
|
(13) |
*A(t[2])^3+((1/2)*I)*alpha[1](t[1], t[2])*A(t[2])+I*(diff(A(t[2]), t[2]))-A(t[2])*(diff(B(t[2]), t[2]))-(1/2)*f0*exp(I*sigma*t[2]-I*B(t[2]))](/view.aspx?sf=225401_question/f6ebc9b87fbab00e9994657699e23692.gif)
|
(14) |
> |
subs(I*B(t2)=I*sigma*t2-I*C(t2),B(t2)=sigma*t2-C(t2), %);
|
*A(t[2])^3+((1/2)*I)*alpha[1](t[1], t[2])*A(t[2])+I*(diff(A(t[2]), t[2]))-A(t[2])*(diff(sigma*t[2]-C(t[2]), t[2]))-(1/2)*f0*exp(I*sigma*t[2]-I*(sigma*t[2]-C(t[2])))](/view.aspx?sf=225401_question/88a4b4902953522de1b57ab4ac074b61.gif)
|
(15) |
> |
conds := combine(%, 'exp');
|
*A(t[2])^3+((1/2)*I)*alpha[1](t[1], t[2])*A(t[2])+I*(diff(A(t[2]), t[2]))-A(t[2])*(sigma-(diff(C(t[2]), t[2])))-(1/2)*f0*exp(I*sigma*t[2]-I*(sigma*t[2]-C(t[2])))](/view.aspx?sf=225401_question/592433ed0b7a9ac670b55a7ad8828850.gif)
|
(16) |
> |
convert(conds, 'trig');
|
*A(t[2])^3+((1/2)*I)*alpha[1](t[1], t[2])*A(t[2])+I*(diff(A(t[2]), t[2]))-A(t[2])*(sigma-(diff(C(t[2]), t[2])))-(1/2)*f0*(cos(C(t[2]))+I*sin(C(t[2])))](/view.aspx?sf=225401_question/564395100577a34282022691746e8138.gif)
|
(17) |
> |
cond1 := collect(coeff(%, I, 0), [diff(A(t2), t2), cos(C(t2))]);
|
*A(t[2])^3-A(t[2])*(sigma-(diff(C(t[2]), t[2])))-(1/2)*f0*cos(C(t[2]))](/view.aspx?sf=225401_question/a8fae28cb0a11c775473ec211f8507f8.gif)
|
(18) |
> |
cond2 := collect(coeff(`%%`, I, 1), [diff(A(t2), t2), sin(C(t2)), cos(C(t2))]);
|
*A(t[2])+diff(A(t[2]), t[2])-(1/2)*f0*sin(C(t[2]))](/view.aspx?sf=225401_question/6a885d79125e8d04325304e8e0d8039d.gif)
|
(19) |
> |
A(t2):= A; C(t2):=C; cond1 = 0; cond2 =0;
|
*A-(1/2)*f0*sin(C) = 0](/view.aspx?sf=225401_question/01045565ab95b722f5be59675f7a2fa6.gif)
|
(20) |
> |
remove(has, cond1, cos)^2+remove(has, cond2, sin)^2 = simplify(select(has, cond1, cos)^2+select(has, cond2, sin)^2, 'trig');
|
*A^3-A*sigma)^2+(1/4)*alpha[1](t[1], t[2])^2*A^2 = (1/4)*f0^2](/view.aspx?sf=225401_question/d9d247d5df37c4b77db19d2dc9bb4e8d.gif)
|
(21) |
*A^3-A*sigma)^2+(1/4)*alpha[1](t[1], t[2])^2*A^2 = (1/4)*f0^2](/view.aspx?sf=225401_question/08892b703caec88ca3ef41878994a1bc.gif)
|
(22) |
> |
alpha[1]:=0.0087;alpha[2]:=2.5871;f0:=f[0]
|
![f[0]](/view.aspx?sf=225401_question/34f084d973cbc2ee04bd41c67fe17ca1.gif)
|
(23) |
> |
e:='e': f0:='f0': alpha[1]:='alpha[1]': alpha[2]:='alpha[2]':
|
*A^3-A*sigma-(1/2)*f0*cos(C)](/view.aspx?sf=225401_question/e10c01644a9bb0deb2dd14b58047faa7.gif)
|
(24) |
*A-(1/2)*f0*sin(C)](/view.aspx?sf=225401_question/04b1a4ec4682515b790e2cfe5aa6e6a5.gif)
|
(25) |

> |
linalg[jacobian]([-cond2,-cond1/A],[A,C]);
|
, (1, 2) = (1/2)*f0*cos(C), (2, 1) = -((9/8)*alpha[2](t[1], t[2])*A^2-sigma)/A+((3/8)*alpha[2](t[1], t[2])*A^3-A*sigma-(1/2)*f0*cos(C))/A^2, (2, 2) = -(1/2)*f0*sin(C)/A})](/view.aspx?sf=225401_question/01aceb7494dfd9397ccfa34cf0d6abee.gif)
|
(26) |

> |
subs(cos(C)=solve(cond1,cos(C)),sin(C)=solve(cond2,sin(C)),%);
|
, (1, 2) = (1/8)*A*(3*alpha[2](t[1], t[2])*A^2-8*sigma), (2, 1) = -((9/8)*alpha[2](t[1], t[2])*A^2-sigma)/A+((3/8)*alpha[2](t[1], t[2])*A^3-A*sigma-(1/8)*A*(3*alpha[2](t[1], t[2])*A^2-8*sigma))/A^2, (2, 2) = -(1/2)*alpha[1](t[1], t[2])})](/view.aspx?sf=225401_question/6d062573393521abc426c2060ee63c76.gif)
|
(27) |


> |
linalg[charpoly](%,lambda):
|

^2+lambda*alpha[1](t[1], t[2])+lambda^2+(27/64)*A^4*alpha[2](t[1], t[2])^2-(3/2)*A^2*alpha[2](t[1], t[2])*sigma+sigma^2](/view.aspx?sf=225401_question/7b3023d11e3744fc61e0450cd4b86878.gif)
|
(28) |

^2+(27/64)*A^4*alpha[2](t[1], t[2])^2-(3/2)*A^2*alpha[2](t[1], t[2])*sigma+sigma^2](/view.aspx?sf=225401_question/5715988074231b0745bb6c6d806b6e4b.gif)
|
(29) |

^2+(27/64)*A^4*alpha[2](t[1], t[2])^2-(3/2)*A^2*alpha[2](t[1], t[2])*sigma+sigma^2](/view.aspx?sf=225401_question/908a3e20c88db0878ddfacea3fe131ec.gif)
|
(30) |

*A^3-A*sigma)^2+(1/4)*alpha[1](t[1], t[2])^2*A^2 = (1/4)*f0^2](/view.aspx?sf=225401_question/b53dbb41b66e3f6d73272669e128d7cc.gif)
|
(31) |

> |
with(plots, implicitplot,implicitplot3d):
|
> |
f0 :=0.1; alpha[1]:=0.0087;alpha[2]:=2.5871;
|

|
(32) |

> |
p1:=implicitplot(stab_cond,sigma = -1.2 .. 2, A = 0 .. 2, numpoints = 20000, axes = box, axesfont=[SYMBOL, 14],labels = [sigma, A], labelfont = [SYMBOL, 16],color="Green",tickmarks=[9,12],thickness=2,linestyle=dash):
|

> |
with(plots,textplot): with(plots,display):
|

> |
ps1:=textplot([0.75, 0.65, "Unstable region"], 'align' = {'above', 'right'},rotation = 0.6, font=[Times,bold,12]):
|

> |
pu1:=implicitplot(af_eq,sigma = -1.2 .. 2, A = 0 .. 2, numpoints = 20000, axes = box, axesfont=[SYMBOL, 14],labels = [sigma, A], labelfont = [SYMBOL, 16],color="red",tickmarks=[9,12],thickness=2):
|
> |
pp1:=display({p1,ps1,pu1});
|
> |
Like this picture. 
|
|