Previously, we informally introduced some key ideas in probability that we will revisit when exploring the meat of the root—measure theory. Therein, we talked about the counting measure, which we will revisit for simplicity.
Theorem 1. Let be a finite set and for any
, let
denote the number of elements in
. Then for any
that do not share elements pair-wise (i.e. for
,
),
This is the first counting principle: the addition principle. Now we raise a seemingly obvious question: how do we count? When I read this I laughed. Shouldn’t we be beyond baby counting? Except that it’s not so obvious, and I’ll try to convince you why that’s the case in a moment.
Let’s analyse this peculiar expression: . For
and
, we get trivial results:
For , we need to use the basic rules of expansion:
For , we need to do it again, but using the
case:
You may have seen the sequence of these sequences ,
,
,
in the first four rows of Pascal’s triangle:
This connection is no coincidence, and we might revisit this idea later on.
Now, here is my question: how do you expand ? By observing the pattern, we can guess that this expansion will require
terms, which will take…a long time. Indeed, we can formalise these patterns and more using the principle of mathematical induction and obtain the binomial theorem.
Theorem 2 (Binomial Theorem). For any ,
where is the integer recursively defined by
Proof. We have established the base case . For the inductive step,
However, how do we compute ? We will use
as our case-study, and in doing so, derive a more meaningful interpretation of
and a relatively effective method to compute it.
Let’s expand again. Intuitively,
, and when expanded, yields the sum of the following products:
For each , notice that the coefficient of
is exactly the number of arrangements of
copies of
and
copies of
. We have particularised to
here, but there is no reason to stop at
, unlike Singapore’s population planning post-WWII.
Let’s now discuss the idea of arrangements.
Theorem 2. Given finite sets , an
–arrangement is a finite sequence
, where
for each
. Thus, the set of arrangements is defined by
and the number of elements it has is given by
This is called the multiplication principle. In the special case , we have
. An element of
is called an
–arrangement of objects in
.
So what we are interested in the question is the collection of
-arrangements of objects in
. Indeed, our suspicions are confirmed, since for the
case, we did list out
arrangements. But how do we “weed” out the coefficients of
? We need to find the arrangements of the objects
If we call this number and are able to compute this number, then immediately we recover the binomial theorem:
However, how do we actually compute ? For some nontrivial insight, let’s analyse the case
, so that we find the arrangements of the objects
If we treated all of these object as different from one another, we aim to find arrangements of the objects
Crucially, we want to arrange these objects without repetitions. We call such arrangements permutations.
Let be a finite set with
distinct elements.
Theorem 3. An arrangement of objects in a set
is called a permutation of
if for any
,
. Then the number of permutations is given by
, called
–factorial, defined by
Proof. For convenience, define and for any
,
Then it is clear that
We will prove the claim inductively on . For the base case, the one and only permutation of
is
. Therefore, the number of permutations is
.
Now for the inductive step, consider a set of
distinct elements. There are
possible choices for the last term
in the sequence. Now the set
has
elements. By the induction hypothesis, there are
permutations of the elements in the first
slots. By the multiplication principle, the total number of permutations is
as required.
Corollary 1. The number of permutations of is
and the number of permutations of
is
.
Proof. We have and
.
We are almost there. We observe that given these labels, the permutations
are distinct. However, if we recall that are placeholders for
and
are placeholders for
, then we obtain the identical permutations
In fact, we can flip the question: how many permutations correspond to the overarching arrangement ? It would be the contribution of all permutations of
and all permutations of
. If there are
overarching arrangements of
copies of
and
copies of
, then the multiplication principle yields
Extending this reasoning to copies of
and
copies of
yields the computation of the binomial coefficient.
Theorem 4. For any and
with
, the
-th binomial coefficient is given by
.
Intriguingly, these two quantities, the factorial and binomial coefficient
help us discuss more about permutations and combinations.
Definition 1. Let be a set of
elements. For integers
, a
–combination of
is a subset of
(so that the collection of combinations of
is
) and a
–permutation is a permutation of some
-combination of
.
Given , how many
-combinations are there? Furthermore, how many
-permutations are there? We have seen that the number of
-permutations is
, and clearly the number of
-combinations is
. More concretely, given
, we want to count
Our key idea is as follows: fix such that
. Form a sequence of
and
as follows: declare the
-th term to be
if
and
otherwise. We formalise this construction in Lemma 1 below:
Lemma 1. For any , define
by
Then the map defined by
is bijective.
In particular, corresponds to the number of arrangements of
copies of
and
copies of
. But we have computed this number already—it is
. Hence, we have the following result.
Theorem 5. The number of -combinations of a set of
distinct elements is
. The number of
-permutations of the same set of elements is
.
Proof. The first claim follows from
For the second claim, we first have choices of
-combinations, followed by
permutations of the elements in each
-combination. The result follows from the multiplication principle.
There is a lot more that can be said about counting, studied in a much broader field called combinatorics. For now, we have convinced ourselves (somewhat) that we are able to compute for various kinds of sets
, be it collections of permutations or combinations, with repetitions or otherwise.
—Joel Kindiak, 24 Jun 25, 1810H
Leave a comment