Cramer's Rule
Solves square linear systems with determinants.
Variables
- Aᵢ
- A with column i replaced by the constants
Explanation
Works only when . Practical for 2×2 and 3×3 systems; elimination is faster for larger ones.
Example
: , , .
How to use it
For a system with :
- Compute .
- For each variable, replace its column of with and take the determinant. Call it , , and so on.
- Then , , and so on.
Worked example
- .
- .
- .
- and .
Check: ✓ and ✓
When to use it
Cramer's rule is neat for 2×2 and 3×3 systems, especially when you need only one of the variables. For larger systems, elimination is much faster.
When it doesn't work
If , the system has either no solution or infinitely many. Cramer's rule can't tell you which. Use elimination to find out.
Common mistakes
- Replacing a row instead of a column.
- Putting in the wrong column for the variable.
- Dividing by instead of by .
Where it's used
- Small systems: quick, formula-based solutions for 2×2 and 3×3 systems in algebra and physics.
- Circuit analysis: solving for currents in small electrical networks.
- Economics: comparative statics, finding how one variable responds to a change in another.
- Theory: proving properties of solutions, since it gives each variable as an explicit formula.
Key takeaways
- Each variable equals a determinant with one column replaced, divided by the main determinant.
- It only works when the main determinant isn't zero.
- For large systems, elimination is faster.
Try it: System of Equations Calculator
Solve systems of 2 or 3 linear (or nonlinear) equations with Gaussian elimination, substitution and Cramer's rule.
Practice problems
Try each one first, then open the answer to check your work.
1.Solve , .
Show answer
, , .
2.Solve , .
Show answer
, , .
3.Solve , .
Show answer
, , .
4.What happens with , ?
Show answer
, so Cramer's rule fails. The equations describe the same line, so there are infinitely many solutions.
5.Find just for , .
Show answer
, , so .
Key terms
- Coefficient matrix
- The matrix of the numbers in front of the variables.
- Constant column
- The numbers on the right of the equations.
- Linear system
- A set of linear equations solved together.
- Unique solution
- Exactly one answer, which occurs when .
- Elimination
- Solving by adding or subtracting equations to remove variables.