2
CHAPTER 1. COMBINATORICS
factorial,” and it is denoted by the shorthand notation, “N!”.
1
For the first few integers, wehave:1! = 12! = 1
·
2 = 23! = 1
·
2
·
3 = 64! = 1
·
2
·
3
·
4 = 245! = 1
·
2
·
3
·
4
·
5 = 1206! = 1
·
2
·
3
·
4
·
5
·
6 = 720 (1.1)As
N
increases,
N
! gets very big very fast. For example, 10! = 3
,
628
,
800, and 20!
≈
2
.
43
·
10
18
. In Chapter 3 we’ll make good use of an approximate formula for
N
!, called
Stirling’s formula
. This formula will make it clear what we mean by the statement, “
N
!gets very big very fast.”We should add that 0! is defined to be 1. Of course, 0! doesn’t make much sense, becausewhen we talk about the product of the first
N
integers, it is understood that we start with1. Since 0 is below this starting point, it is unclear what 0! actually means. However, there’sno need to think too hard about trying to make sense out of it, because as we’ll see below,if we simply define 0! to be 1, then a number of formulas turn out to be very nice.Having defined
N
!, we can now start counting things. There are two main things we’llneed to know how to count, and the results for both of these involve
N
!. These two things are(1) the
permutations
(the orderings) of
N
objects , and (2) the number of ways of choosingsubgroups from
N
objects, for example, the number of different committees of three peoplethat can be chosen from five people. Let’s look at each of these in turn.
1.2 Permutations
A
permutation
of a set of objects is a way of ordering them. For example, if we have threepeople, Alice, Bob, and Carol, then one permutation of them is Alice, Bob, Carol. Anotherpermutation is Carol, Alice, Bob. And another is Bob, Alice, Carol. The goal of this sectionis to learn how to count the number of possible permutations. We’ll do this by starting off with the very simple case where we have just one object. Then we’ll consider two objects,then three, and so on, until we see a pattern. As we’ll find throughout this book, this isinvariably a good strategy when trying to figure something out: Start with small numbers,and then gradually increase until you see a pattern.
One object
If we have only one object, then there is clearly only one way to “order” it. There is noordering to be done. A list of one object simply consists of that one object, and that’s that.If we use the notation where
P
N
stands for the number of permutations of
N
objects, thenwe have
P
1
= 1.
Two objects
With two objects, things aren’t completely trivial like they were in the one-object case, butthey’re still very simple. If we label our two objects as “1” and “2,” then we can order themin two ways:
1
I’m not sure why someone long ago picked the exclamation point for this notation. But just rememberthat it has nothing to do with the more common grammatical use of the exclamation point for emphasis.So try not to get too excited when you see “N!”!
Add a Comment