Skip to content
mathismaths.com

Algebra · Lesson 5 of 16

Substitution into Expressions

Substituting means replacing each letter with its value and then working out the result in the correct order.

What you will learn

  • Replace letters with numbers.
  • Use brackets for negative values.
  • Follow the order of operations.

Before you start: you should know what a variable is and the order of operations. See Algebraic Expressions.

The idea

Substitution means putting a number in place of a letter. Once every letter has its value, the expression becomes an ordinary calculation.

Sorted into groups: x, 3x + 2x: 1, 2, 3, 4. 3x + 2: 5, 8, 11, 14.x12343x + 2581114
Substituting x = 1, 2, 3 and 4 into 3x + 2. Each answer goes up by 3 because the coefficient of x is 3.

Steps

  1. Write the expression.
  2. Replace each letter with its value, using brackets.
  3. Work out powers, then multiplication and division, then addition and subtraction.

Negative values

Always put a negative value in brackets. x2x^2 with x=−3x = -3 is (−3)2=9(-3)^2 = 9, but −32-3^2 means −(32)=−9-(3^2) = -9. Brackets make the meaning clear.

Number line from -4 to 16Number line from -4 to 16, marked at -3 (x=-3) and 16 (10-2x). Jumps: from -3 to 16 (substitute).-4-20246810121416x=-310-2xsubstitute
The expression 10 - 2x when x = -3 gives 16. Subtracting a negative number adds.

Formulas are expressions

A formula such as A=l×wA = l \times w is substituted in the same way. Put in the known values and work out the unknown.

Worked examples

Example 1: One letter

Find 4a−34a - 3 when a=5a = 5.

  1. 4×5−34 \times 5 - 3.
  2. 20−3=1720 - 3 = 17.

Answer: 1717

Example 2: Two letters

Find 2x+3y2x + 3y when x=4x = 4 and y=−2y = -2.

  1. 2(4)+3(−2)2(4) + 3(-2).
  2. 8−6=28 - 6 = 2.

Answer: 22

Example 3: With a power

Find x2+2xx^2 + 2x when x=−3x = -3.

  1. (−3)2+2(−3)(-3)^2 + 2(-3).
  2. 9−6=39 - 6 = 3.

Answer: 33

Tip: write the expression again with brackets in place of each letter, then calculate.

Why it matters

Substitution is how you use formulas for area, speed, interest and temperature. It also tests whether two expressions are equal. Next, learn to simplify with like terms.

Practice

Your turn. Type or choose an answer, then press Check. Getting one wrong is fine, that is what practice is for. You can try as many times as you like.

Question 1 of 8

Find 3x+23x + 2 when x=4x = 4.

Question 2 of 8

Find 5a−b5a - b when a=3a = 3 and b=7b = 7.

Question 3 of 8

Find x2x^2 when x=−3x = -3.

Question 4 of 8

Find 2x2−3y2x^2 - 3y when x=3x = 3 and y=4y = 4.

Question 5 of 8

Find a+b2\dfrac{a + b}{2} when a=7a = 7 and b=11b = 11.

Question 6 of 8

The perimeter of a rectangle is 2l+2w2l + 2w. Find it when l=8l = 8 and w=5w = 5.

Question 7 of 8

Find 10−2x10 - 2x when x=−3x = -3.

Question 8 of 8

What is 3x3x when x=5x = 5?

Choose one answer