Section 1
Where Conditional Probability Comes From
Long before anyone wrote P(A|B) on a chalkboard, people reasoned about how new information changes expectations. Physicians adjusted diagnoses when symptoms appeared, gamblers recalculated odds as cards were dealt, and merchants revised predictions based on seasonal reports. The formal language we use today grew out of centuries of effort to make that reasoning precise and reliable.
1654
1763
1812
1933
The big question these thinkers kept circling was: once you learn that some particular condition holds, how should you recalculate the probability of an event? That question leads directly to the formula and the reasoning strategy you're about to learn.
Section 2
Core Principles & Definitions
Before diving into computation, it helps to nail down four foundational ideas that make conditional probability work. If you're already comfortable with sample spaces, events, and basic probability rules from Algebra 2 or an earlier stats unit, these will feel like natural extensions.
Sample Space (S)
Event
Intersection (A ∩ B)
Conditional Probability P(A|B)
The vertical bar "|" in P(A|B) is read as "given." It signals that we are restricting our attention to only those outcomes inside B. In effect, B becomes our new, reduced sample space, and we ask how much of A survives within that smaller world.
Key Takeaway
Section 3
Seeing Conditional Probability
A Venn diagram is the most intuitive way to picture what P(A|B) means. In the diagram below, the entire rectangle is the sample space S. Circle A and circle B represent two events, and the shaded overlap is A ∩ B — the outcomes belonging to both events simultaneously.
When you compute P(A|B), imagine erasing everything outside circle B. The purple circle is now your entire universe. The conditional probability is simply the ratio of the highlighted overlap region to all of B. If B contains 20 equally likely outcomes and 8 of those also belong to A, then P(A|B) = 8/20 = 2/5. You can state the interpretation: "Given that B occurred, there is a 2/5 (or 40%) chance that A also occurred."
Section 4
The Mathematical Framework
Now let's formalize what the Venn diagram showed. The formula for conditional probability comes in two closely related forms, depending on whether you're working with individual outcome counts or with probabilities.
Definition — Outcome-Count Form
|A ∩ B| = number of outcomes in both A and B · |B| = total outcomes in B
This is the version the Common Core standard emphasizes: the conditional probability of A given B is the fraction of B's outcomes that also belong to A. It works directly when every outcome in the sample space is equally likely. You simply count how many of B's outcomes are also in A, and divide by the total count of B's outcomes.
Definition — Probability Form
P(A ∩ B) = probability both A and B occur · P(B) = probability B occurs
This second form is equivalent. Dividing both numerator and denominator of the first form by the total number of outcomes in S converts counts into probabilities. The condition P(B) > 0 is important: you can't condition on an event that is impossible, because dividing by zero is undefined.
Rearranged — The Multiplication Rule
Useful when you know the conditional probability and want the joint probability.
Rearranging the formula yields the multiplication rule. This is especially handy for multi-step probability problems (like drawing cards without replacement), because it lets you compute the probability of both events happening by chaining a conditional with a standalone probability.
Interpreting the answer in terms of the model: After computing P(A|B), always translate the number back into plain language. If P(A|B) = 3/7, say: "Within the model, once we know B has occurred, roughly 3 out of every 7 equally likely B-outcomes also satisfy A." This interpretation step is essential — a bare fraction is not a complete answer in statistics.
Section 5
Detailed Breakdown — Reading a Two-Way Table
One of the most common ways conditional probability appears in practice (and on exams) is through a two-way frequency table. These tables cross-classify data by two categorical variables, and each cell count represents an intersection. Learning to navigate these tables makes conditional probability almost mechanical.
Consider a survey of 200 students at a high school. Each student was asked two questions: "Do you play a sport?" and "Do you have an after-school job?" The results:
| Plays a Sport (B) | Does NOT Play a Sport (B′) | Total | |
|---|---|---|---|
| Has a Job (A) | 30 | 50 | 80 |
| No Job (A′) | 60 | 60 | 120 |
| Total | 90 | 110 | 200 |
Now suppose someone asks: "Given that a student plays a sport, what is the probability that the student also has a job?" In symbols, we want P(A|B). Here B is "plays a sport" and A is "has a job."
Using the outcome-count form: the total number of outcomes in B is 90 (column total for "Plays a Sport"). The number of outcomes in A ∩ B — students who both play a sport and have a job — is 30 (the cell where the "Has a Job" row meets the "Plays a Sport" column). So P(A|B) = 30/90 = 1/3 ≈ 0.333.
Interpretation: Among students in this survey who play a sport, about one-third also hold an after-school job. Notice we are not talking about all 200 students — only the 90 who play a sport. That restriction to B's column is exactly what "given B" means.
The stacked-bar chart above makes the comparison vivid. Within the "Plays Sport" bar, the amber segment (has a job) takes up about a third of the bar's height — that's P(A|B). Within the "No Sport" bar, the amber segment is almost half. The conditional probability depends on which group you condition on, and the visual makes that plain.
Section 6
Worked Example
Let's walk through a full problem from setup to interpretation.
Marble Bag — Conditional Probability
- 1
Problem
A bag contains 5 red marbles, 3 blue marbles, and 2 green marbles (10 total). A marble is drawn at random. Let event A = "the marble is red" and event B = "the marble is red or blue." Find P(A|B) and interpret the result in terms of this model. - 2
Step 1 — Identify the Sample Space and Events
The sample space S has 10 equally likely outcomes (one per marble). Event A = {red marbles} so |A| = 5. Event B = {red or blue marbles} so |B| = 5 + 3 = 8. - 3
Step 2 — Find the Intersection A ∩ B
A ∩ B contains outcomes that are both red and (red or blue). Since every red marble is already red-or-blue, the intersection is simply the set of red marbles: |A ∩ B| = 5. - 4
Step 3 — Apply the Formula
P(A|B) = |A ∩ B| / |B| = 5 / 8As a decimal, that is 0.625, or 62.5%. - 5
Step 4 — Interpret in Terms of the Model
In this marble model, once we know the drawn marble is red or blue (event B), the green marbles are ruled out and our effective pool shrinks from 10 to 8. Of those 8 marbles, 5 are red. Therefore, given that the marble is red or blue, there is a 5/8 (62.5%) probability that it is specifically red. The conditioning "zoomed in" on the red-or-blue subset and asked what share is red.
Section 7
Strengths, Limitations & Common Mistakes
Conditional probability is a powerful tool, but students sometimes trip over a few conceptual pitfalls. The table below highlights where the concept shines and where caution is needed.
| Strengths | Limitations / Pitfalls |
|---|---|
| Works directly with equally likely outcomes — just count and divide. | Requires P(B) > 0. You cannot condition on an impossible event. |
| Naturally handles "partial information" scenarios (medical tests, surveys, card draws). | Students often confuse P(A|B) with P(B|A). These are almost always different quantities. |
| Forms the basis for Bayes' Theorem, decision trees, and advanced inference. | When outcomes are not equally likely, you must use the probability form, not raw counts. |
| Easy to visualize with Venn diagrams and two-way tables. | Conditioning does not imply causation — P(A|B) tells you about co-occurrence, not cause and effect. |
The single most common mistake is flipping the condition: confusing P(A|B) with P(B|A). For example, P(has a job | plays a sport) ≠ P(plays a sport | has a job). The denominators are different because the "given" group changes. Always ask yourself: "Which event is my universe? Which event am I measuring inside that universe?"
Key Takeaway
Section 8
Connection to Advanced Theory
Conditional probability doesn't just live in this chapter — it's the gateway to some of the most important ideas in statistics and data science. Here's a quick comparison of what you've learned versus where the concept leads.
| What You Know Now | Where It Leads |
|---|---|
| P(A|B) = P(A ∩ B) / P(B) | Bayes' Theorem: P(A|B) = P(B|A) × P(A) / P(B). Lets you "reverse" a conditional — essential in medical testing, spam filters, and machine learning. |
| If P(A|B) = P(A), events are independent. | Independence tests in statistics use this idea to determine whether two variables in a data set are associated or unrelated. |
| Multiplication Rule: P(A ∩ B) = P(A|B) × P(B) | Probability trees and sequential experiments (drawing cards without replacement, multi-stage clinical trials) chain multiple conditional probabilities together. |
| Conditioning restricts the sample space. | Conditional distributions in AP Statistics and college courses describe an entire probability distribution, not just a single event, after conditioning on a variable. |
If you continue into AP Statistics or a college probability course, Bayes' Theorem will become one of your most-used tools. Its foundation is exactly the conditional probability formula you just learned — so mastering the "fraction of B's outcomes that belong to A" perspective now will pay dividends later.
Section 9
Practice Problems
Question 1: Problem 1 — Conceptual
Show answer
Question 2: Problem 2 — Basic Calculation
Show answer
Question 3: Problem 3 — Intermediate
Show answer
Question 4: Problem 4 — Applied / Multi-Step
Show answer
Question 5: Problem 5 — Critical Thinking
Show answer
Summary
Lesson Summary
Summary
Conditional probability answers the question: once we know event B has happened, what is the likelihood that event A also happens? The formula P(A|B) = |A ∩ B| / |B| (or equivalently P(A ∩ B) / P(B)) captures this by treating B as the new, restricted sample space and measuring the fraction of B's outcomes that also belong to A. Visually, you can see this as the overlap region in a Venn diagram divided by the entire area of circle B, or as a column percentage in a two-way frequency table. Always remember to interpret the result in context: state what the probability means within the specific model (deck of cards, survey data, production process, etc.).
Key reminders: P(A|B) ≠ P(B|A) in general — the conditioning group determines the denominator. When P(A|B) = P(A), events A and B are independent, meaning knowledge of one provides no information about the other. The multiplication rule (P(A ∩ B) = P(A|B) × P(B)) lets you chain conditional probabilities in multi-step scenarios, paving the way for decision trees and Bayes' Theorem in future courses.