Professional Documents
Culture Documents
LS50 Section03 Handout
LS50 Section03 Handout
Dynamical systems
To make things more concrete consider the phase plane below. I’ve
sketched an arbitrary f ( x ). When f ( x ) > 0 ( f ( x ) is above the x-axis) the
change in x is positive, and when f ( x ) < 0 ( f ( x ) is below the x-axis) the
change in x is negative. f ( x ) crosses the x −axis at two points, x f 1 , x f 2
which are the fixed points (dx/dt = 0).
It is important to realize that for any initial value x0 , you can answer
the question: “How would x0 change in the next time step?" by either
looking at the graph, or by calculating2 : 2
this notation tells you that you are look-
ing for the change in x0 by evaluating
dx f ( x ) at x0
= f ( x0 )
dt x
0
Consider the examples:
To make this even more explicit, if the time step is ∆t, then the above i. x01 - at x01 , f ( x ) is positive, so
in the next time step, x increases.
equation becomes: This statement is represented by a
x (∆t) − x0 = f ( x0 ) red arrow to the right.
ii. x02 - at x02 , f ( x ) is negative, so
which can be rearranged: in the next time step, x decreases.
This statement is represented by a
x (∆t) = x0 + f ( x0 ) blue arrow to the left.
follow flows (trajectories) that lead them to the fixed points. On iii. x03 - assuming that f ( x ) remains
positive for all values of x > x03 ,
the other hand, if you start at an unstable fixed point, any small you will keep moving to the right
change will cause you to move away from it and you will never until x → ∞
come back. For one-dimensional systems there are two kinds of
fixed points: stable and unstable.
ls50, section #3 handout 3
f (v∗ ) = mg − kv∗2 = 0
Answer:
rN 2
Ṅ = rN − = f+ (N) − f− (N)
K
Both functions f + and f − are positive for all N > 0, the subscript just Figure 6: Alternative phase diagram
denotes that f + has positive contribution to Ṅ while f − has a negative where the positive and negative contri-
contribution to Ṅ (because we subtract f − ). butions to the change in N are visualized
separately.
We can now draw an alternative phase diagram in which the positive
and negative contributions to the change in N are visualized separately
(see Figure 6). In this diagram, we plot both functions f + and f − , which
are both positive functions of N. When f + > f − , the positive contribu-
tion to Ṅ is greater than the negative, so N increases in this region (green
ls50, section #3 handout 5
dx
= ẋ = f ( x, y)
dt
dy
= ẏ = g( x, y)
dt
where x (t) and y(t) depend on time t, and f ( x, y) and g( x, y) depend
on the values of x and y, but not on time. It is rather difficult to give
a general treatment of two-dimensional systems without evoking linear
algebra (you are welcome to read Steven Strogatz’s book “Nonlinear dy-
namics and chaos" if you are curious). Instead, we will get the main
points across by example: namely, how to find fixed points and deter-
mine their stability, what are limit cycles, and what is the trajectory of
the system if it starts at some initial conditions ( x0 , y0 ).
ls50, section #3 handout 6
ẋ = x (3 − x − y )
ẏ = y (2 − x − y )
(fixed points) The individual derivatives are zero along their respective
nullclines, however, the fixed points of the system are given by the points
where ( ẋ, ẏ) = (0, 0). These points are intersections of the y and x null-
clines, i.e. the intersections of the differently colored nullclines as shown
in Figure 9.
(flow vectors and nullclines) The flow vectors originating from points
which lie on nullclines are purely vertical or purely horizontal, depend-
ing on the type of nullcline. Specifically, for points which lie on the ẋ = 0
nullcline, the horizontal component of the flow vector is zero, so the flow
vectors are purely vertical. For points which lie on the ẏ = 0 nullcline,
the vertical component of the flow vector is zero, so the flow vectors are
purely horizontal. What remains to be determined is the sign of the hor-
izontal flow vectors (to the left or to the right?) and the vertical flow
vectors (up or down?)
ls50, section #3 handout 7
Let’s deal with the horizontal flow vectors first. These originate from
the nullclines where ẏ = 0 (blue nullclines in the figure). The sign of
these vectors is determined by the sign of ẋ.
When ẋ > 0, x increases, and the flow vector points to the right
When ẋ < 0, x decreases, and the flow vector points to the left
Moving on to the vertical flow vectors. These originate from the null-
clines where ẋ = 0 (green nullclines in the figure). The sign of these
vectors is determined by the sign of ẏ.
(fixed points and stability) We can use the phase portrait to determine
the fixed points and their stability. You can of course keep adding flow
vectors by computing their values at different ( x, y) (note that these are
no longer purely vertical or horizontal) to fill in the phase portrait. How-
ever, you can already tell the stability of the fixed points from the hori-
zontal and vertical flow vectors (see Figure 12). Figure 12: Stability of the fixed points.
Unstable fixed points are shown as
i. Fixed point at (0, 0) - any small deviation from this point causes empty circles. Stable fixed points are
the system to drift away, this point is unstable fixed point. shown as filled circles. Saddle points are
shown as half-filled circles.
ls50, section #3 handout 8
ii. Fixed point at (0, 2) - only initial conditions along the line x = 0
will cause the system to end up at this fixed point, any small
deviation along x will cause the system to drift away. This point
is a saddle point.
iii. Fixed point at (3, 0) - any small deviation away from this point
causes the system to come back, which makes it stable fixed point.
m ẍ − kx = 0
ẋ = v
and the differential equation for the simple harmonic oscillator in terms
of the velocity becomes:
k Figure 13: Nullclines and fixed point.
v̇ = − x
m
a . In the phase plane ( x, v), find the the nullclines and the fixed points.
ẋ = v = 0, so v = 0 is the nullcline
k
v̇ = − x, so x = 0 is the nullcline
m
The fixed point is the intersection between nullciles, (0, 0), see Fig-
ure 13.
Figure 14: Horizontal and vertical flow
vectors.
b . The system assigns a flow vector ( ẋ, v̇) = (v, − mk x )
at each point
x, v on the phase plane. Can you draw the vectors along the null
clines?
If you start at location ( x0 , 0) you follow the gray flow lines in a closed
orbit which eventually brings you back to where you started. These
closed orbits are examples of limit cycles. See Figure 15.
The phase portrait has a fixed point and closed orbits (limit cycles).
When you start at the fixed point you stay there, if you start anywhere
else you follow a closed orbit and get back to where you started. This
corresponds to the system oscillating (periodic motions). This point is
illustrated in Figure 16.