Mathematics Sets, Relations and Functions

Sets, Relations & Functions — Previous Year Questions (JEE Main 2026)

Solved JEE Main 2026 previous year questions on Sets, Relations & Functions — domains, modulus and log equations, counting relations, transitivity, one-one/onto and functional equations — with step-by-step solutions.

13 min read Updated Jul 2026 #pyq#previous year questions#jee-main-2026

Solved JEE Main 2026 questions from the Sets, Relations & Functions chapter — covering domains of functions, modulus and logarithmic equations, counting elements of relations, transitivity, one-one/onto behaviour and functional equations — each with a concise step-by-step solution.

Solutions are AI-generated and pending review.

JEE Main 2026 · Apr 4, Shift 1 Q695278226
Let $[\cdot]$ denote the greatest integer function. If the domain of the function $f(x) = \cos^{-1}\left(\dfrac{4x + 2[x]}{3}\right)$ is $[\alpha, \beta]$, then $12(\alpha + \beta)$ is equal to:
Solution

$\cos^{-1}(t)$ needs $-1 \le t \le 1$, so

$$-1 \le \frac{4x + 2[x]}{3} \le 1 \implies -3 \le 4x + 2[x] \le 3.$$

Test the two integer strips that can satisfy this:

  • For $x \in [0,1)$, $[x] = 0$: need $-3 \le 4x \le 3 \Rightarrow x \le \tfrac34$. So $x \in \left[0, \tfrac34\right]$.
  • For $x \in [-1,0)$, $[x] = -1$: need $-3 \le 4x - 2 \le 3 \Rightarrow -\tfrac14 \le x < 0$.

Outside these strips $4x + 2[x]$ leaves $[-3,3]$. Hence the domain is

$$\left[-\tfrac14,\ \tfrac34\right],\qquad \alpha = -\tfrac14,\ \beta = \tfrac34.$$$$12(\alpha + \beta) = 12 \cdot \tfrac12 = 6.$$

Answer: A (6)

  1. A 6
  2. B 8
  3. C 9
  4. D 4
JEE Main 2026 · Apr 4, Shift 1
JEE Main 2026 · Apr 4, Shift 1 Q695278227
If the set of all solutions of $|x^2 + x - 9| = |x| + |x^2 - 9|$ is $[\alpha, \beta] \cup [\gamma, \infty)$, then $(\alpha^2 + \beta^2 + \gamma^2)$ is equal to:
Solution

Write the left side as $\left|x + (x^2 - 9)\right|$. Using $|A + B| = |A| + |B|$ iff $A$ and $B$ have the same sign (or either is $0$), with $A = x$ and $B = x^2 - 9$:

$$|x + (x^2 - 9)| = |x| + |x^2 - 9| \iff x\,(x^2 - 9) \ge 0.$$

Factor: $x(x-3)(x+3) \ge 0$. A sign analysis gives

$$x \in [-3, 0] \cup [3, \infty).$$

So $\alpha = -3,\ \beta = 0,\ \gamma = 3$, and

$$\alpha^2 + \beta^2 + \gamma^2 = 9 + 0 + 9 = 18.$$

Answer: B (18)

  1. A 9
  2. B 18
  3. C 36
  4. D 72
JEE Main 2026 · Apr 4, Shift 1
JEE Main 2026 · Apr 6, Shift 1 Q6952782136
Let $[\cdot]$ denote the greatest integer function. If the domain of the function $f(x) = \sin^{-1}\left(\dfrac{x + [x]}{3}\right)$ is $[\alpha, \beta)$, then $\alpha^2 + \beta^2$ is equal to:
Solution

$\sin^{-1}(t)$ needs $-1 \le t \le 1$, so

$$-3 \le x + [x] \le 3.$$

Check each integer strip:

  • $x \in [-1, 0)$, $[x] = -1$: $x + [x] = x - 1 \in [-2,-1)$, valid $\Rightarrow$ all of $[-1,0)$.
  • $x \in [0, 1)$, $[x] = 0$: $x + [x] = x \in [0,1)$, valid.
  • $x \in [1, 2)$, $[x] = 1$: $x + [x] = x + 1 \in [2,3)$, valid $\Rightarrow$ all of $[1,2)$.
  • $x \in [2, 3)$, $[x] = 2$: $x + [x] \ge 4 > 3$, invalid.
  • $x < -1$: $x + [x] < -2$ soon drops below $-3$, invalid.

