Combinations
How many different 5-card poker hands can be dealt from a standard 52-card deck? The answer is not . A hand does not care about the order in which the cards arrived. Only which five cards you end up holding matters. This distinction is between arrangements that count order and selections that ignore it. It is one of the two founding pillars of enumerative combinatorics. The other pillar is Permutations. A combination is precisely an unordered selection of objects from a collection. The central object of study is the count of such selections. It is denoted and called the binomial coefficient. Combinations matter because "how many subsets of size ?" resurfaces everywhere. Examples include choosing a committee from a group of people. Or choosing which coordinates of a bit string are . Or choosing which terms survive when you expand . Or choosing a sample in a probability experiment. The formula for is deceptively simple. But its proof — via the quotient rule linking permutations and combinations — is a template. It applies to a huge swath of combinatorial arguments. You can build a bijection, count the same set two ways, or divide out an overcounting factor. The big picture is this: permutations count ordered selections, combinations count unordered ones. The relationship between them is governed by a clean division. Once is established, an enormous structure opens up. This includes Pascal's triangle, the Binomial Theorem, and symmetric identities. It also includes generalizations like Combinations with Repetition, where objects may be chosen more than once. This article gives the rigorous definition of a combination. It proves the standard formula for two independent ways. It works through nontrivial numerical examples. It also shows exactly which hypotheses are essential by breaking them. These hypotheses include distinctness of objects and no repetition in a selection.
- A combination is an unordered selection of objects from a set of distinct objects, i.e., an -element subset.
- The number of -combinations of an -set is , valid for integers .
- Combinations differ from Permutations by exactly the factor : every subset corresponds to ordered arrangements.
- (choosing what stays equals choosing what goes) and .
- Two independent proofs are given: the quotient-rule (division) proof and a bijective/counting-in-two-ways proof via Pascal's identity.
- Key idea: counting unordered selections means counting ordered ones and then dividing by the number of orders each selection admits.
Where this lives today
Combinations are the arithmetic backbone of discrete probability: the probability of drawing a specific hand in card games, a specific configuration in a lottery, or a specific outcome in sampling-without-replacement problems is almost always a ratio of binomial coefficients (hypergeometric distributions). In computer science, governs the running time and correctness analysis of brute-force subset enumeration, feature-selection algorithms in machine learning, and combinatorial optimization bounds. In coding theory and cryptography, binomial coefficients count the number of possible error patterns of a given weight, directly informing the design and analysis of error-correcting codes and the security parameters of code-based cryptosystems. In statistics, is the normalizing count behind the binomial distribution, and in physics, combinations count microstates in statistical mechanics (e.g., the number of ways to place indistinguishable particles into distinguishable energy cells subject to exclusion, as in Fermi–Dirac-type counting). The identity and its relatives feed directly into the Binomial Theorem and the broader web of Binomial Identities used throughout generating-function methods.
Ask the tutor: How does become the coefficients in the expansion of under the Binomial Theorem?
Let and be nonnegative integers with , and let be a set with distinct elements. An -combination of (also called an -combination of objects, or simply an unordered selection) is a subset with . The number of -combinations of an -element set is denoted
also written or . By convention this quantity depends only on and , not on which particular set is used, since any two -element sets are in bijection with each other and this bijection carries -subsets to -subsets. For or , we define , since no -element subset of an -element set can exist in those cases.
Intuition
Think of a permutation as a seating arrangement: you pick objects and decide the order they occupy labeled positions. A combination is what remains after you take a photograph of the seating arrangement and then throw away the seat labels — all that survives is who was chosen, not where they sat. Every unordered group of people can be seated in different ordered ways, so the ordered count is exactly times the unordered count. This single observation — each unordered outcome is "hit" the same number of times by the ordered counting process — is the quotient rule, and it is the engine behind the formula for . A second useful picture: an -combination of corresponds exactly to a length- binary string with ones and zeros (put a in position if is chosen). Counting subsets of size is the same problem as counting binary strings with ones — a reformulation that becomes the natural bridge to the Binomial Theorem, where appears as the coefficient of in .
Let be integers with . The number of -combinations of a set with distinct elements is
We give the standard quotient-rule proof, which reduces the unordered counting problem to the already-established formula for permutations, (the number of ways to choose and arrange objects from in order).
Step 1: Set up the two-step counting process. Fix an -element set . Let denote the collection of all -element subsets of (the -combinations), and let denote the collection of all ordered -tuples of distinct elements of (the -permutations). We know , proved independently in the theory of Permutations by the product rule: there are choices for the first position, for the second, down to for the -th.
Step 2: Build the surjection from to . Define a map that sends an ordered tuple to its underlying set . Since the entries of a tuple in are distinct elements of , this underlying set indeed has exactly elements, so is well defined into . The map is surjective: given any -subset , the tuple (in any fixed order) is an element of mapping to .
Step 3: Compute the size of each fiber. Fix , an -element subset. We claim , the set of ordered tuples whose underlying set is exactly , has size . Indeed, a tuple satisfies if and only if is a listing of the elements of in some order, with no repetitions (repetitions are already excluded since consists of tuples of distinct elements). The number of orderings of an -element set is , by the standard permutation count applied to the set itself (arrange all of its elements: choices, then , ..., then , giving ). Hence for every .
Step 4: Apply the sum/partition principle. The sets partition , because every tuple in has a well-defined underlying subset (it lies in exactly one fiber). Therefore
since there are terms in the sum, each equal to by Step 3.
Step 5: Solve for . Since , we may divide:
By definition , since is exactly the set of -combinations of . This proves the formula.
∎For integers ,
By the formula just proved,
The two right-hand sides are identical expressions (multiplication is commutative in the denominator), so the identity holds algebraically. Combinatorially, this reflects the complementation bijection , which sends an -subset of to an -subset of ; it is its own inverse, hence a bijection between the two collections, so they have equal size.
∎For every integer : and .
Directly from the formula, using : and . Combinatorially, the only -element subset of any set is the empty set, and the only -element subset of an -element set is the whole set.
∎Worked examples
Example 1 — Committee selection with a structural constraint. A university club has members: juniors and seniors. A steering committee of people is to be chosen, with the requirement that at least seniors are on the committee. How many such committees are possible? We split into cases by the exact number of seniors, since "at least 2" is not directly a single binomial coefficient — it is a sum over disjoint cases. Case seniors, juniors: choose which of the seniors, and independently which of the juniors:
Case seniors, junior:
Case seniors, juniors:
These three cases are pairwise disjoint (a committee has a unique number of seniors) and together exhaust all committees with at least seniors, so by the sum rule the total is
As a check via complementary counting: the total number of -person committees from people is . Committees with fewer than seniors are those with or senior:
Then , matching the direct computation exactly.
Example 2 — A lattice path count via a bijection to combinations. How many shortest lattice paths go from to on the integer grid, moving only right () or up ( one step at a time? Any shortest such path takes exactly steps of type and steps of type (since the -coordinate must increase by total and the -coordinate by total, and no step decreases either coordinate). A path is completely determined by choosing, among its total steps, which of the positions are -steps (the rest are automatically ). This is exactly an unordered selection of a -element subset from a -element set of step-positions — a combination, not a permutation, because swapping which two -steps occupy which of their chosen positions changes nothing about the resulting string of R's and U's. Hence the number of such paths is
As a sanity check with the symmetry lemma, choosing which positions are should give the same count: , confirming the identity in a nontrivial, asymmetric case ().
The formula is a theorem about selecting -element subsets of a set of distinct elements — no element may be chosen twice, and repeated elements in the source are forbidden by the very meaning of "set." Drop the hypothesis that the source objects are distinct, and the formula fails outright. Consider "objects" that are not distinct: the multiset (say, three chips, two of which happen to be identical red chips , plus one blue chip and one green chip ). Ask for the number of ways to select chips, where two selections are considered the same outcome exactly when they contain the same multiset of colors. If we naively applied , we would be counting as if all four objects were distinguishable, listing selections such as using subscripts to fake distinctness. But is really just "two red chips" (one outcome), and are really the same outcome "one red, one blue" (collapsing two of the six into one), and likewise and collapse into "one red, one green." The genuinely distinct outcomes are:
which is outcomes, not . The formula overcounts by exactly the multiplicity collapsing caused by the repeated element . This shows the hypothesis " has distinct elements" is not a formality — remove it, and the clean quotient-rule proof breaks at Step 3: the fiber sizes are no longer uniformly , because some tuples that look different as ordered lists (e.g. vs. using two copies of the same physical chip ) do not correspond to genuinely different orderings of distinguishable items, collapsing further than the formula assumes. Counting multisets correctly requires the separate theory of Combinations with Repetition, where a different formula, , applies to selections drawn with repetition from distinct types.
Scope, edge cases & common traps
| Situation | Correct handling |
|---|---|
| (the empty selection is always available, exactly one way) | |
| (select everything, exactly one way) | |
| by convention; no subset that large exists | |
| Order matters in the problem | Use , not |
| Objects repeat / selection allows repeats | Use Combinations with Repetition, not this formula |
| "At least/at most " constraints | Sum disjoint cases or use complementary counting, never a single binomial coefficient |
The mathematician behind it
Origins · 1 minBlaise Pascal and how this was discovered
Pascal was a mathematician, physicist, and philosopher whose 1654 correspondence with Pierre de Fermat, prompted by a gambling problem posed by the Chevalier de Méré, is often cited as a founding moment of formal probability theory. Pascal's Traité du triangle arithmétique (1654, published 1665) systematically organized the binomial coefficients into the triangular array now called Pascal's triangle, established the recurrence , and connected the triangle to combinations, probabilities in games of chance, and the coefficients arising in the expansion of . The triangle and many of its properties had been discovered independently earlier — in India, Persia, and China (notably by Yang Hui and, before him, in the Chandaḥśāstra of Piṅgala) — but Pascal's treatise gave the first fully systematic, proof-based European treatment linking it to combinatorics and probability.
What exactly distinguishes a combination from a permutation?
A permutation is an ordered selection: the outcome depends on which objects are chosen and the order/role assigned to each. A combination is an unordered selection: only the set of chosen objects matters, not any order among them. Formally, permutations of objects from are counted by tuples with distinct entries, , while combinations are counted by subsets, . Since every -element subset can be arranged in different orders, always holds — permutations are always at least as numerous as combinations for , and equal only when .
Why is always an integer, given that its formula involves division?
This follows from the combinatorial meaning: counts an actual finite set of subsets, so it must be a nonnegative integer regardless of how the formula is algebraically simplified. One can also prove integrality directly from Pascal's identity by induction on , since a sum of two integers is an integer, with base case . This gives an independent, purely arithmetic proof of integrality that does not rely on the counting interpretation at all.
Does make sense for non-integer or negative ?
The combinatorial definition (counting subsets) requires to be a nonnegative integer, since it refers to the size of an actual finite set. However, the algebraic expression makes sense for any real or complex and nonnegative integer , and this generalized binomial coefficient is exactly what appears in Newton's generalized binomial series. That extension is a separate, purely algebraic construction; it agrees with the combinatorial whenever is a nonnegative integer, but the counting proof given here applies only in that integer regime.
How do combinations relate to the rows of Pascal's triangle?
Row of Pascal's triangle (starting the count at row ) lists in order. The recurrence generating each entry from the row above, , has a direct combinatorial proof: fix one distinguished element in an -set; an -subset either contains (then choose the remaining elements from the other : ways) or excludes (then choose all elements from the other : ways), and these two cases are disjoint and exhaustive.
Can be computed without evaluating large factorials directly?
Yes, and this matters for both hand computation and numerical stability. The multiplicative formula
avoids computing and separately as huge intermediate numbers; it only involves factors in the numerator. Computing terms iteratively (multiply by , divide by , at each step ) also guarantees every intermediate quantity stays an integer, since is an integer at every step, which is useful for exact arithmetic in software implementations.
Why does the problem's wording sometimes hide whether it wants a permutation or combination?
Natural language is often ambiguous about whether the roles assigned to selected objects are distinguishable. The safest method is to ask: if I select the same objects but assign them differently (different order, different labels, different positions), is that a new outcome? If yes, use ; if the outcome is identical regardless of internal order, use . Concrete tests help: "choose a committee" (no roles) is a combination; "choose a president and vice-president" (roles attached) is a permutation, even though both use the verb "choose."