Statistics & Probability · Grade 10
Conditional Probability: The Probability of A Given B
Quick answer
A conditional probability answers a question about part of a sample space: of the outcomes where B happened, what fraction also have A? Knowing B shrinks the sample space to B, so P(A | B) = P(A and B) / P(B). Swapping the two events usually changes the answer, and confusing them is behind some of the most consequential probability mistakes in medicine and law.
What you'll learn
- Find a conditional probability from a two-way table or from the formula
- Explain why P(A | B) and P(B | A) are different questions
- Use the multiplication rule P(A and B) = P(B) × P(A | B)
“Given that” shrinks the sample space
A student is chosen at random from . What is the probability they are in the band?
Now you are told the student plays a sport. What is the probability they are in the band?
| Band | No band | Total | |
|---|---|---|---|
| Sport | |||
| No sport | |||
| Total |
Knowing the student plays a sport rules out the who do not. The sample space is now the sport players, and of them are in the band:
The vertical bar is read “given”. The new information changed the answer from to , because it changed which students were in the running.
The formula
Divide the overlap by the size of the condition:
With the table’s probabilities:
The s cancel, which is why working in counts gives the same answer with less writing: the count in both, over the count in the condition.
Why P(A | B) and P(B | A) are different
Swap the two events:
The overlap is the same students. The denominators are not. divides by ; divides by — different groups, different questions:
| Question | Restrict to | Answer |
|---|---|---|
| Of sport players, what fraction are in band? | the sport players | |
| Of band members, what fraction play sport? | the band members |
This distinction matters far beyond tables. A medical test might detect a disease in of people who have it — that is . A patient who tests positive wants , and for a rare disease that can be far lower, because most positive results come from the much larger healthy group.
The multiplication rule
Multiply both sides of the formula by :
It finds the chance of both happening, one step at a time: the chance of the first, times the chance of the second once the first is known.
A bag holds red and blue marbles. Two are drawn without replacement. Find .
The is the conditional probability: given the first marble was red, reds remain among marbles. That is the dependent-events calculation from grade 7, now with its name.
Conditional probability in everyday language
Most everyday statistics are conditional probabilities in disguise. The skill is spotting which event is the condition.
| Statement | Written as |
|---|---|
| ” of sport players are in the band” | |
| “Among smokers, the risk of lung cancer is higher” | |
| “If it rains, the game is canceled of the time” |
The condition is the group being talked about — the word after “among”, “of”, “if” or “given”.
Worked examples
Common mistakes
Practice problems
-
How is read aloud?
Answer
“The probability of given ”
Full solution
The bar means “given”.
-
and . Find .
Answer
Full solution
.
-
Using the sport and band table, find .
Answer
Full solution
.
-
A die shows an even number. Find the probability it is a .
Answer
Full solution
The even outcomes are , and one of them is .
-
A card is red. Find the probability it is a heart.
Answer
Full solution
of the red cards are hearts.
-
and . Find .
Answer
Full solution
.
-
A bag has green and yellow marbles. Two are drawn without replacement. Find .
Answer
Full solution
.
-
In a class of , students have a dog, have a cat, and have both. Find and .
Hint
Same overlap, two different groups to restrict to.
Answer
;
Full solution
Restrict to the dog owners: also have a cat, so .
Restrict to the cat owners: also have a dog, so .
The overlap is the same in both, and the answers differ because the groups do.
-
Translate into symbols: “If a flight is delayed, there is a chance the passenger misses a connection.”
Answer
Full solution
The condition follows “if”, so “delayed” is the given event.
The statement is about what fraction of delayed flights lead to a missed connection.
-
Using the sport and band table, Kim finds as . Find her error.
Hint
Which students are in the running once you know the student plays a sport?
Answer
She divided by all students instead of the sport players. The answer is .
Full solution
is — the share of all students in both.
“Given sport” restricts the sample space to the students who play a sport. Of those, are in the band.
.
The formula agrees: .
Frequently asked questions
What is conditional probability?
The probability of an event when you already know another event happened. It is written P(A | B) and read 'the probability of A given B'.
What is the formula?
P(A | B) = P(A and B) / P(B). In counts, it is the number of outcomes in both divided by the number in B.
Is P(A | B) the same as P(B | A)?
Usually not. They divide the same overlap by different totals, so they answer different questions.
How do I find it from a two-way table?
Go to the row or column for the given event, and divide the cell you want by that row or column's total.
What is the multiplication rule?
P(A and B) = P(B) × P(A | B). It finds the probability of both happening from one probability and one conditional probability.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSS.CP.A.3Conditional Probability and the Rules of ProbabilityUnderstand the conditional probability of A given B as P(A and B)/P(B), and interpret independence of A and B as saying that the conditional probability of A given B is the same as the probability of A, and the conditional probability of B given A is the same as the probability of B.
- CCSS.MATH.CONTENT.HSS.CP.A.4Conditional Probability and the Rules of ProbabilityConstruct and interpret two-way frequency tables of data when two categories are associated with each object being classified. Use the two-way table as a sample space to decide if events are independent and to approximate conditional probabilities.
- CCSS.MATH.CONTENT.HSS.CP.A.5Conditional Probability and the Rules of ProbabilityRecognize and explain the concepts of conditional probability and independence in everyday language and everyday situations.
- CCSS.MATH.CONTENT.HSS.CP.B.6Conditional Probability and the Rules of ProbabilityFind the conditional probability of A given B as the fraction of B's outcomes that also belong to A, and interpret the answer in terms of the model.
- CCSS.MATH.CONTENT.HSS.CP.B.8Conditional Probability and the Rules of Probability(+) Apply the general Multiplication Rule in a uniform probability model, P(A and B) = P(A)P(B|A) = P(B)P(A|B), and interpret the answer in terms of the model.