Professional Documents
Culture Documents
Cavite State University Silang Campus: Cosc 50 Discrete Structure - Bscs/Bsit P. Magno-First Semester Ay2020-2021
Cavite State University Silang Campus: Cosc 50 Discrete Structure - Bscs/Bsit P. Magno-First Semester Ay2020-2021
Module 4- Week 5
Set Operations and Venn Diagram
Overview
This module discusses the underlying reasons for the importance of set operations and
venn diagram and computation of cardinality
The module includes exercises that will allow you to reflect on previous understandings
of set operations and venn diagram and construct an informed appreciation of its
significance in the field information technology and computer science.
Objectives
After working on this module, you will be able to:
Discuss the intersection, union and difference
-
Set Operations and Venn Diagram
Sets are treated as mathematical objects. Similarly, to numbers, we can perform
certain mathematical operations on sets. Below we consider the principal operations
involving the intersection, union, difference, and the complement of sets.
INTERSECTION OF SETS
The intersection of two sets A and B is the set of elements which are in both
sets A and B. The intersection of the two sets is written as A∩B.
Figure 1.
Examples:
Figure 2.
Examples:
Summary
∪ is Union: is in either set or both sets
∩ is Intersection: only in both sets
- is Difference: in one set but not the other
Activity 5
Answer the following questions showing your complete and comprehensive solution:
Given A={2,3,4,5,6,7} and B={0,1,5,6}. List the elements of the following sets:
1. 1. A∪B=
2. 2. A∩B
3. 3. A∖B
4. 4. B∖A
Supplementary Materials
Worksheet: Set operations and venn diagram