Read the first worked example with the solution open so the structure is clear.
Try the practice problems before revealing each solution.
Use the related concepts and background knowledge badges if you feel stuck.
What to Focus On
Core idea:P(A∣B) is the chance of A once you restrict attention to only the cases where B already happened.
Common stuck point:The procedure for conditional probability is the easy part; the trap is dividing by the whole sample space. Asking "Has some information already been revealed that shrinks the set of possible outcomes?" first is what keeps a correct-looking calculation from being attached to the wrong concept.
Sense of Study hint:Ask: Has some information already been revealed that shrinks the set of possible outcomes?
Worked Examples
Example 1
medium
In a class of 30 students, 18 play soccer, 12 play basketball, and 6 play both. If a student plays soccer, what is the probability they also play basketball?
Answer
P(B∣S)=31
First step
1
We need P(B∣S)=P(S)P(B∩S).
See the full worked solution + why-it-works coaching
Setup·Key insight·Why it works·Common pitfall·Connection
A test for a disease is 95% accurate (true positive rate) with a 3% false positive rate. If 1% of the population has the disease, what is the probability a person who tests positive actually has the disease?
Example 3
medium
Of 200 surveyed, 120 own a dog and 80 own a cat; 50 own both. P(cat∣dog)=?
Example 4
medium
Show why P(A∣B)=P(B∣A) in general by example: P(A)=0.5,P(B)=0.1,P(A∩B)=0.05. Find both.
Example 5
hard
Among 1000 patients, 100 have disease D. A test has 90% sensitivity and 80% specificity. Of those testing positive, how many actually have D?
Example 6
challenge
Monty Hall: 3 doors, 1 prize. You pick door 1. Monty reveals a goat behind door 3. If you switch to door 2, P(win)=?
Example 7
challenge
A pair of dice is rolled until the sum is 7 or 11. Find P(the stopping sum is 11).
Practice Problems
Try these problems on your own first, then open the solution to compare your method.
Example 1
medium
Two cards are drawn without replacement from a standard deck. Given that the first card is a king, what is the probability the second card is also a king?
Example 2
hard
A jar contains 6 red marbles and 4 blue marbles. Two marbles are drawn without replacement. Given that at least one marble is blue, what is the probability both marbles are blue?
Example 3
easy
A bag has 10 marbles, 4 of which are red. P(red)=?
Example 4
easy
Of 20 students, 12 like math and 5 like both math and art. P(art∣math)=?
Example 5
easy
P(A∩B)=0.2 and P(B)=0.5. Find P(A∣B).
Example 6
easy
A die is rolled. Given the result is even, P(it is 6)=?
Example 7
easy
A card is drawn from 52. Given it is a heart, P(it is the ace)=?
Example 8
easy
P(B)=0.4, P(A∣B)=0.5. Find P(A∩B).
Example 9
easy
In a class, P(passes∣studied)=0.9. If 20 studied, how many are expected to pass?
Example 10
easy
P(A∣B)=P(B)P(A∩B). What must be true of P(B) for this to be defined?
Example 11
medium
A box has 5 red and 3 blue. Two are drawn without replacement. P(2nd red∣1st red)=?
Example 12
medium
60% of emails are spam; 80% of spam contains 'free'. P(spam and ’free’)=?
Example 13
medium
A test is 95% accurate. P(positive∣disease)=0.95, P(disease)=0.02. Find P(disease and positive).
Example 14
medium
Table: of 100 people, 30 smoke; 18 of smokers have cough. P(cough∣smoke)=?
Example 15
medium
Two dice rolled. Given the sum is 7, P(one die shows 3)=?
Example 16
medium
P(A)=0.3, P(B)=0.5, P(A∩B)=0.15. Find P(A∣B) and state if A,B independent.
Example 17
medium
A jar: 7 green, 3 yellow. Draw two without replacement. P(both green)=?
Example 18
medium
In a deck, P(king∣face card)=? (face cards: J, Q, K).