The chapter covers relations, types of relations, functions, domain and range, and different kinds of functions with examples.
This chapter forms the foundation for calculus and carries direct weightage in CBSE board examinations.
Class 12 Maths Chapter 1 NCERT Solutions explain questions on functions step by step, helping students understand domain, codomain, range, and different types of functions.
NCERT Solutions for class 12 maths chapter 1, trains students to analyse mappings logically, improving reasoning and mathematical thinking skills.
You can access free NCERT Solutions for Class 12 Maths Chapter 1 Relations and Functions on the ALLEN website. The NCERT Solutions cover the chapter exercises with clear, step-by-step answers.
NCERT Class 12 Maths Chapter 1 includes questions on types of relations, one-one and onto functions, domain and range, special functions, and composition and inverse functions.
To prepare NCERT Class 12 Maths Chapter 1, understand relations, types of relations, functions, domain, codomain, range, and types of functions. Practise the NCERT exercise and miscellaneous questions regularly.
Start with relations and their types in NCERT Class 12 Maths Chapter 1, then study functions, domain, codomain, range, types of functions, and special functions. Practise the NCERT questions after understanding each topic.
Join ALLEN!
(Session 2026 - 27)
Choose class
Choose your goal
Preferred Mode
Choose State
NCERT Solutions for Class 12 Maths Chapter 1 Relations and Functions
Class 12 Maths Chapter 1, Relations and Functions, introduces students to relations, different types of functions, domain and range, and special functions that are used throughout higher mathematics. A strong understanding of these basics is essential for later chapters like calculus and inverse trigonometric functions.
ALLEN provides you with the Chapter 1 Relations and Functions NCERT Solutions prepared by subject experts and are fully aligned with the current syllabus prescribed by CBSE. These solutions explain each step clearly, helping Class 12 students understand how and why a method is used. Practising these questions improves accuracy, builds confidence, and prepares students for board exams as well as competitive exams. NCERT Solutions Class 12 Maths Chapter 1 are drafted in simple language to make revision easier and improve the efficiency of preparation before the exams.
1.0Key Concepts of Class 12 Maths Chapter 1 Relations and Functions
Class 12 Maths Chapter 1, Relations and Functions, introduces the basic concepts of relations and functions and explains how elements of sets are connected with each other. The chapter covers the following important concepts:
Relations: Learn the definition of relations, ordered pairs, and different ways to represent relations using sets.
Types of Relations: Understand reflexive, symmetric, transitive, equivalence, and empty relations.
Functions: Learn about functions as special types of relations in which each input has a unique output.
Domain, Codomain, and Range: Understand the domain, codomain, and range of a function and how input and output values are related.
Types of Functions: Study one-one, many-one, onto, into, and constant functions along with their properties.
Special Functions: Learn about identity, polynomial, rational, and modulus functions.
2.0NCERT Class 12 Maths Chapter 1 Relations and Functions : Detailed Solutions
EXERCISE - 1.1
Determine whether each of the following relations are reflexive, symmetric and transitive :
(i) Relation R in the set A={1,2,3…13,14} defined as R={(x,y):3x−y=0}
(ii) Relation R in the set N of natural numbers defined as R={(x,y):y=x+5 and x<4}
(iii) Relation R in the set A={1,2,3,4,5,6} as R={(x,y):y is divisible by x}
(iv) Relation R in the set Z of all integers defined as R={(x,y):x−y is an integer }
(v) Relation R in the set A of human beings in a town at a particular time given by
(a) R={(x,y):x and y work at the same place}
(b) R={(x,y):x and y live in the same locality}
(c) R={(x,y):x is exactly 7 cm taller than y}
(d) R={(x,y):x is wife of y}
(e) R={(x,y):x is father of y}
So, R is not reflexive.
Symmetric: (1,3)∈R, but (3,1)∈/R.
So, R is not symmetric
Transitive: (1,3),(3,9)∈R, but (1,9)∈/R.
So, R is not transitive
Hence, R is neither reflexive, nor symmetric, nor transitive.
(ii) R={(x,y):y=x+5 and x<4}⇒R={(1,6),(2,7),(3,8)}
Reflexive: ∵(1,1)∈/R.
So, R is not reflexive.
Symmetric : (1,6)∈R, but (6,1)∈/R.
∴R is not symmetric.
Transitive : Since there are no three elements x, y,z∈N such that (x,y)∈R,(y,z)∈R but (x,z)∈/R
∴R is transitive.
Hence, R is neither reflexive, nor symmetric but it is transitive.
(iii) A={1,2,3,4,5,6};
R={(x,y):y is divisible by x}
Reflexive: Let x∈A such that if (x,x)∈R
⇒ x is divisible by x, which is true, ∀x∈A
∴ R is reflexive.
Symmetric: Let x,y∈A such that if
(x,y)∈R
⇒ y is divisible by x
⇒ x is not divisible by y
⇒(y,x)∈/R
For example: (2,4)∈R but (4,2)∈/R.
∴ R is not symmetric.
Transitive: Let x,y,z∈A such that if (x,y)∈R and (y,z)∈R
⇒ y is divisible by x and z is divisible by y.
⇒xy=k1∈I(y,z)∈R⇒yz=k2∈I
Equation (1) × (2) gives
⇒⇒xy×yz=k1×k2xz=(k1k2)∈I(x,z)∈R.
∴R is transitive.
Hence, R is reflexive and transitive but not symmetric.
(iv) R={(x,y):x−y is an integer }
Reflexive: If (x,x)∈R⇒x−x=0, which is an integer, ∀x∈Z.
∴R is reflexive.
Symmetric: If (x,y)∈R
⇒(x−y) is an integer.
⇒(y−x) is also an integer.
⇒(y,x)∈R
⇒ R is symmetric.
Transitive: If (x,y)∈R
⇒x−y=k1∈I
and (y,z)∈R
⇒y−z=k2∈I
Adding equation (1) and (2), we get
(x−y)+(y−z)=(k1+k2)∈Ix−z=(k1+k2)∈I
∴(x,z)∈R
⇒ R is transitive.
Hence, R is reflexive, symmetric and transitive.
(v) Given A={x:x is a human being in a town}
(a) R={(x,y):x and y work at the same place }
Reflexive: If (x,x)∈R⇒x and x work at the same place, which is true, ∀x∈A
∴R is reflexive.
Symmetric: If (x,y)∈R
⇒ x and y work at the same place.
⇒ y and x also work at the same place.
⇒(y,x)∈R.
∴R is symmetric.
Transitive: If (x,y)∈R and (y,z)∈R
⇒ x and y work at the same place and y and z work at the same place.
⇒ x and z work at the same place.
⇒(x,z)∈R∴R is transitive.
Hence, R is reflexive, symmetric, and transitive.
(b) R={(x,y):x and y live in the same locality }
Reflexive : If (x,x)∈R⇒x and x live in the same locality, which is true, ∀x∈A∴R is reflexive.
Symmetric: If (x,y)∈R⇒x and y live in the same locality.
⇒ y and x also live in the same locality
⇒(y,x)∈R∴R is symmetric.
Transitive: Let (x,y)∈R and (y,z)∈R.
⇒ x and y live in the same locality and y and z live in the same locality.
⇒ x and z live in the same locality.
⇒(x,z)∈R∴R is transitive.
Hence, R is reflexive, symmetric and transitive.
(c) R={(x,y):x is exactly 7 cm taller than y}
Reflexive: If (x,x)∈R⇒x is exactly 7 cm taller than x, which is not true, for any x∈A. Since human being x cannot be taller than himself. So, R is not reflexive.
Symmetric: If (x,y)∈R
⇒ x is exactly 7 cm taller than y
⇒ y is exactly 7 cm smaller
∴(y,x)∈/R∴R is not symmetric.
Transitive: If (x,y),(y,z)∈R
⇒ x is exactly 7 cm taller than y and y is exactly 7 cm taller than z.
⇒ x is exactly 14 cm taller than z.
∴(x,z)∈/R∴R is not transitive.
Hence, R is neither reflexive, nor symmetric, nor transitive.
(d) R={(x,y):x is wife of y}
Reflexive: If (x,x)∈R
⇒ x is wife of x, which is not true, for any x∈A∴R is not reflexive.
Symmetric: If (x,y)∈R
⇒ x is wife of y ⇒y is husband of x.
∴(y,x)∈/R∴R is not symmetric.
Transitive: There are no three element x, y, z∈A such that (x,y)∈R and (y,z)∈R but (x,z)∈/R
So, R is transitive. Hence, R is neither reflexive, nor symmetric, but R is transitive.
(e) R={(x,y):x is father of y}
Reflexive: If (x,x)∈R⇒x is the father of x, which is not true, for any x∈A
∴ R is not reflexive.
Symmetric : If (x,y)∈R⇒x is the father of y ⇒ y is son or daughter of x.
∴(y,x)∈/R∴R is not symmetric.
Transitive: If (x,y)∈R and (y,z)∈R,
⇒ x is the father of y and y is the father of z
⇒x is grand father of z. ∴(x,z)∈/R∴R is not transitive. Hence, R is neither reflexive, nor symmetric, nor transitive.
Show that the relation R in the set R of real numbers, defined as R={(a,b):a≤b2} is neither reflexive nor symmetric nor transitive.
Sol. Reflexive: R={(a,b):a≤b2}
Let a∈R such that if (a,a)∈R⇒a≤a2 is not true for all a∈R i.e. (a, a) ∈/R,∀a∈R Let a=21∈R∵21∈/221⇒21∈/41⇒(21,21)∈/R∴R is not reflexive
Symmetric: Let a,b∈R such that if (a,b)∈R⇒a≤b2⇒b≤a2
For eg. 1≤22⇒(1,2)∈R but 2≮12⇒(2,1)∈/R∴R is not symmetric
Transitive: Let a,b,c∈R such that if (a,b)∈R and (b,c)∈R⇒a≤b2 and b≤c2⇒a≤c2
For example: 2≤(−3)2 and (−3)≤12 but 2≮12⇒(2,−3)∈R and (−3,1)∈R but (2,1)∈/R∴R is not transitive
Hence, R is neither reflexive nor symmetric nor transitive.
Check whether the relation R defined in the set {1,2,3,4,5,6} as R={(a,b):b=a+1} is reflexive, symmetric or transitive.
Sol. Reflexive: Given A={1,2,3,4,5,6}. R={(a,b):b=a+1}⇒R={(1,2),(2,3),(3,4),(4,5),(5,6)}∵(1,1)∈/R, where 1∈A∴R is not reflexive
Symmetric: (1,2)∈R but (2,1)∈/R, where 1,2∈A. So R is not symmetric
Transitive: (1,2)∈R and (2,3)∈R but (1,3)∈/R, where 1,2,3∈A.
∴ R is not transitive
Hence R is neither reflexive, nor symmetric, nor transitive.
Show that the relation R in R defined as R={(a,b):a≤b}, is reflexive and transitive but not symmetric.
Sol. Reflexive: Given R={(a,b):a≤b}
Let a∈R such that if (a,a)∈R⇒a≤a, which is true, ∀a∈R
∴ R is reflexive
Symmetric: Let a,b∈R such that if (a,b)∈R⇒a≤b⇒b≥a⇒(b,a)∈/R
For eg.: 1≤2⇒(1,2)∈R
But 2≤1⇒(2,1)∈/R
∴R is not symmetric
Transitive: Let a,b,c∈R such that if (a,b)∈R and (b,c)∈R
⇒a≤b and b≤c⇒a≤c⇒(a,c)∈R∴R is transitive
Hence R is reflexive and transitive but not symmetric.
Check whether the relation R in R defined as R={(a,b):a≤b3} is reflexive, symmetric or transitive.
Sol. Reflexive: Given R={(a,b):a≤b3}
If (a,a)∈R⇒a≤a3. Let a=21∈R
If 21R21⇒21≤231⇒21≤81 (Not true)
∴R is not reflexive
Symmetric: Let a,b∈R such that if (a,b)∈R⇒a≤b3⇒b≤a3
For example: 1≤23 but 2≤13
⇒(1,2)∈R but (2,1)∈/R
∴ R is not symmetric
Transitive: Let a,b,c∈R such that if (a,b)∈R and (b,c)∈R
But (a,c)∈R⇒(100,2)∈R⇒100≤(2)3 (Not true)
∴R is not transitive
Hence R is neither reflexive nor symmetric nor transitive.
Show that the relation R in the set {1, 2, 3} given by R={(1,2),(2,1)} is symmetric but neither reflexive nor transitive.
Sol. Reflexive: Let A={1,2,3}.
A relation R on A is defined as R={(1,2),(2,1)}.
∵(1,1)∈/R, where 1∈A∴R is not reflexive
Symmetric: (1,2)∈R and (2,1)∈R
∴R is symmetric
Transitive: (1,2)∈R and (2,1)∈R but (1,1)∈/R
∴R is not transitive.
Hence, R is symmetric but neither reflexive nor transitive.
Show that the relation R in the set A of all the books in a library of a college, given by R={(x,y):x and y have same number of pages} is an equivalence relation.
Sol. Reflexive: Set A is the set of all books in the library of a college. R={(x,y):x and y have the same number of pages}Let x∈A such that if (x,x)∈R⇒x and x has the same number of pages.
Which is the true, ∀x∈A
∴ R is reflexive
Symmetric: Let x,y∈A such that if (x,y)∈R
⇒x and y have the same number of pages.
⇒ y and x have the same number of pages.
⇒(y,x)∈R∴R is symmetric.
Transitive: Let x,y,z∈A such that if (x,y)∈R and (y,z)∈R.
⇒ x and y have the same number of pages and y and z have the same number of pages.
⇒ x and z have the same number of pages
⇒(x,z)∈R∴R is transitive.
Since, R is reflexive, symmetric and transitive on A
Hence, R is an equivalence relation on A .
Show that the relation R in the set A={1,2,3,4,5} given by R={(a,b) : ∣a−b∣ is even}, is an equivalence relation. Show that all the elements of {1, 3, 5} are related to each other and all the elements of {2, 4} are related to each other. But no element of {1,3,5} is related to any element of {2, 4}.
Sol. Reflexive: A={1,2,3,4,5}, R=[{a,b):∣a−b∣ is even }
Let a∈A such that if (a,a)∈R⇒∣a−a∣=0, is even which is true, ∀a∈A∴R is reflexive.
Symmetric: Let a,b∈A such that if (a,b)∈R⇒∣a−b∣ is even
⇒∣−(b−a)∣=∣b−a∣ is also even
⇒(b,a)∈R∴R is symmetric.
Transitive: Let a,b,c∈R such that if (a,b)∈R and (b,c)∈R.
⇒∣a−b∣ and ∣b−c∣ both are even
⇒∣a−b∣=2k1 and ∣b−c∣=2k2,(k1,k2∈Z)⇒(a−b)=±2k1
and (b−c)=±2k2
On adding equations (1) & (2), we get : (a−c)=2(±k1±k2)⇒∣a−c∣=2∣(±k1±k2)∣⇒∣a−c∣ is even ⇒(a,c)∈R∴R is transitive
Since R is reflexive, symmetric and transitive on A.
Hence, R is an equivalence relation on A .
Since, the difference of two even (or odd) be always even.
So, every element of set {1,3,5} is related to each other and also every element of set {2, 4} is related to each other but no element of {1, 3, 5} is related to any element of {2, 4}.
Show that each of the relation R in the set A={x∈Z:0≤x≤12}, given by
(i) R={(a,b):∣a−b∣ is a multiple of 4}
(ii) R={(a,b):a=b}
is an equivalence relation. Find the set of all elements related to 1 in each case.
Sol. Given that : A={x∈Z:0≤x≤12}={0,1,2,3,4,5,6,7,8,9,10,11,12}
(i) R={(a,b):∣a−b∣} is a multiple of 4}
Reflexive: Let a∈A such that if (a,a)∈R⇒∣a−a∣=0 is a multiple of 4 which is true, ∀a∈A∴R is reflexive.
Symmetric: Let a,b∈A such that if (a,b)∈R⇒∣a−b∣ is a multiple of 4 .
⇒∣b−a∣ is also multiple of 4 .
⇒(b,a)∈R∴R is symmetric.
Transitive: Let a,b,c∈A such that if (a,b)∈R and (b,c)∈R⇒∣a−b∣ and ∣b−c∣ both are multiple of 4
⇒∣a−b∣=4k1 and ∣b−c∣=4k2,(k1,k2∈Z)⇒a−b=±4k1
and b−c=±4k2
On adding equations (1) & (2), we get :
a−c=4(±k1±k2)⇒∣a−c∣=4∣(±k1±k2)∣⇒∣a−c∣ is multiple of 4
⇒(a,c)∈R∴R is transitive
Since R is reflexive, symmetric and transitive on A
Hence, R is an equivalence relation on A .
Further, let x∈A such that (x,1)∈R⇒∣x−1∣ is multiple of 4
⇒∣x−1∣=0,4,8,……⇒x−1=0,4,8⇒x=1,5,9
Hence, required set ={1,5,9}
(ii) R={(a,b):a=b}
Reflexive: Let a∈A, such that (a,a)∈R,
⇒a=a.
which is true, ∀a∈A. So, R is reflexive.
Symmetric: Let a,b∈A such that if (a,b)∈R.
⇒a=b⇒b=a⇒(b,a)∈R∴R is symmetric.
Transitive: Let a,b,c∈A such that if (a,b)∈R and (b,c)∈R.
⇒a=b and b=c⇒a=c⇒(a,c)∈R∴R is transitive.
Since R is reflexive, symmetric and transitive on A
Hence, R is an equivalence relation on A
Let x∈A such that (x,1)∈R⇒x=1
Hence, required set ={1}
Give an example of a relation. Which is
(i) Symmetric but neither reflexive nor transitive.
(ii) Transitive but neither reflexive nor symmetric.
(iii) Reflexive and symmetric but not transitive.
(iv) Reflexive and transitive but not symmetric.
(v) Symmetric and transitive but not reflexive.
Sol.
(i) Let A={5,6,7} .
Reflexive:Define a relation R on A as R={(5,6),(6,5)} .
Since (5,5)∈/R ,where 5∈A .
So,R is not reflexive
Symmetric:Since (5,6)∈R and (6,5)∈R . So, R is symmetric
Transitive:Since (5,6)∈R and (6,5)∈R but (5,5)∈/R .So, R is not transitive
Hence,relation R is symmetric but neither reflexive nor transitive.
(ii) Consider a relation R in N defined as: R={(a,b):a<b}
Reflexive:Let a∈N such that if (a,a)∈R⇒a<a ,which is not true for any a∈N∴R is not reflexive
Symmetric:Let a,b∈N such that if (a,b)∈R⇒a<b
⇒b>a⇒(b,a)∈/R
∴ R is not symmetric
Transitive:Let a,b,c∈N such that if (a,b)∈R and (b,c)∈R
⇒a<b and b<c⇒a<c⇒(a,c)∈R .So, R is transitive
Hence,relation R is transitive but neither reflexive nor symmetric.
(iii) Let A={4,6,8} .
Define a relation R on A as: R={(4,4) , (6,6),(8,8),(4,6),(6,4),(6,8),(8,6)}
Reflexive:Since,(a,a)∈R,∀a∈A .So, R is reflexive
Symmetric:Since,(a,b)∈R⇒(b,a)∈R , for all a,b∈A .So, R is symmetric.
Transitive:Since,(4,6)∈R and (6,8)∈R but (4,8)∈/R .So, R is not transitive.
Hence, R is reflexive symmetric but not transitive.
(iv) Define a relation R1 in R as: R1={(a,b):a3≥b3}
Reflexive:Let a∈R such that if (a,a)∈R1⇒a3≥a3 ,which is true ∀a∈R∴R1 is reflexive.
Symmetric:Let a,b∈R such that if (a,b)∈R1⇒a3≥b3⇒b3≤a3
For example: 23≥13 but 13≤23
⇒(2,1)∈R1 but (1,2)∈/R1∴R1 is not symmetric.
Transitive:Let a,b,c∈R such that if (a,b)∈R1 and (b,c)∈R1
⇒a3≥b3 and b3≥c3⇒a3≥c3⇒(a,c)∈R1∴R is transitive.
Hence,relation R1 is reflexive and transitive but not symmetric.
(v) Let A={1,2,3} .
Define a relation R on A as: R={(1,1)(2,2)}
Reflexive:Since (3,3)∈/R ,where 3∈A .
So,R is not reflexive
Symmetric:If (a,b)∈R
Here, a=b⇒b=a⇒(b,a)∈R∴R is symmetric
Transitive:If (a,b)∈R and (b,c)∈R
Here a=b and b=c⇒a=c⇒(a,c)∈R∴R is transitive
Hence,relation R is symmetric and transitive but not reflexive.
Show that the relation R in the set A of points in a plane given by R={(P,Q) :distance of the point P from the origin is same as the distance of the point Q from the origin } ,is an equivalence relation.Further,show that the set of all points related to a point P=(0,0) is the circle passing through P with origin as centre.
Sol. Given the set A of points in a plane and a relation R on A selection as
R={(P,Q) : distance of point P from the origin is the same as the distance of point Q from the origin}
Reflexive: Let P∈A such that if (P,P)∈R⇒OP=OP, which is true, ∀P∈A∴R is reflexive.
Symmetric : Let P,Q∈A such that if (P,Q)∈R⇒OP=OQ
⇒OQ=OP⇒(Q,P)∈R∴R is symmetric.
Transitive: Let P,Q,S∈A such that if (P,Q)∈R and (Q,S)∈R
⇒OP=OQ and OQ=OS⇒OP=OS⇒(P,S)∈R∴R is transitive.
Since R is reflexive symmetric and transitive. Hence, R is an equivalence relation.
The set of all points related to P=(0,0) will be those points whose distance from the origin is the same as the distance of point P from the origin.
In other words, If O(0,0) is the origin and OP=k, then the set of all points related to P is at a distance of k from the origin.
Hence, this set of points form a circle with the centre as the origin and this circle passes through point P.
Show that the relation R defined in the set A of all triangles as R={(T1,T2):T1 is similar to T2 }, is equivalence relation. Consider three right angle triangles T1 with sides 3,4,5,T2 with sides 5, 12, 13 and T3 with sides 6, 8, 10. Which triangles among T1,T2 and T3 are related?
Sol. Given, set A of all triangles and a relation R on A defined by R={(T1,T2):T1 is similar to T2 }
Reflexive: Since every triangle is similar to itself, so R is reflexiveSymmetric: Let T1,T2∈A such that if (T1,T2)∈R⇒T1 is similar to T2⇒T2 is similar to T1.
⇒(T2,T1)∈R
∴ R is symmetric.
Transitive: Let T1,T2,T3∈A such that if (T1,T2),(T2,T3)∈R.
⇒T1 is similar to T2 and T2 is similar to T3.
⇒T1 is similar to T3.⇒(T1,T3)∈R∴R is transitive.
Science, R is reflexive, symmetric and transitive.
Hence, R is an equivalence relation.
Given three right angle triangle T1 with sides 3, 4, 5, T2 with sides 5, 12, 13 and T3 with sides 6, 8, 10
∵63=84=105=21
Since, the corresponding sides of triangles T1 and T3 are in the same ratio.
Then, triangle T1 is similar to triangle T3.
Hence, T1 is related to T3.
Show that the relation R defined in the set A of all polygons as R={(P1,P2):P1 and P2 have same number of sides}, is an equivalence relation. What is the set of all elements in A related to the right angled triangle T with sides 3, 4 and 5?
Sol. Given a relation R defined in the set A of all polygons as :
R={(P1,P2):P1 and P2 have same number of sides}
Reflexive: Let P1∈A such that if (P1,P1)∈R as the same polygon has the same number of sides with itself.
∴R is reflexive.
Symmetric: Let P1,P2∈A such that if (P1,P2)∈R⇒P1 and P2 have same number of sides
⇒P2 and P1 have same number of sides
⇒(P2,P1)∈R
∴ R is symmetric.
Transitive: Let P1,P2,P3∈A such that If (P1,P2),(P2,P3)∈R.
⇒P1 and P2 have the same number of sides and P2 and P3 have the same number of sides.
⇒P1 and P3 have the same number of sides.
⇒(P1,P3)∈R∴R is transitive.
Since R is reflexive, symmetric and transitive Hence, R is an equivalence relation.
The elements in A related to the right-angled triangle (T) with sides 3, 4 and 5 are those polygons which have 3 sides (since T is a polygon with 3 sides).
Hence, the required set is the set of all triangles of A which are related to T.
Let L be the set of all lines in XY plane and R be the relation in L defined as R={(L1,L2):L1 is parallel to L2}. Show that R is an equivalence relation. Find the set of all lines related to the line y=2x+4.
Sol. Given, L be the set of all lines in XY plane and relation R on set L defined as R={(L1,L2):L1 is parallel to L2}
Reflexive: Let L1∈L such that if (L1,L1)∈R⇒L1∥L1 which is true, ∀L1∈L∴R is reflexive
Symmetric: Let L1,L2∈L such that if (L1,L2)∈R.
⇒L1 is parallel to L2⇒L2 is parallel to L1⇒(L2,L1)∈R∴R is symmetric.
Transitive: Let L1,L2,L3∈L such that if (L1,L2),(L2,L3)∈R.
⇒L1 is parallel to L2 and L2 is parallel to L3.
⇒L1 is parallel to L3.
∴R is transitive.
Since R is reflexive, symmetric and transitive Hence, R is an equivalence relation.
The set of all lines related to the line y=2x+4 is the set of all lines that are parallel to the line y=2x+4.
Slope of line y=2x+4 is m=2.
It is known that parallel lines have the same slope.
The line parallel to the given line is of the form y=2x+c, where c∈R.
Hence, the set of all lines related to the given line is given by y=2x+c, where c∈R.
Choose the correct answer in the following questions from 15 to 16.
Let R be the relation in the set {1,2,3,4} given by R={(1,2),(2,2),(1,1),(4,4),(1,3), (3,3),(3,2)}. Choose the correct answer.
(A) R is reflexive and symmetric but not transitive.
(B) R is reflexive and transitive but not symmetric.
(C) R is symmetric and transitive but not reflexive.
(D) R is an equivalence relation.
Sol. (B) Let A={1,2,3,4}, given a relation R on A defined as R={(1,2),(2,2),(1,1)((4,4),(1,3), (3, 3), (3,2) }
Reflexive: Since (a,a)∈R,∀a∈A.
So, R is reflexive.
Symmetric: Since, (1,2)∈R, but (2,1)∈/R. So, R is not symmetric.
Transitive: Since at least three elements a,b, c∈A does not exists
Such that (a,b)∈R and (b,c)∈R
⇒(a,c)∈/R∴R is transitive.
Hence, R is reflexive and transitive but not symmetric.
Let R be the relation in the set N given by R={(a,b):a=b−2,b>6}. Choose the correct answer.
(A) (2,4)∈R
(B) (3,8)∈R
(C) (6,8)∈R
(D) (8,7)∈R
Sol. (C)
R={(a,b):a=b−2,b>6}
∵b>6 and a=b−2∴R={(5,7),(6,8),(7,9)…..
Here (6,8)∈R
EXERCISE - 1.2
Show that the function f:R∗→R∗ defined by f(x)=x1 is one-one and onto, where R∗ is the set of all non-zero real numbers. Is the result true, if the domain R∗ is replaced by N with codomain being same as R∗ ?
Sol. Given that f:R∗→R∗ is defined by f(x)=x1 Let x1,x2∈R∗ (domain) such that if f(x1)=f(x2)⇒x11=x21⇒x1=x2∴f is one-one. y∈R∗ (codomain) and f(x)=y⇒x1=y⇒x=y1∀y∈R∗, there exists x=y1∈R such that f(x)=(y1)1=y.
∴f is onto.
Thus, the given function f is one-one and onto. Now, consider function g:N→R∗ defined by g(x)=x1.
Let x1,x2∈N.
Let y∈R∗ and if g(x1)=g(x2)⇒x11=x21⇒x1=x2∴g is one-one.Let y=g(x)=x1⇒x=y1∈/N,∀y∈R∗
For example: y=32∈R∗ then x=23∈/N∴g is not onto
Function g is one-one but not onto.
Hence result is not true.
Check the injectivity and surjectivity of the following functions:
(i) f:N→N given by f(x)=x2
(ii) f:Z→Z given by f(x)=x2
(iii) f:R→R given by f(x)=x2
(iv) f:N→N given by f(x)=x3
(v) f:Z→Z given by f(x)=x3
Sol.
(i) f:N→N is given by, f(x)=x2
Let x1,x2∈N, such that if f(x1)=f(x2)⇒x12=x22⇒(x1−x2)(x1+x2)=0⇒x1−x2=0⇒x1=x2(∵x1+x2=0)∴f is injective.
Let y∈N (codomain)
Put y=f(x)=x2⇒x=y∈/N,∀y∈N
Every element of codomain does not have preimages in domain.
Range = Co-domain
For eg. range of f={1,4,9….}=co−domain of f
∴f is not surjective.
Hence, function f is injective but not surjective.
(ii) f:Z→Z is given by, f(x)=x2
Let x1,x2∈Z, such that
If f(x1)=f(x2)⇒x12=x22⇒(x1−x2)(x1+x2)=0
⇒x1−x2=0 or x1=x2⇒x1+x2=0 or x1=−x2
∵ Function does not have unique solution
∴f is not injective
Let y∈Z (co-domain)
Put y=f(x)=x2⇒x=y∈/Z,∀y∈Z
Every element of co-domain does not have pre images in domain.
Range = Co-domain
For example: f(−1)=f(1)=1, but −1=1,
∴ f is not injective.
Since the range of
f={0,1,4,9……}= co-domain of f.
∴f is not surjective.
Hence, function f is neither injective nor surjective.
(iii) f:R→R is given by f(x)=x2
Let x1,x2∈R, such that if f(x1)=f(x2)⇒x12=x22⇒(x1−x2)(x1+x2)=0⇒x1−x2=0 and x1=x2⇒x1+x2=0 and x1=−x2
Function does not have unique solution
∴f is not injective.
Let y∈R (co-domain)
Put y=f(x)=x2⇒x=y∈/R,∀y∈R
Every element of co-domain do not have pre image in domain
Range =co-domain
For example : f(−1)=f(1)=1, but −1=1,
∴ f is not injective.
Since, range of f=co-domain of f
∴f is not surjective.
Hence, function f is neither injective nor surjective.
(iv) f:N→N given by, f(x)=x3
Let x1,x2∈N (domain) such that if f(x1)=f(x2)⇒x13=x23⇒(x1−x2)(x12+x1x2+x22)=0⇒x1−x2=0⇒x1=x2(∵x12+x1x2+x22=0)∴f is injective.
Let y∈N (co-domain)
Put y=f(x)=x3⇒x=(y)31∈/N,∀y∈N
Every element of co-domain do not have pre-images in domain.
Range = co-domain
Range of f={1,8,27……}= co-domain of f
∴f is not surjective.
Hence, function f is injective but not surjective.
(v) f:Z→Z is given by, f(x)=x3
Let x1,x2∈Z (domain) such that if f(x1)=f(x2)⇒x13=x23⇒(x1−x2)(x12+x1x2+x22)=0⇒x1=x2(∵x12+x1x2+x22>0)∴f is injective.
Let y∈Z (co-domain)
Put y=f(x)=x3⇒x=(y)31∈/Z,∀y∈Z
Every element of co-domain does not have pre image in domain
Range = co-domain
Range of f={0,±1,±8,±27,…}= co-domain of f.
∴f is not surjective.
Hence, function f is injective but not surjective.
Prove that the Greatest Integer Function f:R→R given by f(x)=[x], is neither oneone nor onto, where [x] denotes the greatest integer less than or equal to x.
Sol.f:R→R is given by, f(x)=[x] It is seen that f(1.2)=[1.2]=1, f(1.9)=[1.9]=1.
∴f(1.2)=f(1.9), but 1.2=1.9.
∴f is not one - one. Range of f=I
⇒ Range of f=co-domain of f.
∴f is not onto.
Hence, the greatest integer function is neither one-one nor onto.
Show that the Modulus Function f:R→R given by f(x)=∣x∣, is neither one-one nor onto, where |x| is x, if x is positive or 0 and ∣x∣ is -x , if x is negative.
Sol.f:R→R is given by,
f(x)=∣x∣={x,−x, if x≥0 if x<0
It is seen that f(−1)=∣−1∣=1,f(1)=∣1∣=1.
∴f(−1)=f(1), but −1=1
∴ f is not one-one.
Range of f=R+∪{0}
⇒ range of f=co-domain of f.
∴ f is not onto.
Hence, the modulus function is neither one-one nor onto.
Show that the Signum Function f:R→R, given by f(x)=⎩⎨⎧1,0,−1 if x>0 if x=0 if x<0 is neither one-one nor onto.
Sol.f:R→R is given by, f(x)=⎩⎨⎧1,0,−1, if x>0 if x=0 if x<0∵f(x)=1,∀x∈(0,∞)
and f(x)=−1,∀x∈(−∞,0)∴f is not one-one.
∵ Range of f={0,±1}
∵ Range of f= co-domain of f.
So, f is not onto.
Hence, the signum function is neither one-one nor onto.
Let A={1,2,3},B={4,5,6,7} and let f={(1,4),(2,5),(3,6)} be a function from A to B . Show that f is one-one.
Sol. It is given that A={1,2,3},B={4,5,6,7}.
f:A→B is defined as f={(1,4),(2,5),(3,6)}.
∴f(1)=4,f(2)=5,f(3)=6
Since, different elements of A have different images in B
Hence, function f is one-one.
In each of the following cases, state whether the function is one-one, onto or bijective. Justify your answer.
(i) f:R→R defined by f(x)=3−4x
(ii) f:R→R defined by f(x)=1+x2
Sol.
(i) f:R→R defined by f(x)=3−4x.
Let x1,x2∈R such that
f(x1)=f(x2)⇒3−4x1=3−4x2
⇒−4x1=−4x2⇒x1=x2∴f is one-one.
Let y∈R (co-domain)
put y=f(x)⇒y=3−4x⇒x=43−y∈R (domain),
f(43−y)=3−4(43−y)=y,∀y∈R
(co-domain)
∴ f is onto. Since, f is one-one and onto.
Hence, f is bijective.
(ii) f:R→R is defined as, f(x)=1+x2.
Let x1,x2∈R such that f(x1)=f(x2)1+x12=1+x22⇒x12=x22⇒x1=±x2∵f(1)=2,f(−1)=2⇒f(1)=f(−1) but 1=−1∴f is not one-one. Here range of f=[1,∞)
∵ Range of f=co-domain of f.
∴ f is not onto . Hence, f is neither one-one nor onto.
Let A and B be sets. Show that f:A×B→B×A such that f(a,b)=(b,a) is bijective function.
Sol.f:A×B→B×A is defined as f(a,b)=(b,a).
Let (a1,b1),(a2,b2)∈A×B such that if f(a1, b1)=f(a2,b2)⇒(b1,a1)=(b2,a2)⇒b1=b2 and a1=a2⇒(a1,b1)=(a2,b2). So, f is one-one.
Now, let (b,a)∈B×A
⇒(a,b)∈A×B
i.e. ∀(b,a)∈B×A,∃(a,b)∈A×B such that f(a,b)=(b,a). (Definition of f)
So, f is onto.
Hence, f is bijective.
Let f : N → N be defined by
f(n)={2n+1,2n, if n is odd if n is even , for all n∈N.
State whether the function f is bijective.
Justify your answer
Sol. f(1)=21+1=1,f(2)=22=1⇒f(1)=f(2) but 1=2∴f is not one-one.
Hence, f is not bijective.
Let A=R−{3} and B=R−{1}.
Consider the function f:A→B defined by
f(x)=(x−3x−2).
Is f one-one and onto? Justify your answer.
Sol.A=R−{3},B=R−{1}f:A→B is defined as f(x)=x−3x−2
let x1,x2∈A such that f(x1)=f(x2)⇒x1−3x1−2=x2−3x2−2⇒(x1−2)(x2−3)=(x2−2)(x1−3)⇒x1x2−3x1−2x2+6=x1x2−3x2−2x1+6⇒−3x1−2x2=−3x2−2x1⇒3x1−2x1=3x2−2x2⇒x1=x2∴f is one - one.
Let y∈B=R−{1}
put f(x)=y⇒x−3x−2=y⇒x−2=xy−3y⇒x(1−y)=−3y+2⇒x=1−y2−3y∈A,∀y∈B
i.e. every element of B has pre-image(s) in A
Range = Co-domain
∴ f is onto.
Hence, function f is one-one and onto.
Choose the correct answer in the following questions from 11 &12.
Let f:R→R be defined as f(x)=x4. Choose the correct answer.
(A) f is one - one onto
(B) f is many-one onto
(C) f is one-one but not onto
(D) f is neither one-one nor onto
Sol. (D) f:R→R is defined as f(x)=x4∵f(1)=1,f(−1)=1⇒f(1)=f(−1) but 1=−1.
So, f is not one-one
Again, Range of f=[0,∞)
⇒ Range of f ⊂ co-domain of f .
So, f is not onto.
Hence, function f is neither one-one nor onto.
Let f:R→R be defined as f(x)=3x. Choose the correct answer.
(A) f is one-one onto
(B) f is many-one onto
(C) f is one-one but not onto
(D) f is neither one-one nor onto
Sol. (A) Let x1,x2∈R such that f(x1)=f(x2)⇒3x1=3x2⇒x1=x2.
So f is one - one.
Let y=f(x)∀y∈R
y=3x⇒x=3y∈R
Range = Co-domain .
So f is onto.
Hence, function f is one-one and onto.
MISCELLANEOUS EXERCISE
Show that function f:R→{x∈R:−1<x<1} defined by f(x)=1+∣x∣x,x∈R is one-one and onto function.
Sol. Given that f:R→{x∈R:−1<x<1} is defined as f(x)=1+∣x∣x,x∈R
⇒f(x)={1+xx1−xx;;x≥0x<0
For one-one function :
Case-I: when x1,x2>0
Let f(x1)=f(x2)
From Case I and case II,
y∈[0,1)∪(−1,0)
Range =(−1,1)= Co-domain
So, f is onto.
Hence, f is one-one and onto function.
Show that the function f:R→R given by f(x)=x3 is injective.
Sol. f:R→R is given as f(x)=x3.
Let x1,x2∈R such that if f(x1)=f(x2)
⇒x13=x23
⇒(x1−x2)(x12+x22+x1x2)=0⇒x1−x2=0⇒x1=x2(∵x12+x1x2+x22>0)
∴ f is injective
Given a non empty set X, consider P(X) which is the set of all subsets of X. Define the relation R in P (X) as follows:
For subsets A, B in P(X), A R B if and only if A⊂B. Is R an equivalence relation on P(X) ? Justify you answer:
Sol. Since every set is a subset of itself, ARA, ∀A∈P(X).
∴R is reflexive.
Let ARB⇒A⊂B.⇒B⊂A.
For Ex:, if A={1,2} and B={1,2,3}, then A⊂B but B⊂A
R is not symmetric. Since, R is not symmetric.
Hence, R is not an equivalence relation on P(X).
Find the number of all onto functions from the set {1,2,3,…,n ) to itself.
Sol. Since f is onto function, so all elements of set {1,2,…n} have unique pre-image in set {1, 2,...n}
So, the total number of onto function =n×(n−1)×(n−2)×…×2×1=n!
Let A={−1,0,1,2},B={−4,−2,0,2} and f,g:A→B be functions defined by f(x)=x2−x, x∈A and g(x)=x−21−1,x∈A. Are f and g equal? Justify your answer.
Sol. Given A={−1,0,1,2},B={−4,−2,0,2}
Also, f:A→B,f(x)=x2−x,∀x∈Ag:A→B,
g(x)=2x−21−1,∀x∈A
It is observed that :
⇒f(−1)=g(−1)f(0)=(0)2−0=0;
g(0)=20−21−1=2(21)−1=1−1=0⇒f(0)=g(0)f(1)=(1)2−1=1−1=0;
g(1)=21−21−1=2(21)−1=0⇒f(1)=g(1)f(2)=22−2=4−2=2;
g(2)=22−21−1=2(23)−1=3−1=2⇒f(2)=g(2)
Thus ∀a∈A,f(a)=g(a)∴f and g are equal functions.
Let A={1,2,3}. Then number of relations containing (1,2) and (1,3) which are reflexive and symmetric but not transitive is
(A) 1
(B) 2
(C) 3
(D) 4
Sol. (A) The given set is A={1,2,3}.
The smallest relation containing (1,2) and (1,3) which is reflexive and symmetric, but not transitive is given by:
R={(1,1),(2,2),(3,3),(1,2),(1,3),(2,1), (3,1) }
Since (1,1),(2,2),(3,3)∈R.
So R is reflexive
Since (1,2),(2,1)∈R
and (1,3),(3,1)∈R.
So R is symmetric
Since (3,1),(1,2)∈R, but (3,2)∈/R.
So R is not transitive
Now, if we add ordered pairs (3,2) and (2,3) to relation R , then relation R will become transitive.
Hence, the total number of desired relations is one.
Let A={1,2,3}. Then number of equivalence relations containing (1,2) is
(A) 1
(B) 2
(C) 3
(D) 4
Sol. (B) It is given that A={1,2,3}.
The smallest equivalence relation containing (1,2) is given by,
R1={(1,1),(2,2),(3,3),(1,2),(2,1)}
Now, we are left with only four pairs i.e., (2, 3), (3, 2), (1, 3), and (3,1).
If we add any one pair [say (2, 3)] to R1, then for symmetry we must add (3,2).
Also, for transitivity we are required to add (1,3) and (3,1).
Hence, another equivalence relation R2={(1,1),(2,2),(3,3),(1,2),(2,1), (2, 3), (3, 2), (1, 3), (3, 1)}
This shows that the total number of equivalence relations containing (1,2) is two i.e. R1 and R2
Access complete NCERT Solutions for Class 12 Maths chapter-wise, with clear exercise answers, important formulas, and step-by-step solutions to help students understand and solve Maths questions.
4.0Class 12 Maths Chapter 1 Relations and Functions Exercise-wise Solutions
Exercise
Number of Questions
Important Topics
Exercise 1.1 Solutions
16 Questions
Types of relations, reflexive, symmetric, transitive and equivalence relations
Exercise 1.2 Solutions
12 Questions
One-one and onto functions, injective and surjective functions, domain and range, special functions
Miscellaneous Exercise Solutions
7 Questions
Relations and functions, one-one and onto functions, composition and inverse functions, mixed-concept questions
5.0Key Features and Benefits of Class 12 Maths Chapter 1 Relations and Functions
Solutions are prepared according to the latest NCERT syllabus for Class 12 Maths followed by CBSE schools.
Step-by-step explanations help students understand the method used to solve each question.
Exercises include questions based on important concepts of relations and functions covered in the chapter.
Practising NCERT questions with solutions helps students improve their accuracy and problem-solving skills.
A clear understanding of relations, functions, domain, codomain, range, and different types of functions helps strengthen the basics of the chapter.
Strong fundamentals in this chapter can help students understand higher-level concepts in mathematics and prepare for different entrance and competitive examinations.
Table of Contents
1.0Key Concepts of Class 12 Maths Chapter 1 Relations and Functions
2.0NCERT Class 12 Maths Chapter 1 Relations and Functions : Detailed Solutions