Let f and g be two fucntions defined by f(x) = \(\left\{\begin{matrix} x+1, & x<0 \\ |x-1|, & x\geq0 \\ \end{matrix}\right.\) and g(x) = \(\left\{\begin{matrix} x+1, & x<0 \\ 1, & x\geq0 \\ \end{matrix}\right.\). Then (g ∘ f)(x) is:
1
continuous and differentiable everywhere
2
differentiable everwhere
3
not continuous at x = - 1
4
continuous everywhere but not differentiable at one point