01 / 21

Conditional Probability
and Independence

Learn how knowing that one event happened changes the chance of another, captured by \( P(A \mid B) = \frac{P(A \text{ and } B)}{P(B)} \).

Statistics & Probability

What Is Conditional Probability?

Sometimes we get extra information that narrows down what could happen. Conditional probability measures the chance of event \( A \) given that event \( B \) has already occurred.

Knowing \( B \) happened shrinks our world to only the outcomes where \( B \) is true, then asks how often \( A \) also happens within that smaller world.

Shrinking the Sample Space

Sample space S A B A and B (overlap)

Why It Matters

Medical Tests
The chance of having a disease given a positive test result.
Weather
Probability of rain given that the sky is cloudy this morning.
Games & Cards
Drawing a king given that the card you drew is a face card.

The Core Formula

1
Numerator: \( P(A \text{ and } B) \), the chance both events happen together.
2
Denominator: \( P(B) \), the chance the given event happens. This is our new "whole."
3
Result: the share of \( B \)-outcomes that also satisfy \( A \).

Rearranging: The Multiplication Rule

Multiply both sides of the formula by \( P(B) \) and we get a handy way to find the chance of two events happening together:

What Does Independence Mean?

Two events are independent when knowing one happened gives you no information about the other. The condition simply doesn't change the odds.

The Independence Test

There is an equivalent and often easier check. If \( A \) and \( B \) are independent, then the multiplication rule simplifies:

1
Compute \( P(A)\cdot P(B) \).
2
Compute the actual \( P(A \text{ and } B) \).
3
If they are equal, the events are independent. If not, they are dependent.

Independent vs. Mutually Exclusive

These two ideas are often confused but mean very different things.

Independent
One event does not affect the other. They can happen together: \( P(A \text{ and } B) = P(A)P(B) \neq 0 \).
Mutually Exclusive
They cannot both happen: \( P(A \text{ and } B) = 0 \). Knowing one happened tells you the other did not.

How to Solve These Problems

1
Identify the condition. Which event is "given"? That goes after the bar and becomes your denominator.
2
Find \( P(B) \) and \( P(A \text{ and } B) \), often by counting outcomes or reading a table.
3
Divide: \( P(A \mid B) = \dfrac{P(A \text{ and } B)}{P(B)} \).
4
Check independence by comparing \( P(A \mid B) \) with \( P(A) \).

Example 1: Drawing Cards

A card is drawn from a standard 52-card deck. Find \( P(\text{King} \mid \text{Face card}) \). Face cards are J, Q, K (12 cards). Kings are 4 cards.

Face cards 12 of 52 Kings (also face) 4 of 52

Example 2: Two-Way Table

100 students surveyed. Find \( P(\text{Likes Sports} \mid \text{Senior}) \).

Likes SportsNo SportsTotal
Senior181230
Junior403070
Total5842100

Example 2: Independence Check

Using the same table, are "Likes Sports" and "Senior" independent? Compare \( P(\text{Sports} \mid \text{Senior}) \) with \( P(\text{Sports}) \).

Conditional
$$ P(\text{Sports} \mid \text{Senior}) = \frac{18}{30} = 0.60 $$
Overall
$$ P(\text{Sports}) = \frac{58}{100} = 0.58 $$

Example 3: Two Independent Events

A fair die is rolled and a fair coin is flipped. Let \( A \) = "die shows 6" and \( B \) = "coin shows heads." Are they independent, and what is \( P(A \text{ and } B) \)?

Common Mistakes

✕ Flipping the bar
\( P(A \mid B) \) is not the same as \( P(B \mid A) \). Order matters!
✕ Wrong denominator
Divide by \( P(B) \), the given event, not by the whole sample space.
✕ Confusing terms
Mutually exclusive is not the same as independent. Exclusive events are dependent.
✕ Assuming independence
Always test with \( P(A)P(B) = P(A \text{ and } B) \); don't just assume it.

Summary Reference

ConceptFormulaMeaning
Conditional\( \frac{P(A \text{ and } B)}{P(B)} \)Chance of \( A \) given \( B \)
Multiplication\( P(A \mid B)P(B) \)Chance both occur
Independent\( P(A \mid B) = P(A) \)\( B \) gives no info on \( A \)
Independent test\( P(A)P(B) = P(A \text{ and } B) \)Quick check

Question 1 of 5

What does \( P(A \mid B) \) represent?

Question 2 of 5

If \( P(A \text{ and } B) = 0.2 \) and \( P(B) = 0.5 \), what is \( P(A \mid B) \)?

Question 3 of 5

Events \( A \) and \( B \) are independent when:

Question 4 of 5

A fair coin is flipped twice. With \( P(A) = P(B) = 0.5 \) for heads on each flip, what is \( P(A \text{ and } B) \) since the flips are independent?

Question 5 of 5

Suppose \( P(A) = 0.3 \), \( P(B) = 0.4 \), and \( P(A \text{ and } B) = 0.2 \). Are \( A \) and \( B \) independent?