Chapter 12 Introduction to probability theory
Practice questions
2% of items are defective. An inspector marks a defective item as faulty 90% of the time, but also wrongly marks 5% of good items as faulty (made-up figures). An item is marked faulty. What is the probability that it really is defective?
- 0.9
- 18/67
- 0.018
- 49/67
Answer and explanation
Answer: B
Branches ending in marked faulty: defective 0.02 × 0.90 = 0.018; good 0.98 × 0.05 = 0.049. Total 0.067. So P(defective/marked) = 0.018/0.067 = 18/67 ≈ 0.27. The value 49/67 is the probability that a marked item is actually good.
In the previous question the ball drawn is white. What is the probability that it came from the first bag?
- 1/2
- 1/3
- 6/13
- 4/13
Answer and explanation
Answer: C
Bayes: (1/3)(1/2) ÷ (13/36) = (1/6) × (36/13) = 6/13. The other posteriors are 4/13 and 3/13, and the three add to 1.
Three bags are equally likely to be chosen. The proportions of white balls in them are 1/2, 1/3 and 1/4. One bag is chosen and one ball drawn. What is the probability that the ball is white?
- 13/36
- 1/3
- 13/12
- 1/4
Answer and explanation
Answer: A
Total probability: (1/3)(1/2) + (1/3)(1/3) + (1/3)(1/4) = (1/3)(6/12 + 4/12 + 3/12) = (1/3)(13/12) = 13/36.
Two cards are drawn in succession without replacement from a pack of 52. What is the probability that the first is a heart and the second a spade?
- 1/16
- 13/204
- 1/17
- 13/208
Answer and explanation
Answer: B
P = (13/52)(13/51) = (1/4)(13/51) = 13/204. With replacement it would be (1/4)(1/4) = 1/16.
Assertion (A): if P(A) = 0.2, P(B) = 0.3 and A, B are mutually exclusive, then A and B are not independent. Reason (R): for mutually exclusive events P(A ∩ B) = 0, while P(A)P(B) = 0.06. Choose the correct option.
- A is true but R is false.
- Both A and R are true, but R does not explain A.
- A is false but R is true.
- Both A and R are true, and R explains A.
Answer and explanation
Answer: D
Independence needs P(A ∩ B) = P(A)P(B). Here P(A ∩ B) = 0 ≠ 0.06, so they are not independent. R states exactly this, so it is the correct explanation of A.
A and B are independent with P(A) = 0.4 and P(B) = 0.5. What is the probability that neither occurs?
- 0.3
- 0.1
- 0.2
- 0.5
Answer and explanation
Answer: A
Complements of independent events are independent, so P(Ā ∩ B̄) = (1 − 0.4)(1 − 0.5) = 0.6 × 0.5 = 0.3. Check: P(A ∪ B) = 0.4 + 0.5 − 0.2 = 0.7, and 1 − 0.7 = 0.3.
P(A) = 0.5, P(B) = 0.6 and P(A ∩ B) = 0.3. What is P(A/B̄)?
- 0.4
- 0.2
- 0.3
- 0.5
Answer and explanation
Answer: D
P(A ∩ B̄) = 0.5 − 0.3 = 0.2 and P(B̄) = 0.4, so P(A/B̄) = 0.2/0.4 = 0.5. (Here P(A ∩ B) = P(A)P(B), so A and B are independent and P(A/B̄) = P(A), as expected.)
A number is chosen at random from 1 to 100. What is the probability that it is divisible by 3 or 7?
- 0.47
- 0.40
- 0.43
- 0.39
Answer and explanation
Answer: C
By 3: 33 numbers; by 7: 14 numbers; by 21: 4 numbers (21, 42, 63, 84). So 33 + 14 − 4 = 43, and P = 43/100 = 0.43.
P(A) = 0.3, P(B) = 0.4 and P(A ∩ B) = 0.1. What is the probability that neither A nor B occurs?
- 0.4
- 0.3
- 0.6
- 0.42
Answer and explanation
Answer: A
P(A ∪ B) = 0.3 + 0.4 − 0.1 = 0.6. By De Morgan's law, P(Ā ∩ B̄) = 1 − P(A ∪ B) = 0.4. The value 0.42 = 0.7 × 0.6 would be right only for independent events, which these are not (0.3 × 0.4 = 0.12 ≠ 0.1).
P(A) = 0.45, P(B) = 0.35 and P(A ∪ B) = 0.6. What is the probability that exactly one of A and B occurs?
- 0.2
- 0.8
- 0.4
- 0.6
Answer and explanation
Answer: C
P(A ∩ B) = 0.45 + 0.35 − 0.6 = 0.2. Exactly one = P(A ∪ B) − P(A ∩ B) = 0.6 − 0.2 = 0.4.
A committee of 3 is chosen at random from 6 boys and 4 girls. What is the probability that it has at least one girl?
- 1/6
- 5/6
- 2/5
- 1/2
Answer and explanation
Answer: B
Complement: no girl, i.e. all boys: ⁶C₃ = 20 out of ¹⁰C₃ = 120. So P = 1 − 20/120 = 1 − 1/6 = 5/6.
The odds in favour of an event A are 4 : 7. What is P(Ā)?
- 4/11
- 4/7
- 3/7
- 7/11
Answer and explanation
Answer: D
P(A) = 4/(4 + 7) = 4/11, so P(Ā) = 1 − 4/11 = 7/11.
Two fair dice are rolled. What is the probability that the sum is a multiple of 4?
- 1/4
- 1/6
- 2/9
- 5/36
Answer and explanation
Answer: A
Sum 4: (1, 3), (2, 2), (3, 1), 3 ways. Sum 8: 5 ways. Sum 12: (6, 6), 1 way. Total 9 out of 36, so P = 1/4.
A die is rolled. Which collection of events is mutually exclusive AND exhaustive?
- {1, 2}, {3, 4}, {4, 5, 6}
- {1, 3, 5}, {2, 4}
- {1}, {2, 3}, {4, 5, 6}
- {1, 2, 3}, {3, 4, 5, 6}
Answer and explanation
Answer: C
{1}, {2, 3}, {4, 5, 6} have no common outcomes and together make {1, 2, 3, 4, 5, 6}. The first and last collections overlap (at 4 and at 3), and the second misses 6.
Three fair coins are tossed. What is the probability of exactly two heads?
- 1/2
- 3/8
- 1/4
- 2/3
Answer and explanation
Answer: B
S has 8 outcomes; exactly two heads occur in HHT, HTH and THH, which is 3 outcomes. P = 3/8.
In the urn question above, the ball drawn is red. What is the probability that it came from urn I?
- 2/5
- 2/3
- 1/3
- 1/5
Answer and explanation
Answer: C
P(urn I/red) = (1/2)(2/5)/(3/5) = (1/5)/(3/5) = 1/3. Then P(urn II/red) = 2/3, and the two add to 1.
Which condition on the events A₁, ..., Aₙ is needed for the theorem of total probability and Bayes' theorem?
- They are independent.
- They are mutually exclusive and exhaustive.
- They are equally likely.
- Each has probability 1/n.
Answer and explanation
Answer: B
The proofs need A₁, ..., Aₙ to split the sample space with no overlaps and nothing left out: mutually exclusive and exhaustive. They need not be equally likely or independent.
Urn I has 2 red and 3 blue balls; urn II has 4 red and 1 blue. A fair coin decides the urn, and one ball is drawn. What is the probability that it is red?
- 7/10
- 2/5
- 4/5
- 3/5
Answer and explanation
Answer: D
P(red) = (1/2)(2/5) + (1/2)(4/5) = 1/5 + 2/5 = 3/5. The values 2/5 and 4/5 are the chances within one urn only, P(red/urn I) and P(red/urn II).
With the same data, what is P(A₂/B)?
- 2/3
- 1/3
- 0.3
- 0.12
Answer and explanation
Answer: A
Bayes: P(A₂/B) = (0.4)(0.3)/0.18 = 0.12/0.18 = 2/3. Note that 0.3 is P(B/A₂), the condition the other way round.
A₁ and A₂ are mutually exclusive and exhaustive with P(A₁) = 0.6, P(A₂) = 0.4, P(B/A₁) = 0.1 and P(B/A₂) = 0.3. What is P(B)?
- 0.4
- 0.18
- 0.2
- 0.12
Answer and explanation
Answer: B
P(B) = (0.6)(0.1) + (0.4)(0.3) = 0.06 + 0.12 = 0.18. Adding 0.1 + 0.3 = 0.4 ignores the weights P(A₁) and P(A₂).