This article's factual accuracy is disputed. Relevant discussion may be found on the talk page. Please help to ensure that disputed statements are reliably sourced. (November 2022) (Learn how and when to remove this template message)

In differential geometry, the Ricci curvature tensor, named after Gregorio Ricci-Curbastro, is a geometric object which is determined by a choice of Riemannian or pseudo-Riemannian metric on a manifold. It can be considered, broadly, as a measure of the degree to which the geometry of a given metric tensor differs locally from that of ordinary Euclidean space or pseudo-Euclidean space.

The Ricci tensor can be characterized by measurement of how a shape is deformed as one moves along geodesics in the space. In general relativity, which involves the pseudo-Riemannian setting, this is reflected by the presence of the Ricci tensor in the Raychaudhuri equation. Partly for this reason, the Einstein field equations propose that spacetime can be described by a pseudo-Riemannian metric, with a strikingly simple relationship between the Ricci tensor and the matter content of the universe.

Like the metric tensor, the Ricci tensor assigns to each tangent space of the manifold a symmetric bilinear form (Besse 1987, p. 43).[1] Broadly, one could analogize the role of the Ricci curvature in Riemannian geometry to that of the Laplacian in the analysis of functions; in this analogy, the Riemann curvature tensor, of which the Ricci curvature is a natural by-product, would correspond to the full matrix of second derivatives of a function. However, there are other ways to draw the same analogy.

In three-dimensional topology, the Ricci tensor contains all of the information which in higher dimensions is encoded by the more complicated Riemann curvature tensor. In part, this simplicity allows for the application of many geometric and analytic tools, which led to the solution of the Poincaré conjecture through the work of Richard S. Hamilton and Grigory Perelman.

In differential geometry, lower bounds on the Ricci tensor on a Riemannian manifold allow one to extract global geometric and topological information by comparison (cf. comparison theorem) with the geometry of a constant curvature space form. This is since lower bounds on the Ricci tensor can be successfully used in studying the length functional in Riemannian geometry, as first shown in 1941 via Myers's theorem.

One common source of the Ricci tensor is that it arises whenever one commutes the covariant derivative with the tensor Laplacian. This, for instance, explains its presence in the Bochner formula, which is used ubiquitously in Riemannian geometry. For example, this formula explains why the gradient estimates due to Shing-Tung Yau (and their developments such as the Cheng-Yau and Li-Yau inequalities) nearly always depend on a lower bound for the Ricci curvature.

In 2007, John Lott, Karl-Theodor Sturm, and Cedric Villani demonstrated decisively that lower bounds on Ricci curvature can be understood entirely in terms of the metric space structure of a Riemannian manifold, together with its volume form.[2] This established a deep link between Ricci curvature and Wasserstein geometry and optimal transport, which is presently the subject of much research.[citation needed]

## Definition

Suppose that ${\displaystyle \left(M,g\right)}$ is an ${\displaystyle n}$-dimensional Riemannian or pseudo-Riemannian manifold, equipped with its Levi-Civita connection ${\displaystyle \nabla }$. The Riemann curvature of ${\displaystyle M}$ is a map which takes smooth vector fields ${\displaystyle X}$, ${\displaystyle Y}$, and ${\displaystyle Z}$, and returns the vector field

${\displaystyle R(X,Y)Z:=\nabla _{X}\nabla _{Y}Z-\nabla _{Y}\nabla _{X}Z-\nabla _{[X,Y]}Z}$

on vector fields ${\displaystyle X,Y,Z}$. The crucial property of this mapping is that if ${\displaystyle X,Y,Z}$ and ${\displaystyle X',Y',Z'}$ are smooth vector fields such that ${\displaystyle X}$ and ${\displaystyle X'}$ define the same element of some tangent space ${\displaystyle T_{p}M}$, and ${\displaystyle Y}$ and ${\displaystyle Y'}$ also define the same element of ${\displaystyle T_{p}M}$, and ${\displaystyle Z}$ and ${\displaystyle Z'}$ also define the same element of ${\displaystyle T_{p}M}$, then the vector fields ${\displaystyle R(X,Y)Z}$ and ${\displaystyle R(X',Y')Z'}$ also define the same element of ${\displaystyle T_{p}M}$.

The implication is that the Riemann curvature, which is a priori a mapping with vector field inputs and a vector field output, can actually be viewed as a mapping with tangent vector inputs and a tangent vector output. That is, it defines for each point ${\displaystyle p\in M}$ a (multilinear) map:

${\displaystyle \operatorname {Rm} _{p}:T_{p}M\times T_{p}M\times T_{p}M\to T_{p}M.}$

Define for each point ${\displaystyle p\in M}$ the map ${\displaystyle \operatorname {Ric} _{p}:T_{p}M\times T_{p}M\to \mathbb {R} }$ by

${\displaystyle \operatorname {Ric} _{p}(Y,Z):=\operatorname {tr} {\big (}X\mapsto \operatorname {Rm} _{p}(X,Y,Z){\big )}.}$

That is, having fixed ${\displaystyle Y}$ and ${\displaystyle Z}$, then for any basis ${\displaystyle v_{1},\ldots ,v_{n))$ of the vector space ${\displaystyle T_{p}M}$, one defines

${\displaystyle \operatorname {Ric} _{p}(Y,Z):=\sum _{i=1}c_{ii))$

where for any fixed ${\displaystyle i}$, the numbers ${\displaystyle c_{i1},\ldots ,c_{in))$ are the coordinates of ${\displaystyle \operatorname {Rm} _{p}(v_{i},Y,Z)}$ relative to the basis ${\displaystyle v_{1},\ldots ,v_{n))$. It is a standard exercise of (multi)linear algebra to verify that this definition does not depend on the choice of the basis ${\displaystyle v_{1},\ldots ,v_{n))$.

Sign conventions. Note that some sources define ${\displaystyle R(X,Y)Z}$ to be what would here be called ${\displaystyle -R(X,Y)Z;}$ they would then define ${\displaystyle \operatorname {Ric} _{p))$ as ${\displaystyle -\operatorname {tr} (X\mapsto \operatorname {Rm} _{p}(X,Y,Z)).}$ Although sign conventions differ about the Riemann tensor, they do not differ about the Ricci tensor.

### Definition via local coordinates on a smooth manifold

Let ${\displaystyle \left(M,g\right)}$ be a smooth Riemannian or pseudo-Riemannian ${\displaystyle n}$-manifold. Given a smooth chart ${\displaystyle \left(U,\varphi \right)}$ one then has functions ${\displaystyle g_{ij}:\varphi (U)\rightarrow \mathbb {R} }$ and ${\displaystyle g^{ij}:\varphi (U)\rightarrow \mathbb {R} }$ for each ${\displaystyle i,j=1,\ldots ,n}$ which satisfy

${\displaystyle \sum _{k=1}^{n}g^{ik}(x)g_{kj}(x)=\delta _{j}^{i}={\begin{cases}1&i=j\\0&i\neq j\end{cases))}$

for all ${\displaystyle x\in \varphi (U)}$. The latter shows that, expressed as matrices, ${\displaystyle g^{ij}(x)=(g^{-1})_{ij}(x)}$. The functions ${\displaystyle g_{ij))$ are defined by evaluating ${\displaystyle g}$ on coordinate vector fields, while the functions ${\displaystyle g^{ij))$ are defined so that, as a matrix-valued function, they provide an inverse to the matrix-valued function ${\displaystyle x\mapsto g_{ij}(x)}$.

Now define, for each ${\displaystyle a}$, ${\displaystyle b}$, ${\displaystyle c}$, ${\displaystyle i}$, and ${\displaystyle j}$ between 1 and ${\displaystyle n}$, the functions

{\displaystyle {\begin{aligned}\Gamma _{ab}^{c}&:={\frac {1}{2))\sum _{d=1}^{n}\left({\frac {\partial g_{bd)){\partial x^{a))}+{\frac {\partial g_{ad)){\partial x^{b))}-{\frac {\partial g_{ab)){\partial x^{d))}\right)g^{cd}\\R_{ij}&:=\sum _{a=1}^{n}{\frac {\partial \Gamma _{ij}^{a)){\partial x^{a))}-\sum _{a=1}^{n}{\frac {\partial \Gamma _{ai}^{a)){\partial x^{j))}+\sum _{a=1}^{n}\sum _{b=1}^{n}\left(\Gamma _{ab}^{a}\Gamma _{ij}^{b}-\Gamma _{ib}^{a}\Gamma _{aj}^{b}\right)\end{aligned))}

as maps ${\displaystyle \varphi :U\rightarrow \mathbb {R} }$.

Now let ${\displaystyle \left(U,\varphi \right)}$ and ${\displaystyle \left(V,\psi \right)}$ be two smooth charts with ${\displaystyle U\cap V\neq \emptyset }$. Let ${\displaystyle R_{ij}:\varphi (U)\rightarrow \mathbb {R} }$ be the functions computed as above via the chart ${\displaystyle \left(U,\varphi \right)}$ and let ${\displaystyle r_{ij}:\psi (V)\rightarrow \mathbb {R} }$ be the functions computed as above via the chart ${\displaystyle \left(V,\psi \right)}$. Then one can check by a calculation with the chain rule and the product rule that

${\displaystyle R_{ij}(x)=\sum _{k,l=1}^{n}r_{kl}\left(\psi \circ \varphi ^{-1}(x)\right)D_{i}{\Big |}_{x}\left(\psi \circ \varphi ^{-1}\right)^{k}D_{j}{\Big |}_{x}\left(\psi \circ \varphi ^{-1}\right)^{l}.}$

where ${\displaystyle D_{i))$ is the first derivative along ${\displaystyle i}$th direction of ${\displaystyle \mathbb {R} ^{n))$. This shows that the following definition does not depend on the choice of ${\displaystyle \left(U,\varphi \right)}$. For any ${\displaystyle p\in U}$, define a bilinear map ${\displaystyle \operatorname {Ric} _{p}:T_{p}M\times T_{p}M\rightarrow \mathbb {R} }$ by

${\displaystyle (X,Y)\in T_{p}M\times T_{p}M\mapsto \operatorname {Ric} _{p}(X,Y)=\sum _{i,j=1}^{n}R_{ij}(\varphi (x))X^{i}(p)Y^{j}(p),}$

where ${\displaystyle X^{1},\ldots ,X^{n))$ and ${\displaystyle Y^{1},\ldots ,Y^{n))$ are the components of the tangent vectors at ${\displaystyle p}$ in ${\displaystyle X}$ and ${\displaystyle Y}$ relative to the coordinate vector fields of ${\displaystyle \left(U,\varphi \right)}$.

It is common to abbreviate the above formal presentation in the following style:

Let ${\displaystyle M}$ be a smooth manifold, and let g be a Riemannian or pseudo-Riemannian metric. In local smooth coordinates, define the Christoffel symbols

{\displaystyle {\begin{aligned}\Gamma _{ij}^{k}&:={\frac {1}{2))g^{kl}\left(\partial _{i}g_{jl}+\partial _{j}g_{il}-\partial _{l}g_{ij}\right)\\R_{jk}&:=\partial _{i}\Gamma _{jk}^{i}-\partial _{j}\Gamma _{ki}^{i}+\Gamma _{ip}^{i}\Gamma _{jk}^{p}-\Gamma _{jp}^{i}\Gamma _{ik}^{p}.\end{aligned))}

It can be directly checked that

${\displaystyle R_{jk}={\widetilde {R))_{ab}{\frac {\partial {\widetilde {x))^{a)){\partial x^{j))}{\frac {\partial {\widetilde {x))^{b)){\partial x^{k))},}$

so that ${\displaystyle R_{ij))$ define a (0,2)-tensor field on ${\displaystyle M}$. In particular, if ${\displaystyle X}$ and ${\displaystyle Y}$ are vector fields on ${\displaystyle M}$, then relative to any smooth coordinates one has

{\displaystyle {\begin{aligned}R_{jk}X^{j}Y^{k}&=\left({\widetilde {R))_{ab}{\frac {\partial {\widetilde {x))^{a)){\partial x^{j))}{\frac {\partial {\widetilde {x))^{b)){\partial x^{k))}\right)\left({\widetilde {X))^{c}{\frac {\partial x^{j)){\partial {\widetilde {x))^{c))}\right)\left({\widetilde {Y))^{d}{\frac {\partial x^{k)){\partial {\widetilde {x))^{d))}\right)\\&={\widetilde {R))_{ab}{\widetilde {X))^{c}{\widetilde {Y))^{d}\left({\frac {\partial {\widetilde {x))^{a)){\partial x^{j))}{\frac {\partial x^{j)){\partial {\widetilde {x))^{c))}\right)\left({\frac {\partial {\widetilde {x))^{b)){\partial x^{k))}{\frac {\partial x^{k)){\partial {\widetilde {x))^{d))}\right)\\&={\widetilde {R))_{ab}{\widetilde {X))^{c}{\widetilde {Y))^{d}\delta _{c}^{a}\delta _{d}^{b}\\&={\widetilde {R))_{ab}{\widetilde {X))^{a}{\widetilde {Y))^{b}.\end{aligned))}

The final line includes the demonstration that the bilinear map Ric is well-defined, which is much easier to write out with the informal notation.

### Comparison of the definitions

The two above definitions are identical. The formulas defining ${\displaystyle \Gamma _{ij}^{k))$ and ${\displaystyle R_{ij))$ in the coordinate approach have an exact parallel in the formulas defining the Levi-Civita connection, and the Riemann curvature via the Levi-Civita connection. Arguably, the definitions directly using local coordinates are preferable, since the "crucial property" of the Riemann tensor mentioned above requires ${\displaystyle M}$ to be Hausdorff in order to hold. By contrast, the local coordinate approach only requires a smooth atlas. It is also somewhat easier to connect the "invariance" philosophy underlying the local approach with the methods of constructing more exotic geometric objects, such as spinor fields.

The complicated formula defining ${\displaystyle R_{ij))$ in the introductory section is the same as that in the following section. The only difference is that terms have been grouped so that it is easy to see that ${\displaystyle R_{ij}=R_{ji}.}$

## Properties

As can be seen from the Bianchi identities, the Ricci tensor of a Riemannian manifold is symmetric, in the sense that

${\displaystyle \operatorname {Ric} (X,Y)=\operatorname {Ric} (Y,X)}$

for all ${\displaystyle X,Y\in T_{p}M.}$

It thus follows linear-algebraically that the Ricci tensor is completely determined by knowing the quantity ${\displaystyle \operatorname {Ric} (X,X)}$ for all vectors ${\displaystyle X}$ of unit length. This function on the set of unit tangent vectors is often also called the Ricci curvature, since knowing it is equivalent to knowing the Ricci curvature tensor.

The Ricci curvature is determined by the sectional curvatures of a Riemannian manifold, but generally contains less information. Indeed, if ${\displaystyle \xi }$ is a vector of unit length on a Riemannian ${\displaystyle n}$-manifold, then ${\displaystyle \operatorname {Ric} (\xi ,\xi )}$ is precisely ${\displaystyle (n-1)}$ times the average value of the sectional curvature, taken over all the 2-planes containing ${\displaystyle \xi }$. There is an ${\displaystyle (n-2)}$-dimensional family of such 2-planes, and so only in dimensions 2 and 3 does the Ricci tensor determine the full curvature tensor. A notable exception is when the manifold is given a priori as a hypersurface of Euclidean space. The second fundamental form, which determines the full curvature via the Gauss–Codazzi equation, is itself determined by the Ricci tensor and the principal directions of the hypersurface are also the eigendirections of the Ricci tensor. The tensor was introduced by Ricci for this reason.

As can be seen from the second Bianchi identity, one has

${\displaystyle \operatorname {div} \operatorname {Ric} ={\frac {1}{2))dR,}$

where ${\displaystyle R}$ is the scalar curvature, defined in local coordinates as ${\displaystyle g^{ij}R_{ij}.}$ This is often called the contracted second Bianchi identity.

### Informal properties

The Ricci curvature is sometimes thought of as (a negative multiple of) the Laplacian of the metric tensor (Chow & Knopf 2004, Lemma 3.32).[3] Specifically, in harmonic local coordinates the components satisfy

${\displaystyle R_{ij}=-{\frac {1}{2))\Delta \left(g_{ij}\right)+{\text{lower-order terms)),}$

where ${\displaystyle \Delta =\nabla \cdot \nabla }$ is the Laplace–Beltrami operator, here regarded as acting on the locally-defined functions ${\displaystyle g_{ij))$. This fact motivates, for instance, the introduction of the Ricci flow equation as a natural extension of the heat equation for the metric. Alternatively, in a normal coordinate system based at ${\displaystyle p}$,

${\displaystyle R_{ij}=-{\frac {2}{3))\Delta \left(g_{ij}\right).}$

## Direct geometric meaning

Near any point ${\displaystyle p}$ in a Riemannian manifold ${\displaystyle \left(M,g\right)}$, one can define preferred local coordinates, called geodesic normal coordinates. These are adapted to the metric so that geodesics through ${\displaystyle p}$ correspond to straight lines through the origin, in such a manner that the geodesic distance from ${\displaystyle p}$ corresponds to the Euclidean distance from the origin. In these coordinates, the metric tensor is well-approximated by the Euclidean metric, in the precise sense that

${\displaystyle g_{ij}=\delta _{ij}+O\left(|x|^{2}\right).}$

In fact, by taking the Taylor expansion of the metric applied to a Jacobi field along a radial geodesic in the normal coordinate system, one has

${\displaystyle g_{ij}=\delta _{ij}-{\frac {1}{3))R_{ikjl}x^{k}x^{l}+O\left(|x|^{3}\right).}$

In these coordinates, the metric volume element then has the following expansion at p:

${\displaystyle d\mu _{g}=\left[1-{\frac {1}{6))R_{jk}x^{j}x^{k}+O\left(|x|^{3}\right)\right]d\mu _{\text{Euclidean)),}$

which follows by expanding the square root of the determinant of the metric.

Thus, if the Ricci curvature ${\displaystyle \operatorname {Ric} (\xi ,\xi )}$ is positive in the direction of a vector ${\displaystyle \xi }$, the conical region in ${\displaystyle M}$ swept out by a tightly focused family of geodesic segments of length ${\displaystyle \varepsilon }$ emanating from ${\displaystyle p}$, with initial velocity inside a small cone about ${\displaystyle \xi }$, will have smaller volume than the corresponding conical region in Euclidean space, at least provided that ${\displaystyle \varepsilon }$ is sufficiently small. Similarly, if the Ricci curvature is negative in the direction of a given vector ${\displaystyle \xi }$, such a conical region in the manifold will instead have larger volume than it would in Euclidean space.

The Ricci curvature is essentially an average of curvatures in the planes including ${\displaystyle \xi }$. Thus if a cone emitted with an initially circular (or spherical) cross-section becomes distorted into an ellipse (ellipsoid), it is possible for the volume distortion to vanish if the distortions along the principal axes counteract one another. The Ricci curvature would then vanish along ${\displaystyle \xi }$. In physical applications, the presence of a nonvanishing sectional curvature does not necessarily indicate the presence of any mass locally; if an initially circular cross-section of a cone of worldlines later becomes elliptical, without changing its volume, then this is due to tidal effects from a mass at some other location.

## Applications

Ricci curvature plays an important role in general relativity, where it is the key term in the Einstein field equations.

Ricci curvature also appears in the Ricci flow equation, where certain one-parameter families of Riemannian metrics are singled out as solutions of a geometrically-defined partial differential equation. This system of equations can be thought of as a geometric analog of the heat equation, and was first introduced by Richard S. Hamilton in 1982. Since heat tends to spread through a solid until the body reaches an equilibrium state of constant temperature, if one is given a manifold, the Ricci flow may be hoped to produce an 'equilibrium' Riemannian metric which is Einstein or of constant curvature. However, such a clean "convergence" picture cannot be achieved since many manifolds cannot support such metrics. A detailed study of the nature of solutions of the Ricci flow, due principally to Hamilton and Grigori Perelman, shows that the types of "singularities" that occur along a Ricci flow, corresponding to the failure of convergence, encodes deep information about 3-dimensional topology. The culmination of this work was a proof of the geometrization conjecture first proposed by William Thurston in the 1970s, which can be thought of as a classification of compact 3-manifolds.

On a Kähler manifold, the Ricci curvature determines the first Chern class of the manifold (mod torsion). However, the Ricci curvature has no analogous topological interpretation on a generic Riemannian manifold.

## Global geometry and topology

Here is a short list of global results concerning manifolds with positive Ricci curvature; see also classical theorems of Riemannian geometry. Briefly, positive Ricci curvature of a Riemannian manifold has strong topological consequences, while (for dimension at least 3), negative Ricci curvature has no topological implications. (The Ricci curvature is said to be positive if the Ricci curvature function ${\displaystyle \operatorname {Ric} (\xi ,\xi )}$ is positive on the set of non-zero tangent vectors ${\displaystyle \xi }$.) Some results are also known for pseudo-Riemannian manifolds.

1. Myers' theorem (1941) states that if the Ricci curvature is bounded from below on a complete Riemannian n-manifold by ${\displaystyle (n-1)k>0}$, then the manifold has diameter ${\displaystyle \leq \pi /{\sqrt {k))}$. By a covering-space argument, it follows that any compact manifold of positive Ricci curvature must have finite fundamental group. Cheng (1975) showed that, in this setting, equality in the diameter inequality occurs if only if the manifold is isometric to a sphere of a constant curvature ${\displaystyle k}$.
2. The Bishop–Gromov inequality states that if a complete ${\displaystyle n}$-dimensional Riemannian manifold has non-negative Ricci curvature, then the volume of a geodesic ball is less than or equal to the volume of a geodesic ball of the same radius in Euclidean ${\displaystyle n}$-space. Moreover, if ${\displaystyle v_{p}(R)}$ denotes the volume of the ball with center ${\displaystyle p}$ and radius ${\displaystyle R}$ in the manifold and ${\displaystyle V(R)=c_{n}R^{n))$ denotes the volume of the ball of radius ${\displaystyle R}$ in Euclidean ${\displaystyle n}$-space then the function ${\displaystyle v_{p}(R)/V(R)}$ is nonincreasing. This can be generalized to any lower bound on the Ricci curvature (not just nonnegativity), and is the key point in the proof of Gromov's compactness theorem.)
3. The Cheeger–Gromoll splitting theorem states that if a complete Riemannian manifold ${\displaystyle \left(M,g\right)}$ with ${\displaystyle \operatorname {Ric} \geq 0}$ contains a line, meaning a geodesic ${\displaystyle \gamma :\mathbb {R} \to M}$ such that ${\displaystyle d(\gamma (u),\gamma (v))=\left|u-v\right|}$ for all ${\displaystyle u,v\in \mathbb {R} }$, then it is isometric to a product space ${\displaystyle \mathbb {R} \times L}$. Consequently, a complete manifold of positive Ricci curvature can have at most one topological end. The theorem is also true under some additional hypotheses for complete Lorentzian manifolds (of metric signature ${\displaystyle \left(+--\ldots \right)}$) with non-negative Ricci tensor (Galloway 2000).
4. Hamilton's first convergence theorem for Ricci flow has, as a corollary, that the only compact 3-manifolds which have Riemannian metrics of positive Ricci curvature are the quotients of the 3-sphere by discrete subgroups of SO(4) which act properly discontinuously. He later extended this to allow for nonnegative Ricci curvature. In particular, the only simply-connected possibility is the 3-sphere itself.

These results, particularly Myers' and Hamilton's, show that positive Ricci curvature has strong topological consequences. By contrast, excluding the case of surfaces, negative Ricci curvature is now known to have no topological implications; Lohkamp (1994) has shown that any manifold of dimension greater than two admits a complete Riemannian metric of negative Ricci curvature. In the case of two-dimensional manifolds, negativity of the Ricci curvature is synonymous with negativity of the Gaussian curvature, which has very clear topological implications. There are very few two-dimensional manifolds which fail to admit Riemannian metrics of negative Gaussian curvature.

## Behavior under conformal rescaling

If the metric ${\displaystyle g}$ is changed by multiplying it by a conformal factor ${\displaystyle e^{2f))$, the Ricci tensor of the new, conformally-related metric ${\displaystyle {\tilde {g))=e^{2f}g}$ is given (Besse 1987, p. 59) by

${\displaystyle {\widetilde {\operatorname {Ric} ))=\operatorname {Ric} +(2-n)\left[\nabla df-df\otimes df\right]+\left[\Delta f-(n-2)\|df\|^{2}\right]g,}$

where ${\displaystyle \Delta =*d*d}$ is the (positive spectrum) Hodge Laplacian, i.e., the opposite of the usual trace of the Hessian.

In particular, given a point ${\displaystyle p}$ in a Riemannian manifold, it is always possible to find metrics conformal to the given metric ${\displaystyle g}$ for which the Ricci tensor vanishes at ${\displaystyle p}$. Note, however, that this is only pointwise assertion; it is usually impossible to make the Ricci curvature vanish identically on the entire manifold by a conformal rescaling.

For two dimensional manifolds, the above formula shows that if ${\displaystyle f}$ is a harmonic function, then the conformal scaling ${\displaystyle g\mapsto e^{2f}g}$ does not change the Ricci tensor (although it still changes its trace with respect to the metric unless ${\displaystyle f=0}$.

## Trace-free Ricci tensor

In Riemannian geometry and pseudo-Riemannian geometry, the trace-free Ricci tensor (also called traceless Ricci tensor) of a Riemannian or pseudo-Riemannian ${\displaystyle n}$-manifold ${\displaystyle \left(M,g\right)}$ is the tensor defined by

${\displaystyle Z=\operatorname {Ric} -{\frac {1}{n))Rg,}$

where ${\displaystyle \operatorname {Ric} }$ and ${\displaystyle R}$ denote the Ricci curvature and scalar curvature of ${\displaystyle g}$. The name of this object reflects the fact that its trace automatically vanishes: ${\displaystyle \operatorname {tr} _{g}Z\equiv g^{ab}Z_{ab}=0.}$ However, it is quite an important tensor since it reflects an "orthogonal decomposition" of the Ricci tensor.

### The orthogonal decomposition of the Ricci tensor

The following, not so trivial, property is

${\displaystyle \operatorname {Ric} =Z+{\frac {1}{n))Rg.}$

It is less immediately obvious that the two terms on the right hand side are orthogonal to each other:

${\displaystyle \left\langle Z,{\frac {1}{n))Rg\right\rangle _{g}\equiv g^{ab}\left(R_{ab}-{\frac {1}{n))Rg_{ab}\right)=0.}$

An identity which is intimately connected with this (but which could be proved directly) is that

${\displaystyle \left|\operatorname {Ric} \right|_{g}^{2}=|Z|_{g}^{2}+{\frac {1}{n))R^{2}.}$

### The trace-free Ricci tensor and Einstein metrics

By taking a divergence, and using the contracted Bianchi identity, one sees that ${\displaystyle Z=0}$ implies ${\textstyle {\frac {1}{2))dR-{\frac {1}{n))dR=0}$. So, provided that n ≥ 3 and ${\displaystyle M}$ is connected, the vanishing of ${\displaystyle Z}$ implies that the scalar curvature is constant. One can then see that the following are equivalent:

• ${\displaystyle Z=0}$
• ${\displaystyle \operatorname {Ric} =\lambda g}$ for some number ${\displaystyle \lambda }$
• ${\displaystyle \operatorname {Ric} ={\frac {1}{n))Rg}$

In the Riemannian setting, the above orthogonal decomposition shows that ${\displaystyle R^{2}=n|\operatorname {Ric} |^{2))$ is also equivalent to these conditions. In the pseudo-Riemmannian setting, by contrast, the condition ${\displaystyle |Z|_{g}^{2}=0}$ does not necessarily imply ${\displaystyle Z=0,}$ so the most that one can say is that these conditions imply ${\displaystyle R^{2}=n\left|\operatorname {Ric} \right|_{g}^{2}.}$

In particular, the vanishing of trace-free Ricci tensor characterizes Einstein manifolds, as defined by the condition ${\displaystyle \operatorname {Ric} =\lambda g}$ for a number ${\displaystyle \lambda .}$ In general relativity, this equation states that ${\displaystyle \left(M,g\right)}$ is a solution of Einstein's vacuum field equations with cosmological constant.

## Kähler manifolds

On a Kähler manifold ${\displaystyle X}$, the Ricci curvature determines the curvature form of the canonical line bundle (Moroianu 2007, Chapter 12). The canonical line bundle is the top exterior power of the bundle of holomorphic Kähler differentials:

${\displaystyle \kappa ={\textstyle \bigwedge }^{n}~\Omega _{X}.}$

The Levi-Civita connection corresponding to the metric on ${\displaystyle X}$ gives rise to a connection on ${\displaystyle \kappa }$. The curvature of this connection is the 2-form defined by

${\displaystyle \rho (X,Y)\;{\stackrel {\text{def)){=))\;\operatorname {Ric} (JX,Y)}$

where ${\displaystyle J}$ is the complex structure map on the tangent bundle determined by the structure of the Kähler manifold. The Ricci form is a closed 2-form. Its cohomology class is, up to a real constant factor, the first Chern class of the canonical bundle, and is therefore a topological invariant of ${\displaystyle X}$ (for compact ${\displaystyle X}$) in the sense that it depends only on the topology of ${\displaystyle X}$ and the homotopy class of the complex structure.

Conversely, the Ricci form determines the Ricci tensor by

${\displaystyle \operatorname {Ric} (X,Y)=\rho (X,JY).}$

In local holomorphic coordinates ${\displaystyle z^{\alpha ))$, the Ricci form is given by

${\displaystyle \rho =-i\partial {\overline {\partial ))\log \det \left(g_{\alpha {\overline {\beta ))}\right)}$

where is the Dolbeault operator and

${\displaystyle g_{\alpha {\overline {\beta ))}=g\left({\frac {\partial }{\partial z^{\alpha ))},{\frac {\partial }{\partial {\overline {z))^{\beta ))}\right).}$

If the Ricci tensor vanishes, then the canonical bundle is flat, so the structure group can be locally reduced to a subgroup of the special linear group ${\displaystyle SL(n;\mathbb {C} )}$. However, Kähler manifolds already possess holonomy in ${\displaystyle U(n)}$, and so the (restricted) holonomy of a Ricci-flat Kähler manifold is contained in ${\displaystyle SU(n)}$. Conversely, if the (restricted) holonomy of a 2${\displaystyle n}$-dimensional Riemannian manifold is contained in ${\displaystyle SU(n)}$, then the manifold is a Ricci-flat Kähler manifold (Kobayashi & Nomizu 1996, IX, §4).

## Generalization to affine connections

The Ricci tensor can also be generalized to arbitrary affine connections, where it is an invariant that plays an especially important role in the study of projective geometry (geometry associated to unparameterized geodesics) (Nomizu & Sasaki 1994). If ${\displaystyle \nabla }$ denotes an affine connection, then the curvature tensor ${\displaystyle R}$ is the (1,3)-tensor defined by

${\displaystyle R(X,Y)Z=\nabla _{X}\nabla _{Y}Z-\nabla _{Y}\nabla _{X}Z-\nabla _{[X,Y]}Z}$

for any vector fields ${\displaystyle X,Y,Z}$. The Ricci tensor is defined to be the trace:

${\displaystyle \operatorname {ric} (X,Y)=\operatorname {tr} {\big (}Z\mapsto R(Z,X)Y{\big )}.}$

In this more general situation, the Ricci tensor is symmetric if and only if there exists locally a parallel volume form for the connection.

## Discrete Ricci curvature

Notions of Ricci curvature on discrete manifolds have been defined on graphs and networks, where they quantify local divergence properties of edges. Ollivier's Ricci curvature is defined using optimal transport theory.[4] A different (and earlier) notion, Forman's Ricci curvature, is based on topological arguments.[5]