Sets Relations and Functions
Sets Relations and Functions
SET
A set is a collection of well defined objects which are distinct from each other. Sets are generally denoted
by capital letters A, B, C, ........ etc. and the elements of the set by small letters a, b, c ....... etc.
If a is an element of a set A, then we write a ∈ A and say a belongs to A.
If a does not belong to A then we write a A,
e.g. the collection of first five prime natural numbers is a set containing the elements 2, 3, 5, 7, 11.
(ii) Set builder form (Property Method) : In this we write down a property or rule which gives us
all the element of the set.
A = {x : P(x)} where P(x) is the property by which x ∈ A and colon ( : ) stands for ‘such that’
Example # 1 : Express set A = {x : x ∈ N and x = 2n for n ∈ N} in roster form
Solution : A = {2, 4, 8, 16, .........}
Example # 3 : Express set A = {0, 7, 26, 63, 124} in set builder form
Solution : A = {x : x = n3 – 1, n∈N, 1 ≤ n ≤ 5}
TYPES OF SETS
Null set or empty set : A set having no element in it is called an empty set or a null set or void set, it is
denoted by φ or { }. A set consisting of at least one element is called a non-empty set or a non-void set.
Finite set : A set which has only finite number of elements is called a finite set.
Order of a finite set : The number of distinct elements in a finite set A is called the order of this set and
denoted by O(A) or n(A). It is also called cardinal number of the set.
e.g. A = {a, b, c, d} ⇒ n(A) = 4
Infinite set : A set which has an infinite number of elements is called an infinite set.
Equal sets : Two sets A and B are said to be equal if every element of A is member of B, and every
element of B is a member of A. If sets A and B are equal, we write A = B and if A and B are not equal
then
A≠B
Equivalent sets : Two finite sets A and B are equivalent if their cardinal number is same
i.e. n(A) = n(B)
e.g. A = {1, 3, 5, 7}, B = {a, b, c, d} ⇒ n(A) = 4 and n(B) = 4
⇒ A and B are equivalent sets
Note - Equal sets are always equivalent but equivalent sets may not be equal
1|
MATHEMATICS Sets, Relations & Function
PROPER SUBSET :
If A is a subset of B but A ≠ B then A is a proper subset of B and we write A ⊂ B. Set A is not proper
subset of A so this is improper subset of A
POWER SET :
Let A be any set. The set of all subsets of A is called power set of A and is denoted by P(A)
Example # 5 : Examine whether the following statements are true or false :
(i) {a} {b, c, a}
(ii) {x, p} {x : x is a consonant in the English alphabet}
(iii) {α, β, γ, δ} {α, β, φ, ψ}
(iv) {a, b} ∈ {a, {a}, b, c}
Solution : (i) False as {a} is subset of {b, c, a}
(ii) False as x, p are consonant
(iii) False as element γ, δ is not in the set {α, β, φ, ψ}
(iv) False as a, b ∈ {a, {a}, b, c} and {a, b} {a, {a}, b, c}
2|
MATHEMATICS Sets, Relations & Function
Example # 7 : If φ denotes null set then find
(a) P(φ) (b) P(P(φ))
(c) n(P(P(P(φ)))) (d) n(P(P(P(P(φ)))))
Solution : (a) P(φ) = {φ} (b) P(P(φ)) = {φ,{φ}}
(c) n(P(P(P(φ)))) = 22 = 4 (d) n(P(P(P(P(φ))))) = 24 = 16
UNIVERSAL SET :
A set consisting of all possible elements which occur in the discussion is called a universal set and is
denoted by U.
e.g. if A = {1, 2, 3}, B = {2, 4, 5, 6}, C = {1, 3, 5, 7} then U = {1, 2, 3, 4, 5, 6, 7} can be taken as the
universal set.
3|
MATHEMATICS Sets, Relations & Function
A' (A Δ B) = (A – B) ∪ (B – A) Disjoint
LAWS OF ALGEBRA OF SETS (PROPERTIES OF SETS):
(i) Commutative law : (A ∪ B) = B ∪ A ; A ∩ B = B ∩ A
(ii) Associative law : (A ∪ B) ∪ C = A ∪ (B ∪ C) ; (A ∩ B) ∩ C = A ∩ (B ∩ C)
(iii) Distributive law : A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C) ; A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
(iv) De-morgan law : (A ∪ B)' = A' ∩ B' ; (A ∩ B)' = A' ∪ B'
(v) Identity law : A ∩ U = A ; A ∪ φ = A
(vi) Complement law : A ∪ A' = U, A ∩ A' = φ, (A')' = A
(vii) Idempotent law : A ∩ A = A, A ∪ A = A
NOTE :
(i) A – (B ∪ C) = (A – B) ∩ (A – C) ; A – (B ∩ C) = (A – B) ∪ (A – C)
(ii) A ∩ φ = φ, A ∪ U = U
Solution :
From venn diagram we can conclude that A – B = A ∩ B′.
4|
MATHEMATICS Sets, Relations & Function
= n(A ∩ B) + n(B ∩ C) + n(C ∩ A) – 3n(A ∩ B ∩ C)
(v) Number of elements in exactly one of the sets A, B, C
= n(A) + n(B) + n(C) – 2n(A ∩ B) – 2n(B ∩ C) – 2n(A ∩ C) + 3n(A ∩ B ∩ C)
Example # 12: In a group of 60 students, 36 read English newspaper, 22 read Hindi newspaper and 12 read
neither of the two. How many read both English & Hindi news papers ?
Solution : n(U) = 60, n(E) = 36, n(H) = 22
n(E′ ∩ H′) = 12 ⇒ n(E ∪ H)′ = 12
⇒ n(U) – n(E ∪ H) = 12
⇒ n(E ∪ H) = 48
⇒ n(E) + n(H) – n(E ∩ H) = 48
⇒ n(E ∩ H) = 58 – 48 = 10
Example#13 : In a group of 50 persons, 14 drink tea but not coffee and 30 drink tea. Find
(i) How many drink tea and coffee both ? (ii) How many drink coffee but not tea ?
Solution : T : people drinking tea
C : people drinking coffee
(i) n(T) = n(T – C) + n(T ∩ C) ⇒ 30 = 14 + n(T ∩ C) ⇒ n(T ∩ C) = 16
5|
MATHEMATICS Sets, Relations & Function
RELATIONS
ORDERED PAIR :
A pair of objects listed in a specific order is called an ordered pair. It is written by listing the two objects
in specific order separating them by a comma and then enclosing the pair in parentheses.
In the ordered pair (a, b), a is called the first element and b is called the second element.
Two ordered pairs are set to be equal if their corresponding elements are equal.
i.e. (a, b) = (c, d) if a = c and b = d.
CARTESIAN PRODUCT :
The set of all possible ordered pairs (a, b), where a ∈ A and b ∈ B i.e. {(a, b) ; a ∈ A and b ∈ B} is called
the Cartesian product of A to B and is denoted by A × B. Usually A × B ≠ B × A.
Similarly A × B × C = {(a, b, c) : a ∈ A, b ∈ B, c ∈ C} is called ordered triplet.
RELATION:
Let A and B be two sets. Then a relation R from A to B is a subset of A × B. Thus, R is a relation from A
to B ⇒ R ⊆ A × B. The subsets is derived by describing a relationship between the first element and the
second element of ordered pairs in A × B e.g. if A = {1, 2, 3, 4, 5, 6, 7, 8} and B = {1, 2, 3, 4, 5} and
R = {(a, b) : a = b2, a ∈ A, b ∈ B} then R = {(1, 1), (4, 2), (9, 3)}. Here a R b ⇒ 1 R 1, 4 R 2, 9 R 3.
NOTE :
(i) Let A and B be two non-empty finite sets consisting of m and n elements respectively. Then
A × B consists of mn ordered pairs. So total number of subsets of A × B i.e. number of relations
from A to B is 2mn.
(ii) A relation R from A to A is called a relation on A.
Example#15 :Let A = {1, 3, 5, 7} and B = {2, 4, 6, 8} be two sets and let R be a relation from A to B defined by
the phrase "(x, y) ∈ R ⇒ x > y". Find relation R and its domain and range.
Solution : Under relation R, we have 3R2, 5R2, 5R4, 7R2, 7R4 and 7R6
i.e. R = {(3, 2), (5, 2), (5, 4), (7, 2), (7, 4), (7, 6)}
∴ Dom (R) = {3, 5, 7} and range (R) = {2, 4, 6}
6|
MATHEMATICS Sets, Relations & Function
Self Practice Problem :
(12) If A × B = {(1, 2), (1, 3), (1, 6), (7, 2), (7, 3), (7, 6)} then find sets A and B.
TYPES OF RELATIONS :
In this section we intend to define various types of relations on a given set A.
(i) Void relation : Let A be a set. Then φ ⊆ A × A and so it is a relation on A. This relation is called
the void or empty relation on A.
(ii) Universal relation : Let A be a set. Then A × A ⊆ A × A and so it is a relation on A. This relation
is called the universal relation on A.
(iii) Identity relation : Let A be a set. Then the relation IA = {(a, a) : a ∈ A} on A is called the identity
relation on A. In other words, a relation IA on A is called the identity relation if every element of A
is related to itself only.
(iv) Reflexive relation : A relation R on a set A is said to be reflexive if every element of A is related
to itself. Thus, R on a set A is not reflexive if there exists an element a ∈ A such that
(a, a) ∉ R.
Note : Every identity relation is reflexive but every reflexive relation in not identity.
(v) Symmetric relation : A relation R on a set A is said to be a symmetric relation
iff (a, b) ∈ R ⇒ (b ,a) ∈ R for all a, b ∈ A. i.e. a R b ⇒ b R a for all a, b ∈ A.
(vi) Transitive relation : Let A be any set. A relation R on A is said to be a transitive relation
iff (a, b) ∈ R and (b, c) ∈ R ⇒ (a, c) ∈ R for all a, b, c ∈ A
i.e. a R b and b R c ⇒ a R c for all a, b, c ∈ A
Example#18 : Which of the following are reflexive relations on set A = {1, 2, 3}.
R1 = {(1, 1), (2, 2), (3, 3), (1, 3), (2, 1)}, R2 = {(1, 1), (3, 3), (2, 1), (3, 2)}..
Solution : R1 is a reflexive relation on set A.
R2 is not a reflexive relation on A because 2 ∈ A but (2, 2) ∉ R2.
Example#19 : Prove that on the set N of natural numbers, the relation R defined by x R y ⇒ x is less than y is
transitive.
Solution : Because for any x, y, z ∈ N x < y and y < z ⇒ x < z ⇒ x R y and y R z ⇒ x R z. so R is
transitive.
Example#20 : Let T be the set of all triangles in a plane with R a relation in T given by R = {(T 1 , T2) : T1 is
congruent to T2}. Show that R is an equivalence relation.
Solution : Since a relation R in T is said to be an equivalence relation if R is reflexive, symmetric and
7|
MATHEMATICS Sets, Relations & Function
transitive.
(i) Since every triangle is congruent to itself
∴ R is reflexive
(ii) (T1 , T2) ∈ R ⇒ T1 is congruent to T2 ⇒ T2 is congruent to T1 ⇒ (T2, T1) ∈ R
Hence R is symmetric
(iii) Let (T1, T2) ∈ R and (T2, T3) ∈ R ⇒ T1 is congruent to T2 and T2 is congruent to T3
⇒ T1 is congruent to T3 ⇒ (T1, T3) ∈ R
∴ R is transitive
Hence R is an equivalence relation.
8|
MATHEMATICS Sets, Relations & Function
FUNCTION
Definition :
Function is a rule (or correspondence), from a non empty set A to a non empty set B, that associates
each member of A to a unique member of B. Symbolically, we write f: A → B. We read it as "f is a function
from A to B".
For example, let A ≡ {–1, 0, 1} and B ≡ {0, 1, 2}.
Then A × B ≡ {(–1, 0), (–1, 1), (–1, 2), (0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2)}
Now, " f : A → B defined by f(x) = x2 " is the function such that
f ≡ {(–1, 1), (0, 0), (1, 1)}
f can also be shown diagrammatically by following mapping.
Note : Every function say y = f(x) : A → B. Here x is independent variable which takes its values from A while 'y'
takes its value from B. A relation will be a function if and only if
(i) x must be able to take each and every value of A and
and (ii) one value of x must be related to one and only one value of y in set B.
Graphically : If any vertical line cuts the graph at more than one point, then the graph does not represent a
function.
Example#23 : (i) Which of the following correspondences can be called a function ?
(A) f(x) = x3 ; {–1, 0, 1} {0, 1, 2, 3}
(A) (B)
(C) (D)
Solution :
(i) f(x) in (C) and (D) are functions as definition of function is satisfied. while in case of (A) the given
relation is not a function, as f(–1) 2nd set. Hence definition of function is not satisfied. While in
9|
MATHEMATICS Sets, Relations & Function
case of (B), the given relation is not a function, as f(1) = ± 1 and f(4) = ± 2 i.e. element 1 as well
as 4 in 1st set is related with two elements of 2nd set. Hence definition of function is not satisfied.
(ii) B and D. In (A) one element of domain has no image, while in (C) one element of 1 st set has two
images in 2nd set
(17) Let g(x) be a function defined on [−1, 1]. If the area of the equilateral triangle with two of its
vertices at (0,0) and (x,g(x)) is sq. unit, then the function g(x) may be.
(18) Represent all possible functions defined from {α, β} to {1, 2}.
Answers : (17) A, B, C
(iii) (iv)
Let y = f(x) : A → B, then the set A is known as the domain of f and the set B is known as co-domain of
f.
⇒ |x| ≥ ⇒ x≤– or x ≥
10 |
MATHEMATICS Sets, Relations & Function
(ii) sin–1 (2x – 1) is real iff –1 ≤ 2x – 1 ≤ + 1
∴ domain is x ∈ [0, 1]
11 |