Download presentation

Presentation is loading. Please wait.

Published byJoy joyce Hayslip Modified over 2 years ago

1
7.5 Inclusion/Exclusion

2
Definition and Example- 2 sets |A B| =|A| + |B| - |A ∩ B| Ex1: |A|=9, |B|=11, |A∩B|=5, |A B| = ?

3
3 sets |A B C |= ? A CB

4
Proof for 3 sets |A1 A2 A3| =∑|Ai| - ∑|Ai ∩ Aj| + |A1∩ A2 ∩ A3| =∑|Ai| =∑|Ai| - ∑|Ai ∩ Aj| A1 A3A2 A1 A3A2

5
=∑|Ai| - ∑|Ai ∩ Aj| + |A1∩ A2 ∩ A3| A1 A3A2

6
3 sets |A1 A2 A3| =∑|Ai| - ∑|Ai ∩ Aj| + |A1∩ A2 ∩ A3| Ex. 2: |A|=13, |B|=12, |C|=14, |A∩B|=7, |A∩C|=8, |B∩C|=9, |A∩B∩C|=5, |A B C|=?

7
|A1 A2 A3 A4| =∑|Ai| - ∑|Ai ∩ Aj| + ∑ |Ai∩ Aj ∩ Ak| - |A1∩ A2 ∩ A3∩ A4|

8
In General: Theorem: |A1 A2 … An| =∑|Ai| - ∑|Ai ∩ Aj| + …+(-1) n+1 |A1∩ A2 ∩…∩ An| Proof: …

9
Proof Proof idea: Show that the right hand side counts each element in the union exactly once. Suppose that a is a member of exactly r of the sets A1, A2, A3,… An where 1 ≤r ≤n. This element is counted ____ times by ∑|Ai|, ____ times by ∑|Ai ∩ Aj|,… Thus it is counted C(r,1)-C(r,2)+…+(-1) r+1 C(r,r) times by the right side of the equation. By Cor. 2 of Sec. 5.4, C(r,0)-C(r,1)+C(r,2)+…+(-1) r C(r,r)=0 Since C(r,0)=1, Hence, 1=___________________ So each element is counted once on both the right and the left.

10
Applications- 2 sets Ex : Find the number of positive integers not exceeding 100 that are divisible by 5 or 7. Div by 5Div by 7

11
Ex Find the number of positive integers not exceeding 100 that are NOT divisible by 5 or 7.

12
Applications- 3 sets Female sophomore Math major

13
Applications- 3 sets Ex: A survey of 63 students reports that 20 are involved in sports, 23 are involved in social clubs, 29 are involved in academic clubs, 7 are in sports and social clubs, 6 are in social and academic clubs, 8 are in sports and academic clubs, and 5 are in all three. Use a Venn diagram to answer some questions

14
Venn diagram Sports socialacademic

15
questions How many were in none of these activities? How many were in sports or social? How many were in sports or social, but not academic? How many were in social and academic, but not sports? How many were in just one activity? How many were in at least 2 activities?

16
Assume that |A1|=100, |A2|=1000, and |A3|=10,000 Calculate |A1 A2 A3| if: a) A1 A2 and A2 A4 b) The sets are pairwise disjoint c) There are 2 elements common to each pair of sets and 1 element in all 3 sets

Similar presentations

OK

1 Set Theory Second Part. 2 Disjoint Set let A and B be a set. the two sets are called disjoint if their intersection is an empty set. Intersection of.

1 Set Theory Second Part. 2 Disjoint Set let A and B be a set. the two sets are called disjoint if their intersection is an empty set. Intersection of.

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on collections framework in java Ppt on call center management system Ppt on total parenteral nutrition procedure Ppt on new year resolutions Simple ppt on the circulatory system Download ppt on oxidation and reduction in cellular Ppt on waxes biology Ppt on power grid Ppt on financial services in india Ppt on diversity in living organisms