- single number
- write scalar in italics
- E.g. Let s ∈ R be the slope of the line
- Array of numbers
- Identifying points in space, with each element giving the coordinate along a different axis.
- 2-D Array of numbers
- uppercase, bold-face e.g. A
Eigendecomposition is a way of breaking/decomposing matrix into smaller matrices (analogus to prime factorization).
*Eigen Vector is a non-zero vector v, which upon being multiplied by matrix A, alters only the scale of v.
Below figure shows before and after multiplying eigen vector with eigen value :
- Matrix whose all eigen values are -
- positive is called positive definite
- positive or zero-valued is called positive semi-definite
- negative is called negative definite
- negative or zero-valued is called negative semi-definite
SVD factorizes matrix into singular values and singular vectors. In SVD, matrix A can be decomposed as follows -
- A - (m, n) matrix
- U - (m, m) orthogonal matrix, columns of U are called left-singular vectors
- D - (m, n) diagnol matrix, not necessarily square, elements along diagnol D are called singular values of A
- V - (n, n) orthogonal matrix, columns of V are called right-singular vectors
Usually matrix inversion is not possible for non-square matrices. To solve below linear equation, in case A is non-square matrix , we use Moore-Penrose pseudoinverse formula to find solution to x -
Here, U, D, V are SVD of A.
Pseudo-inverse of D is obtained by -
- take reciprocal of non-zero elements
- take transpose of resultant matrix
- Gives sum of diagnol enetries of matrix.
- Frobenius norm can be re-written in terms of Trace operator as follows -