Combining the valid strips gives the domain $[-1, 2)$, so $\alpha = -1,\ \beta = 2$ and

$$\alpha^2 + \beta^2 = 1 + 4 = 5.$$

Answer: B (5)

  1. A 2
  2. B 5
  3. C 10
  4. D 13
JEE Main 2026 · Apr 6, Shift 1
JEE Main 2026 · Apr 2, Shift 1 Q6911215
Let $A$ be the set of first 101 terms of an A.P., whose first term is 1 and the common difference is 5 and let $B$ be the set of first 71 terms of an A.P., whose first term is 9 and the common difference is 7. Then the number of elements in $A \cap B$, which are divisible by 3, is:
Solution
$$A = \{5k + 1 : 0 \le k \le 100\} = \{1, 6, \dots, 501\},$$

$$B = \{7m + 9 : 0 \le m \le 70\} = \{9, 16, \dots, 499\}.$$

Common terms satisfy $5k + 1 = 7m + 9$. The smallest common term is $16$, and common terms recur with period $\operatorname{lcm}(5,7) = 35$:

$$A \cap B = \{16, 51, 86, \dots\},\quad 16 + 35t.$$

The largest such term $\le \min(501, 499) = 499$ is $16 + 35(13) = 471$, so $t = 0,\dots,13$ (14 terms).

Divisible by 3: $16 + 35t \equiv 0 \pmod 3 \Rightarrow 1 + 2t \equiv 0 \Rightarrow t \equiv 1 \pmod 3$.

$$t = 1, 4, 7, 10, 13 \;\Rightarrow\; \{51, 156, 261, 366, 471\}.$$

That is 5 elements.

Answer: B (5)

  1. A 4
  2. B 5
  3. C 6
  4. D 7
JEE Main 2026 · Apr 2, Shift 1
JEE Main 2026 · Apr 2, Shift 1 Q69112121
If the domain of the function $f(x) = \sqrt{\log_{(0.6)}\left(\left|\dfrac{2x-5}{x^2-4}\right|\right)}$ is $(-\infty, a] \cup \{b\} \cup [c, d) \cup (e, \infty)$, then the value of $a + b + c + d + e$ is __________.
Solution

Two requirements:

  1. The log argument must be defined and positive: $\left|\dfrac{2x-5}{x^2-4}\right| > 0$, so $x \ne 2, -2$ and $x \ne \tfrac52$ (numerator zero makes the value $0$).
  2. The square root needs $\log_{0.6}(\cdot) \ge 0$. Since base $0.6 < 1$, this means $\left|\dfrac{2x-5}{x^2-4}\right| \le 1$, i.e. $|2x - 5| \le |x^2 - 4|$.

Square the last inequality:

$$(x^2 - 4)^2 - (2x - 5)^2 \ge 0 \implies (x^2 - 2x + 1)(x^2 + 2x - 9) \ge 0,$$

$$(x - 1)^2\,(x^2 + 2x - 9) \ge 0.$$

Since $(x-1)^2 \ge 0$, this holds when $x^2 + 2x - 9 \ge 0$ (or $x = 1$). Roots of $x^2 + 2x - 9$ are $-1 \pm \sqrt{10}$, so

$$x \le -1 - \sqrt{10}\quad\text{or}\quad x \ge -1 + \sqrt{10},\qquad \text{plus the isolated point } x = 1.$$

Now remove $x = \tfrac52$ (excluded above), which lies in the right branch and splits it:

$$\text{Domain} = (-\infty,\, -1-\sqrt{10}] \cup \{1\} \cup [-1+\sqrt{10},\ \tfrac52) \cup (\tfrac52,\ \infty).$$

Matching, $a = -1-\sqrt{10},\ b = 1,\ c = -1+\sqrt{10},\ d = \tfrac52,\ e = \tfrac52$:

$$a + b + c + d + e = (-1-\sqrt{10}) + 1 + (-1+\sqrt{10}) + \tfrac52 + \tfrac52 = -1 + 5 = 4.$$

Answer: 4

