Imagine 200 students. Did they use practice exams, and did they pass?

PassedFailedTotal
Practice exams9010100
No practice6040100
Total15050200

1. Ordinary probability

Use the whole table.

P(pass)=150200=0.75P(\text{pass}) = \frac{150}{200} = 0.75

2. Conditional probability

"Given practice" means: keep only the Practice exams row.

P(pass∣practice)=90100=0.90P(\text{pass} \mid \text{practice}) = \frac{90}{100} = 0.90

3. The formula says the same thing

P(A∣B)=P(A∩B)P(B)=90/200100/200=0.450.50=0.90P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{90/200}{100/200} = \frac{0.45}{0.50} = 0.90

4. Don't flip the bar

"Given pass" means: keep only the Passed column.

P(practice∣pass)=90150=0.60≠0.90P(\text{practice} \mid \text{pass}) = \frac{90}{150} = 0.60 \neq 0.90

5. Independent or not?

Independent means P(A∣B)=P(A)P(A \mid B) = P(A). Here 0.90≠0.750.90 \neq 0.75, so the events are not independent.

6. Bayes' theorem

P(B∣A)=P(A∣B) P(B)P(A)=0.90×0.500.75=0.60P(B \mid A) = \frac{P(A \mid B)\,P(B)}{P(A)} = \frac{0.90 \times 0.50}{0.75} = 0.60

The same 0.60 we read from the table.

Exam tip: turn every conditional probability question into a two-way table first.

Practise on our Practice page or book a tutor.