Diagonal
Prop For any matrix , pre-multiply by a diagonal matrix scales its the rows, while post-multiply by a diagonal matrix scales its the columns.
Inverse
Def Pseudo-Inverse The Pseudo-Inverse of some matrix is defined as . Specifically, if is invertible, we have
Trace
Def Trace The trace of a square matrix is the sum of diagonal elements:
Prop Trace satisfies the following properties:
- .
- .
- if is square then .
Determinant
Prop Determinant satisfies the following properties:
- form by swapping 2 rows of , then
Norm
Def Euclidean Norm For , we define the Euclidean(L2) norm as
Factorizations
Thrm LU Factorization Every non-singular matrix can be factored as where is a permutation matrix, is unit lower triangular, and upper triangular and non-singular.
Thrm Cholesky Factorization Every symmetric positive definite matrix can be factored as where is lower triangular and non-singular with positive diagonal elements.
Thrm Singular Value Decomposition Any matrix can be decomposed as
Differentiation
Def Jacobian Suppose is a function. Then the gradient of with respect to is the matrix of partial derivatives called Jacobian:
Def Hessian Suppose that is a function. Then the hessian of with respect to is the matrix of second partial derivatives:
Prop Hessian is symmetric.
Thrm Differentiation Laws
- Constant:
- Addition:
- Matrix multiplication:
- Element-wise multiplication:
- Transpose:
- Inverse:
- Trace:
- Derivative:
- Determinant:
- Specially, if is invertible, .
e.g. Suppose . Consider . Then we have
Block Matrix
Thrm Block matrix Determinant
Thrm Block Matrix Inverse