Levi-Civita Connection in Coordinates

Theorem
Let $\struct {M, g}$ be a Riemannian or pseudo-Riemannian manifold with or without boundary.

Let $\nabla$ is the Levi-Civita connection of $\struct {M, g}$.

Let $g$ be a Riemannian or pseudo-Riemannian metric, which locally reads:


 * $g = g_{ij} \rd x^i \otimes \rd x^j$

where $\paren {g_{ij}}$ is a matrix of smooth functions.

Let $g^{ij}$ be the inverse of $\paren {g_{ij}}$.

Suppose $\Gamma^k_{ij}$ are the connection coefficients of $\nabla$.

Then in any smooth coordinate chart for $M$ we have:


 * $\Gamma^k_{ij} = \dfrac 1 2 g^{kl} \paren {\partial_i g_{jl} + \partial_j g_{il} - \partial_l g_{ij} }$