Skip to content

Commit 65d5b2c

Browse files
committed
update eigenvalue lecture
1 parent 70b199e commit 65d5b2c

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

lectures/eigen.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ kernelspec:
1111
name: python3
1212
---
1313

14+
(eigen)=
1415
# Eigenvalues and Eigenvectors
1516

1617
```{index} single: Eigenvalues and Eigenvectors

lectures/eigen_II.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ We denote this as $A \geq 0$.
4444

4545
### Irreducible Matrices
4646

47+
We have (informally) introduced irreducible matrices in the Markov chain lecture (TODO: link to Markov chain lecture).
48+
49+
Here we will introduce this concept formally.
50+
4751
Let $A$ be a square nonnegative matrix and let $A^k$ be the $k^{th}$ power of A.
4852

4953
Let $a^{k}_{ij}$ be element $(i,j)$ of $A^k$.
@@ -61,6 +65,8 @@ Here are some examples to illustrate this further.
6165
3. $A = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}$ is reducible since $A^k = A$ for all $k \geq 0$ and thus
6266
$a^{k}_{12},a^{k}_{21} = 0$ for all $k \geq 0$.
6367

68+
4. We have seen examples of irreducible matrices where each state has a positive probability to be reached.
69+
6470

6571
### The Perron-Frobenius Theorem
6672

@@ -90,6 +96,13 @@ Moreover if $A$ is also irreducible then,
9096
(This is a relatively simple version of the theorem --- for more details see
9197
[here](https://en.wikipedia.org/wiki/Perron%E2%80%93Frobenius_theorem)).
9298

99+
In fact, we have already seen Perron-Frobenius theorem in action before in the exercise (TODO: link to Markov chain exercise)
100+
101+
In the exercise, we stated that the convegence rate is determined by the spectral gap, the difference between the largest and the second largest eigenvalue.
102+
103+
This can be proved using Perron-Frobenius theorem.
104+
105+
93106
We will see applications of the theorem below.
94107

95108

@@ -179,7 +192,7 @@ Thus, we can apply the Neumann Series lemma to find $(I-A)^{-1}$.
179192

180193
```{code-cell} ipython3
181194
I = np.identity(2) #2 x 2 identity matrix
182-
B = I-A
195+
B = I - A
183196
```
184197

185198
```{code-cell} ipython3

0 commit comments

Comments
 (0)