Conditional Probability, Bayes' Theorem, Independence
Conditional probability measures the probability of event given that has occurred; it is the cornerstone of probabilistic reasoning. Bayes' theorem inverts conditionals, letting us update beliefs from evidence. Independence is the special case where conditioning changes nothing: . Applies wherever uncertainty is updated by information — statistics, machine learning, medicine, forensics. Formalized by Kolmogorov (1933), with Bayes' rule due to Thomas Bayes (posth. 1763) and Laplace.
Conditioning on is nothing more than renormalizing the probability measure to live inside . The whole machinery — Bayes, independence, the chain rule, total probability — follows mechanically from the single defining ratio . Bayes' theorem is just this definition written twice and equated through the shared joint probability .
Formal Statement
Let be a probability space and let with . The conditional probability of given is
Derivation hint: restrict the sample space to and renormalize so that ; the ratio achieves exactly this. Symbols: is the sample space; the -algebra of events; a probability measure; the joint event "both and "; the prior weight of the conditioning event, required positive so the ratio is defined.
Rearranging [1] gives the joint probability as a product:
Derivation hint: clear the denominator in [1], then write [1] with and swapped and equate the joints. Generalized to events:
Derivation hint: telescope [2] by peeling off one conditioning event at a time, .
Events and are independent iff
Derivation hint: substitute [4] into [1]; when this is equivalent to , i.e. conditioning is informationally inert. A family is mutually independent iff for every finite subset ,
Derivation hint: pairwise independence checks only ; mutual independence demands the product rule for all subsets simultaneously — a strictly stronger condition.
If is a partition of (disjoint, exhaustive, each ), then for any event ,
Derivation hint: write as a disjoint union, apply countable additivity, then [2] to each term.
For events with ,
Derivation hint: equate the two products in [2] and solve for . With a partition , expanding the denominator via [6]:
Derivation hint: apply [7] with , then replace by the total-probability sum [6]. Here is the prior, the likelihood, the posterior, and the denominator the evidence (marginal likelihood / normalizing constant).
Why It Holds / Derivation
1. By definition [1], assuming and :
2. The joint is symmetric — it is the same number in both expressions. Solve the second for it:
3. Substitute into the first:
which is [7].
∎1. Since partitions , the sets are pairwise disjoint and their union is :
2. By (countable) additivity of on disjoint sets:
3. Apply the multiplication rule [2] to each term: , yielding [6].
∎A Presbyterian minister and Fellow of the Royal Society, Bayes left an unpublished essay solving the "inverse probability" problem: given an observed number of successes, what can be said about the underlying chance? His friend Richard Price edited and read it posthumously to the Royal Society in 1763 ("An Essay towards solving a Problem in the Doctrine of Chances"). Bayes treated only the uniform-prior case for a binomial parameter; the general theorem and its systematic use were developed independently and far more powerfully by Pierre-Simon Laplace from 1774 onward. The modern measure-theoretic foundation came from Kolmogorov in 1933.
Building Intuition
Picture probability as area on a unit-area dartboard . Event is a region; conditioning on means throwing away the rest of the board and asking what fraction of the remaining region also lies in . That is why we divide by : we are recomputing area as a fraction of the new, smaller universe.
Independence means occupies the same fraction of as it does of the whole board — knowing you landed in tells you nothing about whether you also landed in .
Bayes is the bookkeeping that lets you trade for once you know how big the two regions are individually. The deep point: the direction of a conditional matters enormously. "Probability of a rash given measles" and "probability of measles given a rash" are wildly different numbers, related only through the prevalence (prior) of measles.
Worked Examples
Given: A disease has prevalence (1 in 1000). A test has sensitivity and specificity , so the false-positive rate is . A patient tests positive. Find .
Steps: 1. Total probability of a positive test [6]:
2. Bayes' theorem [7]:
Answer:
Despite a "99% accurate" test, a positive result indicates disease only ~9% of the time — because true positives ( per 1000) are swamped by false positives ( per 1000). This is the base-rate fallacy.
Given: Toss two fair coins. Let first is heads, second is heads, the two coins match. Each has probability .
Steps: 1. Check pairwise. ✓ ✓ ✓ — all three pairs independent. 2. Check mutual independence via [5] for :
But 3. Since , the triple product rule fails.
Answer:
Indeed is fully determined by and together — knowing both fixes whether they match.
Common Misconceptions
1. Confusing the direction: in general (the "prosecutor's fallacy"). They differ by the factor . 2. Ignoring the base rate: treating as if it equals the test's sensitivity . 3. Confusing independent with mutually exclusive: if are disjoint with positive probability, they are dependent, since . 4. Assuming pairwise independence implies mutual independence (see counterexample above). 5. Conditioning on a null event: is undefined when (needs regular conditional probability / measure theory to repair). 6. Forgetting that independence is relative to the measure : the same events can be independent under one and dependent under another.
Roll one fair die. Let roll is and roll is . These are mutually exclusive: , so . Yet . Knowing occurred makes impossible — maximal dependence. Students who hear " and can't both happen" and conclude "they don't influence each other" have it exactly backwards.
Connections
Conditional probability is the gateway to nearly all of probability theory. It specializes to Conditional Expectation when we condition random variables rather than events, and to the Conditional Density in the continuous case. Independence of events generalizes to independence of Random Variables (factorization of joint distributions) and underlies the Law of Large Numbers and Central Limit Theorem, both of which assume i.i.d. samples. Bayes' theorem is the foundation of Bayesian Inference, the engine of Markov Chains (via conditional transition rules), and the backbone of Naive Bayes Classifiers. The chain rule [3] structures Probabilistic Graphical Models and Bayesian networks.
Real-World Applications
Historical Development
Subtleties & Limits
Conditioning on null events. The elementary definition [1] breaks when — yet we routinely condition on continuous events like , each of measure zero. The resolution, regular conditional probability via the Radon–Nikodym theorem and the disintegration theorem, is subtle and (in pathological measurable spaces) not always guaranteed to exist nicely. The Borel–Kolmogorov paradox shows that "the probability conditional on a measure-zero event" can depend on how one approaches that event (which limiting family of positive-measure sets is used), so the naive limit is ambiguous. Foundationally, the meaning of subjective vs. objective probability, the choice of priors (objective/Jeffreys vs. subjective), and the philosophical status of the likelihood principle remain actively debated at the boundary between probability and statistics.
See Also
Probability Axioms · Bayesian Inference · Conditional Expectation · Law of Large Numbers · Central Limit Theorem · Markov Chains · Random Variables · Naive Bayes Classifiers · Borel–Kolmogorov Paradox