Emzini weCodeUmhlahlandlelaMathematics 7.7 · The Language of Algebra NoticesAll books

Chapter 7/7.7Foundationabout 7 min

Algebra as a tool for proof

Try this first

Add three consecutive whole numbers, such as 6 + 7 + 8 or 20 + 21 + 22. Divide each total by 3. What do you notice? Can you explain why it must always happen?

Each total is a multiple of 3, and dividing by 3 gives the middle number. Checking examples cannot cover every case. Algebra can.

Definition

identity An identity is a statement that two expressions are equal for every value of the letters in them. For example, 3(x + 5) = 3x + 15 is an identity, because it is true whatever number x is.

To prove a fact about all numbers, write a general number with a letter, and show that the expression has the form you want.

Key fact

The sum of three consecutive whole numbers is a multiple of 3.

Proof

Call the smallest number n. Then the next two are n + 1 and n + 2. Their sum is n + (n + 1) + (n + 2) = 3n + 3 = 3(n + 1). This is 3 times a whole number, so it is a multiple of 3. In fact it is 3 times the middle number, n + 1.

Key fact

The sum of two odd numbers is even.

Proof

An odd number is one more than an even number, so it can be written 2a + 1 for some whole number a. A second odd number is 2b + 1, using a different letter, because the two numbers may be different. Their sum is 2a + 1 + 2b + 1 = 2a + 2b + 2 = 2(a + b + 1). This is 2 times a whole number, so it is even.

Common mistake

Writing both odd numbers as 2n + 1. That would prove the fact only for an odd number added to itself. Different numbers need different letters.

"Think of a number" tricks. Try this on a friend. "Think of a number. Double it. Add 10. Halve the result. Take away the number you first thought of. Your answer is 5." It works every time. Call the number n, and picture it as a bag holding an unknown number of counters.

Why "think of a number" always ends in 5The bag stands for the number. At the end it is taken away, and 5 counters arealways left.1THINK OF A NUMBER2DOUBLE IT3ADD 104HALVE IT5TAKE AWAY nnn2n2n + 10n + 55
Figure 7.4 Picture the unknown number as a bag of counters. At the last step the bag disappears, so the answer cannot depend on it.

Doubling gives 2n, adding 10 gives 2n + 10, halving gives n + 5, and taking away n leaves 5. The chosen number disappears, so the answer is always 5.

Digit proofs. A number with digits a, b and c is 100a + 10b + c, just as 348 = 3 × 100 + 4 × 10 + 8 in Chapter 3. This is the key to every proof about digits.

Worked example 7.10

Prove that a two digit number minus the number with its digits reversed is always a multiple of 9.

Let the number have tens digit a and units digit b.
It is 10a + b, and its reversal is 10b + a.
The difference is (10a + b) − (10b + a) = 9a − 9b = 9(a − b), which is a multiple of 9.
For example, 83 − 38 = 45 = 9 × 5, and 8 − 3 = 5.

Now try one yourself

Solving the 1,089 problem. Take a three digit number with digits a, b, c, where a is larger than c by at least 2. The number is 100a + 10b + c and its reversal is 100c + 10b + a. Their difference is

(100a + 10b + c) − (100c + 10b + a) = 99a − 99c = 99(a − c)

Call k = a − c, a whole number from 2 to 9. So the difference is one of 198, 297, 396, 495, 594, 693, 792 and 891. In each, the middle digit is 9 and the outer digits add to 9. Algebra shows why: 99k = 100k − k = 100(k − 1) + 90 + (10 − k). So the digits of the difference are k − 1, 9 and 10 − k.

Reversing gives 100(10 − k) + 90 + (k − 1). Now add the difference and its reversal:

100(k − 1) + 100(10 − k) + 90 + 90 + (10 − k) + (k − 1)

= 100 × 9 + 180 + 9 = 1,089

The k has vanished, just like the friend's number in the "think of a number" trick, so the answer is always 1,089. The condition matters: if a and c differ by 1, the difference is 99, a two digit number, and the trick breaks.

Check your understanding 7.7

  1. Prove that the sum of any two even numbers is even.
    Show answerHide answer
    Write them as 2a and 2b. The sum is 2a + 2b = 2(a + b), which is even.
  2. Prove that the sum of five consecutive whole numbers is a multiple of 5.
    Show answerHide answer
    n + (n + 1) + (n + 2) + (n + 3) + (n + 4) = 5n + 10 = 5(n + 2), a multiple of 5.
  3. "Think of a number. Add 3. Multiply by 4. Subtract 12. Divide by your original number." Show that the answer is always 4 (as long as the number is not 0).
    Show answerHide answer
    n → n + 3 → 4n + 12 → 4n → 4n ÷ n = 4.
  4. Prove that a two digit number plus its reversal is a multiple of 11.
    Show answerHide answer
    (10a + b) + (10b + a) = 11a + 11b = 11(a + b).