College Algebra

Permutations and Combinations

Last updated: March 2026 · Advanced
Before you start

You should be comfortable with:

Real-world applications
💰
Retail & Finance

Discounts, tax, tips, profit margins

In the counting principles lesson, you learned the fundamental counting principle and noticed that sometimes different orderings give the same outcome. Permutations and combinations formalize the distinction: permutations count arrangements where order matters, and combinations count selections where order does not matter. These formulas appear throughout probability, statistics, and discrete mathematics.

Permutations (Order Matters)

A permutation is an arrangement of objects in a specific order. The number of ways to arrange rr objects chosen from nn distinct objects is:

P(n,r)=n!(nr)!P(n, r) = \frac{n!}{(n-r)!}

Why this formula works: The first position has nn choices, the second has n1n - 1, and so on down to nr+1n - r + 1 choices. This product equals n!(nr)!\frac{n!}{(n-r)!}.

Example 1: Race Finishers

In a race with 10 runners, how many ways can the gold, silver, and bronze medals be awarded?

P(10,3)=10!7!=10×9×8=720P(10, 3) = \frac{10!}{7!} = 10 \times 9 \times 8 = 720

Example 2: Arranging Letters

How many different 4-letter arrangements can be made from the letters in PRIME (5 letters, no repeats)?

P(5,4)=5!1!=120P(5, 4) = \frac{5!}{1!} = 120

Special Case: Arranging All Objects

When r=nr = n (you arrange all nn objects):

P(n,n)=n!0!=n!P(n, n) = \frac{n!}{0!} = n!

This is why the number of ways to arrange 6 books on a shelf is 6!=7206! = 720.

Combinations (Order Does Not Matter)

A combination is a selection of objects where order is irrelevant. The number of ways to choose rr objects from nn distinct objects is:

C(n,r)=(nr)=n!r!(nr)!C(n, r) = \binom{n}{r} = \frac{n!}{r!(n-r)!}

The notation (nr)\binom{n}{r} is read “n choose r” and is the same binomial coefficient from the binomial theorem.

Why divide by r!r!? A permutation counts each group r!r! times (once for each ordering). Dividing removes the duplicate orderings:

C(n,r)=P(n,r)r!C(n, r) = \frac{P(n, r)}{r!}

Example 3: Choosing a Committee

From a club of 12 members, how many ways can a 4-person committee be chosen?

C(12,4)=12!4!8!=12×11×10×94×3×2×1=11,88024=495C(12, 4) = \frac{12!}{4! \cdot 8!} = \frac{12 \times 11 \times 10 \times 9}{4 \times 3 \times 2 \times 1} = \frac{11{,}880}{24} = 495

Example 4: Lottery Numbers

A lottery draws 6 numbers from 1 to 49. How many possible outcomes?

C(49,6)=49!6!43!=49×48×47×46×45×44720=13,983,816C(49, 6) = \frac{49!}{6! \cdot 43!} = \frac{49 \times 48 \times 47 \times 46 \times 45 \times 44}{720} = 13{,}983{,}816

This is why lotteries are hard to win — nearly 14 million possible combinations.

How to Tell: Permutation or Combination?

Ask: Does the order of selection matter?

ScenarioOrder Matters?Formula
Electing president, VP, secretaryYesP(n,r)P(n, r)
Choosing a committeeNoC(n,r)C(n, r)
Arranging books on a shelfYesP(n,r)P(n, r)
Selecting lottery numbersNoC(n,r)C(n, r)
Assigning seats at a tableYesP(n,r)P(n, r)
Choosing pizza toppingsNoC(n,r)C(n, r)

Key words that signal order matters: arrange, rank, assign roles, first/second/third Key words that signal order does not matter: choose, select, group, committee, team, hand (of cards)

Permutations with Repetition

When some objects are identical, not all rearrangements produce distinct outcomes. If you have nn objects where n1n_1 are identical of type 1, n2n_2 of type 2, etc.:

Distinct permutations=n!n1!n2!nk!\text{Distinct permutations} = \frac{n!}{n_1! \cdot n_2! \cdot \cdots \cdot n_k!}

Example 5: Rearranging MISSISSIPPI

MISSISSIPPI has 11 letters: M(1), I(4), S(4), P(2).

11!1!4!4!2!=39,916,8001×24×24×2=39,916,8001,152=34,650\frac{11!}{1! \cdot 4! \cdot 4! \cdot 2!} = \frac{39{,}916{,}800}{1 \times 24 \times 24 \times 2} = \frac{39{,}916{,}800}{1{,}152} = 34{,}650

Circular Permutations (Brief)

When arranging nn objects in a circle, rotations of the same arrangement are considered identical. Fix one object’s position and arrange the rest:

Circular permutations=(n1)!\text{Circular permutations} = (n - 1)!

Example: 8 people around a circular table: (81)!=7!=5,040(8-1)! = 7! = 5{,}040 arrangements.

