I have a puzzling situation involving derivatives. I want to derivate: $$ \frac{d}{dx}| \mathbf F(x)| $$
This was actually something involving physics. Lets be 2-dimensional for simplicity. Let a particle be at position $\mathbf r = (x, y)$. The distance $s$ of the particle from point $(0, 0)$ is simply $s = |\mathbf r|$. I want to calculate how that distance changes over time. $$ \frac{ds}{dt} = \frac{d}{dt}|\mathbf r| = \frac{d}{dt}\sqrt{x(t)^2 + y(t)^2} = \frac{1}{\sqrt{x(t)^2 + y(t)^2}}\left(x\frac{dx}{dt} + y\frac{dy}{dt}\right) = \frac{1}{|\mathbf r|}\left(x\frac{dx}{dt} + y\frac{dy}{dt}\right) $$
As you can see, $ds/dt$ is not defined when $|\mathbf r| = 0$. I can't see why. On physics point of view, the particle should always travel continuously in the plane (assuming the path it makes is continuous and fully differentiable). Why is the distance variation undefined? Assume for instance, I have a table, and $(x, y)$ is the position of my fingers. I can't see why it wouldn't exist.
Hypothesis: Notice that, by description I told, the curve $(x, y)$ is continuous on all points, and smooth/differentiable on all points. Thus, $x(t), y(t), x'(t), y'(t)$ is well defined, for all points. If you want, consider them to be class $C^\infty$.
My question: Does this derivative exist or not when $|\mathbf r| = 0$? What is the value/evaluation of such derivative in an arbitrary given period $t_0$ when $|\mathbf r| = 0$?
Considering $x(t) = t^2$ and $y(t) = t^2$, we get $s$ proportional to $t^2$, and thus its derivative exists at $t=0$ with the derivative having a well defined value of zero.