6.2 Permutations and Combinations
Section 6.1 counted multi-stage choices by multiplication. That rule still applies when choices cannot repeat, but the number available at each stage now decreases.
We must also decide whether changing the order creates a new outcome. This distinction separates permutations from combinations.
Factorials count complete arrangements
Suppose distinct objects are arranged in a row.
- the first position has choices;
- after choosing one object, the second has choices;
- the third has choices;
- the process continues until the last position has choice.
By the product principle, the number of arrangements is
This product is called factorial:
For example,
We define
This convention represents the one way to arrange no objects—the empty arrangement—and makes later formulas work at boundary cases.
Permutations: order matters
A permutation is an ordered arrangement of distinct objects.
For , the six permutations are
The strings and are different because their positions differ.
Arranging only of objects
An -permutation of distinct objects chooses and orders objects.
The first position has choices, the second has , and the th has
choices. Therefore
Using factorials,
The denominator cancels the unused tail:
Example: podium positions
Eight runners compete for gold, silver, and bronze. One runner cannot occupy two places, and the medals are different positions. Thus
This is not , because choosing the same three runners in a different medal order changes the outcome.
Restrictions change the stage counts
Suppose five people sit in a row, but must occupy the first seat. The first stage is fixed, leaving
arrangements.
If and must sit together, treat them temporarily as one block. The units are
which can be arranged in ways. Inside the block, can appear as or , so
arrangements satisfy the restriction.
The block method works because every valid arrangement can be encoded uniquely as:
1. an arrangement of the block and other objects;
2. an internal ordering of the block.
Permutations with repeated types
If some objects are indistinguishable, overcounts.
The word LEVEL has letters:
- appears times;
- appears times;
- appears time.
If the two copies were temporarily labeled , swapping their labels would not change the visible word. Each visible arrangement is counted times from the labels and times from the labels.
Therefore the number of distinct arrangements is
In general, if objects contain repeated types with multiplicities
then the number of distinct arrangements is
Arrange a crew into role-sensitive stations while restrictions change in real time: fixed seats, adjacent partners, forbidden positions, and repeated badges. The vault compares raw stage products with block encodings and highlights exactly when two arrangements are distinct.
Combinations: order does not matter
A combination chooses a subset without assigning positions.
Choosing committee members produces the same committee whether the names were selected in the order
or
The number of ways to choose objects from distinct objects is written
read “ choose .”
Deriving the combination formula
First count ordered selections of objects:
Every unordered group of objects appears in exactly
orders. To collapse those duplicate orders, divide:
Notation across Chinese and international textbooks
The formulas do not change across regions, but the placement of the letters often does. This course uses for ordered selections and for unordered selections. Many Chinese textbooks use and , with the total number as a subscript and the selected number as a superscript. English-language sources may also write , , or .
| Count | This course | Common Chinese notation | Other international notation |
|---|---|---|---|
| ordered, without repetition | |||
| unordered, without repetition | or |
Thus
Always read the definition before substituting values: and place the same two parameters in different visual positions.
Example: choosing a team
Choose people from for an unranked team:
If the selected people must then receive captain, analyst, and presenter roles, order returns:
Useful boundary values and symmetry
There is one way to choose no objects:
There is one way to choose all objects:
Choosing objects is equivalent to choosing which objects to leave out. The complement map is a bijection, so
For example,
The first side chooses included people; the second chooses the excluded people. Both decisions determine the same split.
A reliable order test
Ask:
> If I keep the same selected objects but reorder them, do I get a different outcome?
- If yes, use an ordered model such as a permutation.
- If no, use a combination.
Compare:
| Problem | Order? | Count |
|---|---|---|
| award gold, silver, bronze among people | yes | |
| choose three committee members | no | |
| choose three members, then name one chair | partly | |
| create a length- code without repetition | yes |
Mixed problems should be split into stages rather than forced into one formula.
Draft an unordered team from a roster, then activate roles and watch each team unfold into ordered copies. A duplicate-collapse chamber groups selections with the same members, making the division from permutations to combinations physically visible.
Section bridge
Permutations and combinations count possibilities exactly. Some problems ask a different kind of question: without knowing the exact arrangement, what repetition is guaranteed? Section 6.3 introduces the pigeonhole principle, which proves unavoidable collisions from counts alone.