ALG1-5.2

Solving Systems by Substitution

Learn to solve systems of two linear equations by substitution: isolate a variable, substitute, solve, and back-substitute — plus how to spot no-solution and infinite-solution systems.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on Solving Systems by Substitution, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

Graphing a system shows you where two lines cross, but it only gives an exact answer when the crossing point lands neatly on grid lines. What if the solution is (34,72)\left(\frac{3}{4}, -\frac{7}{2}\right)? Substitution solves that problem. It is an algebraic method that turns a two-variable system into a single one-variable equation you already know how to solve.

The whole idea rests on one sentence: at the solution point, xx and yy stand for the same two numbers in both equations. So if one equation tells you that yy equals some expression in xx, you are allowed to write that expression wherever yy appears in the other equation. This lesson walks through isolating a variable, substituting cleanly, back-substituting to recover the second coordinate, and reading what happens when the variables all disappear.

Why Substitution Works

A solution to a system of two linear equations is an ordered pair (x,y)(x, y) that makes both equations true at the same time. Graphically it is the intersection point of the two lines.

Substitution uses that "at the same time" condition. Suppose one equation says y=3x4y = 3x - 4. At the solution, the number yy and the number 3x43x - 4 are equal — they are two names for the same value. So in the other equation, replacing yy with 3x43x - 4 does not change which pairs make it true. What it does change is the number of variables: the second equation now contains only xx, and a one-variable linear equation is something you can solve directly.

Once you have the xx-value, you plug it back into the isolated equation to get yy. That step is called back-substitution, and skipping it is the single most common incomplete answer in this unit. A system's solution is a point, not a number, so an answer of "x=2x = 2" is only half finished.

One more thing worth noticing: substitution never requires the equations to be in slope-intercept form, and it never requires graphing. It works with fractions, decimals, and large coefficients exactly as well as it works with small whole numbers, which is why it stays useful long after this unit.

The Four Steps

Here is the procedure, with the reason behind each step.
StepWhat you doWhy
1Isolate one variable in one equationCreates an expression you are allowed to swap in
2Substitute that expression into the other equationReduces the system to one variable
3Solve the resulting one-variable equationGives one coordinate of the solution
4Back-substitute into the isolated equationGives the other coordinate
Step 2 has a trap built into it. You must substitute into the equation you did not use in step 1. If you isolate yy in the first equation and then substitute back into that same first equation, everything cancels and you get a true statement like 0=00 = 0, which tells you nothing. That statement is true because you did no work, not because the system has infinitely many solutions.

Use parentheses every single time you substitute. If x=2y1x = 2y - 1 and the other equation is 4x+3y=184x + 3y = 18, write 4(2y1)+3y=184(2y - 1) + 3y = 18. Students who write 42y1+3y=184 \cdot 2y - 1 + 3y = 18 forget to distribute the 44 across the 1-1 and end up with a wrong value.

Finally, check your answer in the equation you did not use for back-substitution. That catches arithmetic slips almost instantly and takes about ten seconds.

Choosing the Smartest Variable to Isolate

Substitution is always correct, but some choices produce fractions and some do not. Scan both equations for a variable whose coefficient is 11 or 1-1. Isolating that variable costs you nothing but a subtraction.

In the system 3x+5y=13x + 5y = 1 and x4y=9x - 4y = 9, the xx in the second equation has coefficient 11, so x=4y+9x = 4y + 9 is clean. Isolating yy in the first equation instead would give y=13x5y = \frac{1 - 3x}{5} — still correct, just messier.
System featureBest move
A variable already alone, like y=2x7y = 2x - 7Substitute immediately, no step 1 needed
A coefficient of 11 or 1-1 somewhereIsolate that variable
Every coefficient is 22 or largerSubstitution usually brings fractions; elimination may be quicker
Watch the signs when the coefficient is 1-1. From 6xy=106x - y = 10, solving for yy gives y=106x-y = 10 - 6x, and then y=6x10y = 6x - 10. Students who forget to flip both signs on the right side write y=106xy = 10 - 6x and every later step is wrong. A fast safety check: substitute a convenient value like x=2x = 2 into the original and into your isolated form and confirm they agree.

If fractions do appear, do not panic and do not round. Keep the fraction exact through the whole problem; the final coordinates are often much nicer than the intermediate steps suggest.

When the Variables All Disappear

Sometimes after substituting, every xx and yy cancels out and you are left with a statement about numbers only. That is not a mistake — it is information about the two lines.

