Skip to content
Gioi Toan
Start learning
Algebra tiles: one large square, two long bars and three small squares

Notes on Lesson 2.1: Substituting into expressions (Substituting into expressions) (Toán Vinschool, Learner's Book 9)

Lesson summary

Substitute means replacing the letter with a number and then calculating.

Follow the order: brackets, powers and roots, multiplication and division (from left to right), and finally addition and subtraction.

An expression is like a recipe with a blank left in it: "x spoons of sugar".

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Hiểu và vận dụng: Thế số vào biểu thức
  • Hiểu và vận dụng: Thứ tự thực hiện phép tính
  • Hiểu và vận dụng: Dấu âm và luỹ thừa

An expression is like a machine: you put a number in, and the machine gives a number out. Your job is to do it in the right order.

Practise now

Key ideas: what do you need to know?

Substitute numbers into an expression

Substitute means replacing the letter with a number and then calculating. With x=4x=4, the expression 3x+23x+2 becomes 3×4+2=143\times4+2=14.

When you substitute a negative number or a fraction, put it in brackets: x=−3x=-3 gives x2=(−3)2=9x^2=(-3)^2=9.

In plain words: An expression is like a recipe with a blank left in it: "x spoons of sugar". When Mum says take 4 spoons, you put 4 in place of x and follow the recipe. That is all substituting is. The easy place to slip up is negative numbers: if x is −3-3 and you forget the brackets, the minus sign easily gets lost, and squaring to a negative number is wrong. Whenever you see a negative number or a fraction, wrap it in brackets first and then calculate, to be safe.

Phrase by phrase
replace the letter with a number
Put the given value in exactly the place of the letter in the expression.Example: x=4x=4 gives 3x3x becomes 3×43\times4.
expression
A string of numbers, letters and operations, with no equals sign.Example: 3x+23x+2 is an expression.
negative number or fraction
Values that easily lose their sign or operation when put into an expression.Example: x=−12x=-\frac12, write (−12)2\left(-\frac12\right)^2.
put in brackets
Wrap the whole number you have just substituted in a pair of brackets to keep its sign.Example: x=−3x=-3: 2x2=2×(−3)2=182x^2=2\times(-3)^2=18.

Order of operations

Follow the order: brackets, powers and roots, multiplication and division (from left to right), and finally addition and subtraction.

Example 2+3×42=2+3×16=2+48=502+3\times4^2=2+3\times16=2+48=50.

  1. Không có ngoặc, làm luỹ thừa: 42=164^2=16

    Why: Luỹ thừa đứng trước nhân chia

  2. Nhân: 3×16=483\times16=48

  3. Cộng sau cùng: 2+48=502+48=50

Ba bước tính 2 cộng 3 nhân 4 bình phương theo đúng thứ tự, ra 50

In plain words: We need a shared order so that everyone gets the same answer. If everyone did it their own way, 2+3×422+3\times4^2 would give 50 to some people and 80 to others, and they would argue forever. It is like queueing for tickets to a football match: brackets go in first, then powers and roots, then multiplication and division, and addition and subtraction stand at the end of the queue. Multiplication and division are on the same level, so whichever comes on the left is done first, and the same goes for addition and subtraction.

Phrase by phrase
order of operations
The order of which operation is done first and which is done later.Example: 2+3×4=142+3\times4=14, not 20.
indices and roots
The two operations done right after brackets.Example: 3×22=3×4=123\times2^2=3\times4=12.
from left to right
Operations of the same level are done one after another in reading order.Example: 12÷3×2=4×2=812\div3\times2=4\times2=8.

Minus signs and powers

(−x)2=x2(-x)^2=x^2 but −x2-x^2 is the opposite number of x2x^2. With x=3x=3: (−3)2=9(-3)^2=9, while −32=−9-3^2=-9.

With a formula that has several variables, substitute all the variables first and then calculate. A common formula: s=ut+12at2s=ut+\frac12at^2.

-4-3-2-11234-15-10-551015xy(-3)² = 9-3² = -9y = x²y = -x²
Hai parabol y bằng x bình phương và y bằng trừ x bình phương, chấm tại x bằng âm 3 cho 9 và tại x bằng 3 cho âm 9

In plain words: A minus sign outside or inside the brackets makes a big difference. (−3)2(-3)^2 means taking the whole number −3-3 and multiplying it by itself, and negative times negative gives positive 9. But −32-3^2 only squares the number 3, and then the minus sign is attached, giving −9-9. Think of the brackets as a bag: if the minus sign is inside the bag, it gets multiplied along; if it is outside the bag, it does not. With a formula that has several letters, like working out the distance a car travels, substitute all the letters first and then use the calculator.

Phrase by phrase
opposite number
A number the same distance from 0 but with the opposite sign.Example: The opposite number of 9 is −9-9.
formula with several variables
A formula with two or more letters needs the numbers substituted.Example: s=ut+12at2s=ut+\frac12at^2 has three letters uu, tt, aa.

Common mistakesBut dropping the minus sign of the substituted number, for example 5−x5-x with x=−2x=-2 written as 5−25-2. It should be 5−(−2)=75-(-2)=7.

Worked examples

Example 1

Calculate 3x2−2y3x^2-2y when x=−2x=-2, y=5y=5.

Show the solution to example 1

Step 1: Substitute x=−2x=-2 and y=5y=5, put the negative number in brackets: 3×(−2)2−2×53\times(-2)^2-2\times5.
Step 2: Power first: (−2)2=4(-2)^2=4.
Why: A negative times a negative gives a positive, so (−2)2=4(-2)^2=4 and not −4-4, and the brackets make this clear.
Step 3: Multiplication: 3×4=123\times4=12 and 2×5=102\times5=10.
Step 4: Subtraction: 12−10=212-10=2.
Result: 3x2−2y=23x^2-2y=2.

Example 2

Calculate s=ut+12at2s=ut+\frac12at^2 when u=4u=4, t=3t=3, a=2a=2.

Show the solution to example 2

Step 1: Substitute all three letters: s=4×3+12×2×32s=4\times3+\frac12\times2\times3^2.
Step 2: Power first: 32=93^2=9.
Why: Only tt is squared, so square 3 first and then multiply by 12\frac12 and 2.
Step 3: Multiplication: 4×3=124\times3=12 and 12×2×9=9\frac12\times2\times9=9.
Step 4: Addition: s=12+9=21s=12+9=21.
Result: s=21s=21.

Common mistakesCalculate 2x22x^2 when x=3x=3 becomes (2×3)2=36(2\times3)^2=36. Only xx is squared, so it is 2×9=182\times9=18.

Example 3

Calculate a2−b2c\frac{a^2-b}{2c} when a=−4a=-4, b=6b=6, c=−5c=-5.

Show the solution to example 3

Step 1: Substitute the numbers, put the negative number in brackets: (−4)2−62×(−5)\frac{(-4)^2-6}{2\times(-5)}.
Step 2: Work out the numerator: (−4)2=16(-4)^2=16, then 16−6=1016-6=10.
Why: The fraction bar acts like a big pair of brackets: work out the whole numerator and the whole denominator, then divide.
Step 3: Work out the denominator: 2×(−5)=−102\times(-5)=-10.
Step 4: Divide: 10÷(−10)=−110\div(-10)=-1.
Result: The value is −1-1.

Common mistakesWrite (−3)2=−9(-3)^2=-9. The square of a negative number is a positive number.

TipSubstitute the numbers into the brackets and calculate step by step, do not do the whole line in your head.

Example 4

One day Sa Pa got as cold as −3-3°C. Your friend in America uses degrees F, converting with the formula F=1.8C+32F=1.8C+32. How many degrees F was it that day?

-101020304050100CF(-3; 26.6)F = 1.8C + 32
Đường thẳng F bằng 1.8C cộng 32, chấm tại C bằng âm 3 cho F bằng 26.6
Show the solution to example 4

Step 1: The letter to substitute is CC, value C=−3C=-3.
Step 2: Substitute, with brackets: F=1.8×(−3)+32F=1.8\times(-3)+32.
Step 3: Multiplication first: 1.8×(−3)=−5.41.8\times(-3)=-5.4.
Why: Multiplication before addition, and a positive times a negative gives a negative, so the multiplication part is −5.4-5.4.
Step 4: Addition: −5.4+32=26.6-5.4+32=26.6.
Result: That day it was about 26.6°F.

TipCheck again by trying a simple value such as x=1x=1.

Example 5

Calculate −x2+5x-x^2+5x when x=−2x=-2.

Show the solution to example 5

Step 1: Substitute x=−2x=-2 with brackets: −(−2)2+5×(−2)-(-2)^2+5\times(-2).
Step 2: Square inside the brackets first: (−2)2=4(-2)^2=4, the minus sign in front stays, so you get −4-4.
Why: The minus sign outside the brackets is not squared, so −x2-x^2 is always a negative number or 0, and writing +4+4 is wrong.
Step 3: Multiplication: 5×(−2)=−105\times(-2)=-10.
Step 4: Addition: −4+(−10)=−14-4+(-10)=-14.
Result: −x2+5x=−14-x^2+5x=-14.

Example 6

Find the value of 5p−q2p+q\frac{5p-q^2}{p+q} when p=3p=3 and q=−1q=-1.

Show the solution to example 6

Step 1: Substitute p=3p=3, q=−1q=-1: 5×3−(−1)23+(−1)\frac{5\times3-(-1)^2}{3+(-1)}.
Step 2: Numerator: (−1)2=1(-1)^2=1, 15−1=1415-1=14.
Why: (−1)2=1(-1)^2=1 so the numerator is 15−115-1, and writing 15+115+1 forgets that there is still a minus sign in front of the expression.
Step 3: Denominator: 3+(−1)=23+(-1)=2.
Step 4: Divide: 14÷2=714\div2=7.
Result: 77.

Terms

Substitute
Replace a letter with a specific number.Example: Substitute x=2x=2 into x+5x+5 gives 7.
Expression
A set of numbers, letters and operations, with no equals sign.Example: 3x+23x+2.
Variable
A letter standing for a number that can change.Example: xx in 3x+23x+2.
Formula
A rule written in letters with an equals sign.Example: A=πr2A=\pi r^2.
Coefficient
The number in front of the letter.Example: In 5x5x, the coefficient is 5.
Term
A part of an expression separated by a plus or minus sign.Example: 3x3x and 22 in 3x+23x+2.
Value of an expression
The result after substituting and calculating.Example: When x=4x=4, 3x+23x+2 has the value 14.
Order of operations
The rule for which operation to do first.Example: Power before multiplication.

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 8.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 1 of 1Fill in the number · Recall

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

Decimals can use a comma or a point. Write fractions as a/b, for example -5/3.

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.

More practice questions for you

Additional exercises

  • Thay số âm vào biểu thức, chú ý dấu và luỹ thừa (Recall, Understanding, Applying, Advanced applying)
  • Tính giá trị biểu thức khi biết giá trị của chữ (Recall, Understanding, Applying, Advanced applying)
  • Thay số vào công thức thực tế (Understanding, Applying)
  • Tìm giá trị của chữ để biểu thức nhận giá trị cho trước (Applying)
  • Thử ví dụ, phỏng đoán, chứng tỏ và chỉ lỗi sai về giá trị biểu thức (Applying, Advanced applying)

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in

Skills in this lesson

Tap a skill to see what to secure first, what comes next, and more practice.