Docsity

Binomial Coefficients: Pascal's Identity, Vandermonde's Identity, and the Binomial Theorem, Exams of Discrete Structures and Graph Theory

Toggle sidebar
bg1
Binomial coefficients
Margaret M. Fleck
29 October 2008
This lecture covers the rest of section 5.4 of Rosen, plus some material
from section 5.5.
1 Announcements
Exam a week from Wednesday (Nov 5th) in class. Tell Margaret ASAP if
you have a conflict. Exam skills list should be posted sometime today. We
expect to return the quizzes in class Friday.
2 Another combinatorial proof
At the end of last class, we saw the following identity:
Claim 1 (Pascal’s identity) n+ 1
k=n
k−1+n
k
There are (at least) two ways to prove this. We can prove it directly from
the factorial equations:
1
pf3
pf4
pf5

Partial preview of the text

Download Binomial Coefficients: Pascal's Identity, Vandermonde's Identity, and the Binomial Theorem and more Exams Discrete Structures and Graph Theory in PDF only on Docsity!

Binomial coefficients

Margaret M. Fleck

29 October 2008

This lecture covers the rest of section 5.4 of Rosen, plus some material from section 5.5.

1 Announcements

Exam a week from Wednesday (Nov 5th) in class. Tell Margaret ASAP if you have a conflict. Exam skills list should be posted sometime today. We expect to return the quizzes in class Friday.

2 Another combinatorial proof

At the end of last class, we saw the following identity:

Claim 1 (Pascal’s identity)

n + 1 k

n k − 1

n k

There are (at least) two ways to prove this. We can prove it directly from the factorial equations:

Proof: ( n k − 1

n k

n! (k − 1)!(n − (k − 1))!

n! k!(n − k)!

=

n! (k − 1)!((n + 1) − k)!

n! k!(n − k)!

=

kn! k!((n + 1) − k)!

(n + 1 − k)n! k!((n + 1) − k)!

=

kn! + (n + 1 − k)n! k!((n + 1) − k)!

=

(n + 1)n! k!((n + 1) − k)!

=

(n + 1)! k!((n + 1) − k)!

=

n + 1 k

Alternatively, we can use a combinatorial proof:

Proof: Suppose that S is a set with n + 1 elements.

n + 1 k

is the number of k-element subsets of S. Pick some element a ∈ S. We can divide the k-element subsets of S into two groups: those that contain a and those that don’t. The k-element subsets of S that don’t contain a are the same as the k-element subsets of S − {a}, i.e. the k-element subsets of a set with n elements. This is

n k

The k-element subsets of S that do contain a can be formed by adding( a onto each k − 1-element subsets of S − {a}. There are n k − 1

of these.

So there are

n k − 1

n k

k-element subsets of S. That is ( n + 1 k

n k − 1

n k

Claim 3 (Binomial Theorem) Let x and y be variables and let n be any natural number. Then

(x + y)n^ =

∑^ n

k=

n k

xn−kyk

Because of this application, the values

n k

are sometimes called bi-

nomial coefficients.

Proof: If we were to expand the product (x+y)n, each term is the product of n variables, some x’s and the rest y’s. For example, if n = 6, one term is yxyyxx. So each term is an ordered list of x’s and y’s. When we collect up terms, we group together the lists that have the same number of x’s. To find the coefficient for xn−kyk, we need to count how many ways we can make a list of n elements that contains k y’s and n − k x’s. This amounts to picking a subset of k elements from a set of n positions in the list. In other words, there are

n k

such terms.

5 Corollaries of the Binomial Theorem

Suppose that we set x = 1 in the Binomial Theorem. Then we have

(1 + y)n^ =

∑^ n

k=

n k

1 n−kyk^ =

∑^ n

k=

n k

yk

So we have the following corollary.

Claim 4 For any variable y and any natural number n, (1+y)n^ =

∑n k=

n k

yk

A corollary is a result that is very easy to prove, once you’ve proved some theorem (which often had a hard proof).

We could also state this as:

Claim 5 For any variable y and any natural number n,

∑n k=

n k

yk^ =

(1 + y)n.

If we plug some specific values of y into this formula, we get some nice results about sums of binomial coefficients. For example, if y = 1, then we

have

∑n k=

n k

= 2n

One way to understand this equation is that we are counting all subsets of a set S that contains n elements. 2n^ is the total number of subsets. The summation on the left considers each possible size of subset (k). For each size k, it computes the number of subsets of size k.

If y = −1, then we have ∑n k=

n k

(−1)k^ = 0.

If y = 2, then we have ∑n k=

n k

2 k^ = 3n.

We don’t expect that you’ll remember all these random identities in- volving binomial coefficients. Rather, we’re hoping that you remember the important named ones, and that you could figure out how to rederive the others (given some time to fiddle around).

6 Permutations with identical objects

Life gets more interesting when our problem involves multiple copies of the same (or indistinguishable) objects. I’m not going to walk through all the possibilities here, because they get ugly fast. I’ll just show a couple cases where the analysis is still fairly nice.

First, suppose I have a list of objects such as L = (c, o, l, l, e, g, e) that contains some duplicates. How many ways can I put the elements of L into different orders?

If we ignored the fact that some objects are duplicates, we would calculate

In general, suppose we are picking a group of k objects (with possible duplicates) from a list of n types. Then our picture will contain k stars and n − 1 #’s. So we have k + n − 1 positions in the picture and need to choose n( − 1 positions to contain the #’s. So the number of possible pictures is k + n − 1 n − 1

Notice that this is equal to

k + n − 1 k

because we have an identity

that says so (see last lecture). We could have done our counting by picking a subset of k positions in the diagram that we would fill with stars (and then the rest of the positions will get the #’s).

If wanted to pick 20 plants and there were five types available, I would

have

options for how to make my selection.

24 · 23 · 22 · 21 4 · 3 · 3 = 23^ ·^22 ·^ 21.