Logic and Set Theory Module 2
Logic and Set Theory Module 2
OBJECTIVE
• Define and perform the operations on sets
Sets, in mathematics, are an organized collection of objects and can be represented in set-builder form or roster
form. Usually, sets are represented in curly braces {}, for example, A = {1,2,3,4} is a set. Also, check the set symbols here.
In sets theory, you will learn about sets and it’s properties. It was developed to describe the collection of objects.
You have already learned about the classification of sets here. The set theory defines the different types of sets, symbols
and operations performed.
DEFINITION OF SETS
Sets are represented as a collection of well-defined objects or elements and it does not change from person to
person. A set is represented by a capital letter. The number of elements in the finite set is known as the cardinal number of
a set.
ORDER OF SETS
The order of a set defines the number of elements a set is having. It describes the size of a set. The order of set is
also known as the cardinality.
The size of set whether it is is a finite set or an infinite set said to be set of finite order or infinite order,
respectively.
Representation of Sets
The sets are represented in curly braces, {}. For example, {2,3,4} or {a,b,c} or {Bat, Ball, Wickets}. The
elements in the sets are depicted in either the Statement form, Roster Form or Set Builder Form.
Statement Form
In statement form, the well-defined descriptions of a member of a set are written and enclosed in the curly
brackets. For example, the set of even numbers less than 15.
In statement form, it can be written as {even numbers less than 15}.
Roster Form
In Roster form, all the elements of a set are listed. For example, the set of natural numbers less than 5.
Natural Number = 1, 2, 3, 4, 5, 6, 7, 8,……….
Natural Number less than 5 = 1, 2, 3, 4
Therefore, the set is N = { 1, 2, 3, 4 }
TYPES OF SETS
We have several types of sets in Maths. They are empty set, finite and infinite sets, proper set, equal sets, etc. Let
us go through the classification of sets here.
• EMPTY SET
A set which does not contain any element is called an empty set or void set or null set. It is denoted by { } or Ø.
A set of apples in the basket of grapes is an example of an empty set because in a grapes basket there are no
apples present.
• SINGLETON SET
A set which contains a single element is called a singleton set.
Example: There is only one apple in a basket of grapes.
• FINITE SET
A set which consists of a definite number of elements is called a finite set.
Example: A set of natural numbers up to 10.
A = {1,2,3,4,5,6,7,8,9,10}
• INFINITE SET
A set which is not finite is called an infinite set.
Example: A set of all natural numbers.
A = {1,2,3,4,5,6,7,8,9……}
• EQUIVALENT SET
If the number of elements is the same for two different sets, then they are called equivalent sets. The order of sets
does not matter here. It is represented as:
n(A) = n(B)
where A and B are two different sets with the same number of elements.
Example: If A = {1,2,3,4} and B = {Red, Blue, Green, Black}
In set A, there are four elements and in set B also there are four elements. Therefore, set A and set B are
equivalent.
• EQUAL SETS
2
The two sets A and B are said to be equal if they have exactly the same elements, the order of elements do not
matter.
Example: A = {1,2,3,4} and B = {4,3,2,1}
A=B
• DISJOINT SETS
The two sets A and B are said to be disjoint if the set does not contain any common element.
Example: Set A = {1,2,3,4} and set B = {5,6,7,8} are disjoint sets, because there is no common element between them.
• SUBSETS
A set ‘A’ is said to be a subset of B if every element of A is also an element of B, denoted as A ⊆ B. Even the
null set is considered to be the subset of another set. In general, a subset is a part of another set.
Example: A = {1,2,3}
Then {1,2} ⊆ A.
Similarly, other subsets of set A are: {1},{2},{3},{1,2},{2,3},{1,3},{1,2,3},{}.
Note: The set is also a subset of itself.
If A is not a subset of B, then it is denoted as A⊄B.
• PROPER SUBSET
If A ⊆ B and A ≠ B, then A is called the proper subset of B and it can be written as A⊂B.
Example: If A = {2,5,7} is a subset of B = {2,5,7} then it is not a proper subset of B = {2,5,7}
But, A = {2,5} is a subset of B = {2,5,7} and is a proper subset also.
• SUPERSET
If set A is a subset of set B and all the elements of set B are the elements of set A, then A is a superset of set B. It
is denoted by A⊃B.
Example: If Set A = {1,2,3,4} is a subset of B = {1,2,3,4}. Then A is superset of B.
• UNIVERSAL SET
A set which contains all the sets relevant to a certain condition is called the universal set. It is the set of all
possible values.
Example: If A = {1,2,3} and B {2,3,4,5}, then universal set here will be:
U = {1,2,3,4,5}
OPERATIONS ON SETS
In set theory, the operations of the sets are carried when two or more sets combine to form a single set under some of
the given conditions. The basic operations on sets are:
• Union of sets
• Intersection of sets
• A complement of a set
• Cartesian product of sets.
• Set difference
Basically, we work more on union and intersection of sets operations, using Venn diagrams.
• UNION OF SETS
If set A and set B are two sets, then A union B is the set that contains all the elements of set A and set B. It is
denoted as A ∪ B.
Example: Set A = {1,2,3} and B = {4,5,6}, then A union B is:
3
A ∪ B = {1,2,3,4,5,6}
• INTERSECTION OF SETS
If set A and set B are two sets, then A intersection B is the set that contains only the common elements between
set A and set B. It is denoted as A ∩ B.
Example: Set A = {1,2,3} and B = {4,5,6}, then A intersection B is:
A ∩ B = { } or Ø
Since A and B do not have any elements in common, so their intersection will give null set.
• COMPLEMENT OF SETS
The complement of any set, say P, is the set of all elements in the universal set that are not in set P. It is denoted
by P’.
Properties of Complement sets
1. P ∪ P′ = U
2. P ∩ P′ = Φ
3. Law of double complement : (P′ )′ = P
4. Laws of empty/null set(Φ) and universal set(U), Φ′ = U and U′ = Φ.
• DIFFERENCE OF SETS
If set A and set B are two sets, then set A difference set B is a set which has elements of A but no elements of B.
It is denoted as A – B.
Example: A = {1,2,3} and B = {2,3,4}
A – B = {1}
SETS FORMULAS
Some of the most important set formulas are:
n ( A ∪ B ) = n(A) + n(B) – n ( A ∩ B)
n( A – B) + n( A ∩ B ) = n(A)
n( B – A) + n( A ∩ B ) = n(B)
n( A – B) + n ( A ∩ B) + n( B – A) = n ( A ∪ B )
4
PROPERTIES OF SETS
Commutative Property : De morgan’s Law :
• A ∪ ( B ∪ C) = ( A ∪ B) ∪ C • A ∪ A’ = A’ ∪ A =U
• A ∩ ( B ∩ C) = ( A ∩ B) ∩ C A ∩ A’ = ∅
Distributive Property : Idempotent Law And Law of a null and universal set :
For any finite set A
• A ∪ ( B ∩ C) = ( A ∪ B) ∩ (A ∪ C)
• A ∩ ( B ∪ C) = ( A ∩ B) ∪ ( A ∩ C) • A∪A=A
• A∩A=A
• ∅’ = U
∅ = U’
EXAMPLE OF SETS
Here are a few examples, given to represent the elements of a set.
Example 1:
Write the given statement in three methods of representation of a set: The set of all integers that lies between -1 and 5
Solution:
The methods of representations of sets are:
Statement Form: { I is the set of integers that lies between -1 and 5}
Roster Form: I = { 0,1, 2, 3,4 }
Set-builder Form: I = { x: x ∈ I, -1 < x < 5 }
Example 2:
Find A U B and A ⋂ B and A – B if A = {a, b, c, d} and B = {c, d}.
Solution:
A = {a, b, c, d} and B = {c, d}
A U B = {a, b, c, d}
A ⋂ B = {c, d} and
A – B = {a, b}
ACTIVITY NO. 1
(a) A = {2, 4, 6}
B = {1, 2, 3}
(b) P = {a, e, i, o, u}
Q = {a, b, c, d}
5
(a) A = {1, 4, 9, 16}
B = {3, 6, 9, 12}
(b) C = {p, q, r, s}
D = {a, b}
(c) P = {x : n ∈ N, x = 3n n< 3}
Q = {x : x ∈ N x < 7}
(a) P ∪ Q (h) P ∩ Q
(b) P ∪ R (i) P ∩ R
(c) Q ∪ R (j) Q ∩ R
(d) Q ∪ S (k) Q ∩ S
(e) P ∪ Q ∪ R (l) P ∩ Q ∩ R
(f) P ∪ Q ∪ S (m) P ∩ Q ∩ S
(g) Q ∪ R ∪ S (n) Q ∩ R ∩ S
(a) A - B
(b) B - C
(c) C - D
(d) D - A
(e) B - A
(f) C - B
(g) D - C
(h) A - D
Find:
(a) A'
(b) B'
(c) A' ∪ B'
(d) A' ∩ B'
(e) (A ∪ B)'
Also show (A ∪ B)' = A' ∩ B'.
6. Find the complement of the following sets if universal set is the set of natural numbers.
(a) A = { }
(b) B = {c, d, f}
(c) D = {a, b, c, d, e, f}
(d) C = {a, b, d}
(e) E = {b, c}
(f) F = {a, c, f}
6
8. If U = {1, 2, 3, 4, 5, 6} and A = {2, 3, 6}, find
(a) A ∪ A'
(b) ∅ ∩ A
(c) A ∩ A'
(d) U' ∩ A
9. Let P = {1, 3, 5, 7} Q = {3, 7, 9, 11} R = {1, 5, 8, 11}, then verify the following.
(a) P ∪ Q = Q ∪ P
(b) (P ∪ Q) ∪ R = P ∪ (Q ∪ R)
(c) P ∩ Q = Q ∩ P
(d) (P ∩ Q) ∩ R = P ∩ (Q ∩ R)
(e) P ∪ (Q ∩ R) = (P ∪ Q) ∩ (P ∪ R)
Verify: