Eigenvalues/Eigenvectors continued, and application of eigenvalues to difference equations
Contents
Eigenvalues/Eigenvectors continued, and application of eigenvalues to difference equations#
\(\underline{Ex}\): Symmetric matrix (\(\lambda\) always real)#
A real square matrix \(\arr{A}=[a_{jk}]\) is symmetric if \(\arr{A}^T = \arr{A}\implies\) thus \(a_{kj}=a_{jk}\)
\(\arr{A}=\begin{bmatrix} -5&2\\2&-2 \end{bmatrix}\)
Eigenvalues:
The eigenvalues of symmetric matrices are always real.
Eigenvectors:
For \(\lambda_1=-6\),
For \(\lambda_2=-1\),
Eigenspace:
\(\underline{Ex}:\) A skew symmetric matrix (\(\lambda=0\) or complex)#
\(\rightarrow \arr{A}^T = -\arr{A}\) \(\hspace{0.5cm}(a_{ij}=-a_{ji})\)
\(\arr{A} = \begin{bmatrix} 0&9&-12 \\ -9&0&20 \\ 12&-20&0 \end{bmatrix}\)
Find eigenvalues by solving \(|\arr{A} - \lambda \arr{I}| = 0\)
The eigenvalues of skew-symmetric matrices are always complex or zero.
Find eigenvectors:
Find \(\vec{x}^{(1)}\) from \((\arr{A} - 0\arr{I}) = \vec{0}\)
(59)#\[\begin{align} \left[ \begin{array}{rrr|r} 0&9&-12&0 \\ -9&0&20&0 \\ 12&-20&0&0 \end{array} \right] \end{align}\]Swap rows:
(60)#\[\begin{bmatrix} 12&-20&0 \\ -9&0&20 \\ 0&9&-12 \end{bmatrix}\]\(R_3 = \frac{1}{3}R_3\) ; \(R_1 = \frac{1}{4}R_1\):
(61)#\[\begin{bmatrix} 3&-5&0 \\ -9&0&20 \\ 0&3&-4 \end{bmatrix}\]\(R_2 = R_2 +3R_1\), \(R_3 = 5R_3\):
(62)#\[\begin{bmatrix} 3&-5&0 \\ 0&-15&20 \\ 0&15&-20 \end{bmatrix}\]\(R_3 = R_3 + R_2\):
(63)#\[\begin{bmatrix} 3&-5&0 \\ 0&-15&20 \\ 0&0&0 \end{bmatrix}\]$R_2 = \frac{1}{5} R_2$\
(64)#\[\begin{align} \left[ \begin{array}{rrr|r} 3&-5&0&0 \\ 0&-3&4&0 \\ 0&0&0&0 \end{array} \right] \end{align}\](65)#\[\begin{align} \implies 3x_1 - 5x_2 = 0\\ -3x_2 + 4x_3 = 0\\ \implies x_2 = \frac{4}{3}x_3\\ x_1 = \frac{20}{9}x_3\\ \end{align}\](66)#\[\begin{align} \lambda_1 = 0, && \arr{x}^{(1)} = \begin{bmatrix}20\\12\\9 \end{bmatrix} \end{align}\]Note these are the off-diagonal terms
\(\vec{x}^{(2)}\) and \(\vec{x}^{(3)}\) will be complex. Practice finding them @ home.
Eigenspace of \(\arr{A}\) is:
Note the complex conjugate vectors.
Final Example with Triangular Matrix:#
\(\arr{A} = \begin{bmatrix} 1&0&0 \\ -9&2&0 \\ 12&1&-3 \end{bmatrix} \rightarrow\) lower triangular matrix, \(a_{ij} = 0\) if \(j>1\)
Eigenvalues from \(|\arr{A}-\lambda \arr{I}| = 0\)
For upper or lower triangular matrices, eigenvalues will be diagonal elements.
One Application of the Eigenvalue Problem#
“Difference” Equations (Recurrance Relations)
Can be used to solve problems in population dynamics, digital signal processing and economics.
We will use one here to determine how quickly people die from a plague.
First we must understand that the eigenvectors of any n-dimentional problem form a basis for \(R^n\). In 3D space for example, we often think of \([1, 0, 0], [0, 1, 0]\) & \([0, 0, 1]\) as basis vectors of \(R^n\). Eigenvectors also form a basis because they are always linearly independent.
Because eigenvectors form a basis, we can write any vector, \(\vec{z}\), as
But, since \(\arr{A}\vec{x_n} = \lambda_n\vec{x_n}\), we can greatly simplify:
\(\therefore\) If we know \(\arr{A}\), finding its eigenvalues and vectors will help us find \(\vec{z}\)
This becomes interesting when wanting to multiply an eigenvector \(\vec{x}\) by powers of \(\arr{A}\). For example:
then, \(\arr{A}^k\vec{z} = c_1\lambda_1^k\arr{x_1} + c_2\lambda_2^k\vec{x_2} + ... + c_n\lambda_n^k\vec{x_n}\)
We are interested in equations of the form \(\arr{A}^k\vec{z}\) because it can tell us how some initial state represented by vector \(\vec{z}\) changes on a recurrant basis. For example, if \(\arr{z_0}\) represents the initial state of a population and \(\arr{A}\) tells us how the population changes each year then after 1 year:
And after 2 years:
And after k years:
\(\textbf{Problem:}\) A fearsome new strain of Ebola strikes the island of Niihau, HI with population of 200. People can be categorized as healthy, sick or dead. Each year, the plague causes 60% of healthy people to get sick and another 10% of healthy people to die. Only 30% stay healthy. This strain of Ebola is difficult to cure, and so 60% of sick people die each year, 20% become healthy and 20% will remain sick.
Determine the equation that predicts how many people are healthy, sick and dead after k years.
How many years will it take before only 20 people remain alive on Niihau?
Begin by setting up variables and equations:
Let \(z_1(k)\) = number of healthy people after k years
\(z_2(k)\) = number of sick people after k years
\(z_3(k)\) = number of dead people after k years
\(\implies\) 3 types of people, 3 dimensionsThen info in problem tells us:
HEALTHY
In a given year \((k+1)\), the number of healthy people equals 30% of the healthy people from the previous year \((k)\) + 20% of the sick people from the previous year \((k)\).
SICK
DEAD
So if \(\vec{z_k} = \begin{bmatrix} z_1(k) \\ z_2(k) \\ z_3(k) \end{bmatrix}\), then this problem is asking us to solve the difference equaiton
Let’s write the initial population vector in terms of eigenvalues and vectors of \(\arr{A}\).
Need to find eigenvalues and eigenvectors of \(\arr{A} = \begin{bmatrix} 0.3&0.2&0 \\ 0.6&0.2&0 \\ 0.1&0.6&1 \end{bmatrix}\)
Finally we can find the \(c_n\) values by expressing the initial population vector, \(\vec{z_0} = \begin{bmatrix} 200\\0\\0 \end{bmatrix}\) in terms of the eigenvector basis.
Here the coefficients represent \(c_1, c_2\) and \(c_3\) respectively.
Finally, to determine how long it will take to have only 20 people remaining, we can plug in some values of \(k\).
Rounded to the nearest person:
After 6 years, only 13 people remain (less than 10% of original population)