# Ricci curvature

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 differs from that of ordinary Euclidean space or pseudo-Euclidean space.

The Ricci tensor can be characterized by measurement of how volume 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 Riemannian or pseudo-Riemannian metric itself, the Ricci tensor assigns to each tangent space of the manifold a symmetric bilinear form (Besse 1987, p. 43). 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. This established a deep link between Ricci curvature and Wasserstein geometry and optimal transport, which is presently the subject of much research.

## Definition

The first subsection here is meant as an indication of the definition of the Ricci tensor for readers who are comfortable with linear algebra and multivariable calculus. The later subsections use more sophisticated terminology.

### Local definition and introduction

Let $U\subset \mathbb {R} ^{n}$  be an open set, and for each $i,j=1,\ldots ,n$  let $g_{ij}:U\to \mathbb {R}$  be a smooth function, subject to the restriction that for each $p\in U$  the matrix

${\begin{pmatrix}g_{11}(p)&\cdots &g_{1n}(p)\\\vdots &\ddots &\vdots \\g_{n1}(p)&\cdots &g_{nn}(p)\end{pmatrix}}$

is symmetric and invertible. Let $g^{ij}:U\to \mathbb {R}$  denote the components of the inverse matrices, so that for each $p\in U$  and each $i,j=1,\ldots ,n$  one has

${\begin{pmatrix}g_{11}(p)&\cdots &g_{1n}(p)\\\vdots &\ddots &\vdots \\g_{n1}(p)&\cdots &g_{nn}(p)\end{pmatrix}}{\begin{pmatrix}g^{11}(p)&\cdots &g^{1n}(p)\\\vdots &\ddots &\vdots \\g^{n1}(p)&\cdots &g^{nn}(p)\end{pmatrix}}={\begin{pmatrix}1&\cdots &0\\\vdots &\ddots &\vdots \\0&\cdots &1\end{pmatrix}}.$

Now define for each $i,j=1,\ldots ,n$  the function $R_{ij}:U\to \mathbb {R}$  by

{\begin{aligned}R_{ij}&=-{\frac {1}{2}}\sum _{a,b=1}^{n}{\Big (}{\frac {\partial ^{2}g_{ij}}{\partial x^{a}\partial x^{b}}}+{\frac {\partial ^{2}g_{ab}}{\partial x^{i}\partial x^{j}}}-{\frac {\partial ^{2}g_{ib}}{\partial x^{j}\partial x^{a}}}-{\frac {\partial ^{2}g_{jb}}{\partial x^{i}\partial x^{a}}}{\Big )}g^{ab}\\&\qquad +{\frac {1}{2}}\sum _{a,b,c,d=1}^{n}{\Big (}{\frac {1}{2}}{\frac {\partial g_{ac}}{\partial x^{i}}}{\frac {\partial g_{bd}}{\partial x^{j}}}+{\frac {\partial g_{ic}}{\partial x^{a}}}{\frac {\partial g_{jd}}{\partial x^{b}}}-{\frac {\partial g_{ic}}{\partial x^{a}}}{\frac {\partial g_{jb}}{\partial x^{d}}}{\Big )}g^{ab}g^{cd}\\&\qquad -{\frac {1}{4}}\sum _{a,b,c,d=1}^{n}{\Big (}{\frac {\partial g_{jc}}{\partial x^{i}}}+{\frac {\partial g_{ic}}{\partial x^{j}}}-{\frac {\partial g_{ij}}{\partial x^{c}}}{\Big )}{\Big (}2{\frac {\partial g_{bd}}{\partial x^{a}}}-{\frac {\partial g_{ab}}{\partial x^{d}}}{\Big )}g^{ab}g^{cd}.\end{aligned}}

As presented, there is nothing intuitive about this definition. However, it satisfies the following remarkable property. Let $V\subset \mathbb {R} ^{n}$  be an open set and let $y:V\to U$  be a smooth map such whose matrix of first derivatives

