In Riemannian or pseudo-Riemannian geometry (in particular the Lorentzian geometry of general relativity), the **Levi-Civita connection** is the unique affine connection on the tangent bundle of a manifold (i.e. affine connection) that preserves the (pseudo-)Riemannian metric and is torsion-free.

The fundamental theorem of Riemannian geometry states that there is a unique connection which satisfies these properties.

In the theory of Riemannian and pseudo-Riemannian manifolds the term covariant derivative is often used for the Levi-Civita connection. The components (structure coefficients) of this connection with respect to a system of local coordinates are called Christoffel symbols.

The Levi-Civita connection is named after Tullio Levi-Civita, although originally "discovered" by Elwin Bruno Christoffel. Levi-Civita,^{[1]} along with Gregorio Ricci-Curbastro, used Christoffel's symbols^{[2]} to define the notion of parallel transport and explore the relationship of parallel transport with the curvature, thus developing the modern notion of holonomy.^{[3]}

In 1869, Christoffel discovered that the components of the intrinsic derivative of a vector field, upon changing the coordinate system, transform as the components of a contravariant vector. This discovery was the real beginning of tensor analysis.

In 1906, L. E. J. Brouwer was the first mathematician to consider the parallel transport of a vector for the case of
a space of constant curvature.^{[4]}^{[5]}

In 1917, Levi-Civita pointed out its importance for the case of a hypersurface immersed in a Euclidean space, i.e., for the case of a Riemannian manifold embedded in a "larger" ambient space.^{[1]} He interpreted the intrinsic derivative in the case of an embedded surface as the tangential component of the usual derivative in the ambient affine space. The Levi-Civita notions of intrinsic derivative and parallel displacement of a vector along a curve make sense on an abstract Riemannian manifold, even though the original motivation relied on a specific embedding

In 1918, independently of Levi-Civita, Jan Arnoldus Schouten obtained analogous results.^{[6]} In the same year, Hermann Weyl generalized
Levi-Civita's results.^{[7]}^{[8]}

- (
*M*,*g*) denotes a Riemannian or pseudo-Riemannian manifold. *TM*is the tangent bundle of*M*.*g*is the Riemannian or pseudo-Riemannian metric of*M*.*X*,*Y*,*Z*are smooth vector fields on*M*, i. e. smooth sections of*TM*.- [
*X*,*Y*] is the Lie bracket of*X*and*Y*. It is again a smooth vector field.

The metric *g* can take up to two vectors or vector fields *X*, *Y* as arguments. In the former case the output is a number, the (pseudo-)inner product of *X* and *Y*. In the latter case, the inner product of *X*_{p}, *Y*_{p} is taken at all points *p* on the manifold so that *g*(*X*, *Y*) defines a smooth function on *M*. Vector fields act (by definition) as differential operators on smooth functions. In local coordinates , the action reads

where Einstein's summation convention is used.

An affine connection ∇ is called a Levi-Civita connection if

*it preserves the metric*, i.e., ∇*g*= 0.*it is torsion-free*, i.e., for any vector fields*X*and*Y*we have ∇_{X}*Y*− ∇_{Y}*X*= [*X*,*Y*], where [*X*,*Y*] is the Lie bracket of the vector fields*X*and*Y*.

Condition 1 above is sometimes referred to as compatibility with the metric, and condition 2 is sometimes called symmetry, cf. Do Carmo's text.^{[9]}

Main article: Fundamental theorem of Riemannian geometry |

**Theorem** Every pseudo Riemannian manifold has a unique Levi Civita connection .

*proof*:
If a Levi-Civita connection exists, it must be unique. To see this, unravel the definition of the action of
a connection on tensors to find

Hence we can write condition 1 as

By the symmetry of the metric tensor we then find:

By condition 2, the right hand side is therefore equal to

and we find the Koszul formula

Hence, if a Levi-Civita connection exists, it must be unique, because is arbitrary, is non degenerate, and the right hand side does not depend on .

To prove existence, note that for given vector field and , the right hand side of the Koszul expression is function-linear in the vector field , not just real linear. Hence by the non degeneracy of , the right hand side uniquely defines some new vector field which we suggestively denote as in the left hand side. By substituting the Koszul formula, one now checks that for all vector fields , and all functions

Hence the Koszul expression does, in fact, define a connection, and this connection is compatible with the metric and is torsion free, i.e. is a (hence the) Levi-Civita connection.

Note that with minor variations the same proof shows that there is a unique connection that is compatible with the metric and has prescribed torsion.

Let be an affine connection on the tangent bundle. Choose local coordinates with coordinate basis vector fields and write for . The Christoffel symbols of with respect to these coordinates are defined as

The Christoffel symbols conversely define the connection on the coordinate neighbourhood because

that is,

An affine connection is compatible with a metric iff

i.e., if and only if

An affine connection ∇ is torsion free iff

i.e., if and only if

is symmetric in its lower two indices.

As one checks by taking for , coordinate vector fields (or computes directly), the Koszul expression of the Levi-Civita connection derived above is equivalent to a definition of the Christoffel symbols in terms of the metric as

where as usual are the coefficients of the dual metric tensor, i.e. the entries of the inverse of the matrix .

The Levi-Civita connection (like any affine connection) also defines a derivative along curves, sometimes denoted by *D*.

Given a smooth curve *γ* on (*M*, *g*) and a vector field *V* along *γ* its derivative is defined by

Formally, *D* is the pullback connection *γ**∇ on the pullback bundle *γ***TM*.

In particular, is a vector field along the curve *γ* itself. If vanishes, the curve is called a geodesic of the covariant derivative. Formally, the condition can be restated as the vanishing of the pullback connection applied to :

If the covariant derivative is the Levi-Civita connection of a certain metric, then the geodesics for the connection are precisely those geodesics of the metric that are parametrised proportionally to their arc length.

In general, parallel transport along a curve with respect to a connection defines isomorphisms between the tangent spaces at the points of the curve. If the connection is a Levi-Civita connection, then these isomorphisms are orthogonal – that is, they preserve the inner products on the various tangent spaces.

The images below show parallel transport of the Levi-Civita connection associated to two different Riemannian metrics on the plane, expressed in polar coordinates. The metric of left image corresponds to the standard Euclidean metric , while the metric on the right has standard form in polar coordinates (when ), and thus preserves the vector tangent to the circle. This second metric has a singularity at the origin, as can be seen by expressing it in Cartesian coordinates:

Let ⟨ , ⟩ be the usual scalar product on **R**^{3}. Let **S**^{2} be the unit sphere in **R**^{3}. The tangent space to **S**^{2} at a point *m* is naturally identified with the vector subspace of **R**^{3} consisting of all vectors orthogonal to *m*. It follows that a vector field *Y* on **S**^{2} can be seen as a map *Y* : **S**^{2} → **R**^{3}, which satisfies

Denote as *d _{m}Y*(

**Lemma** — The formula

defines an affine connection on

It is straightforward to prove that ∇ satisfies the Leibniz identity and is *C*^{∞}(**S**^{2}) linear in the first variable. It is also a straightforward computation to show that this connection is torsion free. So all that needs to be proved here is that the formula above does indeed define a vector field. That is, we need to prove that for all *m* in **S**^{2}

Consider the map

The equation (1) above follows. Q.E.D.

In fact, this connection is the Levi-Civita connection for the metric on **S**^{2} inherited from **R**^{3}. Indeed, one can check that this connection preserves the metric.