### Einstein equation

The Einstein field equations (EFE) or Einstein's equations are a set of 10 equations in Albert Einstein's general theory of relativity which describe the fundamental interaction of gravitation as a result of spacetime being curved by matter and energy. First published by Einstein in 1915 as a tensor equation, the EFE equate local spacetime curvature (expressed by the Einstein tensor) with the local energy and momentum within that spacetime (expressed by the stress–energy tensor).

Similar to the way that electromagnetic fields are determined using charges and currents via Maxwell's equations, the EFE are used to determine the spacetime geometry resulting from the presence of mass-energy and linear momentum, that is, they determine the metric tensor of spacetime for a given arrangement of stress–energy in the spacetime. The relationship between the metric tensor and the Einstein tensor allows the EFE to be written as a set of non-linear partial differential equations when used in this way. The solutions of the EFE are the components of the metric tensor. The inertial trajectories of particles and radiation (geodesics) in the resulting geometry are then calculated using the geodesic equation.

As well as obeying local energy-momentum conservation, the EFE reduce to Newton's law of gravitation where the gravitational field is weak and velocities are much less than the speed of light.

Exact solutions for the EFE can only be found under simplifying assumptions such as symmetry. Special classes of exact solutions are most often studied as they model many gravitational phenomena, such as rotating black holes and the expanding universe. Further simplification is achieved in approximating the actual spacetime as flat spacetime with a small deviation, leading to the linearised EFE. These equations are used to study phenomena such as gravitational waves.

## Mathematical form

The Einstein field equations (EFE) may be written in the form:

Template:Equation box 1

where $R_\left\{\mu \nu\right\}\,$ is the Ricci curvature tensor, $R\,$ the scalar curvature, $g_\left\{\mu \nu\right\}\,$ the metric tensor, $\Lambda\,$ is the cosmological constant, $G\,$ is Newton's gravitational constant, $c\,$ the speed of light in vacuum, and $T_\left\{\mu \nu\right\}\,$ the stress–energy tensor.

The EFE is a tensor equation relating a set of symmetric 4×4 tensors. Each tensor has 10 independent components. The four Bianchi identities reduce the number of independent equations from 10 to 6, leaving the metric with four gauge fixing degrees of freedom, which correspond to the freedom to choose a coordinate system.

Although the Einstein field equations were initially formulated in the context of a four-dimensional theory, some theorists have explored their consequences in n dimensions. The equations in contexts outside of general relativity are still referred to as the Einstein field equations. The vacuum field equations (obtained when T is identically zero) define Einstein manifolds.

Despite the simple appearance of the equations they are actually quite complicated. Given a specified distribution of matter and energy in the form of a stress–energy tensor, the EFE are understood to be equations for the metric tensor $g_\left\{\mu \nu\right\}$, as both the Ricci tensor and scalar curvature depend on the metric in a complicated nonlinear manner. In fact, when fully written out, the EFE are a system of 10 coupled, nonlinear, hyperbolic-elliptic partial differential equations.

One can write the EFE in a more compact form by defining the Einstein tensor

$G_\left\{\mu \nu\right\} = R_\left\{\mu \nu\right\} - \left\{1 \over 2\right\}R g_\left\{\mu \nu\right\},$

which is a symmetric second-rank tensor that is a function of the metric. The EFE can then be written as

$G_\left\{\mu \nu\right\} + g_\left\{\mu \nu\right\} \Lambda = \left\{8 \pi G \over c^4\right\} T_\left\{\mu \nu\right\}.$

Using geometrized units where G = c = 1, this can be rewritten as

$G_\left\{\mu \nu\right\} + g_\left\{\mu \nu\right\} \Lambda = 8 \pi T_\left\{\mu \nu\right\}\,.$

The expression on the left represents the curvature of spacetime as determined by the metric; the expression on the right represents the matter/energy content of spacetime. The EFE can then be interpreted as a set of equations dictating how matter/energy determines the curvature of spacetime.

These equations, together with the geodesic equation, which dictates how freely-falling matter moves through space-time, form the core of the mathematical formulation of general relativity.

### Sign convention

The above form of the EFE is the standard established by Misner, Thorne, and Wheeler. The authors analyzed all conventions that exist and classified according to the following three signs (S1, S2, S3):



\begin{align} g_{\mu \nu} & = [S1] \times \operatorname{diag}(-1,+1,+1,+1) \\[6pt] {R^\mu}_{a \beta \gamma} & = [S2] \times (\Gamma^\mu_{a \gamma,\beta}-\Gamma^\mu_{a \beta,\gamma}+\Gamma^\mu_{\sigma \beta}\Gamma^\sigma_{\gamma a}-\Gamma^\mu_{\sigma \gamma}\Gamma^\sigma_{\beta a}) \\[6pt] G_{\mu \nu} & = [S3] \times {8 \pi G \over c^4} T_{\mu \nu} \end{align}

The third sign above is related to the choice of convention for the Ricci tensor:

