Skip to content
Educora
Intermediate26 min21 / 68

Classical probability

Classical probability for the CSCA: sample spaces and events, P = m/n, counting by listing, the multiplication principle, permutations and combinations, complementary, mutually exclusive and independent events, and basic geometric probability.

Check yourself
In this lesson you will learn
  • Describe the sample space of an experiment and compute P = m/n when the outcomes are equally likely.
  • Count outcomes by listing, with the multiplication principle, and with permutations and combinations.
  • Use complementary, mutually exclusive and independent events, including “at least one” questions.
  • Solve basic geometric-probability problems with lengths and areas.

Toss two coins. Are “two heads”, “two tails” and “one head and one tail” equally likely, 1/3 each? Many people say yes, and they are wrong: “one head and one tail” happens in two ways, HT and TH, so its probability is 1/2, while each of the other two has probability 1/4. Classical probability (古典概型) is the skill of listing equally likely outcomes correctly and counting them fast. The CSCA syllabus names it first in the “Probability and statistics” part: “classical probability model and probability calculation”. The other two lines of that part come in the next lessons, “Numerical characteristics of data” and “The normal distribution”; the set operations that describe events are in “Sets and set operations”.

Sample space, events and the classical model

Definition
Sample space and event

The sample space Ω (样本空间) is the set of all possible outcomes of a random experiment; each outcome is a sample point. An event (随机事件) is a subset of Ω. Ω itself is the certain event, and ∅ is the impossible event. Rolling a die: Ω = {1, 2, 3, 4, 5, 6}, and “an even number comes up” is the event A = {2, 4, 6}.

To use the formula below, the outcomes must be equally likely (等可能). That is why we label objects that look the same: two coins give Ω = {HH, HT, TH, TT}, four equally likely outcomes, not three; two dice give 6 · 6 = 36 ordered pairs.

Definition
Classical probability model

An experiment is a classical probability model (古典概型) if it has finitely many outcomes and all of them are equally likely. Rolling a fair die is one; shooting at a target is not (the rings are not equally likely to be hit), and neither is choosing a real number from an interval (there are infinitely many outcomes; see the last section).

P(A) = m / n, 0 ≤ P(A) ≤ 1, P(Ω) = 1, P(∅) = 0P(A) = m / n, 0 ≤ P(A) ≤ 1, P(Ω) = 1, P(∅) = 0
where:
  • nnumber of all equally likely outcomes (the size of Ω)
  • mnumber of outcomes favourable to A
  • P(A)probability of A (概率)

First make the outcomes equally likely, then count; m and n must be counted in the same way (both ordered or both unordered).

Worked examples: listing outcomes

1) A die is rolled. Find the probability of a number greater than 4, and of a prime number.
2) Three coins are tossed. Find the probability of exactly two heads.
3) Two dice are rolled. Find the probability that the sum is 9, and that the two numbers are equal.

Show solution
1) Greater than 4: {5, 6}, P = 2/6 = 1/3. Prime: {2, 3, 5}, P = 3/6 = 1/2 (1 is not prime).
2) Ω has 2³ = 8 outcomes; exactly two heads: HHT, HTH, THH, so P = 3/8.
3) Sum 9: (3, 6), (4, 5), (5, 4), (6, 3), P = 4/36 = 1/9. Equal numbers: (1, 1), …, (6, 6), P = 6/36 = 1/6.
+123456
1234567
2345678
3456789
45678910
567891011
6789101112
Sums of two dice: 36 equally likely cells. The sum 7 fills a whole diagonal (6 cells), while the sums 2 and 12 have only one cell each.

Why do we trust P = m/n? Repeat the experiment many times: the relative frequency of an event (频率, the number of times it happened divided by the number of trials) settles down near a fixed number, and for equally likely outcomes that number is m/n. The classical formula predicts the long-run frequency; it promises nothing about the next few trials. Six rolls of a die do not have to show a six.

Interactive
Loading simulation…
Roll the die many times: the relative frequency of each face approaches 1/6 ≈ 0.167. A classical probability predicts exactly this long-run frequency.
CSCA-style item

Three letters are put at random into three addressed envelopes, one letter in each envelope. What is the probability that exactly one letter is in its correct envelope?
A) 1/3 B) 1/6 C) 1/2 D) 2/3

Show solution
List the 3! = 6 equally likely arrangements of the letters 1, 2, 3: 123, 132, 213, 231, 312, 321. Exactly one letter in place: 132, 213, 321, so P = 3/6 = 1/2. Answer C.
A is the probability that no letter is in its envelope (231, 312). B counts only one arrangement (for example 132) and forgets that any of the three letters can be the correct one. D also adds the case where all three are correct.

