Unit 3-Lecture 5: The Pigeonhole Principle and Inclusion-Exclusion

    xiaoxiao2021-03-25  61

    1 The Pigeonhole Principle

    Pigeonhole Principle: If there are more pigeons than holes they occupy, then at least two pigeons must be in the same hole. Generalized Pigeonhole Principle: If |a|>k|b| , then every total function fAB maps at least k+1 different elements of A to the same element of B.

    2 Inclusion-Exclusion

    Union of n Sets:

    |S1S2...Sn|=ϕI1...n(1)|I|+1|iISi|


    Reference

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

    转载请注明原文地址: https://ju.6miu.com/read-18390.html

    最新回复(0)