Mathematics · Introduction to Probability and Combinatorics · Fundamental Counting and Probability Models
Permutations, Combinations, and Sampling
Last edited 9/25/2026, 10:02:05 PM
Six students are available. How many ways can we select a president and a secretary, with no student taking both jobs? How many ways can we select a two-person committee?
The selected names alone determine the committee. They do not determine the officers: assigning Ari as president and Bo as secretary differs from reversing the jobs. We need to decide what constitutes one outcome before choosing a formula.
Ordered Selections
Definition
Permutations / Ordered Selections
For integers , an ordered selection of distinct objects from a set of is a list of length , drawn from that set, with no repetition. A permutation of all objects is an ordered selection with .
Theorem (Permutation Theorem)
For integers , the number of ordered selections of objects from is
Proof
- Count via the product rule. Fill list positions in order. At position (for ), the preceding positions have already been filled with distinct objects, so exactly objects remain (a count depending only on , not on which objects were chosen earlier), so the product rule applies with for , giving .
- Match the factorial form, . In the factor cancels, leaving exactly the product from step 1.
- Boundary case . Both sides equal one: the product in step 1 is an empty product, and there is exactly one length-zero list, the empty list.
- Boundary case . The denominator is , so the formula gives , matching step 1's product run out to position , where .
- Boundary case . No list of distinct objects can be drawn from only available objects: by step 1, position would need remaining objects to choose from — zero choices — and since . So the count is , not a factorial with a negative argument, which is undefined.
The notation is a falling factorial here. Other references may use different conventions.
∎
Definition
Combinations / Unordered Selections
For integers , a combination of size from a set of objects is a -element subset of it. The number of such subsets is written read " choose ", and is known as the binomial coeffecient.
Theorem (combination theorem and the binomial coefficient)
For integers ,
Proof
- Count ordered lists two ways. By the Permutation Theorem, there are ordered -selections in total. Group them by the underlying -element subset each one uses (forgetting order).
- Count each group. A fixed -element subset has different orderings, again by the permutation theorem (a permutation of objects, with ). Every ordered list belongs to the group of exactly one subset (the set of objects it uses) and every subset's group has exactly lists, so no group is empty or double-counted.
- Combine. Since there are groups (one per subset, by the definition of a combination each of size ), the sum rule applied to these disjoint groups of ordered lists gives
Since , dividing both sides by and substituting the permutation formula for gives .
At there is one empty subset and one empty ordering (step 2's ), so the argument still works. The reason division by is valid is that every group has the same size We have Equal group size, not just that some outcomes were "counted too much." If representations had unequal multiplicities, one common divisor would not repair them. We will show this case in a later example.
∎
Example: Students on a Committee
We resolve the opening question. Six students are available. How many ways can we select a president and a secretary, with no student taking both jobs? How many ways can we select a two-person committee?
For the officers, apply the permutation theorem with : an ordered pair (president, secretary) is an ordered selection of from , so there are assignments. For the committee, apply the Combination Theorem's grouping argument directly: each -person committee corresponds to exactly of those ordered assignments (either student could be president), so there are committees. As a check, listing committees by their lowest-numbered member (five containing the first student, four new ones containing the second (excluding the first), then three, two, and one) gives , which matches the Combination Theorem's direct result: .
Sampling With and Without Replacement
In sampling with replacement, an object is returned before another choice, so repetition is possible. In sampling without replacement, it is not returned.
Theorem (choices with replacement)
For , length- ordered selections with replacement from objects number : every position has the same choices regardless of earlier choices, so the product rule applies with every . Without replacement the count is , by the permutation theorem above. These are counting claims, probabilities additionally require a sampling law.
Example: tickets with and without replacement
Five distinct tickets include two marked ones.
- First model. Let be the set of ordered pairs of tickets, replacement allowed. By choices with replacement, with , , so and each pair has weight by the uniform model. The event "both marked" again matches choices with replacement, now with marked tickets: ordered pairs, including a ticket repeated with itself, giving probability .
- Second model. Let be the set of ordered pairs of distinct tickets. By the permutation theorem with , , so each pair has weight . The event "both marked" has outcomes, again by the permutation theorem, giving probability .
One can instead use unordered pairs in the second model: by the combination theorm, each of unordered pairs is equally likely (the Permutation Theorem's grouping argument shows each corresponds to exactly of the ordered pairs, so equal group size preserves equal likelihood). Exactly is all marked. This gives the same .
example: Committees with selection & assignment
Choose a three-person committee from seven students and designate one member as coordinator.
First choose the subset by the combination theorem, with then its coordinator among the chosen members:
Alternatively, choose the coordinator first in ways, then apply the combination theorem with to choose two other members from the remaining six:
Both constructions produce exactly one record for each committee-with-coordinator.
example: unordered draws with repetition
Draw twice from with replacement, so by choices with replacement, the four ordered outcomes are equally likely, each with weight . Discard order to record only the unordered pair drawn. The unordered records have probabilities : comes only from , only from , but comes from both and .
The combination theorem's division by relied on every group (every unordered result) having the same number of ordered representations. Unfortunately, here that fails: the repeated-symbol records have one ordering each, while the mixed record has two. Dividing all four ordered outcomes by the constant would falsely give two records of weight apiece instead of the correct three records of unequal weight.
This is why "order does not matter" does not by itself justify dividing by when repetitions are allowed. The combination theorem's proof needs equal group size, and repetition breaks that.
Info
Exercise
From five people, compare selecting a captain and a deputy with selecting a two-person delegation. Explain why the outcomes differ.
Exercise
Why should rather than 0 for a set of n objects? Check the factorial formula, including n=0.
Exercise
Seven distinct books are available for three labeled display positions. No book repeats. How many displays are possible?
Exercise
How many three-person subsets of eight people contain a specified person? Explain why that person is not chosen again.
Exercise
A uniform ordered sample of two distinct tickets is drawn from six, of which two are marked. Find the probability that exactly one is marked, using an unordered count and explaining why it is uniform.
Exercise
Three selections from four symbols are recorded in order. Count all possible records with replacement and without replacement. What if five distinct selections are demanded without replacement?
Exercise
For two draws from with replacement, stipulate that the nine ordered records are equally likely. After order is discarded, list the unordered records and their probabilities. Are these six records uniform?
Exercise
A five-person team is chosen from nine people, then a chair and a recorder are chosen as different members. Specify the final record and count it in two orders of construction.
Exercise
Prove for integers by matching objects, not by canceling factorials.
Exercise
A uniform permutation of five distinct labels is generated, and only its first two labels are kept as an unordered set. Is every two-element subset equally likely? Explain how you would count its representations.
Exercise
A learner counts unordered pairs with repetition from as . Explain why that division fails and give the correct count.