QlarIITy

MathematicsJEE Main 2025 · 24 JanuarySingle correct

The function f:(−∞,∞)→(−∞,1)f : (-\infty, \infty) \to (-\infty, 1), defined by f(x)=2x−2−x2x+2−xf(x) = \frac{2^x - 2^{-x}}{2^x + 2^{-x}} is:

  1. Option A: Neither one-one nor onto
  2. Option B: Onto but not one-one
  3. Option C: Both one-one and onto
  4. Option D: One-one but not 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. Whether a function is onto depends on the stated codomain, not only on the formula.

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

f(x1)=f(x2)f(x_1) = f(x_2)

forces x1=x2x_1 = x_2, and onto when its range is the whole of BB.

Picture the situation. Multiplying numerator and denominator by 2x2^x gives f(x)=4x−14x+1=1−24x+1f(x) = \dfrac{4^x - 1}{4^x + 1} = 1 - \dfrac{2}{4^x + 1}. As xx increases, 4x4^x increases, so the subtracted term decreases. The codomain is given as (−∞,1)(-\infty, 1).

The graph of the function on the x and y axes, with dashed horizontal lines labelled y = 1 and y = −1. The curve rises through the origin from just above the lower dashed line on the left to just below the upper dashed line on the right, without touching either.

Approach. Show that the function is increasing, find its range, and compare with the codomain.

  1. Step 1: One-one

    Since 24x+1\dfrac{2}{4^x + 1} decreases as xx grows, ff is strictly increasing and therefore one-one.

  2. Step 2: Not onto

    The term 24x+1\dfrac{2}{4^x + 1} takes every value in (0,2)(0, 2), so the range is (−1,1)(-1, 1). Values of the codomain at or below −1-1 are never taken, so ff is not onto.

Answer. (D) One-one but not onto

Sanity check. For example f(x)=−2f(x) = -2 would need 4x−1=−2(4x+1)4^x - 1 = -2(4^x + 1), that is 4x=−134^x = -\dfrac{1}{3}, which is impossible.

Why the other options are wrong

  • (A) It is one-one, because 1−24x+11 - \dfrac{2}{4^x + 1} is strictly increasing.
  • (B) It is one-one and not onto, the reverse of this option: the range is only (−1,1)(-1, 1).
  • (C) It is not onto, since values such as −2-2 in the codomain are never taken.

Key takeaway

The trap. The range must fill the whole codomain for the function to be onto.

How toppers think. They write the function as a constant minus a simple decreasing term.

Remember. f(x)=1−24x+1f(x) = 1 - \dfrac{2}{4^x + 1}

More on Types of Functions