Fiveable

🍬Honors Algebra II Unit 4 Review

QR code for Honors Algebra II practice questions

4.2 Determinants and Cramer's Rule

4.2 Determinants and Cramer's Rule

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🍬Honors Algebra II
Unit & Topic Study Guides
Pep mascot

Determinants of Square Matrices

Determinants and Cramer's Rule connect matrices to systems of equations and geometric transformations. A determinant boils a square matrix down to a single number, and that number reveals whether the matrix is invertible, how it scales area or volume, and whether it flips orientation. Cramer's Rule then puts determinants to work by using them to solve systems of linear equations directly.

Pep mascot
more resources to help you study

Calculating Determinants

The determinant is a scalar value computed from the elements of a square matrix. You'll see it written as det(A)det(A) or A|A|.

For a 2×2 matrix, the formula is straightforward: multiply the main diagonal and subtract the product of the off-diagonal.

A=[abcd],det(A)=adbcA = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, \quad det(A) = ad - bc

For example, if A=[3527]A = \begin{bmatrix} 3 & 5 \\ 2 & 7 \end{bmatrix}, then det(A)=(3)(7)(5)(2)=2110=11det(A) = (3)(7) - (5)(2) = 21 - 10 = 11.

For a 3×3 matrix, you use cofactor expansion (also called expansion along a row or column). Here's how it works along the first row:

  1. Pick the first row element, multiply it by the determinant of the 2×2 matrix you get by deleting that element's row and column.
  2. Move to the next element in the row and do the same, but flip the sign.
  3. Continue alternating signs across the row: +,,++, -, +.

abcdefghi=a(eifh)b(difg)+c(dheg)\begin{vmatrix} a & b & c \\ d & e & f \\ g & h & i \end{vmatrix} = a(ei - fh) - b(di - fg) + c(dh - eg)

Two quick base cases:

  • The determinant of a 1×1 matrix is just the value of its single element.
  • The determinant of a triangular matrix (upper or lower) is the product of its diagonal entries. For example, [251034006]\begin{bmatrix} 2 & 5 & 1 \\ 0 & 3 & 4 \\ 0 & 0 & 6 \end{bmatrix} has determinant 236=362 \cdot 3 \cdot 6 = 36.

Special Cases That Give a Zero Determinant

A few matrix patterns guarantee det(A)=0det(A) = 0:

  • Any row or column is all zeros.
  • Two rows (or two columns) are identical.
  • One row is a scalar multiple of another row (the rows are linearly dependent).

Recognizing these patterns can save you a lot of computation.

Properties of Determinants

These properties are useful both for simplifying determinant calculations and for understanding how matrix operations affect the determinant.

Transpose and Determinant

The determinant doesn't change when you transpose a matrix:

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

For example, A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} has det(A)=46=2det(A) = 4 - 6 = -2. Its transpose AT=[1324]A^T = \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} also has det(AT)=46=2det(A^T) = 4 - 6 = -2. This means every property that applies to rows also applies to columns.

Calculating Determinants, Laplace Expansion: An algorithm for calculating the determinant of a square matrix.

Row and Column Operations

  • Swapping two rows (or columns) flips the sign of the determinant.
  • Multiplying a single row (or column) by a scalar kk multiplies the determinant by kk.
  • Adding a multiple of one row to another row does not change the determinant.

Be careful with the scaling rule: multiplying one row by kk multiplies the determinant by kk. If you multiply the entire n×nn \times n matrix by kk, the determinant gets multiplied by knk^n.

Matrix Products and Invertibility

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

This is a clean, powerful result. For example, if det(A)=2det(A) = -2 and det(B)=2det(B) = -2, then det(AB)=(2)(2)=4det(AB) = (-2)(-2) = 4.

The determinant also tells you whether a matrix is invertible (non-singular):

  • det(A)0det(A) \neq 0: the matrix is invertible.
  • det(A)=0det(A) = 0: the matrix is singular and has no inverse.

This connects directly to systems of equations: a coefficient matrix with a nonzero determinant means the system has exactly one solution.

