This is a beta course, so its structure, chapters, and examples may continue to change.
Comprehensive Exercises on Random Events and Probability
Exercises
Exercise 1
Toss a fair coin twice and find the probability of the event that exactly one head appears.
classical probability modelprobability calculationrandom experiment
Approach:
Use the classical probability model to compute the probability.
Steps:
Sample space: Ω={(H,H),(H,T),(T,H),(T,T)}
Event A={exactly one head appears}={(H,T),(T,H)}
P(A)=42=21
Answer: 21
Exercise 2
Given P(A)=0.4,P(B)=0.5,P(A∩B)=0.2, find P(A∪B).
probability addition formulaunion of eventsprobability calculation
Approach:
Compute with the addition formula.
Steps:
P(A∪B)=P(A)+P(B)−P(A∩B)
=0.4+0.5−0.2=0.7
We subtract P(A∩B) because the intersection was counted twice in the direct addition.
Answer: P(A∪B)=0.7.
Exercise 3
Given P(A)=0.3,P(B∣A)=0.5, find P(A∩B).
conditional probabilitymultiplication formulaintersection probability
Approach:
Compute with the multiplication formula.
Steps:
P(A∩B)=P(A)P(B∣A)
=0.3×0.5=0.15
Here we multiply by the probability P(A)=0.3 that A has already occurred, while P(B∣A) is meaningful only under the condition that A occurs.
Answer: P(A∩B)=0.15, that is, the probability that events A and B occur together is 0.15.
Exercise 4
There are three boxes containing 2, 3, and 5 balls respectively; one box is chosen at random and one ball is drawn from it. Find the probability that the ball comes from box 3 given that a white ball is drawn (box 3 contains 3 white and 2 black balls, and the others contain only white balls).
Bayes' formulalaw of total probabilityconditional probability
Approach:
Compute with Bayes’ formula.
Steps:
Let Ai={box i is chosen}, i=1,2,3
Let B={a white ball is drawn}
P(A1)=P(A2)=P(A3)=31
P(B∣A1)=1, P(B∣A2)=1, P(B∣A3)=53
P(B)=31×1+31×1+31×53=1511
P(A3∣B)=P(B)P(A3)P(B∣A3)=151131×53=113
Answer: 113
Exercise 5
Given P(A)=0.6,P(B)=0.5,P(A∩B)=0.3, determine whether A and B are independent.
independence of eventsindependence criterionconditional probability
Approach:
Check whether the condition for independence is satisfied.
Steps:
P(A)P(B)=0.6×0.5=0.3
P(A∩B)=0.3
Therefore P(A∩B)=P(A)P(B)
Hence A and B are independent
Answer: A and B are independent
Exercise 6
Roll a fair die and find the probability of getting an even number or a number greater than 3.
probability addition formulaunion of eventsprobability calculation
Approach:
Compute with the addition formula.
Steps:
Let A={an even number appears}={2,4,6}
Let B={a number greater than 3 appears}={4,5,6}
A∩B={4,6}
P(A)=63=21
P(B)=63=21
P(A∩B)=62=31
P(A∪B)=P(A)+P(B)−P(A∩B)=21+21−31=32
Answer: 32
Exercise 7
Choose a point at random on the interval [0,1] and find the probability of landing in [0.3,0.7].
geometric probability modelcontinuous random variableprobability calculation
Approach:
Use the geometric probability model to compute the probability.
Steps:
Sample space: Ω=[0,1]
Event A=[0.3,0.7]
m(Ω)=1
m(A)=0.7−0.3=0.4
P(A)=10.4=0.4
Answer: 0.4
Exercise 8
Draw one card at random from a deck of playing cards and find the probability of drawing a heart.
classical probability modelprobability calculationrandom experiment
Approach:
Use the classical probability model to compute the probability.
Steps:
Sample space: 52 playing cards
Event A={a heart is drawn}
∣A∣=13 (there are 13 hearts)
∣Ω∣=52
P(A)=5213=41
Answer: 41
Exercise 9
The products of a factory are produced by two workshops. The first workshop produces 60% and the second 40%. The defective rate is 1% in the first workshop and 2% in the second. One product is drawn at random and is found to be defective. Find the probability that it comes from the first workshop.
Bayes' formulalaw of total probabilityconditional probability
Approach:
Compute with Bayes’ formula.
Steps:
Let A1={the product comes from the first workshop}, A2={the product comes from the second workshop}
Let B={the product is defective}
P(A1)=0.6, P(A2)=0.4
P(B∣A1)=0.01, P(B∣A2)=0.02
P(B)=0.6×0.01+0.4×0.02=0.006+0.008=0.014
P(A1∣B)=0.0140.6×0.01=0.0140.006=73
Answer: 73
Exercise 10
Roll two dice. Let A={the first die shows an even number} and B={the sum of the two dice is 7}. Determine whether A and B are independent.
independence of eventsprobability calculationdetermination
Approach:
Compute the relevant probabilities and check independence.