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 ✓
a₁x + b₁y = c₁ | a₂x + b₂y = c₂
| Type | Determinant D | Solutions | Geometry | Example |
|---|---|---|---|---|
| Consistent & independent | D ≠ 0 | Exactly 1 | Lines intersect at 1 point | x+y=5, x−y=1 → (3,2) |
| Inconsistent | D = 0 | None | Lines are parallel | x+y=3, x+y=7 |
| Dependent | D = 0 | Infinite | Lines are identical | x+y=3, 2x+2y=6 |
Solve single-variable equations
Factoring CalculatorFactor quadratic equations
Quadratic Formula CalculatorSolve non-linear systems after substitution
Polynomial CalculatorAdd, subtract, multiply polynomials
Substitution vs EliminationWhen to use each solving method
Systems of Equations GuideSubstitution, elimination & Cramer's rule
Word Problem SolverSet up two-equation systems from word problems
Algebra HubAll algebra calculators and guides
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.