If the leftover statement is false, like 5=85 = 8 or 0=30 = -3, the system has no solution. The lines are parallel: same slope, different yy-intercepts, so they never intersect. Write "no solution" as your answer.

If the leftover statement is true, like 7=77 = 7 or 0=00 = 0, the system has infinitely many solutions. The two equations describe the same line — one is just a multiple of the other. Example: 2x+y=72x + y = 7 and 6x+3y=216x + 3y = 21; multiplying the first by 33 gives the second exactly. Every point on that line satisfies both equations.
Result after substitutingMeaningLines
x=4x = 4 (a number)Exactly one solutionIntersect once
5=85 = 8 (false)No solutionParallel, distinct
0=00 = 0 (true)Infinitely many solutionsSame line
The wrong answers here are predictable. Some students see 0=00 = 0 and write "x=0x = 0, y=0y = 0", which is a specific point, not an infinite set. Others see 5=85 = 8 and write "00" as the solution. Neither is right: one describes a whole line, the other describes an empty set. Make sure you substituted into the other equation before concluding either one.

Setting Up Real Systems for Substitution

Substitution shines when a relationship in the problem is already stated as "one thing in terms of another." Suppose a rectangle's length is 55 centimeters more than its width and the perimeter is 4646 centimeters. The sentence "length is 55 more than width" is already an isolated equation: =w+5\ell = w + 5. Pair it with 2+2w=462\ell + 2w = 46 and substitute directly: 2(w+5)+2w=462(w + 5) + 2w = 46, so 4w+10=464w + 10 = 46, giving w=9w = 9 and =14\ell = 14.

That pattern shows up constantly. Phrases like "twice as many," "three fewer than," "the rest of the" and "total" translate into an equation with a variable already alone, which means step 1 is done before you start.

A caution about labeling: define your variables in words before writing equations. Writing "let w=w = width in centimeters" prevents the classic error of solving perfectly and then reporting the wrong quantity. When the question asks for the length, the answer is 1414 centimeters, not 99.

Also remember that the algebra does not know about context. If substitution gives a negative number of tickets or a width of 3-3, the arithmetic may still be correct while the setup is wrong — go back and re-read how you translated the sentences. This idea gets developed much further when the unit turns to full word problems, but the translation habit starts here.

Key terms

System of linear equations.
Two or more linear equations considered together, where a solution must satisfy all of them simultaneously.
Solution of a system.
An ordered pair (x,y)(x, y) that makes every equation in the system true; graphically, a point where the lines intersect.
Substitution method.
An algebraic technique that replaces a variable in one equation with an equivalent expression from the other, reducing the system to one variable.
Isolate a variable.
Use inverse operations to rewrite an equation so one variable stands alone on a side, as in rewriting x2y=1x - 2y = -1 into x=2y1x = 2y - 1.
Back-substitution.
Plugging the value you found for one variable into the isolated equation to find the second coordinate.
Inconsistent system.
A system with no solution; substituting produces a false numeric statement such as 5=85 = 8, and the lines are parallel.
Dependent system.
A system whose equations describe the same line; substituting produces a true statement such as 0=00 = 0, and there are infinitely many solutions.
Coefficient.
The number multiplying a variable; coefficients of 11 or 1-1 make a variable easiest to isolate.

Worked example

Solve the system by substitution: x2y=1x - 2y = -1 and 4x+3y=184x + 3y = 18.
Step 1 — Choose and isolate. In x2y=1x - 2y = -1, the variable xx has coefficient 11, so isolating it avoids fractions. Add 2y2y to both sides:x=2y1x = 2y - 1Step 2 — Substitute into the other equation. Replace xx in 4x+3y=184x + 3y = 18 with (2y1)(2y - 1), keeping the parentheses:4(2y1)+3y=184(2y - 1) + 3y = 18Step 3 — Solve for yy. Distribute the 44 across both terms:8y4+3y=188y - 4 + 3y = 1811y4=1811y - 4 = 1811y=2211y = 22y=2y = 2Step 4 — Back-substitute. Use the isolated equation from step 1, since it is already solved for xx:x=2(2)1=3x = 2(2) - 1 = 3So the solution is the point (3,2)(3, 2).

Check in the equation not used for back-substitution. Test (3,2)(3, 2) in 4x+3y=184x + 3y = 18: 4(3)+3(2)=12+6=184(3) + 3(2) = 12 + 6 = 18. True. And in the original first equation: 32(2)=34=13 - 2(2) = 3 - 4 = -1. True.

