We have f(x)={x+2,x2,x<0x≥0 and g(x)={x3,3x−2,x<1x≥1. We need to find where (f∘g)(x)=f(g(x)) is not differentiable.
For x<0: g(x)=x3<0, so f(g(x))=x3+2. For 0≤x<1: g(x)=x3≥0, so f(g(x))=(x3)2=x6. For x≥1: g(x)=3x−2≥1>0, so f(g(x))=(3x−2)2.
At x=0: From the left, limx→0−(x3+2)=2. From the right, limx→0+x6=0. Also f(g(0))=f(0)=0. Since the left-hand limit does not equal the function value, f∘g is not continuous (hence not differentiable) at x=0.
At x=1: From the left, limx→1−x6=1. From the right, (3(1)−2)2=1. So f∘g is continuous at x=1. The left derivative is 6x5∣x=1=6 and the right derivative is 2(3x−2)(3)∣x=1=6. Since both derivatives are equal, f∘g is differentiable at x=1.
Therefore, there is exactly 1 point in R where (f∘g)(x) is not differentiable.