QlarIITy

MathematicsJEE Main 2023 · 13 AprilSingle correct

For x∈Rx \in \mathbb{R}, two real valued functions f(x)f(x) and g(x)g(x) are such that, g(x)=x+1g(x) = \sqrt{x} + 1 and f∘g(x)=x+3−xf \circ g(x) = x + 3 - \sqrt{x}. Then f(0)f(0) is equal to

  1. Option A: 1
  2. Option B: 5
  3. Option C: 0
  4. Option D: −3
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. A composition is undone by naming the inner function and rewriting everything in that name.

Concept refresher. If f(g(x))f(g(x)) is known, putting t=g(x)t = g(x) and writing xx in terms of tt gives f(t)f(t); for a square root, x=u\sqrt{x} = u means

x=u2x = u^2

Picture the situation. Put t=g(x)=x+1t = g(x) = \sqrt{x} + 1, so x=t−1\sqrt{x} = t - 1 and x=(t−1)2x = (t - 1)^2. Then f(t)f(t) is obtained by writing x+3−xx + 3 - \sqrt{x} in terms of tt. The value f(0)f(0) is read from the resulting formula.

Approach. Substitute for the inner function, simplify, and evaluate at 0.

  1. Step 1: The outer function

    Replacing xx by (t−1)2(t - 1)^2 and x\sqrt{x} by t−1t - 1 in the composition gives

    f(t)=(t−1)2+3−(t−1)=t2−3t+5\begin{aligned} f(t) &= (t - 1)^2 + 3 - (t - 1) \\[4pt] &= t^2 - 3t + 5 \end{aligned}
  2. Step 2: The value

    Putting t=0t = 0 in this polynomial leaves only the constant term, so f(0)=5f(0) = 5.

Answer. (B) 5

Sanity check. The values of gg are at least 1, so the data fix ff only there; f(0)f(0) is read from the same polynomial, as the question intends. Check at x=4x = 4: g=3g = 3 and f(3)=9−9+5=5f(3) = 9 - 9 + 5 = 5, which equals 4+3−24 + 3 - 2.

Why the other options are wrong

  • (A) The value 1 would come from dropping part of the constant; the constant term is 1+3+1=51 + 3 + 1 = 5.
  • (C) The value 0 treats ff as having no constant term; the polynomial is t2−3t+5t^2 - 3t + 5.
  • (D) The value −3-3 is the coefficient of tt in the polynomial, not its value at t=0t = 0.

Key takeaway

The trap. The value asked for is that of the outer function, so the new variable is set to zero, not the old one.

How toppers think. They write the outer function as a polynomial before substituting any number.

Remember. f(t)=t2−3t+5f(t) = t^2 - 3t + 5

More on Composite & Inverse Functions