01 / 21

Permutations &
Combinations

Master the art of counting arrangements and selections. Learn when order matters, when it doesn't, and how to apply \( P(n,r) \) and \( C(n,r) \) to solve real-world problems.

Finite Mathematics

The Fundamental Counting Question

In many real situations we need to answer: "How many ways can we choose or arrange items from a group?" Two powerful tools answer this question:

Permutations
Count arrangements where the order matters. Choosing A-B-C is different from C-B-A.
Combinations
Count selections where order does not matter. The group {A, B, C} is the same as {C, B, A}.

The Factorial Foundation

Both formulas rely on the factorial operation. For any non-negative integer \( n \):

\( 3! \)
\( 3 \times 2 \times 1 = \) 6
\( 5! \)
\( 5 \times 4 \times 3 \times 2 \times 1 = \) 120
\( 7! \)
\( 7 \times 6 \times \cdots \times 1 = \) 5040

Why Counting Matters

Permutations and combinations appear everywhere: probability, statistics, computer science, and daily life. Recognizing which tool to use is half the battle.

Passwords
How many 4-digit PINs exist? Order matters: 1234 ≠ 4321. Use permutations.
Lottery
Picking 6 numbers from 49. Order doesn't matter. Use combinations.
Committees
Selecting 3 people from 10. No ranking involved. Use combinations.

The Permutation Formula

A permutation counts the number of ways to arrange \( r \) items chosen from \( n \) distinct items, where order matters.

1st 2nd 3rd ... ... n items total, choosing r positions
\(n\)
\(\times\)
\(n-1\)
\(\times\)
\(n-2\)
\(\times\)
\(\cdots\)
\(\times\)
\(n-r+1\)
Each slot has one fewer choice: the Multiplication Principle

The Combination Formula

A combination counts the number of ways to select \( r \) items from \( n \) distinct items, where order does not matter.

Permutation vs. Combination

Permutation (Order matters) Choose 2 from {A, B, C}: A, B B, A A, C C, A B, C C, B
\( P(3,2) = 6 \)
Combination (Order ignored) Choose 2 from {A, B, C}: {A, B} {A, C} {B, C}
\( C(3,2) = 3 \)

How to Decide Which Formula

Start: Selecting r from n Does ORDER matter? YES
Use \( P(n, r) \)
NO
Use \( C(n, r) \)
Keywords: arrange, rank, sequence, first/second Keywords: choose, select, group, committee, team

Step-by-Step Approach

1
Identify \( n \) and \( r \). What is the total pool size? How many are being chosen?
2
Ask: does order matter? Look for keywords like "arrange" (permutation) or "select" (combination).
3
Choose the formula. Use \( P(n,r) = \frac{n!}{(n-r)!} \) or \( C(n,r) = \frac{n!}{r!(n-r)!} \).
4
Substitute and simplify. Cancel common factorial factors to avoid huge numbers.
5
Verify reasonableness. \( C(n,r) \leq P(n,r) \leq n! \). Check your answer falls in the right range.

Example 1: Race Medals

Problem: In a race with 8 runners, how many ways can gold, silver, and bronze medals be awarded?

1
Identify: \( n = 8 \) runners, \( r = 3 \) positions.
2
Apply: \( P(8, 3) = \dfrac{8!}{(8-3)!} = \dfrac{8!}{5!} \)
3
Simplify: \( \dfrac{8 \times 7 \times 6 \times 5!}{5!} = 8 \times 7 \times 6 = \) 336

Example 2: Committee Selection

Problem: From a club of 12 members, how many ways can a committee of 4 be formed?

1
Identify: \( n = 12 \), \( r = 4 \).
2
Apply: \( C(12, 4) = \dfrac{12!}{4!\,\cdot\,8!} \)
3
Simplify: \( \dfrac{12 \times 11 \times 10 \times 9}{4 \times 3 \times 2 \times 1} = \dfrac{11{,}880}{24} = \) 495

Example 3: Mixed Problem

Problem: A pizza shop offers 10 toppings. How many ways can you: (a) choose 3 toppings, and (b) rank your top 3 favorites?

(a) Choose 3 toppings
Order doesn't matter:
\( C(10, 3) = \dfrac{10!}{3!7!} = \dfrac{10 \times 9 \times 8}{3 \times 2 \times 1} = 120 \)
(b) Rank top 3
Order matters:
\( P(10, 3) = \dfrac{10!}{7!} = 10 \times 9 \times 8 = 720 \)

Useful Properties

1
Symmetry: \( C(n, r) = C(n, n - r) \). Choosing what to include is the same as choosing what to exclude.
2
Full selection: \( C(n, n) = 1 \) and \( P(n, n) = n! \).
3
Single choice: \( C(n, 1) = n \) and \( P(n, 1) = n \). When \( r = 1 \), both formulas agree.
4
Pascal's Identity: \( C(n, r) = C(n-1, r-1) + C(n-1, r) \). This builds Pascal's Triangle.

Pascal's Triangle

Each entry in Pascal's Triangle equals \( C(n, r) \). Row \( n \), position \( r \) (both starting at 0):

1 n=0 1 1 n=1 1 2 1 n=2 1 3 3 1 n=3 1 4 6 4 1 n=4 1 5 10 10 5 1 n=5 Each entry = sum of two entries above it

Common Mistakes

✕ Confusing P and C
Using \( P(n,r) \) when order doesn't matter inflates the answer by a factor of \( r! \). Always ask: does rearranging the selection create a new outcome?
✕ Forgetting \( 0! = 1 \)
When \( r = n \), you get \( (n - n)! = 0! \) in the denominator. This equals 1, not 0. Division by zero never happens.
✕ Skipping Simplification
Computing \( 12! \) directly yields enormous numbers. Cancel the \( (n-r)! \) factor first: \( \frac{12!}{9!} = 12 \times 11 \times 10 \).

Summary Comparison

Permutation \( P(n,r) \) Combination \( C(n,r) \)
Order Matters Does not matter
Formula \( \dfrac{n!}{(n-r)!} \) \( \dfrac{n!}{r!(n-r)!} \)
Relationship \( P(n,r) = r! \cdot C(n,r) \)
Size \( P(n,r) \geq C(n,r) \) \( C(n,r) \leq P(n,r) \)
Keywords arrange, rank, order, sequence choose, select, group, committee
Example: \( n=5, r=3 \) 60 10

Question 1 of 5

How many ways can a president, vice-president, and secretary be chosen from a club of 10 members?

Question 2 of 5

A class of 20 students needs to form a study group of 5. How many different groups are possible?

Question 3 of 5

Which identity is always true?

Question 4 of 5

Evaluate: $$ \frac{P(8, 3)}{C(8, 3)} $$

Question 5 of 5

A lock has a 4-digit code using digits 0-9 with no repetition. How many possible codes exist?