Substitution Method
A system of equations is two equations with the same two variables, like and . Solving the system means finding the one pair of values — an point — that makes both equations true at the same time. On a graph, that pair is the point where the two lines cross.
Graphing works, but it's slow and only reliable when the answer lands on nice grid points. The two algebraic methods — substitution and elimination — get an exact answer every time. Each one turns the two-variable system into a single one-variable equation you already know how to solve.
What a solution to a system means
A solution must satisfy both equations, not just one. The pair solves the system and because and are both true. Plenty of points satisfy one equation or the other; only the intersection point satisfies both.
That's also how you check your work: substitute your answer into both original equations. If either one fails, something went wrong along the way.
On a graph, each equation is a line, and the solution is the single point where they cross — the one place that lies on both lines at once. The two lines below meet at exactly one point.
Substitution: replace a variable
Substitution shines when one equation is already solved for a variable — something like or . Take that expression and substitute it in place of the variable in the other equation. Now the other equation has only one variable, and you solve it normally.
Once you have one variable's value, substitute it back into either original equation to find the other. Write the answer as an ordered pair — keep the -value first.
If neither equation is solved for a variable, look for one with a lone or (coefficient ) and solve for it first. From , adding to both sides gives , and now you can substitute.
Elimination: add the equations to cancel a variable
Elimination shines when both equations are lined up in the form $ax + by = c$. If one variable has opposite coefficients in the two equations — like and — add the equations together and that variable cancels, leaving one equation in one variable.
If nothing cancels yet, multiply one equation (or both) by a number chosen to create opposite coefficients. Multiply every term, including the right side — that's the step people rush and get wrong.
After solving for the surviving variable, substitute back into either original equation to find the other, and write the ordered pair.
Worked examples
Example 1: substitution, ready to go
Solve the system and .
Answer:
Example 2: substitution after solving for a variable
Solve the system and .
Answer:
Example 3: elimination, coefficients already opposite
Solve the system and .
Answer:
Example 4: elimination with multiplication
Solve the system and .
Answer:
Try one yourself
Common questions
How do I decide between substitution and elimination?
If either equation is already solved for a variable — or has a lone or with coefficient — substitution is usually fastest. If both equations are in $ax + by = c$ form, elimination is usually cleaner. Both methods always give the same answer, so pick whichever means less rearranging.
What does it mean if both variables cancel out?
You're left with a statement about numbers only. If it's false, like , the lines are parallel and the system has no solution. If it's true, like , the two equations describe the same line and there are infinitely many solutions.
Do I have to write the answer as an ordered pair?
Yes — a solution to a system is a point, so give both values as with the -value first. Writing only is half an answer, and swapping the order changes which point you're naming.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.