Linear Algebra Formula Sheet

Complete reference for matrix determinants, Gaussian elimination, the four fundamental subspaces, Gram-Schmidt QR orthogonalization, eigenvalues, and least-squares projection.

Core Equations & Variable Definitions

Rank-Nullity Theorem

\operatorname{rank}(A) + \operatorname{nullity}(A) = n

A is an m x n matrix; rank equals the number of pivot columns.

Eigenvalue Equation & Diagonalization

A\mathbf{v} = \lambda\mathbf{v}, \quad \det(A - \lambda I) = 0, \quad A = P D P^{-1}

lambda: eigenvalue, v: non-zero eigenvector, D: diagonal matrix of eigenvalues.

Gram-Schmidt Orthogonalization

\mathbf{u}_k = \mathbf{v}_k - \sum_{j=1}^{k-1} \frac{\mathbf{v}_k \cdot \mathbf{u}_j}{\mathbf{u}_j \cdot \mathbf{u}_j}\mathbf{u}_j, \quad \mathbf{q}_k = \frac{\mathbf{u}_k}{\|\mathbf{u}_k\|}

Transforms linearly independent columns into an orthonormal basis Q.

Least-Squares Normal Equations

A^T A \hat{\mathbf{x}} = A^T \mathbf{b}, \quad \mathbf{p} = A\hat{\mathbf{x}}

x-hat minimizes ||Ax - b||^2; p is the orthogonal projection onto Col(A).

Interactive Linear Algebra Calculators

Common Exam Questions

When is a square matrix invertible?

An n x n matrix A is invertible if and only if det(A) != 0, rank(A) = n, all columns are linearly independent, and 0 is not an eigenvalue.

How do I find a basis for the column space and null space?

Row-reduce A to RREF. The pivot columns of the original matrix A form a basis for Col(A), and solving Ax = 0 by setting each free variable to 1 yields a basis for Null(A).

Why are orthogonal matrices useful in engineering?

For an orthogonal matrix Q, Q^T Q = I so Q^-1 = Q^T. Orthogonal transforms preserve lengths and angles and avoid numerical instability.