01 / 20

Conditional Probability
& Independence

Master how knowing one event changes the probability of another, and learn when events don't affect each other at all.

College Statistics

What Is Conditional Probability?

Conditional probability measures the likelihood of an event occurring given that another event has already occurred. It narrows the sample space from the entire set of outcomes to only those where the condition is met.

\( P(A) \)
Probability of A with no extra information: the marginal probability.
\( P(A \mid B) \)
Probability of A after learning B occurred: the conditional probability.

Visualizing with a Venn Diagram

Sample Space S A B A ∩ B This region matters for P(A|B)

Why Does This Matter?

Conditional probability is the backbone of Bayesian reasoning, medical testing, spam filters, and everyday decision-making. Whenever new information arrives, you are computing a conditional probability, whether you realize it or not.

Medical Tests
What is the probability a patient has a disease given a positive test result?
Weather
What is the probability of a flight delay given a thunderstorm warning?
Quality Control
What is the probability a defective item came from Machine 2 given it failed inspection?

The Conditional Probability Formula

\( P(A \cap B) \)
The probability that both A and B occur simultaneously.
\( P(B) \)
The probability of the conditioning event: our new denominator.

How the Formula Shrinks the Space

Full Sample Space A B given B New Universe: B A ∩ B B only P(A|B) = (amber region) / (entire green circle)

Conditioning on B discards everything outside the green circle. The amber intersection divided by the total green area gives \( P(A \mid B) \).

What Is Independence?

Two events are independent if knowing one occurred gives no information about the other. The conditional probability equals the original probability:

Dependent vs. Independent

Dependent Events Independent Events
Definition \( P(A \mid B) \neq P(A) \) \( P(A \mid B) = P(A) \)
Product Rule \( P(A \cap B) = P(A \mid B) \cdot P(B) \) \( P(A \cap B) = P(A) \cdot P(B) \)
Example Drawing cards without replacement Flipping a coin, then rolling a die
Learning B... Changes the probability of A Does not change the probability of A

How to Apply the Concepts

1
Identify the events. Clearly define A and B. What is the event of interest? What is the given condition?
2
Find the given probabilities. Extract \( P(A) \), \( P(B) \), and \( P(A \cap B) \) from the problem or a table.
3
Apply the formula. Use \( P(A \mid B) = \frac{P(A \cap B)}{P(B)} \). Make sure \( P(B) > 0 \).
4
Test for independence. Compare \( P(A \mid B) \) with \( P(A) \). If equal, the events are independent.
5
Interpret in context. State your answer as a sentence: "Given that B occurred, there is a ___% chance of A."

Example 1: Fair Dice

A fair six-sided die is rolled. Let A = "roll is even" and B = "roll is greater than 3." Find \( P(A \mid B) \) and determine whether A and B are independent.

1 2 3 4 A ∩ B 5 B only 6 A ∩ B A: Even B: > 3

Example 2: Two-Way Table

A survey of 200 students asks about exercise and GPA. Find \( P(\text{High GPA} \mid \text{Exercises}) \) and test independence.

Exercises Doesn't Exercise Total
High GPA 60 30 90
Low GPA 40 70 110
Total 100 100 200

Example 3: Proving Independence

A card is drawn from a standard 52-card deck. Let A = "card is a King" and B = "card is a Heart." Are A and B independent?

52-Card Deck Hearts 13 cards Kings 4 cards K ♥ 1 card

Tree Diagrams & the Multiplication Rule

A tree diagram breaks multi-stage experiments into sequential branches. Each branch is labeled with a conditional probability, and the probability of any path is the product of all branch probabilities along that path.

Start 0.3 Rain 0.7 No Rain P(L|R) = 0.5 Late 0.3 × 0.5 = 0.15 0.5 On Time 0.3 × 0.5 = 0.15 P(L|NR) = 0.1 Late 0.7 × 0.1 = 0.07 0.9 On Time 0.7 × 0.9 = 0.63

Bayes' Theorem: Reversing the Condition

What if you know \( P(B \mid A) \) but need \( P(A \mid B) \)? Bayes' Theorem lets you reverse the direction of conditioning:

\( P(A) \)
Prior: your belief about A before seeing B.
\( P(B \mid A) \)
Likelihood: how probable B is if A is true.
\( P(A \mid B) \)
Posterior: updated belief about A after observing B.

Common Mistakes to Avoid

✕ Confusing Direction
Assuming \( P(A \mid B) = P(B \mid A) \). These are almost never equal. Use Bayes' Theorem to convert.
✕ Mutually Exclusive = Independent
If \( A \cap B = \varnothing \), knowing B happened means A definitely didn't. That's dependence, not independence.
✕ Adding Joint Probabilities
Writing \( P(A \cap B) = P(A) + P(B) \). The joint probability uses multiplication, not addition.

Summary of Key Formulas

Concept Formula When to Use
Conditional Probability \( P(A \mid B) = \frac{P(A \cap B)}{P(B)} \) Finding P of A given B happened
Multiplication Rule \( P(A \cap B) = P(A \mid B) \cdot P(B) \) Finding joint probability
Independence Test \( P(A \cap B) = P(A) \cdot P(B) \) Checking if events affect each other
Bayes' Theorem \( P(A \mid B) = \frac{P(B \mid A) \cdot P(A)}{P(B)} \) Reversing the condition direction
Total Probability \( P(B) = \sum P(B \mid A_i) \cdot P(A_i) \) Finding P(B) across all branches

Question 1 of 5

If \( P(A) = 0.4 \), \( P(B) = 0.5 \), and \( P(A \cap B) = 0.2 \), what is \( P(A \mid B) \)?

Question 2 of 5

Events A and B are independent with \( P(A) = 0.3 \) and \( P(B) = 0.6 \). What is \( P(A \cap B) \)?

Question 3 of 5

If two events are mutually exclusive (and both have non-zero probability), can they be independent?

Question 4 of 5

A disease affects 1% of a population. A test is 95% accurate (detects the disease when present) and has a 3% false positive rate. If a person tests positive, what is the probability they actually have the disease?

Question 5 of 5

From the tree diagram earlier: \( P(\text{Rain}) = 0.3 \), \( P(\text{Late} \mid \text{Rain}) = 0.5 \), \( P(\text{Late} \mid \text{No Rain}) = 0.1 \). What is \( P(\text{Rain} \mid \text{Late}) \)?