Q.

Let f and g be two functions defined by f(x)={x+1,x<0|x-1|, x0 and g(x)={x+1,x<01,x0 Then (gof)(x) is         [2023]

1 continuous everywhere but not differentiable exactly at one point  
2 not continuous at x=-1  
3 continuous everywhere but not differentiable at x=1  
4 differentiable everywhere  

Ans.

(1)

We have,

f(x)={x+1,x<0|x-1|,x0 and g(x)={x+1,x<01,x0

f(x)={x+1,x<0x-1,x11-x,0x<1         (gof)(x)={x+2,x<-11,x-1

Hence, (gof)(x) is not differentiable at x=-1, but it is continuous everywhere.