Linear Algebra Cheat Sheet

Vector Operations

  • Vector addition:
  • Scalar multiplication:
  • Dot product:
  • Length of a vector:
  • Angle between vectors:

Matrix Operations

  • Addition:
  • Multiplication:
  • Transpose:
  • Inverse:
  • Determinant: for 2x2:

Systems of Linear Equations

  • Row Echelon Form (REF): Leading entry of each nonzero row after the first occurs to the right of the leading entry of the previous row.
  • Reduced Row Echelon Form (RREF): The leading entry in each nonzero row is 1, and is the only nonzero entry in its column.
  • Gauss-Jordan Elimination: Process to reduce a matrix to RREF.

Linear Independence and Span

  • Linear Independence: A set of vectors is linearly independent if no vector in the set can be written as a linear combination of the others. This is equivalent to the equation having only the trivial solution ().
  • Span: The span of a set of vectors is the set of all possible linear combinations of those vectors. It represents a vector space or subspace that those vectors can generate.

Vector Spaces

  • Subspaces: Must contain the zero vector, be closed under addition and scalar multiplication.
  • Basis: A linearly independent set of vectors that spans the space.
  • Dimension: Number of vectors in a basis for the space.

Symmetric and Triangular Matrices

  • Symmetric Matrix: is symmetric if . Eigenvectors of symmetric matrices corresponding to different eigenvalues are orthogonal.
  • Triangular Matrix: A matrix is upper triangular if all the entries below the main diagonal are zero. Similarly, it’s lower triangular if all entries above the main diagonal are zero. The determinant of a triangular matrix is the product of its diagonal entries.

Cofactor Expansion

  • Cofactor: The cofactor of an element in a matrix is given by , where is the submatrix obtained by removing the -th row and -th column from .
  • Determinant via Cofactor Expansion: for any row , or similarly for any column.

Properties of Inverses and Determinants

  • Inverse Properties: The inverse of a product of matrices is the product of their inverses in reverse order: . The determinant of an inverse matrix is the reciprocal of the determinant of the matrix: .
  • Determinant Properties: The determinant of a product of matrices equals the product of their determinants: .

Determinants and Volume

  • Geometric Interpretation: The determinant of a matrix represents the scaling factor of the linear transformation described by the matrix and the orientation (positive for same orientation as the original space, negative for opposite).
  • Volume Interpretation: The absolute value of the determinant of a matrix describing a transformation gives the volume of the parallelepiped spanned by the column vectors of the matrix.

Eigenvalues and Eigenvectors

  • For matrix , vector , and scalar , if , then is an eigenvalue and is an eigenvector.
  • Characteristic polynomial:
  • Diagonalisation: where is diagonal and columns of are eigenvectors.

Fundamental Theorem of Invertible Matrices and Rank Theorem

  • Fundamental Theorem of Invertible Matrices: A matrix is invertible if and only if it is row equivalent to an identity matrix, its determinant is not zero, it has full rank, and there exists a matrix such that .
  • Rank Theorem: For any matrix , the rank of plus the nullity of equals the number of columns of (). This highlights the relationship between the dimensions of the column space and the null space.

Special Topics

  • Determinant Properties:
    • Swap rows reverses sign.
    • Factor of out of a row multiplies det by .
    • Det of identity is 1.
  • Cramer’s Rule: Solution of is where is with column replaced by .