Cramer's Rule
You'll learn how to solve a system of linear equations by using determinants through Cramer's Rule—but only when there's exactly one solution.
What Is Cramer's Rule?
Cramer's Rule is a technique for solving systems of linear equations that have a unique solution by calculating ratios of determinants. Instead of row-reducing or using inverse matrices, you find each variable directly using a formula involving determinants of specially constructed matrices.
How It Works
Suppose you have a system of equations written in matrix form Ax = b, where A is a square coefficient matrix, x is the variable vector, and b is the constants vector.
Cramer's Rule states that each variable can be found using:
x_i = det(A_i) / det(A)
where A_i is the matrix A with its i-th column replaced by the vector b.
Example: 2×2 System
For the system:
- 2x + 3y = 8
- x − y = −1
The coefficient matrix A has det(A) = 2(−1) − 3(1) = −5.
For x: Replace the first column of A with [8, −1]:
- det = 8(−1) − 3(−1) = −5
- So x = −5 / −5 = 1
For y: Replace the second column with [8, −1]:
- det = 2(−1) − 8(1) = −10
- So y = −10 / −5 = 2
Critical requirement: Cramer's Rule only works when det(A) ≠ 0, meaning the system has exactly one unique solution.
Key Takeaway: Cramer's Rule solves systems by computing the ratio of determinants—det(A_i)/det(A)—for each variable, but only applies when the coefficient matrix is invertible (det ≠ 0).