Question
A bag has 5 red and 3 blue balls. Two balls are drawn without replacement. Find . Also, if a test for a disease has 99% sensitivity and 95% specificity, and 1% of the population has the disease, find the probability that a person who tests positive actually has the disease (using Bayes’ theorem).
Solution — Step by Step
Given: first ball is blue. After drawing one blue ball, remaining = 5 red + 2 blue = 7 balls.
This is a direct application of the conditional probability definition.
Let = has disease, = tests positive.
Given: , (sensitivity), so (false positive rate).
Only about 16.7% chance the person actually has the disease despite testing positive. This counterintuitive result shows why Bayes’ theorem matters — the low prevalence (1%) means false positives dominate.
Why This Works
graph TD
A["Probability: Which theorem?"] --> B["Events A OR B?"]
B --> C["Addition: P A∪B = P A + P B - P A∩B"]
A --> D["Events A AND B?"]
D --> E["Independent? P A∩B = P A × P B"]
D --> F["Dependent? P A∩B = P A × P B|A"]
A --> G["Reverse conditional?"]
G --> H["Bayes: P A|B = P B|A × P A / P B"]
A --> I["Sequence of events?"]
I --> J["Total probability: P B = Σ P B|Aᵢ P Aᵢ"]
- Addition theorem: use when asking “what is the probability of A OR B happening?”
- Multiplication theorem: use when asking “what is the probability of A AND B both happening?”
- Bayes’ theorem: use when you know but need — reversing the condition.
- Total probability: use when event B can happen through multiple mutually exclusive paths
Alternative Method
For the Bayes’ theorem problem, a tree diagram or frequency table approach is more intuitive:
Imagine 10,000 people. 100 have the disease (1%). Of these 100, 99 test positive (99% sensitivity). Of the 9,900 healthy, 495 test positive (5% false positive).
Total positive = . Of these, actually have the disease.
. Same answer, but the reasoning is concrete and less error-prone.
Common Mistake
Confusing with . These are NOT the same. = 99% (sensitivity), but = 16.7% (the question we actually care about). This confusion is called the “prosecutor’s fallacy” and appears in JEE and CBSE problems regularly. Whenever a problem gives you one conditional probability and asks for the reverse, it is a Bayes’ theorem problem.
Addition:
Multiplication:
Bayes’ theorem:
Total probability: