版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝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ù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025-2030年中國(guó)光學(xué)儀器行業(yè)商業(yè)模式創(chuàng)新戰(zhàn)略制定與實(shí)施研究報(bào)告
- 2025-2030年中國(guó)幼小銜接教育行業(yè)商業(yè)模式創(chuàng)新戰(zhàn)略制定與實(shí)施研究報(bào)告
- 2025-2030年中國(guó)旅游行業(yè)并購(gòu)重組擴(kuò)張戰(zhàn)略制定與實(shí)施研究報(bào)告
- 2025-2030年中國(guó)休閑餐飲行業(yè)全國(guó)市場(chǎng)開(kāi)拓戰(zhàn)略制定與實(shí)施研究報(bào)告
- 2025-2030年中國(guó)知識(shí)密集型服務(wù)行業(yè)營(yíng)銷創(chuàng)新戰(zhàn)略制定與實(shí)施研究報(bào)告
- 2025-2030年中國(guó)鉭電容器行業(yè)全國(guó)市場(chǎng)開(kāi)拓戰(zhàn)略制定與實(shí)施研究報(bào)告
- 新形勢(shì)下智能門鎖行業(yè)轉(zhuǎn)型升級(jí)戰(zhàn)略制定與實(shí)施研究報(bào)告
- 德州黑陶品牌推廣調(diào)研
- 單位辦公室2025年工作要點(diǎn)
- 護(hù)肝藥品知識(shí)培訓(xùn)課件
- 梁平法制圖規(guī)則及鋼筋翻樣講解
- 乙肝 丙肝培訓(xùn)課件
- 2024屆湖北省武漢實(shí)驗(yàn)外國(guó)語(yǔ)學(xué)校數(shù)學(xué)七上期末統(tǒng)考模擬試題含解析
- 基于深度學(xué)習(xí)的網(wǎng)絡(luò)釣魚(yú)郵件識(shí)別技術(shù)研究
- 融資成本視角下的船舶融資租賃模式研究
- 感冒中醫(yī)理論知識(shí)課件
- 2023年希望杯數(shù)學(xué)培訓(xùn)100題-六年級(jí)(含答案)
- 一年級(jí)科學(xué)人教版總結(jié)回顧2
- 個(gè)人住房貸款提前還款月供及節(jié)省利息EXCEL計(jì)算
- 第五單元《圓》教材解析-人教版數(shù)學(xué)六年級(jí)上冊(cè)
- 患者突發(fā)昏迷應(yīng)急預(yù)案演練腳本-
評(píng)論
0/150
提交評(píng)論