$J(q)={\begin{pmatrix}D_{1}y^{1}(q)&\cdots &D_{n}y^{1}(q)\\\vdots &\ddots &\vdots \\D_{1}y^{n}(q)&\cdots &D_{n}y^{n}(q)\end{pmatrix}}$

is invertible for all $q\in V.$  Define ${\widetilde {g}}_{ij}:V\to \mathbb {R}$  by the matrix product

${\begin{pmatrix}{\widetilde {g}}_{11}(q)&\cdots &{\widetilde {g}}_{1n}(q)\\\vdots &\ddots &\vdots \\{\widetilde {g}}_{n1}(q)&\cdots &{\widetilde {g}}_{nn}(q)\end{pmatrix}}=J(q)^{T}{\begin{pmatrix}g_{11}(y(q))&\cdots &g_{1n}(y(q))\\\vdots &\ddots &\vdots \\g_{n1}(y(q))&\cdots &g_{nn}(y(q))\end{pmatrix}}J(q)$

Compute the functions ${\widetilde {R}}_{ij}:V\to \mathbb {R}$  using the same formula as above but replacing $g$  by ${\widetilde {g}}$  everywhere that it appears. Then one could check, using the product rule and the chain rule, that

${\begin{pmatrix}{\widetilde {R}}_{11}(q)&\cdots &{\widetilde {R}}_{1n}(q)\\\vdots &\ddots &\vdots \\{\widetilde {R}}_{n1}(q)&\cdots &{\widetilde {R}}_{nn}(q)\end{pmatrix}}=J(q)^{T}{\begin{pmatrix}R_{11}(y(q))&\cdots &R_{1n}(y(q))\\\vdots &\ddots &\vdots \\R_{n1}(y(q))&\cdots &R_{nn}(y(q))\end{pmatrix}}J(q)$

for all $q\in V.$  This is quite unexpected since, directly plugging the formula which defines ${\widetilde {g}}_{ij}$  into the formula defining ${\widetilde {R}}_{ij},$  one sees that one will have to consider up to third derivatives of $x,$  arising when the second derivatives in the first four terms of ${\widetilde {R}}_{ij}$  act upon the components of $J.$  The "miracle" is that the unwieldy collection of first derivatives, second derivatives, and inverses comprising the definition of $R_{ij}$  is perfectly set up so that all of these higher derivatives of $y$  cancel out, and one is left with the remarkable clean matrix formula above which relates $R_{ij}$  and ${\widetilde {R}}_{ij}.$  Although it is a somewhat small matter next to this cancellation, note also that, as can be seen from the grouping of the terms in the definition of $R_{ij},$  one has the symmetry $R_{ij}(p)=R_{ji}(p)$  for all $i,j=1,\ldots ,n$  and all $p\in U.$  Importantly, there is (very loosely speaking) no simpler way of using $g$  to prescribe $R$  which will make the same sort of cancellations work out.

In physical terms, this above property is a manifestation of "general covariance" and is a primary reason that Einstein made use of the formula defining $R_{ij}$  when formulating general relativity. In mathematical terms, this shows that a (sufficiently differentiable) pseudo-Riemmannian metric defines descendant tensor fields. This is discussed from the perspective of differentiable manifolds in the next subsection, although the underlying content is virtually identical to that of this subsection.

### Definition via local coordinates on a smooth manifold

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

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

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

Now for each $i,j,k=1,\ldots ,n$  define $\Gamma _{ij}^{k}:\varphi (U)\to \mathbb {R}$  by

$\Gamma _{ij}^{k}={\frac {1}{2}}\sum _{c=1}^{n}{\Big (}{\frac {\partial g_{jc}}{\partial x^{i}}}+{\frac {\partial g_{ic}}{\partial x^{j}}}-{\frac {\partial g_{ij}}{\partial x^{c}}}{\Big )}g^{kc},$

and then, for each $i,j=1,\ldots ,n,$  define $R_{ij}^{(U,\varphi )}:\varphi (U)\to \mathbb {R}$  by

