So I get that if only $\sin|x^2+x|$ was given it is not differentiable at $x=0$, but why does it become differentiable at $0$ when a factor of $b|x|$ is introduced? And if it does, then is the statement "A non differentiable function times a factor which becomes zero (at those non differentiable points) makes the whole function differetiable" universal?
For example, $y= |x^2-1|\sin\pi x$ is differentiable at both $1$ and $-1$ while the first factor, taken alone, is not. Is there a better logic?