Let g(x)=1+x-[x] and f(x)={-1,x<00,x=01,x>0. Then for all x, f(g(x)) is equal to [2001]
(2)
g(x)=1+x-[x]
and f(x)={-1,x<00,x=01,x>0
For integral values of x, g(x)=1
For x<0 (but not integral value), x-[x]>0 ⇒ g(x)>1
For x>0 (but not integral value), x-[x]>0 ⇒ g(x)>1
∴ g(x)≥1, ∀ x ⇒ f(g(x))=1, ∀ x