I'm trying to derive the D-dimensional laplacian over Euclidean space for a function $f$ that is invariant under D-dimensional Euclidean rotations.
Specifically i'm trying to go from the equation
$$ \Delta_D \phi = U'(\phi) $$
to the equation
$$ \frac{d^2\phi}{dr^2}+\frac{D-1}{r}\frac{d\phi}{dr} = U'(\phi) $$
where $r = (x_1^2+x_2^2+x_3^2+\dots+x_D^2)^{1/2}$. I'm a physicist and currently I don't have much knowledge about differential geometry and operators over manifolds, but still i wanted to know how, in a rigorous manner, to derive that equation under that change of coordinates.
Searching on the internet i found that the general form for the laplacian is given by the Laplace-Beltrami operator
$$ \Delta_D \phi= \frac{1}{\sqrt{\det g}}\partial_i\left(\sqrt{\det g}g^{ij}\partial_j\phi\right) $$
but i don't know how the metric tensor is in the coordinates specified. I know that in Euclidian space is just a Kroneker delta, but what about spherical coordinates? On the Wikipedia article gives the result right away without any explanation.
I'm really curious to see how to derive it. I didn't find any explanation with computation in my google search.
Since you're a physicist, I thought a variational derivation might be appealing. Consider the functional $$F[\phi]=\int \left[\frac12(\nabla \phi)^2+U(\phi)\right] dV.$$ Then the functional derivative is $$\frac{\delta}{\delta \phi}F[\rho]=\frac{\partial U}{\partial \phi}-\nabla^2 \phi =U'(\phi)-\Delta_D \phi,$$ so your first equation is equivalent to $\delta F[\phi]/\delta \phi=0$. But $\phi$ is a function of $r$ alone, so we can integrate out the irrelevant angular degrees of freedom to obtain $$F[\phi]=C_D\int \left[\frac12(\partial_r \phi)^2+U(\phi)\right] r^{D-1}dr$$ where $C_D$ is some $D$-dependent multiplicative constant. We may then compute the functional derivative once again as $$\dfrac{\delta}{\delta \phi}F[\phi]=C_n \left[U'(\phi)r^{D-1}-\partial_r(r^{D-1} \partial_r\phi)\right]=C_n r^{D-1}\left[U'(\phi)-\frac{D-1}{r}\frac{d\phi}{dr}-\frac{d^2\phi}{dr^2} \right].$$ For this variational derivative to vanish again, we must therefore have $$\Delta_D \phi = U'(\phi) = \frac{d^2\phi}{dr^2}+\frac{D-1}{r}\frac{d\phi}{dr}$$ which was the result to be derived.