Counting: the multiplication principle, permutations and combinations

Listing works for up to a few dozen outcomes. Beyond that, count with two principles. Addition principle (分类加法): if a task can be done in one of several separate ways (classes), the numbers of ways add. Multiplication principle (分步乘法): if a task is done in several steps one after another, and the number of choices at each step does not depend on the earlier choices, the numbers multiply.

N = n₁ + n₂ + … + nₖ (one of several classes) N = n₁ · n₂ · … · nₖ (several steps)
where:
  • n₁, n₂, …, nₖnumber of ways in each class or at each step
  • Ntotal number of ways

Ask yourself: is the task finished after one choice (add) or only after all the steps (multiply)?

Worked examples: counting principles

1) There are 3 roads from A to B, 2 roads from B to C and 2 direct roads from A to C. How many routes lead from A to C?
2) How many three-digit numbers can be written with the digits 1, 2, 3, 4, 5 if digits may repeat? If they may not?
3) In how many ways can 4 letters be posted in 3 mailboxes?

Show solution
1) Via B: 3 · 2 = 6 (two steps); directly: 2 (another class). Total 6 + 2 = 8.
2) With repetition 5 · 5 · 5 = 125; without repetition 5 · 4 · 3 = 60.
3) Each letter chooses one of the 3 boxes independently: 3 · 3 · 3 · 3 = 3⁴ = 81. Not 4³ = 64: the boxes do not choose letters.

Take the letters a, b, c and choose two of them. If order matters (a president and a secretary), there are 3 · 2 = 6 results: ab, ba, ac, ca, bc, cb. If it does not (a pair on duty), ab and ba are the same pair, so only 6/2 = 3 remain: {a, b}, {a, c}, {b, c}. Dividing by the number of orders inside each group is exactly how combinations come from permutations.

Aₙᵏ = n(n − 1)…(n − k + 1) = n! / (n − k)! Aₙⁿ = n! Cₙᵏ = Aₙᵏ / k! = n! / (k!(n − k)!) Cₙᵏ = Cₙⁿ⁻ᵏAₙᵏ = n(n − 1)…(n − k + 1) = n! / (n − k)! Aₙⁿ = n! Cₙᵏ = Aₙᵏ / k! = n! / (k!(n − k)!) Cₙᵏ = Cₙⁿ⁻ᵏ
where:
  • n!1 · 2 · … · n (0! = 1)
  • Aₙᵏarrangements (permutations, 排列) of k objects chosen from n: order matters
  • Cₙᵏcombinations (组合) of k objects chosen from n: order does not matter

Each combination of k objects can be ordered in k! ways, so Aₙᵏ = k! · Cₙᵏ. Chinese textbooks use the same symbols Aₙᵏ and Cₙᵏ; some books write P(n, k) and C(n, k).

Worked examples: permutations and combinations

1) In how many ways can 4 different books stand on a shelf? How many handshakes are there when 8 people all shake hands with each other? In how many ways can 8 people choose a president and a treasurer?
2) A team of 2 boys and 1 girl is chosen from 5 boys and 4 girls. How many different teams are possible?
3) A bag holds 4 red and 3 blue balls, and two balls are drawn at the same time. Find the probability that both are red, and that the colours are different.

Show solution
1) 4! = 24; a handshake is an unordered pair: C₈² = 8 · 7/2 = 28; president and treasurer are different roles: A₈² = 8 · 7 = 56.
2) Two steps: C₅² · C₄¹ = 10 · 4 = 40.
3) n = C₇² = 21. Both red: C₄² = 6, P = 6/21 = 2/7. Different colours: 4 · 3 = 12, P = 12/21 = 4/7. Check: blue–blue C₃² = 3, and 6 + 12 + 3 = 21.
CSCA-style item

3 students are chosen at random from 4 boys and 3 girls. What is the probability that exactly 2 of the chosen students are boys?
A) 12/35 B) 18/35 C) 22/35 D) 6/35

Show solution
n = C₇³ = 35; m = C₄² · C₃¹ = 6 · 3 = 18, so P = 18/35. Answer B.
A is the probability of exactly one boy (C₄¹ · C₃² = 12). C is “at least two boys” (18 + 4 = 22). D counts only the pairs of boys (C₄² = 6) and forgets to choose the girl.

Complementary, mutually exclusive and independent events

Definition
Mutually exclusive and complementary events

A and B are mutually exclusive (互斥事件) if they cannot happen together: A ∩ B = ∅. They are complementary (对立事件) if, in addition, one of them must happen: A ∪ B = Ω; then B = Ā. Rolling a die: “1” and “6” are mutually exclusive but not complementary; “even” and “odd” are complementary.

