Skip to content

working a formula out with numbers

foundations

the puzzle

The distance round a rectangle ww wide and hh high is 2(w+h)2(w + h). How far is it round one 7 wide and 2 high?

a worked example

Put 7 where ww is and 2 where hh is in 2(w+h)2(w + h), then work it out.

  1. Copy the formula out with each number where its letter was, each in brackets. 2((7)+(2))2((7) + (2)).
  2. Work out the inside first. 7+2=97 + 2 = 9, so it is 2(9)2(9).
  3. A number before a bracket multiplies it, just as 2w2w is 2×w2 \times w. 2×9=182 \times 9 = 18, so the distance round is 18.
stepwhat is written
the formula2(w+h)2(w + h)
numbers in2((7)+(2))2((7) + (2))
inside first2(9)2(9)
multiply18
The rectangle's formula, from letters to one number, a line at a time.

how it works

Putting a number where a letter was is called substituting. Fill in every copy of every letter before you work anything out. In n(n+2)n(n + 2) with n=3n = 3, both copies take 3: (3)((3)+2)(3)((3) + 2). The bracket is 5, so it is (3)(5)=3×5=15(3)(5) = 3 \times 5 = 15.

nnfilled inworked out
2(2)((2)+2)(2)((2) + 2)2×4=82 \times 4 = 8
3(3)((3)+2)(3)((3) + 2)3×5=153 \times 5 = 15
4(4)((4)+2)(4)((4) + 2)4×6=244 \times 6 = 24
Both copies of n in n(n + 2) take the same number every time.

Where a letter stands alone, as in w+hw + h, brackets round a positive number change nothing. After a number they keep the two apart: 2w2w with w=7w = 7 is 2(7)=142(7) = 14, never 27. Round a negative number, always keep them. The next section shows why.

Then find the answer a second way. For the rectangle, walk round it adding its four sides: 7+2+7+2=187 + 2 + 7 + 2 = 18. Both ways give 18.

in symbols

Take 4k4k with k=−5k = {-5}. With brackets it is 4(−5)4({-5}), four lots of minus 5, which is −20-20.

Drop the brackets and you have written 4−54 - 5, a take away, which gives −1-1. The minus has come loose from the 5.

After a minus sign, keep them too. 10−k10 - k with k=−6k = {-6} is 10−(−6)10 - ({-6}). Taking away minus 6 adds 6, so it is 16. Lose the minus of −6-6 and you get 10−6=410 - 6 = 4, which is wrong.

−20−15−10−504−5−5−5−5
Four lots of minus 5 is four hops of 5 to the left of 0, landing on minus 20.

your turn

Work each one out. Where there is a box, type your answer and check it. Each exercise's worked answer opens under it.

exercise 1

Work out 12−(w−3)12 - (w - 3) with w=8w = 8.

A number, like 13, 9.5 or 19/2.

worked answer
  1. Put 8 in the bracket. 12−((8)−3)12 - ((8) - 3).
  2. Work out the bracket. 8−3=58 - 3 = 5.
  3. Take it away. 12−5=712 - 5 = 7.

Check it another way: Taking away 8−38 - 3 takes away 3 less than 8. So take away 8, then give 3 back: 12−8+3=712 - 8 + 3 = 7.

exercise 2

Work out 2p−203−q\frac{2p - 20}{3 - q} with p=4p = 4 and q=−1q = {-1}. Mind the signs.

A number, like 13, 9.5 or 19/2.

worked answer
  1. The bar divides the top by the bottom, so work out each first.
  2. The top. 2(4)−20=8−20=−122(4) - 20 = 8 - 20 = {-12}.
  3. The bottom. 3−(−1)3 - ({-1}). Taking away minus 1 adds 1, so it is 4.
  4. Divide. −12÷4=−3-12 \div 4 = {-3}, since four lots of −3-3 make −12-12.

Check it another way: Multiply back. 4×(−3)=−124 \times ({-3}) = {-12}, which is the top.

exercise 3

A cinema charges 12 dollars an adult and 7 dollars a child. Tickets for aa adults and cc children cost 12a+7c12a + 7c dollars.

A number, like 13, 9.5 or 19/2.

A number, like 13, 9.5 or 19/2.

worked answer
  1. 2 adults and 3 children. 12(2)+7(3)=24+21=4512(2) + 7(3) = 24 + 21 = 45.
  2. 1 adult and 4 children. 12(1)+7(4)=12+28=4012(1) + 7(4) = 12 + 28 = 40.

Check it another way: Count the second one ticket by ticket: 12+7+7+7+7=4012 + 7 + 7 + 7 + 7 = 40.

exercise 4

Work out 7−3a7 - 3a when aa is −4-4.

A number, like 13, 9.5 or 19/2.

worked answer
  1. Put −4-4 in brackets where aa is. 7−3(−4)7 - 3({-4}).
  2. Multiply first. 3×(−4)=−123 \times ({-4}) = {-12}, so it is 7−(−12)7 - ({-12}).
  3. Taking away −12-12 adds 12. 7+12=197 + 12 = 19.
67891011121314151617181920+12
Taking away minus 12 is a hop of 12 to the right, from 7 to 19.

Check it another way: 3a3a is a+a+aa + a + a, so take away aa three times. 7−(−4)−(−4)−(−4)=7+4+4+4=197 - ({-4}) - ({-4}) - ({-4}) = 7 + 4 + 4 + 4 = 19.

exercise 5

When nn people each shake hands once with everyone else, there are n(n−1)2\frac{n(n - 1)}{2} handshakes. How many are there for 6 people?

A number, like 13, 9.5 or 19/2.

worked answer
  1. Put 6 in both places. (6)((6)−1)2\frac{(6)((6) - 1)}{2}.
  2. Work out the bracket. 6−1=56 - 1 = 5, so it is 6×52\frac{6 \times 5}{2}.
  3. 6×5=306 \times 5 = 30, and 30÷2=1530 \div 2 = 15.

Check it another way: Call the people A to F. A shakes 5 hands, B 4 more, C 3 more, D 2 more, E 1 more. 5+4+3+2+1=155 + 4 + 3 + 2 + 1 = 15.