Precalculus · Grades 11, 12
Determinants and Cramer's Rule
Quick answer
The determinant of a square matrix is a single number computed from its entries: ad − bc for a 2 × 2 matrix, and an expansion into three 2 × 2 determinants for a 3 × 3. Cramer's rule uses determinants to solve a system with as many equations as unknowns: each variable equals the determinant of the coefficient matrix with that variable's column replaced by the constants, divided by the determinant of the coefficient matrix. A zero determinant means there is no unique solution.
What you'll learn
- Compute 2 × 2 and 3 × 3 determinants
- Solve a 2 × 2 system with Cramer's rule
- Solve a 3 × 3 system with Cramer's rule
- Interpret a zero determinant
Determinants
The determinant of a square matrix is one number built from its entries. For a matrix:
For a matrix, expand along the first row, alternating signs:
Cramer’s rule
For a system with as many equations as unknowns and coefficient matrix , let be with the -column replaced by the constants, and similarly , . If :
Why the determinant is the denominator
Solve , by elimination: multiply the first equation by , the second by , and subtract. The terms cancel, leaving . So
The denominator is and the numerator is the determinant with the -column replaced by . Cramer’s rule is elimination done once, in general, and written with determinants. It also explains the zero case: when , elimination wipes out as well, and the system has either no solution or infinitely many. Geometrically, the two lines are parallel or the same line. The linear algebra lesson on determinants gives the full picture: exactly when has no inverse.
Worked examples
Common mistakes
Practice problems
-
Find .
Answer
Full solution
.
-
Solve , with Cramer’s rule.
Answer
,
Full solution
, , .
-
Solve , .
Answer
,
Full solution
, , .
-
Solve , .
Answer
,
Full solution
, , .
-
Find .
Answer
Full solution
.
-
For which does , have no unique solution?
Answer
Full solution
. At the lines are parallel and distinct, so there is no solution at all.
-
In Example 2, use Cramer’s rule to find only .
Answer
Full solution
, and . Cramer’s rule finds one variable without the others.
-
A student computes as . What went wrong?
Answer
The product must be subtracted: .
Full solution
.
Frequently asked questions
What is Cramer's rule?
For a system Ax = b with det A ≠ 0, each unknown xᵢ = det Aᵢ / det A, where Aᵢ is A with its i-th column replaced by b.
How do you compute a 2 × 2 determinant?
For the matrix with rows (a, b) and (c, d), the determinant is ad − bc.
How do you compute a 3 × 3 determinant?
Expand along the first row: each entry times the 2 × 2 determinant left after deleting its row and column, with signs +, −, +.
What does a zero determinant mean?
The system has no unique solution: either no solution or infinitely many. Cramer's rule does not apply.
When is Cramer's rule practical?
For 2 × 2 and 3 × 3 systems, especially when only one variable is needed. For larger systems, row reduction is much faster.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSA.REI.C.9Reasoning with Equations and Inequalities(+) Find the inverse of a matrix if it exists and use it to solve systems of linear equations (using technology for matrices of dimension 3 × 3 or greater).