Counting with Combinations and Permutations
Multi-step choices can be counted by multiplying the options at each step. At the school spring fair, the swap test separates ordered arrangements from unordered groups, while factorial cancellation makes permutation and combination formulas easier to compute.

The Spring Fair Counting Job
Stocking booths, packing prizes, and scheduling shows at a school spring fair all raise the same question: how many different outcomes are possible? Counting methods answer that question without listing every outcome
The snack booth makes packs containing one drink, one snack, and one sticker. There are 2 drink options, 3 snack options, and 2 sticker designs. How many different snack packs are possible? The next chapter builds the count step by step and then replaces the listing with one multiplication
Multiply the Choices
From a tree diagram to multiplication
A tree diagram represents successive choices as branches. For the snack packs, the first level has 2 branches: Fizzy and Juice. Each drink branch splits into 3 snack branches: Pretzels, Popcorn, and Fruit chews. There are therefore 2 × 3 = 6 drink-and-snack paths
Before adding stickers, the lesson asks whether the final count will be closer to 7 or 12. Each of the 6 paths splits into 2 sticker branches, Star and Rocket. The completed tree has exactly 12 endpoints, each representing one complete pack. The answer is 12 packs
For the snack packs, 2 × 3 × 2 = 12. The factors count drinks, snacks, and stickers, respectively. Multiplication reproduces the tree's endpoint count without requiring a complete list. The same idea scales: five choices with 10 options each give 10 × 10 × 10 × 10 × 10 = 100,000 outcomes
Worked example: souvenir badges
The craft booth makes a badge by choosing one of 4 shapes, one of 5 colors, and one of 2 ribbon styles. How many different badges are possible? Multiply the three option counts: 4 × 5 × 2. First, 4 × 5 = 20; then 20 × 2 = 40. There are 40 different badges
Practice 1: staff shirts
The prize booth prints staff shirts. There are 5 shirt colors and 3 logo designs, and each shirt uses one color and one logo
Does Order Matter?
Use the swap test: imagine exchanging two picks and ask whether the result changes. Picking 2 helpers for a cleanup crew gives the same crew after a swap; only the group matters. Picking a 1st-prize winner and a 2nd-prize winner gives a different result after a swap because someone different receives 1st prize
Combinations: only the group matters
The banner team has 3 paint colors—blue, purple, and orange—and uses exactly 2 colors for a banner. How many color pairs are possible? Listing the ordered pairs gives six entries: Blue–Purple, Blue–Orange, Purple–Blue, Purple–Orange, Orange–Blue, and Orange–Purple
Blue–Purple and Purple–Blue describe the same pair. So do Blue–Orange and Orange–Blue, and Purple–Orange and Orange–Purple. Removing the duplicate entries Purple–Blue, Orange–Blue, and Orange–Purple leaves 3 real pairs: Blue–Purple, Blue–Orange, and Purple–Orange. A combination is a grouping where order does not matter
Permutations: positions matter
Four volunteers—Mia, Jon, Ava, and Leo—must fill one morning shift and one afternoon shift. How many schedules are possible? Mia in the morning and Jon in the afternoon is a different schedule from Jon in the morning and Mia in the afternoon. The shifts are distinct positions, so order matters
There are 4 choices for the morning shift, followed by 3 volunteers left for the afternoon shift. Thus 4 × 3 = 12 schedules. A permutation is an arrangement where order is important
Practice 2: classify the situations
The task is to classify each situation as a permutation, where order matters, or a combination, where order does not matter. Choosing 2 side games to sponsor out of 5 is a combination: changing the order of the selections does not change the chosen games
Deciding who sings first and who sings second in a duet is a permutation: a swap changes the singer in each position. Picking 3 posters to hang from a stack of 6 is a combination: the selection concerns which posters are chosen, not their order
Factorial Power
Factorial notation abbreviates a descending product. For a positive whole number n, n! = n × (n − 1) × (n − 2) × ⋯ × 2 × 1. The notation 5! is read as “five factorial”: 5! = 5 × 4 × 3 × 2 × 1 = 120
Factorial products grow quickly: 10! = 3,628,800. In the counting formulas that follow, cancel matching factorial factors before multiplying rather than evaluating large factorials in full
Practice 3: photo lineups
The photo wall shows all 6 fair photos in one row. The number 6! counts the possible lineups. Evaluate that factorial
Permutations with nPr
When choosing items without repetition for ordered positions, use the permutation formula nPr = n! / (n − r)!. Here n is the total number of items and r is the number of positions to fill
The volunteer schedule has n = 4 volunteers and r = 2 shifts. The formula gives 4P2 = 4! / (4 − 2)! = 4! / 2! = 24 / 2 = 12, agreeing with the direct count 4 × 3 = 12
Worked example: the opening set
The fair DJ has 8 songs and plays exactly 3 of them in the opening set: a first song, a second song, and a third song. How many opening sets are possible? Swapping two songs changes the set's order, so this is a permutation with n = 8 and r = 3
Substitute: 8P3 = 8! / (8 − 3)! = 8! / 5!. Expanding shows the common tail: (8 × 7 × 6 × 5 × 4 × 3 × 2 × 1) / (5 × 4 × 3 × 2 × 1). Cancel the matching 5 × 4 × 3 × 2 × 1 from numerator and denominator
Exactly r = 3 factors remain, counting down from 8: 8 × 7 × 6 = 56 × 6 = 336. There are 336 different opening sets, without computing either factorial in full
Practice 4: scheduling talent acts
A judge schedules 5 of the 9 talent acts into the first five slots, in order. Complete the denominator and the count: 9P5 = 9! / (9 − 5)! = 9! /
$$denominator factorial$$
=
$$number of schedules$$
. The available entries are 4!, 5!, 15,120, 3,024, and 126
The correct entries are 4! and 15,120. Since 9 − 5 = 4, the denominator is 4!, not 5!: the formula uses (n − r)!, not r!. Canceling the 4! tail leaves exactly five factors: 9P5 = 9 × 8 × 7 × 6 × 5 = 15,120 schedules
Combinations with nCr
When choosing a group without repetition and order does not matter, use nCr = n! /
$$r!(n − r)!$$
. Here n is the total number of items and r is the group size
| Count | Formula | What makes an outcome different? |
|---|---|---|
| Permutation | nPr = n! / (n − r)! | Changing the order changes the outcome. |
| Combination | nCr = n! / [r!(n − r)!] | Only changing the chosen group changes the outcome. |
The extra r! in the combination denominator divides out the ways to reorder each group. Those reorderings do not create new groups. Thus nCr = nPr ÷ r!
Worked example: three stalls to taste
Nine food stalls line the fair, and a food critic has time to taste from exactly 3 of them. How many different groups of 3 stalls could she choose? Visiting the same three stalls in a different order does not change the group covered by her review, so use a combination with n = 9 and r = 3
Substitute: 9C3 = 9! /
$$3!(9 − 3)!$$
= 9! / (3! × 6!). Write 9! as 9 × 8 × 7 × 6! and cancel the entire 6! tail. This leaves (9 × 8 × 7) / (3 × 2 × 1)
Simplify before multiplying: 9 ÷ 3 = 3 and 8 ÷ 2 = 4. The result is 3 × 4 × 7 = 84 different tasting groups. For comparison, 9P3 = 504 counts ordered tasting routes. Dividing by 3! removes the reorderings: 504 ÷ 6 = 84
Practice 5: prize baskets
A prize basket holds 2 different toys chosen from the 6 toys on the shelf. Every basket is judged only by which toys are inside
Picking the Right Tool
For the problems in this lesson, first ask whether items may repeat. When repetition is allowed in a code, multiply the options available for each position. For example, a two-character code made from 6 symbols with repetition allowed has 6 × 6 = 36 possible codes
When items cannot repeat, apply the swap test. If swapping two picks changes the outcome, use nPr = n! / (n − r)!. If swapping leaves the same group, use nCr = n! /
$$r!(n − r)!$$
. The question is whether the order changes the outcome being counted, not simply whether the selections happen one after another
Practice 6: match situations to expressions
Match each situation to its counting expression. The situations are a 3-symbol stamp code from 5 symbols with repetition allowed; seating 4 speakers in 4 ordered chairs on stage; and blending 2 of 5 fruit flavors into one smoothie. The available expressions are 5 × 5 × 5 = 125, 4! = 24, 5C2 = 10, and 5P2 = 20. One expression is unused
The stamp code matches 5 × 5 × 5 = 125 because all 5 symbols remain available in each of the 3 positions. Seating the speakers matches 4! = 4 × 3 × 2 × 1 = 24 because the four chair positions are ordered and each speaker is seated once
The smoothie matches 5C2 = 10. Once the two flavors are blended, changing which was poured first does not create a different flavor pair. The unused expression is 5P2 = 20, which would count ordered pairs instead
Summary
Multiply the choices. The Fundamental Counting Principle gives m × n outcomes when there are m options for one step and n options for the next step for every first choice. In the repetition-allowed codes in this lesson, multiply the available options for every position
Run the swap test. If swapping two picks makes a different outcome, order matters: count permutations. If swapping makes the same outcome, only the group matters: count combinations
Use the formulas for selections without repetition: nPr = n! / (n − r)! and nCr = n! /
$$r!(n − r)!$$
. The extra r! in the combination denominator divides out the reorderings of each group
Cancel before computing. Cancel the (n − r)! tail of n! to leave exactly r factors counting down from n. For combinations, also simplify those factors against r! before multiplying
Quiz
Quiz 1: codes with repetition
A game token is stamped with a 3-character code. Each character is chosen from 4 symbols, and symbols may repeat
Quiz 2: awarding ribbons
Seven runners finish the fair fun run. A 1st-place ribbon and a 2nd-place ribbon are awarded to two different runners
Quiz 3: choosing workshops
A student has time to attend 3 of the 8 workshops offered at the fair. The schedule lists only which workshops were attended, not in what order. Decide whether this is a permutation or a combination and count the possibilities