Suppose f:(−1,1)→R is a function such that f(x)=xh(x) for a bounded function h.
a) Show that g(x):=(f(x))2 is differentiable at the origin and g′(0)=0.
b) Find an example of a continuous function f:(−1,1)→R with f(0)=0, but such that g(x):=(f(x))2 is not differentiable at the origin.