So It's obvious that the given function is continuous between -1 to 0 and 0 to 1, hence the only point left to test is whether the function is continuous at 0 and so I took the limit of x->0+ to be equal to the limit of x->0- and computed the value of a to be 0.
As for the second part of the question, I substituted the value of a as 0 and then used the formula of differentiation ie lim(h-->0) (f(x+h)-f(0))/h and I got the value of -1 for the left hand limit and -4 for the right hand limit. Does that conclude the function is not differentiable, for the value of a when it is continuous?
