ML Reviews

linear-algebra-notes

Matrix factorization

EquationPurpose
A=LUA=LUElimination
A=QRA=QRGram-Schmidt orthogonalization
S=QΛQTS = Q\Lambda Q^TΛ\Lambda eigenvalues, QQ eigenvectors
A=XΛX1A = X\Lambda X^{-1}
A=UΣVTA = U\Sigma V^TSVD

Four fundamental subspaces

For matrix A,m×nA, m \times n, rank kk

  1. Column space, C(A)C(A)
  2. Row space, C(AT)C(A^T)
  3. Null space, N(A)N(A)
  4. Null space, N(AT)N(A^T)

Dimensionality of column and row space is kk, which is significant as it means even for large rectangular matrices, the space that columns and rows span is constant.

  • The reason why this is significant there are a finite number of solutions to linear equations
  • Null space is all solutions Ax=0Ax = 0
  • Dimension of null space is dim=nk\text{dim} = n - k
    • nn variables, kk constraints