6 Flashcards
Applications of diagonalisation
The solution to the difference equation
xt+1 = axt
is
xt = atx0, where x0 is the first term of the sequence. (We assume that the sequence is x0, x1, x2 … rather than x1, x2,…
Solving systems of difference equations by CHANGE OF VARIABLE. Steps: Given system Xt+1 = AXt
- Let Xt = PZt (or, equivalently, Zt = P-1Xt)
- Zt+1 = P-1Xt+1
Zt+1 = P-1AXt
Zt+1 = P-1APZt
Zt+1 = DZt
- Find P
- Write out Zt+1 = DZt and solve to give ut, vt and wt using fact that the solution to the difference equation xt+1 = axt is xt = atx0, where x0 is the first term of the sequence
5 Write out Xt = PZt in matrix form
6 Write out X0 = PZ0 and solve using row operations to find u0, v0 and W0
7 Plug these back into step 5 (still in matrix form)
8 State xt, yt and zt
Solving systems of difference equations by MATRIX POWERS. Steps given system Xt+1 = AXt
- If Xt+1 = AXt, then Xt = AtX0
- FInd P
3 P-1AP = D = diag(1, 5, 13)
so A = PDP-1 and At = PDtP-1
- Find P-1
- Xt = AtX0 = PDtP-1X0 - fill in and work out
Malthus equation
ẏ = ry where ẏ = dy/dt
with solution y(t) = erty(0).
Steps to solve a linear system of differential equations,
ẏ = Ay
where A is an n x n matrix
If D is diagonal, this is easy to solve. For, suppose
D = diag(λ1, λ2, …, λn) then the system is precisely
ẏ1 = λ1y1, ẏ2 = λ2y2, …, ẏn = λnyn;
and so
y1 = y1(0)eλ1t, …, yn = yn(0)eλnt
- Suppose that A can be diagonalised. Then P-1AP = D, with P = (v1 … vn); D = diag(λ1, λ2, …, λn);
where λi are the eigenvalues and vi the corresponding eigenvectors.
1b. Find P and D
2. Let z = P-1y (or, equivalently, y = Pz).
so ẏ = Pż since P has constant entries.
Since ẏ = Ay, and Pż = ẏ, then Pż = Ay = APz
so ż = P-1APz = Dz
- ż = Dz in matrix form to write out z1 and z2 in z1 = eλ1tz1(0) form
- Then write out in matrix form y = Pz to state ys in terms of zs
- Write out in matrix form z0 = P-1y0 to state z1(0),… zn(0) in terms of yi(0)s
- Finally, state yi(t)s in terms of yi(0)s
The vector y* ∈ Rn is a steady state of the system ẏ = F(y) if
F(y*) = 0
If a system has initial condition y(0)=y* then it satisfies y(t)=y* for all t. So y* is a constant solution of the system.
A steady state y* is an asymptotically stable equilibrium if
every solution y(t) that starts
near y* converges to y* as t → ∞,
i.e. if there is some ε > 0 such that
if ẏ = F(y) and ∥y(0) - y*∥ < ε then y(t) → y*
A can be diagonalised if it has
- n distinct eigenvalues
- n linearly independent eigenvectors (can have repeated eigenvalues)
If the n x n matrix A has n distinct eigenvalues λ1, λ2, …, λn and corresponding eigenvectors v1,…, vn then the system ẏ = Ay has general solution
y(t) = c1eλ1tv1 + c2eλ2tv2 + … + cneλntvn
where constants ci are the initial values zi(0) and
ż = P-1APz = Dz.
Note: if ż = Dz then z = (c1eλ1t … cneλnt)T
also y = Pz = (v1 … vn)(c1eλ1t … cneλnt)T = c1eλ1tv1 + c2eλ2tv2 + … + cneλntvn
Suppose A has n distinct negative real eigenvalues. Then the only steady state of the system ẏ = Ay is
y* = 0, and this is asymptotically stable.
This is because:
- if all the λi are neg, then each term in
y(t) = c1eλ1tv1 + c2eλ2tv2 + … + cneλntvn
will tend to zero as t → ∞
- if the matrix has non-zero eigenvalues and can be
diagonalised then the only solution to Ay = 0 is y = 0; i.e., the only steady state is y* = 0 and, since y(t) → 0 as t → ∞, y* is asymptotically stable.
Taylor’s Theorem
Let F : Rn → Rn be continuously differentiable
and let y* ∈ Rn. Then for h ∈ Rn,
F(y* + h) = F(y*) + DF(y*)h + R(h).
DF(y*) is the Jacobian evaluated at y*, and R(h) has the property that R(h)/∥h∥ → 0 as h → 0.
Loosely speaking, if each entry of h is small, then
F(y* + h) ≈ F(y*) + DF(y*)h;
Let y* be a steady state solution of the system ẏ = F(y) (where F : Rn → Rn is continuously differentiable).
Let DF(**y\***) denote the Jacobian matrix evaluated at y\*. If DF(**y\***) has n negative real eigenvalues then **y\*** is
asymptotically stable
Now suppose that we have two species of animal and that they compete with each other (for food, for instance). Denote the corresponding populations at time t by y1(t) and y2(t). We assume that, in the absence of the other, the population of either species
would exhibit logistic growth, as above. But given that they compete with each other, we assume that the presence of each has a negative effect on the growth rate of the other. That is, we assume that for some positive numbers a1, a2, b1, b2, c1, c2,
ẏ1/y1 = a1 - b1y1 - c1y2
ẏ1/y2 = a2 - b2y2 - c2y1-
What is the coupled system of difference equations?
ẏ1 = a1y1 - b1y12 - c1y2y1
ẏ1 = a2y2 - b2y22 - c2y1y2
A quadratic form in n x 2 variables, e.g.
(q(x1, x2, x3) = 5x12 + 10x22 + 2x32+ 4x1x2 + 2x1x3 + 2x2x3) variables is of the form
xTAx
A = (5 2 1)
(2 10 1)
(1 1 2)
Nb: Diagonal entries of A are the coefficients of the squared variables and the other entries are half of the coefficients)
Suppose that q(x) is a quadratic form. Then
q(x) is positive definite if
q(x) ≥ 0 for all x, and q(x) = 0 only when x = 0, the
zero-vector