System of Equations Solver
Find x and y from two simultaneous linear equations. See the complete solution with step-by-step working and formula explanations.
Enter your values above to see the results.
Tips & Notes
- ✓Elimination is fastest when coefficients align. If not, multiply one equation to create matching coefficients.
- ✓Always substitute back to verify: the solution must satisfy BOTH equations simultaneously.
- ✓For 3×3 systems, reduce to 2×2 first: eliminate the same variable from pairs of equations.
- ✓If equations are proportional (e.g., 2x+4y=8 and x+2y=4), system has infinite solutions.
- ✓Determinant = 0 means no unique solution — system is either inconsistent or dependent.
Common Mistakes
- ✗Substituting into the same equation used to solve — must substitute into the OTHER equation.
- ✗Sign errors when subtracting equations. Subtract every term: (2x+y)−(x+y) = x, not 2x.
- ✗Multiplying only one side of an equation — must multiply both sides by the same value.
- ✗Forgetting to back-substitute and find all variables — system needs ALL variable values.
- ✗Checking solution in only one equation. A valid solution must satisfy every equation.
System of Equations Solver Overview
A system of equations is a collection of two or more equations that must all be satisfied simultaneously by the same values of the unknowns. The solution is the set of variable values that makes every equation in the system true at once. Systems appear wherever multiple independent constraints govern a single situation: balancing chemical reactions, analyzing electrical circuits, optimizing business decisions, and fitting curves to data all require solving simultaneous equations.
For a 2×2 linear system, the elimination method adds or subtracts multiples of equations to cancel one variable at a time:
EX: 2x + y = 9 and x + y = 5 → subtract second from first → x = 4 → sub back: 4 + y = 5 → y = 1Substitution works best when one variable can be isolated easily in one equation:
EX: x + y = 10 and x − y = 4 → from first: x = 10−y → sub into second: (10−y)−y = 4 → y = 3, x = 7Cramer's Rule provides an explicit determinant-based formula for 2×2 systems:
For ax + by = e and cx + dy = f: x = (ed − bf)/(ad − bc), y = (af − ce)/(ad − bc)
EX: 3x + 2y = 8 and x − y = 1 → det = 3(−1)−2(1) = −5 → x = (−8−2)/(−5) = 2, y = 1Before solving, identifying the system type determines the solution approach and the expected result. A consistent independent system has a unique solution — the lines intersect at one point, the planes meet at one point, or the equations represent independent constraints. A consistent dependent system has infinitely many solutions — the equations represent the same geometric object. An inconsistent system has no solution — the constraints are contradictory. Gaussian elimination (row reduction to echelon form) is the most reliable general method for systems of any size, because it is completely systematic and handles degenerate cases naturally. When the elimination produces a row of all zeros, the system is dependent; when it produces a contradiction (0 = 1), the system is inconsistent. Substitution is faster for small systems with one equation easily solved for one variable. Matrix methods (Cramer's rule, inverse matrix) work for any consistent independent system but become computationally intensive for large systems where iterative numerical methods are preferred.