Cramer's Rule for Systems

Solving Linear Systems

Cramer's Rule gives you a formula for each variable in a system of nn equations with nn unknowns, using only determinants. The idea: replace one column of the coefficient matrix at a time with the constants from the right-hand side, then divide that new determinant by the original.

For a 2×2 system:

{ax+by=ecx+dy=f\begin{cases} ax + by = e \\ cx + dy = f \end{cases}

Let D=det[abcd]D = det\begin{bmatrix} a & b \\ c & d \end{bmatrix} (the coefficient matrix determinant). Then:

x=det[ebfd]D,y=det[aecf]Dx = \frac{det\begin{bmatrix} e & b \\ f & d \end{bmatrix}}{D}, \quad y = \frac{det\begin{bmatrix} a & e \\ c & f \end{bmatrix}}{D}

Worked example: Solve {2x+3y=8x4y=5\begin{cases} 2x + 3y = 8 \\ x - 4y = -5 \end{cases}

  1. Compute the coefficient determinant: D=(2)(4)(3)(1)=83=11D = (2)(-4) - (3)(1) = -8 - 3 = -11

  2. For xx, replace the first column with the constants: Dx=det[8354]=(8)(4)(3)(5)=32+15=17D_x = det\begin{bmatrix} 8 & 3 \\ -5 & -4 \end{bmatrix} = (8)(-4) - (3)(-5) = -32 + 15 = -17

  3. For yy, replace the second column with the constants: Dy=det[2815]=(2)(5)(8)(1)=108=18D_y = det\begin{bmatrix} 2 & 8 \\ 1 & -5 \end{bmatrix} = (2)(-5) - (8)(1) = -10 - 8 = -18

  4. Divide: x=1711=1711,y=1811=1811x = \frac{-17}{-11} = \frac{17}{11}, \quad y = \frac{-18}{-11} = \frac{18}{11}

The general rule for variable xix_i: replace the ii-th column of the coefficient matrix with the column of constants, compute that determinant, and divide by DD.

Calculating Determinants, Determinante – GET A

Applicability and Efficiency

Cramer's Rule only works when the system has a unique solution, meaning D0D \neq 0. If D=0D = 0, the system is either inconsistent (no solution) or dependent (infinitely many solutions), and Cramer's Rule can't distinguish between the two.

For 2×2 and 3×3 systems, Cramer's Rule is practical and often faster than other methods. For larger systems, it becomes computationally expensive: a 3×3 system requires four 3×3 determinants, and the workload grows rapidly from there. Methods like Gaussian elimination are more efficient for bigger systems.

Geometric Interpretation of Determinants

Area and Volume

The absolute value of a determinant has a direct geometric meaning:

  • For a 2×2 matrix, det(A)|det(A)| equals the area of the parallelogram formed by the column vectors.
  • For a 3×3 matrix, det(A)|det(A)| equals the volume of the parallelepiped (a 3D parallelogram) formed by the column vectors.

For example, the matrix A=[3002]A = \begin{bmatrix} 3 & 0 \\ 0 & 2 \end{bmatrix} has det(A)=6|det(A)| = 6. The column vectors (3,0)(3, 0) and (0,2)(0, 2) form a rectangle with area 6, which checks out.

A determinant of zero means the vectors are linearly dependent, so they don't span a full parallelogram (in 2D) or parallelepiped (in 3D). The "shape" collapses to a lower dimension.

Orientation and Invertibility

The sign of the determinant tells you about orientation:

  • Positive determinant: the transformation preserves orientation (no "flipping").
  • Negative determinant: the transformation reverses orientation (like a reflection).

If det(A)=0det(A) = 0, the matrix is not invertible, and the transformation it represents squashes space down to a lower dimension. For instance, A=[1224]A = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix} has det(A)=0det(A) = 0. The second column is just twice the first, so this matrix maps the entire 2D plane onto a single line. All the area gets crushed to zero, which is exactly what the zero determinant tells you.