Conditional probability
A conditional probability restricts attention to outcomes where the conditioning event is known. The event after the vertical bar supplies the denominator, and the intersection supplies the numerator
- Read after the bar In Pr(A|B), event B is the known condition and the reduced sample space \(\displaystyle \Pr(A\mid B)\text{ uses }B\)
- Use the intersection The numerator contains outcomes that satisfy both the required event and the condition \(\displaystyle \Pr(A\cap B)\)
- Use the condition denominator Divide by the probability or count of the conditioning event, not the whole space \(\displaystyle \Pr(A\mid B)=\frac{\Pr(A\cap B)}{\Pr(B)}\)
- Keep directions separate Reversing the events usually changes the reduced sample space and the answer \(\displaystyle \Pr(A\mid B)\ne\Pr(B\mid A)\text{ in general}\)
Worked example
A finite experiment has 30 equally likely outcomes. Event A contains 12 outcomes, event B contains 15 outcomes, and 6 outcomes are in both events. Find the probability of A given B
- \(\displaystyle \Pr(A\mid B)\text{ has condition }B\)The event after the bar is the reduced sample space
- \(\displaystyle n(A\cap B)=6,\quad n(B)=15\)Use the intersection for the numerator and the known event B for the denominator
- \(\displaystyle \Pr(A\mid B)=\frac{6}{15}=\frac{2}{5}=0.4\)Divide the intersection count by the count in the conditioning event and reduce
Common mistakes
Difficulty levels
Questions about this topic
What does the vertical bar mean in conditional probability?+
It means that B is known. The calculation is the probability of A and B divided by the probability of B.
Why is the numerator an intersection?+
The required outcome must satisfy A and the known condition B at the same time, so it belongs to the intersection of A and B
Why are Pr(A|B) and Pr(B|A) usually different?+
They use different reduced sample spaces. The first divides by the size of B and the second divides by the size of A.
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, Mathematical Methods, chapter 11: Binomial distribution