At a school cafΓ© a drink costs $3 and a sandwich costs $5. (The prices are made up.) You buy one drink and four sandwiches.
Your friend types the total into two calculators, pressing exactly the same keys:
- Most phone calculator apps show 23.
- A simple pocket calculator shows 35.
Same keys, two different answers. Which one is the price you should pay? And why would a calculator give the other one?
The trouble is not the calculators. It is that a line of maths like only has one meaning if everybody agrees how to read it. Today you will find that agreement, and meet a short way of writing repeated multiplication.
Try these first. Nothing is marked: just have a go.
A square patio is made of square tiles: 7 tiles along each side, with no gaps.
How many tiles are there in the whole patio?
Work out .
Work out .
Two friends work out . One gets , the other gets . Which answer do you think is right?
Now use the explorer. Each sign is a button. Tap the operation you think must be done next. If it can be done now, the next line of working appears underneath. If not, you get a reason. Start with expression 1, the cafΓ© bill.
- In , which sign does the explorer let you do first?
- In and , what decides which sign goes first?
- In expressions 4 to 6, what happens when you tap a sign next to a bracket? (A bracket round a single negative number, like , only shows its sign: there is nothing to work out inside it.)
- The cafΓ©. is one thing: the price of the four sandwiches, $20. The bill is dollars. The pocket calculator did first and then . That calculation does not match anything you bought. Some calculators, such as many simple pocket calculators, work out each step as soon as you press the next key. Scientific calculators and most phone calculator apps follow the agreed order.
- Try-first 2. is . Multiplying first, not .
- In the explorer, Γ and Γ· always went before + and β, and anything inside brackets went before everything else.
- When two signs on the same level (like and , or and ) share a number, the one on the left went first. That is why , as in the prediction: the belongs to both signs.
- In the explorer let you do the two chunks and in either order. They are separate chunks joined by a : each one turns into a single number, whichever you do first. But inside one chain of and signs, such as , the explorer only ever let you go strictly from left to right.
- Try-first 1. A square patio of 7 rows of 7 tiles has tiles. Try-first 3. : three negative factors, so a negative answer. Both are repeated multiplications of one number. Mathematicians have a short way to write them.
Powers
A power is a short way to write repeated multiplication of the same number:
- The base is the number being multiplied: here .
- The index (plural: indices; American English: exponent) is the small raised number. It says how many times the base appears: here .
- Say β2 to the power 5β.
Two powers have their own names, from their pictures:
- is β7 squaredβ: 49 tiles in a 7 by 7 square.
- is β3 cubedβ: 27 small cubes make a 3 by 3 by 3 cube.
Pictured: tiles in a 3 by 3 square, and small cubes in a 3 by 3 by 3 cube.
Powers of 10 count zeros: , , (one million).
A power is only a counting shorthand. means βfive 2s multiplied togetherβ, so it is , not . Writing is slow and easy to miscount; is quick and exact.
The square picture explains βsquaredβ: a square with 7 tiles along each side has 7 rows of 7. The cube picture explains βcubedβ: 3 layers, each a 3 by 3 square of 9, makes .
Powers of 10 count zeros because each extra adds one zero: .
Powers of negative numbers
To raise a negative number to a power, put it in brackets, so that the whole number is the base:
- An even index gives a positive answer. An odd index gives a negative answer.
Without brackets, the index belongs only to the number right in front of it:
The signs. A power of a negative number is a product of negative factors, so the rule from the last lesson decides: count the negatives. With an even index they pair up into positives. With an odd index one negative is left over.
The brackets. Here mathematicians made an agreement (a convention): in the index belongs to the only, so the base is , not . Read like . Powers come before subtraction, so it is . This keeps one rule for every minus sign: the power is always done first. If you want to square itself, you must say so with brackets: .
The order of operations
To work out a calculation, everyone uses the same agreed order of operations:
- Brackets (American English: parentheses) first. If there are brackets inside brackets, start with the innermost.
- Then powers.
- Then multiplication and division, on the same level, from left to right.
- Then addition and subtraction, on the same level, from left to right.
Inside one chain of and (or one chain of and ), always go strictly from left to right. In the must wait for both subtractions: . Doing and at the same time gives , which is wrong.
What can go in either order are separate chunks of and joined by or , like the two products in : each chunk becomes one number, and then the chain of and is done from left to right. In written working we still do the chunks from left to right, so that it is easy to follow.
Write one operation per line, starting each new line with , so that anyone can follow and check your working.
Why agree at all? If people read the same line in different ways, the line is useless. A bill, a recipe, a computer program and a bridge design all depend on one line having one meaning.
Why this order? It matches what the symbols stand for. In , the is one chunk: four sandwiches at $5. A power is a chunk of repeated multiplication, so it holds together even more tightly. Brackets are how we say βthis part is a chunk tooβ. Writing the bill as without extra brackets only works because everyone agrees that multiplication goes first.
Why left to right? Subtraction and division care about order. means βtake 4 away, then add 3β, which is . Doing first would mean taking away 7. In the same way, means βshare into 4, then doubleβ: , not .
- BIDMAS / PEMDAS. You may meet these letter-words (Brackets, Indices, Division, Multiplication, Addition, Subtraction). They hide a trap: the letters put D before M (or M before D) and A before S, but these pairs are on the same level, done from left to right. So , not , and , not . Learn the order of the four steps, not the word.
- but . Look for the brackets.
- A power is not a multiplication by the index: , not .
- Keep the brackets round a negative number after an operation sign: write , never .
- Calculators differ. Test yours with : if it shows instead of , it does not follow the agreed order, so put in brackets or do one step at a time.
Two ways to work out (β2)β΅
Way 1: One factor at a time
, then , then , then .
Way 2: Sign first, then size
The index is odd, so there are five negative factors: the answer is negative. The size is . So .
Which is neater?
Both give . Way 2 is neater, especially for bigger indices: imagine one factor at a time! Way 1 is a good check while the sign rule is new. Sensible? An odd number of negatives must give a negative answer β
One operation per line
Work out .
Step 1: Brackets
(brackets: )
Step 2: Powers
(power: )
Step 3: Γ and Γ·, from left to right
(multiply: )
(divide: )
Step 4: + and β, from left to right
(subtract: )
(add: )
Step 5: Is it sensible?
We start at and take away , so we land below zero; then we add a negative, which takes us lower still. A negative answer a little below fits β. Check on a scientific calculator, typing the brackets exactly as written: it shows .
Now try expressions with powers in the explorer. Watch the working build up one line at a time, just like the example.
Work out .
Work out . Write one operation per line.
Is the same as ? Work both out. Can you find two different whole numbers and where and are equal? (There is a famous pair. Try small numbers.)
Work out .
Paving a courtyard
A school has a square courtyard that measures 9 m by 9 m. In the middle stands a fountain on a square base 3 m by 3 m. The rest of the courtyard will be covered with paving slabs. (Prices are illustrative.)
- Each square metre of slabs costs $15.
- Delivery costs $40, once.
Write each calculation as one line of maths, then work it out one operation per line.
How many square metres of the courtyard need slabs? (The whole courtyard minus the fountain base.)
What is the total cost, including delivery? Write it as one line, , and work it out.
A builder types the whole job into a spreadsheet as
What number does the spreadsheet show? (It follows the agreed order.)
Fix the builder's line by adding one pair of brackets, so that it gives the correct total cost. Explain why the brackets are needed, and say whether the final cost is reasonable.
π Work it out in your notebook first β sketch, calculate, then write your answer here in full sentences. A model answer appears after you submit, so you can compare.
Spreadsheets and programming languages also multiply before they add: a spreadsheet formula like =40+15*72 gives 1120. But be careful with a minus sign in front of a power: common spreadsheets give for =-3^2, not . When a machine reads your maths, use brackets to say exactly what you mean. Powers will come back again and again: in areas (square metres, ) and volumes (cubic metres, ), and later very large and very small numbers written with powers of 10, like the distance to the Sun or the size of a cell.
Explain to a friend, in your own words, why is and not .
Which mistake from today's spot-the-mistake questions do you think you are most likely to make? What will you do to catch it?