MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Lower Secondary
MathematicsLower Secondary

Using formulae — substituting values

L2.3 — FormulaeLecture 1 of 2~2520 words

One formula, the same numbers, two answers

The area of a trapezium is given by a formula:

Here and are the two parallel sides, and is the height between them. Two students, Rahul and Mei, find the area when cm, cm and cm.

Rahul works from left to right. Half of 6 is 3. Then 3 + 10 is 13. Then 13 × 4 is 52. He writes 52 cm².

Mei adds the two sides first. 6 + 10 is 16. Half of 16 is 8. Then 8 × 4 is 32. She writes 32 cm².

a = 6 cm b = 10 cm h = 4 cm
The trapezium in the question. The height is measured at right angles to the two parallel sides.

Same formula. Same numbers. Two different answers. They cannot both be right, and a formula is useless if it can give two answers. So something in the formula must tell you the order. This lecture is about reading that order. Once you can read it, every formula you meet in science, money and everyday life works the same way.

What a formula is

A formula is a rule that connects quantities. It is written as an equation with letters. Each letter stands for a quantity, such as a length, a time or an amount of money.

The single letter on its own, usually on the left, is called the subject of the formula. In , the subject is . The formula tells you how to work out when you know the other letters.

A formula is different from the equations you solved in the last topic. An equation such as is a claim that is true for one value of . You solve it to find that value. A formula is true for every trapezium, every circle or every journey. You do not solve it. You use it, again and again, with new numbers each time.

Some formulae you have probably met already:

Notice that the same letter can mean different things in different formulae. is an area in two of them. is a radius here, but in the lecture on interest it was a rate. A formula always says what its letters mean, and you should too.

Substituting: putting numbers in place of letters

To substitute means to replace each letter by its value. The formula then becomes a calculation. But the letters hide some signs, and the signs must come back when the numbers go in. These are the rules from What is algebra, read in reverse:

So the safest way to substitute is to put each number in brackets. Write , not a row of numbers. The brackets keep each number in its place. They matter most when a number is negative, as you will see soon.

The order is part of the formula

Now back to Rahul and Mei. The formula has a bracket round . The bracket says: this part is one quantity. Work it out first, and then treat it as a single number. So the formula means "add the two parallel sides, then halve, then multiply by the height".

Mei followed the formula. Rahul followed the page from left to right, and broke the bracket open. So Mei is right: the area is 32 cm².

Is 32 cm² sensible? There is a check from the picture. Halving gives the average of the two parallel sides: cm. So the trapezium has the same area as a rectangle 8 cm long and 4 cm high, which is 32 cm². Rahul's 52 cm² is bigger than a 10 cm by 4 cm rectangle, which is 40 cm². That rectangle covers the whole trapezium, so 52 cm² is impossible.

Brackets are one part of the order. The full order that every formula follows is this.

The order of operations

1. Brackets first, working from the inside out. A fraction line counts as brackets round the top and round the bottom.

2. Then indices (powers and roots).

3. Then multiplying and dividing, from left to right.

4. Then adding and subtracting, from left to right.

You may know this order by a memory name, BIDMAS or BODMAS. The letters only help you recall it. The reason behind the order is more useful than the name.

Think about what means. It means two lots of , and then three more. The multiplication is part of the term . The term must be worked out before it can be added to anything. In the same way, is one number, , so the index is done before that number is multiplied. Each step in the order builds a bigger piece out of smaller pieces. Mathematicians agreed this order so that a formula means the same thing to everyone who reads it. That is the whole reason. Without one agreed order, Rahul and Mei could both claim to be right.

Stop and think

Is the same as ? Test both when .

Show the answer

No. In , the index touches only . So square first: , then .

In , the bracket comes first: , then .

The two answers are 12 and 36. A bracket changes what the index belongs to.

The area of a circle, , contains the same question. The index belongs to , not to . Use the explorer below to see what happens to the area when you change the radius, and what goes wrong in the other order.

