QlarIITy

MathematicsJEE Main 2024 · 29 JanuarySingle correct

If f(x)={2+2x,−1≤x<01−x3,0≤x≤3f(x) = \begin{cases} 2 + 2x, & -1 \leq x < 0 \\ 1 - \frac{x}{3}, & 0 \leq x \leq 3 \end{cases}; g(x)={−x,−3≤x≤0x,0<x≤1g(x) = \begin{cases} -x, & -3 \leq x \leq 0 \\ x, & 0 < x \leq 1 \end{cases}, then range of (f∘g(x))(f \circ g(x)) is

  1. Option A: (0, 1]
  2. Option B: [0, 3)
  3. Option C: [0, 1]
  4. Option D: [0, 1)
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 range of a composite is the image of the range of the inner function.

Concept refresher. The range of a composite f∘gf \circ g is the set of values of ff on the range of gg; a decreasing function on [p,q][p, q] takes the values

f(q)≤y≤f(p)f(q) \leq y \leq f(p)

Picture the situation. On [−3,0][-3, 0] the inner function g(x)=−xg(x) = -x takes the values from 0 to 3, and on (0,1](0, 1] it takes the values from 0 to 1. So gg never gives a negative value, and only the piece f(x)=1−x3f(x) = 1 - \dfrac{x}{3} of the outer function is used.

The graph of the composite on the x and y axes, from x = −3 to x = 1. A straight line rises from the point (−3, 0) on the x-axis to the point (0, 1) on the y-axis, and a second straight line falls from there to the point (1, 2/3).

Approach. Find the range of the inner function, then the values of the outer function on it.

  1. Step 1: The inner function

    The values of gg are [0,3][0, 3] from the first piece and (0,1](0, 1] from the second, so its range is [0,3][0, 3].

  2. Step 2: The outer function

    On [0,3][0, 3] the line 1−x31 - \dfrac{x}{3} decreases from 1 at 0 to 0 at 3, so f∘gf \circ g takes every value in [0,1][0, 1].

Answer. (C) [0,1][0, 1]

Sanity check. The value 1 is reached at x=0x = 0, where g=0g = 0, and the value 0 at x=−3x = -3, where g=3g = 3.

Why the other options are wrong

  • (A) The value 0 is reached, at x=−3x = -3, where g=3g = 3 and f(3)=0f(3) = 0.
  • (B) The interval from 0 to 3 is the range of gg, not of f∘gf \circ g.
  • (D) The value 1 is reached, at x=0x = 0, where g=0g = 0 and f(0)=1f(0) = 1.

Key takeaway

The trap. A piece of the outer function matters only if the inner function reaches its inputs.

How toppers think. They write the range of the inner function before touching the outer one.

Remember. gg covers [0,3][0, 3], and ff maps it to [0,1][0, 1]

More on Composite & Inverse Functions