You calculate conditional probability using
This means: once event is known to have occurred, calculate the proportion of outcomes in that also belong to .
How the Formula Works
The condition becomes the new, restricted sample space. The numerator counts outcomes where both events occur, while the denominator counts all outcomes satisfying the condition.
This restriction is the key idea: outcomes outside are ignored, even if they belong to . When using counts rather than probabilities, the same relationship is .
| Part | Meaning |
|---|---|
| Probability that both and occur | |
| Probability of the event already known to have occurred | |
Rearranging the formula also gives the useful multiplication rule:
Conditional probability can also be read from a tree diagram: follow the branch representing , then use the probability of along that restricted branch.
Worked Example
In a group of 30 students, 18 study biology. Of those 18 students, 12 also study chemistry. Let be the event that a student studies chemistry and the event that the student studies biology.
Because the student is already known to study biology, only the 18 biology students form the relevant sample space:
Therefore, the probability that a randomly selected student studies chemistry, given that they study biology, is , or approximately .
As a quick check, conditional probabilities must lie between and . If and are independent, then ; otherwise conditioning changes the probability.
A common misconception is assuming that . These probabilities usually differ because their denominators represent different restricted sample spaces.
IB Exam Technique
This is part of SL 4.6: Venn diagrams, including combined events and conditional probability. For a “calculate” question, show the substitution into , then give the numerical answer. In a table, tree diagram, or Venn diagram, identify the condition first and use its total as the denominator.
