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.
If you are left with something false like 0 = 5, the lines are parallel and there is no solution. If you are left with something always true like 0 = 0, the two equations describe the same line and there are infinitely many solutions.
Whichever gives less work. Substitution when one equation already has an unknown by itself; elimination when coefficients are equal or opposite. The answer is identical either way.
Yes. It eliminates down to two unknowns, then to one, and back-substitutes up the chain, as in example four.
It can. Ask for Gaussian elimination, Cramer’s rule or the matrix inverse by name and it will use that method instead.