Explore — the area of a circle, one step at a time

Change the radius with the slider or the − and + buttons. Watch each step of the calculation. Then press "Show the wrong order" to see what happens if you multiply by π before squaring.


The table works out in the right order (square, then multiply by ) and in the wrong order (multiply by , then square). Areas are rounded to 2 decimal places.

in mRight: in m²Wrong:
113.149.87
2412.5739.48
3.512.2538.48120.90
41650.27157.91

Doubling the radius from 2 m to 4 m multiplies the area by 4, from 12.57 m² to 50.27 m². The wrong order always gives an answer about 3.14 times too big, because it multiplies by twice.

What should you have seen? The area grows much faster than the radius. Double the radius, and the area becomes 4 times as big, because the radius appears twice in . And the wrong order is not a small slip. It gives an answer more than three times too big at every radius, because it squares the as well. The order of operations is not a matter of style. It changes the answer.

Four steps for every formula

Substituting into a formula

1. Write the formula.

2. Write it again with each value in brackets in place of its letter. Check that the units match.

3. Work it out in the order of operations, one step per line.

4. Give the answer with its unit, rounded as the question asks, and check that it is sensible.

Each step has a reason. Writing the formula first shows which letter gets which number. The brackets keep negative numbers and the hidden multiplications safe. One step per line lets you, or anyone else, find a mistake. The final check catches the mistakes that the other steps missed.

Worked Example 1 — A circular pond

A circular pond has a radius of 3.5 m. Find its area, correct to 1 decimal place.

(the index first)

(to 1 decimal place)

Check: a square of side 7 m, the width of the pond, has an area of 49 m². The circle fits inside that square, so its area must be less than 49 m². 38.5 m² is less, and not by too much. ✓

Worked Example 2 — A journey, with the units made to match

A bus travels at a steady 80 km/h for 2 hours 15 minutes. How far does it travel?

The speed is in kilometres per hour, so the time must be in hours. 15 minutes is a quarter of an hour, so the time is 2.25 hours. It is not 2.15 hours, because an hour has 60 minutes, not 100.

Check: in 2 hours the bus goes 160 km. In the extra quarter of an hour it goes a quarter of 80 km, which is 20 km. 160 + 20 = 180 km. ✓ Using 2.15 would have given 172 km, which is wrong.

Worked Example 3 — The trapezium, done properly

Find the area of the trapezium from the start of the lecture: cm, cm, cm.

(the bracket first)

Check: the average of the parallel sides is 8 cm, and an 8 cm by 4 cm rectangle has an area of 32 cm². ✓

Negative numbers in a formula

Formulae do not care whether a number is positive or negative. Temperatures fall below zero. A car can slow down, which some formulae describe with a negative number. So a formula must work with negative values too, and this is where the brackets from step 2 earn their place.

Before the worked examples, make a prediction.

Predict, then reveal — a square with a negative number

A formula says . What is when ? Choose before you calculate.

Substituting into gives .

Write . The index first: , because a negative times a negative is positive. Then .

Two common wrong answers: comes from squaring 3 and keeping the minus outside, and 36 comes from doubling before squaring, .

The two wrong answers come from the same place. In one, the minus sign was left outside the square. In the other, the index was given to the 2 as well. Writing with a bracket round the whole value stops the first mistake. Knowing that the index belongs only to the letter it touches stops the second.

A calculator can make the first mistake for you. On many calculators, typing −3² gives −9, because the calculator squares the 3 and then applies the minus. Type the bracket: (−3)² gives 9.

Worked Example 4 — A cold winter morning

A weather report from another country gives a temperature of 14 °F (degrees Fahrenheit). The formula changes Fahrenheit into Celsius. Find the temperature in °C.

(the bracket first)

(the top of the fraction is finished before dividing)

Check: water freezes at 32 °F, which is 0 °C. 14 °F is below 32 °F, so the answer must be below zero. ✓

