N3 - Inverse operations and order of operations

N3 - Inverse operations and order of operations

The same numbers can give different answers when you change the order of the operations. You will learn which operations come first, how brackets, powers, roots and fraction bars group a calculation, and how inverse operations undo a process. You will also use cancellation to make a calculation smaller before doing it.

Operations that undo each other

Two friends work out 18−6÷3×218 - 6 \div 3 \times 2. One gets 88 and the other gets 1414. Can both answers be right? The expression needs a shared reading rule, just as a sentence needs punctuation. We will settle it once that rule is in place.

You already know

You can add, subtract, multiply and divide positive and negative numbers. A multiplication checks a division, and an addition checks a subtraction: 42÷6=742 \div 6 = 7 because 7×6=427 \times 6 = 42.

If you add 88, subtracting 88 takes you back. If you multiply by 55, dividing by 55 takes you back. These are inverse operations. To undo a chain, start with its last operation, because that is the one acting on the final result.

[DIAGRAM: asset_name: Undoing a two-step number machine; asset_slug: aqa8300_n19_inverse_machine; caption: Multiply by 4 then add 7 goes from 9 to 43; undoing subtracts 7 then divides by 4; description: A top row of three boxes shows 9, 36 and 43 joined left to right by multiply by 4 and add 7. A lower row shows 9, 36 and 43 joined right to left by divide by 4 and subtract 7. Blue arrows show the forward route and sage arrows the reverse route.]
Multiply by 4 then add 7 goes from 9 to 43

The reverse route must use the reverse order. Starting at 4343, dividing by 44 first would undo a multiplication that happened before the later addition; it would not return 99.

Inverse operations

Operations that undo each other. Addition and subtraction of the same number form an inverse pair. Multiplication and division by the same non-zero number form another pair. Dividing by zero is undefined, so multiplication by zero has no inverse operation that recovers the starting number.

An operation can be checked by asking whether its inverse restores the input. These inverse relationships are not on the formulae sheet: learn them.

Worked example 1: undoing one step

Question. A number is multiplied by 66. The result is 5454. Work out the starting number. Non-calculator.

Plan. Undo multiplication by 66 using division by 66.

starting number=54÷6inverse operation=9division fact\begin{aligned} \text{starting number} &= 54 \div 6 && \text{inverse operation}\\ &= 9 && \text{division fact} \end{aligned}

Why divide? You need the amount in one of the six equal groups, not six more groups.

Answer. 99.

Check. 9×6=549 \times 6 = 54.

The next example changes only the length of the process: an addition comes after the multiplication. Undo that last step first.

Worked example 2: undoing two steps

Question. A number is multiplied by 66, then 55 is added. The result is 5959. Work out the starting number. Non-calculator.

Plan. Subtract 55, then divide by 66.

59−5=54undo the last step54÷6=9undo the first step\begin{aligned} 59 - 5 &= 54 && \text{undo the last step}\\ 54 \div 6 &= 9 && \text{undo the first step} \end{aligned}

Why this order? The 55 was added to the complete product, so it must be removed before the product is divided.

Answer. 99.

Check. 9×6=549 \times 6 = 54, then 54+5=5954 + 5 = 59.

There is a boundary case worth noticing. Multiplying either 33 or 100100 by zero gives zero. The output no longer tells you which input was used.

Watch out

Wrong: undo “multiply by 66, then add 55” by dividing by 66, then subtracting 55. Right: subtract 55, then divide by 66. Undo a chain from its end.

In the next chain, change the final amount while keeping the same reverse-order idea.

Reciprocals and cancellation

Some operations can cancel before you calculate. In 27×8÷827 \times 8 \div 8, multiplying and then dividing by 88 undo each other, leaving 2727.

A reciprocal is a number that makes a product of 11. The reciprocal of 55 is 15\frac{1}{5}, because 5×15=15 \times \frac{1}{5} = 1. The reciprocal of 14\frac{1}{4} is 44; the reciprocal of −2-2 is −12-\frac{1}{2}. Zero has no reciprocal, because zero times any number is zero, never 11.

Reciprocal and cancellation

For a non-zero number aa, its reciprocal is 1a\frac{1}{a}, and

a×1a=1a \times \frac{1}{a} = 1

Multiplying by 1a\frac{1}{a} has the same effect as dividing by aa. Multiplication by aa and division by aa cancel when they act on the same complete quantity.

Not on the formulae sheet: learn it.

Cancellation means replacing a factor and its inverse by 11. It does not mean deleting any matching numbers you happen to see.

