QlarIITy

MathematicsJEE Main 2025 · 23 JanuarySingle correct

Let f(x)=log⁡exf(x) = \log_e x and g(x)=x4−2x3+3x2−2x+22x2−2x+1g(x) = \frac{x^4 - 2x^3 + 3x^2 - 2x + 2}{2x^2 - 2x + 1}. Then the domain of f∘gf \circ g is

  1. Option A: [0,∞)[0, \infty)
  2. Option B: [1,∞)[1, \infty)
  3. Option C: (0,∞)(0, \infty)
  4. Option D: R\mathbb{R}
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. The domain of a logarithm of a function is where that function is positive.

Concept refresher. A logarithm log⁡bu\log_b u needs

u>0u > 0

and a product of simple linear factors changes sign only at its zeros.

Picture the situation. The composite f(g(x))=log⁡eg(x)f(g(x)) = \log_e g(x) needs g(x)>0g(x) > 0. The denominator 2x2−2x+12x^2 - 2x + 1 has discriminant 4−8<04 - 8 < 0 and is always positive. So the sign of gg is the sign of its numerator.

Approach. Show that the numerator is positive for every real number.

  1. Step 1: The numerator

    The numerator factorises as (x2+1)(x2−2x+2)(x^2 + 1)(x^2 - 2x + 2), and x2−2x+2=(x−1)2+1x^2 - 2x + 2 = (x - 1)^2 + 1, so both factors are positive.

  2. Step 2: The domain

    So g(x)>0g(x) > 0 for every real xx, the logarithm is always defined, and the domain of f∘gf \circ g is R\mathbb{R}.

Answer. (D) R\mathbb{R}

Sanity check. At x=0x = 0 the value is g=21=2g = \dfrac{2}{1} = 2, and at x=1x = 1 it is again 21=2\dfrac{2}{1} = 2, both positive.

Why the other options are wrong

  • (A) Negative numbers are allowed too: at x=−1x = -1 the function is g=105=2g = \dfrac{10}{5} = 2, which is positive.
  • (B) Numbers below 1 are allowed: at x=0x = 0 the function is g=2g = 2, whose logarithm exists.
  • (C) The point x=0x = 0 and the negative numbers are allowed, since gg is positive everywhere.

Key takeaway

The trap. The domain of the composite is about the sign of the inner function, not the sign of the variable.

How toppers think. They complete squares to show that a quadratic factor is always positive.

Remember. x2−2x+2=(x−1)2+1x^2 - 2x + 2 = (x - 1)^2 + 1

More on Composite & Inverse Functions