Cramer's Rule
You'll learn how to solve systems of linear equations using determinants, without needing row reduction.
What is Cramer's Rule?
Cramer's Rule is a formula-based method for solving systems of linear equations where the coefficient matrix is square and invertible. Instead of performing row operations, you compute determinants to find each variable directly.
The Core Idea
Imagine you have a system like:
2x + 3y = 8
1x + 4y = 9
Cramer's Rule says: to find each variable, replace the corresponding column in the coefficient matrix with the constants vector, then divide that determinant by the determinant of the original coefficient matrix.
For our example, if A is the coefficient matrix and b is the constants vector:
- x = det(A with first column replaced by b) / det(A)
- y = det(A with second column replaced by b) / det(A)
Concretely:
- det(A) = det([[2,3],[1,4]]) = 2(4) - 3(1) = 5
- For x: det([[8,3],[9,4]]) = 8(4) - 3(9) = 5, so x = 5/5 = 1
- For y: det([[2,8],[1,9]]) = 2(9) - 8(1) = 10, so y = 10/5 = 2
Why It Works
Since the coefficient matrix is invertible (non-zero determinant), the system has a unique solution. Cramer's Rule exploits properties of determinants and matrix inverses to express each variable as a ratio of determinants—essentially "isolating" each unknown algebraically through determinant operations.
Limitations
Cramer's Rule only works when det(A) ≠ 0 (the matrix must be invertible). For larger systems, computing many determinants becomes computationally expensive compared to row reduction.
Key Takeaway: Cramer's Rule solves invertible square systems by expressing each variable as the ratio of two determinants: one with a column replaced, divided by the original coefficient matrix's determinant.