Source

Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree

The determinant (or ) is a single number attached to a square matrix. Its main job: is invertible exactly when . It also gives a formula for solving linear systems, Cramer's rule.

Small Cases

Base cases:

  • :
  • :

Minors and Cofactors

For an matrix :

  • the minor is the determinant of the submatrix left after deleting row and column
  • the cofactor is

The sign follows a checkerboard pattern starting with at the top left:

Cofactor Expansion

Pick any row (or any column ), multiply each entry by its cofactor and add:

Every choice gives the same answer. Strategy: expand along the row or column with the most zeros.

Worked Example

Along row 1:

Check along column 3 (entries ):

Shortcut for 3 by 3 Only

Copy the first two columns to the right of the matrix. Add the three products along the down-right diagonals and subtract the three products along the up-right diagonals:

This does not work for or bigger.

Properties

Useful facts:

  • a row (or column) of zeros gives
  • two rows (or columns) that are multiples of each other give
  • for a triangular (or diagonal) matrix, is the product of the diagonal entries, so
  • , which is why column expansion works
  • is invertible , and then

Example: (upper triangular)