INAIO Guide Stage 1 7Combinatorics and Discrete Reasoning
7.2 Permutations and combinations
Decide whether order matters, then count ordered assignments or unordered selections without duplication.
Choosing people for ranked positions differs from choosing a group. In the first task, swapping two people changes the outcome; in the second, it does not. Permutations and combinations encode that single distinction and save you from listing every arrangement.
This is intermediate counting. Begin with OpenStax's permutation examples and then its combination examples. Module 7.1 counted successive choices by multiplying; here we decide when different orders of those choices represent the same outcome.
A basic idea: does swapping count?
Selecting Ari and Bela for first and second place gives two possibilities: Ari first or Bela first. Selecting Ari and Bela for a two-person team gives just one team. The people are the same; the meaning of the outcome determines the count.
A quick tour of formulas
The number of ways to arrange distinct objects in a row is , with by convention. If of them () are chosen in order, without replacement,
If only the chosen set matters, each set of objects appears in different orders above. Divide those repeats away:
The symmetry says choosing objects is equivalent to choosing which are left out. These formulas assume distinct objects and no replacement. Repetition or extra restrictions require a new count.
Application 1: medal positions
Six runners finish a race. How many possible ordered gold, silver, and bronze results are there if ties are impossible?
- Identify ordered roles. Gold and silver swapped is a different result, so use a permutation.
- Count stage by stage. There are choices for gold, remaining for silver, and for bronze.
- Multiply. .
The factorial formula gives the same result: .
Application 2: selecting features
A small model has distinct candidate features. How many groups of features can be selected if their order in a list has no meaning?
- Count ordered picks first. .
- Remove duplicate orderings. Each selected group appears in orders.
- Divide. groups.
The calculation says nothing about which group is best for the model. It only counts the possible choices.
Resources
| Source | Title | Why read it |
|---|---|---|
| OpenStax | Permutations | Learn to count ordered selections and role assignments. |
| OpenStax | Combinations | Learn to count groups when their internal order does not matter. |
Finished this module? Mark it done.
Comments
Stuck on something, spotted a mistake, or found a resource that helped you? Tell us below.
Loading comments