System of Equations Calculator

Reviewed by CalcMulti Editorial Team·Last updated: ·Algebra Hub

A system of two linear equations has the form: a₁x + b₁y = c₁ and a₂x + b₂y = c₂. The solution is the (x, y) point where both lines intersect. Enter your coefficients to solve by elimination with complete working.

Systems of equations model real problems where two conditions must be satisfied simultaneously — pricing strategies, mixture problems, break-even calculations, and supply-demand equilibrium.

There are three main methods for solving a 2×2 system. Elimination (addition method) multiplies one or both equations by constants to make one variable's coefficient equal and opposite, then adds the equations to cancel that variable. Substitution solves one equation for x or y, substitutes that expression into the other equation, and reduces the problem to a single-variable equation. Graphing finds the solution as the intersection point of two straight lines — practical for visualization but imprecise for non-integer solutions.

The determinant D = a₁b₂ − a₂b₁ of the coefficient matrix determines which case applies. When D ≠ 0, the system has exactly one solution, computed by Cramer's Rule: x = (c₁b₂ − c₂b₁) / D and y = (a₁c₂ − a₂c₁) / D. When D = 0, the lines are either parallel (no solution, inconsistent system) or identical (infinitely many solutions, dependent system).

Worked example: Solve 2x + 3y = 12 and 5x − y = 7. Using elimination, multiply equation 2 by 3 to get 15x − 3y = 21. Add to equation 1: 17x = 33, so x = 33/17 ≈ 1.94. Substitute back: 2(33/17) + 3y = 12 → y = (12 − 66/17) / 3 = (138/17) / 3 = 46/17 ≈ 2.71. Verification: 5(33/17) − (46/17) = 165/17 − 46/17 = 119/17 = 7 ✓

Formula

a₁x + b₁y = c₁ | a₂x + b₂y = c₂

x, y
unknown variables to solve for
a₁, b₁, c₁
coefficients of equation 1
a₂, b₂, c₂
coefficients of equation 2

Solve 2×2 System of Equations

Equation 1:x +y =
Equation 2:x +y =

System Types at a Glance

TypeDeterminant DSolutionsGeometryExample
Consistent & independentD ≠ 0Exactly 1Lines intersect at 1 pointx+y=5, x−y=1 → (3,2)
InconsistentD = 0NoneLines are parallelx+y=3, x+y=7
DependentD = 0InfiniteLines are identicalx+y=3, 2x+2y=6

Disclaimer

This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.

Frequently Asked Questions