Skip to content

Commit 34ceda7

Browse files
committed
fix small typos
1 parent 53e54e0 commit 34ceda7

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

lectures/eigen_I.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ One way to understand this transformation is that $A$
190190

191191
Let's examine some standard transformations we can perform with matrices.
192192

193-
Below we visualise transformations by thinking of vectors as points
193+
Below we visualize transformations by thinking of vectors as points
194194
instead of arrows.
195195

196196
We consider how a given matrix transforms
@@ -511,7 +511,7 @@ Let $A$ be the $90^{\circ}$ clockwise rotation matrix given by
511511
$\begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}$ and let $B$ be a shear matrix
512512
along the x-axis given by $\begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}$.
513513

514-
We will visualise how a grid of points changes when we apply the
514+
We will visualize how a grid of points changes when we apply the
515515
transformation $AB$ and then compare it with the transformation $BA$.
516516

517517
```{code-cell} ipython3
@@ -685,7 +685,7 @@ In this case, repeatedly multiplying a vector by $A$ makes the vector "spiral ou
685685

686686
We thus observe that the sequence $(A^kv)_{k \geq 0}$ behaves differently depending on the map $A$ itself.
687687

688-
We now discuss the property of A that determines this behaviour.
688+
We now discuss the property of A that determines this behavior.
689689

690690
(la_eigenvalues)=
691691
## Eigenvalues
@@ -846,7 +846,7 @@ This is discussed further later.
846846
```{exercise}
847847
:label: eig1_ex1
848848
849-
Power iteration is a method for finding the largest absolute eigenvalue of a diagnalizable matrix.
849+
Power iteration is a method for finding the largest absolute eigenvalue of a diagonalizable matrix.
850850
851851
The method starts with a random vector $b_0$ and repeatedly applies the matrix $A$ to it
852852
@@ -1087,17 +1087,17 @@ for i, example in enumerate(examples):
10871087
plt.show()
10881088
```
10891089

1090-
The vector fields explains why we observed the trajectories of the vector $v$ multiplied by $A$ iteratively before.
1090+
The vector fields explain why we observed the trajectories of the vector $v$ multiplied by $A$ iteratively before.
10911091

10921092
The pattern demonstrated here is because we have complex eigenvalues and eigenvectors.
10931093

10941094
It is important to acknowledge that there is a complex plane.
10951095

1096-
If we add the complex axis for the plot, the plot will be more complicated.
1096+
If we add the complex axis to the plot, the plot will be more complicated.
10971097

10981098
Here we used the real part of the eigenvalues and eigenvectors.
10991099

1100-
We can try to plot the complex plane for one of the matrix using `Arrow3D` class retrieved from [stackoverflow](https://stackoverflow.com/questions/22867620/putting-arrowheads-on-vectors-in-matplotlibs-3d-plot).
1100+
We can try to plot the complex plane for one of the matrices using `Arrow3D` class retrieved from [stackoverflow](https://stackoverflow.com/questions/22867620/putting-arrowheads-on-vectors-in-matplotlibs-3d-plot).
11011101

11021102
```{code-cell} ipython3
11031103
class Arrow3D(FancyArrowPatch):

lectures/eigen_II.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ Here are some examples to illustrate this further.
7373

7474
Let $A$ be a square nonnegative matrix and let $A^k$ be the $k^{th}$ power of $A$.
7575

76-
A matrix is consisdered **primitive** if there exists a $k \in \mathbb{N}$ such that $A^k$ is everywhere positive.
76+
A matrix is considered **primitive** if there exists a $k \in \mathbb{N}$ such that $A^k$ is everywhere positive.
7777

7878
It means that $A$ is called primitive if there is an integer $k \geq 0$ such that $a^{k}_{ij} > 0$ for *all* $(i,j)$.
7979

8080
We can see that if a matrix is primitive, then it implies the matrix is irreducible.
8181

82-
This is becuase if there exists an $A^k$ such that $a^{k}_{ij} > 0$ for all $(i,j)$, then it guarantees the same property for ${k+1}^th, {k+2}^th ... {k+n}^th$ iterations.
82+
This is because if there exists an $A^k$ such that $a^{k}_{ij} > 0$ for all $(i,j)$, then it guarantees the same property for ${k+1}^th, {k+2}^th ... {k+n}^th$ iterations.
8383

84-
In other words, a primitive matrix is both irreducible and aperiodical as aperiodicity requires the a state to be visited with a guarantee of returning to itself after certain amount of iterations.
84+
In other words, a primitive matrix is both irreducible and aperiodical as aperiodicity requires a state to be visited with a guarantee of returning to itself after a certain amount of iterations.
8585

8686
### Left Eigenvectors
8787

@@ -97,7 +97,7 @@ A vector $\varepsilon$ is called a left eigenvector of $A$ if $\varepsilon$ is a
9797

9898
In other words, if $\varepsilon$ is a left eigenvector of matrix A, then $A^T \varepsilon = \lambda \varepsilon$, where $\lambda$ is the eigenvalue associated with the left eigenvector $v$.
9999

100-
This hints on how to compute left eigenvectors
100+
This hints at how to compute left eigenvectors
101101

102102
```{code-cell} ipython3
103103
# Define a sample matrix
@@ -134,10 +134,10 @@ This is a more common expression and where the name left eigenvectors originates
134134
(perron-frobe)=
135135
### The Perron-Frobenius Theorem
136136

137-
For a nonnegative matrix $A$ the behaviour of $A^k$ as $k \to \infty$ is controlled by the eigenvalue with the largest
137+
For a nonnegative matrix $A$ the behavior of $A^k$ as $k \to \infty$ is controlled by the eigenvalue with the largest
138138
absolute value, often called the **dominant eigenvalue**.
139139

140-
For a matrix $A$, the Perron-Frobenius theorem characterises certain
140+
For a matrix $A$, the Perron-Frobenius theorem characterizes certain
141141
properties of the dominant eigenvalue and its corresponding eigenvector when
142142
$A$ is a nonnegative square matrix.
143143

@@ -214,7 +214,7 @@ Using matrix algebra we can conclude that the solution to this system of equatio
214214
What guarantees the existence of a unique vector $x^{*}$ that satisfies
215215
{eq}`neumann_eqn` ?
216216

217-
The following is a fundamental result in functional analysis that generalises
217+
The following is a fundamental result in functional analysis that generalizes
218218
{eq}`gp_sum` to a multivariate case.
219219

220220
(neumann_series_lemma)=

lectures/markov_chains_I.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ P :=
10851085
\right)
10861086
$$
10871087
1088-
where rows, from top to down, correspondes to growth, stagnation and collapse.
1088+
where rows, from top to down, correspond to growth, stagnation, and collapse.
10891089
10901090
In this exercise,
10911091

lectures/markov_chains_II.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie
3030

3131
This lecture continues the journey in Markov chain.
3232

33-
Specifically, we will introduce irreducibility and ergodicity, and how they connect to stionarity.
33+
Specifically, we will introduce irreducibility and ergodicity, and how they connect to stationarity.
3434

3535
Irreducibility is a concept that describes the ability of a Markov chain to move between any two states in the system.
3636

0 commit comments

Comments
 (0)