MATH 302 Lecture 20

From Notes
Jump to navigation Jump to search

« previous | Wednesday, November 9, 2011 | next »


Permutations and Combinations

Suppose we wanted to count the number of injective functions from a set A to B where |A|=r and |B|=n

This is identical to P(n,r) in that A and B are labeled.

Binomial Theorem

For n>1,

(x+y)n=∑k=0n(nk)xn−kyk

For example:

(x+y)3=x3+3x2y+3xy2+y3


This introduces the concept of a combinatorial proof:


Combinatorial Proofs

A proof in which something is counted:

Proof of Binomial Theorem.

The semi-expansion of (x+y)n=(x+y)(x+y)…(x+y)⏟n has n factors.

From these n factors, there are (nk) ways to choose a sequence of factors that match xn−kyk for 0≤k≤n


Interesting Side-Effects

(1+1)n=2n=∑k=0n(nk)

The power set has a cardinality of 2n

(1+(−1))n=0=∑k=0n(−1)k(nk)

The number of sets of an odd order is the same ast the number of sets of an even order


Pascal's Identity

The definition of constructing Pascal's triangle: take the two above and add them to make the one below.

(n−1k−1)+(n−1k)=(nk)


This is the way you count the number of subsets of order k out of a set of size n:

  1. number of sets which have a certain element x: (n−1k−1)
  2. number of sets which do not have a certain element x: (n−1k)


Corollary: Vander Monde's Identity

The number of subsets of order r from a set of size m+n is (m+nr):

(m+nk)=∑k=0r(nk)(mr−k)