Differential Equations Notes
Differential Equations Notes
Differential Equations
Lecture Notes
Martin Rasmussen
Imperial College London
c Martin Rasmussen (2025).
These notes are provided for the personal study of students taking this
module. The distribution of copies in part or whole is not permitted.
Contents
Chapter 1. Introduction 5
§1. Ordinary differential equations and initial value problems 7
§2. Examples 9
§3. Visualisations 12
Chapter 2. Existence and uniqueness 17
§1. Picard iterates 17
§2. Lipschitz continuity 20
§3. Picard–Lindelöf theorem 25
§4. Maximal solutions 29
§5. General solutions and flows 32
Chapter 3. Linear systems 39
§1. Matrix exponential function 39
§2. Planar linear systems 43
§3. Jordan normal form 52
§4. Explicit representation of the matrix exponential function 54
§5. Exponential growth behaviour 56
§6. Variation of constants formula 58
Chapter 4. Nonlinear systems 61
§1. Stability 61
§2. Limit sets 75
§3. Lyapunov functions 79
§4. Poincaré–Bendixson theorem 87
3
Chapter 1
Introduction
An algebraic equation over the real numbers is solved by real numbers. For
instance, x2 − 1 = 0 is solved by x = 1 and x = −1. In contrast, ordinary
differential equations have functions as their solutions. Let us look at an
example.
ẋ = ax , (1.1)
dλ
λ̇(t) = (t) = aλ(t) for all t ∈ I .
dt
The argument t of the solution λ typically stands for time, and x in (1.1)
typically represents the state of a physical, ecological, or other system, so
the solution λ describes the evolution of the state x in time. It should be
noted that there are also lots of applications where t does not stand for time.
The differential equation (1.1) is a very simple but realistic model of appli-
cations in nature and society.
For instance, if a > 0, this models growth of capital with a interest rate
linked to a (note that normally interest rates are given as yearly rates, which
correspond to a discrete-time model; a here is a continuous-time interest
rate; try as an exercise to convert both rates). For positive capital x, the
right hand side of (1.1) is positive, so ẋ is increasing, and importantly for
the model of capital growth, the increase in capital is proportional to the
amount of capital available.
5
6 1. Introduction
In contrast, if a < 0, then, if x > 0, the right hand side of (1.1) is negative,
and ẋ is decreasing, proportional to x. This models, for instance, radioactive
decay, which describes the decay of certain atoms such as Uranium 238.
It is easy to see that for a given b ∈ R, the function λb : R → R,
λb (t) = beat for all t ∈ R ,
solves (1.1), see Figure 1.1. Are there more solutions to this differential
equation? Assume there is another solution µ : I → R, where I ⊂ R is an
interval. Then
d
(µ(t)e−at ) = µ̇(t)e−at − µ(t)ae−at = aµ(t)e−at − µ(t)ae−at = 0
dt
for all t ∈ I. Hence, µ(t)e−at ≡ b for some b ∈ R, so µ(t) = beat = λb (t) for
all t ∈ I, which is not a new solution, so all solutions to (1.1) are known to
us.
We now solve an initial value problem for the simple differential equation
ẋ = ax.
We will later find conditions for ordinary differential equations that guaran-
tee that all initial value problems have a unique solution. These conditions
are rather weak and apply to large classes of applications.
2. Examples
We have seen that the differential equation ẋ = x behaves as nicely as one
can imagine:
(i) a solution exists for every initial value problem,
(ii) the solution to each initial value problem is unique,
(iii) the solution to each initial value problem exists globally, i.e. can be
defined on I = R.
In this section, we look at examples for which not all of this properties
are satisfied. The first example demonstrates that solutions to initial value
problems do not need to exist.
10 1. Introduction
Example 1.6 (No solution to an initial value problem). Consider the one-
dimensional initial value problem
1 : x<0
ẋ = f (x) = , x(0) = 0 ,
−1 : x ≥ 0
which has a discontinuous right hand side. Show as an exercise that this
initial value problem does not have any solutions.
There may exist more than one solution to an initial value problem.
Example 1.7 (Many solutions to an initial value problem). Consider the
one-dimensional initial value problem
p
ẋ = f (x) := |x| , x(0) = 0 . (1.7)
Since f (0) = 0, Proposition 1.3 implies that there exists a constant solution
with value 0. In addition, for any b ≥ 0, the function λb : R → R,
0 : t≤b
λb (t) = 1 2 : t>b ,
4 (t − b)
is a solution to this initial value problem. To check this, we have to verify
the solution identity for t < b, t = b and t > b. Clearly, λ̇(t) = 0 = f (λ(t))
d 1 2 1
for all t < b. Note that dt 4 (t − b) = 2 (t − b), which is 0 at t = b, so the
1
p
identity also holds at t = b. For t > b, we have λ̇(t) = 2 (t − b) = |λ(t)|,
which finishes the proof.
Question: can you find even more solutions to this initial value problem?
Figure 1.2. Three different solutions to the initial value problem (1.7)
(b = 1, 2, 3).
We now study a differential equation for which there are solutions that do
not exist for all times, i.e. they can only be defined on a proper subset
I ( R of the real numbers. To solve this differential equation, we need the
separation of variables technique that you have learned in your first year.
This technique is useful to compute initial value problems of the form
ẋ = g(t)h(x) , x(t0 ) = x0 , (1.8)
2. Examples 11
and solving this equation with respect to x will give a solution to the differ-
ential equation (1.8).
We study the separation of variables procedure for the following example.
Example 1.8 (Solutions do not need to exist for all times). Consider the
initial value problem
ẋ = tx2 , x(t0 ) = x0 ,
where x0 6= 0. Using the above procedure, we get
dx 1 1 t2 t20
= tdt , x(t0 ) = x0 =⇒ − = −
x2 x0 x 2 2
2x0
=⇒ x = .
2 + x0 (t20 − t2 )
It is easy to see that all solutions with x0 > 0 are defined only on a bounded
subinterval of R: there always exist two times t ∈ R such that the denomi-
nator 2 + x0 (t20 − t2 ) is equal to 0, and the solution converges to ∞ if these
times are approached, see Figure 1.3 for an illustration of √ the √
solution
with
t0 = 0 and x0 = 1. This solution exists on the interval − 2, 2 .
3. Visualisations
Two different ways to visualise the solutions to ordinary differential equa-
tions are discussed in this section. The first one concerns solutions curves
of nonautonomous differential equations in the (t, x)-space, while the sec-
ond one concerns projections of solution curves of autonomous differential
equations in the x-space.
are solvable explicitly. The solution to the initial value problem (1.10),
(x, y)(0) = (x0 , y0 ), is given by
cos(t) sin(t) x0
λ(t) = .
− sin(t) cos(t) y0
A visualisation of one solution (in the extended state space, and for the
initial condition (x, y)(0) = (1, 1)) is given in Figure 1.5.
Figure 1.5. Solution to the initial value problem (1.10), (x, y)(0) = (1, 1).
Note that due to the translation invariance, any translation of the above
solution is also a solution to the differential equation. Therefore, a visuali-
sation in the extended state space contains redundant information, and it is
common to visualise in the state space itself, and not in the extended state
space. This is done by a projection of all solutions to the x-space, and we
obtain the so-called phase portrait, see Figure 1.6 for the differential equa-
tion (1.10). Note that a projected solution is called an orbit or trajectory,
see Definition 2.25 below for a precise definition.
Question: What information is lost if we do such a projection?
Let us consider now an arbitrary autonomous differential equation
ẋ = f (x) ,
with a right-hand side f : D ⊂ Rd → Rd . Similarly to the vector field (1.9)
for the solution portrait, also a vector field is tangential to the trajectories
in the phase portrait. It is simply given by the projected version of vector
field (1.9), given by
x 7→ f (x) ,
defined on D, indicated by the red arrows in Figure 1.6.
3. Visualisations 15
Existence and
uniqueness
1. Picard iterates
We first want to establish a procedure to show that solutions to specific ini-
tial value problems exist. The following proposition is (maybe surprisingly)
extremely helpful for this purpose, although it looks a bit like a triviality: we
just reformulate the differential equation equivalently as an integral equation
by integrating it.
Proposition 2.1 (Reformulation as integral equation). Consider the initial
value problem
ẋ = f (t, x) , x(t0 ) = x0 , (2.1)
where f : D ⊂ R × Rd → Rd is continuous and (t0 , x0) ∈ D, and let λ : I →
Rd be a function on an interval I such that t0 ∈ I and (t, λ(t)) : t ∈ I ⊂ D.
Then the following two statements are equivalent.
(i) λ solves the initial value problem (2.1), i.e.
λ̇(t) = f (t, λ(t)) for all t ∈ I , and λ(t0 ) = x0 . (2.2)
17
18 2. Existence and uniqueness
Definition 2.2 (Picard iterates). Consider the initial value problem (2.1),
and choose an interval J that contains t0 . We define a initial function
Note that the interval J has to be chosen appropriately, but we do not worry
about this now, since we are interested in the general principle in the first
instance. It will follow from a question on the second problem sheet that
if this sequence is uniformly convergent with the limiting function λ∞ , we
obtain
Z t
λ∞ (t) = x0 + f (s, λ∞ (s)) ds for all t ∈ J .
t0
Rt
Note that uniform convergence is needed for limn→∞ t0 f (s, λn (s)) ds =
Rt
t0 limn→∞ f (s, λn (s)) ds. Thus, Proposition 2.1 yields that λ∞ is solution
to the integral equation (2.3) and therefore solves the initial value problem
ẋ = f (t, x), x(t0 ) = x0 .
Please remind yourself what uniform convergence means! Can you give an
example of a sequence of functions that does not converge uniformly?
We study the procedure of Picard iteration for a simple example.
Example 2.3 (Picard iterates for ẋ = ax). We would like to compute the
Picard iterates for the initial value problem
ẋ = ax , x(t0 ) = x0 ,
20 2. Existence and uniqueness
Note that we obtain global convergence of the Picard iterates for this exam-
ple (i.e. convergence for all t ∈ R, although this convergence is not uniform
on R, but uniform on any compact interval). We will see later that, in
general, under suitable but weak conditions, we obtain local convergence,
i.e. we choose a small enough compact interval J around t0 . This will es-
tablish existence and uniqueness of solutions to initial value problems on a
theoretical level. From a practical perspective, however, it is not a standard
approach to look at Picard iterates to find solutions for specific systems.
2. Lipschitz continuity
We aim at uniform convergence of the Picard iterates {λn : J → Rd }n∈N0
to a limit function λ∞ : J → Rd , where J is compact interval. How can we
express this type of uniform convergence? We will do so by considering the
space of continuous functions on a compact interval J, denoted by C 0 (J, Rd ).
As you have seen in the analysis course, this space is a complete normed
vector space when equipped with the supremum norm, and convergence in
this norm corresponds to uniform convergence (see Repetition Material 2 ).
We will see later in Section 3 that Lipschitz continuity plays an important
role in establishing uniform convergence of the Picard iterates. Firstly, the
above required uniform convergence for the Picard iterates will follow from
an application of Banach’s fixed point theorem (see Repetition Material 3 ),
and we need a Lipschitz constant less than 1 for this. Secondly, we will
see that a Lipschitz condition for Banach’s fixed point theorem holds due
to a certain Lipschitz condition on the right hand side f of the differential
2. Lipschitz continuity 21
equation under consideration (and we note that this Lipschitz constant does
not necessarily need to be less than 1).
Recall that a vector space V over the reals is an abelian group (V, +) with
an additional scalar multiplication (V, ·). In particular, for x, y ∈ V , we have
ax + by ∈ V for all a, b ∈ R.
Definition 2.4 (Normed vector space). A norm on a vector space V over
the reals is a map k · k : V → R+
0 such that
2.1. Lipschitz continuity and the mean value theorem. In this sub-
section, we explore in dimension one how Lipschitz continuity is related to
the mean value theorem. Consider a differentiable function f : I → R, where
I ⊂ R is an interval. Recall that the mean value theorem says that for any
x, y ∈ I, there exists an ξ between x and y such that
f (x) − f (y) = f 0 (ξ)(x − y) .
This implies
|f (x) − f (y)| = |f 0 (ξ)||x − y| , (2.7)
and it is clear if the derivative f0
is bounded on the interval I, then f is
Lipschitz continuous. In particular, this holds when I is compact and f is
continuously differentiable. We now look at some examples.
Example 2.6 (Lipschitz continuity in dimension one). We consider several
real-valued functions defined on intervals.
√
(i) The function x 7→ x, where x ∈ [0, 1], is continuous, but not
Lipschitz continuous. Note that the function is differentiable in the
open interval (0, 1) with unbounded derivative, and one can prove
this rigorously using this fact and the mean value theorem.
(ii) The function x 7→ x2 , where x ∈ R, is not Lipschitz continuous.
Note that the derivative x 7→ 2x of this function is unbounded, and
one can argue as outlined in (i).
(iii) The function x 7→ x2 , where x ∈ [0, 1], is Lipschitz continuous with
Lipschitz constant 2, since the derivative x 7→ 2x of this function
is bounded by 2 on the interval [0, 1]; this follows from the mean
value theorem as outlined above.
2.2. Lipschitz continuity and the mean value inequality. The above
example shows that a Lipschitz condition is closely connected to derivatives
(although, in general, Lipschitz continuous functions do not need to be dif-
ferentiable). In the one-dimensional context of this example, this followed
from the mean value theorem. We explore now in what sense this result can
be generalised to higher dimensions. It turns out that we only get a mean
value inequality (in contrast to an equality that holds in dimension one),
but that is good enough to obtain Lipschitz continuity.
Although our main interest are nonlinear mappings, we first look at linear
mappings. It is clear that for any matrix A ∈ Rm×n , the linear mapping
x 7→ Ax is continuous. To see that this mapping is Lipschitz continuous, we
2. Lipschitz continuity 23
introduce the so-called operator norm, which is a norm on the vector space
of all matrices in Rm×n .
kAxk
kAk := sup . (2.8)
x∈Rn \{0} kxk
Note that the three norms used in (2.8) are different (unless n = m). In
addition to the operator norm (which we define), we also use the Euclidean
norm k · k on Rm and Rn here. Show as an exercise that A 7→ kAk is indeed
a norm.
Note that due to linearity of A, we have
kAxk x
kAk = sup = sup A kxk = sup kAxk .
n
x∈R \{0} kxk n
x∈R \{0} x∈Rn ,kxk=1
n
x, y ∈ R , the closed
Here, for any line segment connecting x and y is given
by [x, y] := αx + (1 − α)y ∈ Rn : α ∈ [0, 1] .
This implies
R1
f 0 αx + (1 − α)y (x − y) dα
kf (x) − f (y)k = 0
Lemma 2.9 R1
f 0 αx + (1 − α)y (x − y) dα
≤ 0
(2.8) R1
f 0 αx + (1 − α)y
≤ 0 dαkx − yk
0
≤ max f αx + (1 − α)y kx − yk
α∈[0,1]
0
= kf (ξ)kkx − yk
for some ξ ∈ [x, y]. Note that continuous differentiability of f was used in
the last step of this proof.
Proof. We first show the case t0 < t. For n ∈ N, we look at the Riemann
t−t0 Pn−1 i
sum n
Rt i=0 f t0 + n (t − t0 ) , which in the limit n → ∞ converges to
n−1 n−1
t − t0 X i t − t0 X i
f t0 + (t − t0 ) ≤ f t0 + (t − t0 ) ,
n n n n
i=0 i=0
Rt
and since the right hand side converges to t0 kf (s)k ds, the statement fol-
Rt Rt
lows. The case t0 ≥ t follows due to t0 f (s) ds = − t 0 f (s) ds.
Corollary 2.10 (Lipschitz continuity and the mean value inequality). Let
U ⊂ Rn be open and f : U → Rm be continuously differentiable. Then given
a compact and convex set C ⊂ U , the restricted function f |C : C → Rm is
Lipschitz continuous.
Note here that convexity of C means that for any two points x, y ∈ C, the
closed line segment lies in C, i.e. [x, y] ⊂ C.
3. Picard–Lindelöf theorem 25
3. Picard–Lindelöf theorem
We aim at an easily verifiable condition that the Picard iterates correspond-
ing to an initial value problem converge (at least locally in a neighbourhood
of the initial time). It turns out that a Lipschitz condition in the state space
variable x for the right hand side of a differential equation is an appropriate
condition. We first study the easiest situation where a system is globally
defined and has a global Lipschitz constant in x. After understanding the
global case, we then show that a local Lipschitz condition is sufficient for
local existence and uniqueness of solutions.
We note that the proof of the next theorem crucially makes use of Banach’s
fixed point theorem, which is applied to a complete normed vector space,
given by the space of continuous functions on a compact interval, see Repe-
tition Material 2 and 3.
Theorem 2.11 (Picard–Lindelöf theorem, global version). Consider an or-
dinary differential equation
ẋ = f (t, x) (2.9)
such that the function f : R × Rd → Rd is continuous and satisfies a global
Lipschitz condition of the form
kf (t, x) − f (t, y)k ≤ Kkx − yk for all t ∈ R and x, y ∈ Rd , (2.10)
1
where K > 0 is a constant. Define h := 2K . Then every initial value
problem (2.9), x(t0 ) = x0 , admits a unique solution λ : [t0 − h, t0 + h] → Rd .
Proof. The proof is divided in three steps and relies on the construction of
a contraction P : X → X on the Banach space X := C 0 [t0 − h, t0 + h], Rd .
t ∈ [t0 − h, t0 + h], and this is what P (u)(t) means. Note that X is a Banach
space with the supremum norm
kuk∞ = sup ku(t)k for all u ∈ X (2.11)
t∈[t0 −h,t0 +h]
Note that the Lipschitz condition (2.10) is a strong assumption, and al-
though some very important differential equations fulfill it (such as au-
tonomous linear systems, studied later in Chapter 3), it is not true for most
interesting differential equations. As an example, consider, for instance, the
differential equation ẋ = tx2 from Example 1.8. However, it turns out that
for this differential equation, solutions to any initial value problem exist lo-
cally and are unique. The reason is that the existence of a local Lipschitz
3. Picard–Lindelöf theorem 27
The global version of the Picard–Lindelöf theorem says that, under global
Lipschitz continuity, solutions to all initial value problems exist locally and
are unique. Such a statement is true even under the weaker assumption
of local Lipschitz continuity. However, in contrast to Theorem 2.11, the
interval length 2h on which the solution exists will depend on the specific
initial value.
Theorem 2.13 (Picard–Lindelöf theorem, local version). Let D ⊂ R × Rd
be open, and consider a function f : D → Rd that is continuous and locally
Lipschitz continuous with respect to x. Consider for a fixed (t0 , x0 ) ∈ D the
initial value problem
ẋ = f (t, x) , x(t0 ) = x0 . (2.12)
Then the following two statements hold:
(i) Qualitative version. The initial value problem (2.12) has locally a
uniquely determined solution, i.e. there exists a h = h(t0 , x0 ) > 0
such that (2.12) has exactly one solution on [t0 − h, t0 + h].
(ii) Quantitative version. Consider for some τ, δ > 0 the set
τ,δ
W (t0 , x0 ) := [t0 − τ, t0 + τ ] × Bδ (x0 ), where Bδ (x0 ) := x ∈
Rd : kx − x0 k ≤ δ is the closed δ-neighbourhood of x0 . We assume
that W τ,δ (t0 , x0 ) ⊂ D, and we suppose that there exist K, M > 0
such that
kf (t, x) − f (t, y)k ≤ Kkx − yk for all (t, x), (t, y) ∈ W τ,δ (t0 , x0 ) (2.13)
and
kf (t, x)k ≤ M for all (t, x) ∈ W τ,δ (t0 , x0 ) . (2.14)
Then (2.12) has exactly one solution on [t0 − h, t0 + h], where h =
1 δ
h(t0 , x0 ) := min{τ, 2K ,M }.
28 2. Existence and uniqueness
Proof. Since D is open, for each fixed (t0 , x0 ) ∈ D, there exists a compact
and convex neighbourhood U of (t0 , x0 ). Since f is continuously differen-
tiable, and U is compact, there exists a K > 0 such that
∂f
(t, ξ) ≤ K for all (t, ξ) ∈ U . (2.15)
∂x
Due to the mean value inequality (Theorem 2.8), for any (t, x), (t, y) ∈ U ,
there exists a ξ ∈ [x, y] with
∂f (2.15)
kf (t, x) − f (t, y)k ≤ (t, ξ) kx − yk ≤ Kkx − yk .
∂x
Hence, f is locally Lipschitz continuous (with respect to x), and thus, The-
orem 2.13 implies the assertion.
Proof. Assume to the contrary that λ(t0 ) = µ(t0 ) for some t0 ∈ I ∩ J, and
λ(t̃) 6= µ(t̃) for some t̃ ∈ I ∩ J. Without loss of generality, we assume that
t̃ > t0 . Define
t∗ := sup t > t0 : λ(t0 ) = µ(t0 ) for all t0 ∈ [t0 , t] .
4. Maximal solutions 29
4. Maximal solutions
Let D ⊂ R × Rd be open, and consider a function f : D → Rd that is
continuous and locally Lipschitz continuous with respect to x. For a given
initial pair (t0 , x0 ) ∈ D, consider the initial value problem
ẋ = f (t, x) , x(t0 ) = x0 . (2.16)
In the last section, we have shown that we obtain a local solution to (2.16),
given by an interval of length 2h around t0 . In this section, we prove that
there exists a maximal time interval around t0 (containing [t0 − h, t0 + h])
on which the solution to (2.16) exists. We also discuss the behaviour of this
solution when time approaches the left and right points of this maximal time
interval.
Definition 2.16 (Maximal existence interval). Consider the initial value
problem (2.16). We define
I+ (t0 , x0 ) := sup t+ ≥ t0 : there exists a solution to (2.16) on [t0 , t+ ] ,
I− (t0 , x0 ) := inf t− ≤ t0 : there exists a solution to (2.16) on [t− , t0 ] ,
and the interval Imax (t0 , x0 ) := (I− (t0 , x0 ), I+ (t0 , x0 )) is called the maximal
existence interval for the initial value problem (2.16).
λmax (t)
x0 D
I− (t0 , x0 ) t0 I+ (t0 , x0 ) t
note that the maximal solution cannot be defined on the endpoints of the
(open) interval Imax (t0 , x0 ), since via the local version of the Picard–Lindelöf
theorem, we would be able to extend this solution beyond either I− (t0 , x0 )
or I+ (t0 , x0 ), and thus contradicting Definition 2.16.
Step 2. Proof of (i).
Assume that both (2.17) and (2.18) do not hold. Hence, there exists an
M > 0 and a sequence {tn }n∈N with limn→∞ tn = I+ (t0 , x0 ) and
1
kλmax (tn )k ≤ M and dist (tn , λmax (tn )), ∂D ≥ for all n ∈ N .
M
(2.20)
The sequence {(tn , λmax (tn ))}n∈N is bounded, and thus, there exists a con-
vergent subsequence (tnk , λmax (tnk )) → (t∗ , x∗ ) ∈ D as k → ∞ (we have
t∗ = I+ (t0 , x0 )). Note that (t∗ , x∗ ) ∈ D, because of the second part of (2.20).
Due to an exercise on the current problem sheet, in a neighbourhood W of
(t∗ , x∗ ), there exists a h = h(W ) such that all initial value problems with
initial values (t0 , x0 ) ∈ W
, there exists a solution on the interval [t0 −h, t0 +h].
Due to tnk , λmax (tnk ) → (t , x∗ ) ∈ D, there exists an N ∈ N such that
∗
(tnk , λmax (tnk )) ∈ W for all k ≥ N . This implies that tnk + h > t∗ for large
k ∈ N, and thus, the solution can be extended beyond t∗ , which contradicts
the maximality of the solution λmax . The proof of (ii) is analogous.
Step 3. The converse of (i) and (ii).
Assume that a solution λ : I → Rd satisfies (2.19), and assume that the
existence interval can be extended beyond sup I. This implies that the
solution is defined at the time sup I, which means that limt→sup I λ(t) =
λ(sup I) and (sup I, λ(sup I)) ∈ D. This is a contradiction to (2.19) (note
that D is open). Hence the solution can not be extended beyond sup I. A
similar argument can be made for extension below inf I.
ẋ = xα ,
the right hand side of which is defined for all x > 0 (and formally for
all t ∈ R), so the domain is given by D = R × R+ . We consider the
initial condition x(0) = 1. Using separation of variables (see description
before Example 1.8), we can compute the maximal solution depending on
the parameter α > 0. It is clear that for the linear case α = 1, we have
λ1,max (t) = et , and for α 6= 1, we get
1
λα,max (t) = 1 + (1 − α)t 1−α .
32 2. Existence and uniqueness
Note that the maximal existence intervals, on which these solutions exist,
are given by
1
α−1 , ∞ : α ∈ (0, 1) ,
Iα,max (0, 1) = (−∞, ∞) : α = 1 ,
1
− ∞, α−1 : α ∈ (1, ∞) ,
Figure 2.3. λα,max for α ∈ (0, 1) (left), and λα,max for α ∈ (1, ∞) (right).
Note that in the setting of Theorem 2.17, the initial pair (t0 , x0 ) was fixed,
but here we vary it to combine the maximal solutions to all initial value
problems in one notion, so we indicate the dependence of λmax (t, t0 , x0 ) on
this initial pair here.
This means that a general solution is a function that brings together all
maximal solutions of initial value problems. Using the notion of a general
solution, the solution identity then reads as
∂λ
(t, t0 , x0 ) = f t, λ(t, t0 , x0 ) for all (t, t0 , x0 ) ∈ Ω , (2.22)
∂t
where a partial derivative has to be used, since the time t is not the only
argument in the general solution.
We first study a simple example.
The general solution has the following fundamental and important proper-
ties.
Question: Can you explain the identities (2.24) and (2.25) in words?
5.2. Flows. A simpler situation is given when the differential equation un-
der consideration is autonomous. We consider an open subset D ⊂ Rd and
a locally Lipschitz continuous right hand side f : D → Rd of the differential
equation
ẋ = f (x) . (2.26)
The simplification is due to the fact that, because of the translation invari-
ance of autonomous differential equations, as proved in Proposition 1.9, the
general solution to an autonomous differential equation does not depend on
the actual time and initial time separately, but only on the elapsed time
(which is the difference between these two times). More precisely, let λ
denote the general solution to (2.26). Then we get
λ(t, t0 , x0 ) = λ(t − t0 , 0, x0 ) for all t ∈ Imax (t0 , x0 ) ,
as well as
Imax (t0 , x0 ) = Imax (0, x0 ) + t0 := t0 + t : t ∈ Imax (0, x0 ) , (2.27)
and this motivates the definition of a flow of the autonomous differential
equation (2.26).
Definition 2.22 (Flow of an autonomous differential equation). Consider
the autonomous differential equation (2.26), and define for any initial value
x0 ∈ D,
Jmax (x0 ) := Imax (0, x0 ) (2.28)
and
ϕ(t, x0 ) = λ(t, 0, x0 ) for all t ∈ Jmax (x0 ) .
5. General solutions and flows 35
The function (t, x0 ) 7→ ϕ(t, x0 ) is called the flow of the autonomous differ-
ential equation (2.26).
Analogously to (2.22) in the nonautonomous case and for the general so-
lution, using the flow of an autonomous differential equation, the solution
identity reads as
∂ϕ
(t, x0 ) = f ϕ(t, x0 ) for all x0 ∈ D and t ∈ Jmax (x0 ) .
∂t
We first consider a simple example.
We note that normally flows are denoted as ϕ(t, x) rather than ϕ(t, x0 ), and
we will use the more usual notation in the following.
Flows have the following properties, which correspond naturally to the prop-
erties of general solutions studied in Proposition 2.21.
Proposition 2.24 (Properties of the flow). Let ϕ be the flow of the au-
tonomous differential equation (2.26). Then for any x ∈ D, the following
statements hold.
Jmax (ϕ(t, x)) = Jmax (x) − t for all t ∈ Jmax (x) , (2.29)
ϕ(0, x) = x , (2.30)
ϕ(t, ϕ(s, x)) = ϕ(t + s, x) for all t, s with s, t + s ∈ Jmax (x) , (2.31)
ϕ(−t, ϕ(t, x)) = x for all t ∈ Jmax (x) . (2.32)
The identity (2.30) is called initial value condition, while (2.31) is called
group property.
Proof. Let λ denote the general solution to (2.26), and let Imax denote the
maximal existence intervals corresponding to λ.
36 2. Existence and uniqueness
(2.29): We have
(2.28)
Jmax (ϕ(t, x)) = Jmax (λ(t, 0, x)) = Imax (0, λ(t, 0, x))
(2.23)
= Imax (0, λ(0, −t, x)) = Imax (−t, x)
(2.27)
= Imax (0, x) − t = Jmax (x) − t ,
(2.31) (2.30)
(2.32): This follows from ϕ(−t, ϕ(t, x)) = ϕ(−t + t, x) = x.
The geometric picture is that the domain D of the right hand side f is
partitioned into orbits of ϕ. There are essentially three different types of
orbits O(x) for x ∈ D.
(i) O(x) is a singleton. This implies f (x) = 0 (see also Proposi-
tion 1.3), and Jmax (x) = R. The point x is called equilibrium.
(ii) O(x) is a closed curve, i.e. there exists t > 0 such that ϕ(t, x) = x,
but f (x) 6= 0. This implies Jmax (x) = R. The point x is called
periodic, and O(x) is called periodic orbit.
(iii) O(x) is not a closed curve, i.e. the function t 7→ ϕ(t, x) is injective
on Jmax (x).
We identify all three types of points in the following example.
5. General solutions and flows 37
Figure 2.4. Phase portrait of the differential equation from Example 2.26.
It is easy to see that all three trajectory types are present in this example.
The point (0, 0) is the only equilibrium, and there exists a periodic orbit
O(0, 1). All other orbits are not closed curves, and they converge in forward
time to the periodic orbit. It is clear that it makes sense to call the periodic
orbit stable, while the equilibrium (0, 0) is called unstable. We will formally
introduce these so-called notions of stability later in this course.
The situation is a bit simpler in the one-dimensional case, where periodic
orbits cannot occur. The proof of the following proposition is left as an
exercise.
Proposition 2.27 (Orbits of one-dimensional differential equations). Con-
sider the autonomous differential equation (2.26), where d = 1. Then all
solutions are monotone, and there do not exist periodic orbits. This means
that a trajectory is either a equilibrium or a non-closed curve.
38 2. Existence and uniqueness
Linear systems
where the right hand side is a (time-dependent) linear function, the matrix
of which is given by the derivative of the (differentiable) function f evaluated
along the solution. In general, i.e. if the differential equation (3.1) is nonau-
tonomous, or the solution µ is not constant, then the matrix A depends on
time t, which makes the situation quite complicated. This is due to the fact
that nonautonomous linear systems ẋ = A(t)x are not solvable in general,
while there exists an explicit representation for the flow of an autonomous
linear system ẋ = Ax. For this reason, we focus on the autonomous case,
which is obtained when we linearise an autonomous differential equation
ẋ = f (x) in an equilibrium x∗ , leading to the linear system ẋ = f 0 (x∗ )x.
39
40 3. Linear systems
where A ∈ Rd×d . Since kAx − Ayk = kA(x − y)k ≤ kAkkx − yk, this system
is globally Lipschitz continuous with Lipschitz constant kAk, and due to
the global version of the Picard–Lindelöf theorem (and an exercise from a
problem sheet), solutions to every initial value problem exist on R and are
unique, and this generates a globally defined flow ϕ : R × Rd → Rd .
Due to the Picard–Lindelöf theorem (Theorem 2.11), solutions can be ob-
tained locally by convergence of Picard iterates (λn )n∈N0 on some interval
J ⊂ R as defined in (2.6). We fix an initial value x0 ∈ Rd and are inter-
ested in how the solution corresponding to the initial condition x(0) = x0
looks in a neighbourhood J of 0. Note that the following analysis generalises
Example 2.3.
We define the initial function λ0 (t) := x0 for all t ∈ J, and the iterates as
defined in (2.6) read as
Z t
λn+1 (t) = P (λn )(t) = x0 + Aλn (s) ds .
0
So the solution to the initial value problem (3.2), x(0) = x0 , is given locally
around t = 0 by
∞ k k
X t A
λ∞ (t) = ϕ(t, x0 ) = eAt x0 , with eAt := with A0 = Idd . (3.3)
k!
k=0
The proof of the Picard–Lindelöf Theorem 2.11 shows that this infinite sum
exists (i.e. the series converges) whenever |t| ≤ h for some h > 0. We will
demonstrate later that it exists for all t ∈ R.
For a given matrix A ∈ Rd×d , the function t 7→ eAt is called the matrix
exponential function.
To prove that the matrix exponential function exists for all t ∈ R, we need
the following lemma (recall the definition of the operator norm of a matrix
from Definition 2.7).
1. Matrix exponential function 41
and note that due to the above observation, the sequence {an }n∈N converges.
For n > m, the triangle inequality implies that
n m
X 1 k X 1 k
kbn − bm k = B ≤ B = |an − am | .
k! k!
k=m+1 k=n+1
Since {an }n∈N is a Cauchy sequence, this inequality shows that {bn }n∈N is
a Cauchy sequence as well, and it is convergent in Rd×d .
We have seen that in (3.3) that the flow of (3.2) (ẋ = Ax) is given locally
around t = 0 by ϕ(t, x) = eAt x. We show now that this holds for all t ∈ R.
Theorem 3.3 (The flow of an autonomous linear differential equation).
Consider the autonomous linear differential equation (3.2) with coefficient
matrix A ∈ Rd×d . Then the flow ϕ : R × Rd → Rd generated by this
differential equation is given by
ϕ(t, x) = eAt x for all t ∈ R .
42 3. Linear systems
ϕ(t, x0 ) = ϕ( Nt , ϕ( Nt , . . . , ϕ( Nt , x0 ) . . . ))
| {z }
N times
N
Y t Step 1 t
= e N A x0 = eAN N x0 = eAt x0 .
i=1
The matrix exponential has the following important properties. The proof
is left as an exercise.
Question: Why does (iii) of Proposition 3.4 not hold in general? Can you
find matrices B, C ∈ Rd×d such hat eB+C 6= eB eC ?
2. Planar linear systems 43
ẋ = Ax ,
We first study the situation for all cases when the matrix is not singular,
i.e. 0 is not an eigenvalue of A.
This means that for any(x0 , y0 ) ∈ R2, the trajectory is given by O(x0 , y0 ) =
{eJt xy00 : t ∈ R} = x0 eat , y0 ebt : t ∈ R . We see that apart from
the equilibrium (0, 0), the four half axes are trajectories. Outside of these
trajectories, we obtain the representation
n b x o
O(x0 , y0 ) = x, y0 x
x0
a
∈ R2 : >0 .
x0
We obtain the following phase portraits, depending on the order and sign of
a and b.
44 3. Linear systems
a<b<0
stable knot
with two tangents
a<0<b
saddle
0<a<b
unstable knot
with two tangents
2. Planar linear systems 45
a0
I.(C2) J = 0a , where a ∈ R \ {0}.
We get
eat 0
Jt
e = for all t ∈ R .
0 eat
This means that for any(x0 , y0 ) ∈ R2, the trajectory is given by O(x0 , y0 ) =
Jt x0
{e y0 : t ∈ R} = x0 eat , y0 eat : t ∈ R . We see that apart from
the equilibrium (0, 0), the four half axes are trajectories. Outside of these
trajectories, we obtain the representation
n x o
x, x xy00 ∈ R2 :
O(x0 , y0 ) = >0 .
x0
a<0
stable knot
with many tangents
a>0
unstable knot
with many tangents
46 3. Linear systems
a1
I.(C3) J = 0a , where a ∈ R \ {0}.
It follows from an exercise that
at
teat
Jt e
e = for all t ∈ R .
0 eat
This means that for any (x0 , y0 ) ∈ R2 , the trajectory is given by O(x0 , y0 ) =
Jt x at at at
{e y0 : t ∈ R} = x0 e + y0 te , y0 e
0
: t ∈ R . We see that apart
from the equilibrium (0, 0), the two half x-axes are trajectories. Outside of
these trajectories, we obtain the representation
n
y
y o
O(x0 , y0 ) = x0
y0 y + a ln yy0 , y ∈ R2 : >0 .
y0
a<0
stable knot
with one tangent
a>0
unstable knot
with one tangent
2. Planar linear systems 47
a b
I.(C4) J = −b a , where b ∈ R \ {0}.
It follows from an exercise that
cos(bt) sin(bt)
eJt = eat for all t ∈ R . (3.5)
− sin(bt) cos(bt)
x0 Jt
O(x0 , y0 ) = e :t∈R
y0
at x0 cos(bt) + y0 sin(bt)
= e :t∈R .
y0 cos(bt) − x0 sin(bt)
a < 0, b > 0
stable focus
a < 0, b < 0
stable focus
48 3. Linear systems
a = 0, b > 0
centre
a = 0, b < 0
centre
a > 0, b > 0
unstable focus
2. Planar linear systems 49
a > 0, b < 0
unstable focus
at
Jt e 0
e = for all t ∈ R .
0 1
This means that for any (x0 , y0 ) ∈ R2 , the trajectory is given by O(x0 , y0 ) =
x
{eJt y00 : t ∈ R} = (eat x0 , y0 ) : t ∈ R .
a<0
50 3. Linear systems
a>0
00
II.(C2) J = 00 .
In this trivial case, the whole state space consists of equilibria.
II.(C3) J = 00 10 .
We get
1 t
eJt = for all t ∈ R .
0 1
2
This means
Jt x0 that for any (x0 , y0 ) ∈ R , the trajectory is given by O(x0 , y0 ) =
e y0 = (x0 +y0 t, y0 ) : t ∈ R . Note that the x-axis consists of equilibria.
The phase portrait is given as follows.
II.(C4) This case does not exist, since a two-dimensional matrix without
real eigenvalues cannot have eigenvalue zero.
2. Planar linear systems 51
not real, and it can be seen that the absolute value of b determines
the speed of rotation, while the sign of b determines the orientation
of rotation: it goes in clockwise if b > 0, and anti-clockwise if b < 0.
It will turn out in a moment that these two-dimensional observations are
true in higher-dimensions as well, see the formulas for the matrix exponential
in Proposition 3.8 below.
where the ρj , j ∈ {1, . . . , p}, are complex eigenvalues of the matrix A (some
of which may be the same).
3. Jordan normal form 53
We also do not prove this theorem, but would like to understand how to
construct the matrix T to obtain the real Jordan form, given by the matrix J.
Question 1. Why does the real Jordan normal form consist of blocks of the
form Cj ? We demonstrate this here for the two-dimensional case. Assume
that we are in the situation of (C4) in Section 2, i.e. the matrix A ∈ R2×2
has the complex eigenvalues ρ = a±ib with b 6= 0. Then the complex Jordan
normal form reads as
a + ib 0
Jcomplex = .
0 a − ib
54 3. Linear systems
as in Theorem 3.7, where the Jordan blocks Jj are given by either (3.6)
(corresponding to real eigenvalues ρi ) or (3.7) (corresponding to complex
eigenvalues ρj = aj + ibj ). Due to Proposition 3.4 (i) and (iv), we get
Jt
e 1 0
eAt = T eJt T −1 = T
.. −1
T ,
.
0 J
e p t
Proof. (i) If ρj is real, then Jj ∈ Rdj ×dj has the form J = P + D, where
0 1 0
ρj 0
. .
.. .. ...
P = .. and D = .
. 1 ..
.
0 0 0 ρj
56 3. Linear systems
Proof. Let J be the real Jordan normal form of the matrix A, i.e. there
exists a T ∈ Rd×d such that J = T −1 AT . We first consider exponential
bounds for eJt . In an exercise, you have proved that there exists a constant
C ≥ 1 with
1
kBk∞ ≤ kBk ≤ CkBk∞ for all B ∈ Rd×d .
C
Here, the Euclidean operator norm k · k, as introduced in (2.8), is compared
to the infinity norm k · k∞ , which is defined as
kBk∞ := max |bij | for all B = (bij )i,j∈{1,...,d} ∈ Rd×d .
i,j∈{1,...,d}
58 3. Linear systems
Note that a general result says that all norms on finite-dimensional spaces
are equivalent. It follows now from Proposition 3.8 that all entries of eJt are
of the form g(t)tn eρt , where ρ is an eigenvalue real part, g(t) is a bounded
function and n ∈ {0, . . . , d−1}. Note that in case of a semi-simple eigenvalue,
n is always equal to 0. All entries of eJt can thus be estimated by K̃eγt for
t ≥ 0, where K̃ > 0 is chosen appropriately. Note here that we need the
estimate tn eρt ≤ K 0 eγt for ρ < γ and t ≥ 0 here, where K 0 > 0 has to be
chosen appropriately. Finally, we get the inequality
(3.4)
eAt = T eJt T −1 ≤ kT k T −1 eJt ≤ CkT k T −1 eJt ∞
−1 γt
≤ CkT k T K̃ e for all t ≥ 0 ,
| {z }
=:K
where we have used the product rule and the fundamental theorem of cal-
culus. Note that the general solution to the homogeneous system ẋ = Ax is
given by
λh (t, t0 , x0 ) = eA(t−t0 ) x0 ,
6. Variation of constants formula 59
which follows from the definition of a flow and Theorem 3.3. We show now
that for a fixed (t0 , x0 ), the function
νt0 ,x0 (t) := λh (t, t0 , x0 ) + µg (t) for all t ∈ I
is a solution to (3.9). This follows from
ν̇t0 ,x0 (t) = λ̇h (t, t0 , x0 ) + µ̇g (t) = Aλh (t, t0 , x0 ) + Aµg (t) + g(t)
= A(λh (t, t0 , x0 ) + µg (t)) + g(t) = Aνt0 ,x0 (t) + g(t) .
Obviously, the function νt0 ,x0 satisfies the initial condition x(t0 ) = x0 , which
proves that λ as given in the statement of the proposition is the general
solution to (3.9).
Nonlinear systems
1. Stability
We are interested in the dynamical behaviour of the flow of an autonomous
differential equation in the vicinity of equilibria. We will distinguish between
different types of stability close to equilibria, and we will learn about criteria
that indicate such behaviour.
ẋ = f (x) , (4.1)
61
62 4. Nonlinear systems
We see in this example that the eigenvalues for this one-dimensional linear
system are crucial for the stability of the system. This applies to higher-
dimensional linear systems as well, and we will make this more precise later.
It is clear from the definitions that exponential stability implies asymptotic
stability. However, perhaps surprisingly, there is no relation between stabil-
ity and attractivity.
Example 4.3 (On the relation between stability and attractivity). We show
in this example that, in general, the notions of stability and attractivity are
not related.
(i) For the differential equation ẋ = 0, every point is an equilibrium,
and all equilibria are stable (choose δ := ε for a given ε > 0). It is
clear that no equilibrium is attractive in this example. Note that
stability does not imply attractivity can also been seen when look-
ing at the harmonic oscillator, which we studied in Example 1.10.
(ii) The two-dimensional differential equation
p
ẋ = x + xy − (x + y) x2 + y 2 ,
p
ẏ = y − x2 + (x − y) x2 + y 2
can be understood well when looking at the corresponding system
in polar coordinates
ṙ = r(1 − r) , φ̇ = r(1 − cos φ) .
The phase portrait is plotted in Figure 4.2. We note that this
system has exactly two equilibria: (0, 0), which is an unstable knot
with many tangents, and (1, 0), which admits a so-called homoclinic
orbit, given by the unit circle. Note that an orbit is called homo-
clinic if converges forward and backward in time to the same equi-
librium. It is clear, from looking at the polar coordinate system,
that the equilibrium (1, 0) is attractive. It can be even proved that
all orbits starting outside of the equilibrium (0, 0) converge to the
other equilibrium (1, 0) in forward time: limt→∞ ϕ(t, (x, y)) = (1, 0)
for all (x, y) 6= (0, 0). This is clearly seen in Figure 4.2, and can
be shown easily using the Poincaré–Bendixson theory, which will
be developed in Section 4 below. Although the equilibrium (1, 0) is
attractive, it is also clear that it is not stable, since orbits starting
in (x, y) on the unit circle very close to (1, 0), but with positive y
64 4. Nonlinear systems
take very long to complete the journey round the circle to come
close to (1, 0) from below, and for y → 0, this time converges to ∞.
Hence (−1, 0) ∈ ϕ(t, Bδ (1, 0)) for all δ > 0 and t sufficiently large.
This means that (1, 0) is unstable.
1.2. Stability of linear systems. Before looking more into nonlinear sys-
tems, we study stability of the trivial equilibrium of autonomous linear sys-
tems, and we note that in the Example 4.2, we have already explored this
in the one-dimensional case. Recall also that in Remark 3.5, we identified
1. Stability 65
that the real part of eigenvalues play a role in the exponential growth be-
haviour in two-dimensional linear systems, and this was confirmed for higher
dimensions in Proposition 3.9.
Theorem 4.5 (Stability of linear systems). Consider the autonomous linear
system
ẋ = Ax , (4.2)
d×d ∗
where A ∈ R . Then the trivial equilibrium x = 0 of this system is
(i) stable if and only if the following two statements hold:
(a) the real part of all eigenvalues of A is non-positive, i.e. we
have Re ρ ≤ 0 for all eigenvalues ρ of A, and
(b) the eigenvalue ρ is semi-simple for all eigenvalues ρ of A with
Re ρ = 0.
(ii) exponentially stable if and only if Re ρ < 0 for all eigenvalues ρ
of A.
Proof. Let J be the real Jordan normal form of the matrix A, i.e. there
exists a T ∈ Rd×d such that J = T −1 AT . Using Proposition 3.4 (i), we get
ϕ(t, x) = eAt x = T eJt T −1 x (4.3)
for the flow of (4.2).
(i) (⇒) We show that if either (a) or (b) does not hold, then x∗ = 0 is not
stable. If either (a) or (b) is false, this means that either there exists an
eigenvalue ρ with positive real part, or there exists an eigenvalue ρ with real
part 0 that is not semi-simple. In both cases, it follows from Proposition 3.8
that t 7→ eJj t , for a Jordan block corresponding to the eigenvalue ρ is un-
bounded for t ∈ [0, ∞). Hence it follows from (4.3) that one element of the
matrix eAt is unbounded for t ∈ [0, ∞), say the element in the k-th row and
`-th column. Set ε := 1 and choose δ > 0. This implies that
ϕ t, 2δ e` = 2δ ϕ t, e` = 2δ eAt e` ∈
/ Bε (0) for some t ≥ 0 .
|{z}
∈Bδ (0)
It should be noted, although only stability and exponential stability are de-
scribed in the above theorem, the results immediately give a characterisation
for instability due the equivalence formulation in (i). Moreover, it can be
shown easily that attractivity of autonomous linear systems is equivalent to
exponential stability, and thus, all stability notions from Definition 4.1 can
clearly be understood in the context of linear systems.
Figure 4.3. Phase portraits of (4.4) (on the left) and (4.5) (on the right).
1. Stability 67
The situation
is much different when we consider a centre equilibrium. Let
A2 := 01 −1
0 , and consider the linear system
ẋ x
= A2 , (4.6)
ẏ y
as well as the nonlinearly perturbed system
−5x(x2 + y 2 )
ẋ x
= A2 + , (4.7)
ẏ y −5y(x2 + y 2 )
The phase portraits of both systems in a neighbourhood [−2, 2] × [−2, 2] of
the trivial equilibrium (0, 0) are given in Figure 4.4, and in contrast to the
example above, the nonlinearly perturbed system behaves much differently
than the linear system, in the sense that all orbits converge forward to in
time to the trivial equilibrium (0, 0).
Figure 4.4. Phase portraits of (4.6) (on the left) and (4.7) (on the right).
The reason for this difference that if a linear system has only eigenvalues
with nonzero real parts, this implies exponential attractivity or repulsivity
in invariant linear subspaces, and this exponential behaviour cannot be de-
stroyed locally by a nonlinear perturbation. This is formulated precisely in
the so-called Hartman–Grobman theorem, which we will skip due to time
constraints. However, the boundary between attractivity and repulsivity is
given by an eigenvalue with real part 0, and different nonlinear perturba-
tions can make systems with zero real part eigenvalue attractive or unstable
(but not exponentially stable or exponentially unstable).
This observation leads to concept of hyperbolicity.
Definition 4.7 (Hyperbolicity). A matrix A ∈ Rd×d is called hyperbolic if
all eigenvalues λ of A have non-zero real part, i.e. Re λ 6= 0. An equilibrium
x∗ of a differential equation
ẋ = f (x) ,
d d
where f : D ⊂ R → R is continuously differentiable, is called hyperbolic
if the matrix f 0 (x∗ ) ∈ Rd×d is hyperbolic.
68 4. Nonlinear systems
Proof. Because the function u is continuous on the compact set [a, b], it is
bounded, i.e. there exists an M > 0 such that
u(t) ≤ M for all t ∈ [a, b] .
Using this in (4.8), we get
u(t) ≤ c + M d(t − a) for all t ∈ [a, b] .
Using this improved estimate in (4.8), we arrive at
1
u(t) ≤ c + cd(t − a) + M d2 (t − a)2 for all t ∈ [a, b] .
2
Inductively, we get after n steps that
n−1
X dk (t − a)k M dn (t − a)n
u(t) ≤ c + ,
k! n!
k=0 | {z }
| {z } →0
→ced(t−a)
which implies the claim in the limit n → ∞.
Since the real parts of the eigenvalues of the matrix A are negative, due to
Proposition 3.9, there exist constants K > 0 and γ < 0 such that
eAt ≤ Keγt for all t ≥ 0 . (4.12)
γ
We choose a positive number M < − K . Since r is continuously differen-
0
tiable, there exists ρ > 0 such that kr (x)k ≤ M for all x ∈ Bρ (0). Due to
the mean value inequality (Theorem 2.8), we get then get
kr(x)k ≤ M kxk for all x ∈ Bρ (0) . (4.13)
Finally, we define for each initial value x ∈ Bρ (0) the escape time
Te (x) := sup T > 0 : kϕ(t, x)k ≤ ρ for all t ∈ [0, T ) .
Note that Te (x) can be ∞, which is desirable case, and, as we will see later,
this is true for small enough x.
Step 2. We show that for all x0 ∈ Bρ (0), we have
kϕ(t, x0 )k ≤ Ke(KM +γ)t kx0 k for all t ∈ [0, Te (x0 )) . (4.14)
We note that the solution t 7→ ϕ(t, x0 ) of the differential equation (4.10) is
also a solution to the nonautonomous linear differential equation
ẋ = Ax + r(ϕ(t, x0 )) ,
for which the variation of constants formula can be applied (see Proposi-
tion 3.10), and we obtain
Z t
ϕ(t, x0 ) = eAt x0 + eA(t−s) r(ϕ(s, x0 )) ds .
0
Hence, for all t ∈ [0, Te (x0 )), we have
Z t
At
kϕ(t, x0 )k ≤ e · kx0 k + eA(t−s) · kr(ϕ(s, x0 ))k ds
0
(4.12)
Z t
γt
≤ Ke kx0 k + Keγ(t−s) kr(ϕ(s, x0 ))k ds
0
(4.13)
Z t
γt
≤ Ke kx0 k + Keγ(t−s) M kϕ(s, x0 )k ds .
0
We multiply this inequality with e−γt and obtain the implicit estimate
Z t
−γt −γs
u(t) := e kϕ(t, x0 )k ≤ Kkx0 k + KM e|{z} kϕ(s, x0 )k ds .
0
u(s)
We use the Gronwall lemma (Lemma 4.9) for the above defined function u,
and get the explicit estimate
e−γt kϕ(t, x0 )k ≤ Kkx0 keKM t for all t ∈ [0, Te (x0 )) ,
1. Stability 71
Question: Does this result imply anything for hyperbolic equilibria, for
which the eigenvalues of the linearisation have only positive real parts?
Yes, a time-reversed version of Theorem 4.10 implies that such equilibria
are exponentially attractive backward in time, which means that they are
repulsive.
A more complicated situation is given when there eigenvalues with both pos-
itive and negative real parts, and we will discuss this in the next subsection,
but firstly, we now show that this result can be applied to the pendulum sys-
tem, which turns out to have an exponentially stable equilibrium whenever
friction is taken into account.
Example 4.11 (Pendulum, exponentially stable equilibrium). Consider a
pendulum moving along a circle of radius r > 0, with a mass m > 0 and
friction coefficient k > 0. Let x denote the angle from the vertical. The
force tangential to the circle depends on both the position x and the speed
ẋ of the pendulum, and is given by
Ftan (x, ẋ) = −mg sin(x) − krẋ ,
see Figure 4.5.
x
r
mg sin(x)
mg cos(x)
mg
Newton’s law reads as mrẍ = Ftan (x, ẋ), and we thus get the second-order
one-dimensional differential equation
g k
ẍ = − sin(x) − ẋ ,
r m
which we can transform into the first-order two-dimensional system
ẋ = y ,
g k
ẏ = − sin(x) − y .
r m
(see Repetition Material 1 ). The equilibria of this system are given by
(nπ, 0), where n ∈ Z, which corresponds to the pendulum being in vertical
position (pointing down for even n and pointing up for odd n. We linearise
this system in (0, 0) (or equivalently in (nπ, 0) for even n), and obtain the
linearisation
0 1
,
− gr − mk
q
k 2 g
which gives two eigenvalues λ± := 12 − m k
± m − 4 r . It follows that
the real parts of both eigenvalues λ± are negative, and hence, Theorem 4.10
implies that the equilibria (nπ, 0) for n even are exponentially stable. Note
) −4 gr < 0 then both eigenvalues are complex, and if ( m
k 2
that if ( m ) −4 gr ≥ 0,
k 2
then both eigenvalues are real and negative. The stability of the equilibria
(nπ, 0) for n odd will be discussed below in Example 4.16.
1.5. Stable and unstable sets, invariant sets. In the previous subsec-
tion, we have looked at the case where all eigenvalues of the linearisation in
an equilibrium are negative, which implies exponential stability of the equi-
librium. We now look at situations where some eigenvalues have positive
and some eigenvalues have negative real parts.
Definition 4.12 (Stable and unstable set). Consider the differential equa-
tion (4.1) with associated flow ϕ, and let x∗ be an equilibrium. We define
the stable set of x∗ as
n o
W s (x∗ ) := x ∈ D : lim ϕ(t, x) = x∗ ,
t→∞
and the unstable set of x∗ is defined as
n o
W u (x∗ ) := x ∈ D : lim ϕ(t, x) = x∗ ,
t→−∞
Example 4.13 (Stable and unstable set of a linear system). Given a matrix
A ∈ Rd×d , we consider the linear system
ẋ = Ax ,
which we assume to be hyperbolic, i.e there are no eigenvalues with zero
real part (which is equivalent to {s1 , . . . , sq } ∩ {0} = ∅, where Σ(A) =
{s1 , . . . , sq }). It was mentioned in Section 5 of Chapter 3 that one can show
that
Rd = E1 ⊕ · · · ⊕ Eq ,
with Lyapunov exponents s1 < · · · < sq associated to these spaces. Due to
hyperbolicity, there exists an k ∈ {1, . . . , q + 1} such that s` < 0 for all ` < k
and s` > 0 for all ` ≥ k. One can show that
k−1
M q
M
W s (0) = Ei and W u (0) = Ei ,
i=1 i=k
so that the above decomposition can be rewritten as
Rd = W s (0) ⊕ W u (0) .
We note that stable and unstable sets in these two examples are also called
stable and unstable manifolds of the equilibrium 0. We do not give a proper
definition of manifolds here, and only note that manifolds are objects that
locally look like Euclidean spaces in each point.
74 4. Nonlinear systems
Stable and unstable manifolds are special cases of so-called invariant man-
ifolds, and the notion of an invariant set is very important in the theory of
differential equations. We require from invariant sets that orbits starting in
it do not leave the set. Recall the definition of orbits O(x) and half-orbits
O+ (x), O− (x) from Definition 2.25.
Definition 4.15 (Invariance). Consider the differential equation (4.1).
Then a set M ⊂ D is called
(i) positively invariant if for all x ∈ M , we have O+ (x) ⊂ M ,
(ii) negatively invariant if for all x ∈ M , we have O− (x) ⊂ M ,
(iii) invariant if for all x ∈ M , we have O(x) ⊂ M .
Note that sets that consist of equilibria or periodic orbits are invariant. Sta-
ble and unstable sets are also invariant, and any union of orbits is invariant.
Accordingly, unions of half-orbits of the form O+ (x) or O− (x) are positively
invariant or negatively invariant, respectively.
We identify stable and unstable sets for the pendulum.
Example 4.16 (Pendulum, saddle equilibrium). We consider again the pen-
dulum from Example 4.11, given by the one-dimensional system of order two
g k
ẍ = − sin(x) − ẋ ,
r m
which we can transform due to Extra Material 1 into the first-order two-
dimensional system
g k
ẋ = y , ẏ = − sin(x) − y
r m
We have seen that the equilibria of this system are given by (nπ, 0), where
n ∈ Z, and the analysis in Example 4.11 showed that the equilibria (nπ, 0)
for even n ∈ Z are exponentially stable. We analyse now the equilibria
(nπ, 0) for odd n ∈ Z and obtain the the linearisation
0 1
g k ,
r −m
q
k 2 g
which gives two eigenvalues λ± := 12 − m k
± m + 4 r . It follows that
we have λ− < 0 < λ+ , and one can see in the phase portrait in Figure 4.6
that the equilibria (nπ, 0) for n odd have stable and unstable sets/manifolds
that are given by one-dimensional curves.
Question: Can you give a physical interpretation of these two invariant
sets/manifolds?
We note that under the assumption that the right hand side of a differen-
tial equation is continuously differentiable, the so-called stable and unstable
2. Limit sets 75
2. Limit sets
The asymptotic behaviour of differential equations (that is the limiting be-
haviour for t → ∞ and t → −∞) is determined by certain types of invariant
set, so-called limit sets. We study this for an autonomous differential equa-
tion of the form
ẋ = f (x) , (4.17)
where f : D → Rd is locally Lipschitz continuous and D ⊂ Rd is an open
set. We denote the flow of this differential equation by ϕ.
We now introduce two important classes of invariant sets, so-called omega
and alpha limits sets. Their importance is due to the fact that they describe
the asymptotic behaviour. Note that invariance is not part of the following
definition, but it will follow later from it.
76 4. Nonlinear systems
Definition 4.17 (Omega and alpha limit sets). Consider the flow ϕ of the
differential equation (4.17), and let x ∈ D.
(i) A point xω ∈ D is called omega limit point of x, if there exists a
sequence {tn }n∈N such that limn→∞ tn = ∞ and
xω = lim ϕ(tn , x) .
n→∞
Note that the omega limit set of a point x is empty if sup Jmax (x) < ∞, and
the alpha limit set to be nonempty requires inf Jmax (x) = −∞.
We look at omega limit sets for the differential equation from Example 2.26.
Example 4.18. Consider the autonomous two-dimensional differential
equation
ẋ = y + x(1 − x2 − y 2 ) ,
(4.18)
ẏ = −x + y(1 − x2 − y 2 ) .
We have seen already in Example 2.26 that this differential equation has
the trivial equilibrium (0, 0), which is unstable, and there exists a periodic
orbit, given by the unit circle S1 . All orbits of this system that do not start
in the unstable trivial equilibrium approach this periodic orbit in forward
time. It is possible to show that
{(0, 0)} : (x, y) = (0, 0) ,
ω (x, y) =
S1 : (x, y) 6= (0, 0) ,
and
{(0,10)} : k(x, y)k < 1 ,
α (x, y) = S : k(x, y)k = 1 ,
∅ : k(x, y)k > 1 .
Question: Can you establish this rigorously? You can use the explicit rep-
resentation of the flow from Example 2.26. Proving this will become easier
when we have established the Poincaré–Bendixson theorem, see Section 4
below.
O+ (x, y) = O+ (x, y) ∪ S1 .
Hence,
\ \ +
O ϕ(t, (x, y)) ∪ S1
O+ ϕ(t, (x, y)) =
t≥0 t≥0
\
= S1 ∪ O+ ϕ(t, (x, y)) = S1 .
t≥0
+ 6 1) or S1 (if
T
This follows, since t≥0 O ϕ(t, (x, y)) is either ∅ (if k(x, y)k =
k(x, y)k = 1).
Proof of Proposition 4.19. We will only prove ω(x) = t≥0 O+ ϕ(t, x) ,
T
since the statement concerning alpha limit sets can be shown similarly.
78 4. Nonlinear systems
(⊂). Choose y ∈ ω(x). Then there exists a sequence {tn }n∈N with
limn→∞ tn → ∞ and y = limn→∞ ϕ(tn , x). This implies that for any t ≥ 0,
we have
y ∈ O+ ϕ(t, x) ,
since there exists an n0 = n0 (t) such that ϕ(tn , x) ∈ O+ ϕ(t, x) for all
n ≥ n0 . Hence y ∈ t≥0 O+ ϕ(t, x) .
T
(⊃). Choose y ∈ t≥0 O+ ϕ(t, x) . This implies that y ∈ O+ ϕ(t, x) for
T
all t ≥ 0, and in particular this means that
B1/n (y) ∩ O+ ϕ(n, x) 6= ∅ for all n ∈ N .
Hence, for all n ∈ N, there exists tn ≥ n such that ϕ(tn , x) ∈ B1/n (y). This
implies that limn→∞ tn → ∞ and y = limn→∞ ϕ(tn , x), and the proof is
finished, since y ∈ ω(x).
Omega and alpha limit sets have the following important properties.
Proposition 4.21 (Properties of omega and alpha limit sets). Consider the
differential equation (4.17), and let x ∈ D. Then the following statements
hold.
(i) The omega limit set ω(x) is invariant. In addition, if O+ (x) is
bounded and O+ (x) ⊂ D, then ω(x) is non-empty and compact.
(ii) The alpha limit set α(x) is invariant. In addition, if O− (x) is
bounded and O− (x) ⊂ D, then α(x) is non-empty and compact.
Proof. We only prove (i), since (ii) can be shown similarly, and we denote
the flow of (4.17) by ϕ.
Step 1. ω(x) isnonempty.
The sequence ϕ(n, x) n∈N is bounded and thus has a convergent subse-
quence ϕ(nk , x) k∈N with limit in D. The limit of this subsequence is an
omega limit point of x, and thus, ω(x) is nonempty.
Step 2. ω(x) is compact.
This follows directly from (4.19), since each of the sets O+ ϕ(t, x) ⊂ O+ (x)
are compact, since they are bounded and closed, and the intersection ω(x)
over these sets is also bounded and closed, and thus compact.
Step 3. ω(x) is invariant.
To show that ω(x) is invariant, we need to show that for all x0 ∈ ω(x), we
have O(x0 ) ⊂ ω(x). Choose τ ∈ Jmax (x0 ). Since x0 ∈ ω(x), there exists a
sequence {tn }n∈N with limn→∞ tn = ∞ and
x0 = lim ϕ(tn , x) . (4.20)
n→∞
3. Lyapunov functions 79
and this means that ϕ(τ, x0 ) ∈ ω(x), which finishes the proof of this propo-
sition.
3. Lyapunov functions
We have seen in Subsection 1.4 and Subsection 1.5 that stability can be de-
duced from the linearisation around hyperbolic equilibria. In particular, if
all eigenvalues of the linearisation f 0 (x∗ ) around an equilibrium x∗ of a dif-
ferential equation have negative real parts, then x∗ is asymptotically stable
(or even exponentially stable), and it follows that the domain of attraction
W s (x∗ ) contains a neighbourhood of the equilibrium x∗ .
In that sense, the method of linearisation provides local information, but
often it is useful to know more about global properties of the domain of
attraction W s (x∗ ). In addition, sometimes the method of linearisation can
not be used to determine stability of nonlinear systems, and this is the case
when the equilibrium is non-hyperbolic. It turns out that so-called Lyapunov
functions can be of help with regard to these restrictions to the methods
discussed so far. They are useful tools to prove stability (or instability)
of (not necessarily hyperbolic) equilibria and to determine their basin of
attraction.
In this section, we consider autonomous differential equations of the form
ẋ = f (x) , (4.21)
Note that while the gradient V 0 does not depend on (4.21), the orbital
derivative V̇ does. In fact, V̇ describes the derivative of V along solutions
µ : I → D of (4.21). This follows from
d
V (µ(t)) = V 0 (µ(t)) · µ̇(t) = V̇ (µ(t)) for all t ∈ I , (4.22)
dt
where we have used the chain rule.
We consider the energy of the pendulum and study its orbital derivative.
Example 4.23 (Pendulum, orbital derivative of energy function). We con-
sider the pendulum
ẋ = y ,
g k
ẏ = − sin(x) − y .
r m
which we have studied first in Example 4.11 and then in Example 4.16.
Its kinetic energy is given by 21 m(ry)2 , and its potential energy is given by
mg(r − r cos(x)). The sum of these two parts constitutes the function
1
V (x, y) := m(ry)2 + mgr 1 − cos(x) .
2
V is equal to 0 in the asymptotically stable equilibria (nπ, 0) for even n, and
V is positive outside of these equilibria. We compute the orbital derivative
of V , given by
2 y
V̇ (x, y) = (mgr sin(x), mr y) = −kr2 y 2 .
− gr sin(x) − m
k
y
We considered so far only the case with positive friction k > 0, and in this
case V (x, y) < 0 whenever y 6= 0. Interesting is also the case without friction
(k = 0), since in this case, V̇ (x, y) = 0. This immediately implies that
solutions stay on the level sets of V , see Figure 4.8 for the phase portrait.
We concentrate only on functions V that do not increase along solutions,
which are so-called Lyapunov functions.
Definition 4.24 (Lyapunov function). Consider the differential equation
(4.21), and let V : D → R be a continuously differentiable function. Then
V is called a Lyapunov function if
V̇ (x) ≤ 0 for all x ∈ D .
3. Lyapunov functions 81
which shows (4.23). This property implies immediately that sublevel sets of
Lyapunov functions are positively invariant.
Proposition 4.25 (Sublevel sets of Lyapunov functions are positively in-
variant). Consider the differential equation (4.21) with a Lyapunov function
V : D → R. Then any sublevel set of the form
Sc := x ∈ D : V (x) ≤ c ,
where c ∈ R, is positively invariant.
The following theorem says that if a Lyapunov function has a strict local
minimum in an equilibrium, then the equilibrium is stable. The result is
called a direct method, since it can get information on the stabilty behaviour
82 4. Nonlinear systems
of solutions directly from the right hand side of the differential equation,
and there is no need to solve the differential equation.
Theorem 4.26 (Lyapunov’s direct method for stability). Consider the dif-
ferential equation (4.21) with an equilibrium x∗ ∈ D, and let V : D → R be
a Lyapunov function such that
V (x∗ ) = 0 and V (x) > 0 for all x ∈ D \ {x∗ } .
Then the equilibrium x∗ is stable.
We first show that the trivial equilibrium is stable by considering the qua-
dratic function V (x, y) = x2 + y 2 for all (x, y) ∈ R2 . Then
−y − xy 2
V̇ (x, y) = (2x, 2y) = −4x2 y 2 ≤ 0
x − yx2
so (0, 0) is stable. We will see later in Example 4.32 that (0, 0) is even
asymptotically stable.
It is clear that we can choose the sequence {tn }n∈N such that tn+1 − tn > τ
for all n ∈ N. Due to V̇ (y) ≤ 0 for all y ∈ D, this implies that
V (ϕ(tn+1 , x)) ≤ V (ϕ(τ + tn , x)) = V (ϕ(τ, ϕ(tn , x))) for all n ∈ N .
Taking the limit n → ∞ on both sides of this inequality gives
V (z) ≤ V (ϕ(τ, z)) ,
which contradicts V (ϕ(τ, z)) < V (z). Note that here we have used that the
flow ϕ is continuous in x (see also Remark 2.28)
and the equilibria with n odd are unstable. We also found the Lyapunov
function
1
V (x, y) := m(ry)2 + mgr 1 − cos(x) ,
2
and we showed that
V̇ (x, y) = −kr2 y 2 .
Hence, V̇ (x, y) = 0 if and only if y = 0. Then La Salle’s principle implies
that
ω((x, y)) ⊂ R × {0} for all (x, y) ∈ R2 . (4.24)
It is possible to show, but this is left as a challenging exercise, that O+ ((x, y))
is bounded for all (x, y) ∈ R2 . Given this boundedness, Proposition 4.21
implies that ω(x) is nonempty. Proposition 4.21 also implies that ω((x, y))
is invariant. Suppose now that ω((x, y)) contains a point that is not an
equilibrium. Then (4.24) implies that there exists a (x̄, 0) ∈ ω((x, y)) with
x̄ 6= nπ for n ∈ Z. At this point (x̄, 0), we thus have ẏ = − gr sin(x̄) 6= 0.
This implies that the the flow starting in (x̄, 0) will leave the x-axis R × {0}
immediately (both forward and backward in time). Since the omega limit
set ω((x, y)) is invariant and we have (4.24), this cannot happen, and this
implies that such a point (x̄, 0) is not part of the the omega limit set ω((x, y)),
so
for all (x, y) ∈ R2 .
ω((x, y)) ⊂ (nπ, 0) : n ∈ Z
Since ω((x, y)) is connected (see exercises), this implies that ω((x, y)) is a
singleton. Since it is possible to show that when ω((x, y)) is a singleton,
then the flow starting in any (x, y) ∈ R2 converges in forward time to an
equilibrium (do this as an exercise, or look into the proof of Theorem 4.31
below).
We use a slightly modified version of Theorem 4.31 (in the spirit of the
reformulation of La Salle’s principle in Corollary 4.30) to prove asymptotic
stability for the differential equation considered in Example 4.27.
ẋ = −y − xy 2 ,
ẏ = x − yx2 ,
86 4. Nonlinear systems
This means that Theorem 4.31 is not applicable directly. However, in Step 1
of the proof of Theorem 4.31, La Salle’s principle was applied to show that
the omega limit set is a singleton, and we will demonstrate now that instead,
we can apply the reformulation of this principle given by Corollary 4.30. This
is possible, since the largest invariant subset of
(x, y) ∈ R2 : V̇ (x, y) = 0 = {0} × R ∪ R × {0}
is given by the equilibrium {(0, 0)}. This follows from the fact that if we
start on the y-axis outside of trivial equilibrium (i.e. x = 0 and y 6= 0), then
ẋ = −y 6= 0, so we leave the y-axis immediately. The same holds for the
x-axis outside of trivial equilibrium (i.e. y = 0 and x 6= 0). In this case, we
get ẏ = x 6= 0, so we leave the x-axis immediately. It follows that a modified
version of Step 1 of Theorem 4.31 then implies that ω((x, y)) = {(0, 0)},
for (x, y) from a neighbourhood around (0, 0). This implies that (0, 0) is
asymptotically stable.
The following corollary to Theorem 4.31 shows that sublevel sets of Lya-
punov functions are part of the domain of attraction.
Corollary 4.33 (Sublevel sets of Lyapunov functions are subsets of the
domain of attraction). Under the assumptions of Theorem 4.31, we consider
the sublevel sets of the Lyapunov function V , which are of the form
Sc := x ∈ D : V (x) ≤ c ,
where c > 0. Then Sc is a subset of the domain of attraction W s (x∗ ) if
Sc ⊂ D is compact.
being nonempty means that ω(x) = {x∗ }. Then Step 2 of Theorem 4.31
finishes the proof.
4. Poincaré–Bendixson theorem 87
4. Poincaré–Bendixson theorem
In this final section, we complete the set of tools that helps us to analyse two-
dimensional autonomous differential equations. This analysis decomposes
into a local and a global analysis.
In the local analysis, we
(i) locate the fixed points, and
(ii) determine their stability by linearising (which is possible if they are
hyperbolic).
In the global analysis, we
(i) look at nullclines in order to understand the global behaviour better
(see exercises),
(ii) try to find Lyapunov functions to understand stability of equilibria
(if non-hyperbolic) and domains of attractions,
(iii) locate periodic orbits (done in this section).
We consider the two-dimensional differential equation
ẋ = f (x) , (4.25)
where f : D → R2 is continuously differentiable function on an open set
D ⊂ R2 . We denote the flow of (4.25) by ϕ. Note that one can show (and
this is important for us) that the flow ϕ is continuously differentiable (see
Remark 2.28).
We note that an analogous statement holds for alpha limit sets, when we
look at the negative half-orbit. The theorem of Poincaré–Bendixson shows in
particular that in two-dimensional differential equation, there is only very
regular behaviour and no chaos. Chaotic differential equations occur in
dimension three, for instance in the famous Lorenz system.
88 4. Nonlinear systems
invariant. We show that the vector field of the right hand side points inwards
at the boundary of M . More precisely, we consider the scalar-valued function
V (x, y) = x2 +y 2 and show that the orbital derivative V̇ satisfies V̇ (x, y) < 0
for x2 +y 2 = 2 and V̇ (x, y) > 0 for x2 +y 2 = 31 . Firstly, the orbital derivative
reads as
V̇ (x, y) = 2xy + 2y − x + y(1 − x2 − 2y 2 ) = 2y 2 (1 − x2 − 2y 2 ) .