Mathematics (China)

🇨🇳 China Curriculum

Lesson 15: Probability

🎧 Audio narration for this lesson is coming soon.

Probability quantifies uncertainty — the mathematics beneath insurance, medicine, quality control and every lottery ticket ever sold. Its founders were answering gamblers' questions (Pascal and Fermat, 1654), but its methods are Lesson 14's counting turned into ratios. China has its own entry point: the 双色球 (Double Colour Ball) lottery, whose jackpot odds this lesson computes exactly — a small act of financial self-defence. The Gaokao examines probability through counting, conditional probability, independence and expectation; this lesson builds each with complete solutions, ending with the medical-testing paradox that humbles everyone's intuition.

Foundations

For equally likely outcomes, P(event) = (favourable outcomes)/(total outcomes). The axioms: 0 ≤ P ≤ 1; P(certain) = 1; P(not A) = 1 − P(A). The addition rule: P(A or B) = P(A) + P(B) − P(A and B); the subtraction vanishes exactly when A, B are mutually exclusive. The multiplication rule: P(A and B) = P(A) × P(B|A) always, simplifying to P(A)P(B) when A, B are independent — when the occurrence of one does not change the other's probability. Conditional probability P(A|B) = P(A and B)/P(B) is a restriction of the sample space to the world where B happened. Reversing it is Bayes' theorem: P(B|A) = P(A|B)P(B)/P(A) — the mathematics of learning from evidence. Expectation E = Σ(value × probability) is the long-run average: the fair price of a gamble, the actuary's foundation.

Key idea. Key idea: "at least one" is always computed by complement: P(at least one) = 1 − P(none). Direct counting of "at least" cases is the mark of a problem not yet understood.

Worked examples

Worked example 1 — dice. Two fair dice. (a) P(sum = 9): the favourable pairs (3,6), (4,5), (5,4), (6,3) number 4 of 36, giving 1/9. (b) P(at least one six): complement — P(no six) = (5/6)² = 25/36, so the answer is 11/36. Brute force (counting 11 favourable pairs) works but the complement is instant.

Worked example 2 — without replacement. Two cards drawn from 52 without replacement: P(both aces) = (4/52) × (3/51) = 12/2652 = 1/221. The second factor is a conditional probability: given the first ace, 3 aces remain among 51 cards. Dependence is handled by updating the counts after each stage — never by pretending independence.

Worked example 3 — Bayes in a factory. Machines M1 and M2 produce 60% and 40% of a factory's output, with defect rates 3% and 5%. P(defective) = 0.6 × 0.03 + 0.4 × 0.05 = 0.018 + 0.020 = 0.038 (total probability: weight each branch). Given a defective item, P(it came from M1) = 0.018/0.038 ≈ 47.4%. Note the judgement: M1 makes more items but fails less; the posterior splits almost evenly. Bayes' theorem is this division — the branch's contribution divided by the total.

Worked example 4 — expectation. A lottery ticket costs ¥10 and offers 1/1000 chance of ¥5,000 (nothing otherwise). E = (1/1000) × 5000 + (999/1000) × 0 − 10 = 5 − 10 = −¥5 per ticket. Negative expectation: the game is priced against you, and no staking pattern changes that (each ticket is independent). Contrast the 双色球 jackpot: choosing 6 from 33 red balls and 1 from 16 blue: P = 1/C(33, 6) × 1/16 = 1/(1,107,568 × 16) ≈ 1 in 17.7 million. Knowing this number is the whole defence.

