A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Conditional Probability

College Depth 92 in the knowledge graph ☐ I know this ☆ Set as goal
2,281topics build on this
434prerequisites beneath it
See this on the map →
Probability AxiomsSample Spaces and Events+3 more→→Adverse SelectionBayes' Theorem+32 more
conditional probability dependence

Core Idea

Conditional probability P(A|B) is the probability of event A given that event B has occurred. It is defined as P(A|B) = P(A ∩ B) / P(B) when P(B) > 0. Conditioning on new information updates the sample space to only those outcomes where the conditioning event occurred, rescaling probabilities accordingly.

Explainer

From probability-axioms, you know that every event has a probability between 0 and 1 and that all outcomes in the sample space sum to 1. Conditional probability extends this framework: when new information arrives, it eliminates outcomes that are no longer possible and forces us to rescale the remaining probabilities so they still sum to 1.

The formal definition is P(A|B) = P(A ∩ B) / P(B). To see why this makes sense, imagine rolling a fair six-sided die. The full sample space is {1, 2, 3, 4, 5, 6}. If you learn the result is even (event B = {2, 4, 6}), the outcomes 1, 3, 5 are impossible — your effective sample space shrinks to {2, 4, 6}. Now, what is the probability the result exceeds 4 (event A = {5, 6})? Among the even outcomes only 6 qualifies, so P(A|B) = 1/3. Verify with the formula: P(A ∩ B) = P({6}) = 1/6 and P(B) = 3/6 = 1/2, so P(A|B) = (1/6)/(1/2) = 1/3. The formula performs exactly the "shrink then rescale" operation geometrically.

A critical misconception to avoid: P(A|B) is generally not equal to P(B|A). Consider a diagnostic test: P(positive test | disease) might be 0.95, meaning the test is sensitive. But P(disease | positive test) — the probability you actually have the disease given a positive result — depends heavily on how rare the disease is in the population. If only 1 in 1000 people have it, most positives will be false alarms even with a 95%-sensitive test. This asymmetry is so counterintuitive that it surprises even trained professionals, and it is the engine behind Bayes' theorem, which you will encounter next.

Conditional probability also gives a formal definition of independence. Two events A and B are independent exactly when P(A|B) = P(A) — knowing B occurred gives no information about A. Equivalently, P(A ∩ B) = P(A)P(B). You may have encountered independence informally before; conditional probability is what makes the definition precise. When conditioning on B has no effect on A's probability, the events are truly unrelated in a probabilistic sense.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability

Longest path: 93 steps · 434 total prerequisite topics

Prerequisites (5)

Leads To (34)