Worked example 3: cancellation after multiplication

Question. Work out 37×12÷1237 \times 12 \div 12. Non-calculator.

Plan. Cancel the multiplication and division by the same non-zero number.

37×12÷12=37×(12÷12)group the cancelling factors=37×1a number divided by itself=37\begin{aligned} 37 \times 12 \div 12 &= 37 \times (12 \div 12) && \text{group the cancelling factors}\\ &= 37 \times 1 && \text{a number divided by itself}\\ &= 37 \end{aligned}

Why avoid 37×1237 \times 12? That larger product is immediately divided by 1212, so finding it is unnecessary.

Answer. 3737.

Check. The long route gives 444÷12=37444 \div 12 = 37.

The next example changes only the final divisor. It cancels part of the multiplier rather than all of it.

Worked example 4: cancellation that leaves a factor

Question. Work out 37×12÷437 \times 12 \div 4. Non-calculator.

Plan. Divide the factor 1212 by 44 before multiplying by 3737.

37×12÷4=37×(12÷4)same total division=37×3simplify first=111\begin{aligned} 37 \times 12 \div 4 &= 37 \times (12 \div 4) && \text{same total division}\\ &=37 \times 3 && \text{simplify first}\\ &=111 \end{aligned}

Why can 44 divide the 1212? The whole numerator is a product, so dividing one factor by 44 divides that product by 44.

Answer. 111111.

Check. 111×4=444=37×12111 \times 4 = 444 = 37 \times 12.

Addition has its own inverse cancellation: 64+19−19=6464 + 19 - 19 = 64. But in (64+19)÷19(64+19) \div 19, the divisor acts on the whole sum. The +19+19 and ÷19\div19 are not inverses, so they do not cancel.

Watch out

Wrong: (8+6)÷2=8+3=11(8+6) \div 2 = 8+3 = 11, from dividing only the final term. Right: the whole 1414 is divided by 22, giving 77. If you split the division, both terms must be divided: 8÷2+6÷2=4+3=78\div2+6\div2=4+3=7.

The multiplier now has a different cancelling factor. Show the smaller calculation you use.

Which operation comes first?

An expression has one conventional reading. In 5+3×45 + 3 \times 4, the multiplication belongs together: three groups of 44, with 55 added afterwards. That gives 1717, not 3232.

The order of operations is the priority rule for reading a calculation. Brackets come first; powers and roots come next; multiplication and division share a priority; addition and subtraction share the final priority. Work from left to right when operations have the same priority.

PriorityWhat to do
FirstWork out bracketed groups, starting with the innermost
NextEvaluate powers, roots and reciprocals of the indicated quantities
NextMultiply and divide, left to right
LastAdd and subtract, left to right

You may know the reminder BIDMAS or BODMAS. Neither means that division always comes before multiplication, or that addition always comes before subtraction. The equal-priority pairs matter. These conventions are not on the formulae sheet: learn them.

Worked example 5: multiplication before subtraction

Question. Work out 20−3×420 - 3 \times 4. Non-calculator.

Plan. Work out the product before subtracting it.

20−3×4=20−12multiplication first=8then subtraction\begin{aligned} 20 - 3 \times 4 &=20-12 && \text{multiplication first}\\ &=8 && \text{then subtraction} \end{aligned}

Why not 20−320-3 first? Without brackets, the 33 belongs to the multiplication by 44.

Answer. 88.

Check. Subtracting 33 four times from 2020 also gives 88.

The next example changes only one feature: the product includes a division as well. Resolve that equal-priority chain from left to right.

Worked example 6: division and multiplication tie

Question. Work out 20−12÷3×220 - 12 \div 3 \times 2. Non-calculator.

Plan. Complete the division and multiplication left to right, then subtract.

20−12÷3×2=20−4×2division is first in the chain=20−8then multiplication=12subtraction last\begin{aligned} 20 - 12 \div 3 \times 2 &=20-4\times2 && \text{division is first in the chain}\\ &=20-8 && \text{then multiplication}\\ &=12 && \text{subtraction last} \end{aligned}

Why not multiply 33 by 22 first? That would introduce an unwritten group 12÷(3×2)12\div(3\times2), which is a different calculation.

Answer. 1212.

Check. The amount subtracted is twice 12÷312\div3, so it is 88.

The same left-to-right rule applies to addition and subtraction: 10−3+2=7+2=910-3+2=7+2=9, not 10−5=510-5=5. A subtraction sign stays with the quantity being subtracted.

