System of Equations Solver

Solve a 2x2 system by reading it as two lines, using the determinant to identify one intersection, no solution, or infinitely many solutions.

Two equations describe two lines

A 2x2 linear system asks where two lines meet. The determinant decides whether there is one crossing point before Cramer's rule divides anything.

Solve a 2x2 system

  1. Normalize inputs to a1x + b1y = c1 and a2x + b2y = c2.
  2. Compute the determinant D.
  3. Branch by determinant case.
  4. Apply Cramer's rule only when D is nonzero.

Loading tool...

Determinant, cases, and Cramer's rule

A nonzero determinant means one unique intersection point.

Standard forma1x+b1y=c1;a2x+b2y=c2
DeterminantD=a1b2-a2b1
Unique solutionD0
Cramer's rule for xx=c1b2-c2b1D
Cramer's rule for yy=a1c2-a2c1D
Zero determinant branchD=0:proportional rows -> infinitely many solutions; otherwise -> no solution

Interpretation notes

  • Unique solution: the lines cross once.
  • No solution: the lines are parallel and separate.
  • Infinitely many solutions: both equations describe the same line.
  • Cramer's rule cannot divide by D when D is zero.

FAQ

What does the determinant tell me in a 2x2 system?

It tells whether the two lines have one crossing point. If D is nonzero, there is exactly one solution. If D is zero, the lines are parallel or identical.

Why can Cramer's rule not divide by zero?

Cramer's rule divides by the determinant. When D = 0, the system has no single intersection point, so the solver must check whether the lines are separate parallel lines or the same line.