Substitution Formula

Substitution is replacing every occurrence of a variable or sub-expression with an equivalent value or expression throughout a problem.

The Formula

If y=g(x), then f(y)=f(g(x))

Ask yourself: Am I replacing a variable with an EQUAL expression everywhere it appears?

Quick example

Given y=x+3, substitute into 2y: 2(x+3)=2x+6

Notation

Substitution is written 'let y=…' or 'substitute y=… into.' Parentheses around the substituted expression are essential.

What this formula means

Replacing every occurrence of a variable or sub-expression with an equivalent value or expression throughout a problem.

Substitution resembles sending on a substitute player: the replacement takes the exact position the starter left, and the rules of the game don't change. The algebra version is stricter, since the substitute must be exactly equal to what it replaces, and it goes on as one whole unit, which is why it goes in parentheses.

Formal view

If y=g(x), then for any expression f(y), the substitution y↦g(x) yields f(g(x)). Formally, this is function composition: (f∘g)(x)=f(g(x)).

Worked examples

Example 1

easy
If y=3x+1 and x=2, find y.
Show solution

Answer

y=7

First step

1.
Replace x with 2 in the expression: y=3(2)+1.

Full solution

  1. 2.
    Compute: y=6+1=7.
  2. 3.
    Substitution replaces a variable with its known value.
Substitution means replacing a variable with an equivalent value or expression. Here we replace x with 2 to find the corresponding y.

Example 2

medium
If y=x+3 and 2x+y=9, use substitution to solve for x.

Example 3

easy
Given f(x)=5−x, evaluate f(−2) by substitution.

Common mistakes

  • Dropping parentheses around the substituted expression - wrap it so grouping survives.
  • Replacing only some occurrences of the variable - substitute every occurrence consistently.
  • Substituting a value when the variable is still unknown - solve for it first, then substitute.

Why this formula matters

Real problems usually come with more than one unknown: the prices of two items, the lengths of two sides. Substitution trades one unknown for an expression in the other, so two equations become one equation you already know how to solve. Without it you can only guess pairs of values; with careless parentheses, you solve the wrong equation and get an answer that fails the original.

Frequently asked questions

What is the Substitution formula?

Replacing every occurrence of a variable or sub-expression with an equivalent value or expression throughout a problem.

How do you use the Substitution formula?

Substitute when one equation already isolates a variable, like y=2x or x=5−y, and another equation contains that same variable. It is the natural method for a system in which one equation is solved for a variable, and for rewriting a formula in terms of another quantity. If both equations look like ax+by=c with matching or opposite coefficients, elimination is often faster. If the replacement is a plain number and nothing is left to solve, you are evaluating.

What do the symbols mean in the Substitution formula?

Substitution is written 'let y=…' or 'substitute y=… into.' Parentheses around the substituted expression are essential.

Why is the Substitution formula important in Math?

Real problems usually come with more than one unknown: the prices of two items, the lengths of two sides. Substitution trades one unknown for an expression in the other, so two equations become one equation you already know how to solve. Without it you can only guess pairs of values; with careless parentheses, you solve the wrong equation and get an answer that fails the original.

What do students get wrong about Substitution?

The procedure for substitution is the easy part; the trap is dropping parentheses around the substituted expression. Asking "Am I replacing a variable with an EQUAL expression everywhere it appears?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Substitution formula?

Before studying the Substitution formula, you should understand: equations, equal.

The full guide

This formula is covered in depth in Solving Systems of Equations: Substitution, Elimination, and Matrices.