版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領
文檔簡介
1、2006級2008. 11. 9鴿巢原理與容斥原理1Contents鴿巢原理:簡單形式鴿巢原理:加強形式容斥原理2Pigeonhole PrincipleIf 7 pigeons are to live in 6 boxes (holes), then there is at least one box containing two or more pigeons.3Dirichlet (狄里克雷)“鴿巢原理”,最先是由19世紀的德國數(shù)學家狄里克雷應用于解決問題,后人們?yōu)榱思o念他從這么平凡的事情中發(fā)現(xiàn)的規(guī)律,就把這個規(guī)律用他的名字命名,叫“狄里克雷原理”,又把它叫做“抽屜原理”。4Pigeon
2、hole Principle If we put n+1 balls into n boxes, then at least one box must contain two or more balls. 將n+1個球放入n個盒子內(nèi), 最小有一個盒子藏有2個或以上的球。5ProofWe want to prove that at least one box must contain two or more balls.反證法Assume that the statement above is wrong then all the n boxes contains 1 or 0 ball. Th
3、erefore the total number of balls is less than or equal to n. This is a contradiction (矛盾). The contradiction is due to our assumption that the statement is wrong.We conclude that the statement must be true.6Examples For any 368 people, at least two of them must have the same birthday.There are at l
4、east two people in the world having same number of hair. At least two of you in this class (assuming the class size 12) born in the same month. 7Exercise There are 10 married couples. How many of the 20 people must be selected in order to guarantee that one has selected a married couple ?Answer: 118
5、Pigeonhole Principle : Strong Form (鴿巢原理加強形式)If we put (k*n+1) balls in n boxes, then at least one box must contain k+1 or more balls.將 (k*n+1) 個球放入n個盒子內(nèi), 最小有一個盒子藏有k+1個或以上的球。9ProofWe want to prove that at least one box must contain k+1 or more balls.Assume that the statement above is wrong then all
6、the n boxes contains k or less balls. Therefore the total number of balls is less than or equal to n*k. This is a contradiction (矛盾). The contradiction is due to the assumption that the statement is wrong.We conclude that the statement must be true.10Exercise There are 90 people in a hall. Some of t
7、hem know each other, some are not. Prove that there are at least two persons in the hall who know the same number of people in the hall.What should be the holes and pigeons? How many holes are there?11Solution If there is a person in the hall who does not know any other people, then each of the othe
8、r persons in the hall may know either 0, or 1, or 2, or 3, . , or 88 people. Therefore we have 89 holes numbered 0, 1, 2, 3, . , 88, and have to distribute among 90 people.Next, assume that every person in the hall know at least one other person. Again, we have 89 holes 1, 2, 3, . , 89 and 90 people
9、.In either case, we can apply the Pigeonhole Principle to get the conclusion.12Pigeonhole Principle : Strong Form (鴿巢原理加強形式)令q1, q2, , qn為正整數(shù)。 如果將 q1 + q2 + qn n + 1個物體放入n個盒子內(nèi),那么, 或者第一個盒子至少含有q1個物體,或者第二個盒子至少含有q2個物體,, 或者第n個盒子至少含有qn個物體。13Pigeonhole Principle : Strong Form (鴿巢原理加強形式)證明:(反證法)設將q1 + q2 + qn n + 1個物體分到n個盒子中。 如果對于每個i=1, 2, , n, 第i個盒子含有少于qi個物體, 那么所有盒子中的物體總數(shù)不超過(q1-1) + (q2-1) + (qn-1) = q1 + q2 + qn n該數(shù)比所分發(fā)的物體總數(shù)少1, 因此我們斷言, 對于某一個i=1, 2, , n, 第i個盒子至少包含 qi個物體。14Pigeonhole Principle : Strong Form (鴿巢原理加強形式)將m個物體放入n個盒子內(nèi)
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025版產(chǎn)業(yè)升級募集資金三方監(jiān)管與支持合同4篇
- 2025年企業(yè)數(shù)字化智能物聯(lián)網(wǎng)物聯(lián)網(wǎng)連接合作協(xié)議
- 2025年家族財富傳承繼承管理規(guī)劃遺產(chǎn)協(xié)議
- 2025版委托擔保合同范本:互聯(lián)網(wǎng)金融平臺風險控制協(xié)議3篇
- 《地球上生命的起源課件》
- 二零二五年度生態(tài)旅游區(qū)開發(fā)合同書4篇
- 二零二五年度退休返聘人員合同終止告知書
- 二零二五年度大學生就業(yè)實習實訓基地合作框架協(xié)議范本
- 2025年度醫(yī)療健康管理系統(tǒng)軟件購銷合同模板
- 2025年度汽車零部件車輛質(zhì)押租賃協(xié)議
- 2025年度公務車輛私人使用管理與責任協(xié)議書3篇
- 售后工程師述職報告
- 綠化養(yǎng)護難點要點分析及技術(shù)措施
- 2024年河北省高考歷史試卷(含答案解析)
- 車位款抵扣工程款合同
- 小學六年級數(shù)學奧數(shù)題100題附答案(完整版)
- 高中綜評項目活動設計范文
- 英漢互譯單詞練習打印紙
- 2023湖北武漢華中科技大學招聘實驗技術(shù)人員24人筆試參考題庫(共500題)答案詳解版
- 一氯二氟甲烷安全技術(shù)說明書MSDS
- 物流簽收回執(zhí)單
評論
0/150
提交評論