Watch out

Wrong: 24÷6×2=24÷12=224\div6\times2=24\div12=2. Right: 24÷6×2=4×2=824\div6\times2=4\times2=8. Multiplication and division have equal priority.

We can now resolve the opening disagreement. 18−6÷3×2=18−2×2=18−4=1418-6\div3\times2=18-2\times2=18-4=14. The friend who got 88 worked through every sign from left to right, including subtraction too early.

Brackets, powers, roots and grouped expressions

Brackets tell you to treat their contents as one quantity. Powers, root signs and fraction bars also tell you exactly which quantity an operation acts on.

In (3+2)2(3+2)^2, first make 55, then square it: 2525. In 3+223+2^2, square only the 22, giving 3+4=73+4=7. A square means multiply the base by itself; a square root reverses squaring for a non-negative input. For example, 36=6\sqrt{36}=6, because 62=366^2=36. Here we use familiar squares; the full set of powers and roots comes later.

A root bar groups everything underneath it: 9+16=25=5\sqrt{9+16}=\sqrt{25}=5, whereas 9+16=3+16=19\sqrt9+16=3+16=19. A fraction bar groups its complete numerator and denominator: 8+46−2=(8+4)÷(6−2)=3\frac{8+4}{6-2}=(8+4)\div(6-2)=3. The reciprocal of (3+2)(3+2) is 13+2=15\frac{1}{3+2}=\frac15, not 13+2\frac13+2. These notation rules are not on the formulae sheet: learn them.

Worked example 7: a power inside a bracketed calculation

Question. Work out 3×(8−22)3 \times (8-2^2). Non-calculator.

Plan. Resolve the power inside the brackets, finish the brackets, then multiply.

3×(8−22)=3×(8−4)power within the brackets=3×4finish the grouped subtraction=12outside multiplication last\begin{aligned} 3\times(8-2^2) &=3\times(8-4) && \text{power within the brackets}\\ &=3\times4 && \text{finish the grouped subtraction}\\ &=12 && \text{outside multiplication last} \end{aligned}

Why not subtract 22 before squaring? The exponent belongs only to 22, not to 8−28-2.

Answer. 1212.

Check. The bracket equals 44, so three equal groups give 1212.

The next example changes only the squared quantity: a new pair of brackets makes the whole difference the base of the power.

Worked example 8: the brackets change the base

Question. Work out 3×(8−2)23 \times (8-2)^2. Non-calculator.

Plan. Find the bracketed base, square that base, then multiply.

3×(8−2)2=3×62brackets define the base=3×36square the whole 6=108multiply last\begin{aligned} 3\times(8-2)^2 &=3\times6^2 && \text{brackets define the base}\\ &=3\times36 && \text{square the whole }6\\ &=108 && \text{multiply last} \end{aligned}

Why is the answer different? The squared quantity changed from 22 to 8−28-2. Brackets are instructions, not decoration.

Answer. 108108.

Check. Expanding the square as multiplication gives 3×6×6=1083\times6\times6=108.

A minus sign needs the same care: (−4)2=16(-4)^2=16, because both factors are −4-4, but −42=−16-4^2=-16, because the minus is outside the square. Also, 16=4\sqrt{16}=4, not ±4\pm4: the square-root symbol means the non-negative square root. Solving an equation with a square is a later, different task.

Here is an unusual coincidence: 1+2+3=61+2+3=6 and 1×2×3=61\times2\times3=6. The same trick fails when you include 44: 1+2+3+4=101+2+3+4=10, while 1×2×3×4=241\times2\times3\times4=24. Agreeing in one example does not make two operations interchangeable.

Watch out

Wrong: 9+16=9+16=7\sqrt{9+16}=\sqrt9+\sqrt{16}=7. Right: work out the grouped sum first, giving 25=5\sqrt{25}=5. A square root does not split across an addition.

Read the brackets before calculating. The next check changes the numbers from Worked example 8.

Quick Recap

  • Inverse operations undo each other; undo a chain in reverse order.
  • The reciprocal of a non-zero number aa is 1a\frac1a. Cancel inverse operations only when they act on the same quantity.
  • Brackets come first, then powers and roots, then multiplication and division, then addition and subtraction.
  • Equal-priority operations go from left to right. Division does not outrank multiplication.
  • Brackets, fraction bars and root bars define complete groups; an exponent applies only to its stated base.

The opening calculation has the single conventional value 1414: complete 6÷3×26\div3\times2 before subtracting it from 1818.