TITLE: The equivalence of two formulae for the Laplace—Beltrami operator
QUESTION [16 upvotes]: Let $M$ be a (pseudo-)Riemannian manifold with metric $g_{ab}$. Let $\nabla_a$ be the Levi-Civita connection on $M$. It's well-known that the Laplace—Beltrami operator can be defined in this context as
$$\nabla^2 = \nabla^a \nabla_a = g^{ab} \nabla_a \nabla_b$$
where $g^{ab}$ is the dual metric and repeated indices are summed. However, we also have the coordinate formula
$$\nabla^2 \phi = \frac{1}{\sqrt{| \det g |}} \partial_a \left( \sqrt{| \det g |} g^{ab} \partial_b \phi \right)$$
which, as I understand, comes from using the formula for the Hodge dual.
Without invoking advanced machinery, what is the easiest way to directly prove the equivalence of the two definitions? I can see that if the partial derivatives of $g_{ab}$ vanish, then 
$$\nabla_{a} \left( g^{ab} \nabla_b \phi \right) = \partial_a \left( g^{ab} \partial_b \phi \right) = \frac{1}{\sqrt{| \det g |}} \partial_a \left( \sqrt{| \det g |} g^{ab} \partial_b \phi \right)$$
and in the general case it suffices to prove that
$$\Gamma^{b}_{\phantom{b}ab} = \frac{1}{\sqrt{| \det g |}} \partial_a \left( \sqrt{| \det g |} \right)$$
but then it is seems to be necessary to compute the derivative of a determinant. Is there a trick which can be used to avoid this calculation?

REPLY [17 votes]: This does not need any fancy trickery or complicated machinery.  The moral of the story is: do not be scared of differentiating determinants!  Formally, the derivative of a determinant is the trace.  This actually happens quite often in geometric analysis, because the measure on a Riemannian manifold is given by $d\mu = \sqrt{\det g} \mathcal{H}^n$, where $n$ is the dimension of the manifold and $\mathcal{H}^n$ is $n$-dimensional Hausdorff measure.
We have
$$
\partial_k \det A = (\partial_k A_{ij})A^{ij} \det A,
$$
so in particular
$$
\partial_i \sqrt{\det g} = \frac{(\partial_ig_{pq})g^{pq}}{2} \sqrt{\det g}.
$$
Thus
$$\begin{align*}
\frac{1}{\sqrt{\det g}}\partial_i\Big(g^{ij}\sqrt{\det g}\partial_j\phi\Big)
&=
(\partial_ig^{ij})\partial_j\phi
+
g^{ij}\frac{1}{\sqrt{\det g}}\Big(\partial_i\sqrt{\det g}\partial_j\phi\Big)
+
g^{ij}\partial_{ij}\phi\\
&=
(\partial_ig^{ij})\partial_j\phi
+
g^{ij}\frac{1}{\sqrt{\det g}}\Big(\frac{(\partial_ig_{pq})g^{pq}}{2} \sqrt{\det g}\partial_j\phi\Big)
+
g^{ij}\partial_{ij}\phi\\
&=
(\partial_ig^{ij})\partial_j\phi
+
\frac{1}{2}g^{ij}(\partial_ig_{pq})g^{pq}\partial_j\phi
+
g^{ij}\partial_{ij}\phi\\
&=
g^{ij}\partial_{ij}\phi
-
g^{ij}\Gamma_{ij}^p(\partial_ig_{pq})g^{pq}\partial_j\phi,
\end{align*}$$
using the standard expression for the coefficients of the Levi-civita connection (the Christoffel symbols) in terms of the metric.