Cramer's rule for 2×2 systems
For a 2×2 system a₁x + b₁y = c₁ and a₂x + b₂y = c₂, the determinant D = a₁b₂ − a₂b₁. When D ≠ 0, the system has a unique solution: x = (c₁b₂ − c₂b₁)/D and y = (a₁c₂ − a₂c₁)/D.
If D = 0, the system is either inconsistent (no solution — parallel lines) or dependent (infinitely many solutions — the same line).
D = a₁b₂ − a₂b₁
Determinant of the coefficient matrix.
x = (c₁b₂ − c₂b₁) / D
Solution for x using Cramer's rule.