Set Theory COSC50
Set Theory COSC50
Information Technology
INTRODUCTION
TO
SET THEORY
LEARNING OUTCOMES:
At the end of the lesson, the student should be able to:
1. Understand what Set Theory is,
2. Describe sets, elements, subsets, and distinguish between
different types of sets (e.g. finite, infinite, empty, universal),
3. Demonstrate understanding of the fundamental set
operations, and
4. Use Venn diagrams to visually represent and solve problems
involving set operations and relationships.
Department of Industrial and
Information Technology
SET THEORY
What is Set Theory?
Set Theory is a branch of mathematics that studies sets.
What is Set?
A set may be viewed as any well-defined collection of objects, called
elements or members of the set.
• One usually uses Capital letters, A, B, X, Y, …, to denote sets.
• Lower case letters a, b, x, y, …, to denote elements of sets.
• Synonyms of sets are “class”, “collection”, and “family”.
• Sets can contain number, letters, and special symbols.
Department of Industrial and
Information Technology
EXAMPLE OF SETS
• Number Set
A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
• Letter Set
B = {a, b, c, d, e, f , g, h, i, j}
• Word Set
E = {apple, mango, orange, grapes, watermelon}
MEMBERSHIP IN A SET
TYPES OF SET
Department of Industrial and
Information Technology
SUBSET
A subset is a set where every element in it is also an element of another set. If set A is
a subset of set B, it means that all elements of A are contained within B.
For Example:
A={1,2} B={1,2,3,4}
In this case, A is a subset of B (written as A ⊆ B) because all elements of A (1 and 2) are also in B.
EXAMPLES | SUBSET
Consider the Sets:
UNIVERSAL SET
Universal Set – is the set that contains all the elements
under consideration for a particular discussion or problem.
It is often denoted by 𝑈.
For Example: Set of all natural number less than or equal to 10.
𝑈 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }
Department of Industrial and
Information Technology
For Example:
A={}
Department of Industrial and
Information Technology
DISJOINT SET
Disjoint – A pair of sets which does not have any common
elements.
For Example:
• Set A and B are said to be disjoint because they don’t have any common
elements. A ∩ B=∅
• Set B and C are not disjoint since they have common elements, which is {5,
6}.
Department of Industrial and
Information Technology
CARDINALITY OF A SET
The Cardinality of a set is its size. For a finite set, the
cardinality of a set is the number of members it contains.
For Example:
A = {1, 3, 5, 7, 9}
|A| which means “Cardinality of Set A”
|A| = 5
Department of Industrial and
Information Technology
SET
OPERATIONS
Department of Industrial and
Information Technology
For Example:
a. S ∪ T = {1, 2, 3, 4, 5, 1, 3, 5} or S ∪ T = {1, 2, 3, 4, 5}
b. T ∪ U = {1, 2, 3, 4, 5}
c. S ∪ U = {1, 2, 3, 4, 5}
Department of Industrial and
Information Technology
For Example:
a. S ∩ T = {1, 3, 4, 5}
b. T ∩ U = {3, 4, 5}
c. S ∩ U = {2, 3, 4, 5}
Department of Industrial and
Information Technology
For Example:
Let’s say we have two sets:
𝐶= {𝑎,𝑏,𝑐,𝑑}
𝐷= {𝑏,𝑐,𝑒,𝑓}
Now, the difference C−D is:
𝐶−𝐷 = {𝑎,𝑑}
The difference between C and D are {a, d}
Department of Industrial and
Information Technology
For Example:
Let the universal set 𝑈 be:
𝑈 = {1,2,3,4,5,6,7,8,9,10}
And let 𝐴 = {2,4,6,8}
𝐴′ = {1,3,5,7,9,10}
Department of Industrial and
Information Technology
THANK YOU