P(Ā) = 1 − P(A) P(A ∪ B) = P(A) + P(B) (A ∩ B = ∅) P(A ∪ B) = P(A) + P(B) − P(AB)
where:
  • Āthe complement of A (“A does not happen”)
  • A ∪ BA or B (at least one of them)
  • AB = A ∩ BA and B together

The last formula is inclusion–exclusion from “Sets and set operations”: the common part AB would otherwise be counted twice. Complementary events are always mutually exclusive, but not the other way round.

Worked examples: complement and addition

1) A die is rolled. A = “1 or 2”, B = “6”, C = “an even number”, D = “a number greater than 3”. Find P(A ∪ B) and P(C ∪ D).
2) A die is rolled twice. Find the probability of at least one six.
3) P(A) = 0.6, P(B) = 0.5 and P(A ∪ B) = 0.8. Find P(AB). Are A and B mutually exclusive?

Show solution
1) A and B are mutually exclusive: P(A ∪ B) = 2/6 + 1/6 = 1/2. C and D overlap in {4, 6}: P(C ∪ D) = 3/6 + 3/6 − 2/6 = 2/3 (check: C ∪ D = {2, 4, 5, 6}).
2) Complement: no six in either roll, 5 · 5 = 25 of the 36 outcomes. P = 1 − 25/36 = 11/36.
3) P(AB) = 0.6 + 0.5 − 0.8 = 0.3 ≠ 0, so they are not mutually exclusive.
Definition
Independent events

A and B are independent (相互独立事件) if the occurrence of one does not change the probability of the other. Different shooters, different machines and draws with replacement (有放回) give independent events; draws without replacement (不放回) do not, because the first draw changes the contents of the bag.

Independence is a statement about numbers, not about devices: A and B are independent exactly when P(AB) = P(A) · P(B). Even one roll of a die can give independent events: for A = “even” and B = “1 or 2”, P(AB) = P({2}) = 1/6 = 1/2 · 1/3. In exam problems, however, independence usually comes from the situation (different people, separate machines, draws with replacement), and you simply use the product rule.

P(AB) = P(A) · P(B) P(at least one) = 1 − (1 − p₁)(1 − p₂)…(1 − pₙ)
where:
  • p₁, …, pₙprobabilities of independent events
  • 1 − pᵢprobability that the i-th event does not happen

If A and B are independent, so are Ā and B, A and B̄, and Ā and B̄. Exactly one of two: P = p₁(1 − p₂) + (1 − p₁)p₂.

Worked examples: independent events

1) Two machines work independently; the probabilities that they work all day without a fault are 0.9 and 0.8. Find the probabilities that both work, that neither works, that exactly one works and that at least one works.
2) A bag holds 4 white and 2 black balls. Two balls are drawn one after the other. Find the probability that both are black if the first ball is put back, and if it is not.
3) A shooter hits a target with probability 0.5 per shot, independently. What is the smallest number of shots for which the probability of at least one hit exceeds 0.9?

Show solution
1) Both: 0.9 · 0.8 = 0.72; neither: 0.1 · 0.2 = 0.02; exactly one: 0.9 · 0.2 + 0.1 · 0.8 = 0.26; at least one: 1 − 0.02 = 0.98. Check: 0.72 + 0.26 + 0.02 = 1.
2) With replacement: (2/6) · (2/6) = 1/9. Without: (2/6) · (1/5) = 1/15, the same as C₂²/C₆² = 1/15.
3) 1 − 0.5ⁿ > 0.9 ⇔ 0.5ⁿ < 0.1: 0.5³ = 0.125 is too big, 0.5⁴ = 0.0625 works, so n = 4.
CSCA-style item

Two coins are tossed. Which pair of events is mutually exclusive but NOT complementary?
A) “at least one head” and “at least one tail”
B) “at least one head” and “two tails”
C) “two heads” and “at most one head”
D) “exactly one head” and “two heads”

Show solution
“Exactly one head” = {HT, TH} and “two heads” = {HH} have no common outcome, but TT belongs to neither, so they are mutually exclusive and not complementary. Answer D.
A: HT belongs to both, so they are not even mutually exclusive. B and C are complementary pairs (together they cover Ω), which is more than the question asks for.

Geometric probability

Definition
Geometric probability

If the outcomes are the points of a segment, a region or a solid, there are infinitely many of them and P = m/n cannot be used. When the point is chosen uniformly at random (pieces of equal size are equally likely), the probability of an event is the share of the length, area or volume it occupies: the geometric probability model (几何概型).

