Differential Difference Equations
Differential Difference Equations
Lecture 1
Week 46 (Tuesday)
WELCOME!
This Lecture
Course Schedule
Nestor
Already on Nestor:
I Lecture Notes.
I Planning lectures and tutorials.
I Old exams.
I Tutorials grouping.
Required Background
Grading
I Please find three fellow students with whom you would like
to collaborate and enroll yourself in the same assignment
group as those team mates. Do so before Thursday, 26
November. The set of students who haven’t found a group
by 26 November will be randomly partitioned into groups of
four (or less).
I Assignments will be handed out during Lecture 6 (27
November).
I You are not allowed to make the exam or the resit exam if
you have not handed in a decent assignment report.
Why?
What happens if you use a slightly different A0 , i.e. what are the
stability properties of the equilibrium solution?
General Difference Equations
where:
I z is the (real-valued or complex-valued) variable we are
interested in (dependent variable).
I F is a function of at most k + 2 variables.
I k ∈ N is the order of the difference equation.
I x is the independent variable, usually time.
I h is the shift, usually the length of some time period.
x
Let n := h and y (n) := z(x) = z(nh).
F (y (n), y (n + 1), . . . , y (n + k )) = 0, n ∈ D.
y (t + 1) − 3y (t) + 2 = 0, t ∈ N ∪ {0}.
The General Solution of a Difference Equation
y (t + 1) − 3y (t) + 2 = 0, t ∈ N ∪ {0}.
F (n, c, . . . , c) = 0, ∀n ∈ D.
y (n + 1) + y (n) = 0, n ∈ N ∪ {0}.
0.7
0.6
0.5
0.4
0.3
0.2
0.1
ï0.1
ï0.2
0 5 10 15 20 25 30 35 40
0.9
0.8
0.7
0.6
0.5
0.4
0 5 10 15 20 25 30 35 40
Recurrence Relations and Initial Value Problems
y (n + 1) = f (y (n)), n ≥ 0. (4)
y (n + 1) = αy (n)(1 − y (n)), n ≥ 0,
Iterating a Solution
The first few elements of the solution of
y (n + 1) = 72 y (n)(1 − y (n)) with initial value y (0) = 1
10 .
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 0.2 0.4 0.6 0.8 1
Finding Equilibrium Solutions
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 0.2 0.4 0.6 0.8 1
Solutions of First Order Autonomous Difference
Equations
y (k ) = f k (y (0)), k ≥ 0.
ï1
ï2
ï2 ï1.5 ï1 ï0.5 0 0.5 1 1.5 2
Difference and Differential Equations
Lecture 2
Week 46 (Friday)
This Lecture
Stability of Solutions
Bifurcations
Bank Account Revisited
Recall the first order difference equation that tells you how
much money is in your bank account:
r
A(t + 1) = (1 + 100 )A(t) − G.
100
The equilibrium solution of this equations is A ≡ r G.
100
The distance between A(t) and r G grows with t.
y (n + 1) = y (n), n ≥ 0.
y (n + 1) = 12 y (n) + 1, n ≥ 0.
is stable if for every > 0 there exists a δ = δ() > 0 such that
for every solution ỹ with the property
The positive limit set or ω-limit set ω(x0 ) of x0 is the set of all
ω-limit points of x0 .
y (n + 1) = −y (n), n ≥ 0.
f : x 7→ x 2 + 14 , x ∈ R (2)
is the interval [− 12 , 12 ].
1
Proof: We have to show that limn→∞ f n (x) = 2 iff x ∈ [− 12 , 12 ].
I Note first that 12 is the unique fixed point of f and that
f (−x) = f (x), x ∈ R.
I Since
f (x) − x = (x − 12 )2 ≥ 0 ⇒ f (x) ≥ x,
we know that f n+1 (x) = f (f n (x)) ≥ f n (x), n ≥ 0, i.e. the
sequence {f n (x)}∞
n=0 is monotonically nondecreasing.
I In fact, f n+1 (x) > f n (x), n ≥ 1, if f n (x) 6= 12 .
Example of a Stable Set (II)
1
I Because 2 is the unique fixed point of f , we conclude that
` = 12 .
1
We have seen that the stable set of the fixed point 2 of (2) is
[− 12 , 12 ].
1
In fact, since {f n (x)}∞
n=0 is not bounded if x > 2 , the equilibrium
solution y ≡ 12 is unstable!
Stability Properties of Equilibrium solutions
Theorem (1.2.5)
Suppose c ∈ C is a fixed point of f and f is differentiable at c.
Then:
1. If |f 0 (c)| < 1, then y ≡ c is a (locally) asymptotically stable
solution of (3).
2. If |f 0 (c)| > 1, then y ≡ c is an unstable solution of (3).
I Consequently:
I Therefore:
Theorem (1.2.8)
Let g be a continuous function on a neighbourhood of 0 with
the property limx→0 g(x)
x = 0. Consider the equation
Then:
I If |a| < 1, then the null solution is asymptotically stable.
I If |a| > 1, then the null solution is unstable.
for k = 0, . . . , p − 1.
Bifurcations
Week 47 (Tuesday)
This Lecture
Inhomogeneous LDEs
Lemma
Let L(y ) = 0 be a homogeneous LDE. Then:
I The set of all real-valued solutions of this equation is a
linear space over R.
I The set of all complex-valued solutions of this equation is a
linear space over C.
Pk
Sketch of proof: Fix an L = j=0 aj τ j . Suppose that L(y1 ) = 0
and L(y2 ) = 0. We have to prove that for any n ≥ 0 and any
(λ1 , λ2 ) in R2 or C2 one has:
Lemma (1.3.4)
Suppose
Pk y1 , .j . . , yk are solutions of L(y ) = 0, where
L = j=0 aj τ . Then Cy1 ,...,yk is a solution of
Proof:
I The case k = 1 is trivial.
I If k = 2, then
y1 (n + 1) y2 (n + 1)
Cy1 ,y2 (n + 1) = =
y1 (n + 2) y2 (n + 2)
y 1 (n + 1) y2 (n + 1)
−a0 (n)y1 (n) + a1 (n)y1 (n + 1) −a0 (n)y2 (n) + a1 (n)y2 (n + 1) .
I General
Pk −1 case: replace the entries of the last row by
− `=0 a` (n)yj (n + `), j = 1, . . . , k and use the linearity of
the determinant.
The General Solution of Inhomogeneous LDEs
Once you know the general solution of the homogeneous LDE
L(y ) = 0 and one particular solution of the inhomogeneous
LDE L(y ) = b (b 6≡ 0), then you can construct the general
solution of L(y ) = b:
Theorem (1.3.7)
Let y0 be a particular solution of L(y ) = b. Then every solution
of L(y ) = b can be written as the sum of y0 and some solution
of the homogeneous LDE L(y ) = 0. Conversely, any sequence
that can be written as the sum of y0 and a solution of L(y ) = 0
is a solution of L(y ) = b.
Proof: If ỹ is a solution of L(y ) = b, then
L(ỹ − y0 ) = L(ỹ ) − L(y0 ) = b − b = 0. So, ỹ = y0 + (ỹ − y0 ) can
be written as such a sum. Conversely, if L(ŷ ) = 0, then
L(y0 + ŷ ) = L(y0 ) + L(ŷ ) = b + 0. So, y0 + ŷ is a solution of
L(y ) = b.
y (n + 2) − 5y (n + 1) + 6y (n) = 2, n ≥ 0. (2)
ỹ (n) = c1 2n + c2 3n + 1, n ≥ 0, c1 , c2 ∈ C or c1 , c2 ∈ R.
An Inhomogeneous LDE of Order 2 (I)
Consider the following LDE:
y (n + 2) = αy (n + 1) + βy (n) + γ, n ≥ 0, (3)
with α + β 6= 1 and γ 6= 0.
Trick: Solve λ2 − αλ − β = 0. √ ∞
α− α2 +4β n
Remark: Verify that the solutions 2 and
√ ∞ n=0
2
α+ α +4β n
2 are independent.
n=0
γ
Furthermore: y0 ≡ 1−α−β is the (unique) equilibrium solution of
(3).
Therefore: any solution z of (3) can be written as
n
α + α2 + 4β n
p p
2
γ α − α + 4β
z(n) = +c1 +c2 ,
1−α−β 2 2
y (n) = cr n , c ∈ R.
b(n)
z(n + 1) = z(n) + , n ≥ 0.
y0 (n + 1)
n−1 n−1
b(m) Y b(m) Y
y0 (n) = c̃ a(j) Qm = b(m) a(j),
y0 (m + 1) c̃ j=0 a(j)
j=0 j=m+1
Q
where by definition j∈∅ a(j) = 1.
Week 47 (Friday)
This Lecture
Fundamental Matrices
|y (n) − ỹ (n)| ≤ δ, n = 0, 1, . . . , k − 1,
Theorem (1.3.14’)
All solutions of L(y ) = b are neutrally stable, globally
asymptotically stable, or unstable iff the null solution of L(y ) = 0
is neutrally stable, globally asymptotically stable, or unstable,
respectively. Furthermore, every asymptotically stable solution
of either LDE is globally asymptotically stable.
Proof: The iff-statement follows from the previous slide and
Theorem 1.3.7.
I Suppose z ≡ 0 is an asymptotically stable solution of
L(y ) = 0, i.e. there exists a δ > 0 such that for every
solution with |z̃(n)| < δ, n = 0, 1, . . . , k − 1 one has
limn→∞ z̃(n) = 0.
I Now take an arbitrary solution ẑ of L(y ) = 0 and let
M = 1 + max{|ẑ(0)|, |ẑ(1)|, . . . , |ẑ(k − 1)|}.
where
y1 (n) f1 (n, y (n))
y2 (n) f2 (n, y (n))
y (n) = . , f (n, y (n)) = .
.
.. ..
yk (n) fk (n, y (n))
Solutions of Systems of First Order Difference
Equations
k
X
fj (n, y1 (n), y2 (n), . . . , yk (n)) = aj` y` (n)+bj (n), j = 1, 2, . . . , k .
`=1
or as
y (n + 1) = A(n)y (n) + b(n). (3)
From Order k to Order 1 (I)
We have already seen that finding solutions of
y1 (n + 1) =y (n + 1) = y2 (n),
y2 (n + 1) =y (n + 2) = y3 (n),
.. ..
. .
yk −1 (n + 1) =y (n + k − 1) = yk (n).
If you
Pstart with an LDE of order k , say L(y ) = −b with
k
L = j=0 aj τ j (ak ≡ 1), then (4) reduces to
y1 (n + 1) y2 (n)
y2 (n + 1) y3 (n)
=
.. ..
. .
yk (n + 1) −ak −1 yk (n) − ak −2 yk −1 (n) − . . . − a0 y1 (n) − b(n)
0 1 0 ... y1 (n) 0
0 0 1 y2 (n) 0
. . .
= .. .. + .. .
.. .. ..
. . . . . .
−a0 (n) −a1 (n) −a2 (n) . . . yk (n) −b(n)
(5)
Theorem (1.4.6)
The solutions of (6) form a k -dimensional linear space. A
collection of k solutions {y1 , . . . , yk } is a basis of this space if
and only if
det[y1 (n) y2 (n) . . . yk (n)] 6= 0
for some n ∈ N ∪ {0}.
Note that:
Y (n + 1) = A(n)Y (n), n ≥ 0.
y (n + 1) = Ay (n) (7)
y (n) = An c, n ≥ 0, c ∈ Ck .
Y (n) = An C, n ≥ 0
A = SJS −1 , where:
I The matrix S contains the (generalized) eigenvectors of A.
I The matrix J has the eigenvalues of A on its main diagonal
and possibly 1s right above some of the main diagonal
entries.
Easiest case: A has k linearly independent eigenvectors
s1 , . . . , sk with eigenvalues λ1 , . . . , λk . Then:
S = [s1 s2 . . . sk ], J = diag{λ1 , . . . , λk }.
A =SJS −1 ⇐⇒
−1
0 32 1
4 1 −2 1 0 0 4 1 −2
1 0 0 = 2 −1 0 0 − 1 1 2 −1 0 .
2 2
1
0 2 0 1 1 2 0 0 − 12 1 1 2
Using Jordan Normal Forms (I)
Y (n) = An S = SJ n .
y (n) = SJ n c, c = S −1 y0 .
Using Jordan Normal Forms: Example (I)
Just as in the scalar case, you only need one particular solution
of (8) on top of the general solution of its homogeneous
counterpart to obtain the general solution of (8):
Theorem (1.4.7)
Every solution of (8) can be written as the sum of one particular
solution y0 of (8) and a solution of y (n + 1) = A(n)y (n).
Conversely, every sequence of vectors that can be written as
such a sum is a solution of (8).
y (n + 1) = Ay (n) + b, n ≥ 0,
If I − A is nonsingular, then:
c = Ac + b ⇔ c = (I − A)−1 b.
Week 48 (Tuesday)
This Lecture
y (n + 1) = Ay (n), n ≥ 0, (2)
where A is a k × k matrix.
I An equilibrium solution of (2) is a constant sequence
y ≡ c, where c ∈ Ck is such that Ac = c. If c 6= 0, then this
occurs if and only if 1 is an eigenvalue of A.
I A p-periodic solution of (2) is a solution y such that
y (n + p) = y (n) for all n ≥ 0 and p is as small as possible.
So:
Ap y (n) = y (n), n ∈ N ∪ {0}.
This occurs if and only if A has an eigenvalue λ such that
λp = 1, but λr 6= 1, r = 1, 2, . . . , p − 1.
I We also have:
Av = λv = λ(1 + αi)u1 .
0 1
I The eigenvalues of A := are λ1 = 1 − i and
−2 2
λ2 = 1 + i.
I An eigenvector associated with λ1 is s1 = (1, 1 − i) and an
eigenvector associated with λ2 is s2 = (1, 1 + i).
I A complex-valued basis of the solution space of (3) is thus:
1 1
z1 (n) = (1 − i)n , z2 (n) = (1 + i)n .
1−i 1+i
Moving to Real-valued Solutions: Example (II)
I Consequently:
√ nπ √
< (1 + i)n =< ( 2)n e 4 i = ( 2)n < cos( nπ nπ
4 ) + i sin( 4 )
√ n
=( 2) cos( nπ4 ),
√
= (1 + i)n =( 2)n sin( nπ
4 ).
y (n + 1) = Ay (n) + b(n), n ≥ 0,
Remark 1: These
Qk conditions are replaced Pkby
| det(A)| = | i=1 λi | ≤ 1 and | tr(A)| = | i=1 λi | ≤ k if the
solutions are stable.
I Then:
w
1 1 1 n w2
w
2 1 n
lim ||y (n) − ỹ (n)||2 = lim w − (− 2 ) − 3 1 ( 2 ) w
w
n→∞ n→∞ − 12 2 2
1 n 1 n 2 1 1 n 3 1 n 2
= lim − (− 2 ) − 3( 2 ) + 2 (− 2 ) − 2 ( 2 ) =0
n→∞
Week 48 (Friday)
This Lecture
Functions: Example 1
functionexample1(a,b)
f=@(x) sin(x);
g=@(x,y) y*cos(x);
T=a:(b-a)/99:b;
plot(T,f(T*pi));
hold on;
for j=1:10
plot(T,g(T*pi,j));
end
xlabel(’time’);
ylabel(’variables of interest’
);
hold off;
end
Functions: Example 2
This function does almost the same things:
functionT=example2(a,b)
functiony=f(x)
y=sin(x);
end
g=@(x,y) y*cos(x);
T=a:(b-a)/99:b;
p=pi*ones(1,100);
plot(T,f(T.*p));
hold on;
for j=1:10
plot(T,g(T.*p,j));
end
xlabel(’time’);
ylabel(’variables of interest’
);
hold off;
end
Help!
Week 49 (Tuesday)
This Lecture
y (n + 1) = f (y (n)), n ≥ 0, (1)
fk
where V = Rk or V = Ck and Df ⊆ V .
Theorem (1.5.2)
Let c ∈ Ck be a fixed point of f and suppose f is differentiable
at c. Then:
I If rσ (Df (c)) < 1, then y ≡ c is an asymptotically stable
equilibrium solution of (1).
I If rσ (Df (c)) > 1, then y ≡ c is an unstable equilibrium
solution of (1).
yields three
q equilibrium solutions:
q the null solution,
1 1
y− ≡ (− α , 1), and y+ ≡ ( α , 1).
Using the Jacobian to Assess Stability Properties:
Example (II)
I The Jacobian of fα is defined by
x2 x1
Dfα (x1 , x2 ) = .
2αx1 0
||g(x)||2
lim = 0.
x→0 ||x||2
Theorem (1.5.8)
Let c be a fixed point of (1) with f continuous. Suppose there
exists a neighbourhood U of c and a continuous function
V : U → R such that V (c) = 0 and V (x) > 0 for all x ∈ U\{c}.
Then:
1. If V (f (x)) ≤ V (x) for all x ∈ U such that f (x) ∈ U, then
y ≡ c is a stable equilibrium solution.
2. If V (f (x)) < V (x) for all x ∈ U\{c} such that f (x) ∈ U,
then y ≡ c is an asymptotically stable equilibrium solution.
3. If V (f (x)) > V (x) for all x ∈ U\{c} such that f (x) ∈ U,
then y ≡ c is an unstable equilibrium solution.
V (x) > V (f (x)) > . . . > V (f n (x)) > V (f n+1 (x)) > . . . ≥ 0.
I Hence:
I But then:
a contradiction!
Lyapunov Functions
y (n + 1) = f (y (n)), n ≥ 0, (2)
where f : R2 → R2 is defined by
f (x1 , x2 ) = (x1 (1 − x22 ), x2 (1 − x12 )). Examine the stability of the
null solution of this equation.
I It is not difficult to see that y ≡ 0 is indeed an equilibrium
solution of (2).
I The jacobian of f is given by:
2
1 − x2 −2x1 x2
Df (x1 , x2 ) = .
−2x1 x2 1 − x12
I Consequently:
||f (x1 , x2 )||22 − ||(x1 , x2 )||22 = x12 x22 (x12 + x22 − 4).
I Observe that:
Week 49 (Friday)
This Lecture
uj (n) = y (n + j − 1), j = 1, . . . , k
where
0 1 0 ... 0
0 0 1 ... 0
A := .
.. .. .. .. ..
. . . . .
−a0 −a1 −a2 . . . −ak −1
If u is a solution of the companion equation (2), then u1 is a
solution of (1) and if u1 is a solution of (1), then
(u1 , τ u1 , . . . , τ k −1 u1 ) is a solution of (2). (τ is the shift operator)
The matrix A is called the companion matrix of (1).
The Eigenvalues of the Companion Matrix
λk + ak −1 λk −1 + . . . + a1 λ + a0 = 0.
L = τ k + ak −1 τ k −1 + . . . + a1 τ + a0 .
1
λj
λ2j
x2 = λj x1 , x3 = λj x2 , . . . xk = λj xk −1 ⇒ x = x1 . (3)
..
.
λkj −1
The Eigenvalues of the Companion Matrix: Example
y (n + 2) + y (n + 1) − 6y (n) = 0, n ≥ 0.
y (n) = c1 2n + c2 (−3)n , n ≥ 0, c1 , c2 ∈ C.
Theorem (1.6.2)
Suppose the characteristic equation of (1) has r distinct
solutions
Pr λj with algebraic multiplicities kj , j = 1, . . . , r
( j=1 kj = k ). Then the solution space of the homogeneous
equation
y (n + k ) + ak −1 y (n + k − 1) + . . . + a0 y (n) = 0
{λnj }∞ n ∞
n=0 , {nλj }n=0 , . . . , {n
kj −1 n ∞
λj }n=0 , j = 1, . . . , r .
Using Theorem 1.6.2: Example
Consider the following third order LDE:
y (n + 3) + 3y (n + 2) + 3y (n + 1) + y (n) = 0.
y (n + k ) + ak −1 y (n + k − 1) + . . . + a0 y (n) + b(n) = 0, n ≥ 0,
z(n) = c1 2n + c2 (−3)n + c3 + c4 n, n ≥ 0, c1 , . . . , c4 ∈ C.
z0 (n + 2) + z0 (n + 1) − 6z0 (n) = 2n ⇐⇒
(−4c3 + 3c4 ) − 4c4 n = 2n ⇔ −4c3 + 3c4 = 0 ∧ −4c4 = 2.
Consequently: c3 = − 38 and c4 = − 12 .
I The general solution of L(y )(n) = 2n, n ≥ 0, is thus:
y (n) = c1 2n + c2 (−3)n − 3
8 − 21 n, n ≥ 0, c1 , c2 ∈ C.
Stability of Solutions of Higher Order LDEs
Using the fact that (1) and (2) are equivalent, we have:
Theorem (1.6.7)
Suppose λj is a root of the characteristic equation/eigenvalue of
the companion matrix of (1) with algebraic multiplicity kj ,
j = 1, . . . , r . Then:
I The solutions of (1) are asymptotically stable if and only if
|λj | < 1 for all j ∈ {1, . . . , r }.
I The solutions of (1) are stable if |λj | ≤ 1 for all j and kj = 1
for all λj with |λj | = 1.
I The solutions of (1) are unstable in all other cases.
y (n + 2) − y (n + 1) + 12 y (n) = 2n , n ≥ 0.
and solving
c3 2n+2 − c3 2n+1 + 12 c3 2n = 2n
yields c3 = 23 .
A Higher Order LDE: Example (II)
Week 50 (Tuesday)
This Lecture
Differential Equations
dy
y 0 (t) = = −(1 − a)y (t) + b, t ∈ R+ .
dt
This one looks a lot like the difference equation
y (n + 1) = ay (n) + b, n ≥ 0.
How much money is in your bank account after six months, i.e.
at t = 12 ?
Ordinary Differential Equations
y 0 (t) = g(t), t ∈ T .
1
y 0 (t) = , t ∈ [0, ∞), y (0) = 3.
1+t
where F is a primitive of f .
So, |y (t)| = eF (t)+c and the general is consequently
y (t) = −e−1+cos(t) , t ≥ 0.
Inhomogeneous Linear ODEs
with g 6≡ 0.
Theorem (2.1.13)
Let y0 be a particular solution of (2). Then:
1. Every solution of (2) can be written as the sum of y0 and a
solution of y 0 = fy .
2. Any function that can be written as the sum of y0 and a
solution of y 0 = fy is a solution of (2).
y 0 (t) 2
= 2t ⇒ log |y (t)| = t 2 ⇒ y (t) = cet , c ∈ R.
y (t)
2
Next we figure out that y0 (t) = et +t is a particular solution of
the inhomogeneous ODE. So, the general solution reads:
2 2 +t
y (t) = cet + et , t ∈ R, c ∈ R.
I Consequently:
Z t
−F (s)
y (t) = e g(s) ds + C(t0 ) eF (t) .
t0
I So:
β 2 2 2β
C(t) = − e−αt t2 + t + 2 + + C(0).
α α α α3
Week 51 (Tuesday)
This Lecture
0 1 0 ... 0
y1 (t) y1 (t)
0 0 1 ... 0
y2 (t)
d y2 (t)
. = .. .. .. .. ..
..
dt .. . . . . . .
ak −1 (t)
yk (t) − aak0 (t)
(t) − aak1 (t)
(t) − aak2 (t)
(t) ... − ak (t)
yk (t)
0
0
+ .. .
.
b(t)
ak (t)
Equivalently:
y 0 (t) = f (t, y (t)), t ∈ T , (3)
where f is defined on T × D, D ⊆ Ck (or Rk ).
Solutions of Systems of First Order ODEs
y (t) = ceta , t ∈ T , c ∈ C.
It turns out that the general solution of (5) looks a lot like the
one of the scalar case:
y (t) = etA c, t ∈ T , c ∈ Ck .
P∞ an
Recall that ea = n=0 n! , a ∈ C. Similarly:
∞
X 1 n
eA = A , A ∈ Ck ×k .
n!
n=0
Furthermore: −1
etA = e−tA .
Calculating etA : Example
2 0
What is etA , where A = ?
0 3
I
n n
2 0 2 0
An = = .
0 3 0 3n
I
(2t)n
!
tn tn
n
2 0 0
An = = n!
(3t)n .
n! n! 0 3n 0 n!
I So:
∞ (2t)n (2t)n
! P∞ !
X 0 0
etA = n!
(3t)n = n=0 n!
P∞ (3t)n
n=0
0 n! 0 n=0 n!
2t
e 0
= .
0 e3t
Theorem (2.2.8)
The general solution of y 0 (t) = Ay (t), t ∈ T , A ∈ Ck ×k is
is y (t) = e(t−t0 )A y0 , t ∈ T .
Proof of Theorem 2.2.8
d −tA
e z(t) = − Ae−tA z(t) + e−tA z 0 (t)
dt
= − Ae−tA z(t) + Ae−tA z(t) = 0.
Theorem (2.2.9)
The solutions of y 0 (t) = Ay (t), t ∈ T , A ∈ Ck ×k form a
k -dimensional linear space. The vector functions
yi (t) = etA ci , ci ∈ Ck , i = 1, . . . , k
Hence:
Theorem
Suppose A ∈ Rk ×k has k linearly independent eigenvectors
s1 , . . . , sk with eigenvalues λ1 , . . . , λk . Then a basis of the
solution space of y 0 (t) = Ay (t), t ∈ T , is:
I Note that:
1 4
y (0) = c1 + c2 .
1 1
Week 51 (Friday)
This Lecture
where A ∈ Rk ×k .
If A = SJS −1 , then:
∞ ∞
SJS −1
X 1 −1
n X 1 n −1
A
e =e = SJS =S J S = SeJ S −1 .
n! n!
n=0 n=0
I Note that:
n n n−1
4t t 4 n4
(tJ)n = = tn .
0 4t 0 4n
I Consequently:
∞ (4t)n (4t)n−1
P∞ P∞ !
X t 1 t
etJ = (tJ)n = n=0 n! n=1
P∞ (n−1)!
(4t)n
= e4t .
0 0 1
n=0 n=0 n!
and
√ √ √ √
cos( 12 3t) + i sin( 12 3t) 21 − i 16 3 = 12 cos( 12 3t)
√ √ √ √ √
+ 16 3 sin( 12 3t) − i 16 3 cos( 12 3t) + i 12 sin( 12 3t)
I So,
1
√
√ cos(
− 12 t 2 √ 3t) √
y1 (t) = <(z(t)) =e 1 1 1 1 ,
2 cos( 2 3t) + 6 3 sin( 2 3t)
1
√
1 sin( 2 3t)
y2 (t) = =(z(t)) =e− 2 t √ √ √
− 16 3 cos( 12 3t) + 12 sin( 12 3t)
I Hence:
it 1 i
1 1 e 0
etA = SetJ S −1 = 2 2 .
−i i 0 e−it 1
2 − 2i
I Consequently:
−it 1+i 1+i −it
1 e 0 2 e
e−tA =S 2 =S .
1 0 eit 1−i
2
1−i it
2 e
I Furthermore:
1 it 1 −it i it
− 2i e−it
2e + 2e 2e cos t − sin t
etA = = .
− 2i eit + 2i e−it 1 it
2e + 12 e−it sin t cos t
I The general solution reads (using (cos t)2 + (sin t)2 = 1):
Z t
1
y (t) =etA c + etA e−sA ds
0 1
c1 cos t − c2 sin t −1 + cos t + sin t
= + ,
c1 sin t + c2 cos t 1 − cos t + sin t
where c = (c1 , c2 ) ∈ C2 .
Difference and Differential Equations
Lecture 13
Week 02 (Tuesday)
This Lecture
where f : T × D → Ck , with D ⊆ Ck or D ⊆ Rk .
y (t) = etA c, c ∈ Ck
Whatif, for
instance, k = 2, the eigenvalue λ = 0 (twice), and
0 1
N= ?
0 0
Intuition behind Theorem 2.3.3 (II)
Because k × k matrices with Jordan blocks are upper triangular
matrices, only the first k − 1 powers of N are relevant:
−1 ` `
kX
tN t N
e = .
`!
`=0
0 1 0 0 1 1 1 t
So, if N = , then etN = t 0!N + t 1!N = .
0 0 0 1
Furthermore, λ = 0 (twice) implies that etΛ = I.
So:
1 t
etA =S S −1 .
0 1
1 t
The t in causes the null solution to be unstable!
0 1
−2 1
I One has consequently: Df (0, 0) = 1 .
2 −1
I Because Df (0, 0) has a dominant negative diagonal, we
conclude that the null solution is asymptotically stable.
−x23
f (x1 , x2 ) = .
x1 − 12 x23
I Note that:
∂Va,b ∂Va,b
V̇a,b (x1 , x2 ) = (x1 , x2 ) × (−x23 ) + (x1 , x2 ) × (x1 − 12 x23 )
∂x1 ∂x2
= − 2ax1 x23 + 4bx1 x23 − 2bx26 .