Counting and Probability Handout 2021 AMC 10 Seminar Final - 2
Counting and Probability Handout 2021 AMC 10 Seminar Final - 2
ThePuzzlr
AMC 10 Crash Course
1 Counting Strategies
1. Constructive Counting. Oftentimes counting problems can be solved
through constructive counting, or thinking about how to construct an ex-
ample of what you are counting. For instance, if you must count the
number of ways to put some objects in some boxes with specific restric-
tions, considering how to construct one way to put the objects in the boxes
can lead you to a solution.
2. Casework Counting. Sometimes the best way to count something is to
group all of the possibilities into non-overlapping categories, called cases,
count the number of possibilities in each case, and finally add up those
numbers. For example, if you must count the number of arrangements of
objects that satisfy many odd restrictions which make direct constructive
counting impossible, casework counting with cases based on which object
comes first in the arrangement may help.
1
so there are 2 · 3 ways to choose a hat and a shirt. After this, for each of the
2 · 3 hat-shirt combinations, there are 3 ways to choose which pair of pants to
wear, so there are 2 · 3 · 3 choices for a hat-shirt-pants combination. Finally, for
each of the 2 · 3 · 3 hat-shirt-pants combinations, there are 4 ways to choose a
pair of shoes, so there are 2 · 3 · 3 · 4 = 72 hat-shirt-pants-shoes combinations,
or 72 outfits possible.
This example illustrates a powerful fact called The Fundamental Principle
of Counting, namely, that:
Theorem 1 (The Fundamental Principle of Counting). The number of ways a
series of independent events can occur is equal to the product of the numbers
of ways that each of the events can occur.
Independent events in this case are events that do not affect one other, and
in the example above, picking a hat, picking a shirt, picking a pair of pants, and
picking a pair of shoes were all independent events. Then, just as we multiplied
2 · 3 · 3 · 4 to obtain the number of outfits, we can apply our logic in the problem
above to any other series of independent events, which gives us The Fundamental
Principle of Counting.
2
Proof. This theorem can be proven with the same logic used to solve Example
3.1.
The expression n(n − 1)(n − 2) · · · 1 appears so much in counting problems
and discrete mathematics in general that there is a special notation for it, the
factorial:
Definition 3.1. Let n!, read ”n factorial”, denote n(n − 1)(n − 2) · · · 1 for any
positive integer n.
Therefore, n! is the number of ways to arrange n objects in a line, where n is a
positive integer. Furthermore, we conveniently and conventionally define 0! = 1,
since there is 1 way to arrange 0 objects in a line, which is to do nothing! This
definition of 0! also works nicely with permutations and combinations, which we
will look at next.
3.2 Permutations
Theorem 3 (Permutations). Denote n Pr for nonnegative integers n and r, read
”n permute r”, as the number of ways to arrange r of n objects in a line, or, in
other words, the number of ways to permute r of the n objects. Then,
n!
n Pr = = n(n − 1) · · · (n − r + 1). (1)
(n − r)!
Proof. We can prove the theorem above using constructive counting. Namely,
there are n ways to choose the first object in the line, n − 1 ways to choose
the second object, and so on, until there are n − r + 1 ways to choose the rth
object in the line. Thus, there are n(n − 1) · · · (n − r + 1) ways to permute r
of the n objects. Finally, if we wish, we can rewrite n(n − 1) · · · (n − r + 1) as
n(n−1)···1 n!
(n−r)(n−r−1)···1 , or (n−r)! .
3.3 Combinations
Example 3.2. How many ways are there to choose 3 objects out of 6?
Solution 3.2. Firstly, to make the problem more concrete, let A, B, C, D, E,
and F be the 6 objects, of which we wish to choose 3. Now, notice that
the answer is not 6 P3 . This is because 6 P3 describes the number of ways to
permute 3 objects given 6, so order matters: a permutation of A, then B, then
C is different from a permutation of B, then A, then C. On the other hand,
there is only one way to choose A, B, and C. In other words, order does not
matter in this problem.
In fact, and this is key, for every 1 unordered combination of three
objects, there are 3! ways to order, or permute, them, so there are
3! = 6 corresponding permutations with the same three objects. For in-
stance, the combination A, B, C has 6 permutations: A, B, C; A, C, B; B, A, C;
B, C, A; C, A, B; and C, B, A.
3
6!
Then, since there are 6 P3 = (6−3)! ways to permute 3 objects given 6 objects,
P3 6!
and for every 3! permutations, there is 1 combination, there are 63! = 3!(6−3)! =
20 ways to choose 3 objects out of 6 objects.
n
Theorem 4 (Combinations). Denote n Cr or for nonnegative integers n
r
and r, read ”n pick r” or ”n choose r”, as the number of ways to choose r
objects out of n objects, or, in other words, the number of combinations of r
objects given the n objects. Then,
n n!
n Cr = = . (2)
r r!(n − r)!
Proof. We proceed similarly to Solution 3.2. Namely, note that for every un-
ordered combination of r objects, there are r! ways to permute those objects,
so there are r! corresponding permutations. Then, for every r! permutations,
n!
there is 1 combination, and since there are n Pr = (n−r)! permutations, there
n Pr n!
are r! = r!(n−r)! combinations, as desired.
4 Basic Combinatorics
Combinatorics is the study of combinations. Here we will note some basic
identities of combinations and their relationships with Pascal’s Triangle.
Proof. We will present two proofs, an algebra argument and a counting argu-
ment, as follows:
and
n n!
= (5)
n−r (n − r)!(n − (n − r))!
n!
= . (6)
r!(n − r)!
4
Thus, we can combine (1) and (3) to give
n n
= , (7)
r n−r
as desired.
5
as desired.
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
···
Let us generate the above triangle of numbers as follows. First, let us begin
with two diagonals of 1’s, one sloping down and to the left, the other sloping
down and to the right, both starting with a top-most 1. Then, we can repeatedly
take any two adjacent numbers in one row, add them, and write that sum in
the next row beneath those two numbers. For example, for the row with the
numbers ”1 1”, we can add the two 1’s to give a 2 in the middle of the next
row. Then, we can add that 2 to the adjacent 1’s to yield 3’s in the row below,
and the adjacent numbers in ”1 3 3 1” to give the row below that, and so on.
This is mathematically playful enough, but what is extremely interesting is
that we can rewrite the triangle entirely in terms of combinations:
0
0
1 1
0 1
2 2 2
0 1 2
3 3 3 3
0 1 2 3
4 4 4 4 4
0 1 2 3 4
5 5 5 5 5 5
0 1 2 3 4 5
···
See if you
canprove
why
this is true with our two identities from above, and
n n
the fact that = = 1 for all nonnegative integers n.
0 n
6
4.2.2 The Significance of Pascal’s Triangle
Pascal’s Triangle is accredited to the French mathematician Blaise Pascal, al-
though, as is tradition in mathematics, it was invented much earlier than Pas-
cal’s time by Eastern cultures.
The reason, though, for why we even name this triangle at all, is not only
because it gives us an elegant way to visualize combinations, but since there
are numerous patterns among the numbers in the triangle that lead directly to
combinatoric identities. Here are a few examples:
1. Add the numbers in each row of the triangle. What do you notice? How
can you formulate this in terms of combinations? Can you prove this
pattern always holds?
2. Alternate adding and subtracting the numbers in each row of the triangle.
For example, compute 1 − 1, 1 − 2 + 1, 1 − 3 + 3 − 1, 1 − 4 + 6 − 4 + 1,
and so on. What do you notice? How can you formulate this in terms of
combinations? Can you prove this pattern always holds?
3. Compute some powers of 11 and compare them with the rows of the tri-
angle. What do you notice? Can you prove this pattern always holds?
5 Probability
5.1 Basic Probability
Probability, in simple terms, is the likelihood of an event, such as raining tomor-
row, to occur, measured from 0 to 1. Namely, a probability of 0 indicates that
an event will almost certainly not occur, while a probability of 1 indicates that
an event will almost certainly occur. Furthermore, if we denote an event as E,
the probability of E occurring is denoted P (E).
For such an intuitive concept, however, probability is extremely difficult to
define rigorously, calling for measure theory concepts. Thus, to begin, we usually
think about probability as follows:
number of equally likely successful outcomes in event E
P (E) = . (11)
number of equally likely possible outcomes
The ”outcomes” here refer to the individual possibilities of a scenario such as
rolling a die; an outcome of rolling a die is rolling a 1. (And yes, this is a circular
definition of probability since it relies on these ”equally likely” outcomes, which
in turn references probability, but as we said, defining probability rigorously
requires more advanced tools than we need to or even could cover here.)
Example 5.1. Sally randomly (i.e., without bias towards one outcome or an-
other) selects one marble out of a bag which contains a red marble, a green
marble, and a blue marble. What is the probability that the marble Sally se-
lects is blue?
7
Solution 5.1. There is 1 successful outcome, the one in which Sally selects the
blue marble, while there are 3 possible outcomes, one for each marble being
selected. Note that all these outcomes are equally likely since Sally randomly
selects a marble. Therefore, the probability that Sally selects the blue marble
is 13 .
8
For example, the probability of rolling a head on a coin twice is the probability
of rolling a head on the coin on time multiplied by the probability of rolling a
head a second time.
We cannot prove these theorems without a more rigorous grasp on proba-
bility, but hopefully they are intuitively clear.
6 More Resources
To access more free resources like this, go to https://thepuzzlr.com/amc-10-crash-course.
There, you will find a complete set of free AMC 10 Classes to qualify for the
AIME, comprehensive handouts, and tons of practice problems!
If you appreciate the work that went into writing this handout, be sure to
let us know by subscribing to our YouTube Channel: https://www.youtube.
com/c/ThePuzzlr