Emzini weCodeUmhlahlandlelaMathematics Questions NoticesAll books

Chapter 15about 9 min

Questions

Write your working in your exercise book. Mark your work from the answers only after you have tried.

Fluency drill

Time yourself. Aim to finish in 6 minutes with every answer correct. Repeat it on another day.

  1. U = {1, 2, ..., 8}, A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. List
    1. (a)A ∩ B
    2. (b)A ∪ B
    3. (c)A′
    4. (d)(A ∪ B)′
    Show answerHide answer
    1. (a){3, 4}
    2. (b){1, 2, 3, 4, 5, 6}
    3. (c){5, 6, 7, 8}
    4. (d){7, 8}
  2. n(A) = 15, n(B) = 10 and n(A ∩ B) = 4. Find n(A ∪ B).
    Show answerHide answer
    21
  3. Work out
    1. (a)5!
    2. (b)7!/5!
    3. (c)C(5, 2)
    4. (d)C(6, 3)
    Show answerHide answer
    1. (a)120
    2. (b)42
    3. (c)10
    4. (d)20
  4. How many outfits from 4 shirts and 3 skirts?
    Show answerHide answer
    12
  5. True or false:
    1. (a)2 is prime or 2 is odd
    2. (b)2 is prime and 2 is odd
    3. (c)not (3 + 3 = 6)
    Show answerHide answer
    1. (a)True
    2. (b)False
    3. (c)False
  6. How many ways can 5 people sit in a row?
    Show answerHide answer
    120
  7. How many socks from a drawer of red and blue socks guarantee a matching pair?
    Show answerHide answer
    3

Core

  1. List the elements of
    1. (a){factors of 18}
    2. (b){multiples of 7 between 20 and 50}
    3. (c){even primes}.
    Show answerHide answer
    1. (a){1, 2, 3, 6, 9, 18}
    2. (b){21, 28, 35, 42, 49}
    3. (c){2}
  2. U = {1, 2, ..., 12}, A = {factors of 12} and B = {odd numbers}. List A ∩ B, A ∪ B and A′.
    Show answerHide answer
    A = {1, 2, 3, 4, 6, 12}, B = {1, 3, 5, 7, 9, 11}. A ∩ B = {1, 3}. A ∪ B = {1, 2, 3, 4, 5, 6, 7, 9, 11, 12}. A′ = {5, 7, 8, 9, 10, 11}.
  3. In a class of 40, 25 play football, 18 play cricket and 9 play both. How many play neither?
    Show answerHide answer
    25 + 18 − 9 = 34 play at least one, so 6 play neither.
  4. Write as one statement with "and", "or" or "not", and say whether it is true:
    1. (a)12 is even, 12 is a square
    2. (b)12 is even, 12 is a square, using "or"
    3. (c)the opposite of "12 is a square".
    Show answerHide answer
    1. (a)"12 is even and 12 is a square": false
    2. (b)"12 is even or 12 is a square": true
    3. (c)"12 is not a square": true.
  5. Find a counterexample to "every number that ends in 9 is a square".
    Show answerHide answer
    19 (or 29, 39, ...).
  6. A school uniform has 2 shirts, 3 jerseys and 2 pairs of shoes to choose from. How many different outfits are there?
    Show answerHide answer
    2 × 3 × 2 = 12
  7. How many three letter codes can be made from the 26 letters
    1. (a)if letters may repeat
    2. (b)if they may not?
    Show answerHide answer
    1. (a)263 = 17,576
    2. (b)26 × 25 × 24 = 15,600
  8. In how many ways can first, second and third prizes go to 12 entrants?
    Show answerHide answer
    12 × 11 × 10 = 1,320
  9. In how many ways can a team of 5 be chosen from 9 players?
    Show answerHide answer
    C(9, 5) = 126
  10. Use the pigeonhole principle to explain why, among 367 people, two share a birthday.
    Show answerHide answer
    There are at most 366 possible birthdays (boxes) and 367 people (objects), so some birthday holds two people.

Stretch

  1. In a class of 35, 20 learners have a phone, 18 have a tablet and 7 have neither. How many have both?
    Show answerHide answer
    35 − 7 = 28 have at least one, so both = 20 + 18 − 28 = 10.
  2. Make a truth table for "if P then Q" and for "if not Q then not P", and show that they always agree.
    Show answerHide answer
    Both columns read T, F, T, T for the rows TT, TF, FT, FF.
  3. Write the converse of "if a number is divisible by 6, it is even". Is it true?
    Show answerHide answer
    "If a number is even, it is divisible by 6." False: 4 is a counterexample.
  4. How many plates of three letters and four digits are possible if the letters I and O are not used?
    Show answerHide answer
    243 × 104 = 138,240,000.
  5. How many three digit numbers contain at least one digit 7? (Count those with no 7 first.)
    Show answerHide answer
    Three digit numbers: 900. With no 7: 8 × 9 × 9 = 648 (first digit not 0 or 7). So 900 − 648 = 252.
  6. In how many ways can 4 boys and 3 girls sit in a row if the 3 girls must sit together?
    Show answerHide answer
    Glue the girls into one block: 5 items in 5! = 120 orders, and the girls in 3! = 6 orders inside the block: 720.
  7. A pizza shop offers 6 toppings. How many different pizzas have exactly 3 toppings? How many have 2 or 3?
    Show answerHide answer
    C(6, 3) = 20. C(6, 2) + C(6, 3) = 15 + 20 = 35.
  8. Data. 120 learners were asked about two phone apps. The results are: app X only 35, app Y only 40, both 25.
    1. (a)How many use neither?
    2. (b)What percentage of app Y users also use app X?
    Show answerHide answer
    1. (a)120 − (35 + 40 + 25) = 20
    2. (b)Y users: 65, of whom 25 use X: 25 ÷ 65 = 38.5%.

Challenge

  1. Prove that in any group of people, the number of people who have shaken hands with an odd number of others in the group is even.
    Show answerHide answer
    Add up, over all people, the number of hands each has shaken. Every handshake is counted twice, once by each person, so the total is even. The people with an even count contribute an even amount. So the people with an odd count must also contribute an even total, and a sum of odd numbers is even only when there is an even number of them.
  2. On an island, knights always tell the truth and knaves always lie. A says: "B is a knave." B says: "A and I are the same kind." Which kind is each? Prove there is only one answer.
    Show answerHide answer
    A is a knight and B is a knave. If A is a knight, then B is a knave, so B's statement is false, so A and B are different kinds: consistent. If A is a knave, then B is not a knave, so B is a knight and B's statement is true, so A and B are the same kind: but one is a knave and one a knight, a contradiction. So only the first case is possible.
  3. Prove that C(n, r) = C(n, n − r) in two ways: with the formula, and by a choosing argument.
    Show answerHide answer
    Formula: C(n, n − r) = n!/(n − r)! r!, the same as C(n, r). Argument: choosing the r people who go decides the n − r who stay, and the other way round, so the two counts are equal.
  4. Find a formula for the number of diagonals of a polygon with n sides, and prove it.
    Show answerHide answer
    n(n − 3)/2. Each pair of corners gives a side or a diagonal: C(n, 2) = n(n − 1)/2 pairs, of which n are sides. n(n − 1)/2 − n = n(n − 3)/2. Check: n = 10 gives 35.
  5. How many subsets does a set with n elements have? Prove your answer.
    Show answerHide answer
    2n. To build a subset, decide for each of the n elements whether it is in or out: 2 choices each, so 2 × 2 × ... × 2 = 2n by the multiplication principle. This includes ∅ and the whole set. (This is also the sum of row n of Pascal's triangle.)

Olympiad corner

These problems are meant to be hard. Expect each one to take 20 minutes or more, and some to take days. Work for at least 15 minutes before you read the first hint. If you are still stuck after both hints, leave the problem until tomorrow before you read the solution. Write every solution in full sentences, giving a reason for each step.

O1. How many whole numbers from 1 to 1,000 are divisible by none of 2, 3 and 5?

O2. How many four digit numbers have digits that strictly increase from left to right, such as 1,358?

O3. Ten learners stand in a line, and each holds a card with a whole number on it. Prove that there is always a group of one or more learners standing next to each other whose numbers add up to a multiple of 10.

O4. Nomsa marks five points inside a square of side 2 m (or on its edge). Prove that two of them are at most √2 m apart.

O5. A bag holds 20 red and 15 blue beads. Sipho repeatedly takes out two beads. If they are the same colour, he puts in a red bead from a large heap beside him; if they are different, he puts in a blue bead. He stops when one bead is left. What colour is it? Prove it.

O6. Thandi and Tendai share a bar of chocolate made of 6 by 8 squares. They take turns, and Thandi goes first. A move is to take one piece and break it into two pieces along one line between the squares. The player who cannot move loses. Who wins? Prove that it does not matter how either of them plays.

Show answersHide answers

O1. 266. Let A, B and C be the numbers up to 1,000 divisible by 2, 3 and 5. Then n(A) = 500, n(B) = 333 and n(C) = 200. Numbers divisible by two of them are divisible by 6, 10 or 15: n(A ∩ B) = 166, n(A ∩ C) = 100 and n(B ∩ C) = 66. Divisible by all three means divisible by 30: 33. By inclusion and exclusion, n(A ∪ B ∪ C) = 500 + 333 + 200 − 166 − 100 − 66 + 33 = 734. So 1,000 − 734 = 266 are divisible by none.

How you might have thought of it: in every 30 consecutive numbers exactly 8 are divisible by none of 2, 3, 5 (1, 7, 11, 13, 17, 19, 23, 29). 1,000 = 33 × 30 + 10, giving 33 × 8 = 264, plus 991 and 997 from the last 10: 266. Two methods agree.

O2. 126. The digit 0 cannot appear: it would have to come first, and a four digit number cannot start with 0. So the digits are four different digits from 1 to 9. Once the four digits are chosen there is exactly one way to write them in increasing order. So the count equals the number of ways of choosing 4 digits from 9: C(9, 4) = 126.

A flawed solution to learn from: "9 × 8 × 7 × 6 = 3,024." This counts all ordered choices of four different digits, and each set of four digits appears in 4! = 24 orders, only one of which increases. 3,024 ÷ 24 = 126.

O3. Let Sk be the sum of the numbers held by the first k learners, for k = 1 to 10. If any Sk is a multiple of 10, the first k learners form the group. Otherwise the ten sums leave remainders from 1 to 9 on division by 10: ten objects in nine boxes. So two sums, Si and Sj with i less than j, leave the same remainder, and Sj − Si is a multiple of 10. But Sj − Si is exactly the sum of the numbers of learners i + 1 to j, who stand next to each other.

O4. Cut the square into four squares of side 1 m. Five points in four squares put two in the same small square (a point on a dividing line can be given to either square). The greatest distance between two points of a square of side 1 is its diagonal, √1 + 1 = √2 by Pythagoras. So those two points are at most √2 m apart.

O5. Blue. Watch the number of blue beads. Two reds out, red in: blue unchanged. Two blues out, red in: blue goes down by 2. One of each out, blue in: blue unchanged. So the number of blue beads only ever changes by 0 or 2, and its parity is an invariant. It starts at 15, odd, so it is always odd, and can never be 0. Each step reduces the number of beads by 1, so the process ends with one bead, and since the number of blue beads is odd, that bead is blue.

O6. Thandi, who goes first, always wins, however both play. At the start there is 1 piece. When no move is possible every piece is a single square, so there are 48 pieces. Each move turns one piece into two, adding exactly 1 piece. So every game lasts exactly 47 moves. Since 47 is odd, Thandi makes the last move, and Tendai is then unable to move and loses.

The idea to remember: sometimes a game is not a game at all. An invariant (the number of pieces goes up by exactly 1 each move) fixes the length of the game.

Write like a mathematician

Write a clear explanation, about half a page long, for a classmate who asks: "Why is the number of ways of choosing 3 people from 7 equal to 35, and not 210?" Use the words "order" and "counted 6 times". Then mark your own writing against this checklist.

  • Did I say at the start what I am going to show?
  • Does every step have a reason?
  • Did I explain where the 6 comes from?
  • Could my classmate follow it without asking me a question?

Hints for the Olympiad corner

Read one hint at a time, and go back to the problem after each.

O1. Hint 1: Count the numbers divisible by 2, by 3 and by 5, and use a three set Venn diagram. Hint 2: A number divisible by both 2 and 3 is divisible by 6. How many numbers up to 1,000 are divisible by 6, 10, 15 and 30?

O2. Hint 1: Can the digit 0 appear? Hint 2: Once you choose which four digits to use, how many ways are there to arrange them in increasing order?

O3. Hint 1: Let S1 be the first number, S2 the sum of the first two, and so on up to S10. What are the boxes? Hint 2: If two of these sums leave the same remainder on division by 10, what can you say about the learners between them?

O4. Hint 1: Cut the square into four smaller squares. Hint 2: How far apart can two points in a square of side 1 m be?

O5. Hint 1: Look at what happens to the number of blue beads in each kind of move. Hint 2: Is the number of blue beads odd or even at the start?

O6. Hint 1: How many pieces are there at the start, and at the end when no move is possible? Hint 2: How many pieces does each move add?