MATH 302 Lecture 22

From Notes
Jump to navigation Jump to search

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


Multinomial coefficients

Answers the question: How many ways are there to put n labeled objects into k labeled containers?

There are a1 objects in container 1. Thre are a2 objects in container 2. (etc, etc.)

This is such that iai=n.

n!a1!a2!a3!ak!

Example

How many ways are there to deal 5 cards to 4 players (from a deck of 52 cards)?

Each of the 4 players acts like a container that will receive 5 objects (cards). There is another "container": the remaining cards in the deck, which will have 32 cards:

52!5!5!5!5!32!


Partititons

Answers the questions: How many ways are there to break n into k parts?

No formula to do this, but here's an example:

How many ways are there to put 6 identical balls into 4 identical boxes (unlabeled → unlabeled)

6      
5 1    
4 2    
4 1 1  
3 3    
3 2 1  
3 1 1 1
2 2 2  
2 2 1 1

Notice that in all cases, it is the same as writing the sum of 4 integers that equal 6 in decreasing order.


Cases for Objects to Boxes

Distributing n objects into k boxes

labeled (n) → labeled (k)
multinomial coefficients: n!n1!n2!nk!
labeled (n) → unlabeled (k)
Stirling numbers: j=0kS(n,j)=j=1k1j!i=0j1(1)i(ji)(ji)n
unlabeled (n) → labeled (k)
r-Combination with repetition C(n+k1,k)
unlabeled (n) → unlabeled (k)
partitions

Matrices

Zero-One matrices (each cell is either 0 or 1)

A=(101010001)

B=(101100111)

Join Method

Perform logical OR with each corresponding cell.

AB=(101110111)

Meet Method

Perform logical AND with each corresponding cell.

AB=(101000001)