Skip to content

Commit 4b7cf91

Browse files
authored
edit unicode conversion (#280)
* edit latex missing \ * basic edits of unicode typos and missing space * edit unicode and add commas * add + for some functions
1 parent 51842d1 commit 4b7cf91

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

lectures/tools_and_techniques/geom_series.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ in a project with gross one period nominal rate of return accumulates
499499
project
500500
- thus, $1$ dollar invested at time $0$ pays interest
501501
$r$ dollars after one period, so we have $r+1 = R$
502-
dollars at time$1$
502+
dollars at time $1$
503503
- at time $1$ we reinvest $1+r =R$ dollars and receive interest
504504
of $r R$ dollars at time $2$ plus the *principal*
505505
$R$ dollars, so we receive $r R + R = (1+r)R = R^2$
@@ -551,7 +551,7 @@ The **present value** of the lease is
551551

552552
$$
553553
\begin{aligned}
554-
p_0 & = x_0 + x_1/R + x_2/(R^2) + \ddots \\
554+
p_0 & = x_0 + x_1/R + x_2/(R^2) + \cdots \\
555555
& = x_0 (1 + G R^{-1} + G^2 R^{-2} + \cdots ) \\
556556
& = x_0 \frac{1}{1 - G R^{-1}}
557557
\end{aligned}
@@ -704,7 +704,7 @@ plot!(plt, T, y_3, label = L"$T$-period Lease First-order Approx. adj.")
704704

705705
Evidently our approximations perform well for small values of $T$.
706706

707-
However, holding $g$ and r fixed, our approximations deteriorate as $T$ increases.
707+
However, holding $g$ and $r$ fixed, our approximations deteriorate as $T$ increases.
708708

709709
Next we compare the infinite and finite duration lease present values
710710
over different lease lengths $T$.

lectures/tools_and_techniques/iterative_methods_sparsity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ equation through methods such as value-function iteration.
457457
The condition we will examine here is called [**diagonal dominance**](https://en.wikipedia.org/wiki/Diagonally_dominant_matrix).
458458

459459
$$
460-
|A_{ii}| \geq \sum_{j\neq i} |A_{ij}| \quad\text{for all } i = 1\ldots N
460+
|A_{ii}| \geq \sum_{j\neq i} |A_{ij}| \quad\text{for all } i = 1, \ldots N
461461
$$
462462

463463
That is, in every row, the diagonal element is weakly greater in absolute value than the sum of all of the other elements in the row. In cases
@@ -466,7 +466,7 @@ where it is strictly greater, we say that the matrix is strictly diagonally domi
466466
With our example, given that $Q$ is the infinitesimal generator of a Markov chain, we know that each row sums to 0, and hence
467467
it is weakly diagonally dominant.
468468

469-
However, notice that when $\rho > 0$, and since the diagonal of $Q$ is negative, $A = rho I - Q$ makes the matrix strictly diagonally dominant.
469+
However, notice that when $\rho > 0$, and since the diagonal of $Q$ is negative, $A = \rho I - Q$ makes the matrix strictly diagonally dominant.
470470

471471
### Jacobi Iteration
472472

@@ -1187,7 +1187,7 @@ $$
11871187
If $Q$ is a matrix, we could just take its transpose to find the adoint. However, with matrix-free methods, we need to implement the
11881188
adjoint-vector product directly.
11891189

1190-
The logic for the adjoint is that for a given $n = (n_1,\ldots, n_m, \ldots n_M)$, the $Q^T$ product for that row has terms enter when
1190+
The logic for the adjoint is that for a given $n = (n_1,\ldots, n_m, \ldots, n_M)$, the $Q^T$ product for that row has terms enter when
11911191

11921192
1. $1 < n_m \leq N$, entering into the identical $n$ except with one less customer in the $m$ position
11931193
1. $1 \leq n_m < N$, entering into the identical $n$ except with one more customer in the $m$ position

lectures/tools_and_techniques/linear_algebra.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ $m > n$ vectors in $\mathbb R ^n$ must be linearly dependent.
402402
The following statements are equivalent to linear independence of $A := \{a_1, \ldots, a_k\} \subset \mathbb R ^n$.
403403

404404
1. No vector in $A$ can be formed as a linear combination of the other elements.
405-
1. If $\beta_1 a_1 + \cdots \beta_k a_k = 0$ for scalars $\beta_1, \ldots, \beta_k$, then $\beta_1 = \cdots = \beta_k = 0$.
405+
1. If $\beta_1 a_1 + \cdots + \beta_k a_k = 0$ for scalars $\beta_1, \ldots, \beta_k$, then $\beta_1 = \cdots = \beta_k = 0$.
406406

407407
(The zero in the first expression is the origin of $\mathbb R ^n$)
408408

@@ -415,13 +415,13 @@ In other words, if $A := \{a_1, \ldots, a_k\} \subset \mathbb R ^n$ is
415415
linearly independent and
416416

417417
$$
418-
y = \beta_1 a_1 + \cdots \beta_k a_k
418+
y = \beta_1 a_1 + \cdots + \beta_k a_k
419419
$$
420420

421421
then no other coefficient sequence $\gamma_1, \ldots, \gamma_k$ will produce
422422
the same vector $y$.
423423

424-
Indeed, if we also have $y = \gamma_1 a_1 + \cdots \gamma_k a_k$,
424+
Indeed, if we also have $y = \gamma_1 a_1 + \cdots + \gamma_k a_k$,
425425
then
426426

427427
$$

lectures/tools_and_techniques/numerical_linear_algebra.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ Q = Tridiagonal(fill(alpha, N - 1), [-alpha; fill(-2alpha, N - 2); -alpha],
626626

627627
Here we can use `Tridiagonal` to exploit the structure of the problem.
628628

629-
Consider a simple payoff vector $r$ associated with each state, and a discount rate $rho$. Then we can solve for
629+
Consider a simple payoff vector $r$ associated with each state, and a discount rate $\rho$. Then we can solve for
630630
the expected present discounted value in a way similar to the discrete-time case.
631631

632632
$$
@@ -655,23 +655,23 @@ linear problem.
655655
v = A \ r
656656
```
657657

658-
The $Q$ is also used to calculate the evolution of the Markov chain, in direct analogy to the $psi_{t+k} = psi_t P^k$ evolution with the transition matrix $P$ of the discrete case.
658+
The $Q$ is also used to calculate the evolution of the Markov chain, in direct analogy to the $\psi_{t+k} = \psi_t P^k$ evolution with the transition matrix $P$ of the discrete case.
659659

660660
In the continuous case, this becomes the system of linear differential equations
661661

662662
$$
663-
\dot{psi}(t) = Q(t)^T psi(t)
663+
\dot{\psi}(t) = Q(t)^T \psi(t)
664664
$$
665665

666666
given the initial condition $\psi(0)$ and where the $Q(t)$ intensity matrix is allowed to vary with time. In the simplest case of a constant $Q$ matrix, this is a simple constant-coefficient system of linear ODEs with coefficients $Q^T$.
667667

668-
If a stationary equilibrium exists, note that $\dot{psi}(t) = 0$, and the stationary solution $psi^{*}$ needs to satisfy
668+
If a stationary equilibrium exists, note that $\dot{\psi}(t) = 0$, and the stationary solution $\psi^{*}$ needs to satisfy
669669

670670
$$
671-
0 = Q^T psi^{*}
671+
0 = Q^T \psi^{*}
672672
$$
673673

674-
Notice that this is of the form $0 psi^{*} = Q^T psi^{*}$ and hence is equivalent to finding the eigenvector associated with the $\lambda = 0$ eigenvalue of $Q^T$.
674+
Notice that this is of the form $0 \psi^{*} = Q^T \psi^{*}$ and hence is equivalent to finding the eigenvector associated with the $\lambda = 0$ eigenvalue of $Q^T$.
675675

676676
With our example, we can calculate all of the eigenvalues and eigenvectors
677677

0 commit comments

Comments
 (0)