1.03a - Order of operations

1.03a - Order of operations

Why does 6+2×56+2\times5 mean 1616, rather than 4040? Learn the agreed order for brackets, powers, roots and the four operations, so that a calculation has one clear meaning.

Powers before products

If six tickets cost £1 each and two tickets cost £5 each, what is the total cost? The calculation is 6+2×5=166+2\times5=16: the two £5 tickets form a group before their cost is added to £6. Working strictly from left to right would instead price eight £5 tickets.

An expression is a written calculation, such as 6+2×56+2\times5. The agreed order of operations tells you which pieces to calculate first. Powers and roots describe a single number within that expression; evaluate them before multiplying or adding other terms.

Key idea

Work inside brackets first. Then evaluate powers, roots and reciprocals. Then do multiplication and division. Finally do addition and subtraction. Multiplication and division share a priority; addition and subtraction share a priority.

For example, 16=4\sqrt{16}=4, and 3−1=133^{-1}=\frac13, the reciprocal of 33. A negative index asks for a reciprocal; it does not make the answer negative. These values must be found before the surrounding products. Division by zero remains undefined whatever the order of operations.

Worked example 1: a power within a product

Question. Work out 12×32+1612\times3^2+\sqrt{16}.

Plan. Evaluate the power and root, then multiply, then add.

12×32+16=12×9+4power and root first=108+4multiply=112add last\begin{aligned} 12\times3^2+\sqrt{16} &= 12\times9+4 && \text{power and root first} \\ &=108+4 && \text{multiply} \\ &=112 && \text{add last} \end{aligned}

Answer. 112112.

Check. Nine groups of twelve make 108108; adding the root, 44, gives 112112. Squaring 44 also gives the original radicand, 1616.

Now change just the index from 22 to −1-1. The order stays the same, but the powered number becomes a reciprocal.

Worked example 2: a reciprocal within a product

Question. Work out 12×3−1+1612\times3^{-1}+\sqrt{16}.

Plan. Replace the negative power with its reciprocal before multiplying.

12×3−1+16=12×13+4reciprocal and root=4+4multiplying by 13 divides by 3=8add last\begin{aligned} 12\times3^{-1}+\sqrt{16} &=12\times\frac13+4 && \text{reciprocal and root} \\ &=4+4 && \text{multiplying by }\frac13\text{ divides by 3} \\ &=8 && \text{add last} \end{aligned}

Answer. 88.

Check. Multiplying 44 by 33 restores 1212, so the reciprocal product is 44, not −36-36.

Keeping each stage on its own line makes the chosen order visible.

Watch out

6+2×5=8×56+2\times5=8\times5 is wrong: it performs the addition too early. The correct first step is 6+106+10.

Use the same priorities with new numbers.

Working inside brackets

Brackets turn several operations into one grouped quantity. In (6+2)×5(6+2)\times5, all eight tickets cost £5, so the total is £40. These brackets deliberately change the opening calculation.

Apply the same priority rules inside brackets. If there are brackets within brackets, start with the innermost group. A fraction bar also groups its whole numerator and whole denominator: 8+42+1=(8+4)÷(2+1)\frac{8+4}{2+1}=(8+4)\div(2+1). A root sign groups everything beneath its bar: 9+16=25=5\sqrt{9+16}=\sqrt{25}=5, whereas 9+16=19\sqrt9+16=19.

Worked example 3: calculating within a group

Question. Work out 4×(3+22)4\times(3+2^2).

Plan. Finish the bracket, using the power first, then multiply by four.

4×(3+22)=4×(3+4)power inside bracket=4×7finish bracket=28multiply outside\begin{aligned} 4\times(3+2^2)&=4\times(3+4) && \text{power inside bracket} \\ &=4\times7 && \text{finish bracket} \\ &=28 && \text{multiply outside} \end{aligned}

Answer. 2828.

Check. Four groups each containing 3+43+4 have 12+16=2812+16=28 altogether.

Move the closing bracket so that the square applies to the whole sum. Only the grouping changes; that changes the number being squared.

Worked example 4: squaring the whole bracket

Question. Work out 4×(3+2)24\times(3+2)^2.

Plan. Add inside the bracket, square its value, then multiply.

4×(3+2)2=4×52bracket first=4×25square the whole 5=100multiply last\begin{aligned} 4\times(3+2)^2&=4\times5^2 && \text{bracket first} \\ &=4\times25 && \text{square the whole 5} \\ &=100 && \text{multiply last} \end{aligned}

Answer. 100100.

Check. (3+2)2(3+2)^2 means (3+2)×(3+2)=5×5=25(3+2)\times(3+2)=5\times5=25, and four copies make 100100.

