Meritroot Academy website preview · Residential & offline programmes · Secure domain launch coming next
Dehradun, UttarakhandResidential & Offline
Admission guidance+91 7417454936
Meritroot Academy

MERITROOT FREE LEARNING · CLASS 12 / MATHEMATICS

Relations and Functions

Your chapter workspace for understanding concepts, revising key ideas and practising questions. Choose an available resource below.

PYQs4Formulae4Notes2
?

PYQs

Practise questions grouped by chapter and source year.

Practice questions are organised using the years and labels in our source collection. Work through the solutions with your teacher; these are not a complete official examination paper.

Practice question 1

Source year: 20253 marks

Check if relation is reflexive. [CBSE 2025]

Practice question 2

Source year: 20253 marks

Check if the relation R = {(1,2), (2,3), (3,4)} is reflexive, symmetric and transitive. [CBSE 2025]

Practice question 3

Source year: 20243 marks

Prove that function f: R→R defined by f(x) = 3x + 5 is bijective. [CBSE 2024]

Practice question 4

Source year: 20235 marks

Show that the relation $ R $ in the set $ \mathbb{Z} $ of integers given by $ R = \{(a,b) : 2 ext{ divides } a-b \} $ is an equivalence relation.


Solution:

1. Reflexive: $ a - a = 0 $, which is divisible by 2. Thus $ (a,a) \in R $.

2. Symmetric: If $ (a,b) \in R $, then $ a - b = 2k $ for some integer $ k $. Then $ b - a = 2(-k) $, so $ (b,a) \in R $.

3. Transitive: If $ (a,b) \in R $ and $ (b,c) \in R $, then $ a - b = 2k_1 $ and $ b - c = 2k_2 $. Adding them gives $ a - c = 2(k_1 + k_2) $, which is divisible by 2. Thus $ (a,c) \in R $.

ƒ

Formulae

Revisit important relationships and quick revision formulae.

Reflexive

(a,a) ∈ R

Types of Relations

Reflexive: (a,a) ∈ R\nSymmetric: (a,b) ∈ R ⇒ (b,a) ∈ R\nTransitive: (a,b), (b,c) ∈ R ⇒ (a,c) ∈ R

Types of Functions

One-One (Injective)\nOnto (Surjective)\nBijective (One-One and Onto)

Key Relations & Functions Formulae

Source year: 2026

Equivalence Relation: A relation $ R $ in a set $ A $ is an equivalence relation if it is reflexive, symmetric, and transitive.

One-One (Injective) Function: $ f(x_1) = f(x_2) \implies x_1 = x_2 $

Onto (Surjective) Function: For every $ y \in Y $, there exists $ x \in X $ such that $ f(x) = y $.

≡

Notes

Build understanding with chapter guides and revision notes.

Understand the chapter

Chapter overview

Relations and functions describe how elements of one set are associated with elements of another set. In Class 12, the focus is mainly on types of relations, equivalence relations, one-one functions, onto functions, composition, and invertible functions.

1. Cartesian product

If AA and BB are two non-empty sets, then:

A×B={(a,b):a∈A, b∈B}A\times B=\{(a,b):a\in A,\ b\in B\}

If:

n(A)=m,n(B)=nn(A)=m,\qquad n(B)=n

then:

n(A×B)=mnn(A\times B)=mn

Usually:

A×B≠B×AA\times B\ne B\times A

2. Relation

A relation RR from set AA to set BB is a subset of A×BA\times B.

R⊆A×BR\subseteq A\times B

If (a,b)∈R(a,b)\in R, then aa is related to bb.

Notation:

aRbaRb

Number of possible relations from AA to BB:

2mn2^{mn}

where:

n(A)=m,n(B)=nn(A)=m,\qquad n(B)=n

3. Domain, codomain, and range

For a relation RR from AA to BB:

Domain:

Domain(R)={a∈A:(a,b)∈R for some b∈B}\text{Domain}(R)=\{a\in A:(a,b)\in R\text{ for some }b\in B\}

Range:

Range(R)={b∈B:(a,b)∈R for some a∈A}\text{Range}(R)=\{b\in B:(a,b)\in R\text{ for some }a\in A\}

Codomain:

BB

Important:

Range⊆Codomain\text{Range}\subseteq\text{Codomain}

4. Types of relations on a set

Let RR be a relation on a set AA.

Reflexive relation

(a,a)∈R∀a∈A(a,a)\in R \quad \forall a\in A

Symmetric relation

(a,b)∈R⇒(b,a)∈R(a,b)\in R \Rightarrow (b,a)\in R

Transitive relation

