版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、整理課件7.5 Inclusion-Exclusion (容斥容斥)Introduction Example 0 (page 499) A discrete mathematics class contains 30 women and 50 sophomores (二年級(jí)學(xué)二年級(jí)學(xué)生生). How many students in the class are either women or sophomore?Solution: This question can not be answered unless more information is provided. need to kno
2、w the number of women sophomores.整理課件2. The Principle of Inclusion-Exclusion (容斥原理容斥原理)Example 1 (page 500) A discrete mathematics class contains 25 students majoring in computer science, 13 students majoring in mathematics, and eight joint mathematics and computer science majors. How many students
3、are in this class, if every student is majoring in mathematics, computer science, or both mathematics and computer science?整理課件Solution: A- the set of students in the class majoring in computer science B- the set of students in the class majoring in mathematics |AB| = |A|+|B|-|AB| = 25 + 13 -8 = 30整
4、理課件(2) Example 2 (Page 501)How many positive integers not exceeding 1000 are divisible by 7 or 11?Solution: A - the set of positive integers not exceeding 1000 that are divisible by 7 B - the set of positive integers not exceeding 1000 that are divisible by 11 Then, AB - the set of integers not exce
5、eding 1000 that are divisible by either 7 or 11 AB - the set of integers not exceeding 1000 that are divisible by both 7 and 11. 整理課件Further, we have: |A| = 1000/7 = 142 |B| = 1000/11 = 90 |AB| = 1000/(711) = 12Therefore, |AB| = |A| + |B| - |AB| = 142 + 90 12 =220 整理課件(3) Example 3 (page 501)Suppose
6、 that there are 1807 freshmen (大大學(xué)一年級(jí)學(xué)生學(xué)一年級(jí)學(xué)生) at your school. Of these, 453 are taking a course in computer science, 567 are taking a course in mathematics, and 299 are taking courses in both computer science and mathematics. How many are not taking a course either in computer science or mathematic
7、s?整理課件Solution: A - the set of all freshmen taking a course in computer science B - the set of all freshmen taking a course in mathematics It follows that |A|=453, |B|=567, and |AB|=299.Therefore, |AB| = |A| + |B| - |AB| = 721Consequently, there are 1807-721=1086 freshmen who are not taking a course
8、 in computer science or mathematics.整理課件(4) Example 4 (page 502)A total of 1232 students have taken a course in Spanish, 879 have taken a course in French, and 114 have taken a course in Russian. Further, 103 have taken courses in both Spanish and French, 23 have taken courses in both Spanish and Ru
9、ssian, and 14 have taken courses in both French and Russian. If 2092 students have taken at least one of Spanish, French, and Russian, how many students have taken a course in all three languages?整理課件Solution:S - the set of students who have taken a course in SpanishF - the set of students who have
10、taken a course in FrenchR - the set of students who have taken a course in RussianFurther, we have: |S|=1232, |F|=879, |R|=114, |SF|=103, |SR|=23, |FR|=14,and |SFR|=2096整理課件Inserting these questions into the equation |SFR| = |S| + |F| + |R| - |SF| - |SR| - |FR| + |SFR|Therefore, we have: |SFR|=7整理課件
11、(5) The Principle of Inclusion-Exclusion (容斥原理容斥原理, page 503) Let A1, A2, , An be finite sets. Then |A1A2An| = 1in |Ai| - 1ijn |AiAj| + 1ijkn |AiAjAk| - . + (-1)n+1|A1A2An| Proof: Please see page 503. 整理課件(6) Example 5 (page 504) Given a formula for the number of elements in the union of four sets.Solutio
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 制作兒童課件教學(xué)課件
- 目送課件底板教學(xué)課件
- 蘑菇屋課件教學(xué)課件
- 卡通游戲課件教學(xué)課件
- 2024年度云計(jì)算平臺(tái)廣告業(yè)務(wù)合同
- 2024年度八寶山殯儀館鮮花制品物流配送服務(wù)合同
- 2024年度委托加工協(xié)議(定制產(chǎn)品)
- 2024年塑料模具生產(chǎn)與交付合同
- 2024年度健康醫(yī)療服務(wù)合同服務(wù)細(xì)節(jié)
- 2024供水供電合同
- 志愿者服務(wù)臺(tái)帳表.doc01
- 股權(quán)贈(zèng)與協(xié)議范本只享有分紅權(quán)
- COPD診治新進(jìn)展ppt課件
- 醫(yī)院沒有空床或醫(yī)療設(shè)施有限時(shí)的處理制度及流程
- 384種礦物與礦石標(biāo)本實(shí)例照片
- 高中數(shù)學(xué)課本中的定理、公式、結(jié)論的證明
- 冬季安全教育主題班會(huì)PPT課件
- 集團(tuán)公司質(zhì)量管理辦法(共19頁(yè))
- C++程序設(shè)計(jì):第8章 數(shù)組
- ??谑邪踩a(chǎn)事故應(yīng)急救援預(yù)案(中安科修編稿)
- 淺談鋼-混凝土疊合板組合梁
評(píng)論
0/150
提交評(píng)論