MATH CALCULATOR

System of Equations Calculator

Enter the coefficients and right sides of ax + by = c and dx + ey = f to solve a two-variable linear system.

Calculator

YOUR RESULTS
Solution classificationOne solution
x
3
y
2
Coefficient determinant
-2

Page guide

Solution classification and interpretation

A unique solution displays x and y. Dependent or contradictory equations instead show a classification and leave the coordinates undetermined. The coefficient determinant supports that distinction.

The formula

For ax + by = c and dx + ey = f: D = ae − bd, x = (ce − bf)/D, y = (af − cd)/D when D ≠ 0.

Cramer’s rule computes x and y when the coefficient determinant is nonzero. For a zero determinant, the calculator checks zero-coefficient contradictions and whether the augmented equation rows agree.

Verified worked example

The equations x + y = 5 and x − y = 1 have determinant −2. Their unique solution is x = 3 and y = 2, which satisfies both original equations.

How to use this calculator

  1. Rearrange the first equation into ax + by = c and enter its three coefficients.
  2. Rearrange the second equation into dx + ey = f and enter its three coefficients.
  3. Read the solution classification; substitute any unique x and y into both original equations.

System of Equations input conventions

Move all constant terms to the right side before entering each equation. The coefficients must describe the same x and y variables in both rows. A missing variable has coefficient zero, while a lone negative variable has coefficient −1. The displayed determinant decides whether the coefficient matrix can produce a unique solution.

Interpreting solution classification

When the determinant is zero, the equations can be contradictory or describe the same constraint. The page checks zero-coefficient equations and proportional augmented rows before reporting a classification. Close-to-parallel lines may have a very distant intersection and be sensitive to small measurement errors. A numerical answer does not establish that an approximate physical model is well conditioned or that rounded inputs are exact.

Assumptions & limitations

What this calculation assumes

  • Both rows describe real linear equations in the same x and y variables.

What to keep in mind

  • Two real linear equations only; no nonlinear equations, symbolic coefficients, or conditioning estimate.

Common questions

Can I enter 2x − y = 7?

Yes. Enter 2 for its x coefficient, −1 for its y coefficient, and 7 for its right side. Repeat the same arrangement for the second equation.

What if both equations are identical?

They impose only one independent constraint and have infinitely many solutions unless another contradictory condition is present. No single x and y pair can be selected.

How do I enter an equation with no y term?

Enter zero for its y coefficient. For example, 3x = 12 becomes x coefficient 3, y coefficient 0, and right side 12.

Sources & further reading

Reviewed on