# Conditional Probability

> AP Statistics · AP Stats
> Source: https://www.owlsprep.com/study/ap-statistics-u11-conditional-probability/

This module covers the formal definition of conditional probability, calculation methods for common AP exam data formats, the general multiplication rule, and independence verification.

**Prerequisites:** [Basic probability axioms and standard notation](https://www.owlsprep.com/study/ap-statistics-u11-basic-probability-rules/); [Two-way tables and Venn diagram interpretation](https://www.owlsprep.com/study/ap-statistics-u11-venn-diagrams-two-way-tables/)

## Learning objectives

- Define conditional probability using formal notation and the standard formula
- Calculate conditional probability from two-way tables, Venn diagrams, and raw event counts
- Apply the general multiplication rule for dependent sequential events
- Verify if two events are statistically independent using conditional probability checks

## Formal Definition and Core Formula

Conditional probability solves problems where you have partial information about the outcome, and can narrow down the set of possible results. Unlike unconditional probability that uses the full sample space, conditional probability restricts your analysis to only the subset of outcomes that match the given condition.

**Conditional Probability Formula** — The ratio of the joint probability of both events A and B occurring, divided by the marginal probability of event B occurring

*Notation:* $P(A|B)$

*Example:* If P(rain) = 0.3 and P(rain and cloudy) = 0.27, then P(rain|cloudy) is calculated using the formula

**Derivation:** Derive the conditional probability formula

*Starting from:* For equally likely outcomes, probability is the count of favorable outcomes divided by total outcomes

1. Start with the restricted sample space: only outcomes where event B occurs
2. Within this subset, the favorable outcomes are those where both A and B occur
3. $$P(A|B) = \frac{n(A \cap B)}{n(B)}$$
4. Divide numerator and denominator by total population size N
5. $$P(A|B) = \frac{n(A \cap B)/N}{n(B)/N} = \frac{P(A \cap B)}{P(B)}$$

*Conclusion:* The conditional probability formula holds for all events where P(B) > 0

**Worked example:** Given P(B) = 0.6 and P(A ∩ B) = 0.24, calculate P(A|B)

1. Identify the values from the problem: P(B) = 0.6, P(A∩B) = 0.24
2. $$P(A|B) = \frac{P(A \cap B)}{P(B)}$$
3. $$P(A|B) = \frac{0.24}{0.6} = 0.4$$

**Check your understanding**

Test your understanding of the core formula

1. Which value must be non-zero for P(A|B) to be defined?

   - P(A)
   - P(B)
   - P(A ∩ B)
   - P(A ∪ B)

   *Why:* If P(B) = 0, the given condition can never occur, so the conditional probability is undefined.

> **Exam tip:** AP graders will deduct points if you use P(A|B) notation without explicitly defining what events A and B represent in your solution.

## Calculation from Two-Way Tables

Two-way tables of counts are the most common format for conditional probability questions on the AP exam. You do not need to convert counts to probabilities first: you can directly use the restricted sample space of the condition's row or column to get the correct result.

|  | Passed Exam | Failed Exam | Total |
| --- | --- | --- | --- |
| Studied > 5 hours | 120 | 15 | 135 |
| Studied < 5 hours | 45 | 70 | 115 |
| Total | 165 | 85 | 250 |

**Worked example:** Using the table above, calculate the probability a student failed the exam given they studied less than 5 hours

1. Identify the given condition: student studied less than 5 hours. Restrict sample space to that row, total of 115 students
2. Count favorable outcomes: students who studied <5 hours and failed = 70
3. $$P(Fail | <5 hours study) = \frac{70}{115} \approx 0.609$$

> **tip**
>
> You do not need to use the full 250 student total for conditional probability from two-way tables. Only use the total of the condition's subset.

*Calculator:* allowed

## General Multiplication Rule

Rearranging the core conditional probability formula gives the general multiplication rule, which lets you calculate the joint probability of two dependent sequential events, such as drawing two cards without replacement from a deck.

$$P(A \cap B) = P(A|B) \times P(B)$$

**Worked example:** You draw 2 cards without replacement from a standard 52-card deck. Calculate the probability both cards are aces.

1. Define event B: first card drawn is an ace. P(B) = 4/52
2. Define event A: second card drawn is an ace. After drawing one ace, 3 aces remain out of 51 total cards, so P(A|B) = 3/51
3. $$P(both aces) = \frac{4}{52} \times \frac{3}{51} = \frac{12}{2652} \approx 0.0045$$

**Exam command terms**

Watch for these common AP exam cues for this topic:

- **Without replacement** — Events are dependent, use general multiplication rule

- **Given that** — Restrict sample space to the stated condition, calculate conditional probability

## Verifying Independence with Conditional Probability

Two events are statistically independent if the occurrence of one event does not change the probability of the other event occurring. The only valid AP exam method to confirm independence is comparing a conditional probability to its corresponding marginal probability.

**Conditional Independence Check** — Events A and B are independent if and only if P(A|B) = P(A), meaning the probability of A does not change when you know B has occurred

**Worked example:** Using the earlier two-way table of study time and exam results, verify if studying >5 hours and passing the exam are independent events

1. Calculate the marginal probability of passing the exam: P(Pass) = 165/250 = 0.66
2. Calculate the conditional probability of passing given the student studied >5 hours: P(Pass|>5 hours) = 120/135 ≈ 0.889
3. Compare the two values: 0.889 ≠ 0.66, so the events are not independent

> **Exam tip:** You will get zero points for an independence check on the AP exam if you only state your conclusion without showing the explicit comparison of the two probabilities.

## Common pitfalls

- **Wrong:** Swapping the order of events in P(A|B) to P(B|A) by mistake
  - Why it fails: The two conditional probabilities refer to completely different sample spaces, and are rarely equal in value
  - Correct: Explicitly label the given condition first, and restrict your sample space to only outcomes where the condition is true before calculating
- **Wrong:** Using the simple multiplication rule P(A∩B) = P(A)*P(B) for dependent events
  - Why it fails: This rule only holds for independent events, and will return an incorrect joint probability for related events
  - Correct: Always use the general multiplication rule unless you have explicitly confirmed the two events are independent first
- **Wrong:** Dividing the joint count by the total population size instead of the condition subset size for conditional probability
  - Why it fails: Conditional probability uses the restricted sample space of the given condition, not the full population
  - Correct: First filter your data to only include outcomes that satisfy the given condition, then calculate the probability of the target event within that subset
- **Wrong:** Claiming events are independent if P(A) ≠ P(B)
  - Why it fails: Independence only requires P(A|B) = P(A), there is no required relationship between the marginal probabilities of A and B
  - Correct: Compare the conditional probability of A given B to the unconditional marginal probability of A to confirm independence
- **Wrong:** Ignoring the 'without replacement' cue and treating sequential draws as independent
  - Why it fails: Drawing without replacement removes an outcome from the population, changing the probability of all subsequent draws
  - Correct: Immediately flag 'without replacement' prompts as dependent events, and apply the conditional multiplication rule

## Cheatsheet

| Scenario | Formula | AP Exam Requirement |
| --- | --- | --- |
| Basic conditional probability | P(A\|B) = P(A∩B) / P(B) | Define A and B explicitly for full credit |
| General multiplication rule | P(A∩B) = P(A\|B) * P(B) | Valid for all events, dependent or independent |
| Independence check | P(A\|B) = P(A) | Show both probability values for full FRQ points |
| Conditional from two-way table | Count(A∩B) / Count(B) | No need to use full population total |

## What's next

Mastering conditional probability is the critical foundation for the rest of the AP Statistics probability unit, as it forms the core logic for inference procedures including confidence intervals and hypothesis testing for categorical data. This topic is almost always tested in combination with two-way tables on the AP exam, so ensure you can quickly identify the given condition to avoid swapping event order. You will build on this knowledge to learn probability tree diagrams for sequential event problems, then formal comparisons of independent and mutually exclusive events. You will also apply conditional probability concepts directly when working on chi-square tests for association later in the curriculum.

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-statistics-u11-conditional-probability/
