Let f:R→R be the Signum function defined as f(x)=⎧⎪⎨⎪⎩1,x>00,x=0−1,x<0 and g:R→R be the
greatest integer function given by g(x) =[x] is greatest integer less than or equal to x. Then, fog and gof coincide in (0,1].
It is given that f:R→R is defined f(x)=⎧⎪⎨⎪⎩1,x>00,x=0−1,x<0
Also, g:R→R is defined as g(x)=[x], where [x] is the greatest integer less than or equal to x. Now, let x∈(0,1]. Then, we have
[x]=1 if x =1 and [x]=0 if 0 < x < 1
∴fog(x)=f(g(x))=f([x])={f(1), if x=1f(0), if x ∈ (0,1)={1, if x=10, x ∈ (0,1)
gof(x)=g(f(x))=g(1)=[1]=1[∵x>0]
Then, when x∈(0,1), we have fog(x)=0 and gof(x)=1.
But fog(1)≠ gof(1)
Hence, fog and gof do not coincide in (0,1].