Skip to content

Conditional Probability

Calculate conditional probabilities using formulas and two-way tables.

Written and reviewed by the Study Mondo Education TeamLast updated
🎯⭐ INTERACTIVE LESSON

Try the Interactive Version!

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

Start Interactive Lesson →

🔗 Conditional Probability

Definition

Conditional probability: Probability of AA given BB has occurred

P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

Intuition: Restrict sample space to outcomes where BB occurred; within that, find proportion where AA also occurred

Notation: "P(A∣B)P(A|B)" reads as "probability of AA given BB"

Worked Example with Two-Way Table

Data: 200 AP Statistics students

Passed ExamFailed ExamTotal
Attended Class955100
Skipped Class4060100
Total13565200

Question: What's the probability a student passed, given they attended class?

P(Passed∣Attended)=P(Passed∩Attended)P(Attended)=95/200100/200=95100=0.95P(\text{Passed} | \text{Attended}) = \frac{P(\text{Passed} \cap \text{Attended})}{P(\text{Attended})} = \frac{95/200}{100/200} = \frac{95}{100} = 0.95

Question: What's the probability a student attended class, given they passed?

P(Attended∣Passed)=95/200135/200=95135≈0.704P(\text{Attended} | \text{Passed}) = \frac{95/200}{135/200} = \frac{95}{135} ≈ 0.704

Note: P(A∣B)≠P(B∣A)P(A|B) \neq P(B|A)

Tree Diagrams

For sequential events:

Start
├─ A (prob=0.4)
│  ├─ C (prob=0.7)
│  └─ D (prob=0.3)
└─ B (prob=0.6)
   ├─ C (prob=0.2)
   └─ D (prob=0.8)

Path probabilities: Multiply along branches

  • P(A and C)=0.4×0.7=0.28P(A \text{ and } C) = 0.4 × 0.7 = 0.28
  • P(B and C)=0.6×0.2=0.12P(B \text{ and } C) = 0.6 × 0.2 = 0.12

Total: P(C)=0.28+0.12=0.40P(C) = 0.28 + 0.12 = 0.40

Multiplication Rule (General)

P(A∩B)=P(A)⋅P(B∣A)P(A \cap B) = P(A) · P(B|A)

Or equivalently: P(A∩B)=P(B)⋅P(A∣B)P(A \cap B) = P(B) · P(A|B)

Use: To find probability of both events

Common Mistakes

  • Confusing P(A∣B)P(A|B) with P(B∣A)P(B|A)
  • Using P(A∩B)P(A \cap B) when conditional probability asked
  • Forgetting to divide by P(B)P(B) in conditional probability formula

Decision Rule

"Given that" in problem? → Use conditional probability Computing P(A and B)P(A \text{ and } B) first? → Use multiplication rule

AP Exam Tip

Always redraw two-way table or tree for conditional probability problems. Shading/circling the condition helps avoid errors.

📚 Practice Problems

1Problem 1easy

❓ Question:

A two-way table shows 200 students: 120 took calculus, 80 took statistics. 50 took both. Find P(Calculus | Statistics).

💡 Show Solution

P(Calculus | Statistics) = P(Calculus ∩ Statistics) / P(Statistics) = 50/80 = 5/8 = 0.625. Of the 80 students taking statistics, 50 also took calculus, so the conditional probability is 62.5%.

2Problem 2hard

❓ Question:

A medical test has sensitivity 0.95 (P(positive | disease)) and specificity 0.90 (P(negative | no disease)). If disease prevalence is 0.02, find P(disease | positive) using Bayes' theorem.

💡 Show Solution

Let D = disease, + = positive test. P(D|+) = P(+|D)P(D) / [P(+|D)P(D) + P(+|¬D)P(¬D)]. P(+|¬D) = 1 - 0.90 = 0.10. P(D|+) = (0.95 × 0.02) / [(0.95 × 0.02) + (0.10 × 0.98)] = 0.019 / 0.117 ≈ 0.162. Only about 16.2% of positive tests indicate disease; this shows the importance of base rates in medical testing.

3Problem 3medium

❓ Question:

In a deck of 52 cards, what is P(second card is an ace | first card was an ace, drawn without replacement)?

💡 Show Solution

After removing one ace, 3 aces remain out of 51 cards total. P(2nd ace | 1st ace) = 3/51 = 1/17 ≈ 0.0588. Without replacement, the sample space shrinks, lowering the conditional probability of a second ace.

Explain using:

⚠️ Common Mistakes: Conditional Probability

Avoid these 3 frequent errors

📌 Related Topics in Unit 4: Probability, Random Variables, and Probability Distributions

❓ Frequently Asked Questions

What is Conditional Probability?▾
Calculate conditional probabilities using formulas and two-way tables.
How can I study Conditional Probability effectively?▾
Start by reading the study notes and working through the examples on this page. Then use the flashcards to test your recall. Practice with the 3 problems provided, checking solutions as you go. Regular review and active practice are key to retention.
Is this Conditional Probability study guide free?▾
Yes — all study notes, flashcards, and practice problems for Conditional Probability on Study Mondo are free to access. No account is needed.
What course covers Conditional Probability?▾
Conditional Probability is part of the AP Statistics course on Study Mondo, specifically in the Unit 4: Probability, Random Variables, and Probability Distributions section. You can explore the full course for more related topics and practice resources.
Are there practice problems for Conditional Probability?▾
Yes, this page includes 3 practice problems with detailed solutions. Each problem includes a step-by-step explanation to help you understand the approach.