Skip to article content
JEE Strategy5 min read

JEE Main Maths Sets, Relations & Functions 2027: Equivalence Relations, One-One & Onto Functions

Venn diagram counting, equivalence relations, one-one and onto functions and composition, taught with worked examples and counting shortcuts.

Edurack

September 29, 2026

JEE Main Maths Sets, Relations & Functions 2027: Equivalence Relations, One-One & Onto Functions

Sets, Relations and Functions is the language every other Maths chapter speaks. Calculus is about functions, probability is about sets of outcomes, and matrices are functions in disguise. The chapter itself is short, and its JEE Main questions mostly ask you to count: how many relations, how many one-one maps, how many elements.

Most questions in this chapter reduce to one skill: counting carefully.

Chapter at a Glance

SnapshotDetail
NTA unitUnit 1 of 14: Sets, Relations & Functions
Priority (trend-based)Moderate
Typical question styleCounting-based MCQs on relations and functions, plus composition problems
Best first stepLearn the three relation properties, then the counting formulas for functions

Priority reflects past-paper trends, not an official NTA weightage.

What the NTA Syllabus Covers

  • Sets and their representation, union, intersection and complement of sets and their algebraic properties, power set
  • Relations, types of relations, equivalence relations
  • Functions: one-one, into and onto functions, composition of functions

Master These Topics

1. Sets and Venn Diagram Counting

The operations you need are union A∪BA \cup B, intersection A∩BA \cap B, complement A′A' and difference A−BA - B. Three results do most of the work:

  • n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B)
  • De Morgan's laws: (A∪B)′=A′∩B′(A \cup B)' = A' \cap B' and (A∩B)′=A′∪B′(A \cap B)' = A' \cup B'
  • A set with nn elements has 2n2^n subsets, so its power set has 2n2^n elements.
Venn diagram for 60 students: the overlap is counted once, which is why we subtract it.
Venn diagram for 60 students: the overlap is counted once, which is why we subtract it.

Worked example: Of 60 students, 35 study Maths, 30 study Physics and 10 study both. Then n(M∪P)=35+30−10=55n(M \cup P) = 35 + 30 - 10 = 55, so 60−55=560 - 55 = 5 study neither.

Trap: Adding n(A)n(A) and n(B)n(B) counts the overlap twice. Always subtract n(A∩B)n(A \cap B).

2. Relations: Reflexive, Symmetric, Transitive

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

  • reflexive if (a,a)∈R(a, a) \in R for every a∈Aa \in A
  • symmetric if (a,b)∈R(a, b) \in R implies (b,a)∈R(b, a) \in R
  • transitive if (a,b)∈R(a, b) \in R and (b,c)∈R(b, c) \in R imply (a,c)∈R(a, c) \in R

An equivalence relation has all three properties and splits the set into disjoint equivalence classes.

For a set with nn elements, the number of relations is 2n22^{n^2}, reflexive relations 2n2−n2^{n^2 - n} and symmetric relations 2n(n+1)/22^{n(n+1)/2}. For n=3n = 3 these are 512, 64 and 64.

Worked example: On the integers, let aRba R b mean that a−ba - b is divisible by 3. It is reflexive since a−a=0a - a = 0, symmetric, and transitive, so it is an equivalence relation with exactly 3 classes, one for each remainder 0,1,20, 1, 2.

Trap: Symmetric and transitive together do not force reflexive. An element related to nothing at all breaks reflexivity.

3. Functions: One-One, Onto and Composition

A function f:A→Bf : A \to B gives every element of AA exactly one image in BB. It is one-one if different inputs give different outputs, and onto if every element of BB is an image. A function that is not onto is called into.

If AA has mm elements and BB has nn elements:

  • total functions: nmn^m
  • one-one functions: n(n−1)(n−2)⋯(n−m+1)n(n-1)(n-2)\cdots(n-m+1), which needs n≥mn \ge m
  • bijections exist only when m=nm = n, and then there are n!n! of them
  • onto functions from 4 elements to 3 elements: 34−3⋅24+3=363^4 - 3 \cdot 2^4 + 3 = 36

Worked example: From a 3-element set to a 4-element set, the number of one-one functions is 4⋅3⋅2=244 \cdot 3 \cdot 2 = 24.

Composition is (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)), and it is not commutative. For f(x)=2x+3f(x) = 2x + 3 and g(x)=x2g(x) = x^2:

(f∘g)(x)=2x2+3(g∘f)(x)=(2x+3)2(f \circ g)(x) = 2x^2 + 3 \qquad (g \circ f)(x) = (2x + 3)^2

A function has an inverse only if it is a bijection. Here f−1(x)=x−32f^{-1}(x) = \dfrac{x - 3}{2}.

Trap: f(x)=x2f(x) = x^2 on all reals is neither one-one nor onto. Restricting the domain and codomain to [0,∞)[0, \infty) makes it a bijection.

Common Traps to Avoid

  • Forgetting to subtract the overlap in n(A∪B)n(A \cup B).
  • Assuming symmetric plus transitive implies reflexive.
  • Mixing up the order in f∘gf \circ g: apply gg first, then ff.
  • Calling a function onto without checking that its range equals the whole codomain.

60-Second Revision Sheet

  • n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B); power set has 2n2^n elements
  • Relations on nn elements: all 2n22^{n^2}, reflexive 2n2−n2^{n^2-n}, symmetric 2n(n+1)/22^{n(n+1)/2}
  • One-one from mm to nn elements: n(n−1)⋯(n−m+1)n(n-1)\cdots(n-m+1); bijections: n!n!
  • Inverse exists if and only if the function is one-one and onto

Your Study Plan

  1. Day 1: set operations, De Morgan's laws and Venn diagram problems.
  2. Day 2: types of relations and proving equivalence relations.
  3. Day 3: one-one, onto and counting functions.
  4. Day 4: composition, inverse functions and a timed mixed set.

Practice Sets, Relations & Functions Questions Free → (opens in a new tab)


Continue Your Maths Journey


Frequently Asked Questions

What makes a relation an equivalence relation?

It must be reflexive, symmetric and transitive at the same time. Equivalence relations partition the set into equivalence classes.

How do I check whether a function is onto?

Show that for every yy in the codomain there is some xx in the domain with f(x)=yf(x) = y, or compare the range with the codomain.

Ready to put this into practice?

See the matching test series on Edurack.

View on Edurack
All posts
Free call back from the Edurack team

Confused about your JEE preparation?Let's talk it through.

Leave your number and someone from our team will call you back to answer your questions and help you choose the right tests and mentors.

  • Get the right test series for your exam and stage
  • Know which mentor batch actually fits you
  • No cost, no obligation — your number is used only for this call

Request a call back

Takes about 10 seconds.

+91

Target exam

Current class

We'll only use your number to call you about Edurack.