In the mathematical field of differential geometry, the Riemann curvature tensor or Riemann–Christoffel tensor (after Bernhard Riemann and Elwin Bruno Christoffel) is the most common way used to express the curvature of Riemannian manifolds. It assigns a tensor to each point of a Riemannian manifold (i.e., it is a tensor field). It is a local invariant of Riemannian metrics which measures the failure of the second covariant derivatives to commute. A Riemannian manifold has zero curvature if and only if it is flat, i.e. locally isometric to the Euclidean space. The curvature tensor can also be defined for any pseudo-Riemannian manifold, or indeed any manifold equipped with an affine connection.
It is a central mathematical tool in the theory of general relativity, the modern theory of gravity, and the curvature of spacetime is in principle observable via the geodesic deviation equation. The curvature tensor represents the tidal force experienced by a rigid body moving along a geodesic in a sense made precise by the Jacobi equation.
Let (M, g) be a Riemannian or pseudo-Riemannian manifold, and be the space of all vector fields on M. We define the Riemann curvature tensor as a map by the following formula where is the Levi-Civita connection:
where [X, Y] is the Lie bracket of vector fields and is a commutator of differential operators. It turns out that the right-hand side actually only depends on the value of the vector fields at a given point, which is notable since the covariant derivative of a vector field also depends on the field values in a neighborhood of the point. Hence, is a -tensor field. For fixed , the linear transformation is also called the curvature transformation or endomorphism. Occasionally, the curvature tensor is defined with the opposite sign.
The curvature tensor measures noncommutativity of the covariant derivative, and as such is the integrability obstruction for the existence of an isometry with Euclidean space (called, in this context, flat space).
Since the Levi-Civita connection is torsion-free, the curvature can also be expressed in terms of the second covariant derivative
Thus, the curvature tensor measures the noncommutativity of the second covariant derivative. In abstract index notation,
This formula is often called the Ricci identity. This is the classical method used by Ricci and Levi-Civita to obtain an expression for the Riemann curvature tensor. This identity can be generalized to get the commutators for two covariant derivatives of arbitrary tensors as follows 
This formula also applies to tensor densities without alteration, because for the Levi-Civita (not generic) connection one gets:
It is sometimes convenient to also define the purely covariant version of the curvature tensor by
One can see the effects of curved space by comparing a tennis court and the Earth. Start at the lower right corner of the tennis court, with a racket held out towards north. Then while walking around the outline of the court, at each step make sure the tennis racket is maintained in the same orientation, parallel to its previous positions. Once the loop is complete the tennis racket will be parallel to its initial starting position. This is because tennis courts are built so the surface is flat. On the other hand, the surface of the Earth is curved: we can complete a loop on the surface of the Earth. Starting at the equator, point a tennis racket north along the surface of the Earth. Once again the tennis racket should always remain parallel to its previous position, using the local plane of the horizon as a reference. For this path, first walk to the north pole, then turn 90 degrees and walk down to the equator, and finally turn 90 degrees and walk back to the start. However now the tennis racket will be pointing backwards (towards the east). This process is akin to parallel transporting a vector along the path and the difference identifies how lines which appear "straight" are only "straight" locally. Each time a loop is completed the tennis racket will be deflected further from its initial position by an amount depending on the distance and the curvature of the surface. It is possible to identify paths along a curved surface where parallel transport works as it does on flat space. These are the geodesic of the space, for example any segment of a great circle of a sphere.
The concept of a curved space in mathematics differs from conversational usage. For example, if the above process was completed on a cylinder one would find that it is not curved overall as the curvature around the cylinder cancels with the flatness along the cylinder, this is a consequence of Gaussian curvature and Gauss' Theorema Egregium. A familiar example of this is a floppy pizza slice which will remain rigid along its length if it is curved along its width.
The Riemann curvature tensor is a way to capture a measure of the intrinsic curvature. When you write it down in terms of its components (like writing down the components of a vector), it consists of a multi-dimensional array of sums and products of partial derivatives (some of those partial derivatives can be thought of as akin to capturing the curvature imposed upon someone walking in straight lines on a curved surface).
When a vector in a Euclidean space is parallel transported around a loop, it will again point in the initial direction after returning to its original position. However, this property does not hold in the general case. The Riemann curvature tensor directly measures the failure of this in a general Riemannian manifold. This failure is known as the non-holonomy of the manifold.
Let be a curve in a Riemannian manifold . Denote by the parallel transport map along . The parallel transport maps are related to the covariant derivative by
for each vector field defined along the curve.
Suppose that and are a pair of commuting vector fields. Each of these fields generates a one-parameter group of diffeomorphisms in a neighborhood of . Denote by and , respectively, the parallel transports along the flows of and for time . Parallel transport of a vector around the quadrilateral with sides , , , is given by
This measures the failure of parallel transport to return to its original position in the tangent space . Shrinking the loop by sending gives the infinitesimal description of this deviation:
where is the Riemann curvature tensor.
Converting to the tensor index notation, the Riemann curvature tensor is given by
where are the coordinate vector fields. The above expression can be written using Christoffel symbols:
(see also the list of formulas in Riemannian geometry).
The Riemann curvature tensor has the following symmetries and identities:
|First (algebraic) Bianchi identity|
|Second (differential) Bianchi identity|
where the bracket refers to the inner product on the tangent space induced by the metric tensor and the brackets and parentheses on the indices denote the antisymmetrization and symmetrization operators, respectively. If there is nonzero torsion, the Bianchi identities involve the torsion tensor.
The first (algebraic) Bianchi identity was discovered by Ricci, but is often called the first Bianchi identity or algebraic Bianchi identity, because it looks similar to the differential Bianchi identity.
The first three identities form a complete list of symmetries of the curvature tensor, i.e. given any tensor which satisfies the identities above, one can find a Riemannian manifold with such a curvature tensor at some point. Simple calculations show that such a tensor has independent components. Interchange symmetry follows from these. The algebraic symmetries are also equivalent to saying that R belongs to the image of the Young symmetrizer corresponding to the partition 2+2.
On a Riemannian manifold one has the covariant derivative and the Bianchi identity (often called the second Bianchi identity or differential Bianchi identity) takes the form of the last identity in the table.
The Ricci curvature tensor is the contraction of the first and third indices of the Riemann tensor.
For a two-dimensional surface, the Bianchi identities imply that the Riemann tensor has only one independent component, which means that the Ricci scalar completely determines the Riemann tensor. There is only one valid expression for the Riemann tensor which fits the required symmetries:
and by contracting with the metric twice we find the explicit form:
where is the metric tensor and is a function called the Gaussian curvature and a, b, c and d take values either 1 or 2. The Riemann tensor has only one functionally independent component. The Gaussian curvature coincides with the sectional curvature of the surface. It is also exactly half the scalar curvature of the 2-manifold, while the Ricci curvature tensor of the surface is simply given by
A Riemannian manifold is a space form if its sectional curvature is equal to a constant K. The Riemann tensor of a space form is given by
Conversely, except in dimension 2, if the curvature of a Riemannian manifold has this form for some function K, then the Bianchi identities imply that K is constant and thus that the manifold is (locally) a space form.