1F

Order of operations

The order of operations for whole numbers: brackets first, then multiplication and division from left to right, then addition and subtraction from left to right.

What is $2 + 3 \times 4$? If you add first you get $20$. If you multiply first you get $14$. Both can't be right, so mathematicians agreed on an order. Everyone, and every scientific calculator, uses it.

The rules

So $2 + 3 \times 4 = 2 + 12 = 14$.

Equal priority: left to right

Multiplication and division are a team with equal rank, and so are addition and subtraction. When only one team is left, go from left to right, like reading.

Example 1●

Evaluate $36 \div 4 \times 3$ and $20 - 8 + 5$.

$36 \div 4 \times 3 = 9 \times 3 = 27$
Same rank, so left to right: divide first because it comes first.
$20 - 8 + 5 = 12 + 5 = 17$
Again left to right: subtract first.

Brackets

Brackets let you override the usual order. Do what's inside them first. If there are brackets inside brackets, start with the innermost. Square brackets $[\ ]$ are often used for the outer pair so they are easy to tell apart.

Example 2●●

Evaluate $50 - [3 \times (9 - 4) + 6] \div 3$.

$= 50 - [3 \times 5 + 6] \div 3$
Innermost brackets first.
$= 50 - [15 + 6] \div 3 = 50 - 21 \div 3$
Inside the square brackets: multiply before adding.
$= 50 - 7 = 43$
Division comes before subtraction.

A fraction bar acts like brackets around the top and around the bottom: $\dfrac{18 + 6}{4 \times 2} = \dfrac{24}{8} = 3$.

Turning words into a calculation

Example 3●●

Jo buys $3$ drinks at $\$4$ each and a pizza for $\$18$. She splits the total evenly with a friend. Write one calculation and find what each person pays.

$(3 \times 4 + 18) \div 2$
The total cost must be found before halving, so it goes in brackets.
$= (12 + 18) \div 2 = 30 \div 2 = 15$
Each pays $\$15$.

Your turn

Evaluate $4 \times [20 - (6 + 2) \times 2]$.

Show the working

Innermost: $6 + 2 = 8$. Inside the square brackets, multiply first: $8 \times 2 = 16$, then $20 - 16 = 4$. Finally $4 \times 4 = 16$.

Practice
  1. Evaluate $2 + 3 \times 4$.

  2. Evaluate $20 - 8 + 5$.

  3. $36 \div 4 \times 3 =$

  4. Evaluate $(7 + 3) \times 5 \div 2$.

  5. Evaluate $40 - 18 \div 2$.

  6. Evaluate $\dfrac{18 + 6}{4 \times 2}$.

  7. Evaluate $50 - [3 \times (9 - 4) + 6] \div 3$.

  8. Jo buys $3$ drinks at $\$4$ and a pizza for $\$18$, then splits the total with a friend. Which calculation gives each person's share?

  9. Challenge: Evaluate $4 \times [20 - (6 + 2) \times 2]$.

  10. Challenge: Insert one pair of brackets to make $5 + 4 \times 6 - 1$ as large as possible. What is the largest value you can get?

Formula sheet