#Unit 3-Lecture 4:Repetitions & Binomial Theorem

来源:互联网 发布:直播软件apk 编辑:程序博客网 时间:2024/05/21 15:43

1 The Division Rule

A k-to-1 function maps exactly k elements of the domain to every element of the codomain.
Rule:

If  f:AB  is  ktol, then  |A|=k|B|

2 Counting Subset

Subset Rule:
The number of k-element subsets of an n-element set is:

(nk)=n!k!(nk)!

3 Sequences with Repetitions

Definition
For n,k1,...,kmN, such that k1+k2+...+km=n, define the mutinomial coefficient

(nk1,k2,...,km)::=n!k1!k2!...km!

Subset Split Rule:
The number of (k1,k2,...,km) -splits of an n-elements set is:
(nk1,k2,...,km)

Bookkeeper Rule:
Let l1,...,lm be distinct elements. The number of sequences with k1 occurences of l1, and k2 occurence of l2… and km occurence of lm is:
(k1+k2+...+kmk1,k2,...,km)

The Binomial Theorem:
For all nN and a,bR
(a+b)n=k=0n(nk)ankbk

The multinomial Theorem:
For all nN:
(z1+z2+...+zm)n=k1+k2+...+km=n(nk1,k2,...,km)zk11zk22...zkmm


Reference

[1] Lehman E, Leighton F H, Meyer A R. Mathematics for Computer Science[J]. 2015.

0 0