SETS AND OPERATIONS
SETS AND OPERATIONS
OPERATIONS
Subject : Quantative Reasoning
Submitted to :
Mr. Hassaan Saram
PRESENTED BY :
•EXAMPLE:
A={1,2,3,4} ,
B={ABBOTTAB,HARIPUR,ISLAMABAD}
TYPES OF SETS:
•Example:
• The set of all unicorns.
• The set of all even prime numbers greater than 2.
2. Finite Set:
Example:
• {1, 2, 3, 4, 5}
• The set of all days in a week
3. Infinite Set :
Example:
4. Singleton Set:
Example:
•{7}
•The set of all even prime numbers.
5. Equal Sets :
Two sets are equal if they contain exactly the same elements, regardless
of the order.
Example:
6. Equivalent Sets:
Two sets are equivalent if they have the same number of elements, even if
the elements themselves are different.
Example:
Example:
If discussing numbers, the universal set might be the set of all real numbers.
U = {1,2,3,…….,10}
8. Power Set :
Example:
Set operations are ways to combine or modify sets to create new sets. Here are the most
common ones:
1. Union (∪) :
Definition:
The union of two sets, A and B, is the set of all elements that are in A or in B
or in both.
Symbol: A ∪ B
Example :
Definition:
The intersection of two sets, A and B, is the set of all elements that are in
both A and B.
Symbol: A ∩ B
Example:
Definition:
The difference of two sets, A and B, is the set of all elements that are in A
but not in B.
Symbol: A – B
Example:
Definition:
The complement of a set A (with respect to a universal set U) is the set of all
elements in U that are not in A.
Symbol: A' or Aᶜ
Example:
Definition:
The symmetric difference of sets A and B (A Δ B) is the set of elements that are
in either A or B, but not in both.
Formula: A Δ B = (A - B) ∪ (B - A)
Example:
Basic Structure
Overlapping Regions: The overlapping areas of the circles represent the elements that are common to
both sets (intersection).
Non-overlapping Regions: The areas outside the overlap represent elements unique to each set.
1. Union (∪) :
Definition:
The union of two sets, A and B (denoted as A ∪ B), is the set of all elements that belong to
either A or B, or both.
Venn Diagram: In a Venn diagram, the union is represented by the entire shaded area of
both circles.
Definition:
The intersection of two sets, A and B (denoted as A ∩ B), is the set of all elements that are common to
Venn Diagram:
In a Venn diagram, the intersection is represented by the overlapping region of the two circles.
Venn diagram for intersection of sets A and B
Example:
1 4
3
2 5
A B
Complement (‘) :
Definition:
The complement of a set A (denoted as A') is the set of all elements that are not in A, within a given
universal set.
Venn Diagram: In a Venn diagram, the complement of A is represented by the shaded region outside
of circle A.
Example:
If the universal set U = {1, 2, 3, 4, 5} and A = {1, 2, 3}, then A' = {4, 5}
1
2
3
A
Properties of Sets
Sets, as fundamental mathematical entities, exhibit several key properties that govern
their behavior and interactions:
1. Commutative Property :
2. Associative Property :
3. Distributive Property :
Union: A ∪ ∅ = A (Union with the empty set yields the original set)
Intersection: A ∩ U = A (Intersection with the universal set yields the
original set)
5. Complement Property :
6. De Morgan's Laws
(A ∪ B)' = A' ∩ B’
(A ∩ B)' = A' ∪ B’
7. Idempotent Property
A∪A=A
A∩A=A
(A')' = A
De Morgan's Laws:
De Morgan's Laws are a pair of rules that relate the union and intersection of sets to their
complements
.
1. First Law:
This means that the complement of the union of sets A and B is equal to the intersection of the
complements of A and B.
Example:
Let U = {1, 2, 3, 4, 5}
Let A = {1, 2}
Let B = {2, 3}
A ∪ B = {1, 2, 3}
(A ∪ B)' = {4, 5}
A' = {3, 4, 5}
B' = {1, 4, 5}
A' ∩ B' = {4, 5}
As you can see, (A ∪ B)' = A' ∩ B' holds true in this example.
2. Second Law:
Statement:
(A ∩ B)' = A' ∪ B’
This means that the complement of the intersection of sets A and B is equal to the
union of the complements of 1 A and B.
Example: