Linear System 2x2
Enter both equations. Results update live.
a1x + b1y = c1
a2x + b2y = c2
Result
-
Enter numbers to see the result.
x
-
y
-
Determinant
-
Formula: D = a1b2 - a2b1. x = (c1b2 - c2b1) / D, y = (a1c2 - a2c1) / D.
Solve a 2x2 linear system (two equations, two unknowns) with Cramer's rule, step by step.
Enter both equations. Results update live.
a1x + b1y = c1
a2x + b2y = c2
Enter numbers to see the result.
Cramer's rule replaces one column of the coefficient matrix with the constants and divides determinants. The main determinant D = a1b2 - a2b1 decides everything: if it is non-zero there is exactly one solution, and the tool computes x and y from it directly.
A zero determinant means the two lines are parallel (no solution at all) or the same line (infinitely many solutions). The tool reports this instead of dividing by zero, so you always know what the system is telling you.