Math Detours · Grade 8 · Around the corner · 18

Four weights that weigh anything to 40

Weights of 1, 3, 9 and 27 on a two-pan balance measure every whole number up to 40. The reason is a number system with digits −1, 0, 1.

Name ____________________Date ____________

Tonight's idea

On a two-pan balance a weight can go in either pan. Put the parcel on the left. A weight on the right adds to what you are measuring; a weight on the left, beside the parcel, subtracts. So each weight is used with a sign: \(+1\), \(-1\), or \(0\) if it stays in the box.

20 9 1 27 3 20 + 9 + 1 = 30 27 + 3 = 30 20 = 27 − 9 + 3 − 1
Weighing 20. The 9 and the 1 sit beside the parcel, so they count as negative.

Which whole numbers can be written as \(\pm 27 \pm 9 \pm 3 \pm 1\), with terms allowed to be missing? This is place value like ordinary base 3, but with digits \(-1, 0, 1\) instead of \(0, 1, 2\): balanced ternary.

Why is nothing skipped? The weight 1 alone weighs \(-1, 0, 1\). Add the 3: the same three values, shifted by \(+3\), by \(-3\), or not at all, give \(-4\) to \(4\) with no gap. Add the 9: \(-13\) to \(13\). Add the 27: \(-40\) to \(40\). Each new weight is one more than twice the old maximum, which is exactly what makes the three shifted ranges meet edge to edge.

Watch one: how to place the weights for 20

Divide by 3 and keep remainders, as for ordinary base 3, with one new rule: a remainder of 2 is written as \(3 - 1\), so the digit is \(-1\) and you carry 1.

\[20 = 3 \cdot 6 + 2 \;\Rightarrow\; \text{digit } {-1}, \text{ carry to } 7.\qquad 7 = 3 \cdot 2 + 1 \;\Rightarrow\; \text{digit } 1.\]

\[2 = 3 \cdot 0 + 2 \;\Rightarrow\; \text{digit } {-1}, \text{ carry to } 1.\qquad 1 \;\Rightarrow\; \text{digit } 1.\]

Reading the digits from last to first: \(1, -1, 1, -1\) for the places \(27, 9, 3, 1\). So \(20 = 27 - 9 + 3 - 1\): the 27 and the 3 go opposite the parcel, the 9 and the 1 beside it. That is the figure above.

Your turn

  1. Say which pan each weight goes in to weigh (a) 5, (b) 7, (c) 13.
  2. Use the divide-by-3 method to write 25 and 31 in balanced ternary. Give the digits for the places 27, 9, 3, 1, then check by adding.
  3. Each of the four weights can be in the left pan, the right pan, or the box. (a) How many arrangements are there in total? (b) Explain why that means no set of four weights, whatever their sizes, can weigh more than 40 different whole numbers.
  4. A fifth weight is added so that the set weighs every whole number from 1 up to as large a total as possible, with no gaps. What should it be, and what is the new largest weighable number? Show how to weigh 100 and 50.

Stretch: one pan or two

Suppose weights may only go in the pan opposite the parcel. Which four weights now cover the most, and up to what number? Then: a shop needs to weigh every whole number of grams up to 1000. How many weights does it need with the one-pan rule, and how many with the two-pan rule?

Answers

  1. (a) \(5 = 9 - 3 - 1\): the 9 opposite the parcel, the 3 and 1 beside it. (b) \(7 = 9 - 3 + 1\): 9 and 1 opposite, 3 beside. (c) \(13 = 9 + 3 + 1\): all three opposite.
  2. \(25 = 3 \cdot 8 + 1\) (digit 1); \(8 = 3 \cdot 2 + 2\) (digit \(-1\), carry to 3); \(3 = 3 \cdot 1 + 0\) (digit 0); \(1\) (digit 1). Digits \(1, 0, -1, 1\), and \(27 - 3 + 1 = 25\). For 31: \(31 = 3 \cdot 10 + 1\) (digit 1); \(10 = 3 \cdot 3 + 1\) (digit 1); \(3\) (digit 0); \(1\) (digit 1). Digits \(1, 0, 1, 1\), and \(27 + 3 + 1 = 31\).
  3. (a) \(3 \times 3 \times 3 \times 3 = 81\). (b) One arrangement is "everything in the box", which weighs 0. The other 80 pair up: swap the two pans and a weighing of \(n\) becomes a weighing of \(-n\). So at most 40 of them give a positive number, and 1, 3, 9, 27 hits all 40. No four weights can do better.
  4. Add 81, one more than twice 40, so the ranges \(-40\) to \(40\), \(41\) to \(121\) and \(-121\) to \(-41\) meet with no gap. New maximum \(121\). \(100 = 81 + 27 - 9 + 1\); \(50 = 81 - 27 - 3 - 1\).

Stretch. With one pan each weight is used or not: \(2^4 = 16\) arrangements, one of them empty, so at most 15 values, and 1, 2, 4, 8 reaches all of them (binary). For 1000: one-pan needs \(2^k - 1 \ge 1000\), so \(k = 10\) weights (up to 1023). Two-pan needs \((3^k - 1)/2 \ge 1000\), so \(k = 7\) weights (up to 1093). Allowing the second pan saves three weights.

← PreviousNext: Trapping π between polygons →