Two linear equations in two unknowns describe two straight lines, and solving the system means finding where they cross. Cramer's rule does that with determinants: the denominator is always D = a₁·b₂ − a₂·b₁, formed from the four coefficients on the left-hand sides. Each unknown is then a ratio of two determinants — the numerator is D with that variable's column replaced by the right-hand sides c₁ and c₂.
So x = (c₁·b₂ − c₂·b₁) ÷ D and y = (a₁·c₂ − a₂·c₁) ÷ D. The rule works for every system whose determinant is not zero, no matter how awkward the numbers, and it needs no elimination steps. When D is zero the two lines have the same direction.
Either they are parallel and never meet, so there is no solution at all, or they are the same line and every point on it is a solution — infinitely many. Cramer's rule cannot separate the two cases and cannot divide by zero, so this page shows no result rather than a number. Coefficients may be negative, decimal or zero; a zero simply means that variable is absent from that equation.