Exam 3
Exam 3
Fast Determinant
If A is an upper triangle, lower triangle or diagonal matrix then
To do this you also need to make sure:
- Switching any two rows of a matrix reverses the sign of the determinant
- If the matrix has two identical rows or columns, then det(A)
- If B is a matrix obtained by multiplying a row or column of A by a scalar k, then
- If B is a matrix obtained from A by adding a multiple of row I to row j or a multiple of column I to column j for then .
Properties
If A is not invertible, then
A is invertible if and only if
Eigenvalues
You can find characteristic equation with
The eigenvectors are vectors in
The algebraic multiplicity is how many times the eigenvalue shows up in the diagonal of a reduced matrix.
The geometric multiplicity can never exceed the algebraic multiplicity.
Find geometric multiplicity by looking for the dimension of the null space of . This is the dimension of the eigenspace of
Dominant Eigenvalue
Eigenvalue with the highest magnitude, is dominant over .
Matrix Powers
To calculate for any we need a basis for consisting of eigenvectors of A.
This works because
So
You can also decompose linear combinations and use the process above to sum:
Diagonalization
Also
If there exists an interpretable matrix P and a diagonal matrix D such that , we say that A is diagonalizable.
To diagonalize:
- Find eigenvalues of matrix
- Find eigenspace (basis) from each eigenvalue
- This may need to occur multiple times
- The geometric multiplicity must be equal to the algebraic multiplicity for both eigenvalues
- Create a matrix from these eigenvalues as P
- Put the eigenvalues corresponding with each eigenvector into the diagonal of another matrix
- Multiply by
If a n x n matrix has n distinct eigenvalues, then A is diagonalizable
If the same matrix does not have n eigenvalues the matrix could be diagonalizable
Matrixes are similar (~) if there exists an invertible n x n matrix P such that .
- A~A
- If A
B, then BA - If A
B and BC then A~C
Two similar matrices have the properties:
- det(A) = det(B)
- A is invertible if and only if B is invertible
- rank(A) = rank(B)
- A and B have same characteristic polynomial
- A and B have same eigenvalues
- ~ For all positive integers m
- If A is invertible, then ~ for all integers m
Perp & Orthogonality
in
Normal Equations
You can find the projection of b by multiplying the normal solution back to the original matrix.