Exercises 3.4.e
Exercises 3.4.e
For:=x(r-)
x
x
e
i) Sketch the different vector field types that appear when you vary .
r
Well, let’s start a little differently here and think about where the fixed points are. Here the differential equation is given, on the right by a product of terms. to be zero, one or other (or both) of them have to be zero, so there are going to be, in general, two fixed points, given by:
For
x
x=0andr=⟹x=ln(r)
x
e
In fact there’s going to be a situation where’s there’s only one fixed point, and that will be when In terms of the vector fields, we need to ask when will be positive, negative or zero. It will be positive when both factors are either positive or both are negative, it will be negative when they have different signs, and it will be zero when one of them is zero. Let’s take an example. Let’s ask what the vector field looks like when Clearly then for , , and for it’s going to be negative. Thus when and As a vector field (flow on the line) this looks like:
r=1.
x
r=2.
x∈(-∞,ln(2))
(r-)isgoingtobepositive
x
e
x∈(ln(2),∞)
x(r-)<0
x
e
x∈(-∞,0)⋃(ln(2),∞)
x(r-)>0when
x
e
x∈(0,ln(2)).
In[]:=
Show[Graphics[{Thick,Arrowheads[0.02],Arrow[{{0-0.1,0},{-2,0}}],Arrow[{{0+0.1,0},{Log[2]-0.1,0}}],Arrow[{{2,0},{Log[2]+0.1,0}}]}],Graphics[Circle[{0,0},0.1]],Graphics[Disk[{Log[2],0},0.1]],Axes->{True,False},AspectRatio->0.09,AxesLabel{Style["x",14],Style["",14]},ImageSize->700]
x
Out[]=
Of course we were just looking at but we can do the same thing for any value of and we will get the same thing, just with our 2's replaced by the value of We have to be a bit more careful with the region for , as in this the value of changes sign, rather than positive.
r=2here
r>1
r.
0<r<1
xwherer-
x
e
xisnegative
For , there’s only a single fixed point, which, unsurprisingly, is semi-stable. <0 everywhere except at
r=1
x
x=0whereitiszero.
For is always negative, and so when ∈(-∞,0) and when ∈(0,∞). Let's use all of this to draw our vector fields. Let's plot a load of them together:
r≤0,(r-)
x
e
x(r-)>0
x
e
x
x(r-)<0
x
e
x
In[]:=
ShowShow[Graphics[{Thick,Arrowheads[0.02],Arrow[{{0-0.1,#},{-2,#}}],Arrow[{{0+0.1,#},{Log[#]-0.1,#}}],Arrow[{{2,#},{Log[#]+0.1,#}}]}],Graphics[Circle[{0,#},0.1]],Graphics[Disk[{Log[#],#},0.1]]]&/@Range[1.25,2,0.25],ShowGraphics[Circle[{0,1},0.1]],GraphicsDisk{0,1},0.1,,-,Graphics[{Thick,Arrowheads[0.02],Arrow[{{-0.1,1},{-2,1}}],Arrow[{{2,1},{0.1,1}}]}],Show[Graphics[{Thick,Arrowheads[0.02],Arrow[{{Log[#]-0.1,#},{-2,#}}],Arrow[{{Log[#]+0.1,#},{-0.1,#}}],Arrow[{{2,#},{0.1,#}}]}],Graphics[Disk[{0,#},0.1]],Graphics[Circle[{Log[#],#},0.1]]]&/@Range[0.25,0.75,0.25],Show[Graphics[{Thick,Arrowheads[0.02],Arrow[{{-2,#},{-0.1,#}}],Arrow[{{2,#},{0.1,#}}]}],Graphics[Disk[{0,#},0.1]]]&/@Range[-0.5,0,0.25],PlotRange->All,Axes->True,AxesOrigin->{-2,0},AxesLabel{Style["x",18],Style["r",18]},ImageSize->700
π
2
π
2
Out[]=
Now we can draw the bifurcation diagram by turning this on its side, or alternatively just plotting the lines that we found at the very top of this page:
x=0andx=ln(r)
In[]:=
Show[Plot[{0,Log[r]},{r,-1,1},PlotRange->{-2,2},PlotStyle->{{Blue},{Blue,Dashed}}],Plot[{0,Log[r]},{r,1,2},PlotRange->{-2,2},PlotStyle->{{Blue,Dashed},{Blue}}],PlotRange->All,AxesLabel{Style["r",18],Style["x",18]},ImageSize->700]
Out[]=
Looks like a transcritical bifurcation to me. Let’s look at it for close to the critical value :
x
x=0
x
x
e
2
x
2
x
Now all we have to do is to write
R=r-1
and we have
x
2
x
and we’re done.
JonathanShock,UniversityofCapeTown2021jon.shock@gmail.com
JonathanShock,UniversityofCapeTown2021jon.shock@gmail.com