These equations set up an operation I'm trying to do to calculate the Christoffel Symbol:
X[r_, theta_] := r*Cos[theta];
Y[r_, theta_] := r*Sin[theta];
R[x_, y_] := Sqrt[x^2 + y^2];
Theta[x_, y_] := ArcTan[x, y];
So I now perform the calculation which is equivalent to:$$\Gamma^{r}_{\theta \theta}=\frac{\partial^2x}{\partial^2\theta}\frac{\partial r}{\partial x}+\frac{\partial^2y}{\partial^2\theta}\frac{\partial r}{\partial y}$$ My implementation is:
Simplify[D[D[X[r, theta], theta], theta]*D[R[x, y], x] + D[D[Y[r, theta], theta], theta]*D[R[x, y], y] /. {y -> Y[r, theta], x -> X[r, theta]}]
Which works, but gives me the answer:$$-\sqrt{r^2}$$ It appears to my untrained eyes that this is equivalent to $-r$ (which is the real answer I'm after). How do I force mathematica to reduce this? Am I missing something?