# Sets, Relations and Functions Notes for JEE Main: Key Concepts, Formulas and PYQ Trends

> Sets, Relations and Functions notes for JEE Main: concepts, formulas, question types and traps from 16 official PYQs (2016–2026).

Source: https://previousyearquestions.app/jee-main/notes/sets-relations-functions/

Sets, Relations and Functions has had 16 questions in the 11 official JEE Main papers we tagged (2016–2026), asked in all 3 years. Most asked: One-one, onto and counting functions (4 questions); Functional equations (3 questions); Mathematical reasoning (older papers) (2 questions). These notes cover the concepts, formulas, question types and traps behind those questions.

Explore: <a href="/jee-main/chapters/sets-relations-functions/">Sets, Relations and Functions PYQs</a> · <a href="/jee-main/notes/">All JEE Main notes</a> · <a href="/formulas/mathematics/sets-relations-and-functions/">Sets, Relations and Functions formulas</a> · <a href="/jee-main/">JEE Main hub</a> · <a href="/jee-main/2026/">JEE Main 2026</a> · <a href="/jee-main/syllabus-pattern/">Syllabus & pattern</a>

Sets, relations and functions gives one or two questions in most 2026 JEE Main shifts, and they are rarely about sets alone. The papers ask you to count the elements of a relation, test it for transitivity, read off a domain with logarithms or inverse trigonometric functions, or crack a functional equation, often as a numerical-value question.

## What JEE Main asks from Sets, Relations and Functions

In the 11 official JEE Main papers we tagged (2016–2026), Sets, Relations and Functions had **16 questions**, asked in all 3 years. The concepts below are ranked by how many years they came up in; every question is listed on the [Sets, Relations and Functions PYQ page](/jee-main/chapters/sets-relations-functions/).

