QlarIITy

MathematicsIIT-JEE 2001Single correct

Let g(x)=1+x−[x]g(x)=1+x-[x] andf(x)={−1,x<00,x=01,x>0f(x)=\begin{cases}-1, & x<0\\ 0, & x=0\\ 1, & x>0\end{cases}Then for all xx, f[g(x)]f[g(x)] is equal to

  1. Option A: xx
  2. Option B: 11
  3. Option C: f(x)f(x)
  4. Option D: g(x)g(x)
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. In f(g(x))f(g(x)) only the values taken by gg matter, and g(x)=1+x−[x]g(x)=1+x-[x] always lies in [1,2)[1,2).

Concept refresher. [x][x] is the greatest integer ≤x\le x, and {x}=x−[x]\{x\}=x-[x] is the fractional part, with 0≤{x}<10\le\{x\}<1. Here ff is the signum function: it only looks at the sign of its input.

Approach. Find the range of gg, then apply ff to that range.

  1. Step 1: Range of gg

    g(x)=1+(x−[x])=1+{x} ⇒ 1≤g(x)<2g(x)=1+(x-[x])=1+\{x\}\ \Rightarrow\ 1\le g(x)<2
  2. Step 2: Apply ff

    Since g(x)>0g(x)>0 for every xx, the branch f(t)=1f(t)=1 for t>0t>0 applies:

    f[g(x)]=1for all xf[g(x)]=1\quad\text{for all }x

Answer. (B)

Why the other options are wrong

  • (A) f[g(x)]f[g(x)] is constant; for example at x=2x=2 it is 11, not 22.
  • (C) f(x)=−1f(x)=-1 for negative xx, but f[g(x)]=1f[g(x)]=1 there.
  • (D) varies, e.g. g(0.5)=1.5g(0.5)=1.5, while f[g(x)]f[g(x)] stays 11.

Key takeaway

The trap. Students substitute xx itself into the signum-type function and conclude that the answer depends on the sign of xx.

How toppers think. They find the range of the inner function first and notice that it sits entirely inside one piece of ff.

Remember. 0≤x−[x]<10\le x-[x]<1, so 1≤g(x)<21\le g(x)<2 and f(g(x))=1f(g(x))=1 for all xx.

More on Composite & Inverse Functions