Cramer’s Rule definition
Cramer’s rule solves a square linear system with nonzero coefficient determinant by using ratios of determinants.
Cramer’s Rule in a picture
How it works
Let A be the coefficient matrix and b the constants vector. To solve for variable xᵢ, replace column i of A with b to form Aᵢ. Then xᵢ = det(Aᵢ)/det(A). This requires a nonzero denominator. If det(A) = 0, use another method to check for no solutions or infinitely many.
Worked examples
For x + y = 5 and x − y = 1, find the numerator determinant for y.
Replace column 2 to get [[1, 5], [1, 1]], whose determinant is −4.
Find y in that system.
(−4)/(−2) = 2.
Can you apply the ratio formula if det(A) = 0?
No. Use elimination or another method.
Common mistake
Replace a column, not a row. Its position is determined by the variable’s order in the system.
Quick check
Does the standard rule require a square matrix?
Show answer
Yes.
What must be nonzero?
Show answer
det(A).
Which column do you replace to find the second variable?
Show answer
Column 2.
Sources
Flashcard
Cramer’s Rule
Reveal the definition
Cramer’s rule solves a square linear system with nonzero coefficient determinant by using ratios of determinants.
Effortless Math. “Cramer’s Rule.” Math Dictionary.