Both equations hold, so (3,2)(3, 2) is confirmed. Notice the answer is written as an ordered pair — stopping at y=2y = 2 would leave the problem unfinished.

Practice questions

Solve by substitution: y=2x5y = 2x - 5 and 3x+2y=43x + 2y = 4.
  1. (2,1)(2, -1)
  2. (2,9)(2, 9)
  3. (1,2)(-1, 2)
  4. (3,1)(3, 1)

Answer: (2,1)(2, -1)

The first equation is already solved for yy, so substitute directly: 3x+2(2x5)=43x + 2(2x - 5) = 4. Distribute to get 3x+4x10=43x + 4x - 10 = 4, so 7x=147x = 14 and x=2x = 2. Back-substitute: y=2(2)5=1y = 2(2) - 5 = -1. The solution is (2,1)(2, -1). The pair (1,2)(-1, 2) is the same numbers in reversed order, which is a frequent slip — always list the xx-coordinate first. Checking (2,1)(2, -1) in 3x+2y=43x + 2y = 4 gives 62=46 - 2 = 4, confirming it.
A student solves the system 2x+y=72x + y = 7 and 6x+3y=216x + 3y = 21 by substitution and ends up with the equation 21=2121 = 21. Explain what this means about the system and describe its solution set.

Answer: The system is dependent: the two equations represent the same line, so there are infinitely many solutions — every point on the line 2x+y=72x + y = 7.

Isolating gives y=72xy = 7 - 2x. Substituting into the second equation: 6x+3(72x)=216x + 3(7 - 2x) = 21, which becomes 6x+216x=216x + 21 - 6x = 21, or 21=2121 = 21. All variable terms cancel and a true statement remains, which signals that the second equation is just the first multiplied by 33. Since both equations describe the identical line, any point on that line satisfies both — for instance (0,7)(0, 7), (1,5)(1, 5), and (3,1)(3, 1). The answer is not "x=0x = 0" or "no solution"; it is the whole line.
In the system 5x+2y=125x + 2y = 12 and 3xy=13x - y = 1, which variable should you isolate first, and why? Then solve the system.

Answer: Isolate yy in the second equation, giving y=3x1y = 3x - 1; the solution is (1411,3111)(\frac{14}{11}, \frac{31}{11}).

The coefficient of yy in 3xy=13x - y = 1 is 1-1, the only coefficient with absolute value 11, so isolating it avoids fractions in the setup. From 3xy=13x - y = 1, subtract 3x3x to get y=13x-y = 1 - 3x, then multiply both sides by 1-1: y=3x1y = 3x - 1. Substitute into the first equation: 5x+2(3x1)=125x + 2(3x - 1) = 12, so 5x+6x2=125x + 6x - 2 = 12, giving 11x=1411x = 14 and x=1411x = \frac{14}{11}. Back-substitute: y=3(1411)1=42111111=3111y = 3\left(\frac{14}{11}\right) - 1 = \frac{42}{11} - \frac{11}{11} = \frac{31}{11}. Fractional answers are perfectly normal — keep them exact rather than rounding.

FAQ

How do I know whether to use substitution or elimination?
Look at the coefficients. If a variable is already alone or has a coefficient of 11 or 1-1, substitution is usually fastest. If every coefficient is 22 or larger and the variable terms line up nicely, elimination tends to be cleaner. Both methods always give the same correct answer, so if you start one and it gets ugly, you can switch.
Does it matter which equation I isolate a variable in?
No — the final answer is identical either way. It only affects how much arithmetic you do. Pick the equation and variable that avoid fractions. What does matter is substituting into the other equation; substituting back into the one you just rearranged always produces a meaningless identity like 0=00 = 0.
Why did all my variables cancel out?
That means the lines are parallel or identical. If what remains is false, like 4=94 = 9, the lines are parallel and the system has no solution. If what remains is true, like 6=66 = 6, the equations are the same line and there are infinitely many solutions. Before concluding either, double-check that you substituted into the second equation and distributed correctly.
Do I have to write my answer as an ordered pair?
Yes, for a system with one solution. The solution is a point where two lines meet, so it needs both coordinates in the order (x,y)(x, y). Writing only x=5x = 5 leaves the problem half done, and reversing the coordinates names a completely different point.

Learn this with a teacher, not a page

The Crimsora tutor teaches Solving Systems by Substitution live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.