We all know that if a function g is differentiable at a point a, and f is differentiable at g(a), then f∘g is differentiable at a with derivative f'(g(a))g'(a).
However, it is not necessary for both of them to be differentiable at their respective points. Consider f(x) = |x|, g(x)=0, a = 0. f is not differentiable at g(0)=0, but f∘g is differentiable since it is constant.
So, what are the conditions required for f∘g to be differentiable?