Try it with your numbers
Show every step
Try your own numbers in the solver above to see every step. When you want more drills, the substitution method practice problems go from easy to tricky, and the sections below explain why each step works and where it goes wrong.
How does the substitution method work?
The whole method rests on one fact: if two quantities are equal, you can swap one for the other anywhere. A system gives two conditions on the same point . If the first condition says , then at the solution and are the same number, so the second equation can use wherever it has a . An equation with two unknowns becomes an equation with one.
In general, if one equation gives and the other is , the swap produces a single-variable equation:
Geometrically, each linear equation is a line and the solution is where the lines cross. Solving systems by graphing can only estimate that crossing point, while substitution finds it exactly. It also works on curves, which graphing handles poorly.
The swap is legal only because the first equation is true at the solution. That is why the expression must go into the other equation. Putting it back into the one it came from only restates what you already know, and nothing new gets solved.
Quick check
Answer:
Solving systems by substitution: a full example
Here is the routine, which never changes:
- Solve one equation for one variable.
- Substitute that expression, in parentheses, into the other equation.
- Solve the new one-variable equation.
- Substitute the answer into the isolated expression to get the other variable.
- Check the ordered pair in both original equations.
Take this system:
The first equation has with coefficient , so solve it for : . Substitute into the second equation:
Distribute, combine, and solve:
Now go back to the expression that was already isolated: . The solution is . Check: and . Both hold.
Try this: Solve the same system again, but isolate in the second equation first (). You should get and again, which shows the answer does not depend on your first choice.
The route does change the amount of work, though. Back-substituting into the expression you isolated is almost always the shortest finish, because it is one multiplication and one subtraction instead of a whole equation.
Which variable should you solve for first?
Scan both equations for a coefficient of or . In , solving for gives , which is clean. In , solving for gives , and every later step carries a fraction. Fractions are not wrong, only slower and easier to botch.
Equations already written in slope-intercept form are free: the shape is step 1 done. A line given in point-slope form, like , is one distribution away from the same thing. If no coefficient is anywhere, consider solving the system by elimination instead, since it avoids the fraction cleanup.
If you isolate from and put it back there, you get , which is . That true statement does not mean infinitely many solutions. It means you used the same equation twice.
A quick tie-breaker when two choices look equal: pick the variable whose isolated expression has the smaller numbers, since you will substitute it twice.
Substitution method with negatives and fractions
The trap that costs the most points is a dropped parentheses. Solve:
Substitute the whole expression for and keep it in brackets:
The multiplies both terms inside, and :
Then , so the solution is . Check: . If the bracket is skipped, you write and get , a clean-looking wrong answer. Any time you substitute into something with a minus sign in front, that sign applies to everything you insert.
For fractions, clear them first. Multiply each equation by its least common denominator before you isolate anything. For , multiplying by gives . Paired with , you get , so and , . A mental check on the original: .
Quick check
Answer:
What if the variables cancel out?

Sometimes both variables vanish during substitution. That is not an error. It tells you something about the lines. Substitute into :
That is false, so no point satisfies both equations. Change the right side to and the same steps end at , which is always true, so every point on the line works. For more on telling these cases apart, see no solution vs infinitely many solutions.
| What you end with | What it means | The lines |
|---|---|---|
| A value, such as | One solution | Cross once |
| A false statement, such as | No solution | Parallel |
| A true statement, such as | Infinitely many solutions | Identical |
Write both equations as . Same with different means no solution. Same and same means infinitely many. Different means exactly one.
The slope test is a useful sanity check: if the slopes differ and you still reach a false statement, an arithmetic slip happened somewhere.
Substitution for nonlinear systems and word problems
Substitution is the standard tool when one equation is not a line, because elimination cannot cancel a squared term cleanly. Solve:
Both equations equal , so set the right sides equal:
So or . Use the line to find : gives , and gives . The solutions are and . Check the curve too: and . A line and a parabola can meet twice, once, or never. If the quadratic does not factor, the quadratic formula finishes the job, and a negative discriminant means no crossing at all.
Word problems fit the same pattern. Suppose adult tickets cost $12, student tickets cost $8, and tickets bring in $520. With and , isolate , then gives , so and . When a constraint involves inequalities instead, the plug-in idea still helps you test points, as in systems of linear inequalities.
Quick check
Answer: (3, 9) and (-1, 1)
How to check the answer and when elimination is faster
Always test the pair in both original equations, not in a rearranged version. Back-substitution only used one equation, so the other is the one that can expose a mistake. If you plugged into the isolated expression to get your second value, the check on the other original equation is the one that matters most.
Choose your method by what the equations look like:
- Use substitution when a variable is already isolated or has a coefficient of .
- Use elimination when both equations are in standard form with awkward coefficients, as practiced in elimination method practice problems.
- Use substitution when one equation is nonlinear.
Carry substitution through symbolically on and and you get formulas for the answer:
That is Cramer’s rule, and the denominator is the determinant of a 2×2 matrix. When it equals zero, the slopes match, which is exactly the no-solution or infinite-solution case from earlier. In the first example, , , , , , gives , matching the work above. For three unknowns, the same swap-and-reduce idea scales up in solving a system of three equations.
Practice problems
0 of 5 solved
- Solve by substitution: and .
Answer:
Replace with : . Then , so . Back-substitute: . - Solve by substitution: and .
Answer:
Replace with : . Distribute: , so . Then . - Solve by substitution: and .
Answer:
Solve the first for : . Substitute: , so and . Then . - Solve by substitution: and .
Answer:
Multiply the first equation by : . From the second, . Substitute: , so and . Then . - Solve by substitution: and .
Answer:
Solve the first for : . Substitute and multiply through by : , so and . Then .
Common questions
What is the substitution method in simple terms?
You rewrite one equation so a variable stands alone, then swap that expression into the other equation. This leaves one equation with one unknown, which you solve and then use to find the second variable.
How do you know which variable to solve for first?
Pick a variable with a coefficient of or , because isolating it creates no fractions. If every coefficient is larger than that, elimination is usually cleaner.
What does it mean if you get or while substituting?
A false statement like means the system has no solution, because the lines are parallel. A true statement like means infinitely many solutions, because both equations describe the same line.
Is substitution or elimination better?
Substitution is faster when a variable is already isolated or has a coefficient of or . Elimination is faster when both equations are in standard form and no variable has an easy coefficient.
Can you use substitution on nonlinear systems?
Yes. It is often the best method for a line and a parabola or circle, since you substitute the line's expression into the curve and solve the resulting quadratic. Expect up to two solutions.
Where do you substitute the first value to find the second variable?
Use any original equation, but the one already solved for a variable is quickest. Then confirm the pair in the other equation as a check.