Try it with your numbers
Show every step
The solver above shows every step for numbers you choose. For the full lesson, see solving systems by substitution. Below, each section isolates a place where points are usually lost, and the 10-problem set climbs from easy to hard.
How does the substitution method work?
A solution of a system is a point that lies on both lines. At that point, and any expression equal to are the same number, so swapping one for the other cannot change what is true. It turns two unknowns into one, and one unknown is easy. In symbols:
The routine has five moves:
- Isolate a variable in one equation.
- Substitute that expression, in brackets, into the other equation.
- Solve the one-variable equation.
- Back-substitute into the equation you isolated in step 1.
- Check in both original equations.
Take and . The first equation is already isolated, so go straight to step 2:
The check is , so the solution is . Back-substitute into the isolated equation, because it is the cheapest one to evaluate. Equations written in slope-intercept form are already isolated for , which is why substitution feels effortless on them. If both equations read , skip the substituting and set the right sides equal.
Quick check
Answer:
Which variable should you isolate first?
Scan both equations for an or with a coefficient of or . That variable isolates with no division, so no fractions enter the problem. Choosing a variable with coefficient or is the quiet mistake that turns a two-line problem into a page of fraction arithmetic.
For and , the lone is the obvious target:
Before writing anything, circle every or whose coefficient is or . If none exists, the system is a better fit for elimination.
When two candidates tie, pick the variable whose substitution produces the smaller coefficient in the other equation. A negative coefficient is fine, but it adds a sign to track, so a positive beats a when you have the choice.
Substitution with negatives: where do the signs go?
The trap that costs the most points is substituting without brackets. Substituting into means multiplies the whole expression , not just its first term. Writing is the classic slip.
The check is , which works. The quick mental audit: after distributing, every term that was inside the brackets must carry the multiplier, and a negative times a negative becomes positive.
A second sign trap happens before substitution. If you must isolate a variable that has a minus in front of it, such as , every term on the other side flips, giving . Changing only the first sign is the usual error.
How do you use substitution with fractions?
When no coefficient is , fractions are unavoidable, and the cleanest fix is to clear the denominator the moment it appears. Solve and . Isolating in the first equation gives . Substitute:
Multiply both sides by immediately:
Both checks pass: and . The solution is .
This is also a fair warning about the method’s limits. The elimination method finishes the same system in two lines: multiply the equations by and , and the terms become , so adding gives . If an equation arrives with fractions already inside, such as , multiply it by the common denominator before you start.
What if substitution gives a false or always-true statement?
Sometimes both variables vanish. Substituting into gives:
A true statement with no variable left means every works. Both equations describe the same line, so there are infinitely many solutions. Change the right side to and you get . That is false for every , so the lines are parallel and no point lies on both.
The error here is to keep hunting for or to write . Read the leftover statement instead: true means infinitely many solutions, false means none. You can predict this before substituting, because both lines above have slope , so they are either identical or parallel. The details are in no solution vs infinitely many solutions, and solving systems by graphing shows the same two outcomes as a picture.
Quick check
Answer: -2 = 5, no solution
Can you use substitution on nonlinear systems?

