Let f and g be two functions defined by f(x)={x+1,x<0|x-1|, x≥0 and g(x)={x+1,x<01,x≥0 Then (gof)(x) is [2023]
(1)
We have,
f(x)={x+1,x<0|x-1|,x≥0 and g(x)={x+1,x<01,x≥0
f(x)={x+1,x<0x-1,x≥11-x,0≤x<1 ∴ (gof)(x)={x+2,x<-11,x≥-1
Hence, (gof)(x) is not differentiable at x=-1, but it is continuous everywhere.