Substitute each value in brackets, then work it out in order
A letter in an expression or formula stands for a number. When you substitute a value for each letter, the expression becomes a calculation.
Substitute
To substitute is to replace each letter in an expression or formula with a given number.
To substitute:
- Write each value in brackets in place of its letter.
- Write in the × signs that algebra leaves out.
- Work out brackets, then powers, then × and ÷, then + and −, the order taught in the guide BIDMAS.
Keeping −4{-4}−4 in brackets turns subtracting 2×(−4){2 \times (-4)}2×(−4) into adding 8.
Wrong. With n=4,{n = 4\text{,}}n=4, 6n{6n}6n is worked out as 64.
Right. A number written next to a letter means multiply, so write the × in. With n=4,{n = 4\text{,}}n=4, 6n=6×4=24.{6n = 6 \times 4 = 24\text{.}}6n=6×4=24.
Wrong. With n=4,{n = 4\text{,}}n=4, 6n+5{6n + 5}6n+5 is worked out as 6×9=54.{6 \times 9 = 54\text{.}}6×9=54.
Right. In 6n+5{6n + 5}6n+5 the multiplication comes first, so work out the term 6n{6n}6n before adding. 6n+5=6×4+5=24+5=29.6n + 5 = 6 \times 4 + 5 = 24 + 5 = 29\text{.}6n+5=6×4+5=24+5=29.
"Work out the value" wants the substitution written out, such as 3×(−2)+7,{3 \times (-2) + 7\text{,}}3×(−2)+7, before you calculate it. A correct substitution line usually earns a method mark, even when the final answer is wrong.
A formula written in words works the same way.
A formula in words
Work out the cooking time for a 2.5 kg joint of meat, using this formula:
time in minutes=40×mass in kg+20 \text{time in minutes} = 40 \times \text{mass in kg} + 20 time in minutes=40×mass in kg+20- Replace the mass with 2.5, so the time is 40×2.5+20.{40 \times 2.5 + 20\text{.}}40×2.5+20.
- Multiply first. 40×2.5=100.{40 \times 2.5 = 100\text{.}}40×2.5=100.
- Then add. 100+20=120,{100 + 20 = 120\text{,}}100+20=120, so the cooking time is 120 minutes.
A power on a letter acts on its whole value, sign included
Put the letter's value in brackets, and work out the letter's power before any ×, ÷, + or −.
The square of −4{-4}−4 is positive, but its cube is negative.
In 5x2{5x^2}5x2 the power is on x{x}x only, not on the 5, so with x=2,{x = 2\text{,}}x=2, 5x2=5×4=20,{5x^2 = 5 \times 4 = 20\text{,}}5x2=5×4=20, never 102=100.{10^2 = 100\text{.}}102=100.
Wrong. With x=−5,{x = -5\text{,}}x=−5, x2{x^2}x2 is keyed into a calculator as −52,{-5^2\text{,}}−52, which gives −25.{-25\text{.}}−25.
Right. Without brackets the calculator squares only the 5, then makes the answer negative. Bracket every negative, on paper and on the calculator, so (−5)2=25.{(-5)^2 = 25\text{.}}(−5)2=25.
When a formula gives the square of a letter, take the square root, positive or negative, unless the letter cannot be negative, such as a length.
A formula that ends with a square root
y2=3x2+4.{y^2 = 3x^2 + 4\text{.}}y2=3x2+4. Work out the values of y{y}y when x=−2.{x = -2\text{.}}x=−2.
- Put −2{-2}−2 in brackets in place of x,{x\text{,}}x, so y2=3×(−2)2+4.{y^2 = 3 \times (-2)^2 + 4\text{.}}y2=3×(−2)2+4.
- Square first. (−2)2=4,{(-2)^2 = 4\text{,}}(−2)2=4, so y2=3×4+4=12+4=16.y^2 = 3 \times 4 + 4 = 12 + 4 = 16\text{.}y2=3×4+4=12+4=16.
- Take the square root, positive or negative. y=4{y = 4}y=4 or y=−4.{y = -4\text{.}}y=−4.
Use a formula in context, forwards or backwards
In a context, each letter in a formula stands for a real quantity. Working forwards finds the letter the formula gives, such as v{v}v in v=u+at,{v = u + at\text{,}}v=u+at, and working backwards finds another letter by solving an equation.
Each value replaces its letter, and whichever letter is left is the one to find.
v=u+at v = u + at v=u+atwhere:
- v{v}v is the final speed, in m/s
- u{u}u is the starting speed, in m/s
- a{a}a is the acceleration, in m/s²
- t{t}t is the time, in seconds
Use it to find a cyclist's speed after speeding up for a few seconds. In any context, write down each letter's value, then use the formula exactly as written, leaving out any number it does not use. Reread the last line before you stop, as it may ask for a difference.
Using a formula twice
A plumber charges C=40h+35{C = 40h + 35}C=40h+35 pounds for a job lasting h hours.{h\ \text{hours.}}h hours. She drives 12 miles to each job. How much more does a 5-hour job cost than a 2-hour job?
- The formula uses only h,{h\text{,}}h, so the 12 miles is not used.
- With h=5,{h = 5\text{,}}h=5, C=40×5+35=200+35=235.C = 40 \times 5 + 35 = 200 + 35 = 235\text{.}C=40×5+35=200+35=235.
- With h=2,{h = 2\text{,}}h=2, C=40×2+35=80+35=115.C = 40 \times 2 + 35 = 80 + 35 = 115\text{.}C=40×2+35=80+35=115.
- The question asks how much more, so find the difference. 235−115=120,{235 - 115 = 120\text{,}}235−115=120, so the 5-hour job costs £120 more.
Sometimes you must solve an equation first to find the value to substitute.
Solve first, then substitute
4x+3=23.{4x + 3 = 23\text{.}}4x+3=23. Work out the value of x2−2x.{x^2 - 2x\text{.}}x2−2x.
- Solve for x.{x\text{.}}x. 4x=23−3=20,{4x = 23 - 3 = 20\text{,}}4x=23−3=20, so x=20÷4=5.{x = 20 \div 4 = 5\text{.}}x=20÷4=5.
- Substitute x=5.{x = 5\text{.}}x=5. x2−2x=(5)2−2×(5)=25−10=15.x^2 - 2x = (5)^2 - 2 \times (5) = 25 - 10 = 15\text{.}x2−2x=(5)2−2×(5)=25−10=15.
To explain or decide, substitute first, then give the reason using the value.
Explaining why a value is impossible
A triangle has sides of x cm,{x\ \text{cm,}}x cm, (x+4){(x + 4)}(x+4) cm and (2x−7){(2x - 7)}(2x−7) cm. Explain why x{x}x cannot be 3.
- Substitute x=3{x = 3}x=3 into the side (2x−7){(2x - 7)}(2x−7) cm. 2×3−7=6−7=−1,{2 \times 3 - 7 = 6 - 7 = -1\text{,}}2×3−7=6−7=−1, so that side is −1 cm.{-1\ \text{cm.}}−1 cm.
- A length must be greater than zero, so x{x}x cannot be 3.
Evaluate a function written in f(x){f(x)}f(x) notation (Higher)
A rule such as f(x)=2x+1{f(x) = 2x + 1}f(x)=2x+1 is a function, and f(5){f(5)}f(5) means its value when x=5.{x = 5\text{.}}x=5. To evaluate a function, substitute the number in the bracket for every x{x}x in the rule.
Function
A function is a rule that turns each input into exactly one output.
Writing f(−2)=7{f(-2) = 7}f(−2)=7 records the input −2{-2}−2 and the output 7 in one statement.
On a calculator, key in every bracket, including those round a negative input and round a whole denominator.
A function on a calculator
f(x)=20x2+3.{f(x) = \dfrac{20}{x^2 + 3}\text{.}}f(x)=x2+320. Find f(−1.4),{f(-1.4)\text{,}}f(−1.4), giving your answer to 3 significant figures.
- Replace x{x}x with (−1.4),{(-1.4)\text{,}}(−1.4), so f(−1.4)=20(−1.4)2+3.{f(-1.4) = \dfrac{20}{(-1.4)^2 + 3}\text{.}}f(−1.4)=(−1.4)2+320.
- Work out the denominator. (−1.4)2+3=1.96+3=4.96.(-1.4)^2 + 3 = 1.96 + 3 = 4.96\text{.}(−1.4)2+3=1.96+3=4.96.
- Divide. 20÷4.96=4.0322…,{20 \div 4.96 = 4.0322\ldots\mathclose{\text{,}}}20÷4.96=4.0322…, which is 4.03 to 3 significant figures.
Check your understanding of substitution
- Why must a negative value go in brackets before you square it?
- How is working backwards with a formula different from working forwards?
What is the value of 4(m−3){4(m - 3)}4(m−3) when m=−2?{m = -2\text{?}}m=−2?
Solution
−20{-20}−20
What is the value of 5−2t2{5 - 2t^2}5−2t2 when t=−3?{t = -3\text{?}}t=−3?
Solution
−13{-13}−13
A square has sides of (2x−8){(2x - 8)}(2x−8) cm. What is the smallest whole number x{x}x can be?
Solution
5