12 Chapter 1 Fundamentals
disjoint, and hence to use it when the circumstances are otherwise. This principle is often
called the addition principle.
This principle can be generalized: if sets A
1
through A
n
are pairwise disjoint and have
sizes m
1
, . . . m
n
, then the size of A
1
∪···∪A
n
=
n
i=1
m
i
. This can be proved by a simple
induction argument.
Why do we know, without listing them all, that there are 36 outcomes when two dice
are rolled? We can view the outcomes as two separate outcomes, that is, the outcome
of rolling die number one and the outcome of rolling die number two. For each of 6
outcomes for the first die the second die may have any of 6 outcomes, so the total is
6 + 6 + 6 + 6 + 6 + 6 = 36, or more compactly, 6 ·6 = 36. Note that we are really using the
addition principle here: set A
1
is all pairs (1, x), set A
2
is all pairs (2, x), and so on. This
is somewhat more subtle than is first apparent. In this simple example, the outcomes of
die number two have nothing to do with the outcomes of die number one. Here’s a slightly
more complicated example: how many ways are there to roll two dice so that the two dice
don’t match? That is, we rule out 1-1, 2-2, and so on. Here for each possible value on
die number one, there are five possible values for die number two, but they are a different
five values for each value on die numb er one. Still, because all are the same, the result is
5 + 5 + 5 + 5 + 5 + 5 = 30, or 6 ·5 = 30. In general, then, if there are m possibilities for one
event, and n for a second event, the number of possible outcomes for both events together
is m · n. This is often called the multiplication principle.
In general, if n events have m
i
possible outcomes, for i = 1, . . . , n, where each m
i
is
unaffected by the outcomes of other events, then the numb er of possible outcomes overall
is
n
i=1
m
i
. This too can be proved by induction.
EXAMPLE 1.2.1 How many outcomes are possible when three dice are rolled, if no two
of them may be the same? The first two dice together have 6 · 5 = 30 possible outcomes,
from above. For each of these 30 outcomes, there are four possible outcomes for the third
die, so the total number of outcomes is 30 · 4 = 6 · 5 · 4 = 120. (Note that we consider the
dice to be distinguishable, that is, a roll of 6, 4, 1 is different than 4, 6, 1, because the first
and second dice are different in the two rolls, even though the numbers as a set are the
same.)
EXAMPLE 1.2.2 Suppose blocks numbered 1 through n are in a barrel; we pull out k
of them, placing them in a line as we do. How many outcomes are possible? That is, how
many different arrangements of k blocks might we see?
This is essentially the same as the previous example: there are k “spots” to be filled by
blocks. Any of the n blocks might appear first in the line; then any of the remaining n −1
might appear next, and so on. The number of outcomes is thus n(n−1)(n−2) ···(n−k+1),
by the multiplication principle. In the previous example, the first “spot” was die number