Algebra I · Systems of Equations

How to Solve Systems of Equations by Substitution

The substitution method, explained step by step with a fully worked example, a second harder example, and the mistakes that cost students points on every test.

What Is the Substitution Method?

A system of equations is two equations with the same two variables. The solution is the one point \((x, y)\) that makes both equations true at the same time.

Substitution solves a system by replacing one variable with an equivalent expression from the other equation. The idea is to turn a two-variable problem into a one-variable problem — something much easier to solve.

The 4-Step Process

Step 1

Isolate one variable in one of the equations. Look for a variable that already has a coefficient of 1 or −1 — it will be the easiest to isolate. Solve for that variable.

Step 2

Substitute that expression into the other equation. Replace the isolated variable in the second equation with the expression you just found. Now you have one equation with one variable.

Step 3

Solve the single-variable equation. Use inverse operations to find the value of the remaining variable.

Step 4

Back-substitute to find the other variable. Plug the value you just found back into the expression from Step 1 to find the second variable. Then check your solution in both original equations.

Worked Example — Basic

Example 1

Solve: \(\begin{cases} y = 3x - 1 \\ 2x + y = 9 \end{cases}\)

Step 1 — One variable is already isolated.
The first equation gives us \(y = 3x - 1\). We don't need to do any extra work here.
Step 2 — Substitute into the second equation.
Replace \(y\) in \(2x + y = 9\) with \(3x - 1\):

\(2x + (3x - 1) = 9\)
Step 3 — Solve for \(x\).
\(5x - 1 = 9\)
\(5x = 10\)
\(x = 2\)
Step 4 — Back-substitute to find \(y\).
\(y = 3(2) - 1 = 6 - 1 = 5\)

Solution: \((2, 5)\)

Check in both equations:
\(5 = 3(2) - 1 = 5\) ✓
\(2(2) + 5 = 4 + 5 = 9\) ✓

Worked Example — Harder

This one requires isolating the variable yourself first, and has messier numbers.

Example 2

Solve: \(\begin{cases} 3x - y = 7 \\ 2x + 4y = 8 \end{cases}\)

Step 1 — Isolate \(y\) in the first equation.
\(3x - y = 7\)
\(-y = 7 - 3x\)
\(y = 3x - 7\)
Step 2 — Substitute into the second equation.
\(2x + 4(3x - 7) = 8\)
Step 3 — Solve for \(x\).
\(2x + 12x - 28 = 8\)
\(14x = 36\)
\(x = \dfrac{36}{14} = \dfrac{18}{7}\)
Step 4 — Back-substitute to find \(y\).
\(y = 3\left(\dfrac{18}{7}\right) - 7 = \dfrac{54}{7} - \dfrac{49}{7} = \dfrac{5}{7}\)

Solution: \(\left(\dfrac{18}{7},\ \dfrac{5}{7}\right)\)

Fractions in the answer are completely normal — don't assume you made a mistake just because the numbers aren't whole numbers.

Substitution vs. Elimination: When to Use Which

Both methods solve the same type of problem. Choosing the right one for a given system saves time.

Use Substitution when...

  • One variable is already isolated (\(y = ...\) or \(x = ...\))
  • One variable has a coefficient of 1 or −1 (easy to isolate)
  • The system involves non-linear equations

Use Elimination when...

  • Both equations are in standard form (\(Ax + By = C\))
  • The coefficients can be easily matched up
  • Substitution would produce messy fractions

Special Cases

No Solution

If the substitution leads to a false statement with no variables (like \(3 = 7\)), the system has no solution. The lines are parallel and never intersect.

Infinite Solutions

If substitution leads to a true statement with no variables (like \(5 = 5\)), the system has infinitely many solutions. The equations describe the same line.

Common Mistakes to Avoid

Forgetting to distribute. In Step 2, when you substitute an expression like \((3x - 7)\) into a term like \(4(3x - 7)\), you must distribute the 4 to both terms inside the parentheses. Skipping this is the single most common error.

Substituting back into the wrong equation. In Step 4, substitute back into the isolated expression from Step 1, not the original equation you just solved. The isolated form is simpler and less error-prone.

Only finding one variable. The solution is always an ordered pair \((x, y)\). Students sometimes solve for \(x\) and stop — but you need both values, and you need to check both in the original equations.

Sign errors when isolating. When you move a term to isolate a variable, watch the signs carefully. \(3x - y = 7\) → \(-y = 7 - 3x\) → \(y = 3x - 7\). A sign flip here cascades into a wrong answer.

Need Help with Systems of Equations?

One-on-one online tutoring makes the process click. Book a free consultation and we'll work through your specific problems together.

Book Free Consultation Try Practice Problems