You can also choose brackets to make an equality true. For instance, inserting one pair into 3×8−2=183\times8-2=18 gives 3×(8−2)=183\times(8-2)=18. Check your proposed grouping by evaluating it; keep all the original numbers and operations.

Watch out

(3+2)2(3+2)^2 is 2525, not 3+22=73+2^2=7. The position of the bracket decides what the index applies to.

Follow the grouping before looking at the outside multiplier.

Operations with equal priority

Multiplication does not automatically come before division. They occupy the same level, so work from left to right when neither is grouped by brackets. Addition and subtraction also share a level.

Thus 18−7+218-7+2 means (18−7)+2=13(18-7)+2=13. Doing the addition first gives 18−(7+2)=918-(7+2)=9, which silently inserts different brackets. Memory aids for operation order can be useful, but their letter order must not separate operations that share a priority.

Worked example 5: division followed by multiplication

Question. Work out 24÷6×224\div6\times2.

Plan. Work along the equal-priority operations from left to right.

24÷6×2=4×2leftmost operation first=8then multiply\begin{aligned} 24\div6\times2&=4\times2 && \text{leftmost operation first} \\ &=8 && \text{then multiply} \end{aligned}

Answer. 88.

Check. 24÷624\div6 is 44; doubling that quotient gives 88.

Now bracket the two numbers after the division sign. That single change makes the entire product the divisor.

Worked example 6: a grouped divisor

Question. Work out 24÷(6×2)24\div(6\times2).

Plan. Finish the divisor in brackets before dividing.

24÷(6×2)=24÷12bracket has priority=2divide by the whole 12\begin{aligned} 24\div(6\times2)&=24\div12 && \text{bracket has priority} \\ &=2 && \text{divide by the whole 12} \end{aligned}

Answer. 22.

Check. 2×12=242\times12=24, so 22 is the quotient when the divisor is 1212.

Writing a fraction bar would also make the distinction clear: 246×2=8\frac{24}{6}\times2=8, while 246×2=2\frac{24}{6\times2}=2.

Watch out

Do not treat 24÷6×224\div6\times2 as 24÷(6×2)24\div(6\times2). The original calculation contains no instruction to multiply the divisor by two first.

The brackets in the next calculation are intentional.

Negative signs and powers

A negative base and a negative index mean different things. In (−3)2(-3)^2, the base is the whole negative number; in 3−23^{-2}, the base is positive and the negative index asks for a reciprocal.

Without brackets, −32-3^2 means the negative of 323^2. The power is evaluated before that leading minus sign: −32=−(3×3)=−9-3^2=-(3\times3)=-9. By contrast, (−3)2=(−3)×(−3)=9(-3)^2=(-3)\times(-3)=9. With an odd positive index, (−3)3=−27(-3)^3=-27, because three negative factors have a negative product.

Worked example 7: a minus outside the power

Question. Work out −42+5-4^2+5.

Plan. Square four, apply the leading minus, then add five.

−42+5=−(4×4)+5power before the minus=−16+5take the negative=−11add five\begin{aligned} -4^2+5&=-(4\times4)+5 && \text{power before the minus} \\ &=-16+5 && \text{take the negative} \\ &=-11 && \text{add five} \end{aligned}

Answer. −11-11.

Check. Subtracting 55 from −11-11 gives −16-16, the negative square required before the addition.

Add brackets around negative four. This changes only the base of the square.

Worked example 8: a negative base

Question. Work out (−4)2+5(-4)^2+5.

Plan. Multiply two copies of negative four, then add five.

(−4)2+5=(−4)×(−4)+5the whole base is repeated=16+5two negative factors=21add five\begin{aligned} (-4)^2+5&=(-4)\times(-4)+5 && \text{the whole base is repeated} \\ &=16+5 && \text{two negative factors} \\ &=21 && \text{add five} \end{aligned}

Answer. 2121.

Check. Subtracting 55 gives 1616, which is the square of negative four.

This explains the opening puzzle: symbols describe a structure, rather than a list to process blindly. A pair of brackets can change the structure and the answer, even though every digit stays the same.

Watch out

4−2=142=1164^{-2}=\frac1{4^2}=\frac1{16}, not −16-16. The sign in the index requests a reciprocal; a minus outside the power requests a negative value.

Identify the whole base before squaring.

Quick Recap

  • Finish groups before operations outside them; a fraction bar and a root bar also group terms.
  • Evaluate powers, roots and reciprocals before products and quotients.
  • Work left to right within multiplication/division, and within addition/subtraction.
  • Distinguish a negative base, a leading minus and a negative index.

The original total is 6+2×5=166+2\times5=16, because the two £5 tickets cost £10 before their cost is added to £6.