Let f:R→R be the Signum function defined as ⎧⎪⎨⎪⎩1,x>00,x=0−1,x<0 and g:R→R be the Greatest Integer Function given by g(x)=[x], where [x] is greatest integer less than or equal to x. Then, does fog and gof coincide in (0,1]?
Open in App
Solution
Given two functions f:A→B and g:B→C, then composition of f and g, gof:A→C by
gof(x)=g(f(x))∀xϵA
Since a signum function f:R→R defined by
f(x)={1,x>00,x=0−1,x<0}
and the greatest integer function g:R→R defined by
g(x)=[x] greatest integer less than or equal to x,where xϵ(0,1]