Permutations and Combinations: When Order Matters
Count arrangements and selections, decide when order matters, and work through six examples with and without repeat choices.
TL;DR
Permutations count ordered arrangements. Combinations count selections where order does not matter. Without reuse, choosing distinct items and arranging each choice in ways gives the number of permutations.
Key Points
- Ask whether swapping two selected items creates a different outcome.
- Without repetition, the permutation count is .
- Dividing by gives combinations of distinct items from .
- Reusing an item and rearranging identical items are separate counting situations.
- Decide how to count outcomes before calculating a probability.
What is the difference between permutations and combinations?
A permutation puts items into order or numbered positions. A combination chooses items without distinguishing their order. If picking a president and secretary, choosing Lee for president and Sol for secretary differs from swapping the roles. If the task is to choose two students for a committee, both orders give the same pair.
For three labels A, B, and C, the six ordered two-item choices without reuse are AB, BA, AC, CA, BC, and CB. The same choices form three unordered pairs: AB, AC, and BC. The outcome definition decides the count. OpenStax, Counting Principles
Which formula works when objects cannot repeat?
For distinct items and selected items, assume . The notation means the product of the positive integers up to , with .
| Outcome | Does order matter? | Count |
|---|---|---|
| Put of distinct items into roles or positions | Yes | |
| Choose distinct items from | No | |
| Arrange all distinct items | Yes |
There are options for the first ordered position, for the second, and one fewer at each later position. The product ends after factors. The factorial ratio gives the same product by cancelling unused factors.
For each unordered selection, the chosen items can go into orders. Every selection is counted that many times in the permutation total. Divide by to recover the number of selections. This also explains why choosing all items gives a single combination. OpenStax, Combinations
How do repeated choices and identical objects change the count?
Reuse allowed in ordered positions. When each of slots can contain any of symbols, there are strings. If some symbols cannot go in a position, use the actual count for that position.
Rearranging a fixed multiset. If objects include identical copies of each type, start with labelled arrangements and divide by . Swapping labels on indistinguishable copies creates no new visible order.
Reuse allowed in an unordered selection. Distribute identical selections across distinct categories, with no upper limit per category. Split stars using dividers. Choosing divider positions among slots gives . Empty groups are allowed and appear when dividers are adjacent or at an end. MIT, Mathematics for Computer Science: Counting
How do you choose a method for a probability question?
Define one outcome first. In a five-card hand, an unordered set describes the outcome if only the cards in the hand matter. A combination gives the total number of possible hands. For a particular sequence of five draws, order matters, so count arrangements.
Use the same unit of counting in the numerator and denominator. Ordered and unordered approaches can give the same probability when each is consistent. The card probability guide gives both kinds of questions.
Worked Permutation and Combination Examples
Example 1
Seven runners finish a race with no ties. How many ways can gold, silver, and bronze be assigned?
- First, second, and third are distinct positions.
- There are 7 first-place choices, 6 second-place choices, and 5 third-place choices.
- Multiply .
Example 2
Choose three volunteers from the same seven people for identical roles.
- The same three people count once regardless of who was named first.
- The 210 ordered lists give lists for each group.
- Divide possible groups.
Example 3
How many four-character locker codes use digits 0–9 if digits may repeat and leading zero is allowed?
- Each position has ten choices.
- Reusing earlier digits is allowed in later positions.
- The count is , including 0000.
Example 4
How many visibly different arrangements can you write with the letters of BANANA?
- There are six letters. A repeats three times and N repeats twice.
- Count arrangements as if every letter had a label.
- Divide by to remove exchanges of the matching letters. The count is .
Example 5
Choose five scoops from three flavours with no limit per flavour. Count selections by the final flavour quantities.
- Write five stars and use two dividers to mark the three flavours.
- The seven slots require two divider positions.
- The count is . One outcome gives all five to the first flavour.
Example 6
From five science activities and four maths activities, choose two of each for a workshop.
- There are science pairs and maths pairs.
- Each science pair can be combined with any maths pair.
- By the multiplication rule, the total is . Germanna Community College, Permutations and Combinations
Mistakes That Change the Count
Mistake 1: Dividing by a factorial when roles differ
President and secretary are different roles. Swapping people changes the outcome, so keep both arrangements.
Mistake 2: Applying a without-reuse formula to a code with repeated digits
A previous choice removes an option only when reuse is forbidden. With reuse, the number of possible symbols can stay the same for every slot.
Mistake 3: Treating two identical copies as different without checking
If a visible arrangement cannot distinguish two red tiles, switching them keeps the same result. Use the repeated-object rule when the outcome ignores labels.
Try It Yourself
- In how many ways can four different books be placed on a shelf?
- How many pairs of books can you choose from four different books with no order?
- How many three-digit numbers use distinct digits if the first digit cannot be zero?
Answers and Reasoning
- because every position matters.
- . Each unordered pair has two orders.
- There are 9 choices first, then 9 unused choices including zero, then 8. The total is .
Frequently Asked Questions
Is there one way to select zero objects?
Yes. The empty selection is a single outcome. That gives .
Why is choosing the same count as leaving out?
Each chosen group determines the leftover group uniquely. That gives .
Is a password a combination in mathematics?
A password usually depends on order. Even when everyday language calls it a combination, the counting method treats distinct orders as distinct strings.
Conclusion
- Decide whether swapping items changes the result.
- Identify what can repeat and which items are indistinguishable.
- Count in matching units throughout a probability calculation.