Solving systems by substitution

Replace one variable with an equal expression, solve the resulting one-variable equation, then recover and verify the second coordinate.

LaTeX article Updated July 13, 2026

y=f(x),g(x)+y=cg(x)+f(x)=cy=f(x),\quad g(x)+y=c\Rightarrow g(x)+f(x)=c

Isolate the cheaper variable

If neither variable is isolated, choose the coefficient ±1 when possible. Solving for that variable avoids introducing fractions.

Keep the entire replacement expression in parentheses, especially when it is multiplied or subtracted.

x=72y3xy=43(72y)y=4x=7-2y\Rightarrow3x-y=4\to3(7-2y)-y=4

Solve, then back-substitute

After substitution, the equation contains one variable. Solve it normally, then use the simpler original equation to find the other value.

The result is an ordered pair. A lone x-value is only half of a system solution.

x=3y=2(3)1=5x=3\Rightarrow y=2(3)-1=5

Special outcomes remain meaningful

If substitution produces a contradiction, the graphs never meet. If it produces an identity, the equations describe the same line.

Do not divide by an expression that could be zero just to make the variable reappear; interpret the identity or contradiction directly.

0=50=0infinitely many0=5\Rightarrow\varnothing\qquad0=0\Rightarrow\text{infinitely many}

Worked example

Common mistakes

  • Dropping parentheses around the substituted expression.
  • Stopping after finding one coordinate.
  • Using the same equation twice during the check.

Keep these ideas

  • Replace equals with equals.
  • Isolate a variable cheaply.
  • Return and verify an ordered pair.
Vocab
System of equations
Math glossarySystem of equations
{f(x,y)=0g(x,y)=0\begin{cases}f(x,y)=0\\g(x,y)=0\end{cases}

Equations whose solution must satisfy all members at once.

Learn more
Substitution method
Math glossarySubstitution method
y=f(x)g(x,y)=g(x,f(x))y=f(x)\Rightarrow g(x,y)=g(x,f(x))

Replaces a variable with an equal expression.

Learn more
Elimination method
Math glossaryElimination method
ax+by=cax+dy=e\begin{aligned}ax+by&=c\\-ax+dy&=e\end{aligned}

Combines equations so one variable cancels.

Learn more
Inequality
Math glossaryInequality
x<4x<4

A statement comparing quantities by order rather than exact equality.

Learn more
Solution set
Math glossarySolution set
{x:x2}\{x:x\ge2\}

The set of every value satisfying a statement.

Learn more
Math glossary