$R_{ij}^{(U,\varphi )}=\sum _{a=1}^{n}{\frac {\partial \Gamma _{ij}^{a}}{\partial x^{a}}}-\sum _{a=1}^{n}{\frac {\partial \Gamma _{aj}^{a}}{\partial x^{i}}}+\sum _{a=1}^{n}\sum _{b=1}^{n}{\Big (}\Gamma _{ab}^{a}\Gamma _{ij}^{b}-\Gamma _{ib}^{a}\Gamma _{aj}^{b}{\Big )}.$

If $(U,\varphi )$  and $(V,\psi )$  are smooth charts with $U\cap V\neq \emptyset ,$  then one has, as can be checked by a calculation with the chain rule and the product rule,

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

Now, for any $p\in U,$  one can define a bilinear map $\operatorname {Ric} _{p}:T_{p}M\times T_{p}M\to \mathbb {R}$  by

$\operatorname {Ric} _{p}(X,Y)=\sum _{i,j=1}^{n}R_{ij}^{(U,\varphi )}(\varphi (x))X^{i}(p)Y^{j}(p),$

where $X^{1},\ldots ,X^{n}$  and $Y^{1},\ldots ,Y^{n}$  are the components of $X$  and $Y$  relative to the coordinate vector fields. According to the relation between $R^{(U,\varphi )}$  and $R^{(V,\psi )}$  above, the definition of $\operatorname {Ric} _{p}$  does not depend on the choice of $(U,\varphi ).$

### Informal definition via local coordinates on a smooth manifold

The above expressions and notation, although very formal, is quite cumbersome in practice. Many expositions in local coordinates would say the same thing in the following language:

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

$\Gamma _{ij}^{k}={\frac {1}{2}}g^{kl}(\partial _{i}g_{jl}+\partial _{j}g_{il}-\partial _{l}g_{ij})$

and

$R_{jk}=\partial _{i}\Gamma _{jk}^{i}-\partial _{j}\Gamma _{ik}^{i}+\Gamma _{ip}^{i}\Gamma _{jk}^{p}-\Gamma _{jp}^{i}\Gamma _{ik}^{p}.$

Since $R_{jk}={\widetilde {R}}_{ab}{\frac {\partial {\widetilde {x}}^{a}}{\partial x^{i}}}{\frac {\partial {\widetilde {x}}^{b}}{\partial x^{j}}},$  this defines a (0,2)-tensor field on $M,$  called the Ricci tensor of $g.$

### Definition via the Riemann curvature tensor

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

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

on vector fields X, Y, Z. The crucial property of $R$  is that if $X,Y,Z$  and $X',Y',Z'$  are smooth vector fields such that $X_{p}=X_{p}',$  $Y_{p}=Y_{p}',$  and $Z_{p}=Z_{p}',$  then

