Quantrex Quantrex AcademyJEE · NEET · NDA PYQs with solutions Open app
JEE Main 202623 JanuaryEvening Shift
Exam
JEE Main
Year
2026
Date
23 January
Shift
Evening Shift
Subject
Mathematics
Chapter
Functions

JEE Main 2026 · 23 January · Evening Shift · Mathematics · Functions

Consider two sets A=\ x ∈ Z:|(|x-3|-3)| ≤ 1\ and B=\ x ∈ ℝ-\ 1,2\ :...

Consider two sets A={x∈Z:∣(∣x−3∣−3)∣≤1}\mathrm{A}=\{x \in \mathrm{Z}:|(|x-3|-3)| \leq 1\} and B={x∈R−{1,2}:(x−2)(x−4)x−1log⁡e(∣x−2∣)=0}\mathrm{B}=\left\{x \in \mathbb{R}-\{1,2\}: \frac{(x-2)(x-4)}{x-1} \log _{e}(|x-2|)=0\right\}. Then the number of onto functions f:A→Bf: \mathrm{A} \rightarrow \mathrm{B} is equal to

Options

  1. A32
  2. B79
  3. C62
  4. D81

Correct answer

C. 62

Step-by-step solution

For set AA:
∣(∣x−3∣−3)∣≤1⇒2≤∣x−3∣≤4|(|x-3|-3)| \le 1 \Rightarrow 2 \le |x-3| \le 4.
If x≥3x \ge 3: 5≤x≤7⇒x∈{5,6,7}5 \le x \le 7 \Rightarrow x \in \{5,6,7\}.
If x<3x < 3: −1≤x≤1⇒x∈{−1,0,1}-1 \le x \le 1 \Rightarrow x \in \{-1,0,1\}.
So A={−1,0,1,5,6,7}A = \{-1,0,1,5,6,7\}, ∣A∣=6|A|=6.
For set BB:
(x−2)(x−4)x−1log⁡e(∣x−2∣)=0\frac{(x-2)(x-4)}{x-1}\log_e(|x-2|) = 0 with x∈R−{1,2}x \in \mathbb{R}-\{1,2\}.
Either (x−2)(x−4)x−1=0⇒x=4\frac{(x-2)(x-4)}{x-1}=0 \Rightarrow x=4 (since x≠1,2x \neq 1,2), or log⁡e∣x−2∣=0⇒∣x−2∣=1⇒x=3\log_e|x-2|=0 \Rightarrow |x-2|=1 \Rightarrow x=3 (since x≠1x \neq 1).
So B={3,4}B = \{3,4\}, ∣B∣=2|B|=2.
Number of onto functions from AA to BB =26−2=62= 2^6 - 2 = 62.
Practice Functions on Quantrex Academy →

More from Functions

Let ℕ denote the set of all positive integers. Consider the sets A = \ 1, 2, 3, 4, 5\ and… JEE Advanced 2026Let f:(1,∞)→ℝ be a function defined as f(x) = (x-1)/(x+1) . Let f^ i+1 (x) = f(f^i(x))… JEE Main 2026Let f be a polynomial function such that _2(f(x)) = ( _2(2+(2)/(3)+(2)/(9)+…∞))·… JEE Main 2026Let f: ℝ arrow ℝ be defined as f(x) = (2x^2 - 3x + 2)/(3x^2 + x + 3) . Then f is : JEE Main 2026Let e be the base of natural logarithm and let f: \ 1, 2, 3, 4\ arrow \ 1, e, e^2, e^3\… JEE Main 2026Let f: R arrow R be a function such that f(x) + 3f((π)/(2) - x) = x , x ∈ R . Let the… JEE Main 2026The sum of all the integral values of p such that the equation 3 ^2 x + 12 x - 3 = p , x… JEE Main 2026Let A = \ 1, 2, 3, 4, 5, 6\ . The number of one-one functions f: A arrow A such that f(1)… JEE Main 2026For the function f:[1,∞) arrow [1,∞) defined by f(x)=(x-1)^4+1 , among the two… JEE Main 2026Let for some α ∈ ℝ , f:ℝarrowℝ be a function satisfying f(x+y)=f(x)+2y^2+y+α xy for all… JEE Main 2026Let [·] denote the greatest integer function. If the domain of the function f(x) = ^ -1… JEE Main 2026The number of functions f: \ 1, 2, 3, 4\ arrow \ a, b, c\ , which are not onto, is: JEE Main 2026If the domain of the function f(x) = _ (0.6) (|(2x-5)/(x^2-4)|) is (-∞, a] \ b\ [c, d)… JEE Main 2026Given below are two statements: Statement I: The function f: R arrow R defined by… JEE Main 2026The sum of all the elements in the range of f(x)=Sgn( x)+Sgn( x)+Sgn( x)+Sgn( x) , x ≠ n… JEE Main 2026If g(x)=3 x^ 2 +2 x-3, f(0)=-3 and 4 g(f(x))=3 x^ 2 -32 x+72 , then f(g(2)) is equal to: JEE Main 2026 Full Functions list Functions JEE Maths PYQsJEE Mathematics PYQs All JEE Main PYQs