DWG NO. 7.5 — Lesson 5 of 5

Determinants and Cramer's Rule

Unit 7: Systems of Equations and Matrices · ~25 min

Objective Compute the determinant of 2×2 and 3×3 matrices and apply Cramer's Rule to solve a system of linear equations.

Gaussian elimination in Lesson 7.4 solves a system by working through it step by step. The determinant takes a completely different approach: it's a single number, computed directly from a matrix's entries, that answers the yes/or/no question "does this system have exactly one solution?" — and, through Cramer's Rule, hands you that solution in one formula.

The determinant of a 2×2 matrix

For a matrix A =

ab
cd

the determinant, written det(A) or |A|, is

Geometrically, |det(A)| is the area of the parallelogram formed by treating the matrix's two columns as vectors starting at the origin — it measures how much the matrix stretches or shrinks area.

(a, c) (b, d) unit square area = |det(A)|

The unit square maps to a parallelogram whose area is |det(A)|

The determinant of a 3×3 matrix

Expand along the first row, using each entry's minor — the 2×2 determinant left after deleting that entry's row and column — with alternating signs:

Cramer's Rule

For a system of two equations in x and y, let D be the determinant of the coefficient matrix, \(D_{x}\) the determinant with the x-column replaced by the constants, and \(D_{y}\) the determinant with the y-column replaced by the constants:

The same pattern extends to three variables: \(D_{z}\) replaces the z-column with the constants, and z = \(\frac{D_{z}}{D.}\)

Worked Example 1 · Cramer's Rule for a 2×2 system
ProblemSolve 3x + 2y = 12 and x − 2y = −4 using Cramer's Rule.
1D =
32
1−2
= 3(−2) − 2(1) = −6 − 2 = −8.
2\(D_{x}\) (replace the x-column with the constants) =
122
−4−2
= 12(−2) − 2(−4) = −24 + 8 = −16.
3\(D_{y}\) (replace the y-column with the constants) =
312
1−4
= 3(−4) − 12(1) = −12 − 12 = −24.
4x = \(\frac{D_{x}}{D}\) = \(\frac{-16}{-8}\) = 2.   y = \(\frac{D_{y}}{D}\) = \(\frac{-24}{-8}\) = 3.
Solution: (2, 3)
Worked Example 2 · A 3×3 determinant
Problem Find the determinant of
123
014
560
1Expand along row 1: 1(1·0 − 4·6) − 2(0·0 − 4·5) + 3(0·6 − 1·5).
2= 1(0 − 24) − 2(0 − 20) + 3(0 − 5) = 1(−24) − 2(−20) + 3(−5).
3= −24 + 40 − 15.
det = 1

Guided practice