Linear Algebra

Determinants

1. Determinants, Minors, and Cofactors

Every square matrix has a special numerical value associated with it called a Determinant, denoted by det(A)\det(A) or A|A|. The determinant tells us immediately if a matrix is invertible.

For a 2×22 \times 2 Matrix

If A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, then det(A)=A=adbc\det(A) = |A| = ad - bc.

The Rule: A matrix is invertible if and only if det(A)0\det(A) \neq 0.

Minors and Cofactors (For 3×33 \times 3 and larger)

To find the determinant of larger matrices, we must first break them down into smaller pieces called Minors and Cofactors.

The Minor (MijM_{ij}): Let AA be an n×nn \times n matrix. The minor of the entry aija_{ij} is the determinant of the sub-matrix that remains after you physically cross out the ii-th row and jj-th column.

The Cofactor (CijC_{ij}): The cofactor is simply the Minor, but with a specific positive or negative sign attached to it based on its position in the matrix.

Cij=(1)i+jMijC_{ij} = (-1)^{i+j} M_{ij}

Pro-Tip: You don't actually need to calculate (1)i+j(-1)^{i+j} every time. The signs always follow a "checkerboard" pattern starting with a positive in the top left:

[+++++]\begin{bmatrix} + & - & + \\ - & + & - \\ + & - & + \end{bmatrix}

2. Determinants by Cofactor Expansion

To calculate the full determinant of a 3×33 \times 3 (or larger) matrix, we use a process called Cofactor Expansion.

The Theorem

You can pick ANY single row or ANY single column in the matrix. Multiply each entry in that row/column by its corresponding Cofactor, and add the products together. The sum will always be the determinant!

det(A)=a11C11+a12C12++a1nC1n\det(A) = a_{11}C_{11} + a_{12}C_{12} + \dots + a_{1n}C_{1n}

(Expansion along row 1)

The "Save Time" Trick

Since you multiply the entries by their cofactors, always look for a row or column that has the most zeros! If an entry is 00, you don't even have to calculate its cofactor, because 0×Cofactor=00 \times \text{Cofactor} = 0.

Corollary: If a matrix has an entire row of zeros, or an entire column of zeros, its determinant is automatically 00 (and therefore, it is not invertible).

3. The Arrow Technique (Shortcut for 2×22 \times 2 and 3×33 \times 3)

There is a visual shortcut for evaluating determinants, but it only works for 2×22 \times 2 and 3×33 \times 3 matrices! Do not attempt this on a 4×44 \times 4.

  1. Copy the first two columns of the matrix and paste them to the immediate right of the matrix.
  2. Draw three diagonal arrows pointing down and to the right. Multiply the numbers along each arrow, and add these products together.
  3. Draw three diagonal arrows pointing up and to the right. Multiply the numbers along each arrow, and subtract these products from your total.

4. Evaluating Determinants by Row Reduction

Sometimes cofactor expansion is too tedious. You can actually use elementary row operations to find the determinant, but you have to keep track of how the operations change the determinant value!

The Theorems

Let AA be a square matrix:

Multiply a Row: If you multiply a single row (or column) of AA by a constant kk to get a new matrix BB, then det(B)=kdet(A)\det(B) = k \cdot \det(A).

Swap Rows: If you interchange two rows (or columns) to get BB, then the sign flips: det(B)=det(A)\det(B) = -\det(A).

Add Rows (The Best One!): If you add a constant times one row to another row to get BB, the determinant does not change at all: det(B)=det(A)\det(B) = \det(A).

The Scalar Theorem (Extremely Important)

If you multiply an entire n×nn \times n matrix AA by a scalar kk, you are essentially multiplying every single row by kk. Because of rule #1 above, the scalar kk gets pulled out nn times!

det(kA)=kndet(A)\det(kA) = k^n \cdot \det(A)

5. Triangular Matrices and Determinant Properties

Triangular Matrices

A matrix is considered triangular if all entries below the main diagonal are zero (upper triangular) or all entries above the main diagonal are zero (lower triangular).

Theorem: If AA is a triangular matrix, then det(A)\det(A) is simply the product of the entries on its main diagonal!

det(A)=a11a22a33ann\det(A) = a_{11} \cdot a_{22} \cdot a_{33} \cdots a_{nn}

Other Crucial Determinant Properties

Let AA and BB be square matrices of the same size:

Transpose: The determinant of a transpose is the same as the original matrix:

det(AT)=det(A)\det(A^T) = \det(A)

Product Rule: The determinant of a product is the product of the determinants:

det(AB)=det(A)det(B)\det(AB) = \det(A)\det(B)

Inverse Rule: If AA is invertible (det(A)0\det(A) \neq 0), then:

det(A1)=1det(A)\det(A^{-1}) = \frac{1}{\det(A)}

Addition Warning: In general, det(A+B)det(A)+det(B)\det(A+B) \neq \det(A) + \det(B). Be careful not to distribute determinants over addition or subtraction!

Back to Linear Algebra