WOLFRAM NOTEBOOK

Exercises 3.4.e

For:
x
=rln(x)+x-1
i) Sketch the different vector field types that appear when you vary
r
.
Were going to do this a little differently from how weve done the others. To draw the vector field, you need to be able to draw whether
x
is greater than or less than zero, which is the same as asking, in this case, whether
rln(x)isgreaterthanorlessthan1-x
. Lets first ask this question for positive
r.
This is actually the same as comparing
ln(x)and
1-x
r
.
So lets plot this for different values of positive
randdrawarrowsonthediagrams:
In[]:=
pl1=GraphicsGridPartitionPlotLog[x],
1-x
#
,{x,0,4},PlotRange->{{0,4},{-5,5}},AxesLabelEvaluateStyle[#,14]&/@"x","ln(x) and
1-x
r
",AspectRatio->1,PlotLabel->Style["r = "<>ToString[#],14]&/@Range[0.25,2.75,0.5],3,ImageSize->800
Out[]=
We see that for
x<0
we always have that
1-x
r
>ln(x)
and so
x
<0
, and conversely for
x>0
, so we have an unstable fixed point:
In[]:=
GraphicsGridPartitionShowPlotLog[x],
1-x
#
,{x,0,6},PlotRange->{{0,6},{-5,5}},AxesLabelEvaluateStyle[#,14]&/@"x","ln(x) and
1-x
r
",AspectRatio->1,PlotLabel->Style["r = "<>ToString[#],14],Graphics[{Thick,Arrow[{{0.9,0},{0.1,0}}],Arrow[{{1.1,0},{3.1,0}}]}],Graphics[Circle[{1,0},0.1]]&/@Range[0.25,2.75,0.5],3,ImageSize->1000
Out[]=
For r=0, we get something different, because we can’t do the dividing by r trick, so we just have to plug in r=0 into the original equation and we get
x
=x-1
which has a very simple phase portrait:
In[]:=
Show[Plot[x-1,{x,0,4}],Graphics[{Thick,Arrow[{{0.9,0},{0.1,0}}],Arrow[{{1.1,0},{3.1,0}}]}],Graphics[Circle[{1,0},0.1]],AspectRatio->1,AxesLabelEvaluate[Style[#,18]&/@{"x","
x
"}]]
Out[]=
How about for
r<0
? We have to be a little bit more careful here. We can again compare
ln(x)and
1-x
r
,butnowifthisvalueis<0
then that tells us that
x
r
<0
, which tells us that
x
>0
(because r is negative). Lets plot the graphs and see what we find:
In[]:=
GraphicsGridPartitionPlotLog[x],
1-x
#
,{x,0,4},PlotRange->{{0,4},{-2,2}},AxesLabelEvaluateStyle[#,14]&/@"x","ln(x) and
1-x
r
",AspectRatio->1,PlotLabel->Style["r = "<>ToString[#],14]&/@Range[-2,-0.25,0.2],4,ImageSize->1000
Out[]=
Now we have something interesting going on. Most of the time there are two points of intersection, apart from around
r=-1
where it seems that theres one. Well come to that in a moment. Lets figure out about the arrows first. When
ln(x)<
1-x
r
, this means that
ln(x)+
x-1
r
<0
, which means that
rln(x)+x-1>0
, so
x
>0
, so for instance in the top left plot, the region between 0 and 1 satisfies this inequality so we will have an arrow going to the right. Lets fill this in on all diagrams:
Now taking the arrows and fixed points alone and plotting them as a vector field:
Now for the bifurcation diagram we need to flip the axes, and we would get something that looks like:
And so the equation close to the critical value of x can be written as
Now the left hand side is really
so let's define
and finally we have
which is precisely the normal form of a transcritical bifurcation.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.