Combinatorial Probability
How likely are you to be dealt a full house in poker? What is the chance that among twenty-three strangers, two share a birthday? Questions like these seem to be about cards and calendars. But underneath they are all the same question. Out of a finite universe of equally plausible outcomes, what fraction belongs to the event we care about? Combinatorial probability is the systematic answer to that question. It is built on the idea of counting rather than measuring. The idea matters because it is the bridge between two things. On one side is the abstract The Axioms of Probability, which only guarantee that probabilities are consistent numbers. On the other side is the concrete arithmetic that lets us actually compute them. When a sample space is finite and every outcome is equally likely, probability collapses into a counting problem. Divide the number of favorable outcomes by the total number of outcomes. The entire difficulty, and the entire richness, of the subject then lies in counting correctly. This is where permutations, combinations, and their many variants enter. The big picture is that "equally likely outcomes" is not a universal law of nature. It is a modeling choice. This choice is exactly right for idealized dice, cards, and coins. Its careless application is also the single most common source of probability errors. Once the model is fixed, however, the classical definition of probability simplifies things greatly. It turns every probability computation into two counting computations: count the favorable outcomes, count all outcomes, divide. This article gives the precise definition of the classical (equally-likely-outcomes) probability model. It develops the counting tools — permutations, combinations, and the multiplication principle — needed to apply it. It proves the central formula rigorously from the axioms. It also works through genuinely asymmetric examples, a poker hand and a birthday-type collision problem, to show the machinery in full force. It closes by showing exactly where the "equally likely" hypothesis can fail. Finally, it shows where combinatorial probability leads next: toward Conditional Probability and toward Discrete Random Variables built from these same counts.
- Combinatorial probability applies when a sample space is finite and every outcome is equally likely.
- In that model, : probability is literally a ratio of counts.
- The multiplication principle is the engine underneath every counting formula.
- Permutations count ordered selections; combinations count unordered selections.
- Classic applications: card hands, birthday coincidences, lottery-style draws, sampling without replacement.
- Key idea: when outcomes are symmetric, probability is a counting problem in disguise.
Where this lives today
Combinatorial probability is the computational backbone of elementary probability theory and reaches far beyond games of chance. In cryptography, the security of many schemes rests on counting: the probability of guessing a key by brute force, or of a hash collision, is a ratio of favorable to total equally likely bit-strings, directly generalizing the birthday-collision calculation above. In statistics, the hypergeometric distribution — describing sampling without replacement from a finite population, as in quality control or ecological capture-recapture studies — is built entirely from combinations . In computer science, algorithm analysis for randomized algorithms (random pivoting in quicksort, hashing schemes, randomized load balancing) uses exactly the permutation/combination counting developed here to bound expected running times and collision probabilities. In physics, statistical mechanics computes the entropy and equilibrium behavior of systems (e.g., counting microstates of gas particles in a box) using the same combinatorial counting of equally likely microstates, going back to Boltzmann's counting-based definition of entropy. In genetics, Punnett-square and allele-combination calculations are direct applications of the multiplication principle and combinations to equally likely gamete pairings. Within probability itself, this machinery is the immediate precursor to Conditional Probability (where counting is restricted to a reduced sample space) and to building Discrete Random Variables such as the binomial and hypergeometric distributions, whose probability mass functions are literally combinatorial counting formulas normalized to sum to one.
Ask the tutor: Can you walk me through why the full-house count uses 12 remaining ranks but not 11, and how that connects to conditional counting?
Let be a finite sample space, , with . The classical probability model on assigns to each outcome the probability
and, for any event , defines
Here denotes the number of outcomes (elements) in . This model is used precisely when the underlying experiment has a symmetry — physical, combinatorial, or assumed by hypothesis — that makes every single outcome in equally plausible; the standard justifications are fair coins, fair dice, well-shuffled decks, and uniform random sampling without replacement from a finite population. The counting tools used to evaluate and are:
- Multiplication principle. If a procedure consists of successive stages, and stage can be carried out in ways regardless of the choices made in earlier stages, then the whole procedure can be carried out in ways.
- Permutations. The number of ordered arrangements of distinct objects taken at a time is
- Combinations. The number of unordered selections (-element subsets) of distinct objects is
Intuition
Picture the sample space as a finite collection of points, all drawn the same size because none is favored over another — that is exactly what "equally likely" means geometrically. An event is simply a subset of these points. Since the axioms of probability require to be additive over disjoint outcomes and to total over the whole space, and since the equally-likely hypothesis forces every point to carry the same weight, that weight must be ; the probability of is then just the fraction of the space that occupies. This is the entire content of the classical model — the rest of the subject is about counting the points correctly. The subtlety is almost always about order. Suppose you draw two balls from a bag of distinct balls. If you record which ball came first and which came second, you are counting ordered pairs, and there are of them. If you only care which two balls ended up in your hand, you are counting unordered pairs, and there are of them. Both are legitimate sample spaces for the "same" physical experiment, and both give equally-likely outcomes under uniform random drawing — the trap is mixing the two, e.g., counting favorable outcomes as unordered while counting the total sample space as ordered, or vice versa. The picture below shows this ordered/unordered duality directly: the arrows correspond to ordered draws, and grouping each arrow with its reverse produces the unordered pairs.
The central theorem
Let be a finite sample space with , and suppose the probability measure on (satisfying the The Axioms of Probability) assigns equal probability to every outcome:
Then for every event ,
Consequently, if can be identified with a set of outcomes constructible by a sequence of independent choice-stages with options respectively (a "favorable" procedure), and similarly decomposes into a sequence of stages with total options, then
In particular, when and are both described by choosing objects out of available, the relevant counts are if order matters and if it does not, consistently applied to numerator and denominator alike.
We use the technique of finite additivity from the axioms, applied to the partition of into singletons. Step 1: every finite event is a finite disjoint union of singletons. Write where and the are the (necessarily distinct, since is a set) elements of . The singleton events are pairwise disjoint, since for (distinct elements have disjoint singleton sets), and their union is
Step 2: finite additivity. The axioms of probability include (as a consequence of countable additivity, or directly as an axiom in the finite setting) that for pairwise disjoint events ,
Applying this to and using Step 1,
Step 3: substitute the equally-likely hypothesis. By hypothesis for every , since . Hence
This proves the first assertion, for an arbitrary event ; no further hypothesis on was used beyond . Step 4: the multiplication principle gives the counts. It remains to justify that and can be computed via the multiplication principle when the outcomes are built by successive independent stages. We prove the multiplication principle itself by induction on the number of stages . Base case : a one-stage procedure with options trivially has possible outcomes. Inductive step: suppose the claim holds for stages, i.e., a procedure with stages having options produces distinct outcome-sequences. Now consider stages, where the th stage offers options independent of earlier choices. Fix any outcome of the first stages; by hypothesis stage then has exactly available options , giving distinct full outcomes extending it. Since distinct choices of give disjoint sets of extended outcomes (they already differ in the first coordinates), the total count is
using the inductive hypothesis for the first factor. This completes the induction, proving the multiplication principle for all . Step 5: derive and from the multiplication principle. An ordered selection of objects from distinct objects, without replacement, is a -stage procedure: stage has choices (any of the objects), stage has choices (any object not yet chosen), and in general stage has choices. By the multiplication principle,
For combinations: every unordered -subset of the objects corresponds to exactly ordered selections (the orderings of its elements — this count itself follows from the multiplication principle applied to arranging distinct objects, i.e. ). Since the ordered selections partition into groups of size , one group per unordered subset, and there are ordered selections in total,
Step 6: conclusion. Combining Steps 3–5: if and are each realized as outcomes of multi-stage procedures with the stated numbers of options, their sizes and are given by the corresponding products (specializing, where relevant, to or ), and then
by Step 3.
∎Under the hypotheses of the theorem, for events :
These follow immediately from together with the elementary counting identities and (inclusion–exclusion for two finite sets), which themselves follow by partitioning into the three disjoint pieces , , and counting each once.
Worked examples
Example 1: A poker hand (asymmetric event, unordered sampling). A standard deck has distinct cards: ranks (2 through 10, J, Q, K, A) in each of suits. A poker hand is a uniformly random -card subset of the deck (order of dealing is irrelevant to the hand held). We compute the probability of a full house: three cards of one rank and two cards of a different rank (e.g. ). Sample space size. Since a hand is an unordered -subset of cards,
Favorable count, via the multiplication principle applied to independent stages of the construction of a full house: 1. Choose the rank to be used three times: ways (any of the ranks). 2. Choose which of the suits in that rank appear: ways. 3. Choose the rank to be used twice, which must differ from the rank chosen in step 1: remaining ranks. 4. Choose which of the suits in that second rank appear: ways. These four stages are independent choices (the option count at each stage does not depend on which specific option was chosen earlier, only on how many choices remain), so by the multiplication principle the number of full houses is
Probability.
A common error here is to choose the pair rank before the triple rank and multiply by an extra factor of for "which rank is which" — but the four-stage construction above already distinguishes the triple-rank stage from the pair-rank stage (they use different binomial coefficients, versus , and different remaining-rank counts, versus ), so no such correction is needed; each full house is generated by exactly one sequence of choices in this scheme.
Example 2: A collision (matching) problem — asymmetric group sizes. A company has interview slots in a day, filled independently and uniformly at random by assigning each of candidates to one of available time slots (assume so an injective assignment is possible, and every candidate's slot choice is unconstrained by the others, i.e., we first ask: what is the probability that no two candidates are assigned the same slot — a "no-collision" event that is the natural generalization of the birthday problem, here with "days" instead of and "people" instead of a class of students? Sample space. Each of the candidates independently picks one of slots. By the multiplication principle (10 independent stages, each with options),
Favorable event: all 10 slots distinct. Build an injective assignment stage by stage: candidate can take any of slots; candidate must avoid candidate 's slot, leaving options; candidate must avoid the already taken, leaving ; and so on, down to candidate , who has options. This is exactly the ordered-selection (permutation) count :
Probability of no collision.
Numerically, computing the product of ratios for :
Multiplying these ten factors successively gives
Hence the probability of at least one collision — two candidates sharing an interview slot — is
using the complement corollary above. Despite there being slots and only candidates (fewer than a third), a collision is quite likely — the same surprising phenomenon responsible for the classical birthday paradox, now verified with fully asymmetric numbers (, not ; , not ) rather than the textbook-special case.
The theorem's crucial hypothesis is that for every outcome . Drop this and the formula becomes false, even though is still finite. Consider a six-sided die that has been weighted so that the outcomes have probabilities
These six numbers sum to , so they define a legitimate probability measure on , satisfying the The Axioms of Probability (nonnegativity and total mass one, plus additivity, which holds automatically for any assignment of masses to a finite sample space). Let , the event "the die shows or ." Here and , so the classical formula would claim
But the true probability, computed correctly by additivity over the actual (unequal) point masses, is
Since , the formula fails. The proof above breaks down precisely at Step 3, where the substitution used the equal-likelihood hypothesis; without it, is still valid (Steps 1–2 never used equal likelihood), but the sum no longer simplifies to . This shows the equally-likely hypothesis is not a technicality — it is load-bearing.
Scope, edge cases & common traps
| Situation | Correct treatment |
|---|---|
| Sampling without replacement, order matters | Use for both favorable and total counts |
| Sampling without replacement, order irrelevant | Use consistently in numerator and denominator |
| Sampling with replacement | Use the multiplication principle directly ( total outcomes), not or |
| Objects are not all distinguishable (e.g. identical items) | Adjust the sample space definition itself before counting, or count via distinguishable labels and then check whether outcomes are truly equally likely |
| Outcomes are physically or empirically unequal (biased die, loaded coin, non-uniform population) | The classical formula does not apply; use direct additivity with the actual point probabilities instead |
The mathematician behind it
Origins · 1 minJacob Bernoulli and how this was discovered
Jacob Bernoulli was a member of the Bernoulli family of mathematicians in Basel and one of the founders of the mathematical theory of probability. His treatise Ars Conjectandi ("The Art of Conjecturing"), published posthumously in 1713, systematized the combinatorial analysis of games of chance — permutations, combinations, and the counting of equally likely outcomes — and used it to prove the first version of the Law of Large Numbers, connecting finite combinatorial counting to long-run frequency. His work built directly on, and made rigorous, the informal dice-and-cards reasoning of Cardano, Pascal, and Fermat.
Why does P(A) = |A|/N require every outcome to be equally likely, rather than just requiring the sample space to be finite?
Finiteness alone only guarantees that decomposes into finitely many disjoint singletons, so by additivity . That sum equals only if each term equals the constant . If the outcomes carry different weights — as with a loaded die — the sum still makes sense but does not simplify to a ratio of counts; you must add the actual (unequal) probabilities. The The Axioms of Probability guarantee consistency of any valid assignment of weights, equal or not, but they do not by themselves force equal weights — that is a separate physical or modeling assumption about the experiment.
When should I use permutations P(n,r) versus combinations C(n,r) in a probability computation?
Use whenever the order in which objects are selected or arranged is part of what defines an outcome — for example, the sequence of finishers in a race, or an ordered hand of cards dealt one at a time and recorded in order. Use whenever only the set of selected objects matters, with no attached order — a poker hand held in your fingers, a committee, a lottery ticket's numbers. The critical rule is consistency: whichever convention you choose for counting favorable outcomes, you must use the identical convention for counting the total sample space, or the ratio will be wrong.
Does "sampling without replacement" always mean I should use combinations?
Not necessarily — it depends on whether the resulting outcome records order. Sampling without replacement rules out repeats, but you can still record the order of the draws (giving ) or discard the order and keep only the resulting set (giving ). Both are valid without-replacement models; the poker hand example uses combinations because a hand is a set of cards, while the interview-slot example uses permutations because each candidate is a distinguishable individual assigned to a distinguishable slot, so which candidate got which slot matters.
How does the classical model relate to the general axiomatic definition of probability?
The classical (equally likely outcomes) model is a special case of the general axiomatic framework in The Axioms of Probability, not a replacement for it. The axioms require only that be nonnegative, assign total mass to , and be countably additive over disjoint events; they say nothing about how the mass is distributed among individual outcomes. The classical model is the extra modeling choice of distributing that mass uniformly across a finite . Every classical probability computation is fully justified, and only justified, by the general axioms plus this uniformity assumption, exactly as proved in the central theorem here.
Why does the "birthday problem" style calculation give such a counterintuitive answer?
The surprise comes from comparing the wrong two quantities: it feels like candidates among slots should rarely collide because is much less than . But the number of pairs of candidates who could potentially collide grows quadratically, as pairs, while the number of slots grows only linearly. The probability of avoiding all collisions is a product of many factors each slightly less than , and such a product shrinks faster than intuition suggests — this is a purely combinatorial phenomenon, not a paradox, and the exact computation in the worked example makes it precise rather than merely plausible.
Can the equally-likely-outcomes model be used when the sample space is infinite?
No — not directly, and this is a fundamental limitation, not a minor technicality. If is countably infinite and every outcome had the same probability , countable additivity would force , which cannot equal for any ; taking gives total mass , not , again violating the requirement that . So a countably infinite sample space cannot have all outcomes equally likely. Continuous analogues (uniform distributions on an interval) exist but require measure theory beyond simple counting, and are a distinct construction built on top of, not identical to, the classical discrete model.
What is the single most useful habit for avoiding errors in combinatorial probability?
Explicitly write down the sample space as a set of well-defined outcomes — ordered tuples or unordered sets, precisely stated — before computing anything. Then define the event as a subset of that same , using the same ordered/unordered convention. Only after both are pinned down should you invoke the multiplication principle, , or to count each. Most classic combinatorial-probability mistakes come from computing and against two different implicit sample spaces, which the formula silently assumes to be the same space.