Solve a pair of linear equations in two variables exactly, with Cramer’s rule steps. The solver also tells you when there is no solution or infinitely many solutions.
Loading tool…
Every result is calculated by tested code (not AI). Fractions and equations are exact.
How to use
- Enter the coefficients of both equations (a₁x + b₁y = c₁, a₂x + b₂y = c₂).
- Press Solve.
- Read the determinant steps and the exact answer.
Formula
$x = \dfrac{c_1 b_2 - c_2 b_1}{a_1 b_2 - a_2 b_1},\; y = \dfrac{a_1 c_2 - a_2 c_1}{a_1 b_2 - a_2 b_1}$
Level: School (Classes 5–10), PU (I & II PUC / Class 11–12) · Topic: Algebra
Frequently asked questions
When does a pair of linear equations have no solution?
When the lines are parallel: a₁/a₂ = b₁/b₂ ≠ c₁/c₂.
What does Cramer’s rule use?
Ratios of determinants formed from the coefficients.
Related tools
AlgebraQuadratic equation solverDiscriminant, nature of roots, exact surd/complex roots, vertex, sum and product.AlgebraQuadratic graph (parabola) explorerSliders for a, b, c — vertex, axis, roots and discriminant.ArithmeticFraction visualiserSee fractions as pies and bars, compare them and add them.ArithmeticInteger number lineAdd and subtract integers as animated jumps on a number line.GeometryTriangle explorerDrag the corners: angles, sides, area and type update live.GeometryPythagoras theoremSquares on the sides of a right triangle — see a² + b² = c².