I was in Computer Vision + Deep Learning Lecture, and talking about some Loss functions and other elements, and they mentioned that in a particular function, by applying the chain rule, some parts of the derivative of the function are not differentiable, so something must be done with that.
From that, I started thinking whether a function that has some differentiable parts and some non-differentiable parts is differentiable. My direct answer is: NO, it isn't differentiable. But right now I cannot think of a demonstration for it. So, any available demonstration about it?
For example,
$$ f(x) = x + |x|$$
Has clearly a differentiable part ($x$) and a non differentiable part $|x|$.