$|P(x)|$ differentiable at a root $x_0$ Let $p(x)$ be a polynomial and suppose that $x_0 \in \bf R$ is a real root i.e. $p(x_0) = 0$. When will $|p(x)|$ be differentiable at $x_0$?
My Thoughts
For polynomials such as $f(x) = x$, we run into trouble at roots of odd multiplicity i.e. $|x|$ is not differentiable at $x = 0$. So my thoughts here are that it would be sufficient for the root to be of even multiplicity, in which case $|p(x)|$ would behave identically to $p(x)$ around $x_0$. Is this correct?

Since $\,P(x_0)=0\,$ , we can write $\,P(x)=(x-x_0)^mg(x)\,\,,\,g(x_0)\neq 0\,$ , so
$$|P(x_0)|':=\lim_{h\to 0}\frac{|P(x_0+h)|}{h}=\lim_{h\to 0}\frac{|h|^m\,|g(x_0+h)|}{h}$$
so if $\,m>1\,$ then
$$|P(x_0)|'=\lim\frac{|h|^m\,|g(x_0+h)|}{h}=\lim_{h\to 0}\frac{\pm h^m\,|g(x_0+h)|}{h}=0$$
If $\,m=1\,$ then clearly, and as noted already in the comments above, the limit doesn't exist.
