The torsion tensor of an affine connection is , where the last term is the Lie bracket of vector fields. A torsion-free connection has . Since a coordinate basis commutes, this is equivalent there to ; in a general basis its commutator must also be included.
The Levi-Civita connection is the unique torsion-free connection with metric compatibility, . To derive its Christoffel symbols, lower the first index: . Metric compatibility gives
Write down this identity with the derivative indices , add the first two identities and subtract the third. Symmetry in the last two indices, supplied by the torsion-free connection, cancels all terms except twice . Raising the first index yields
This calculation proves uniqueness. Conversely, these Christoffel symbols are symmetric in and satisfy by substitution, proving existence as well.