Question: are convex function always differentiable?
Answer: A convex function is differentiable at all but countably many points. ... It is clear that a convex function can be non-differentiable at countably many points, for example f(x)=∫⌊x⌋dx.