Conditional Probability

Calculate conditional probabilities using formulas and two-way tables.

🎯⭐ INTERACTIVE LESSON

Try the Interactive Version!

Learn step-by-step with practice exercises built right in.

Start Interactive Lesson →

Conditional Probability

Definition

The conditional probability of event AA given that event BB has occurred:

P(AB)=P(AB)P(B),P(B)>0P(A|B) = \frac{P(A \cap B)}{P(B)}, \quad P(B) > 0

Read as: "the probability of A given B"

Using Two-Way Tables

Two-way tables are the easiest way to compute conditional probabilities.

Example: Students by grade and sport participation:

| | Plays Sport | No Sport | Total | |---|---|---|---| | Grade 9 | 40 | 60 | 100 | | Grade 10 | 55 | 45 | 100 | | Total | 95 | 105 | 200 |

P(SportGrade 9)=40100=0.40P(\text{Sport} | \text{Grade 9}) = \frac{40}{100} = 0.40 P(Grade 9Sport)=40950.421P(\text{Grade 9} | \text{Sport}) = \frac{40}{95} \approx 0.421

Notice: P(AB)P(BA)P(A|B) \neq P(B|A) in general!

Tree Diagrams

Tree diagrams visualize sequential events:

  1. First branch: probabilities of first event
  2. Second branch: conditional probabilities given the first event
  3. Multiply along branches for joint probabilities
  4. Add final probabilities for total

General Multiplication Rule

P(AB)=P(A)P(BA)=P(B)P(AB)P(A \cap B) = P(A) \cdot P(B|A) = P(B) \cdot P(A|B)

Bayes' Theorem

P(AB)=P(BA)P(A)P(B)P(A|B) = \frac{P(B|A) \cdot P(A)}{P(B)}

Expanded form: P(AB)=P(BA)P(A)P(BA)P(A)+P(BAc)P(Ac)P(A|B) = \frac{P(B|A) \cdot P(A)}{P(B|A) \cdot P(A) + P(B|A^c) \cdot P(A^c)}

Law of Total Probability

P(B)=P(BA)P(A)+P(BAc)P(Ac)P(B) = P(B|A) \cdot P(A) + P(B|A^c) \cdot P(A^c)

AP Tip: On the AP exam, always show your work with conditional probability. Label what each probability represents and use proper notation P(AB)P(A|B).

📚 Practice Problems

No example problems available yet.