MATH 302 Lecture 21

From Notes
Jump to navigation Jump to search

« previous | Monday, November 14, 2011 | next »


Combinatorial Proofs

Show that (n+1r+1)=j=rn(jr)

Let's try to count something: a binary string of length n+1 with r+1 ones

Assume that the position of the last 1 is at position j+1, where j=r,,n. The previous r ones will be in the previous j positions, so (jr).

Example 2

k(nk)=n(n1k1)

The left-hand side represents

  1. choosing a subset of size k out of a set containing n elements
  2. choosing a special element from that subset

The right-hand side represents

  1. choosing an element from a set of size n to be in a subset
  2. choosing the remaining subset members from the remaining elements


More Combinatorics

r-Permutations

ways to arrange r elements from a set of size n

  • no repetition
  • order matters.
P(n,r)=n!(nr)!

r-Combinations

ways to choose r elements from a set of size n

  • no repetition
  • order does not matter
C(n,r)=n!r!(nr)!

r-Permutations with Repetition

ways to arrange r elements from a set of size n

  • repeated choices allowed
  • order matters
nr

r-Combinations with Repetition

ways to choose r elements from a set of size n

  • repeated choices allowed
  • order does not matter
C(n1+r,r)

Multinomial Coefficients

ways to rearrange letters of "MISSISSIPPI"

  • 11! possible ways
  • 4 indistinguishable I's that can be arranged 4! ways
  • 4 S's
  • 2 P's
  • 1 M

(114,4,2,1)=11!4!4!2!(1!)

Examples

  1. Number of ways to select 6 bagels from 8 different types of bagels (r-Comb w/ rep: C(8+61,6))
  2. Number of ways to select a dozen bagels with at least one of each kind (r-Comb w/ rep for rem. bagels after 8 have been picked: C(8+41,4))