Math Review Week 10
Highlights of what I (re)learned in week #10 of my math studies.
- Began Phase 2 - Linear Algebra
- 3Blue1Brown - Essence of Linear Algebra
3Blue1Brown - Essence of Linear Algebra
Chapter 1 - Vectors
A vector as an arrow in a coordinate system with the tail at the origin.
Chapter 2 - Linear combinations, span and basis vectors
\(\hat i\) and \(\hat j\) are the basis vectors of the x-y coordinate system.
Linear combination of \(\vec v\) and \(\vec w\):
The span of \(\vec v\) and \(\vec w\) is the set of all linear combinations of \(\vec v\) and \(\vec w\).
If a vector can be expressed as a linear combination of a set of vectors, it's linearly dependent on those vectors, or the vector is in the span of the set of vectors.
Definition: The basis of a vector space is a set of linearly independent vectors that span the full space.
Chapter 3 - Linear transformations and matrices
- All lines remain lines
- Origin is fixed
Example: rotate 90ยบ counter clockwise. \(\hat i\) moves from (1, 0) to (0, 1) and \(\hat j\) moves from (0, 1) to (-1, 0)
Chapter 4 - Matrix multiplication as composition
Example: a rotation then a shear
Chapter 5 - Three-dimensional linear transformations
Three basis vectors \(\hat i, \hat j \text{ and } \hat k\)
Chapter 6 - The determinant
How much are areas scaled?
The factor by which any linear transformation changes any area is called the determinant of that transformation.
If a transformation causes \(\hat i\) to be on the left of \(\hat j\), instead of the right, orientation has been reversed, and the determinant will be negative.
In 3D, use the right hand rule.
Chapter 7 - Inverse matrices, column space and null space
If the determinant is non-zero:
In the case where the determinant is zero, there is no inverse i.e. you can't unsquish a line to turn it into a plane.
Solutions can still exist when the determinant is zero.
Rank when the output of a transformation is a line i.e. it's one dimensional, we say it as a rank of 1. Rank is the # of dimensions in the output.
Set of all possible outputs \(A \hat v\) is called the Column Space of A i.e. columns space is the span of columns in the matrix.
Full rank \(\Rightarrow\) rank is as high as at can be
Null space "kernel" the space of all vectors that become null
Chapter 9 - Dot products and duality
Dot product example:
Chapter 10 - Cross products
\(\hat i \times \hat j = 1\) (orientation)
Chapter 13 - Change of basis
In our coordinate system:
but in the other coordinate system:
The vector described in our system as \(\begin{bmatrix}3 \\ 2\end{bmatrix}\) would be seen as \(\begin{bmatrix}5/3 \\ 1/3\end{bmatrix}\) in the other system.
What would \(\begin{bmatrix}-1 \\ 2\end{bmatrix}\) in the other system look like in ours?
In other words, create a matrix of the other system's basis vactors and multiply by the vector:
How would our \(\begin{bmatrix}3 \\ 2\end{bmatrix}\) look in the other system?
Take the inverse of the change of basis i.e. \(\begin{bmatrix}2 & -1 \\ 1 & 1\end{bmatrix}^{-1}\) which works out to be \(\begin{bmatrix}1/3 & 1/3 \\ -1/3 & 2/3\end{bmatrix}\)
The matrix of columns of basis vectors in our coordinates translates vectors in the other system's language into our language.
The inverse matrix does the opposite.
Chapter 14 - Eigenvectors and eigenvalues
Eigenvectors stay on their span after a transformation. Eigenvalues indicate how much the eigenvector is scaled.
Let \(A\) be a transformation matrix, \(\vec v\) be an eigenvector and \(\lambda\) be an eigenvalue:
Scaling by \(\lambda \Rightarrow \begin{bmatrix}\lambda & 0 & 0 \\ 0 & \lambda & 0 \\ 0 & 0 & \lambda\end{bmatrix}\) can be written as: \(\lambda \begin{bmatrix}1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1\end{bmatrix}\)
Chapter 16 - Linearity
Linear transformations perserve addition and scalar multiplication:
- \(\vec u + (\vec v + \vec w) = (\vec u + \vec v) + \vec w\)
- \(\vec v + \vec w = \vec w + \vec v\)
- There is a vector \(\vec 0\) such that \(\vec 0 + \vec v = \vec v\) for all \(\vec v\)
- For every vector \(\vec v\) there is a vector \(-\vec v\) such that \(\vec v + (-\vec v) = \vec 0\)
- \(a(b \vec v) = (ab) \vec v\)
- \(1\vec v = \vec v\)
- \(a(\vec v + \vec w) = a\vec v + a\vec w\)
- \((a + b)\vec v = a\vec v + b\vec v\)