Unit 3-Lecture3: Counting with Bijections

来源:互联网 发布:winscp是什么软件 编辑:程序博客网 时间:2024/05/17 09:03

1 Counting One Thing by Counting Another

The Bijection Rule: if you figure out the size of one set, then you can immediately determine the sizes of many other sets via bijections.

2 Counting Sequences

Product Rule:
If P1,P2,P3...Pnare finite sets, then:

|P1×P2×P3...×Pn|=|P1||P2|...|Pn|

Sum Rule:
If S1,S2,S3...Snare disjoint sets, then:
|S1S2S3...Sn|=|S1|+|S2|+...|Sn|


Reference

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

0 0
原创粉丝点击