${\big (}R(X,Y)Z{\big )}_{p}={\big (}R(X',Y')Z'{\big )}_{p}.$

So the Riemann curvature actually defines, for each $p\in M,$  a (multilinear) map

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

such that $\operatorname {Rm} _{p}(u,v,w)={\big (}R(X,Y)Z{\big )}_{p}$ , where $X,Y,Z$  are smooth vector field extensions of the vectors $u,v,w.$  Define $\operatorname {Ric} _{p}:T_{p}M\times T_{p}M\to \mathbb {R}$  by

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

Note that some sources define $R(X,Y)Z$  to be what would here be called $-R(X,Y)Z;$  they would then define $\operatorname {Ric}$  as $-\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.

### Comparison of the definitions

The two above definitions are identical. The formulas defining $\Gamma _{ij}^{k}$  and $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 $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.

Note also that the complicated formula defining $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 $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

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

for all $X,Y\in T_{p}M.$  It thus follows linear-algebraically that the Ricci tensor is completely determined by knowing the quantity Ric(X,X) for all vectors 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 ξ is a vector of unit length on a Riemannian n-manifold, then Ric(ξ,ξ) is precisely (n − 1) times the average value of the sectional curvature, taken over all the 2-planes containing ξ. There is an (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

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

where $R$  is the scalar curvature, defined in local coordinates as $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). Specifically, in harmonic local coordinates the components satisfy

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

where $\Delta =\nabla \cdot \nabla$  is the Laplace–Beltrami operator, here regarded as acting on the locally-defined functions gij. 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 p, at the point p

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

## Direct geometric meaning

Near any point p in a Riemannian manifold (M,g), one can define preferred local coordinates, called geodesic normal coordinates. These are adapted to the metric so that geodesics through p correspond to straight lines through the origin, in such a manner that the geodesic distance from 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

$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

$g_{ij}=\delta _{ij}-{\tfrac {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:

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

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

Thus, if the Ricci curvature Ric(ξ,ξ) is positive in the direction of a vector ξ, the conical region in M swept out by a tightly focused family of geodesic segments of length $\varepsilon$  emanating from p, with initial velocity inside a small cone about ξ, will have smaller volume than the corresponding conical region in Euclidean space, at least provided that $\varepsilon$  is sufficiently small. Similarly, if the Ricci curvature is negative in the direction of a given vector ξ, 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 ξ. 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 ξ. 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 much 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 Ric(ξ,ξ) is positive on the set of non-zero tangent vectors ξ.) 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 (n − 1)k > 0, then the manifold has diameter π/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 k.
2. The Bishop–Gromov inequality states that if a complete 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 n-space. Moreover, if vp(R) denotes the volume of the ball with center p and radius R in the manifold and V(R) = cnRn denotes the volume of the ball of radius R in Euclidean n-space then the function vp(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 (M,g) with Ric ≥ 0 contains a line, meaning a geodesic $\gamma :\mathbb {R} \to M$  such that d(γ(u),γ(v)) = |uv| for all u, v ∈ ℝ, then it is isometric to a product space ℝ × 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 (+ − − ...)) 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 g is changed by multiplying it by a conformal factor e2f, the Ricci tensor of the new, conformally-related metric = e2fg is given (Besse 1987, p. 59) by

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

where Δ = d*d is the (positive spectrum) Hodge Laplacian, i.e., the opposite of the usual trace of the Hessian.

In particular, given a point p in a Riemannian manifold, it is always possible to find metrics conformal to the given metric g for which the Ricci tensor vanishes at 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 f is a harmonic function, then the conformal scaling ge2fg does not change the Ricci tensor (although it still changes its trace with respect to the metric unless 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 n-manifold (M,g) is the tensor defined by

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

where Ric and R denote the Ricci curvature and scalar curvature of g. The name of this object reflects the fact that its trace automatically vanishes: $\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

Trivially, one has

$\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:

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

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

$|\operatorname {Ric} |_{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 $Z=0$  implies $\textstyle {\frac {1}{2}}dR-{\frac {1}{n}}dR=0.$  So, provided that n ≥ 3 and $M$  is connected, the vanishing of $Z$  implies that the scalar curvature is constant. One can then see that the following are equivalent:

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

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

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

## Kähler manifolds

On a Kähler manifold 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:

$\kappa =\wedge ^{n}\Omega _{X}.$

The Levi-Civita connection corresponding to the metric on X gives rise to a connection on κ. The curvature of this connection is the two form defined by

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

where 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 X (for compact X) in the sense that it depends only on the topology of X and the homotopy class of the complex structure.

Conversely, the Ricci form determines the Ricci tensor by

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

In local holomorphic coordinates zα, the Ricci form is given by

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

where is the Dolbeault operator and

$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 SL(n,C). However, Kähler manifolds already possess holonomy in U(n), and so the (restricted) holonomy of a Ricci-flat Kähler manifold is contained in SU(n). Conversely, if the (restricted) holonomy of a 2n-dimensional Riemannian manifold is contained in 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 denotes an affine connection, then the curvature tensor R is the (1,3)-tensor defined by

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

for any vector fields X, Y, Z. The Ricci tensor is defined to be the trace:

$\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 exist locally a parallel volume form for the connection.

## Discrete Ricci curvature

Discrete notions of Ricci curvature have been defined on graphs and networks, where they quantify local divergence properties of edges. Olliver's Ricci curvature is defined using optimal transport theory. A second notion, Forman's Ricci curvature, is based on topological arguments.