这是台湾清华赵启超教授离散数学10A10B课程的笔记。
Enumeration 10A
Multinomail Theorem
Example 1
How many wats can we permute the word "MISSISSIPPI"?
There are 4 I's, 4 S's, 2 P's, 1M.
number of ways=4!4!2!1!11!
The number of distinguishable arrangements of n objects, in which there are n objects of type1, n2 objects of types 2,...,nk objects of type k.
where n1+n2…nk=n
(nn1,n2,…,nk)=n1!n2!…nk!n!
Theorem: (x1+x2+…+xk)n=∑n1+n2+…+nk=n(nn1,n2,…,nk)x1n1x2n2…xknk
Unordered Selections with Repetition
The number of unordered selections, repetition allowed,
of m things from a set of size n is (n+m−1m)
Enumeration 10A
Principle of Inclusion and Exclusion
Two sets' Principle of Inclusion and Exclusion ∣A∪B∣=∣A∣+∣B∣−∣A∩B∣
Three sets' Principle of Inclusion and Exclusion ∣A∪B∪C∣=∣A∣+∣B∣+∣C∣−∣A∩B∣−∣B∩C∣−∣A∩C∣+∣A∩B∩C∣
∣A∪B∪C∣=α1−α2,α3
where α1=∣A∣+∣B∣+∣C∣,α2=∣A∩B∣−∣B∩C∣−∣A∩C∣,α3=∣A∩B∩C∣
Theorem: If A1,A2,…,An are finite sets,
then
∣A1∪A2∪…∪An∣=α1−α2+α3−…+(−1)n−1αn
where αi is the sum of the cardinaltities of the intersections of the sets taken i at a time, 1≤i≤n