1.3: Some Applications of Basic Counting Principles
( \newcommand{\kernel}{\mathrm{null}\,}\)
1.3.1: Lattice Paths and Catalan Numbers
In a part of a city, all streets run either north-south or east-west, and there are no dead ends. Suppose we are standing on a street corner. In how many ways may we walk to a corner that is four blocks north and six blocks east, using as few blocks as possible? (Hint).
Problem 47 has a geometric interpretation in a coordinate plane. A lattice path in the plane is a “curve” made up of line segments that either go from a point
Another kind of geometric path in the plane is a diagonal lattice path. Such a path is a path made up of line segments that go from a point
A school play requires a ten dollar donation per person; the donation goes into the student activity fund. Assume that each person who comes to the play pays with a ten dollar bill or a twenty dollar bill. The teacher who is collecting the money forgot to get change before the event. If there are always at least as many people who have paid with a ten as a twenty as they arrive the teacher won’t have to give anyone an IOU for change. Suppose
- Describe a bijection between the set of sequences of tens and twenties people give the teacher and the set of lattice paths from
to . - Describe a bijection between the set of sequences of tens and twenties that people give the teacher and the set of diagonal lattice paths between
and . - In each of the previous parts, what is the geometric interpretation of a sequence that does not require the teacher to give any IOUs? (Hint).
Notice that a lattice path from
a. Explain why the number of lattice paths from
b. Find a bijection between lattice paths from
c. Find a formula for the number of lattice paths from
Your formula for the Catalan Number can be expressed as a binomial coefficient divided by an integer. Whenever we have a formula that calls for division by an integer, an ideal combinatorial explanation of the formula is one that uses the quotient principle. The purpose of this problem is to find such an explanation using diagonal lattice paths. A diagonal lattice path that never goes below the
- If a Dyck Path has
steps (each an upstep or downstep), why do the first steps form a Dyck Path for each nonnegative ? - Thought of as a curve in the plane, a diagonal lattice path can have many local maxima and minima, and can have several absolute maxima and minima, that is, several highest points and several lowest points. What is the
-coordinate of an absolute minimum point of a Dyck Path starting at ? Explain why a Dyck Path whose rightmost absolute minimum point is its last point is a Catalan Path. (Hint). - Let
be the set of all diagonal lattice paths from to . (Thus these paths can go below the -axis.) Suppose we partition by letting be the set of lattice paths in that have upsteps (perhaps mixed with some downsteps) following the last absolute minimum. How many blocks does this partition have? Give a succinct description of the block . (Hint). - How many upsteps are in a Catalan Path?
- *We are going to give a bijection between the set of Catalan Paths and the block
for each between and . For now, suppose the value of , while unknown, is fixed. We take a Catalan path and break it into three pieces. The piece (for “front”) consists of all steps before the upstep in the Catalan path. The piece (for “up”) consists of the upstep. The piece (for “back”) is the portion of the path that follows the upstep. Thus we can think of the path as . Show that the function that takes to is a bijection from the set of Catalan Paths onto the block of the partition. (Notice that can go below the axis.) (Hint). - Explain how you have just given another proof of the formula for the Catalan Numbers.
1.3.2: The Binomial Theorem
We know that
When we apply the distributive law
- If it is clear to you that each term of the form
that we get comes from choosing an from of the factors and a from the remaining of the factors and multiplying these choices together, then answer this part of the problem and skip the next part. Otherwise, do the next part instead of this one. In how many ways can we choose an from terms and a from terms?- Expand the product
. - What do you get when you substitute
for each and for each ? - Now imagine expanding
Once you apply the commutative law to the individual terms you get, you will have a sum of terms of the form
What is the set ? - In how many ways can you choose the set
? - Once you have chosen this set, how many choices do you have for
? - If you substitute
for each and for each , how many terms of the form will you have in the expanded product
- How many terms of the form
will you have?
- Expand the product
- Explain how you have just proved your conjecture from Problem. The theorem you have proved is called the Binomial Theorem.
Exercise
What is
Exercise
What is
From the symmetry of the binomial coefficients, it is not too hard to see that when
What is
Notice how the proof you gave of the binomial theorem was a counting argument. It is interesting that an apparently algebraic theorem that tells us how to expand a power of a binomial is proved by an argument that amounts to counting the individual terms of the expansion. Part of the reason that combinatorial mathematics turns out to be so useful is that counting arguments often underlie important results of algebra. As the algebra becomes more sophisticated, so do the families of objects we have to count, but nonetheless we can develop a great deal of algebra on the basis of counting.
1.3.3: The Pigeonhole Principle
American coins are all marked with the year in which they were made. How many coins do you need to have in your hand to guarantee that on two (at least) of them, the date has the same last digit? (When we say “to guarantee that on two (at least) of them,...” we mean that you can find two with the same last digit. You might be able to find three with that last digit, or you might be able to find one pair with the last digit
There are many ways in which you might explain your answer to Problem 60. For example, you can partition the coins according to the last digit of their date; that is, you put all the coins with a given last digit in a block together, and put no other coins in that block; repeating until all coins are in some block. Then you have a partition of your set of coins. If no two coins have the same last digit, then each block has exactly one coin. Since there are only ten digits, there are at most ten blocks and so by the sum principle there are at most ten coins. In fact, with ten coins it is possible to have no two with the same last digit, but with
If we partition a set with more than
The pigeonhole principle gets its name from the idea of a grid of little boxes that might be used, for example, to sort mail, or as mailboxes for a group of people in an office. The boxes in such grids are sometimes called pigeonholes in analogy with stacks of boxes used to house homing pigeons when homing pigeons were used to carry messages. People will sometimes state the principle in a more colorful way as “if we put more than
Exercise
Show that if we have a function from a set of size
Show that if
There is a generalized pigeonhole principle which says that if we partition a set with more than
Exercise
All the powers of five end in a five, and all the powers of two are even. Show that for some integer
Show that in a set of six people, there is a set of at least three people who all know each other, or a set of at least three people none of whom know each other. (We assume that if person 1 knows person 2, then person 2 knows person 1.) (Hint).
Draw five circles labeled Al, Sue, Don, Pam, and Jo. Find a way to draw red and green lines between people so that every pair of people is joined by a line and there is neither a triangle consisting entirely of red lines or a triangle consisting of green lines. What does Problem 65 tell you about the possibility of doing this with six people’s names? What does this problem say about the conclusion of Problem 65 holding when there are five people in our set rather than six?
1.3.4: Ramsey Numbers
Problems 65 and 66 together show that six is the smallest number
Our geometric description of
Since
Show that among ten people, there are either four mutual acquaintances or three mutual strangers. What does this say about
Show that among an odd number of people there is at least one person who is an acquaintance of an even number of people and therefore also a stranger to an even number of people. (Hint).
Find a way to color the edges of a
Find
As of this writing, relatively few Ramsey Numbers are known.