Yes, and it is where substitution beats the alternatives. Elimination struggles when one equation has an term, but substitution does not care. Solve and :
So or . Use the simple equation to get and . The solutions are and . Both pass , since and .
If you back-substitute into an equation like , each gives two values, but only one fits the other equation. Use the linear or isolated equation to avoid fake pairs.
A line and a parabola can meet at zero, one or two points, which matches a quadratic having zero, one or two real roots. When the quadratic does not factor, use the formula, as in these quadratic formula practice problems. Each root gets its own partner value, so never stop after the first .
Substitution method word problems and real uses
Word problems are systems in disguise, and substitution fits because one relationship usually reads as a clean total, such as “items add up to ”. A school play sold tickets. Adult tickets cost $12, child tickets cost $7, and the receipts were $1,100. Let be adult tickets and child tickets:
Isolate and substitute:
The check is and . That is adult and child tickets.
Define the variables in words before writing equations, and end with a sentence that answers the question asked. The same structure appears in break-even analysis, mixtures and comparing phone plans. With three unknowns, substitution still works: you reduce the problem to two unknowns, then to one, as shown in solving a system of three equations.
How to check your answer and when to switch methods
Always check in both original equations, not in the rearranged one. The equation you used for back-substitution will agree with your answer no matter what, even if an earlier step was wrong. The second original equation is the real test, and it catches almost every algebra slip.
Choosing a method takes ten seconds if you scan first:
| What you see | Best first move |
|---|---|
| A variable already isolated | Substitution |
| A coefficient of or | Substitution |
| Matching or opposite coefficients | Elimination |
| Messy coefficients, you want a formula | Determinants |
When coefficients are awkward, Cramer’s rule gives and using the determinant of a 2×2 matrix. Checking by substitution also works beyond equations: plug a test point into each inequality to see if it belongs to the solution region of a system of linear inequalities.
Quick check
Answer:
How to do substitution method practice that sticks
Rotate through four types rather than repeating one:
- Systems with a variable already isolated
- Systems that need isolation with a clean coefficient
- Systems with fractions or negatives
- Special cases and word problems
Cover the solution, write every line, and check before looking. A wrong answer that you can trace to one step teaches more than a right answer you got by luck.
Try this: Pick a secret point such as . Write two different linear equations that both pass through it, one with isolated, then solve your own system by substitution. Landing back on proves the method and the sign handling.
Once these feel automatic, solve the same systems with the elimination method practice problems and compare how many lines each approach takes. That comparison builds the instinct for picking the faster path on a test.
Practice problems
0 of 10 solved
- Solve by substitution: , .
Answer:
Replace with : , so and . Then . Check: . - Solve by substitution: , .
Answer:
Replace with : . That gives , so . Then . - Solve by substitution: , .
Answer:
Replace : , so and . Then . - Solve by substitution: , .
Answer:
Replace : . Distribute: , so and . Then . - Solve by substitution: , .
Answer:
Isolate in the first equation: . Then , so and . Then . - Solve by substitution: , .
Answer:
Isolate : . Then , so and . Then . - Solve by substitution: , .
Answer:
Isolate : . Then , which is . So and . Then . - Solve by substitution: , .
Answer: Infinitely many solutions
Replace : . This simplifies to , which is always true. Both equations describe the same line. - A café sells muffins for and coffees for . An order of 9 items costs . How many muffins and coffees are in the order?
Answer: 5 muffins and 4 coffees
Let be muffins and coffees: and . Then , so , which gives and . So . - Solve by substitution: , .
Answer: (4, 16) and (-2, 4)
Set , so and . Then gives , and gives .
Common questions
What are the steps of the substitution method?
Solve one equation for one variable, substitute that expression (in brackets) into the other equation, and solve for the remaining variable. Then back-substitute to find the second variable and check the pair in both original equations.
How do you know which variable to solve for first?
Look for a variable with a coefficient of or . Isolating it needs no division, so no fractions appear. If every coefficient is larger, elimination is usually the cleaner choice.
What does it mean if the variables cancel and I get ?
The two equations describe the same line, so every point on it is a solution: infinitely many. If the leftover statement is false, such as , the lines are parallel and there is no solution.
Can substitution be used when an equation has a squared term?
Yes. Substitute the linear expression into the squared equation, solve the resulting quadratic, and pair each root with its own second value. A line and a parabola can meet at zero, one or two points.
Is substitution or elimination better?
Neither always wins. Substitution is faster when a variable is already isolated or has a coefficient of , and elimination is faster when equations are lined up in standard form with matching or easily matched coefficients.
Why must I check the answer in both original equations?
The equation you used to back-substitute will always agree with your answer, even if an earlier step was wrong. The other original equation is the real test, because it catches algebra slips made during substitution.