Worked Example 5 — A ball rolling up a slope

A ball is rolled up a slope at 5 m/s. It slows down steadily. The distance it has moved up the slope after seconds is , where and . (The minus sign in says the ball is slowing down.) Find when .

(the index first: only the 3 is squared)

Check: without slowing down, the ball would have gone m. Slowing down means it goes less far, so the answer must be below 15 m. ✓

Trap 1 — A negative number squared without a bracket

Substituting into and writing is wrong. The value of is the whole of , so . A square of any number, positive or negative, is never negative.

Trap 2 — Ignoring a hidden bracket

The mean of two numbers is . Typing a + b ÷ 2 into a calculator divides only by 2. For and , that gives 13, not the mean, 8. The fraction line is a bracket round the top: type (a + b) ÷ 2.

Trap 3 — Units that do not match

In with in km/h, a time of 30 minutes must go in as 0.5 hours. Putting in 30 gives a distance 60 times too big. Before you substitute, ask: do the units of my numbers match the units in the formula?

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. A rectangle has length cm and width cm. Use to find its perimeter and to find its area.

    Hint 1

    In the perimeter formula, the bracket comes first.

    Hint 2

    . For the area, means .

    Full answer

    cm.

    .

    Check: going round the rectangle, 7.5 + 4 + 7.5 + 4 = 23 cm. ✓ A common mistake is , which counts the width only once.

  2. Find when (a) and (b) .

    Hint 1

    Put each value in brackets. The index belongs to only.

    Hint 2

    (a) . Work out first.

    Full answer

    (a) , so . And . So .

    (b) , so . And . So .

    Check (a): , and . ✓

  3. Simple interest is given by , where is the money saved in dollars, is the rate in percent per year and is the time in years. Find the interest on $2500 at 4% per year (a) for 3 years and (b) for 18 months.

    Hint 1

    The time must be in years.

    Hint 2

    18 months is 1.5 years. In (a), .

    Full answer

    (a) .

    (b) .

    Check: one year's interest is $100. Three years give $300, and one and a half years give $150. ✓ Putting in would give $1800, the interest for 18 years.

  4. At a meeting, every person shakes hands once with every other person. The number of handshakes is , where is the number of people. (a) Check the formula for 4 people by listing the handshakes. (b) Find for a class of 30. (c) One more student joins the class of 30. How many new handshakes are there, and why?

    Hint 1

    For (a), call the people A, B, C and D, and list every pair.

    Hint 2

    For (b), the top of the fraction is . For (c), find for 31 and compare.

    Full answer

    (a) The pairs are AB, AC, AD, BC, BD, CD: 6 handshakes. The formula gives . ✓

    (b) .

    (c) For 31 people, . So there are new handshakes. This makes sense: the new student shakes hands with each of the 30 students already there.

    Why the formula works: each of the people shakes hands. That counts , but every handshake has been counted twice, once for each person in it. So divide by 2.

The bigger idea

In September 1905, Albert Einstein sent a short paper, only three pages long, to the journal Annalen der Physik. Its title was a question: does the inertia of a body depend upon its energy content? Its answer is now probably the best-known formula in physics, . Here is energy in joules, is mass in kilograms and is the speed of light, about m/s.

Using it is just substitution. For 1 gram of mass, kg:

(the index first)

The speed of light is squared before it multiplies the mass. That is ninety million million joules. It would be enough energy to heat about 270 million litres of water from 20 °C to boiling.

One more detail is worth knowing. Einstein did not write in that paper. He used the letter for the energy. He wrote that if a body gives off energy , its mass goes down by divided by the square of the speed of light. The letters were different, and a different quantity was on its own. But the relationship was the same. A formula is a relationship, and it can be written with any quantity as its subject. The next lecture shows how to move a formula round, so that the quantity you want is the one on its own.

Key concepts in this lesson