Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix definition of primitive matrix and clarify Hamilton matrix reference
  • Loading branch information
Nanakjoth committed Apr 21, 2025
commit c41a6daf064d74aa3712620059b495a9ea47e9e4
6 changes: 4 additions & 2 deletions lectures/eigen_II.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ A = \begin{bmatrix} 0.5 & 0.1 \\
\end{bmatrix}
$$

$A$ here is also a primitive matrix since $A^k$ is everywhere nonnegative for $k \in \mathbb{N}$.
A here is also a primitive matrix since $A^k$ is everywhere positive for some $k \in \mathbb{N}$.


$$
B = \begin{bmatrix} 0 & 1 \\
Expand Down Expand Up @@ -392,7 +393,8 @@ We are now prepared to bridge the languages spoken in the two lectures.

A primitive matrix is both irreducible and aperiodic.

So Perron-Frobenius theorem explains why both {ref}`Imam and Temple matrix <mc_eg3>` and [Hamilton matrix](https://en.wikipedia.org/wiki/Hamiltonian_matrix) converge to a stationary distribution, which is the Perron projection of the two matrices
So the Perron-Frobenius theorem explains why both the Imam and Temple matrix and Hamilton’s transition matrix (`mc_eg2`) converge to a stationary distribution — the Perron projection of the two matrices.


```{code-cell} ipython3
P = np.array([[0.68, 0.12, 0.20],
Expand Down