Solving Systems of Equations by Substitution

Solving a system of equations by substitution is exactly what it sounds like: you solve one equation for a variable, then substitute that expression into the other equation. What was a two-variable problem collapses into a single-variable one, and from there it is ordinary algebra. This guide walks through the method with two fully worked examples, plus the special cases every student needs to recognize.

The Substitution Method in 4 Steps

  1. Isolate one variable in one of the equations (pick the easiest one).
  2. Substitute that expression into the other equation, replacing the variable everywhere it appears.
  3. Solve the resulting single-variable equation.
  4. Back-substitute to find the second variable, and check both values in the original equations.

Always substitute into the other equation — the one you did not just rearrange. Substituting back into the same equation gives you an identity like 8 = 8 and no new information.

Example 1: One Variable Already Isolated

Solve the system:

y = 2x − 3

4x + 3y = 31

Step 1: Identify the isolated variable

The first equation already has y isolated: y = 2x − 3.

Step 2: Substitute into the second equation

Replace y with (2x − 3):

4x + 3(2x − 3) = 31

Step 3: Solve for x

Distribute the 3:

4x + 6x − 9 = 31

10x − 9 = 31

10x = 40

x = 4

Step 4: Back-substitute to find y

Plug x = 4 into y = 2x − 3:

y = 2(4) − 3 = 8 − 3 = 5

Solution: (4, 5).

Check: 4(4) + 3(5) = 16 + 15 = 31 ✓

Example 2: Rearranging First

Neither variable is isolated here:

x − 2y = 8

3x + 5y = 2

Step 1: Choose the easiest variable to isolate

In the first equation, x has an invisible coefficient of 1 — the cheapest target:

x = 2y + 8

Step 2: Substitute into the second equation

3(2y + 8) + 5y = 2

Step 3: Solve for y

Distribute:

6y + 24 + 5y = 2

11y + 24 = 2

11y = −22

y = −2

Step 4: Solve for x

Back-substitute into x = 2y + 8:

x = 2(−2) + 8 = −4 + 8 = 4

Solution: (4, −2).

Check: 4 − 2(−2) = 4 + 4 = 8 ✓; 3(4) + 5(−2) = 12 − 10 = 2 ✓

Special Cases: No Solution vs. Infinitely Many Solutions

Not every system lands on a single point. Watch what happens with this system:

2x + y = 5

4x + 2y = 7

Isolate y from the first: y = 5 − 2x. Substitute into the second:

4x + 2(5 − 2x) = 7 → 4x + 10 − 4x = 7 → 10 = 7

That is a false statement, and it means the lines are parallel: no solution.

  • No solution (parallel lines): the variables cancel and leave a false statement like 0 = 7.
  • Infinitely many solutions (coincident lines): the variables cancel and leave an identity like 5 = 5 or 0 = 0 — both equations describe the same line.

When the variables vanish after substitution, look at what is left: a contradiction means parallel lines (no solution); a true identity means the same line twice (infinite solutions).

3 Common Mistakes to Avoid

  • Substituting into the same equation: you must plug the isolated expression into the other equation, or you learn nothing.
  • Sign errors during distribution: distribute negative numbers across every term inside the parentheses — this is the number-one source of wrong coordinates.
  • Stopping after one variable: the solution to a system is an ordered pair (x, y). Finding x alone is only half the job.

Quick Practice (with answers)

  1. y = x + 1 and 2x + y = 7
  2. x + y = 10 and 3x − y = 2

Answers: 1) 2x + (x + 1) = 7 → 3x = 6 → x = 2, y = 3 → (2, 3); 2) x = 10 − y → 3(10 − y) − y = 2 → 30 − 4y = 2 → y = 7, x = 3 → (3, 7).

Substitution shines whenever one variable is already isolated or easy to isolate. For systems where both equations look messy, elimination is often faster — but the logic of “solve, substitute, verify” stays the same.

Scroll to Top