P(A) = (length, area or volume of the region A) / (length, area or volume of Ω)P(A) = (length, area or volume of the region A) / (length, area or volume of Ω)
where:
  • Ωthe whole segment, region or solid
  • Athe part where the event happens

A single point has length 0, so its probability is 0; that is why “<” and “≤” give the same answer here.

Worked examples: geometric probability

1) A number x is chosen at random from [0, 5]. Find the probability that x² − 3x + 2 < 0.
2) A bus comes every 12 minutes, and you arrive at the stop at a random moment. Find the probability that you wait at most 3 minutes.
3) A point is chosen at random in a square with side 2. Find the probability that it is less than 1 away from the centre, and that it is less than 1 away from a given vertex.

Show solution
1) x² − 3x + 2 < 0 ⇔ 1 < x < 2: length 1 out of 5, P = 1/5.
2) Favourable: the last 3 minutes before a bus, 3 out of 12, P = 1/4.
3) The disc of radius 1 around the centre lies inside the square: P = π · 1²/2² = π/4. Around a vertex only a quarter of the disc lies in the square: P = (π/4)/4 = π/16.

Two random numbers x and y, each chosen from an interval, form one random point (x, y) of a rectangle, so questions about two random moments (two friends arriving at a café, two buses) become area questions. Draw the rectangle, shade the region where the condition holds and compare the areas; the region is usually bounded by straight lines such as x + y = 1 or y = x.

CSCA-style item

A point (x, y) is chosen at random in the square with vertices (0, 0), (2, 0), (2, 2) and (0, 2). What is the probability that x + y ≥ 1?
A) 7/8 B) 1/8 C) 3/4 D) 1/2

Show solution
The points with x + y < 1 form the triangle with vertices (0, 0), (1, 0), (0, 1), of area 1/2. The square has area 4, so P = 1 − (1/2)/4 = 7/8. Answer A.
B is the probability of the complement, x + y < 1. C takes the area of the triangle as 1. D uses the diagonal x + y = 2, which halves the square.

How CSCA asks about this

Probability items in the CSCA are short word problems about dice, coins, balls, cards, people in a row, shooters or random points. Learn the key terms in English and Chinese:

Term中文Pinyin
probability概率gàilǜ
sample space样本空间yàngběn kōngjiān
random event随机事件suíjī shìjiàn
classical probability model古典概型gǔdiǎn gàixíng
equally likely等可能děng kěnéng
addition principle分类加法计数原理fēnlèi jiāfǎ jìshù yuánlǐ
multiplication principle分步乘法计数原理fēnbù chéngfǎ jìshù yuánlǐ
permutation (arrangement)排列páiliè
combination组合zǔhé
mutually exclusive events互斥事件hùchì shìjiàn
complementary events对立事件duìlì shìjiàn
independent events相互独立事件xiānghù dúlì shìjiàn
geometric probability model几何概型jǐhé gàixíng
with / without replacement有放回 / 不放回yǒu fànghuí / bù fànghuí
Key terms of classical probability in English and Chinese.

Typical question patterns and time-savers (about 75 s per item):

  • Dice, coins, balls: label identical objects so that the outcomes are equally likely; for two dice use the 6 × 6 table (n = 36).
  • Several objects drawn at once: combinations in both m and n; one after another: the multiplication principle in both. Never mix the two.
  • “At least one”: 1 − P(none); “exactly one of two”: p₁(1 − p₂) + (1 − p₁)p₂.
  • Statements about events: mutually exclusive means no common outcome; complementary means no common outcome and nothing left over; independent means P(AB) = P(A)P(B).
  • Arrangements: “together” means a block; “not together” means gaps; in digit problems handle the restricted place first (no 0 in front).
  • Geometric probability: draw the segment or region and compare lengths or areas; the boundary does not matter.

Key points

  • Classical model: finitely many equally likely outcomes, P(A) = m/n; make the outcomes equally likely first (label coins, dice and balls).
  • Multiply for steps one after another, add for separate cases; Aₙᵏ = n!/(n − k)! when order matters, Cₙᵏ = n!/(k!(n − k)!) when it does not.
  • P(Ā) = 1 − P(A); “at least one” = 1 − P(none).
  • Mutually exclusive: P(A ∪ B) = P(A) + P(B); in general P(A ∪ B) = P(A) + P(B) − P(AB); independent: P(AB) = P(A)P(B).
  • Geometric probability is the ratio of the lengths, areas or volumes of the favourable region and of the whole region.

Check yourself

12 questions. Every correct answer earns XP.

1 / 12
Which of these experiments is a classical probability model?

Topic test: 20 questions · 25 min

Finished the lesson? Check yourself with a timed test on this topic.

Start the test