(a,b)∈R and (b,c)∈R⇒(a,c)∈R(a,b)\in R \text{ and } (b,c)\in R \Rightarrow (a,c)\in R

Equivalence relation

A relation is an equivalence relation if it is:

  • reflexive,
  • symmetric,
  • transitive.

5. Function

A function ff from AA to BB is a relation in which every element of AA has exactly one image in BB.

f:A→Bf:A\rightarrow B

If x∈Ax\in A, then image of xx is:

f(x)f(x)

Function condition:

x1=x2⇒f(x1)=f(x2)x_1=x_2 \Rightarrow f(x_1)=f(x_2)

6. One-one function

A function is one-one or injective if different elements of the domain have different images.

f(x1)=f(x2)⇒x1=x2f(x_1)=f(x_2) \Rightarrow x_1=x_2

Equivalent:

x1≠x2⇒f(x1)≠f(x2)x_1\ne x_2 \Rightarrow f(x_1)\ne f(x_2)

7. Onto function

A function is onto or surjective if every element of codomain has a preimage in domain.

Range(f)=Codomain\text{Range}(f)=\text{Codomain}

Meaning:

∀y∈B, ∃x∈A such that f(x)=y\forall y\in B,\ \exists x\in A \text{ such that } f(x)=y

8. Bijective function

A function is bijective if it is both one-one and onto.

9. Composition of functions

If:

f:A→Bf:A\rightarrow B

and:

g:B→Cg:B\rightarrow C

then:

g∘f:A→Cg\circ f:A\rightarrow C

defined by:

(g∘f)(x)=g(f(x))(g\circ f)(x)=g(f(x))

In general:

g∘f≠f∘gg\circ f\ne f\circ g

Associative property:

h∘(g∘f)=(h∘g)∘fh\circ(g\circ f)=(h\circ g)\circ f

10. Invertible functions

A function f:A→Bf:A\rightarrow B is invertible if there exists a function g:B→Ag:B\rightarrow A such that:

g∘f=IAg\circ f=I_A

and:

f∘g=IBf\circ g=I_B

Then:

g=f−1g=f^{-1}

A function is invertible if and only if it is bijective.

f is invertible  ⟺  f is one-one and ontof\text{ is invertible} \iff f\text{ is one-one and onto}

11. Solved examples

Example 1

Let:

A={1,2,3}A=\{1,2,3\}

and:

R={(1,1),(2,2),(3,3)}R=\{(1,1),(2,2),(3,3)\}

Then RR is reflexive because every element is related to itself.

Example 2

Check whether:

f:R→R,f(x)=2x+3f:R\rightarrow R,\quad f(x)=2x+3

is one-one.

If:

f(x1)=f(x2)f(x_1)=f(x_2)

then:

2x1+3=2x2+32x_1+3=2x_2+3 x1=x2x_1=x_2

So ff is one-one.

Example 3

Find inverse of:

f(x)=2x+3f(x)=2x+3

Let:

y=2x+3y=2x+3

Then:

x=y−32x=\frac{y-3}{2}

Therefore:

f−1(x)=x−32f^{-1}(x)=\frac{x-3}{2}

12. Common mistakes

  • Confusing relation and function.
  • Thinking every relation is a function.
  • Confusing range and codomain.
  • Forgetting that onto means range equals codomain.
  • Assuming f∘g=g∘ff\circ g=g\circ f.
  • Saying a function is invertible without checking one-one and onto.

13. Quick revision

ConceptFormula / condition
RelationR⊆A×BR\subseteq A\times B
Number of relations2mn2^{mn}
Reflexive(a,a)∈R(a,a)\in R
Symmetric(a,b)∈R⇒(b,a)∈R(a,b)\in R\Rightarrow(b,a)\in R
Transitive(a,b),(b,c)∈R⇒(a,c)∈R(a,b),(b,c)\in R\Rightarrow(a,c)\in R
One-onef(x1)=f(x2)⇒x1=x2f(x_1)=f(x_2)\Rightarrow x_1=x_2
OntoRange=Codomain\text{Range}=\text{Codomain}
Composition(g∘f)(x)=g(f(x))(g\circ f)(x)=g(f(x))
Invertiblef−1f^{-1} exists iff ff is bijective

Comprehensive Notes: Relations and Functions

Introduction to Relations and Functions

These are the fundamental concepts and key takeaways for this chapter. Make sure to review these before exams.

  • Key Concept 1
  • Key Concept 2
  • Important Definition

More detailed notes will be added here soon.

Ready for a more structured preparation plan?

Explore school-integrated JEE / NEET preparation and residential learning at Meritroot Academy, Dehradun.

Talk to academy admissions ↗

Keep your preparation moving.

WhatsApp ↗