This lecture introduces permutations, one of the most important concepts in combinatorial analysis.
We first deal with permutations without repetition, also called simple permutations, and then with permutations with repetition.
A permutation without repetition of
objects is one of the possible ways of ordering the
objects.
A permutation without repetition is also simply called a permutation.
The following subsections give a slightly more formal definition of
permutation and deal with the problem of counting the number of possible
permutations of
objects.
Let
,
,...,
be
objects. Let
,
,
...,
be
slots to which the
objects can be assigned. A permutation (or
permutation without repetition or simple
permutation) of
,
,...,
is one of the possible ways to fill each of the
slots with one and only one of the
objects (with the proviso that each object can be assigned to only one slot).
Example_
Consider three objects
,
and
.
There are three slots
(
,
and
)
to which we can assign the three objects
(
,
and
).
There are six possible permutations of the three objects (six possible ways to
fill the three slots with the three
objects):
Denote by
the number of possible permutations of
objects. How much is
in general? In other words, how do we count the number of possible
permutations of
objects?
The number
can be derived by noting that filling the
slots is a sequential problem:
First, we assign an object to the first slot. There are
objects that can be assigned to the first slot, so there are
Then, we assign an object to the second slot. There were
objects, but one has already been assigned to a slot. So, we are left with
objects that can be assigned to the second slot. Thus, there
are
and
Then, we assign an object to the third slot. There were
objects, but two have already been assigned to a slot. So, we are left with
objects that can be assigned to the third slot. Thus, there
are
and
An so on, until only one object and one free slot remain.
Finally, when only one free slot remains, we assign the remaining object to
it. There is only one way to do this. Thus, there
is:
and
Therefore, by the above sequential argument, the total number of
possible permutations of
objects
is:
The number
is usually indicated as
follows:
where
is read
"
factorial", with the convention
that:
Example_
The number of possible permutations of
objects
is:
A permutation with repetition of
objects is one of the possible ways of selecting another set of
objects from the original one. The selection rules are:
each object can be selected more than once;
the order of selection matters (the same
objects selected in different orders are regarded as different permutations).
Thus, the difference between simple permutations and permutations with repetition is that objects can be selected only once in the former, while they can be selected more than once in the latter.
The following subsections give a slightly more formal definition of permutation with repetition and deal with the problem of counting the number of possible permutations with repetition.
Let
,
,...,
be
objects. Let
,
,
...,
be
slots to which the
objects can be assigned. A permutation with repetition of
,
,...,
is one of the possible ways to fill each of the
slots with one and only one of the
objects (with the proviso that an object can be assigned to more than one
slot).
Example_
Consider two objects
and
.
There are two slots to fill
(
and
).
There are four possible permutations with repetition of the two objects (four
possible ways to assign an object to each slot, being allowed to assign the
same object to more than one
slot):
Denote by
the number of possible permutations with repetition of
objects. How much is
in general? In other words, how do we count the number of possible
permutations with repetition of
objects?
We can derive a general formula for
by using a sequential argument:
First, we assign an object to the first slot. There are
objects that can be assigned to the first slot, so there are
Then, we assign an object to the second slot. Even if one object has been
assigned to a slot in the previous step, we can still choose among
objects, because we are allowed to choose an object more than once. So, there
are
objects that can be assigned to the second slot
and
and
Then, we assign an object to the third slot. Even if two objects have been
assigned to a slot in the previous two steps, we can still choose among
objects, because we are allowed to choose an object more than once. So, there
are
objects that can be assigned to the third slot
and
and
An so on, until we are left with only one free slot (the
-th).
When only one free slot remains, we assign one of the
objects to it. Thus, there
are:
and
Therefore, by the above sequential argument, the total number of
possible permutations with repetition of
objects
is:
Example_
The number of possible permutations with repetition of
objects
is:
Below you can find some exercises with explained solutions:
Exercise set 1 (combinatorial problems involving permutations)