Cramer's
Rule
Master the elegant determinant-based method for solving systems of linear equations with precision and confidence.
What is a System of Linear Equations?
A system of linear equations is a collection of two or more equations involving the same set of variables. The goal is to find values that satisfy all equations simultaneously.
You've likely solved these by substitution or elimination. Cramer's Rule offers a third path: using determinants.
The Determinant: Your Key Tool
Every square matrix has a number called its determinant. For a \(2 \times 2\) matrix, the determinant is computed as:
Why Determinants Matter
The determinant tells us something deep about a system of equations: whether it has a unique solution, no solution, or infinitely many solutions.
Cramer's Rule for \(2 \times 2\) Systems
Given the system \(\;a_1 x + b_1 y = c_1\;\) and \(\;a_2 x + b_2 y = c_2\;\), define three determinants:
Coefficient matrix
Replace \(x\)-column with constants
Replace \(y\)-column with constants
Extending to \(3 \times 3\) Systems
For a system of three equations in three unknowns, the same principle applies. Given \(A\mathbf{x} = \mathbf{b}\):
For a \(3 \times 3\) determinant, you can use cofactor expansion (expansion along any row or column) or the Rule of Sarrus.
Cramer's Rule vs. Other Methods
| Cramer's Rule | Elimination / Substitution | |
|---|---|---|
| Approach | Compute determinants | Manipulate equations directly |
| Best for | Small systems (\(2\times2\), \(3\times3\)) | Any size system |
| Requires | \(\det(A) \neq 0\) | No special condition |
| Find one variable? | Yes: just compute that \(D_i\) | Must often solve whole system |
| Large systems | Computationally expensive | More efficient |
How to Apply Cramer's Rule
Example 1: A \(2 \times 2\) System
Visualizing the Solution
The two lines intersect at the point \((1, 2)\), confirming our Cramer's Rule result.
Example 2: Fractional Answers
Example 3: A \(3 \times 3\) System
The coefficient matrix and its determinant:
Since \(D = 25 \neq 0\), the system has a unique solution. We proceed to find \(D_x\), \(D_y\), and \(D_z\).
Example 3: Finding Each Variable
\(= 9(1-3)-2(-8-9)+1(8+3)\)
\(= -18+34+11 = 27\)
\(= 1(-8-9)-9(-2-9)+1(6-24)\)
\(= -17+99-18 = 64\)
\(= 1(-3-8)-2(6-24)+9(2+3)\)
\(= -11+36+45 = 70\)
The Column Replacement Pattern
The heart of Cramer's Rule is the column replacement pattern. Here's a visual summary for a \(2 \times 2\) system:
Common Mistakes
Summary of Cramer's Rule
| Concept | \(2 \times 2\) System | \(3 \times 3\) System |
|---|---|---|
| Variables | \(x, y\) | \(x, y, z\) |
| Determinants needed | 3: \(D\), \(D_x\), \(D_y\) | 4: \(D\), \(D_x\), \(D_y\), \(D_z\) |
| Formula for each variable | \(x_i = D_i / D\) | \(x_i = D_i / D\) |
| Condition | \(D \neq 0\) | \(D \neq 0\) |
| Operations per det | 2 multiplications, 1 subtraction | Cofactor expansion (more involved) |
Question 1 of 5
For the system \(\;x + 2y = 5\;\) and \(\;3x + 4y = 6\;\), what is the value of \(D\) (the determinant of the coefficient matrix)?
Question 2 of 5
Using Cramer's Rule on \(\;x + 2y = 5\;\) and \(\;3x + 4y = 6\;\), what is \(x\)?
Question 3 of 5
If the determinant of the coefficient matrix \(D = 0\), what can we conclude?
Question 4 of 5
To find \(y\) using Cramer's Rule in a \(2 \times 2\) system, which column of the coefficient matrix do you replace with the constants?
Question 5 of 5
For the system \(\;5x - 3y = 1\;\) and \(\; -10x + 6y = 7\;\), what happens when you try to apply Cramer's Rule?