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 moreAdverse 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 ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionProbability Density Functions and Continuous DistributionsCumulative Distribution FunctionsContinuous Random VariablesProbability Density FunctionsExpected ValueWeak Law of Large NumbersProbability Axioms and RulesConditional Probability

Longest path: 93 steps · 434 total prerequisite topics

Prerequisites (5)

Leads To (34)