下载此文档

ChCounting离散数学英文实用PPT课件.pptx


文档分类:高等教育 | 页数:约33页 举报非法文档有奖
1/33
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/33 下载此文档
文档列表 文档介绍
The Pigeonhole Principle
1
Pigeonhole Principle: Let k and n be positive integers (n > k), and we divide n balls among k boxes, then at least one box contains 2 balls
13 Pigeons, 12 Boxes
第1页/共33页
Generalized Pigeonhole Principle
Theorem: If we have n > k balls, k and n are positive integers, and we divide them among k boxes, then at least one box contains n/k balls
Assume 10 boxes (k = 10). Number of balls n = 11 ~ 20, at least a box has 2 balls Number of balls n = 21 ~ 30, at least a box has 3 balls Number of balls n = 31 ~ 40, at least a box has 4 balls …
Example: In a group of 1,000 people there are at least 3 people who have their birthday on the same day. Why?
This is because 1000/365 = 3
2
第2页/共33页
Generalized Pigeonhole Principle
Proof of the Generalized Pigeonhole Theorem:
By contradiction: Assume none of the k boxes contains n/k balls. Then, each box contains at most n/k – 1 balls. So, n  k(n/k – 1). We know n/k < n/k +1 (from the property: x < x + 1). So, n  k(n/k – 1) < k(n/k + 1 – 1) = n. Or, n < n. Contradiction!
3
第3页/共33页
Pigeonhole Principle Example
We have 5 possible grades: A, B, C, D, and F. How many students do we need to have to be sure at least 6 students get the same grade?
Boxes = grades = 5. Balls = students = n. Try to fill the boxes evenly: If we have 25 students, then we can evenly have 5 A’s, 5 B’s etc. So if we have 26 students, we need add a student to a grade which then has 6 students
Formally, n/5  6. So, n  26
4
第4页/共33页
Pigeonhole Principle Example
For every positive integer n, there is an integer m that is a multiple of n, and m consists of only the decimal digits of 0’s and 1’s
To show this, we construct m from n + 1 numbers: 1, 11, 111, 1111, …, 11…11 (n+1 1’s)
Divide each by n and find the two numbers (a and b) that are congruent (mod n) (same remainders) by Pigeonhole Principle (how?)
Then n | a – b ( assume a > b). Definition of congruence.
Let m = a – b. m is a multi

ChCounting离散数学英文实用PPT课件 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数33
  • 收藏数0 收藏
  • 顶次数0
  • 上传人wz_198613
  • 文件大小657 KB
  • 时间2021-06-29
最近更新