Probability — Diagnostic Tests
Unit Tests
Tests edge cases, boundary conditions, and common misconceptions for probability.
UT-1: Conditional Probability is Not Symmetric
Question:
In a school, 60% of students play basketball and 30% play football. 20% play both sports. Find:
(a) P(Football∣Basketball)
(b) P(Basketball∣Football)
Are they equal?
Solution:
P(B)=0.6, P(F)=0.3, P(B∩F)=0.2.
(a) P(F∣B)=P(B)P(B∩F)=0.60.2=31
(b) P(B∣F)=P(F)P(B∩F)=0.30.2=32
31=32. They are NOT equal.
P(A∣B)=P(B∣A) in general. This is a fundamental misconception.
UT-2: Independence vs Mutually Exclusive
Question:
If events A and B are mutually exclusive, can they also be independent?
Solution:
If A and B are mutually exclusive, then P(A∩B)=0.
If A and B are independent, then P(A∩B)=P(A)×P(B).
So we need P(A)×P(B)=0, which means at least one of P(A) or P(B) is zero.
If both P(A)>0 and P(B)>0, then mutually exclusive events CANNOT be independent.
Only the trivial case (where one event has probability zero) allows both properties simultaneously.
A common mistake is confusing "independent" with "mutually exclusive." They are generally opposite concepts.
UT-3: At Least One Using Complement
Question:
A fair die is rolled 5 times. Find the probability of getting at least one 6.
Solution:
P(at least one 6)=1−P(no 6s)=1−(65)5=1−77763125=77764651
A common mistake is trying to enumerate all cases with "at least one 6" directly (which has many terms), instead of using the complement.
UT-4: Tree Diagram with Replacement
Question:
A bag contains 3 red and 5 blue balls. Two balls are drawn with replacement. Find the probability that:
(a) Both are red.
(b) They are of different colours.
Solution:
After replacement, the bag always has 3 red and 5 blue (8 total).
(a) P(RR)=83×83=649
(b) P(different)=P(RB)+P(BR)=83×85+85×83=6415+6415=6430=3215
UT-5: Probability with Combined Events
Question:
Events A and B satisfy P(A)=0.4, P(B)=0.7, and P(A∪B)=0.85. Find P(A∩B) and determine whether A and B are independent.
Solution:
P(A∪B)=P(A)+P(B)−P(A∩B)
0.85=0.4+0.7−P(A∩B)
P(A∩B)=0.25
For independence: P(A)×P(B)=0.4×0.7=0.28.
Since P(A∩B)=0.25=0.28, the events are not independent.
Integration Tests
Tests synthesis of probability with other topics.
IT-1: Probability and Combinatorics (with Combinatorics)
Question:
A committee of 5 is chosen from 7 men and 6 women. Find the probability that the committee contains exactly 3 women.
Solution:
Total ways: (513)=1287.
Ways with exactly 3 women (and 2 men): (36)×(27)=20×21=420.
P=1287420=429140
IT-2: Probability and Algebra (with Functions)
Question:
Events A and B are independent with P(A)=p and P(B)=2p. Given that P(A∩B)=81, find p.
Solution:
Since A and B are independent:
P(A∩B)=P(A)×P(B)=p×2p=2p2
2p2=81⟹p2=161⟹p=41
(p>0 since it is a probability, and 2p≤1 gives p≤21, which is satisfied.)
IT-3: Probability and Sequences (with Sequences and Series)
Question:
A coin is tossed until the first head appears. If the probability of heads is p, find the probability that the first head appears on the n-th toss. Show that the total probability sums to 1.
Solution:
First head on toss n means: n−1 tails followed by 1 head.
P(X=n)=(1−p)n−1⋅p
Total probability:
∑n=1∞p(1−p)n−1=p⋅1−(1−p)1=p⋅p1=1
This is a geometric series with first term p and ratio (1−p), converging since 0<1−p<1 when 0<p<1.
Worked Examples
WE-1: Law of Total Probability
Question:
A factory has two machines producing items. Machine A produces 60% of the items and has a defect rate of 3%. Machine B produces 40% of the items and has a defect rate of 5%. An item is randomly selected and found to be defective. Find the probability that it was produced by Machine B.
Solution:
Define events: A = produced by Machine A, B = produced by Machine B, D = defective.
Given: P(A)=0.6, P(B)=0.4, P(D∣A)=0.03, P(D∣B)=0.05.
By the law of total probability:
P(D)=P(D∣A)P(A)+P(D∣B)P(B)=0.03×0.6+0.05×0.4=0.018+0.020=0.038
By Bayes' theorem:
P(B∣D)=P(D)P(D∣B)P(B)=0.0380.05×0.4=0.0380.020=1910
DSE Exam Technique: When applying Bayes' theorem, always state the law of total probability step explicitly. The HKEAA awards method marks for this intermediate step even if the final answer has a minor arithmetic error.
WE-2: Drawing Without Replacement
Question:
A bag contains 5 red marbles and 3 blue marbles. Three marbles are drawn without replacement. Find the probability that:
(a) All three are red.
(b) Exactly two are red.
(c) At least one is blue.
Solution:
Total number of ways to draw 3 from 8: (38)=56.
(a) All three red: (35)=10.
P(all red)=5610=285
(b) Exactly two red (and one blue): (25)×(13)=10×3=30.
P(exactly 2 red)=5630=2815
(c) At least one blue = 1 - P(all red):
P(at least 1 blue)=1−285=2823
WE-3: Probability with Arrangement
Question:
The letters of the word "PROBABILITY" are arranged at random. Find the probability that the two B's are together.
Solution:
The word PROBABILITY has 11 letters: P, R, O, B, A, B, I, L, I, T, Y.
The B's are identical. The I's are identical. Total arrangements:
2!×2!11!=439916800=9979200
Treat the two B's as a single block. Then we have 10 "letters" with the two I's identical.
Arrangements with B's together: 2!10!=1814400.
P=99792001814400=5.51=112
WE-4: Repeated Trials with Different Outcomes
Question:
A fair coin is tossed 4 times. Find the probability of getting exactly 3 heads.
Solution:
This follows a binomial distribution: X∼Bin(4,0.5).
P(X=3)=(34)(21)3(21)1=4×161=41
Alternatively, listing: there are (34)=4 arrangements with exactly 3 heads (HHHT, HHTH, HTHH, THHH), each with probability (21)4=161.
P=4×161=41
WE-5: Conditional Probability with Venn Diagrams
Question:
In a class of 40 students, 25 study Mathematics, 20 study Physics, and 8 study neither. A student is chosen at random. Given that the student studies Mathematics, find the probability that the student also studies Physics.
Solution:
Let M = studies Mathematics, P = studies Physics.
P(M∪P)=1−P(neither)=1−408=4032=54.
Number studying at least one: 32.
P(M∪P)=P(M)+P(P)−P(M∩P)
54=4025+4020−P(M∩P)
P(M∩P)=4025+4020−4032=4013
13 students study both.
P(P∣M)=P(M)P(M∩P)=25/4013/40=2513
WE-6: Expected Value and Fair Game
Question:
A game costs \5toplay.Afairsix−sideddieisrolled.Iftheresultis6,youwin$20$. Otherwise, you win nothing. Determine whether this game is fair.
Solution:
Expected winnings:
E(X)=0×65+20×61=620=310≈$3.33
Net expected gain: E(X) - 5 = \dfrac{10}{3} - 5 = -\dfrac{5}{3} \approx -\1.67$.
Since the expected net gain is negative, the game is not fair. The player loses on average 35 dollars per game.
A fair game would require the cost to equal the expected winnings, i.e. the cost should be 310 dollars.
WE-7: Sequential Drawing with Changing Probabilities
Question:
A box contains 4 gold coins and 6 silver coins. Coins are drawn one at a time without replacement until a gold coin is drawn. Find the probability that exactly 3 draws are needed.
Solution:
Exactly 3 draws means: first two are silver, third is gold.
P=106×95×84=10×9×86×5×4=720120=61
DSE Exam Technique: Show each multiplication step clearly. Write the probability of each individual draw before combining them.
WE-8: Probability Involving Geometric Regions
Question:
A point is chosen at random inside a square of side 4 cm. Find the probability that the point is more than 1 cm from all sides of the square.
Solution:
The region more than 1 cm from all sides forms an inner square of side 4−1−1=2 cm.
P=area of outer squarearea of inner square=4222=164=41
Common Pitfalls
-
Confusing P(A∣B) with P(B∣A). These are generally different. Always identify which is the "given" condition and apply the formula P(A∣B)=P(B)P(A∩B) correctly. In DSE Paper 2, this distinction is frequently tested.
-
Assuming independence without justification. Two events are independent only if P(A∩B)=P(A)×P(B). You must verify this algebraically; never assume it from the context of the problem.
-
Forgetting to check if events are mutually exclusive when using addition rule. The general formula is P(A∪B)=P(A)+P(B)−P(A∩B). Only if A and B are mutually exclusive can you simplify to P(A)+P(B).
-
Not using the complement for "at least" problems. For questions asking "at least one" or "at least two," always consider using P(at least k)=1−P(fewer than k). Direct enumeration often leads to errors and missed cases.
-
Incorrect counting with identical objects. When arranging letters or selecting items with identical elements, remember to divide by the factorial of the number of identical items. For example, the arrangements of "AABB" is 2!×2!4!=6, not 4!=24.
DSE Exam-Style Questions
DSE-1
A school has 120 students. 70 play basketball, 50 play football, and 30 play volleyball. 20 play both basketball and football, 15 play both basketball and volleyball, 10 play both football and volleyball, and 5 play all three sports.
(a) Draw a Venn diagram to represent this information. (2 marks)
(b) A student is chosen at random. Find the probability that the student plays exactly one sport. (3 marks)
(c) Given that a student plays basketball, find the probability that the student also plays volleyball. (2 marks)
Solution:
(a) Using inclusion-exclusion for "all three":
Number playing basketball only: 70−20−15+5=40.
Number playing football only: 50−20−10+5=25.
Number playing volleyball only: 30−15−10+5=10.
Number playing basketball and football only: 20−5=15.
Number playing basketball and volleyball only: 15−5=10.
Number playing football and volleyball only: 10−5=5.
Number playing none: 120−40−25−10−15−10−5−5=10.
(b) Exactly one sport: 40+25+10=75.
P=12075=85
(c) Students playing basketball: 70. Students playing both basketball and volleyball: 15.
P(volleyball∣basketball)=7015=143
DSE-2
Two unbiased dice are thrown. Find the probability that:
(a) The sum of the numbers shown is 7. (2 marks)
(b) The sum is at least 10. (2 marks)
(c) The product is a prime number. (3 marks)
(d) Given that the sum is 7, find the probability that one of the dice shows a 3. (2 marks)
Solution:
Total outcomes: 6×6=36.
(a) Sum = 7: (1,6),(2,5),(3,4),(4,3),(5,2),(6,1) --- 6 outcomes.
P=366=61
(b) Sum ≥ 10: Sum 10 (3 outcomes), Sum 11 (2 outcomes), Sum 12 (1 outcome) = 6 outcomes.
P=366=61
(c) Product is prime: The only way is one die shows 1 and the other shows a prime (2, 3, or 5). The pairs are (1,2),(2,1),(1,3),(3,1),(1,5),(5,1) --- 6 outcomes.
P=366=61
(d) Given sum = 7 (6 equally likely outcomes). Those with a 3: (3,4),(4,3) --- 2 outcomes.
P=62=31
DSE-3
The probability that it rains on any given day in June is 0.3. Assuming independence between days:
(a) Find the probability that it does not rain for 5 consecutive days. (2 marks)
(b) Find the probability that it rains on exactly 2 out of 7 days. (3 marks)
(c) Find the probability that it rains on at least 3 out of 7 days. (3 marks)
Solution:
(a) P(no rain for 5 days)=(1−0.3)5=0.75=0.16807.
(b) X∼Bin(7,0.3).
P(X=2)=(27)(0.3)2(0.7)5=21×0.09×0.16807=0.3177
(c) P(X≥3)=1−P(X≤2)=1−[P(X=0)+P(X=1)+P(X=2)].
P(X=0)=0.77=0.08235.
P(X=1)=7×0.3×0.76=7×0.3×0.11765=0.24707.
P(X=2)=0.3177 (from part b).
P(X≥3)=1−(0.08235+0.24707+0.3177)=1−0.64712=0.35288
DSE-4
A box contains n red balls and n blue balls. Three balls are drawn at random without replacement. Find, in terms of n, the probability that:
(a) All three balls are of the same colour. (3 marks)
(b) The three balls are not all of the same colour. (2 marks)
(c) For n=5, evaluate the probability in part (a) as a fraction. (1 mark)
Solution:
Total balls: 2n. Total ways to draw 3: (32n).
(a) Same colour means all red OR all blue.
P=(32n)(3n)+(3n)=(32n)2(3n)
Expanding:
=62n(2n−1)(2n−2)2⋅6n(n−1)(n−2)=2n(2n−1)(2n−2)n(n−1)(n−2)=4n(n−1)(2n−1)n(n−1)(n−2)=4(2n−1)n−2
(b) Complement:
P(not all same)=1−4(2n−1)n−2=4(2n−1)4(2n−1)−(n−2)=4(2n−1)8n−4−n+2=4(2n−1)7n−2
(c) For n=5:
P=4(10−1)5−2=363=121
DSE-5
Events A and B are such that P(A)=0.5, P(B)=0.6, and P(A∣B)=0.4.
(a) Find P(A∩B). (1 mark)
(b) Determine whether A and B are independent. Justify your answer. (3 marks)
(c) Find P(A∪B). (2 marks)
(d) Find P(A′∩B′). (2 marks)
Solution:
(a) P(A∩B)=P(A∣B)×P(B)=0.4×0.6=0.24.
(b) For independence: P(A)×P(B)=0.5×0.6=0.30.
Since P(A∩B)=0.24=0.30=P(A)×P(B), the events are not independent.
(c) P(A∪B)=P(A)+P(B)−P(A∩B)=0.5+0.6−0.24=0.86.
(d) By De Morgan's law: P(A′∩B′)=P((A∪B)′)=1−P(A∪B)=1−0.86=0.14.