Combining Counting Techniques

Many problems require using permutations, combinations, and the counting principle together.

Example 6: Mixed Committee

From 7 men and 5 women, form a committee of 3 men and 2 women.

Choose 3 men from 7: C(7,3)=35C(7, 3) = 35

Choose 2 women from 5: C(5,2)=10C(5, 2) = 10

By the counting principle: 35×10=35035 \times 10 = 350 committees.

Example 7: At Least One Condition

From a standard 52-card deck, how many 5-card hands contain at least one ace?

Complement method: Total hands minus hands with no aces.

Total 5-card hands: C(52,5)=2,598,960C(52, 5) = 2{,}598{,}960

Hands with no aces (choose 5 from 48 non-aces): C(48,5)=1,712,304C(48, 5) = 1{,}712{,}304

Hands with at least one ace: 2,598,9601,712,304=886,6562{,}598{,}960 - 1{,}712{,}304 = 886{,}656

Real-World Application: Product Testing in Retail

A retail company has 20 new products and wants to select 5 for a trial display. Additionally, the 5 selected products must be arranged in a specific order on the shelf (position 1 through 5).

Step 1 — How many ways to choose which 5 products?

C(20,5)=20!5!15!=15,504C(20, 5) = \frac{20!}{5! \cdot 15!} = 15{,}504

Step 2 — How many ways to arrange 5 products on the shelf?

5!=1205! = 120

Total arrangements: 15,504×120=1,860,48015{,}504 \times 120 = 1{,}860{,}480

Or equivalently: P(20,5)=20!15!=20×19×18×17×16=1,860,480P(20, 5) = \frac{20!}{15!} = 20 \times 19 \times 18 \times 17 \times 16 = 1{,}860{,}480.

This shows that P(n,r)=C(n,r)×r!P(n, r) = C(n, r) \times r! — choosing and then ordering is the same as permuting directly.

Common Mistakes

  1. Using permutations when combinations are needed (and vice versa). Always ask: does order matter?
  2. Forgetting to divide by r!r! for combinations. If you get a suspiciously large answer for a “choose a team” problem, you probably computed a permutation.
  3. Not handling identical objects. “How many arrangements of BANANA?” requires dividing by the repeated-letter factorials.
  4. Adding when you should multiply. Choosing 3 men AND 2 women uses multiplication. Choosing 3 men OR 2 women (one or the other, not both) uses addition.

Practice Problems

Problem 1: Compute P(8,3)P(8, 3) and C(8,3)C(8, 3).

P(8,3)=8!5!=8×7×6=336P(8, 3) = \frac{8!}{5!} = 8 \times 7 \times 6 = 336

C(8,3)=3363!=3366=56C(8, 3) = \frac{336}{3!} = \frac{336}{6} = 56

Problem 2: A club has 15 members. How many ways can a president, vice-president, and secretary be chosen?

Order matters (different roles): P(15,3)=15×14×13=2,730P(15, 3) = 15 \times 14 \times 13 = 2{,}730

Problem 3: How many distinct arrangements of the letters in COMMITTEE are there?

COMMITTEE: 9 letters. C(1), O(1), M(2), I(1), T(2), E(2).

9!1!1!2!1!2!2!=362,8808=45,360\frac{9!}{1! \cdot 1! \cdot 2! \cdot 1! \cdot 2! \cdot 2!} = \frac{362{,}880}{8} = 45{,}360

Problem 4: From 6 men and 8 women, choose a committee of 5 with exactly 3 women. How many ways?

Choose 3 women from 8: C(8,3)=56C(8, 3) = 56

Choose 2 men from 6: C(6,2)=15C(6, 2) = 15

Total: 56×15=84056 \times 15 = 840

Problem 5: How many 5-card poker hands are “flushes” (all 5 cards the same suit)?

Choose 1 suit from 4: C(4,1)=4C(4, 1) = 4

Choose 5 cards from 13 in that suit: C(13,5)=1,287C(13, 5) = 1{,}287

Total flushes: 4×1,287=5,1484 \times 1{,}287 = 5{,}148

(Note: this includes straight flushes and royal flushes.)

Key Takeaways

  • Permutations count ordered arrangements: P(n,r)=n!(nr)!P(n, r) = \frac{n!}{(n-r)!}
  • Combinations count unordered selections: C(n,r)=n!r!(nr)!C(n, r) = \frac{n!}{r!(n-r)!}
  • The key question is always: does order matter?
  • For identical objects, divide by the factorials of the repeat counts
  • Circular permutations fix one position: (n1)!(n-1)! arrangements
  • Combine formulas using the counting principle (multiply across independent choices, add across exclusive categories)
  • P(n,r)=C(n,r)×r!P(n, r) = C(n, r) \times r! — permuting = choosing then ordering

Return to College Algebra for more topics in this section.

Last updated: March 29, 2026