Solve the system 2x + y = 7 and x - y = 2
- y and −y are opposite, so add the equations
- y is eliminated
- Back-substitute into the second equation
- Check both
Two equations, three, or more. Substitution or elimination, whichever is cleaner.
Saved on this device only. Nothing leaves your browser.
A system asks for the values that make every equation true at once. Two straight lines meet at one point, unless they are parallel (no solution) or the same line (infinitely many). The work is always the same: get rid of one unknown, solve for the other, then go back for the first.
Both always work. Pick by looking at the equations rather than by habit.
If you can see y = something, put that something into the other equation. One line of work and the second unknown is gone.
If one unknown has coefficients that are equal or opposite, add or subtract the equations to cancel it. With +2y and −2y, adding clears y immediately.
Multiply one or both equations by whatever makes a pair of coefficients match. Multiplying an equation by a number keeps it true.
One unknown, one equation, ordinary algebra.
Put the value you found into the simplest original equation to get the other unknown.
Not one of them, both. A slip in the elimination step usually still satisfies the equation you worked with.
Each one is solved the way the solver solves it: the rule first, then the line.
Opposite coefficients are cleared by adding; equal coefficients by subtracting. Getting it backwards doubles the term instead of removing it.
When you scale an equation, every term is scaled, right-hand side included.
A system of two unknowns has a pair for an answer. Stopping at x leaves the question half done.
Reduce it to one equation in one unknown, by substitution or by elimination, then back-substitute for the other. 2x + y = 7 with x − y = 2 gives x = 3, y = 1.
Add or subtract the equations so one variable cancels. Adding 2x + y = 7 and x − y = 2 removes y and leaves 3x = 9, so x = 3. Multiply an equation first if nothing cancels cleanly.
Rearrange one equation for a single variable and put that expression into the other. From x − y = 2 you get x = y + 2, and substituting gives 2(y + 2) + y = 7, so y = 1.
Elimination when the coefficients already line up, substitution when one variable is already alone or has a coefficient of 1. Both give the same answer, so pick whichever needs fewer steps.
Eliminate one variable from two different pairs of equations, which leaves a two-variable system, then solve that and back-substitute twice.
The lines are parallel and never meet, and the algebra collapses to something false. If it collapses to something true, the equations describe the same line and there are infinitely many solutions.
Draw both lines and read off the crossing point. It is quick for a rough answer but unreliable for fractions, so it is best used as a check on algebra.
Yes. The solver works through larger systems by elimination and names the operation at each step, so you can follow which equation was used on which.