




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































These notes grew out of courses taught by the author at Stanford University
during the period of 2006 – 2009. The material is all classical. The author is
grateful to Messrs. Chad Groft, Michael Eichmair, and Jesse Gell-Redman,
who served as course assistants during that time.
vii
A differential equation is an equation which relates the derivatives of an
unknown function to the unknown function itself and known quantities. We
distinguish two basic types of differential equations: An ordinary differential
equation is a differential equation for an unknown function which depends on
a single variable (usually denoted by t and referred to as time). By contrast,
if the unknown function depends on two or more variables, the equation
is a partial differential equation. In this text, we will restrict ourselves to
ordinary differential equations, as the theory of partial differential equations
is considerably more difficult.
Perhaps the simplest example of an ordinary differential equation is the
equation
(1) x
′ (t) = a x(t),
where x(t) is a real-valued function and a is a constant. This is an example
of a linear differential equation of first order. Its general solution is described
in the following proposition:
Proposition 1.1. A function x(t) is a solution of (1) if and only if x(t) =
c e
at for some constant c.
Proof. Let x(t) be an arbitrary solution of (1). Then
d
dt
(e
−at x(t)) = e
−at (x
′ (t) − a x(t)) = 0.
2 1. Introduction
Therefore, the function e
−at x(t) is constant. Consequently, x(t) = c e
at for
some constant c.
Conversely, suppose that x(t) is a function of the form x(t) = c e
at for
some constant c. Then x
′ (t) = ca e
at = a x(t). Therefore, any function of
the form x(t) = c eat^ is a solution of (1).
We now consider a more general situation. Specifically, we consider the
differential equation
(2) x
′ (t) = a(t) x(t) + f (t).
Here, a(t) and f (t) are given continuous functions which are defined on some
interval J ⊂ R. Like (1), the equation (2) is a linear differential equation
of first order. However, while the equation (1) has constant coefficients,
coefficients in the equation (2) are allowed to depend on t. In the following
proposition, we describe the general solution of (2):
Proposition 1.2. Fix a time t 0 ∈ J, and let ϕ(t) =
∫ (^) t
t 0
a(s) ds. Then a
function x(t) is a solution of (2) if and only if
x(t) = e
ϕ(t)
( ∫ (^) t
t 0
e
−ϕ(s) f (s) ds + c
for some constant c.
Proof. Let x(t) be an arbitrary solution of (2). Then
d
dt
(e
−ϕ(t) x(t)) = e
−ϕ(t) (x
′ (t) − ϕ
′ (t) x(t))
= e
−ϕ(t) (x
′ (t) − a(t) x(t))
= e
−ϕ(t) f (t).
Integrating this identity, we obtain
e
−ϕ(t) x(t) =
∫ (^) t
t 0
e
−ϕ(s) f (s) ds + c
for some constant c. This implies
x(t) = e
ϕ(t)
t
t 0
e
−ϕ(s) f (s) ds + c
for some constant c.
Conversely, suppose that x(t) is of the form
x(t) = e
ϕ(t)
t
t 0
e
−ϕ(s) f (s) ds + c
4 1. Introduction
To solve this equation, we observe that
1 1+x^2
dx = arctan(x). Hence, if
x(t) is a solution of the given differential equation, then
d
dt
arctan(x(t)) =
1 + x(t)
2
x
′ (t) = t.
Integrating this equation, we obtain
arctan(x(t)) =
t
2
for some constant c. Thus, we conclude that
x(t) = tan
t
2
Problem 1.1. Find the solution of the differential equation x
′ (t) = −
2 t 1+t^2
x(t)+
1 with initial condition x(0) = 1.
Problem 1.2. Find the solution of the differential equation x
′ (t) =
t t+
y(t)+
1 with initial condition x(0) = 0.
Problem 1.3. Find the general solution of the differential equation x
′ (t) =
x(t) (1 − x(t)). This differential is related to the logistic growth model.
Problem 1.4. Find the general solution of the differential equation x
′ (t) =
x(t) log
1 x(t)
. This equation describes the Gompertz growth model.
Problem 1.5. Let x(t) be the solution of the differential equation x
′ (t) =
cos x(t) with initial condition x(0) = 0.
(i) Using separation of variables, show that
log(1 + sin x(t)) − log(1 − sin x(t)) = 2t.
(Hint: Write
2 cos x
cos x 1+sin x
cos x 1 −sin x
(ii) Show that
x(t) = arcsin
e
t − e
−t
et^ + e−t
= arctan(e
t ) − arctan(e
−t ).
Let A ∈ C
n×n be an n × n matrix. The operator norm of A is defined by
‖A‖op = sup x∈Cn, ‖x‖≤ 1
‖Ax‖.
It is straightforward to verify that the operator norm is submultiplicative;
that is,
‖AB‖op ≤ ‖A‖op ‖B‖op.
Iterating this estimate, we obtain
k ‖op ≤ ‖A‖
k op
for every nonnegative integer k. This implies that the sequence
∑^ m
k=
k!
k
is a Cauchy sequence in C
n×n
. Its limit
exp(A) := lim m→∞
∑^ m
k=
k!
k
is referred to as the matrix exponential of A.
Proposition 2.1. Let A, B ∈ C
n×n be two n × n matrices satisfying AB =
BA. Then
exp(A + B) = exp(A) exp(B).
2.2. Calculating the matrix exponential of a diagonalizable matrix 7
Proof. We compute
exp(A) −
m
)m
exp
m
)]m
−
m
)m
m∑− 1
l=
exp
m
)]m−l− 1 [
exp
m
m
m
)l
.
This gives
∥ ∥ ∥ exp(A)^ −
m
)m∥ ∥ ∥ op
m∑− 1
l=
∥ exp
m
m−l− 1
op
∥ exp
m
m
op
m
l
op
m∑− 1
l=
e
m−l− 1 m ‖A‖op
∥ exp
m
m
op
m
‖A‖op
)l
m∑− 1
l=
e
m−l− 1 m ‖A‖op
∥ exp
m
m
op
e
l m ‖A‖op
= m e
m− 1 m ‖A‖op
∥ exp
m
m
op
On the other hand,
exp
m
m
∞ ∑
k=
k!
mk^
k ,
hence
∥ exp
m
m
op
∞ ∑
k=
k!
m
k
k op ≤^
m
2
2 op e^
1 m ‖A‖op^.
Putting these facts together, we conclude that
∥ ∥ ∥ exp(A) −
m
)m∥ ∥ ∥ op
m
2 op e
‖A‖op .
From this, the assertion follows easily.
In this section, we consider a matrix A ∈ C
n×n which is diagonalizable.
In other words, there exists an invertible matrix S ∈ C
n×n and a diagonal
8 2. Systems of linear differential equations
matrix
λ 1 0... 0
0 λ 2... 0
. . .
0...... λn
such that A = SDS
− 1
. Equivalently, a matrix A is diagonalizable if there
exists a basis of C
n which consists of eigenvectors of A.
In order to compute the exponential of such a matrix we need two aux-
iliary results. The first one relates the matrix exponentials of two matrices
that are similar to each other.
Proposition 2.5. Suppose that A, B ∈ C
n×n are similar, so that A =
SBS
− 1 for some invertible matrix S ∈ C
n×n
. Then exp(tA) = S exp(tB)S
− 1
for all t ∈ R.
Proof. Using induction on k, it is easy to show that A
k = SB
k S
− 1 for all
integers k ≥ 0. Consequently,
exp(tA) =
k=
t
k
k!
k=
t
k
k!
k S
− 1 = S exp(tB)S
− 1 .
This completes the proof.
The second result gives a formula for the exponential of a diagonal ma-
trix:
Proposition 2.6. Suppose that
λ 1 0... 0
0 λ 2... 0
. . .
0...... λn
is a diagonal matrix. Then
exp(tD) =
e
tλ 1 0... 0
0 e
tλ 2
... 0
. . .
0...... e
tλn
Proof. Using induction on k, we can show that
λ
k 1 0...^0
0 λ
k 2...^0 . . .
0...... λ
k n
10 2. Systems of linear differential equations
Therefore, the matrix exponential of A is given by
exp(tA) = S
e
t(α+iβ) 0
0 e
t(α−iβ)
− 1
i −i
e
t(α+iβ) 0
0 e
t(α−iβ)
1 2
i 2 1 2
i 2
1 2
(et(α+iβ)^ + et(α−iβ^ ) −
i 2
(et(α+iβ)^ + et(α−iβ)) i 2
(et(α+iβ)^ + et(α−iβ))
1 2
(et(α+iβ)^ + et(α−iβ^ )
e
αt cos(βt) e
αt sin(βt)
−e
αt sin(βt) e
αt cos(βt)
In order to compute the exponential of a matrix that is not diagonaliz-
able, it will be necessary to consider decompositions of C
n into generalized
eigenspaces. We will need the following theorem due to Cayley and Hamil-
ton:
Theorem 2.7. Let A be a n×n matrix, and let pA(λ) = det(λI −A) denote
the characteristic polynomial of A. Then pA(A) = 0.
Proof. The proof involves several steps.
Step 1: Suppose first that A is a diagonal matrix with diagonal entries
λ 1 ,... , λn, i.e.
λ 1 0... 0
0 λ 2... 0
. . .
0...... λn
Then
p(A) =
p(λ 1 ) 0... 0
0 p(λ 2 )... 0
. . .
0...... p(λn)
for every polynomial p. In particular, if p = pA is the characteristic polyno-
mial of A, then pA(λj ) = 0 for all j, hence pA(A) = 0.
Step 2: Suppose next that A is an upper triangular matrix whose diag-
onal entries are pairwise distinct. In this case, A has n distinct eigenvalues.
In particular, A is diagonalizable. Hence, we can find a diagonal matrix B
and an invertible matrix S such that A = SBS
− 1
. Clearly, A and B have
the same characteristic polynomial, so pA(A) = pB (A) = SpB (B)S
− 1 = 0
by Step 1.
2.3. Generalized eigenspaces and the L + N decomposition 11
Step 3: Suppose now that A is a arbitrary upper triangular matrix. We
can find a sequence of matrices Ak such that limk→∞ Ak = A and each
matrix Ak is upper triangular with n distinct diagonal entries. This implies
pA(A) = limk→∞ pAk (Ak) = 0.
Step 4: Finally, if A is a general n × n matrix, we can find an upper
triangular matrix B such that A = SBS
− 1
. Again, A and B have the same
characteristic polynomial, so we obtain pA(A) = pB (A) = SpB (B)S
− 1 = 0
by Step 3.
We will also need the following tool from algebra:
Proposition 2.8. Suppose that f (λ) and g(λ) are two polynomials that are
relatively prime. (This means that any polynomial that divides both f (λ)
and g(λ) must be constant, i.e. of degree 0 .) Then we can find polynomials
p(λ) and q(λ) such that p(λ) f (λ) + q(λ) g(λ) = 1.
This is standard result in algebra. The polynomials p(λ) and q(λ) can be
found using the Euclidean algorithm. A proof can be found in most algebra
textbooks.
Proposition 2.9. Let A be an n × n matrix, and let f (λ) and g(λ) be two
polynomials that are relatively prime. Moreovr, let x be a vector satisfying
f (A) g(A) x = 0. Then there exists a unique pair of vectors y, z such that
f (A) y = 0, g(A) z = 0, and y + z = x. In other words, ker(f (A) g(A)) =
ker f (A) ⊕ ker g(A).
Proof. Since the polynomials f (λ) and g(λ) are relatively prime, we can
find polynomials p(λ) and q(λ) such that
p(λ) f (λ) + q(λ) g(λ) = 1.
This implies
p(A) f (A) + q(A) g(A) = I.
In order to prove the existence part, we define vectors y, z by y = q(A) g(A) x
and z = p(A) f (A) x. Then
f (A) y = f (A) q(A) g(A) x = q(A) f (A) g(A) x = 0,
g(A) z = g(A) p(A) f (A) x = p(A) f (A) g(A) x = 0,
and
y + z = (p(A) f (A) + q(A) g(A)) x = x.
Therefore, the vectors y, z have all the required properties.
In order to prove the uniqueness part, it suffices to show that ker f (A) ∩
ker g(A) = { 0 }. Assume that x lies in the intersection of ker f (A) and
ker g(A), so that f (A) x = 0 and g(A) x = 0. This implies p(A) f (A) x = 0
and q(A) g(A) x = 0. Adding both equations, we obtain x = (p(A) f (A) +
2.3. Generalized eigenspaces and the L + N decomposition 13
Consider the linear transformation from C
n into itself that sends a vector x ∈
ker(A − λj I)
νj to λj x (j = 1,... , m). Let L be the n × n matrix associated
with this linear transformation. This implies Lx = λj x for all x ∈ ker(A −
λj I)
νj
. Clearly, ker(L − λj I) = ker(A − λj I)
νj for j = 1,... , m. Therefore,
there exists a basis of C
n that consists of eigenvectors of L. Consequently,
L is diagonalizable.
We claim that A and L commute, i.e. LA = AL. It suffices to show that
LAx = ALx for all vectors x ∈ ker(A − λj I)
νj and all j = 1,... , m. Indeed,
if x belongs to the generalized eigenspace ker(A − λj I)
νj , then Ax lies in
the same generalized eigenspace. Therefore, Lx = λj x and LAx = λj Ax.
Putting these facts together, we obtain LAx = λj Ax = ALx, as claimed.
Therefore, LA = AL.
We now put N = A − L. Clearly, L + N = A and LN = LA − L
AL − L
2 = N L. Hence, it remains to show that N
n = 0. As above, it
is enough to show that N
n x = 0 for all vectors x ∈ ker(A − λj I)
νj and all
j = 1,... , m. By definition of L and N , we have N x = Ax−Lx = (A−λj I)x
for all x ∈ ker(A−λj I)
νj
. From this it is easy to see that N
n x = (A−λj I)
n x.
However, (A − λj I)
n x = 0 since x ∈ ker(A − λj I)
νj and νj ≤ n. Thus, we
conclude that N
n x = 0 for all x ∈ ker(A − λj I)
νj
. This completes the proof
of the existence part.
We next turn to the proof of the uniqueness statement. Suppose that
L, N ∈ C
n×n satsify (i) – (iv). We claim that Lx = λj x for all vectors
x ∈ ker(A − λj I)
νj and all j = 1,... , m. To this end, we use the formula
L − λj I = (A − λj I) − N. Since N commutes with A − λj I, it follows that
(L − λj I)
∑^2 n
l=
2 n
l
l (A − λj I)
2 n−l .
Using the identity N
n = 0, we obtain
(L − λj I)
n− 1 ∑
l=
2 n
l
l (A − λj I)
2 n−l .
Suppose that x ∈ ker(A − λj I)
νj
. Since νj ≤ n, we have (A − λj I)
2 n−l x =
0 for all l = 0,... , n − 1. This implies (L − λj I)
2 n x = 0. Since L is
diagonalizable, we it follows that (L − λj I)x = 0. Thus, we conclude that
Lx = λj x for all vectors x ∈ ker(A − λj I)
νj and all j = 1,... , m.
Since
n = ker(A − λ 1 I)
ν 1 ⊕... ⊕ (A − λmI)
νm ,
there is exactly one matrix L such that Lx = λj x for x ∈ ker(A − λj I)
νj and
j = 1,... , m. This completes the proof of the uniqueness statement.
14 2. Systems of linear differential equations
As an example, let us compute the L + N decomposition of the matrix
We begin by computing the eigenvalues and eigenvectors of A. The charac-
teristic polynomial of A is given by
det(λI − A) = det
λ − 2 − 3 4
0 λ − 1 − 2 4
1 2 λ + 4 − 6
0 1 2 λ − 3
= λ det
λ − 1 − 2 4
2 λ + 4 − 6
1 2 λ − 3
(^) + det
λ − 1 − 2 4
1 2 λ − 3
= λ(λ
3 − λ) + (3λ
2
= λ
4
2
= (λ − i)
2 (λ + i)
2 .
Thus, the eigenvalues of A are i and −i, and they both have algebraic
multiplicity 2. A straightforward calculation shows that the generalized
eigenspaces are given by
ker(A − iI)
2 = ker
− 4 − 4 i − 6 i −2 + 8i
− 2 − 2 i 2 − 4 i −4 + 8i
4 + 2i −2 + 4i −4 + 8i 6 − 12 i
2 2 i 4 i − 6 i
= span{v 1 , v 2 }
and
ker(A + iI)
2 = ker
− 4 4 i 6 i − 2 − 8 i
− 2 2 i 2 + 4i − 4 − 8 i
4 − 2 i − 2 − 4 i − 4 − 8 i 6 + 12i
2 − 2 i − 4 i 6 i
= span{v 3 , v 4 },