100% found this document useful (1 vote)
1K views7 pages

Logic and Set Theory Module 2

The document provides an overview of sets and operations on sets. It defines what a set is and how sets are represented. Some key points: - A set is a collection of distinct objects, called elements or members. Sets are usually represented using curly brackets. - There are different types of sets like finite, infinite, empty, singleton, equivalent, disjoint, subset, superset. - Basic operations on sets include union, intersection, complement, cartesian product, difference. Union combines elements in sets, intersection finds common elements. - Formulas are provided for calculating properties of unions, intersections, complements and differences of sets. Properties like commutative and De Morgan's laws are also covered.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views7 pages

Logic and Set Theory Module 2

The document provides an overview of sets and operations on sets. It defines what a set is and how sets are represented. Some key points: - A set is a collection of distinct objects, called elements or members. Sets are usually represented using curly brackets. - There are different types of sets like finite, infinite, empty, singleton, equivalent, disjoint, subset, superset. - Basic operations on sets include union, intersection, complement, cartesian product, difference. Union combines elements in sets, intersection finds common elements. - Formulas are provided for calculating properties of unions, intersections, complements and differences of sets. Properties like commutative and De Morgan's laws are also covered.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

GRACE MISSION COLLEGE

Catiningan, Socorro, Oriental Mindoro


e-Mail: [email protected]

Module 2 in Logic and Set Theory


ALGEBRA OF SETS

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.

WHAT ARE THE ELEMENTS OF A SET


Let us take an example:
A = {1, 2, 3, 4, 5 }
Since a set is usually represented by the capital letter. Thus, A is the set and 1, 2, 3, 4, 5 are the elements of the set or
members of the set. The elements that are written in the set can be in any order but cannot be repeated. All the set
elements are represented in small letter in case of alphabets. Also, we can write it as 1 ∈ A, 2 ∈ A etc. The cardinal
number of the set is 5. Some commonly used sets are as follows:

• N: Set of all natural numbers


• Z: Set of all integers
• Q: Set of all rational numbers
• R: Set of all real numbers
• Z+: Set of all positive integers

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 }

SET BUILDER FORM


The general form is, A = { x : property }
Example: Write the following sets in set builder form: A={2, 4, 6, 8}
Solution:
2=2x1
4=2x2
6=2x3
8=2x4
So, the set builder form is A = {x: x=2n, n ∈ N and 1 ≤ n ≤ 4}
Also, Venn Diagrams are the simple and best way for visualized representation of sets.

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′ = Φ.

• CARTESIAN PRODUCT OF SETS


If set A and set B are two sets then the cartesian product of set A and set B is a set of all ordered pairs (a,b), such
that a is an element of A and b is an element of B. It is denoted by A × B.
We can represent it in set-builder form, such as:
A × B = {(a, b) : a ∈ A and b ∈ B}
Example: set A = {1,2,3} and set B = {Bat, Ball}, then;
A × B = {(1,Bat),(1,Ball),(2,Bat),(2,Ball),(3,Bat),(3,Ball)}

• 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:

For any three sets A, B and C

n ( A ∪ B ) = n(A) + n(B) – n ( A ∩ B)

If A ∩ B = ∅, then n ( A ∪ B ) = n(A) + n(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 )

n ( A ∪ B ∪ C ) = n(A) + n(B) + n(C) – n ( A ∩ B) – n ( B ∩ C) – n ( C ∩ A) + n ( A ∩ B ∩ C)

4
PROPERTIES OF SETS
Commutative Property : De morgan’s Law :

• A∪B = B∪A • Law of union : ( A ∪ B )’ = A’ ∩ B’


• A∩B = B∩A Law of intersection : ( A ∩ B )’ = A’ ∪ B’
Associative Property : Complement 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

1. Find the union of each of the following pairs of sets.

(a) A = {2, 4, 6}
B = {1, 2, 3}

(b) P = {a, e, i, o, u}
Q = {a, b, c, d}

(c) X = {x : n ∈ N, x = 2n, n < 4}


Y = {x : x is an even number less than 10}

(d) M = {x : x is natural number and multiple of 3}


N = {x : x is a prime number less than 19}

2. Find the intersection of each of the following pairs of sets.

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}

(d) X = {x : x is a letter of the word ‘LOYAL’}


Y = {x : x is a letter in the word ‘FLOW’}

3. If P = {1, 2, 3} Q = {2, 3, 4} R = {3, 4, 5} S = {4, 5, 6}, find

(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

4. If A = {a, b, c, d} B = {b, c, d, e} C = {c, d, e, f} D = {d, e, f, g}, find

(a) A - B
(b) B - C
(c) C - D
(d) D - A
(e) B - A
(f) C - B
(g) D - C
(h) A - D

5. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}

A = {1, 2, 4, 6, 8, 10} B = {1, 3, 5, 7, 8, 9}

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) {x : x is a prime number}


(b) {x : x is a multiple of 2}
(c) {x : x is a perfect cube}
(d) {x : x ≥ 10}
(e) {x : x is an odd natural number}

7. If U = {a, b, c, d, e, f} find the complement of the following.

(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)

10. Let U = {a, b, c, d, e, f, g}, A = {a, c ,f , g}, B = {f, g, b, d}

Verify:

(a) (A ∪ B)' = (A' ∩ B')

(b) (A ∩ B)' = (A' ∪ B')

You might also like