This is the Venn-diagram half of Week 6. The sample space is always the numbers 1 to \(N\), all equally likely, so every probability is a count over \(N\) and the arithmetic stays light. The notation box in Phase 1 defines \(\cap\), \(\cup\), \(A'\) and \(n(A)\) but never gives the addition rule: Task 1d makes groups find it from the classmate’s double-counting error and explain it for any two events. Phase 2 pushes the same idea to three events (the inclusion–exclusion rule), and 2e plants the trap that “divisible by 4 and 6” means multiples of 12, not 24.
Phase 3 changes the range: 1 to 30 and 1 to 60 give the same answer, 1 to 100 does not, and the limit \(1 - \tfrac{1}{2}\cdot\tfrac{2}{3}\cdot\tfrac{4}{5}\) quietly previews the multiplication of probabilities for Week 7. Phase 4 uses four events to count the primes up to 100, which is the Sieve of Eratosthenes seen as probability.
Two widgets support checking, not answering. The Venn Checker marks each region right or wrong without ever showing the correct number. The Hundred Board lights up multiples (or numbers in none of the chosen sets) for ranges 30, 60 and 100; students still have to count and justify. Hint ladders are for you only: one rung at a time, only if a group is stuck on the idea rather than the write-up.
“The Number Machine picks one whole number from 1 to 100, and every number is equally likely. Its builders want to know the chances of different kinds of numbers coming out: even numbers, multiples of 3, numbers that are divisible by none of 2, 3 and 5 and, in the end, prime numbers. Listing a hundred numbers every time is far too slow, so you will need rules that work for any range of numbers, and you will need to explain why they work.”
One device per group for the widgets; all reasoning goes on the whiteboard. If a group simply counts lit cells on the Hundred Board to answer 2b or 4a, accept the number but send them back for the rule: the rule is the point of the task.
| 0–3 min | Oral launch; read the notation box together |
| 3–15 min | Phase 1, Two Circles (1d is the heart of the phase) |
| 15–28 min | Phase 2, Three Circles |
| 28–40 min | Phase 3, Change the Machine (3c is the long task) |
| 40–50 min | Phase 4, The Sieve |
| 50–55 min | Consolidation |
When events overlap
An event is a set of outcomes. For events \(A\) and \(B\):
\(A \cap B\) means “\(A\) and \(B\)”: both happen. \(A \cup B\) means “\(A\) or \(B\)”: at least one happens (possibly both). \(A'\) means “not \(A\)”. \(n(A)\) is the number of outcomes in \(A\).
In a Venn diagram, the rectangle is the sample space (here, the numbers 1 to 100) and each circle is an event.
Read it with the class at the launch, or have each group read it aloud. Check orally: “Is 6 in \(E \cup T\)? In \(E \cap T\)? Is 7 in \(E'\)?” The box defines the symbols only; the rule connecting them is what Task 1d asks groups to discover.
In this phase, \(E\) is the event “the number is even” and \(T\) is the event “the number is a multiple of 3”.
Find \(P(E)\) and \(P(T)\) as exact fractions.
\(P(T) = \tfrac{1}{3}\). It is close, but 100 is not a multiple of 3, so the exact answer is \(\tfrac{33}{100}\). This difference comes back in Phase 3.
Describe the numbers that are in both \(E\) and \(T\) in one short phrase. Then find \(n(E \cap T)\) and \(P(E \cap T)\) without listing them.
Even and a multiple of 3 means a multiple of 6: 6, 12, …, 96 = 6 × 16.
Draw a Venn diagram for \(E\) and \(T\) on your whiteboard, with the number of outcomes in each of its four regions (do not forget the region outside both circles). Check your four numbers in the Venn Checker.
Find \(P(E \cup T)\). A classmate says that \(P(E \cup T) = P(E) + P(T) = \tfrac{83}{100}\). Explain exactly what went wrong. Then find a rule for \(P(E \cup T)\) that uses only \(P(E)\), \(P(T)\) and \(P(E \cap T)\), and explain why it works for any two events, not just these.
\(E \cup T\) is the three regions inside the circles: \(34 + 16 + 17 = 67\).
The flaw: \(50 + 33 = 83\) counts the 16 multiples of 6 twice, once in each circle. \(83 - 16 = 67\).
Why it always works: every outcome in \(A \cup B\) is in exactly one of three regions. An outcome in \(A\) only is counted once by \(P(A) + P(B)\); one in \(B\) only, once; one in \(A \cap B\), twice. Subtracting \(P(A \cap B)\) removes the extra count, so every outcome in \(A \cup B\) is counted exactly once.
A general explanation in terms of regions, not “it worked for 2 and 3”. If a group finishes early, ask: “When would the classmate’s method be correct?” (When \(A \cap B\) is empty: the events cannot happen together. The word for this is mutually exclusive.)
Find \(P(E' \cap T')\). How is it connected to your answer for \(P(E \cup T)\)? Why?
“Neither” is exactly “not (at least one)”: \(E' \cap T' = (E \cup T)'\). Every outcome is in one or the other, so \(P(E' \cap T') = 1 - P(E \cup T) = 1 - \tfrac{67}{100} = \tfrac{33}{100}\).
All four regions correct in the Venn Checker, the addition rule with a general explanation (not just a check), and the complement link in 1e.
One more event, eight regions
Keep \(E\) (even) and \(T\) (multiple of 3), and add \(F\): “the number is a multiple of 5”.
Draw a Venn diagram for \(E\), \(T\) and \(F\) with the number of outcomes in each of its eight regions. Check your numbers in the Venn Checker.
Find the probability that the machine’s number is divisible by 2, by 3 or by 5, that is, \(P(E \cup T \cup F)\).
Extend your rule from 1d to three events, so that \(P(E \cup T \cup F)\) can be found from the probabilities of single events and their overlaps, with no diagram. Test it on 2b. Then use your diagram to explain why every region ends up counted exactly once.
Every region counted once:
| Region | Added (singles) | Subtracted (pairs) | Added (triple) | Total |
|---|---|---|---|---|
| One circle only | 1 | 0 | 0 | 1 |
| Two circles only | 2 | 1 | 0 | 1 |
| All three | 3 | 3 | 1 | 1 |
| Outside | 0 | 0 | 0 | 0 |
Stopping after subtracting the pairs: \(103 - 32 = 71\). The centre has then been added 3 times and subtracted 3 times, so the 3 multiples of 30 have vanished. The table above is the best way to show a group why the last term is needed.
Find the probability that the number is divisible by exactly one of 2, 3 and 5, and the probability that it is divisible by exactly two of them.
Check: \(48 + 23 + 3 = 74\), the total from 2b.
Find the probability that the number is divisible by 4 or by 6. Be careful with the overlap.
Multiples of 4: 25. Multiples of 6: 16. Divisible by both 4 and 6 means divisible by \(\text{lcm}(4, 6) = 12\): 12, 24, …, 96 → 8.
Using multiples of \(4 \times 6 = 24\) for the overlap (only 4 of them), giving \(\tfrac{37}{100}\). Multiplying worked for 2 and 3, 2 and 5, and 3 and 5 because those pairs share no factor; 4 and 6 share a factor of 2. Ask: “Is 12 divisible by 4? By 6? Is it a multiple of 24?”
All eight regions correct, the three-event rule with an explanation of why each region is counted once (the table or an equivalent argument), and 2e with the overlap justified as multiples of 12.
What if the range changes?
The builders can set the machine to pick from 1 to \(N\) for any \(N\). Every number from 1 to \(N\) is still equally likely. \(E\), \(T\) and \(F\) mean the same as before.
Find \(P(E \cup T \cup F)\) when the machine picks from 1 to 30, and again from 1 to 60. Compare both with your answer for 1 to 100 from Phase 2.
Explain why the ranges 1 to 30 and 1 to 60 give exactly the same probability, but 1 to 100 does not.
Whether a number is divisible by 2, 3 or 5 depends only on its remainder when divided by \(30 = 2 \times 3 \times 5\): \(n\) and \(n + 30\) are in exactly the same events. So every block of 30 consecutive numbers looks the same, with 22 numbers in \(E \cup T \cup F\) and 8 outside (in 1 to 30 these are 1, 7, 11, 13, 17, 19, 23, 29).
1 to 60 is two complete blocks: \(\tfrac{44}{60} = \tfrac{22}{30}\). But 1 to 100 is three complete blocks (66 out of 90) plus 91 to 100, which behaves like 1 to 10, where 8 of the 10 numbers are hits. Those last ten numbers have a higher rate than \(\tfrac{22}{30}\), so the total \(\tfrac{66 + 8}{100} = \tfrac{74}{100}\) is slightly higher.
Find every value of \(N\) from 1 to 100 for which \(P(E \cup T \cup F)\) is exactly the same as for the range 1 to 30. Explain how you know you have found them all.
They all work. Multiples of 30 are complete blocks. For 15: the 8 misses in a block are symmetric (\(n\) is a miss exactly when \(30 - n\) is), so exactly 4 of them (1, 7, 11, 13) lie in 1 to 15, giving \(\tfrac{11}{15}\). Then 45, 75 are complete blocks plus a half block: \(\tfrac{22 + 11}{45}\) and \(\tfrac{44 + 11}{75}\), both \(\tfrac{11}{15}\).
No others. If \(\tfrac{h}{N} = \tfrac{11}{15}\) with \(h\) a whole number, then \(15h = 11N\). Since 11 and 15 share no factor, 15 must divide \(N\). The only multiples of 15 up to 100 are the six above.
Most groups will find 30, 60, 90 quickly. Finding 15, 45, 75 needs either testing or the symmetry idea; proving there are no others needs the “15 must divide \(N\)” argument. Accept a complete check of all multiples of 15 plus that argument. (All six values and “no others” were verified by computer.)
Now \(N\) is enormous. What value does \(P(E \cup T \cup F)\) get closer and closer to? Show that this value can be written using only \(P(E')\), \(P(T')\) and \(P(F')\) for that machine.
Almost all of a huge range is made of complete blocks of 30, so the probability gets closer and closer to \(\tfrac{22}{30} = \tfrac{11}{15}\).
In that machine, \(P(E') = \tfrac{1}{2}\), \(P(T') = \tfrac{2}{3}\), \(P(F') = \tfrac{4}{5}\), and the 8 misses per block give
Multiplying the “not” probabilities works here because divisibility by 2, 3 and 5 are independent in a block of 30. That is a Week 7 idea. Today, just ask: “Why do you think multiplying worked? Would it work for 4 and 6?” (It does not: \(P(\text{not 4}) \times P(\text{not 6}) = \tfrac{3}{4} \times \tfrac{5}{6} = \tfrac{15}{24}\), but the true value in a block of 12 is \(\tfrac{8}{12}\).)
The two \(\tfrac{11}{15}\) values, a clear “repeats every 30” explanation for 3b, the six values in 3c with a reason there are no others, and the product in 3d.
Catching the primes
The machine is back to picking from 1 to 100. Add a fourth event \(S\): “the number is a multiple of 7”.
Find the probability that the number is divisible by none of 2, 3, 5 and 7. Use a rule, not a list; you can check your answer on the Hundred Board in Phase 1 afterwards.
The four-event rule alternates: \(+\) singles, \(-\) pairs, \(+\) triples, \(-\) the four-way overlap. The four-way term happens to be 0 here, but groups should still say why (210 is greater than 100). The Hundred Board with 2, 3, 5, 7 and “In none of them” lights exactly 22 cells, which is a good check after the rule, not instead of it.
Use your answer to 4a to find how many prime numbers there are from 1 to 100, and the probability that the machine picks a prime. Explain each correction you have to make.
The 22 survivors are 1 and the 21 primes from 11 to 97. Two corrections:
Explain why checking only 2, 3, 5 and 7 is enough to catch every number from 1 to 100 that is not prime. Which primes would you need to check if the machine picked from 1 to 200? Why?
If \(n \le 100\) is not prime (and not 1), then \(n = a \times b\) with \(2 \le a \le b\). Then \(a \times a \le a \times b = n \le 100\), so \(a \le 10\). The smallest prime factor of \(a\) is a prime that is at most 10, so it is 2, 3, 5 or 7, and it also divides \(n\). So every non-prime from 2 to 100 is caught.
For 1 to 200: \(a \times a \le 200\) gives \(a \le 14\) (since \(14^2 = 196\) and \(15^2 = 225\)), so you need every prime up to 14:
4a by the four-event rule (not by counting the board), both corrections in 4b with reasons, and the \(a \times a \le 100\) argument in 4c.
(i) Use the same method to find the probability that a machine picking from 1 to 200 gives a prime.
Sieving 1 to 200 with 2, 3, 5, 7, 11 and 13 leaves 41 numbers (including 1). Corrections: −1 for the number 1, +6 for the six sieving primes.
The six-event rule looks long, but every four-way (and larger) overlap is empty, since the smallest product of four of these primes is \(2 \times 3 \times 5 \times 7 = 210 > 200\). Only singles, pairs and triples matter. Groups that instead count the survivors from 101 to 200 by hand and add the 22 from Task 4a (minus the corrections) also deserve full credit.
(ii) For which values of \(N\) is the probability of picking a prime from 1 to \(N\) exactly \(\tfrac{1}{2}\)? Find them all, and prove that no larger \(N\) works.
Check directly: 1 prime in 1 to 2, 2 in 1 to 4, 3 in 1 to 6, 4 in 1 to 8. (An odd \(N\) can never give exactly \(\tfrac{1}{2}\).)
No larger \(N\): for \(N \ge 9\), the non-primes from 1 to \(N\) include 1, every even number from 4 up to \(N\) (that is \(\lfloor N/2 \rfloor - 1\) numbers) and 9. That is at least \(\lfloor N/2 \rfloor + 1\) non-primes, which is more than \(\tfrac{N}{2}\). So fewer than half of the numbers are prime. (Verified by computer up to 1000.)
1. Put the classmate’s \(\tfrac{83}{100}\) on the board and have a group explain the double counting. Write the addition rule and ask: “When is \(P(A \cup B) = P(A) + P(B)\) exactly?” Name mutually exclusive.
2. Show the three-circle table from 2c (added, subtracted, added) and ask a group to fill it in live.
3. Ask: “Divisible by 4 and 6: multiples of 24 or of 12?” Vote, then resolve with 12.
4. Show \(\tfrac{11}{15} = 1 - \tfrac{1}{2} \times \tfrac{2}{3} \times \tfrac{4}{5}\) and tease Week 7: “When are we allowed to multiply probabilities?” Do not answer it today.
5. Finish with the 25 primes: this is the Sieve of Eratosthenes, about 2,200 years old, done as a probability calculation.