$R_\left\{\mu \nu\right\}=\left[S2\right]\times \left[S3\right] \times \left\{R^a\right\}_\left\{\mu a \nu\right\}$

With these definitions Misner, Thorne, and Wheeler classify themselves as $\left(+++\right)\,$, whereas Weinberg (1972) is $\left(+--\right)\,$, Peebles (1980) and Efstathiou (1990) are $\left(-++\right)\,$ while Peacock (1994), Rindler (1977), Atwater (1974), Collins Martin & Squires (1989) are $\left(-+-\right)\,$.

Authors including Einstein have used a different sign in their definition for the Ricci tensor which results in the sign of the constant on the right side being negative

$R_\left\{\mu \nu\right\} - \left\{1 \over 2\right\}g_\left\{\mu \nu\right\}\,R - g_\left\{\mu \nu\right\} \Lambda = -\left\{8 \pi G \over c^4\right\} T_\left\{\mu \nu\right\}.$

The sign of the (very small) cosmological term would change in both these versions, if the +−−− metric sign convention is used rather than the MTW −+++ metric sign convention adopted here.

### Equivalent formulations

Taking the trace of both sides of the EFE one gets

$R - 2 R + 4 \Lambda = \left\{8 \pi G \over c^4\right\} T \,$

which simplifies to

$-R + 4 \Lambda = \left\{8 \pi G \over c^4\right\} T \,.$

If one adds $- \left\{1 \over 2\right\} g_\left\{\mu \nu\right\} \,$ times this to the EFE, one gets the following equivalent "trace-reversed" form

$R_\left\{\mu \nu\right\} - g_\left\{\mu \nu\right\} \Lambda = \left\{8 \pi G \over c^4\right\} \left\left(T_\left\{\mu \nu\right\} - \left\{1 \over 2\right\}T\,g_\left\{\mu \nu\right\}\right\right) \,.$

Reversing the trace again would restore the original EFE. The trace-reversed form may be more convenient in some cases (for example, when one is interested in weak-field limit and can replace $g_\left\{\mu\nu\right\} \,$ in the expression on the right with the Minkowski metric without significant loss of accuracy).

## The cosmological constant

Einstein modified his original field equations to include a cosmological term proportional to the metric

$R_\left\{\mu \nu\right\} - \left\{1 \over 2\right\}g_\left\{\mu \nu\right\}\,R + g_\left\{\mu \nu\right\} \Lambda = \left\{8 \pi G \over c^4\right\} T_\left\{\mu \nu\right\} \,.$

The constant $\Lambda$ is the cosmological constant. Since $\Lambda$ is constant, the energy conservation law is unaffected.

The cosmological constant term was originally introduced by Einstein to allow for a static universe (i.e., one that is not expanding or contracting). This effort was unsuccessful for two reasons: the static universe described by this theory was unstable, and observations of distant galaxies by Hubble a decade later confirmed that our universe is, in fact, not static but expanding. So $\Lambda$ was abandoned, with Einstein calling it the "biggest blunder [he] ever made". For many years the cosmological constant was almost universally considered to be 0.

Despite Einstein's misguided motivation for introducing the cosmological constant term, there is nothing inconsistent with the presence of such a term in the equations. Indeed, recent improved astronomical techniques have found that a positive value of $\Lambda$ is needed to explain the accelerating universe.

Einstein thought of the cosmological constant as an independent parameter, but its term in the field equation can also be moved algebraically to the other side, written as part of the stress–energy tensor:

$T_\left\{\mu \nu\right\}^\left\{\mathrm\left\{\left(vac\right)\right\}\right\} = - \frac\left\{\Lambda c^4\right\}\left\{8 \pi G\right\} g_\left\{\mu \nu\right\} \,.$

The resulting vacuum energy is constant and given by

$\rho_\left\{\mathrm\left\{vac\right\}\right\} = \frac\left\{\Lambda c^2\right\}\left\{8 \pi G\right\}$

The existence of a cosmological constant is thus equivalent to the existence of a non-zero vacuum energy. The terms are now used interchangeably in general relativity.

## Features

### Conservation of energy and momentum

General relativity is consistent with the local conservation of energy and momentum expressed as

$\nabla_\beta T^\left\{\alpha\beta\right\} \, = T^\left\{\alpha\beta\right\}\left\{\right\}_\left\{;\beta\right\} \, = 0$.

which expresses the local conservation of stress–energy. This conservation law is a physical requirement. With his field equations Einstein ensured that general relativity is consistent with this conservation condition.

### Nonlinearity

The nonlinearity of the EFE distinguishes general relativity from many other fundamental physical theories. For example, Maxwell's equations of electromagnetism are linear in the electric and magnetic fields, and charge and current distributions (i.e. the sum of two solutions is also a solution); another example is Schrödinger's equation of quantum mechanics which is linear in the wavefunction.

### The correspondence principle

The EFE reduce to Newton's law of gravity by using both the weak-field approximation and the slow-motion approximation. In fact, the constant G appearing in the EFE is determined by making these two approximations.