SlideShare a Scribd company logo
1 of 55
Sets
CSCE 235, Fall 2010 2
Venn Diagram: Example
• A set can be represented graphically using a
Venn Diagram
U
a
x y
z
A
C
B
Sets
CSCE 235, Fall 2010 3
Set Complement
• Definition: The complement of a set A,
denoted A ($bar$), consists of all elements not
in A.
A= AC = {x | x  A }
U A
A
Sets
CSCE 235, Fall 2010 4
1/26/2024 CS 201 4
Set complement
• The venn diagram
Sets
CSCE 235, Fall 2010 5
Set Operators: Union
• Definition: The union of two sets A and B is
the set that contains all elements in A, B, r
both. AB = { x | (a  A)  (b  B) }
• Case III AB A and B are disjoint set
U
A B
Sets
CSCE 235, Fall 2010 6
1/26/2024 CS 201 6
Set union
• An example
{1, 2, 3}  {1, 2, 4, 5} = {1, 2, 3, 4, 5}
The venn diagram
1
2
3 4
5
Sets
CSCE 235, Fall 2010 7
Set Operators: Intersection
• Definition: The intersection of two sets A and
B is the set that contains all elements that are
element of both A and B. A  B = { x | (a  A)
 (b  B) }
Case III A  B A and B disjoint set
U
A B
Sets
CSCE 235, Fall 2010 8
1/26/2024 CS 201 8
Set intersection
• An example
{1, 2, 3}  {1, 2, 4, 5} = {1, 2}
The venn diagram
1
2
3 4
5
Sets
CSCE 235, Fall 2010 9
Disjoint Sets
• Definition: Two sets are said to be disjoint if
their intersection is the empty set: A  B = 
U
A B
Sets
CSCE 235, Fall 2010 10
Set Difference
• Definition: The difference of two sets A and B,
denoted AB ($setminus$) or A−B, is the set
containing those elements that are in A but
not in B
U
A B
Sets
CSCE 235, Fall 2010 11
• Case I A-B A s B [A-B=0]
• Case II A-B B s A
• Case III A-B A ns B or B ns A
• Case Iv A-B A and B are disjoint set
Sets
CSCE 235, Fall 2010 12
1/26/2024 CS 201 12
Set difference
• An example
{1, 2, 3} - {1, 2, 4, 5} = {3}
The venn diagram
1
2
3 4
5
Sets
CSCE 235, Fall 2010 13
1/26/2024 CS 201 13
Some questions
• Let A  B.
– What is A – B?
– What is B – A?
– If A, B  C, what can you say about A  B and C?
– If C  A, B, what can you say about C and A  B?
•Venn Diagram
Using the numbers 0, 1, 2, … , 9 illustrate
the sets: and
Solution: Use a Venn diagram
Using the numbers 0, 1, 2, … , 9 illustrate
the sets: and
A B
4 is in BOTH sides
4
Using the numbers 0, 1, 2, … , 9 illustrate
the sets: and
A B
7 and 9 are only in set A
4
7
9
Using the numbers 0, 1, 2, … , 9 illustrate
the sets: and
A B
1, 2, 3 and 5 are only in set B
4
7
9
1
2
3
5
Using the numbers 0, 1, 2, … , 9 illustrate
the sets: and
A B
0, 6 and 8 are not in A or B
4
7
9
1
2
3
5
0
6
8
A B
Intersection: Members of both set A and set B
A B
Union: Members of set A or set B or both
Complementary: Members not in the set
A
A’
Universal Set: All members
U
A
B
Subset: All members of set A are in set B
A B
U
A B
U
A B
U
A B
U
A B
U
A B
U
A B
U
A B
U
A B
U
A B
U
A B
U
What is the shaded region?
A B
U
What is the shaded region?
A B
U
What is the shaded region?
A B
U
What is the shaded region?
C
)
C
A
(
B 

A B
U
What is the shaded region?
C
)'
C
B
A
( 

A B
U
What is the shaded region?
C
)
B'
C
(A 

A B
U
1,2 4,5
3
6,7
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
A B
C
U = {Natural Numbers less than 16}
Describe set A and set B
A = {Even Numbers}
B = {Prime Numbers}
A B
4
10
14
6
12
8
2
13
5
7
3
11
1
15
9
U
U
28
20
14
16
26
12
18
24
30
10
25
15
21
27
13
19
11
29
17
Describe Sets U, A, B and C
U = {10,11,12,13,14,........29,30}
A = {Even Numbers}
B = {Multiples of 3}
C = {Multiples of 5}
C
B
A
22
23
• In class of 50 students 18 takes tabla 26
takes band, & 2 take both.
• How many students in class are not
enrolled in both.
Tabla Band
• In school of 320 students 85 students are
in the band, 200 students are in sport
team and 60 students participate in both.
• How many students are involved in either
band or sport.
Sport
Band
A survey an sample a 25 new car being sold out at a local auto dealer
was conducted to see which of 3 popular option AC(A), Radio(R), and
Power window(PW) were already installed.
The survey found 15 had AC, 12 R, 11 PW.
5 had AC and PW, 9 has AC and R, 4 had R and PW.
3 had all 3 option.
Find out of car had.
1. Only one of option
2. At least one option
3. None of option
AC R
PW
• During a survey of Ice Cream perform by students.
• It was found that 22 like Mango, 25 like Apple, 39 like Grapes, 9 like Apple and Mangoes.
• 17 Like Mango and Grapes
• 20 like Apple and Grapes
• 6 like all
• 4 like none.
• How many students were in survey.
• How many students like exactly one flavour.
• How many students like exactly two flavours.
A M
G

More Related Content

Similar to Exploring Venn Diagrams in Discrete Mathematics

Similar to Exploring Venn Diagrams in Discrete Mathematics (20)

Pdm presentation
Pdm presentationPdm presentation
Pdm presentation
 
CXC MATHEMATICS MULTIPLE CHOICE
CXC MATHEMATICS MULTIPLE CHOICECXC MATHEMATICS MULTIPLE CHOICE
CXC MATHEMATICS MULTIPLE CHOICE
 
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
 
Matrices & Determinants
Matrices & DeterminantsMatrices & Determinants
Matrices & Determinants
 
01-chapter-01-sets-and-venn-diagrams.pdf
01-chapter-01-sets-and-venn-diagrams.pdf01-chapter-01-sets-and-venn-diagrams.pdf
01-chapter-01-sets-and-venn-diagrams.pdf
 
Introduction to sets
Introduction to setsIntroduction to sets
Introduction to sets
 
Sets class 11
Sets class 11Sets class 11
Sets class 11
 
20104136 ----set operations
20104136 ----set operations20104136 ----set operations
20104136 ----set operations
 
Set operations
Set operationsSet operations
Set operations
 
mathematical sets.pdf
mathematical sets.pdfmathematical sets.pdf
mathematical sets.pdf
 
Set Theory 2
Set Theory 2Set Theory 2
Set Theory 2
 
Ac1.3fNumberLineDistanceAndNotation
Ac1.3fNumberLineDistanceAndNotationAc1.3fNumberLineDistanceAndNotation
Ac1.3fNumberLineDistanceAndNotation
 
Discrete Structure Lecture #7 & 8.pdf
Discrete Structure Lecture #7 & 8.pdfDiscrete Structure Lecture #7 & 8.pdf
Discrete Structure Lecture #7 & 8.pdf
 
Mathematics – May 2022 Question Paper 2.pdf
Mathematics – May 2022 Question Paper 2.pdfMathematics – May 2022 Question Paper 2.pdf
Mathematics – May 2022 Question Paper 2.pdf
 
1150 day 2
1150 day 21150 day 2
1150 day 2
 
Sets answer
Sets answerSets answer
Sets answer
 
Sets
SetsSets
Sets
 
Pmrmatk1 set2
Pmrmatk1 set2Pmrmatk1 set2
Pmrmatk1 set2
 
Pmrmatk1 set2
Pmrmatk1 set2Pmrmatk1 set2
Pmrmatk1 set2
 
Statics 2.9
Statics 2.9Statics 2.9
Statics 2.9
 

Recently uploaded

Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxMustafa Ahmed
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxMANASINANDKISHORDEOR
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...drjose256
 
Low Altitude Air Defense (LAAD) Gunner’s Handbook
Low Altitude Air Defense (LAAD) Gunner’s HandbookLow Altitude Air Defense (LAAD) Gunner’s Handbook
Low Altitude Air Defense (LAAD) Gunner’s HandbookPeterJack13
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfJNTUA
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...archanaece3
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.MdManikurRahman
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024EMMANUELLEFRANCEHELI
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1T.D. Shashikala
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)NareenAsad
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfJNTUA
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxCHAIRMAN M
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Nitin Sonavane
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2T.D. Shashikala
 
Microkernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemMicrokernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemSampad Kar
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligencemahaffeycheryld
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxKarpagam Institute of Teechnology
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfAshrafRagab14
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AISheetal Jain
 

Recently uploaded (20)

Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
Low Altitude Air Defense (LAAD) Gunner’s Handbook
Low Altitude Air Defense (LAAD) Gunner’s HandbookLow Altitude Air Defense (LAAD) Gunner’s Handbook
Low Altitude Air Defense (LAAD) Gunner’s Handbook
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Microkernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemMicrokernel in Operating System | Operating System
Microkernel in Operating System | Operating System
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdf
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 

Exploring Venn Diagrams in Discrete Mathematics

  • 1.
  • 2. Sets CSCE 235, Fall 2010 2 Venn Diagram: Example • A set can be represented graphically using a Venn Diagram U a x y z A C B
  • 3. Sets CSCE 235, Fall 2010 3 Set Complement • Definition: The complement of a set A, denoted A ($bar$), consists of all elements not in A. A= AC = {x | x  A } U A A
  • 4. Sets CSCE 235, Fall 2010 4 1/26/2024 CS 201 4 Set complement • The venn diagram
  • 5. Sets CSCE 235, Fall 2010 5 Set Operators: Union • Definition: The union of two sets A and B is the set that contains all elements in A, B, r both. AB = { x | (a  A)  (b  B) } • Case III AB A and B are disjoint set U A B
  • 6. Sets CSCE 235, Fall 2010 6 1/26/2024 CS 201 6 Set union • An example {1, 2, 3}  {1, 2, 4, 5} = {1, 2, 3, 4, 5} The venn diagram 1 2 3 4 5
  • 7. Sets CSCE 235, Fall 2010 7 Set Operators: Intersection • Definition: The intersection of two sets A and B is the set that contains all elements that are element of both A and B. A  B = { x | (a  A)  (b  B) } Case III A  B A and B disjoint set U A B
  • 8. Sets CSCE 235, Fall 2010 8 1/26/2024 CS 201 8 Set intersection • An example {1, 2, 3}  {1, 2, 4, 5} = {1, 2} The venn diagram 1 2 3 4 5
  • 9. Sets CSCE 235, Fall 2010 9 Disjoint Sets • Definition: Two sets are said to be disjoint if their intersection is the empty set: A  B =  U A B
  • 10. Sets CSCE 235, Fall 2010 10 Set Difference • Definition: The difference of two sets A and B, denoted AB ($setminus$) or A−B, is the set containing those elements that are in A but not in B U A B
  • 11. Sets CSCE 235, Fall 2010 11 • Case I A-B A s B [A-B=0] • Case II A-B B s A • Case III A-B A ns B or B ns A • Case Iv A-B A and B are disjoint set
  • 12. Sets CSCE 235, Fall 2010 12 1/26/2024 CS 201 12 Set difference • An example {1, 2, 3} - {1, 2, 4, 5} = {3} The venn diagram 1 2 3 4 5
  • 13. Sets CSCE 235, Fall 2010 13 1/26/2024 CS 201 13 Some questions • Let A  B. – What is A – B? – What is B – A? – If A, B  C, what can you say about A  B and C? – If C  A, B, what can you say about C and A  B?
  • 15. Using the numbers 0, 1, 2, … , 9 illustrate the sets: and Solution: Use a Venn diagram
  • 16. Using the numbers 0, 1, 2, … , 9 illustrate the sets: and A B 4 is in BOTH sides 4
  • 17. Using the numbers 0, 1, 2, … , 9 illustrate the sets: and A B 7 and 9 are only in set A 4 7 9
  • 18. Using the numbers 0, 1, 2, … , 9 illustrate the sets: and A B 1, 2, 3 and 5 are only in set B 4 7 9 1 2 3 5
  • 19. Using the numbers 0, 1, 2, … , 9 illustrate the sets: and A B 0, 6 and 8 are not in A or B 4 7 9 1 2 3 5 0 6 8
  • 20. A B Intersection: Members of both set A and set B
  • 21. A B Union: Members of set A or set B or both
  • 22. Complementary: Members not in the set A A’
  • 23. Universal Set: All members U
  • 24. A B Subset: All members of set A are in set B
  • 25. A B U
  • 26. A B U
  • 27. A B U
  • 28. A B U
  • 29. A B U
  • 30. A B U
  • 31. A B U
  • 32. A B U
  • 33. A B U
  • 34. A B U
  • 35. A B U What is the shaded region?
  • 36. A B U What is the shaded region?
  • 37. A B U What is the shaded region?
  • 38. A B U What is the shaded region? C ) C A ( B  
  • 39. A B U What is the shaded region? C )' C B A (  
  • 40. A B U What is the shaded region? C ) B' C (A  
  • 42.
  • 43. A B C A B C A B C A B C A B C
  • 44. A B C A B C A B C A B C A B C
  • 45. A B C A B C A B C A B C A B C
  • 46. A B C A B C A B C A B C A B C
  • 47. A B C A B C A B C A B C
  • 48. A B C A B C A B C A B C
  • 49. U = {Natural Numbers less than 16} Describe set A and set B A = {Even Numbers} B = {Prime Numbers} A B 4 10 14 6 12 8 2 13 5 7 3 11 1 15 9 U
  • 50. U 28 20 14 16 26 12 18 24 30 10 25 15 21 27 13 19 11 29 17 Describe Sets U, A, B and C U = {10,11,12,13,14,........29,30} A = {Even Numbers} B = {Multiples of 3} C = {Multiples of 5} C B A 22 23
  • 51.
  • 52. • In class of 50 students 18 takes tabla 26 takes band, & 2 take both. • How many students in class are not enrolled in both. Tabla Band
  • 53. • In school of 320 students 85 students are in the band, 200 students are in sport team and 60 students participate in both. • How many students are involved in either band or sport. Sport Band
  • 54. A survey an sample a 25 new car being sold out at a local auto dealer was conducted to see which of 3 popular option AC(A), Radio(R), and Power window(PW) were already installed. The survey found 15 had AC, 12 R, 11 PW. 5 had AC and PW, 9 has AC and R, 4 had R and PW. 3 had all 3 option. Find out of car had. 1. Only one of option 2. At least one option 3. None of option AC R PW
  • 55. • During a survey of Ice Cream perform by students. • It was found that 22 like Mango, 25 like Apple, 39 like Grapes, 9 like Apple and Mangoes. • 17 Like Mango and Grapes • 20 like Apple and Grapes • 6 like all • 4 like none. • How many students were in survey. • How many students like exactly one flavour. • How many students like exactly two flavours. A M G