Worked example 5 — binomial probability. independent repeated trials with success probability p: P(exactly k successes in n) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏ (Lesson 14's coefficients, earning their keep). A player with 70% free-throw success: P(exactly 8 of 10) = C(10, 8) × 0.7⁸ × 0.3² = 45 × 0.05765 × 0.09 ≈ 0.233. And quality control: with a 2% defect rate, a sample of 50 contains at least one defective with probability 1 − 0.98⁵⁰ ≈ 1 − 0.364 ≈ 63.6% — even a "good" process almost always shows defects in a moderate sample.

Challenge problem — Gaokao standard

Problem. A disease affects 1 person in 10,000. A test detects it correctly in 99% of sufferers (sensitivity) and wrongly reports positive in 1% of healthy people (false-positive rate). You test positive. What is the probability you have the disease?

Solution. Work with frequencies in a population of 1,000,000. Sufferers: 100. Of these, 99 test positive. Healthy: 999,900. Of these, 1% — that is 9,999 — falsely test positive. Total positives: 99 + 9,999 = 10,098. P(disease | positive) = 99/10,098 ≈ 0.98% ≈ 1%. Despite a "99% accurate" test, a positive result means roughly a 1-in-100 chance of disease, because the healthy outnumber the sick 9,999 to 1 and their false positives swamp the true ones. This is Bayes' theorem with the base rate made visible — and it is why screening programmes test high-risk groups first. Intuition says 99%; arithmetic says 1%. Trust arithmetic.

Try it. Try it: a coin is flipped 3 times. What is P(at least one head)? (Answer: 1 − (1/2)³ = 7/8.)

Common mistakes

  • The gambler's fallacy. After five reds, black is not "due": independent trials have no memory. What is true is that long-run frequencies settle near the probabilities — by dilution of the streak, not by compensation.
  • Treating dependent draws as independent. Cards without replacement change the counts (Worked example 2). "With replacement" and "without" are different problems with different answers: (4/52)² ≠ (4/52)(3/51).
  • Confusing P(A|B) with P(B|A). The prosecutor's fallacy: P(match | innocent) tiny does not make P(innocent | match) tiny — base rates intervene (Challenge problem). The two conditionals differ by exactly the Bayes factor.
  • Adding probabilities of overlapping events. P(heart or face card) = 13/52 + 12/52 − 3/52: the 3 heart face cards were counted twice (Lesson 14's inclusion–exclusion).
  • Expectation read as a prediction. E = −¥5 does not mean you lose ¥5 per ticket; you lose ¥10 usually and win rarely. Expectation is a long-run average over many plays, not the outcome of one.

Exam Experience

Multiple choice. A bag holds 3 red and 2 blue balls. Two are drawn without replacement. P(both red) is: A. 9/25 B. 3/10 C. 2/5 D. 3/5 Answer: B. (3/5) × (2/4) = 6/20 = 3/10. Option A is the with-replacement error (3/5)².

Fill in the blank. A fair coin is tossed 4 times. P(at least one head) = ____. Answer: 15/16. Complement: 1 − (1/2)⁴ = 15/16.

Solution question (10 marks). A production line has a 2% defect rate; items are independent. An inspector samples 3 items. (1) Find the probability that all three are good. (2) Find the probability that at least one is defective. Marking scheme. (1) P(one good) = 0.98 — 1 mark. Independence: P(all good) = 0.98³ — 2 marks. Value: 0.941192 — 2 marks. [5 marks] (2) Complement: 1 − 0.941192 = 0.058808 ≈ 5.9% — award 3 marks for choosing the complement route (the direct three-case computation also earns full marks if correct) and 2 marks for the value. [5 marks] Total: 10 marks. Follow-up insight worth stating: sampling 3 from a 2%-defect line passes the batch 94% of the time — small samples are weak evidence, which is Lesson 16's opening theme.

Going deeper — Monty Hall, birthdays, and waiting for patterns

Monty Hall, rigorously. Three doors: one car, two goats. You pick door 1; the host, who knows, opens door 3 revealing a goat; you may switch to door 2. Your initial pick hides the car with probability 1/3 — and switching loses exactly in that case. With probability 2/3 the car is behind door 2 or 3; the host's forced reveal (he never opens the car, and never your door) concentrates that entire 2/3 onto the single remaining door. Switching wins with probability 2/3. The host's knowledge is the mechanism: his choice is not random between the two unopened doors, and information leaked into your decision. Conditioning on how evidence was produced — not just what it says — is Bayes' theorem's deepest habit (and Lesson 16's prosecutor's fallacy is the same coin's other face).

The birthday problem. Among 23 people, P(some shared birthday) exceeds 1/2. Compute the complement: P(all different) = (365/365)(364/365)…(343/365) ≈ 0.493, so P(shared) ≈ 0.507. Intuition fails because the pairs multiply: 23 people form 253 pairs, each a lottery ticket. Pattern waiting. Flipping a fair coin, the expected wait for HH is 4 flips and for HT also 4 — but for HHH it is 14, while HHT takes only 8 and HTH 10. Overlap is the cause: failing late in HHH restarts from nothing, while HHT's failures salvage partial progress. Penney's game — for any pattern your opponent names, a pattern exists that beats it head-to-head — turns this into strategy, and the same autocorrelation mathematics analyses DNA sequences. Probability's paradoxes are not curiosities; each is a signpost to a mechanism (conditioning, pair-counting, overlap) that the Gaokao's harder problems quietly assume.

Second look — conditional dice and a fair price

Conditional dice. Two dice are rolled and you are told the sum is 8. What is the probability that one of the dice shows 3? The information shrinks the sample space (Lesson 15's definition): the pairs summing to 8 are (2, 6), (3, 5), (4, 4), (5, 3), (6, 2) — five equally likely pairs. Of these, two contain a 3: (3, 5) and (5, 3). P = 2/5. Notice this is not P(a die shows 3) = 11/36; conditioning on the sum changed every probability in sight. Conditional probability questions are sample-space questions: first write the restricted space explicitly, then count within it.

Fair price. A game: pay to roll one die, receive ¥(the number rolled). The expected payout is (1 + 2 + 3 + 4 + 5 + 6)/6 = 21/6 = ¥3.5. A ticket priced at ¥5 has expectation 3.5 − 5 = −¥1.5 per play for the player (and +¥1.5 for the operator — expectations are zero-sum bookkeeping here). The fair price, ¥3.50, is the unique price at which neither side profits on average. Casinos and lotteries (Worked example 4) are this computation with the price set above the expectation and the lighting set low; the arithmetic is the customer's only chandelier.

One last drill — a dice tail probability. Two fair dice are rolled; find P(sum ≥ 10). Enumerate the tail directly (it is small): sums of 10 arise from (4, 6), (5, 5), (6, 4) — 3 pairs; 11 from (5, 6), (6, 5) — 2 pairs; 12 from (6, 6) — 1 pair. Total 6 favourable of 36: P = 6/36 = 1/6. The complement would need sums 2–9 counted — 30 pairs — so here the direct count is the complement trick in reverse: always count whichever side of the event is smaller. "At least" problems default to the complement (the key idea of this lesson), but the discerning move is to size both sides before choosing.

🎲 Interactive: Probability Lab — Probability

Why is 7 the most likely total? There are six ways to make 7 (1+6, 2+5, 3+4, 4+3, 5+2, 6+1) but only one way to make 2 or 12. Probability = favourable outcomes ÷ 36.

🎛️ Interactive Explorer: Quadratic Explorer — Probability

Drag the sliders to change the coefficients of y = ax² + bx + c and watch the parabola transform live.

1 0 0

Notice how a controls the width and direction, b shifts the axis of symmetry, and c moves the graph up and down.

Key Terms

Probability
P = favorable/total (equally likely); measures uncertainty from 0 to 1.
Complement rule
P(not A) = 1 − P(A); the "at least one" problem-solver.
Independent events
P(A and B) = P(A)P(B); one doesn’t affect the other.
Conditional probability
P(A|B) = P(A∩B)/P(B); probability updated by new information.
Bayes’ theorem
Reverses conditioning: P(cause|effect) from P(effect|cause) and base rates.
Expected value
Long-run average: Σ value × probability; the rational gambler’s guide.
Binomial probability
C(n,k)pᵏ(1−p)ⁿ⁻ᵏ; exactly k successes in n independent trials.
Base rate
The underlying prevalence; ignoring it causes the medical-testing paradox.
Gambler’s fallacy
Believing independent past outcomes affect future ones; roulette has no memory.

Discussion Questions

  1. A bag has 5 red, 3 blue balls. Draw two without replacement. P(both red)? P(one of each)?
  2. China’s 双色球: compute the exact jackpot probability. If a ticket costs ¥2, what’s the jackpot’s expected value contribution?
  3. A test is 95% accurate (both directions) for a condition affecting 2% of people. If you test positive, what’s P(actually ill)? Show the Bayes calculation.
  4. A game: roll a die; win ¥(2 × roll) but pay ¥8 to play. What’s the expected profit? Is it worth playing repeatedly?
  5. In a class of 40, estimate P(at least two share a birthday). Compute more precisely using the complement method.
Keep reading to complete this lesson

🎬 Watch & Learn

Free video lessons on “Probability” — pick a result below: