Permutations and Combinations
Contents
6.2. Permutations and Combinations#
In this section we will extend the idea of counting to permutations and their closely related sibling, combinations.
Both of these concepts extend the idea of choosing items from a set (product rule and sum rule) to consider additional replacement or, rather, lack thereof.
6.2.1. Permutations#
Definition (permutation)
A permutation of a set of objects is an ordered arrangement of those objects. An ordered arrangement of
For a set
Permutations of a set
Let
A
Another
Another
A
A fundamental consideration of permutations
is the number of possible permutations.
For a set of size
Theorem
For positive integers
Proof: Use the product rule. From a set of size
Note:
Corollary
For positive integers
Counting contest winners
Consider a contest with
To choose first place, there are
Alternatively, we could use the formula for
Counting permutations
You are tasked with designing a new bus route for the London Transit Commission. This route must start and stop at Oxford and Richmond. After that,
it must visit
Counting permutations
The start and end points of the route are determined for us.
After that, we have
If we want to find the shortest route, we should check all 40,320 routes… that’s a lot. (This alludes to Section 7).
6.2.2. Combinations#
Combinations are simply permutations where order does not matter.
Definition (combination)
An
For a set
Combinations of a set
Let
The only
The
Of course, we are interested in counting the
number of possible combinations.
The number of
Theorem
For non-negative integers
Proof:
Combinations are just permutations which do not care about order.
Given an
Counting soccer teams
In an grade 4 gym class, there are
The order in which students are assigned to each team does not matter, only the composition of the teams. Thus, this is a question about combinations.
Here’s a neat identity about combinations.
Corollary
Let
Proof:
From the previous theorem, we have:
and
This corollary tells us that there are the same number of
Intuitively, this makes some sense. There are the same number of ways to choose
6.2.3. Binomial Coefficients#
A binomial is a polynomial with 2 terms. We are familiar with binomials and “FOIL”. We all know that:
When
Can we generalize this idea of FOIL to any power
Let us illustrate this idea with
Binomial coefficients of a cubic
What is the expansion of
In this product we have
To get
we must choose 3 times.To get
we must choose 3 times.To get
we must choose twice and once.To get
we must choose once and twice.
Thus, the final expansion will have
Since multiplication is commutative,
To get
we much choose 3 out of 3 times.To get
we much choose 3 out of 3 times.To get
we much choose 2 out of 3 times (and thus is chosen 1 of 3 times).To get
we much choose 1 out of 3 times.
Therefore,
Generalizing this construction to a power of
Binomial Theorem
Expanding the binomial theorem for
Using the binomial theorem
What is the coefficient of
We have
Recall that combinations are really just subsets
and
Corollary
For a non-negative integer
Proof: Apply the binomial theorem to
Since an
Pascal’s Identity and Pascal’s Triangle
Pascal and his famous triangle give the following recurrence relation.
In Pascal’s Triangle the

Fig. 6.3 Pascal’s triangle for
The left and right edges of a triangle are always
6.2.4. Exercises#
Exercise 6.8
Suppose you are interviewing
Solution to Exercise 6.8
We are choosing
Exercise 6.9
Given a standard
Solution to Exercise 6.9
We are choosing
There are
But, there are
Exercise 6.10
What is the coefficient of
Solution to Exercise 6.10
We have
Therefore, the coefficient of