JEE Main 2026 · Apr 2, Shift 1
JEE Main 2026 · Apr 4, Shift 2 Q695278376
For the function $f : [1,\infty) \to [1,\infty)$ defined by $f(x) = (x-1)^4 + 1$, among the two statements: (I) The set $S = \{x \in [1,\infty) : f(x) = f^{-1}(x)\}$ contains exactly two elements, and (II) The set $S = \{x \in [1,\infty) : f(x) = f^{-1}(x+1)\}$ is an empty set,
Solution

On $[1,\infty)$, $f$ is strictly increasing, so its inverse is $f^{-1}(x) = 1 + (x - 1)^{1/4}$.

Statement (I). For a strictly increasing $f$, $f(x) = f^{-1}(x)$ holds exactly at the fixed points $f(x) = x$:

$$(x-1)^4 + 1 = x \implies (x-1)^4 = x - 1.$$

Put $t = x - 1 \ge 0$: $t^4 = t \Rightarrow t(t^3 - 1) = 0 \Rightarrow t = 0,\,1$, giving $x = 1, 2$. So $S$ has exactly two elements — (I) is TRUE.

Statement (II). $f^{-1}(x+1) = 1 + (x+1-1)^{1/4} = 1 + x^{1/4}$. The equation is

$$(x-1)^4 + 1 = 1 + x^{1/4} \implies (x-1)^4 = x^{1/4}.$$

At $x = 1$ the left side is $0$ and the right side is $1$ (left $<$ right); as $x$ grows, $(x-1)^4$ overtakes $x^{1/4}$, so by continuity a solution exists near $x \approx 2.05$. Thus $S$ is not empty — (II) is FALSE.

Only (I) is true.

Answer: A (only (I) is TRUE)

  1. A only (I) is TRUE
  2. B only (II) is TRUE
  3. C both (I) and (II) are TRUE
  4. D neither (I) nor (II) is TRUE
JEE Main 2026 · Apr 4, Shift 2
JEE Main 2026 · Apr 4, Shift 2 Q695278391
Let for some $\alpha \in \mathbb{R}$, $f : \mathbb{R} \to \mathbb{R}$ be a function satisfying $f(x + y) = f(x) + 2y^2 + y + \alpha xy$ for all $x, y \in \mathbb{R}$. If $f(0) = -1$ and $f(1) = 2$, then the value of $\displaystyle\sum_{n=1}^{5}\left(\alpha + f(n)\right)$ is:
Solution

Put $x = 0$:

$$f(y) = f(0) + 2y^2 + y = 2y^2 + y - 1.$$

Check: $f(1) = 2 + 1 - 1 = 2$. ✓

Find $\alpha$ by expanding both sides with $f(t) = 2t^2 + t - 1$:

$$f(x+y) = 2(x+y)^2 + (x+y) - 1 = 2x^2 + 4xy + 2y^2 + x + y - 1,$$

$$f(x) + 2y^2 + y + \alpha xy = 2x^2 + x - 1 + 2y^2 + y + \alpha xy.$$

Comparing the $xy$ terms: $4xy = \alpha xy \Rightarrow \alpha = 4$.

Now

$$\sum_{n=1}^{5}\big(\alpha + f(n)\big) = 5\alpha + \sum_{n=1}^{5} f(n) = 20 + \sum_{n=1}^{5}(2n^2 + n - 1).$$

$$\sum_{n=1}^{5} f(n) = 2\cdot 55 + 15 - 5 = 110 + 10 = 120.$$

$$\text{Total} = 20 + 120 = 140.$$

Answer: B (140)

  1. A 110
  2. B 140
  3. C 150
  4. D 170
JEE Main 2026 · Apr 4, Shift 2
JEE Main 2026 · Apr 2, Shift 2 Q691121171
Let $A = \{2, 3, 4, 5, 6\}$. Let $R$ be a relation on the set $A \times A$ given by $(x, y)R(z, w)$ if and only if $x$ divides $z$ and $y \leq w$. Then the number of elements in $R$ is __________.
Solution

The two conditions “$x \mid z$” and “$y \le w$” are independent, so

$$|R| = \#\{(x,z) : x \mid z\} \times \#\{(y,w) : y \le w\}.$$

