Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

This cheat sheet covers the essential matrix tools used in college linear algebra, including matrix arithmetic, inverses, determinants, rank, nullity, and common factorizations. Students need these ideas to solve systems of linear equations, analyze linear transformations, and work with data, geometry, and differential equations. A formula-forward reference helps connect computational procedures with the structure behind them.

Key Facts

  • Matrix addition and scalar multiplication are entrywise: if A=[aij]A = [a_{ij}] and B=[bij]B = [b_{ij}], then A+B=[aij+bij]A+B = [a_{ij}+b_{ij}] and cA=[caij]cA = [ca_{ij}].
  • Matrix multiplication is defined by (AB)ij=k=1naikbkj(AB)_{ij} = \sum_{k=1}^{n} a_{ik}b_{kj} when AA is m×nm \times n and BB is n×pn \times p.
  • The inverse of a nonsingular square matrix satisfies AA1=A1A=IAA^{-1} = A^{-1}A = I, and for 2×22 \times 2 matrices, [abcd]1=1adbc[dbca]\begin{bmatrix}a&b\\c&d\end{bmatrix}^{-1}=\frac{1}{ad-bc}\begin{bmatrix}d&-b\\-c&a\end{bmatrix} when adbc0ad-bc \ne 0.
  • For a 2×22 \times 2 matrix, det[abcd]=adbc\det\begin{bmatrix}a&b\\c&d\end{bmatrix}=ad-bc.
  • A square matrix AA is invertible exactly when det(A)0\det(A) \ne 0, rank(A)=n\operatorname{rank}(A)=n, and the equation Ax=0Ax=0 has only the trivial solution.
  • The rank-nullity theorem states that for an m×nm \times n matrix AA, rank(A)+nullity(A)=n\operatorname{rank}(A)+\operatorname{nullity}(A)=n.
  • Eigenvalues satisfy the characteristic equation det(AλI)=0\det(A-\lambda I)=0, and eigenvectors satisfy Av=λvAv=\lambda v with v0v \ne 0.
  • Common factorizations include A=LUA=LU for elimination, A=QRA=QR for orthogonal decomposition, and A=UΣVTA=U\Sigma V^{T} for singular value decomposition.

Vocabulary

Matrix
A rectangular array of numbers or symbols arranged in rows and columns, often used to represent a linear transformation or system of equations.
Determinant
A scalar value det(A)\det(A) assigned to a square matrix that measures signed volume scaling and indicates whether the matrix is invertible.
Rank
The rank of a matrix is the dimension of its column space, equal to the number of pivot columns in its row echelon form.
Nullity
The nullity of a matrix is the dimension of the solution space of Ax=0Ax=0, equal to the number of free variables.
Eigenvalue
An eigenvalue λ\lambda is a scalar for which there exists a nonzero vector vv satisfying Av=λvAv=\lambda v.
Factorization
A matrix factorization rewrites a matrix as a product of simpler matrices, such as A=LUA=LU, A=QRA=QR, or A=UΣVTA=U\Sigma V^{T}.

Common Mistakes to Avoid

  • Multiplying matrices entry by entry, which is wrong because matrix multiplication uses row-column dot products: (AB)ij=k=1naikbkj(AB)_{ij}=\sum_{k=1}^{n}a_{ik}b_{kj}.
  • Assuming AB=BAAB=BA, which is wrong because matrix multiplication is generally not commutative and the products may differ or one product may be undefined.
  • Using the inverse formula when det(A)=0\det(A)=0, which is wrong because a square matrix is invertible only if det(A)0\det(A)\ne 0.
  • Confusing rank with the number of rows, which is wrong because rank counts independent columns or pivots and can be less than both the row count and column count.
  • Treating every matrix as diagonalizable, which is wrong because diagonalization requires enough linearly independent eigenvectors to form a basis.

Practice Questions

  1. 1 Compute ABAB for A=[1234]A=\begin{bmatrix}1&2\\3&4\end{bmatrix} and B=[2015]B=\begin{bmatrix}2&0\\1&5\end{bmatrix}.
  2. 2 Find det(A)\det(A) and decide whether AA is invertible for A=[4726]A=\begin{bmatrix}4&7\\2&6\end{bmatrix}.
  3. 3 If an m×5m \times 5 matrix has rank(A)=3\operatorname{rank}(A)=3, find nullity(A)\operatorname{nullity}(A) using rank(A)+nullity(A)=n\operatorname{rank}(A)+\operatorname{nullity}(A)=n.
  4. 4 Explain why a matrix with two identical rows must have determinant 00 and cannot be invertible.