01 / 20

Permutations &
Combinations

Master the art of counting arrangements and selections. Learn when order matters, when it doesn't, and how to solve any counting problem with \( P(n,r) \) and \( C(n,r) \).

Discrete Math

The Fundamental Counting Principle

If one event can occur in \( m \) ways and a second independent event can occur in \( n \) ways, then the two events together can occur in \( m \times n \) ways. This principle extends to any number of sequential choices.

Shirts S1 S2 S3 S4
\( \times \)
Pants P1 P2 P3
\( = \)
12

Understanding Factorials: \( n! \)

The factorial of a non-negative integer \( n \), written \( n! \), is the product of all positive integers from \( 1 \) to \( n \). Factorials are the building blocks of both permutation and combination formulas.

\( 5! \)
\( 5 \times 4 \times 3 \times 2 \times 1 = \) 120
\( 3! \)
\( 3 \times 2 \times 1 = \) 6
\( 0! \)
Defined as 1 (by convention)

What Are Permutations?

A permutation is an ordered arrangement of objects. When we count permutations, the order in which items are selected matters. Rearranging the same items into a different sequence produces a distinct permutation.

A B C → All permutations: ABC ACB BAC BCA CAB CBA
\( 3! = 6 \) arrangements

The Permutation Formula

The number of ways to arrange \( r \) items from a set of \( n \) distinct items, where order matters:

1
\( n \) is the total number of objects to choose from.
2
\( r \) is the number of objects being selected and arranged.
3
Dividing by \( (n-r)! \) removes the objects we did not choose.

What Are Combinations?

A combination is a selection of objects where order does not matter. {A, B, C} and {C, B, A} represent the same combination, even though they are different permutations.

Pool of 4 A B C D Choose 2 → All combinations (unordered): {A, B} {A, C} {A, D} {B, C} {B, D} {C, D}
\( C(4, 2) = 6 \)

The Combination Formula

The number of ways to choose \( r \) items from \( n \) distinct items, where order does not matter:

1
\( n! \) counts all arrangements of \( n \) items.
2
\( (n-r)! \) removes unchosen items (same as permutations).
3
\( r! \) removes duplicate orderings within the chosen group: this is what makes combinations unordered.

Permutation vs Combination

The only difference between \( P(n,r) \) and \( C(n,r) \) is the extra \( r! \) in the denominator of the combination formula. That factor removes the duplicate orderings.

Permutation
Order matters. Arranging 3 books on a shelf: ABC ≠ BAC.
Combination
Order does not matter. Choosing 3 toppings for pizza: {A,B,C} = {C,B,A}.

How to Solve Counting Problems

1
Identify \( n \): What is the total number of objects to choose from?
2
Identify \( r \): How many objects are being selected?
3
Determine order: Does rearranging the selection produce a distinct outcome?
4
Choose the formula: Order matters → \( P(n,r) \). Order doesn't matter → \( C(n,r) \).
5
Compute and simplify: Cancel common factorial terms before multiplying to keep numbers manageable.

Example 1: Permutation

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

1
Identify values: \( n = 10 \) members, \( r = 3 \) positions.
2
Does order matter? Yes: president ≠ vice-president. Use \( P(n,r) \).
3
Apply the formula: \( P(10, 3) = \dfrac{10!}{(10-3)!} = \dfrac{10!}{7!} \)
4
Simplify: \( \dfrac{10!}{7!} = 10 \times 9 \times 8 = \) 720

Example 2: Combination

Problem: A committee of 3 is to be formed from a group of 8 people. How many different committees are possible?

1
Identify values: \( n = 8 \), \( r = 3 \).
2
Does order matter? No: a committee of {A, B, C} is the same as {C, B, A}. Use \( C(n,r) \).
3
Apply: \( C(8, 3) = \dfrac{8!}{3!\cdot 5!} = \dfrac{8 \times 7 \times 6}{3 \times 2 \times 1} \)
4
Simplify: \( \dfrac{336}{6} = \) 56

Example 3: Multi-Step Problem

Problem: From 5 men and 4 women, form a committee of 3 men and 2 women. How many ways?

1
Choose men: \( C(5, 3) = \dfrac{5!}{3!\cdot 2!} = 10 \)
2
Choose women: \( C(4, 2) = \dfrac{4!}{2!\cdot 2!} = 6 \)
3
Multiply (Fundamental Counting Principle): \( 10 \times 6 = \) 60

Pascal's Triangle and \( \binom{n}{r} \)

Each entry in Pascal's Triangle equals \( \binom{n}{r} \), and every entry is the sum of the two entries directly above it. This gives us a visual shortcut for small values.

n=0 n=1 n=2 n=3 n=4 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
← \( C(2,1) = 2 \)
← \( C(4,2) = 6 \)

Useful Identities

Symmetry
\( \binom{n}{r} = \binom{n}{n-r} \). Choosing what to include is the same as choosing what to exclude.
Sum of Row
\( \displaystyle\sum_{r=0}^{n} \binom{n}{r} = 2^n \). All subsets of an \( n \)-element set.
Zero Selection
\( \binom{n}{0} = 1 \). There is exactly one way to choose nothing.
Full Selection
\( \binom{n}{n} = 1 \). There is exactly one way to choose everything.

Common Mistakes to Avoid

✕ Confusing P and C
Using \( P(n,r) \) when order doesn't matter (or vice versa). Always ask: "Does rearranging matter?"
✕ Forgetting \( 0! = 1 \)
Setting \( 0! = 0 \) makes the denominator zero. Remember: \( 0! = 1 \) by definition.
✕ Adding Instead of Multiplying
Independent sequential choices are multiplied, not added. Addition applies to mutually exclusive cases.

Summary Comparison

Permutation Combination
Order Matters Does not matter
Formula \( \dfrac{n!}{(n-r)!} \) \( \dfrac{n!}{r!(n-r)!} \)
Notation \( P(n,r) \) or \( {}_nP_r \) \( C(n,r) \) or \( \binom{n}{r} \)
Relative size Larger (more arrangements) Smaller (groups only)
Relationship \( C(n,r) = P(n,r) \div r! \)
Example keyword Arrange, rank, schedule Choose, select, committee

Question 1 of 5

How many ways can 5 runners finish in 1st, 2nd, and 3rd place?

Question 2 of 5

A pizza shop offers 10 toppings. How many ways can you choose 4 toppings for your pizza?

Question 3 of 5

What is the value of \( \dfrac{P(8,3)}{C(8,3)} \)?

Question 4 of 5

From 6 men and 5 women, a committee of 2 men and 2 women is formed. How many different committees are possible?

Question 5 of 5

Which identity does Pascal's Triangle illustrate?