Divisibility pairs in $A = \{2,3,4,5,6\}$ (count $z$ that each $x$ divides):

  • $x=2$: $z \in \{2,4,6\}$ → 3
  • $x=3$: $z \in \{3,6\}$ → 2
  • $x=4$: $z \in \{4\}$ → 1
  • $x=5$: $z \in \{5\}$ → 1
  • $x=6$: $z \in \{6\}$ → 1

Total $= 3+2+1+1+1 = 8$.

Ordered pairs with $y \le w$: out of $5 \times 5 = 25$, the number with $y \le w$ is $\dfrac{25 + 5}{2} = 15$.

$$|R| = 8 \times 15 = 120.$$

Answer: 120

JEE Main 2026 · Apr 2, Shift 2
JEE Main 2026 · Apr 6, Shift 2 Q6911211201
Let $f:\mathbb{R}\to\mathbb{R}$ be defined as $f(x)=\dfrac{2x^2-3x+2}{3x^2+x+3}$. Then $f$ is:
Solution

The denominator $3x^2 + x + 3$ has discriminant $1 - 36 < 0$, so it is always positive and $f$ is defined on all of $\mathbb{R}$.

Onto? Set $y = f(x)$ and clear denominators:

$$y(3x^2 + x + 3) = 2x^2 - 3x + 2 \implies (3y - 2)x^2 + (y + 3)x + (3y - 2) = 0.$$

For a real $x$ (with $3y - 2 \ne 0$) the discriminant must be $\ge 0$:

$$(y+3)^2 - 4(3y-2)^2 \ge 0 \implies (y - \tfrac17)(y - \tfrac75) \le 0 \implies y \in \left[\tfrac17, \tfrac75\right].$$

The range is the bounded interval $\left[\tfrac17, \tfrac75\right] \ne \mathbb{R}$, so $f$ is not onto.

One-one? For a generic value $y$ in the range the quadratic in $x$ has two distinct roots, so different $x$ map to the same $y$ (e.g. $f(0) = \tfrac23 = f\!\left(\tfrac{?}{}\right)$ has a second preimage). Hence $f$ is not one-one.

$f$ is neither one-one nor onto.

Answer: D (neither one-one nor onto)

  1. A both one-one and onto
  2. B one-one but not onto
  3. C onto but not one-one
  4. D neither one-one nor onto
JEE Main 2026 · Apr 6, Shift 2
JEE Main 2026 · Apr 6, Shift 2 Q6911211221
Let $R=\left\{(x,y)\in\mathbb{N}\times\mathbb{N}:\log_e(x+y)\le 2\right\}$. Then the minimum number of elements, required to be added in $R$ to make it a transitive relation, is __________.
Solution

$\log_e(x+y) \le 2 \iff x + y \le e^2 \approx 7.389$. With $x, y \in \mathbb{N}$ (so $\ge 1$), this means

$$R = \{(x,y) : x + y \le 7\}.$$

Counting by $s = x+y$ from $2$ to $7$: sizes $1,2,3,4,5,6$, so $|R| = 21$.

For transitivity we need: whenever $(x,y), (y,z) \in R$, also $(x,z) \in R$. The minimum superset that is transitive is the transitive closure of $R$.

$R$ contains $(1,1),\dots$ and links every $a \le 6$ to every $b \le 6$ eventually (e.g. $(1,6)$ and $(6,1)$ chain to force $(a,b)$ for all $a,b \in \{1,\dots,6\}$). Computing the transitive closure gives the full block $\{1,\dots,6\}\times\{1,\dots,6\}$ (size $36$) — every pair $(a,b)$ with $a,b \le 6$ becomes forced, while pairs involving a coordinate $\ge 7$ do not arise.

$$\text{closure size} = 36,\qquad \text{elements to add} = 36 - 21 = 15.$$

Answer: 15

JEE Main 2026 · Apr 6, Shift 2
JEE Main 2026 · Apr 5, Shift 2 Q691121471
Let $A = \{1, 4, 7\}$ and $B = \{2, 3, 8\}$. Then the number of elements, in the relation $R = \{((a_1, b_1), (a_2, b_2)) \in ((A \times B) \times (A \times B)) : a_1 + b_2 \text{ divides } a_2 + b_1\}$ is __________.
Solution

