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

Conditional Probability

College Depth 103 in the knowledge graph ☐ I know this ☆ Set as goal
2,363topics build on this
450prerequisites beneath it
See this on the map →
Probability AxiomsSample Spaces and Events+3 more→→Adverse SelectionBayes' Theorem+30 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 → Combining Small Groups Within 5 → Number Bonds Within 5 → Number Bonds to 10 → Tens and Ones Place Value → Reading and Writing Three-Digit Numbers → Comparing Three-Digit Numbers → Comparing and Ordering Three-Digit Quantities → Comparing and Ordering Whole Numbers → Comparing Numbers 1 to 20 → Ordering Numbers to 20 → Number Line 0 to 20 → 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 → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Multiplying Binomials (FOIL) → Factoring Trinomials → Factoring Completely → Introduction to Rational Expressions → Simplifying Radical Expressions → Segments and Distance → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Similar Right Triangles and the Geometric Mean → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Special Right Triangles: 30-60-90 → 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: 104 steps · 450 total prerequisite topics

Prerequisites (5)

Leads To (32)