The Einstein field equations (EFE; also known as Einstein's equations) comprise the set of 10 equations in Albert Einstein's general theory of relativity that describe the fundamental interaction of gravitation as a result of spacetime being curved by mass and energy. First published by Einstein in 1915 as a tensor equation, the EFE relate 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.
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 linearized EFE. These equations are used to study phenomena such as gravitational waves.
where R is the Ricci curvature tensor, R is the scalar curvature, g is the metric tensor, ? is the cosmological constant, G is Newton's gravitational constant, c is the speed of light in vacuum, and T is 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, 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 ten coupled, nonlinear, hyperbolic-elliptic partial differential equations.
One can write the EFE in a more compact form by defining the Einstein tensor
which is a symmetric second-rank tensor that is a function of the metric. The EFE can then be written as
In standard units, each term on the left has units of 1/length2. With this choice of Einstein constant as 8?G/c4, then the stress-energy tensor on the right side of the equation must be written with each component in units of energy-density (i.e., energy per volume = pressure).
Using geometrized units where G = c = 1, this can be rewritten as
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.
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):
The third sign above is related to the choice of convention for the Ricci tensor:
With these definitions Misner, Thorne, and Wheeler classify themselves as (+ + +), whereas Weinberg (1972) and Peacock (1994) are (+ - -), Peebles (1980) and Efstathiou et al. (1990) are (- + +), Rindler (1977), Atwater (1974), Collins Martin & Squires (1989) are (- + -).
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
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.
Taking the trace with respect to the metric of both sides of the EFE one gets
where D is the spacetime dimension. This expression can be rewritten as
If one adds -g times this to the EFE, one gets the following equivalent "trace-reversed" form
For example, in D = 4 dimensions this reduces to
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 in the expression on the right with the Minkowski metric without significant loss of accuracy).
Since ? is constant, the energy conservation law is unaffected.
The cosmological constant term was originally introduced by Einstein to allow for a universe that is not expanding or contracting. This effort was unsuccessful because:
So, Einstein abandoned ?, calling it the "biggest blunder [he] ever made".
Despite Einstein's motivation for introducing the cosmological constant term, there is nothing inconsistent with the presence of such a term in the equations. For many years the cosmological constant was almost universally considered to be 0. However, recent improved astronomical techniques have found that a positive value of ? is needed to explain the accelerating universe. However, the cosmological constant is negligible at the scale of a galaxy or smaller.
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:
The resulting vacuum energy density is constant and given by
The existence of a cosmological constant is thus equivalent to the existence of a non-zero vacuum energy. Thus, the terms "cosmological constant" and "vacuum energy" are now used interchangeably in general relativity.
General relativity is consistent with the local conservation of energy and momentum expressed as
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.
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 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.
If the energy-momentum tensor T is zero in the region under consideration, then the field equations are also referred to as the vacuum field equations. By setting T = 0 in the trace-reversed field equations, the vacuum equations can be written as
In the case of nonzero cosmological constant, the equations are
The solutions to the vacuum field equations are called vacuum solutions. Flat Minkowski space is the simplest example of a vacuum solution. Nontrivial examples include the Schwarzschild solution and the Kerr solution.
is used, then the Einstein field equations are called the Einstein-Maxwell equations (with cosmological constant ?, taken to be zero in conventional relativity theory):
Additionally, the covariant Maxwell equations are also applicable in free space:
where the semicolon represents a covariant derivative, and the brackets denote anti-symmetrization. The first equation asserts that the 4-divergence of the two-form F is zero, and the second that its exterior derivative is zero. From the latter, it follows by the Poincaré lemma that in a coordinate chart it is possible to introduce an electromagnetic field potential A? such that
in which the comma denotes a partial derivative. This is often taken as equivalent to the covariant Maxwell equation from which it is derived. However, there are global solutions of the equation which may lack a globally defined potential.
The solutions of the Einstein field equations are metrics of spacetime. These metrics describe the structure of the spacetime including the inertial motion of objects in the spacetime. As the field equations are non-linear, they cannot always be completely solved (i.e. without making approximations). For example, there is no known complete solution for a spacetime with two massive bodies in it (which is a theoretical model of a binary star system, for example). However, approximations are usually made in these cases. These are commonly referred to as post-Newtonian approximations. Even so, there are numerous cases where the field equations have been solved completely, and those are called exact solutions.
One can also discover new solutions of the Einstein field equations via the method of orthonormal frames as pioneered by Ellis and MacCallum. In this approach, the Einstein field equations are reduced to a set of coupled, nonlinear, ordinary differential equations. As discussed by Hsu and Wainwright, self-similar solutions to the Einstein field equations are fixed points of the resulting dynamical system. New solutions have been discovered using these methods by LeBlanc  and Kohli and Haslam.
The nonlinearity of the EFE makes finding exact solutions difficult. One way of solving the field equations is to make an approximation, namely, that far from the source(s) of gravitating matter, the gravitational field is very weak and the spacetime approximates that of Minkowski space. The metric is then written as the sum of the Minkowski metric and a term representing the deviation of the true metric from the Minkowski metric, with terms that are quadratic in or higher powers of the deviation being ignored. This linearization procedure can be used to investigate the phenomena of gravitational radiation.
One might think that EFE are non-polynomial since they contain the inverse of the metric tensor. However, the equations can be arranged so that they contain only the metric tensor and not its inverse. First, the determinant of the metric in 4 dimensions can be written:
using the Levi-Civita symbol; and the inverse of the metric in 4 dimensions can be written as:
Substituting this definition of the inverse of the metric into the equations then multiplying both sides by det(g) until there are none left in the denominator results in polynomial equations in the metric tensor and its first and second derivatives. The action from which the equations are derived can also be written in polynomial form by suitable redefinitions of the fields.