Substitution
What is $3x + 5$ actually worth? It depends on $x$! Learn to swap letters for numbers and calculate the value of any expression — one step at a time.
Printable Worksheets
Print or save as PDF — or build a custom worksheet from any module's questions.
If $x = 3$, calculate $2x + 7$. Show every step of your working.
Substitution means replacing a variable with its numerical value, then calculating the result. It's like opening a mystery box and finding out what number was hiding inside.
When we substitute $x = 4$ into $2x + 3$, we replace every $x$ with 4, then use order of operations (BODMAS) to calculate. The answer is called the value of the expression.
Know
- What substitution means
- Why we use brackets when substituting
- How BODMAS applies after substitution
Understand
- That an expression has different values for different inputs
- Why negative values need extra care
- That substitution preserves the structure of the expression
Can Do
- Substitute positive and negative values
- Evaluate expressions with multiple variables
- Handle powers and fractions when substituting
Wrong: If $x = 3$, then $2x = 23$
Right: $2x = 2(3) = 6$. Always use brackets: $2(3)$, never $23$.
Wrong: If $x = -2$, then $x^2 = -4$
Right: $x^2 = (-2)^2 = (-2) \times (-2) = 4$. A negative squared is positive!
Follow this three-step method every time. It prevents the most common mistakes and guarantees full working marks.
Step 1: Write the expression. Copy it exactly.
Step 2: Substitute. Replace variables with values in brackets.
Step 3: Evaluate. Use BODMAS to calculate.
When the value you substitute is negative, brackets are essential. $-x$ when $x = -3$ becomes $-(-3)$, which equals $+3$.
Always wrap negatives in brackets. $x^2$ when $x = -2$ is $(-2)^2 = 4$, NOT $-2^2 = -4$. The brackets tell the calculator (and your brain) to square the whole number including its sign.
| Expression | Substitute $x = -3$ | Working | Answer |
|---|---|---|---|
| $2x + 1$ | $2(-3) + 1$ | $= -6 + 1$ | $-5$ |
| $x^2$ | $(-3)^2$ | $= 9$ | $9$ |
| $-x$ | $-(-3)$ | $= +3$ | $3$ |
| $5 - x$ | $5 - (-3)$ | $= 5 + 3$ | $8$ |
Some expressions have more than one variable. You'll be given a value for each one. Substitute them all, then evaluate.
When evaluating $2a + 3b$ with $a = 4$ and $b = 2$, replace every $a$ with 4 and every $b$ with 2. Then follow BODMAS: $2(4) + 3(2) = 8 + 6 = 14$.
When expressions contain powers or fractions, the same rules apply — just be extra careful with the order of operations.
For $x^2$, the power is evaluated after substitution but before other operations. For fractions like $\frac{x}{2}$, the fraction bar acts as brackets — evaluate the numerator and denominator first.
Watch Me Solve It · Worked example
-
1Write the expression$3x^2 - 2x + 4$Always start by copying the expression exactly. This earns you a method mark.
-
2Substitute $x = -2$ with brackets$= 3(-2)^2 - 2(-2) + 4$Every $x$ becomes $(-2)$. Notice $x^2$ becomes $(-2)^2$, not $-2^2$.
-
3Evaluate powers first (Orders)$= 3(4) - 2(-2) + 4$$(-2)^2 = (-2) \times (-2) = 4$. A negative squared is positive!
-
4Multiply next$= 12 - (-4) + 4$$3(4) = 12$ and $-2(-2) = +4$, so $-2(-2) = -(-4)$. Two negatives make positive!
-
5Add and subtract left to right$= 12 + 4 + 4 = 20$$12 - (-4) = 12 + 4 = 16$, then $16 + 4 = 20$.
The Substitution Method
- Step 1: Write the expression
- Step 2: Substitute (use brackets)
- Step 3: Evaluate using BODMAS
- Always show all working!
Negative Numbers
- $(-n)^2 = n^2$ (always positive)
- $-(-n) = +n$
- $a - (-b) = a + b$
- Always bracket negatives!
Multiple Variables
- Replace every variable
- Use different brackets if needed
- $2a + 3b$ with $a=4, b=2$:
- $= 2(4) + 3(2) = 8 + 6 = 14$
Powers & Fractions
- $x^2$ with $x = -3$: $(-3)^2 = 9$
- Fraction bar = brackets
- $\frac{x+1}{2}$: do top first
- Orders before multiply!
How are you completing this lesson?
Brain Trainer · 4 problems
Four problems to test your substitution skills. Work each one, then reveal the answer.
-
1 Evaluate $5x - 3$ when $x = 4$.
$= 5(4) - 3 = 20 - 3 =$ $17$17 -
2 Evaluate $x^2 + 2x$ when $x = -3$.
$= (-3)^2 + 2(-3) = 9 + (-6) = 9 - 6 =$ $3$. Remember: $(-3)^2 = 9$!3 -
3 Evaluate $2a + 3b$ when $a = 5$ and $b = -2$.
$= 2(5) + 3(-2) = 10 + (-6) = 10 - 6 =$ $4$4 -
4 Evaluate $\frac{x + 4}{2}$ when $x = 6$.
$= \frac{6 + 4}{2} = \frac{10}{2} =$ $5$. Do the top first!5
Show Your Working · 3 questions
Q6. Evaluate $4n + 7$ when $n = 3$.
$= 4(3) + 7$ (1 mark) $= 12 + 7 =$ $19$ (1 mark).
Q7. Evaluate $x^2 - 3x$ when $x = -2$.
$= (-2)^2 - 3(-2)$ (1 mark) $= 4 - (-6)$ (1 mark) $= 4 + 6 =$ $10$ (1 mark).
Q8. The formula for the area of a trapezium is $A = \frac{h(a + b)}{2}$. Find the area when $h = 6$, $a = 5$, and $b = 9$.
$A = \frac{6(5 + 9)}{2}$ (1 mark) $= \frac{6(14)}{2}$ (1 mark) $= \frac{84}{2}$ (1 mark) $=$ $42$ units$^2$ (1 mark).