| Concept | Questions | Years asked |
|---|---|---|
| [One-one, onto and counting functions](#one-one-onto-and-counting-functions) | 4 | 2 of 3 |
| [Functional equations](#functional-equations) | 3 | 2 of 3 |
| [Mathematical reasoning (older papers)](#mathematical-reasoning-older-papers) | 2 | 2 of 3 |
| [Relations and their properties](#relations-and-their-properties) | 4 | 1 of 3 |
| [Domain of a function](#domain-of-a-function) | 3 | 1 of 3 |

## Core concepts

### Relations and their properties

*Asked in 1 of 3 years, 4 questions.*

A relation from $A$ to $B$ is any subset of $A \times B$. If $n(A) = m$ and $n(B) = n$, there are $2^{mn}$ relations. A relation $R$ on $A$ is reflexive if $(a, a) \in R$ for every $a \in A$, symmetric if $(a, b) \in R$ forces $(b, a) \in R$, and transitive if $(a, b), (b, c) \in R$ force $(a, c) \in R$. An equivalence relation has all three.

The 2026 papers like counting questions: the number of pairs $(a, b)$ in $A \times A$ with $a$ dividing $b$ and $a < b$, or the pairs in $A \times B$ with a divisibility condition. Fix the first element, count the valid second elements, and add. Write the small cases out; a missed pair costs the whole numerical answer.

For the smallest number of pairs to add to make a relation transitive, chase every chain $(a, b), (b, c)$ and add $(a, c)$; then check the new pairs for fresh chains. To show a relation is not transitive, one counterexample is enough. For $a R b \iff 1 + ab > 0$ on $\mathbb{R}$: it is reflexive and symmetric, but $(2, 0)$ and $(0, -1)$ are in $R$ while $1 + 2(-1) < 0$, so it is not an equivalence relation.

### Domain of a function

*Asked in 1 of 3 years, 3 questions.*

Domain questions appeared in three 2026 shifts. Collect every restriction and intersect them:

- $\sqrt{g(x)}$ needs $g(x) \ge 0$; $\frac{1}{g(x)}$ needs $g(x) \neq 0$.
- $\log_a g(x)$ needs $g(x) > 0$. With base $a$ between 0 and 1, $\log_a t \ge 0$ means $0 < t \le 1$; with $a > 1$ it means $t \ge 1$.
- $\sin^{-1} g(x)$ and $\cos^{-1} g(x)$ need $-1 \le g(x) \le 1$.
- With $[x]$, split $x$ into intervals $[n, n+1)$ where $[x] = n$ is a constant, solve on each, and join the pieces.

For $\sqrt{\log_{0.6} |g(x)|}$, the base is less than 1, so the condition is $0 < |g(x)| \le 1$, not $|g(x)| \ge 1$.

### One-one, onto and counting functions

*Asked in 2 of 3 years, 4 questions.*

$f$ is one-one if $f(x_1) = f(x_2)$ forces $x_1 = x_2$, and onto if its range equals the codomain. A continuous function on an interval is one-one exactly when it is strictly monotonic, so check the sign of $f'(x)$. For $f(x) = \frac{x}{1 + x^2}$ on $\mathbb{R}$, $f(2) = f(\frac12) = \frac25$, so it is not one-one; its range is $[-\frac12, \frac12]$, so it is onto that interval.

For a rational function from $\mathbb{R}$ to $\mathbb{R}$, set $y = f(x)$, solve for $x$ and see which $y$ give no real $x$. Those values are missing from the range, so the function is not onto $\mathbb{R}$.

Counting: from a set of $m$ elements to a set of $n$ elements there are $n^m$ functions and $^nP_m$ one-one functions ($m \le n$). Onto functions come from inclusion-exclusion; from a 4-element set to a 3-element set there are $81 - 48 + 3 = 36$, so 45 are not onto. If $f$ is strictly increasing, the equation $f(x) = f^{-1}(x)$ has the same solutions as $f(x) = x$, because the two graphs are mirror images in $y = x$.

### Functional equations

*Asked in 2 of 3 years, 3 questions.*

Substitute values that kill terms: $x = 0$, $y = 0$, $y = x$ or $y = -x$. From $f(x + y) = f(x) + 2y^2 + y + \alpha xy$, putting $x = 0$ gives $f(y) = f(0) + 2y^2 + y$. Substituting this form back and comparing the $xy$ terms gives $\alpha = 4$.

When the answer must be a polynomial, assume its degree from the equation, write $f(x) = ax^2 + bx + c$ or similar, compare coefficients and use the given value (such as $f(6) = 37$) to fix the constant. Then a sum like $f(1) + \dots + f(10)$ needs only $\sum n$ and $\sum n^2$. Standard solutions: $f(x + y) = f(x) + f(y)$ gives $f(x) = kx$ for continuous $f$, and $f(xy) = f(x) + f(y)$ gives $k \log x$.

### Mathematical reasoning (older papers)

*Asked in 2 of 3 years, 2 questions.*

The 2016 and 2017 papers each had one logic question: a Boolean expression to simplify and a compound conditional to classify. NTA dropped mathematical reasoning from the JEE Main syllabus in the 2024 revision, and none of the 2026 shifts asks it. If you meet these in old papers, use $p \to q \equiv \sim p \vee q$ and De Morgan's laws, or a truth table.

## Key formulas

The essentials are below. For the complete list with every symbol explained, see the [Sets, Relations and Functions formula sheet](/formulas/mathematics/sets-relations-and-functions/).

- **Union of two and three sets**

  $$n(A \cup B \cup C) = \sum n(A) - \sum n(A \cap B) + n(A \cap B \cap C)$$

- **Number of relations**

  $$\text{from } A \text{ to } B: 2^{mn}, \qquad \text{reflexive on } A: 2^{m^2 - m}, \qquad \text{symmetric on } A: 2^{m(m+1)/2}$$

  Here $n(A) = m$ and $n(B) = n$.

- **Functions and one-one functions**

  $$\#\{f: A \to B\} = n^m, \qquad \#\{\text{one-one}\} = {}^nP_m = \frac{n!}{(n - m)!}$$

- **Onto functions**

  $$\#\{\text{onto}\} = \sum_{k=0}^{n} (-1)^k \binom{n}{k} (n - k)^m$$

  For $n = 3$ this is $3^m - 3 \cdot 2^m + 3$.

- **Logarithm sign rule**

  $$0 < a < 1: \ \log_a t \ge 0 \iff 0 < t \le 1; \qquad a > 1: \ \log_a t \ge 0 \iff t \ge 1$$

- **Inverse trigonometric domains**

  $$\sin^{-1} x, \ \cos^{-1} x: \ x \in [-1, 1]; \qquad \tan^{-1} x: \ x \in \mathbb{R}$$

## Standard question types

1. **Count a relation.** Pairs $(a, b)$ in a small product set satisfying divisibility and an order condition, given as a numerical answer. List by the first element and add; do not trust a formula.
2. **Test the properties.** Decide whether a relation is reflexive, symmetric, transitive or an equivalence, or find the fewest pairs to add for transitivity. Look for a counterexample with 0, 1 or a negative number.
3. **Find a domain.** Logarithm with a base below 1 under a square root, or $\sin^{-1}$, $\cos^{-1}$ of an expression with $[x]$. The answer is usually asked as the sum of interval endpoints, so keep open and closed ends straight.
4. **One-one or onto.** Decide for a given rational function, or count functions that are not onto. Use the derivative or a pair of equal values for one-one, and the range for onto.
5. **Functional equation to a number.** Find $\alpha$ or the polynomial $f$, then a sum of $f(n)$. Substitute $x = 0$ first.

## Common traps

- In $\log_{0.6} t \ge 0$ the inequality flips because the base is less than 1: the solution is $0 < t \le 1$. Using $t \ge 1$ gives the complement of the right domain.
- Not onto is the complement of onto. From a 4-element set to a 3-element set, 36 functions are onto, so the answer to "not onto" is $81 - 36 = 45$, not 36.
- A relation on $A$ that is empty is symmetric and transitive but not reflexive. Do not assume a property fails just because no pairs test it.
- When adding pairs for transitivity, newly added pairs can create new chains. Repeat the check until nothing changes before you count.
- $f(x) = \frac{x}{1 + x^2}$ onto $[-\frac12, \frac12]$ is onto, but onto $\mathbb{R}$ it would not be. The codomain in the question decides surjectivity.
- With $[x]$ inside $\sin^{-1}$, the expression jumps at every integer. Check each integer endpoint separately; many wrong answers include or drop one endpoint.

## Practise with real papers

- **[JEE Main 2026: 4 April, shift 2](/jee-main/2026/)** (2 questions from this chapter, [PDF](/papers/jee-main/2026/session-2-04-apr-shift-2.pdf)). Q1 is on solutions of $f(x) = f^{-1}(x)$ and Q16 is a functional equation with an unknown $\alpha$. Good practice for the reasoning-style questions of the 2026 papers.
- **[JEE Main 2026: 8 April, shift 2](/jee-main/2026/)** (2 questions from this chapter, [PDF](/papers/jee-main/2026/session-2-08-apr-shift-2.pdf)). Q1 counts a relation and tests it for equivalence; Q25 builds a polynomial from a functional equation and asks for a numerical sum.
- **[JEE Main 2017: Paper 1, set A (pen and paper)](/jee-main/2017/)** (2 questions from this chapter, [PDF](/papers/jee-main/2017/paper-1-set-a.pdf)). Q61 is the classic one-one and onto check for $\frac{x}{1 + x^2}$; Q90 is a reasoning question from the old syllabus.

Every Sets, Relations and Functions question from 2016–2026, with the official answer, is on the [Sets, Relations and Functions JEE Main PYQ page](/jee-main/chapters/sets-relations-functions/).

## More Mathematics notes

- [Complex Numbers and Quadratic Equations notes](/jee-main/notes/complex-numbers-quadratic/)
- [Matrices and Determinants notes](/jee-main/notes/matrices-determinants/)
- [Permutations and Combinations notes](/jee-main/notes/permutations-combinations/)
- [Binomial Theorem notes](/jee-main/notes/binomial-theorem/)
- [Sequences and Series notes](/jee-main/notes/sequences-series/)
- [Limits, Continuity and Differentiability notes](/jee-main/notes/limits-continuity-differentiability/)
- [Integral Calculus notes](/jee-main/notes/integral-calculus/)
- [Differential Equations notes](/jee-main/notes/differential-equations/)
- [Coordinate Geometry notes](/jee-main/notes/coordinate-geometry/)
- [Three-Dimensional Geometry notes](/jee-main/notes/three-dimensional-geometry/)
- [Vector Algebra notes](/jee-main/notes/vector-algebra/)
- [Statistics and Probability notes](/jee-main/notes/statistics-probability/)
- [Trigonometry notes](/jee-main/notes/trigonometry/)

## FAQ

### How many Sets, Relations and Functions questions come in JEE Main?
16 in the 11 official JEE Main papers we tagged from 2016 to 2026, asked in all 3 years. Most asked: One-one, onto and counting functions (4 questions, 2 of 3 years); Functional equations (3 questions, 2 of 3 years); Mathematical reasoning (older papers) (2 questions, 2 of 3 years).

### Is Sets, Relations and Functions important for JEE Main?
It is a small but steady chapter. Each of the nine 2026 shifts in our data had at most two questions from it, mostly on relations, domains and functional equations, and several were numerical-value questions.

### Is mathematical reasoning still in the JEE Main syllabus?
No. It was dropped when NTA revised the syllabus for 2024. In our data the only reasoning questions are from the 2016 and 2017 papers.

### Which part of relations is asked in JEE Main 2026?
Counting the pairs of a relation defined by divisibility, testing transitivity and equivalence, and finding the fewest pairs to add to make a relation transitive.