Each element of $A \times B$ is a pair $(a, b)$; there are $9$ such pairs. We count quadruples where $(a_1 + b_2) \mid (a_2 + b_1)$.

Let $s = a_1 + b_2$ (from the first pair’s $a$ and the second pair’s $b$) and $t = a_2 + b_1$. Both $s$ and $t$ range over sums $a + b$ with $a \in \{1,4,7\}$, $b \in \{2,3,8\}$, i.e. values in $\{3,4,9,6,7,12,9,10,15\}$.

Enumerating all $9 \times 9 = 81$ ordered pairs $((a_1,b_1),(a_2,b_2))$ and checking $(a_1+b_2)\mid(a_2+b_1)$ gives exactly $18$ satisfying quadruples.

$$|R| = 18.$$

Answer: 18

JEE Main 2026 · Apr 5, Shift 2
JEE Main 2026 · Apr 8, Shift 2 Q691121526
Consider the relation $R$ on the set $\{-2, -1, 0, 1, 2\}$ defined by $(a, b) \in R$ if and only if $1 + ab > 0$. Then, among the statements: I. The number of elements in $R$ is 17 II. $R$ is an equivalence relation
Solution

On $S = \{-2,-1,0,1,2\}$, count pairs with $1 + ab > 0$, i.e. $ab > -1$.

  • If either $a = 0$ or $b = 0$: $ab = 0 > -1$ → all such pairs qualify. That is $2\cdot 5 - 1 = 9$ pairs (rows/columns through $0$).
  • Among nonzero $a, b \in \{-2,-1,1,2\}$: need $ab > -1$, i.e. $ab \ge 1$ (both same sign) — products of opposite signs give $ab \le -1$, excluded. Same-sign pairs: $\{-2,-1\}^2$ gives $4$, $\{1,2\}^2$ gives $4$ → $8$ pairs.

Total $= 9 + 8 = 17$. So Statement I is TRUE.

Equivalence? $R$ is reflexive ($1 + a^2 > 0$) and symmetric ($ab = ba$), but not transitive: $(-2, 0) \in R$ and $(0, 1) \in R$, yet $1 + (-2)(1) = -1 \not> 0$ so $(-2, 1) \notin R$. Hence $R$ is not an equivalence relation — Statement II is FALSE.

Only I is true.

Answer: A (Only I is true)

  1. A Only I is true
  2. B Only II is true
  3. C Both I and II are true
  4. D Neither I nor II is true
JEE Main 2026 · Apr 8, Shift 2
JEE Main 2026 · Apr 8, Shift 2 Q691121546
The sum of squares of all the real solutions of the equation $\log_{(x+1)}(2x^2 + 5x + 3) = 4 - \log_{(2x+3)}(x^2 + 2x + 1)$ is equal to __________.
Solution

Factor the arguments:

$$2x^2 + 5x + 3 = (x+1)(2x+3),\qquad x^2 + 2x + 1 = (x+1)^2.$$

So

$$\log_{x+1}\big((x+1)(2x+3)\big) = 1 + \log_{x+1}(2x+3),$$

$$\log_{2x+3}\big((x+1)^2\big) = 2\,\log_{2x+3}(x+1).$$

Let $t = \log_{x+1}(2x+3)$, so $\log_{2x+3}(x+1) = \dfrac1t$. The equation becomes

$$1 + t = 4 - \frac{2}{t} \implies t + \frac{2}{t} = 3 \implies t^2 - 3t + 2 = 0 \implies t = 1 \text{ or } 2.$$
  • $t = 1$: $2x + 3 = x + 1 \Rightarrow x = -2$. But then base $x + 1 = -1 < 0$ — rejected.
  • $t = 2$: $2x + 3 = (x+1)^2 = x^2 + 2x + 1 \Rightarrow x^2 = 2 \Rightarrow x = \pm\sqrt2$.
    • $x = \sqrt2$: bases $x+1 \approx 2.41 > 0,\ne 1$ and $2x+3 \approx 5.83$ — valid.
    • $x = -\sqrt2 \approx -1.41$: base $x + 1 < 0$ — rejected.

Only real solution: $x = \sqrt2$.

$$\text{Sum of squares} = (\sqrt2)^2 = 2.$$

Answer: 2

JEE Main 2026 · Apr 8, Shift 2