QlarIITy

MathematicsJEE Main 2026 · 6 AprilSingle correct

Let f:R→Rf: \mathbb{R} \to \mathbb{R} be defined as f(x)=2x2−3x+23x2+x+3f(x) = \frac{2x^2 - 3x + 2}{3x^2 + x + 3}. Then ff is :

  1. Option A: both one-one and onto
  2. Option B: one-one but not onto
  3. Option C: onto but not one-one
  4. Option D: neither one-one nor onto
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. One-one fails as soon as two different inputs give the same output, and onto fails as soon as one value of the codomain is missed.

Concept refresher. A function f:A→Bf: A \to B is one-one when

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

for all x1,x2∈Ax_1, x_2 \in A, and onto when its range equals the whole codomain BB. For y=P(x)Q(x)y = \frac{P(x)}{Q(x)} with quadratics PP and QQ and Q(x)≠0Q(x) \neq 0 for every real xx, a value yy is in the range exactly when P(x)−yQ(x)=0P(x) - yQ(x) = 0 has a real root xx; when this is a quadratic, that means its discriminant D≥0D \geq 0.

Approach. Show two different inputs with the same output to settle one-one, then write f(x)=yf(x) = y as a quadratic in xx and use its discriminant to find the range.

  1. Step 1: Check that f is defined everywhere

    The denominator 3x2+x+33x^2 + x + 3 has discriminant 1−36=−35<01 - 36 = -35 < 0 and a positive leading coefficient, so it is positive for every real xx. Hence ff is defined on all of R\mathbb{R}.

  2. Step 2: Test one-one

    The numerator has coefficients 2,−3,22, -3, 2 and the denominator 3,1,33, 1, 3; both read the same from either end. Dividing top and bottom by x2x^2 shows the effect of replacing xx by 1x\frac{1}{x}:

    f(1x)=2−3x+2x23+x+3x2=f(x)f\left(\frac{1}{x}\right) = \frac{2 - 3x + 2x^2}{3 + x + 3x^2} = f(x)

    for every x≠0x \neq 0. For example f(2)=8−6+212+2+3=417f(2) = \frac{8 - 6 + 2}{12 + 2 + 3} = \frac{4}{17} and f(12)=417f\left(\frac{1}{2}\right) = \frac{4}{17}, so ff is not one-one.

  3. Step 3: Find the range

    Put f(x)=yf(x) = y and collect the terms as a quadratic in xx:

    (2−3y)x2−(3+y)x+(2−3y)=0(2 - 3y)x^2 - (3 + y)x + (2 - 3y) = 0

    For y≠23y \neq \frac{2}{3} a real xx exists when the discriminant is not negative:

    (3+y)2−4(2−3y)2≥0(7y−1)(7−5y)≥017≤y≤75\begin{aligned} (3 + y)^2 - 4(2 - 3y)^2 &\geq 0 \\[4pt] (7y - 1)(7 - 5y) &\geq 0 \\[4pt] \frac{1}{7} \leq y &\leq \frac{7}{5} \end{aligned}

    The value y=23y = \frac{2}{3} lies inside this interval and is reached at x=0x = 0. So the range is [17,75]\left[\frac{1}{7}, \frac{7}{5}\right], which is not R\mathbb{R}, and ff is not onto.

Answer. (D) neither one-one nor onto

Sanity check. At x=1x = 1 the value is 17\frac{1}{7} and at x=−1x = -1 it is 75\frac{7}{5}, the two ends of the range; both inputs are their own reciprocals, as the symmetry f(1x)=f(x)f\left(\frac{1}{x}\right) = f(x) predicts for the extreme points.

Smart method. When the numerator and the denominator both have palindromic coefficients, f(1x)=f(x)f\left(\frac{1}{x}\right) = f(x), so the function is never one-one. Here both quadratics also have negative discriminants and positive leading coefficients, so f(x)>0f(x) > 0 for every xx and no negative value is reached; that alone rules out onto. Both facts are read from the coefficients in seconds. The shortcut needs the codomain to be R\mathbb{R}; for a codomain equal to the range, the onto test must be done in full.

Why the other options are wrong

  • (A) Both tests fail here: f(2)=f(12)=417f(2) = f\left(\frac{1}{2}\right) = \frac{4}{17}, so two inputs share an output, and the outputs fill only [17,75]\left[\frac{1}{7}, \frac{7}{5}\right], not all of R\mathbb{R}.
  • (B) Not onto is right, since the range is [17,75]\left[\frac{1}{7}, \frac{7}{5}\right], but f(2)=417=f(12)f(2) = \frac{4}{17} = f\left(\frac{1}{2}\right), so ff is not one-one either.
  • (C) Not one-one is right, but taking every real value is not: f(x)=0f(x) = 0 would need 2x2−3x+2=02x^2 - 3x + 2 = 0, whose discriminant 9−16=−79 - 16 = -7 is negative.

Key takeaway

The trap. A function defined for every real number is not automatically onto; its outputs here never leave [17,75]\left[\frac{1}{7}, \frac{7}{5}\right].

How toppers think. They look for a symmetry such as x→1xx \to \frac{1}{x} or x→−xx \to -x before doing any algebra for one-one.

Remember. For y=P(x)Q(x)y = \frac{P(x)}{Q(x)} with quadratics and Q(x)≠0Q(x) \neq 0, the range is the set of yy for which P(x)−yQ(x)=0P(x) - yQ(x) = 0 has a real root.

More on Types of Functions