Key Points
The conditional probability formula is , valid whenever .
Conditioning on shrinks the sample space to alone, which is why the formula divides by .
and are different quantities, and swapping them is the most consequential error in probability.
Bayes' theorem links the two directions as .
When the events are independent, , so conditioning changes nothing.
What Is the Conditional Probability Formula?
The conditional probability formula gives the chance of one event once another is known to have happened:
It is the multiplication rule rearranged. MacTutor records Thomas Bayes, who lived from 1702 to 1761, as the English clergyman who set out his theory of probability in 1764, and notes his work as the first occurrence of a probability logic result involving conditional probability.
Why the Formula Divides by P(A)
Knowing that happened throws away every outcome outside . The question is no longer about the whole sample space but about the part of it where is true.
Within that reduced space, the outcomes where also happens are exactly those in . So the proportion wanted is the size of relative to the size of , which is what the division computes.
That reading also explains the condition . Conditioning on an impossible event leaves no sample space at all, so the formula has nothing to divide by.
Variable Key
Symbol | Meaning | Unit or type | Notes |
|---|---|---|---|
probability of the condition | greater than 0 | the new sample space | |
both occur | 0 to 1 | the numerator | |
given | 0 to 1 | the result | |
given | 0 to 1 | a different quantity |
Examples of the Conditional Probability Formula
Example 1
and . Find .
Final answer: 0.25
Example 2
In a class, 60 per cent play football and 25 per cent play both football and tennis. A tennis player is chosen. What is the probability they play football, if 40 per cent play tennis?
The figures 0.25 and 0.60 are both to hand, so dividing the overlap by the football share looks right:
But that answers a different question: the chance a footballer plays tennis. The person chosen is known to play tennis, so tennis is the condition and its probability must be the denominator.
Final answer: 0.625. The condition always goes in the denominator, and the two answers differ by half as much again.
Example 3
A die shows an even number. What is the probability it is a 6?
The even outcomes are 2, 4 and 6, so the reduced sample space has three members:
Final answer:
Conditioning on an even result raised the chance of a six from one sixth to one third.
Example 4
, and . Find and comment.
Final answer: 0.3, which equals , so the events are independent and conditioning on tells us nothing about .
Example 5
A test detects a condition in 90 per cent of those who have it. The condition affects 1 per cent of people, and the test is positive for 10 per cent of everyone tested. Find the probability someone testing positive has the condition.
Use Bayes' theorem to reverse the given direction:
Final answer: 0.09, or 9 per cent.
A test that catches 90 per cent of cases still leaves most positives false, because the condition is rare. Ignoring that base rate is the classic error in medical-test reasoning.
Four Related Quantities
Quantity | Formula | What is known |
|---|---|---|
has happened | ||
has happened | ||
neither, both wanted | ||
Bayes' theorem | one direction, the other wanted |
The first two rows share a numerator and differ only in the denominator. That is the whole of the reversal error: the same overlap divided by two different conditions.
Conditional Probability, Common Confusions Cleared Up
Mistake 1: Reversing the condition
Where it slips in: Both conditional probabilities use the same intersection, so the denominator is the only thing distinguishing them.
Don't do this: Compute when the question says is known.
The correct way: Identify what has already happened and put its probability underneath. Reading the question for the words "given", "if" or "known to be" locates the condition before any arithmetic.
Students who underline the condition in the question and write its probability as the denominator first, before filling in the numerator, almost never reverse it. Building the fraction from the bottom up forces the condition to be identified.
Mistake 2: Ignoring the base rate
Where it slips in: A high detection rate feels like it should mean a high probability of having the condition.
Don't do this: Treat a 90 per cent accurate test as giving a 90 per cent chance the condition is present.
The correct way: Use Bayes' theorem, which weights by how common the condition is. For a rare condition, most positive results are false, as Example 5 shows.
Mistake 3: Conditioning on an impossible event
Where it slips in: The formula is applied mechanically without checking the denominator.
Don't do this: Divide by when .
The correct way: The formula requires . Conditioning on something that cannot happen leaves no sample space, so the quantity is undefined rather than zero.
The Short Version
The conditional probability formula is .
Conditioning shrinks the sample space to , which is why is the denominator.
and differ only in that denominator, and confusing them is the costliest error here.
Bayes' theorem reverses the direction and forces the base rate into the calculation.
To work through probability with a teacher, explore a high school math tutor or math tuition.
A Practical Next Step
Given , and , find both conditional probabilities and check whether the events are independent. Then reverse one of them with Bayes' theorem.
Want a live Bhanzu trainer to walk through more probability problems? Book a free demo class.
Read More
Was this article helpful?
Your feedback helps us write better content