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

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 10 coupled, nonlinear, hyperbolic-elliptic partial differential equations.

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

G
μ
ν
=
R
μ
ν
−
1
2
R
g
μ
ν
,
which is a symmetric second-rank tensor that is a function of the metric. The EFE can then be written as

G
μ
ν
+
Λ
g
μ
ν
=
8
π
G
c
4
T
μ
ν
.
Using geometrized units where *G* = *c* = 1, this can be rewritten as

G
μ
ν
+
Λ
g
μ
ν
=
8
π
T
μ
ν
.
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.

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):

g
μ
ν
=
[
S
1
]
×
diag
(
−
1
,
+
1
,
+
1
,
+
1
)
R
μ
α
β
γ
=
[
S
2
]
×
(
Γ
α
γ
,
β
μ
−
Γ
α
β
,
γ
μ
+
Γ
σ
β
μ
Γ
γ
α
σ
−
Γ
σ
γ
μ
Γ
β
α
σ
)
G
μ
ν
=
[
S
3
]
×
8
π
G
c
4
T
μ
ν
The third sign above is related to the choice of convention for the Ricci tensor:

R
μ
ν
=
[
S
2
]
×
[
S
3
]
×
R
α
μ
α
ν
With these definitions Misner, Thorne, and Wheeler classify themselves as (+ + +), whereas Weinberg (1972) is (+ − −), Peebles (1980) and Efstathiou (1990) are (− + +), while Peacock (1994), 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

R
μ
ν
−
1
2
R
g
μ
ν
−
Λ
g
μ
ν
=
−
8
π
G
c
4
T
μ
ν
.
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

R
−
D
2
R
+
D
Λ
=
8
π
G
c
4
T
where D is the spacetime dimension. This expression can be rewritten as

−
R
+
D
Λ
D
2
−
1
=
8
π
G
c
4
T
D
2
−
1
.
If one adds −1/2*g*_{μν} times this to the EFE, one gets the following equivalent "trace-reversed" form

R
μ
ν
−
Λ
g
μ
ν
D
2
−
1
=
8
π
G
c
4
(
T
μ
ν
−
1
D
−
2
T
g
μ
ν
)
.
For example, in *D* = 4 dimensions this reduces to

R
μ
ν
−
Λ
g
μ
ν
=
8
π
G
c
4
(
T
μ
ν
−
1
2
T
g
μ
ν
)
.
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).

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

R
μ
ν
−
1
2
R
g
μ
ν
+
Λ
g
μ
ν
=
8
π
G
c
4
T
μ
ν
.
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:

the universe described by this theory was unstable, and
observations by Edwin Hubble confirmed that our universe is expanding.
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.

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
μ
ν
(
v
a
c
)
=
−
Λ
c
4
8
π
G
g
μ
ν
.
The resulting vacuum energy is constant and given by

ρ
v
a
c
=
Λ
c
2
8
π
G
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

∇
β
T
α
β
=
T
α
β
;
β
=
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.

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

R
μ
ν
=
0
.
In the case of nonzero cosmological constant, the equations are

R
μ
ν
=
Λ
D
2
−
1
g
μ
ν
.
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.

Manifolds with a vanishing Ricci tensor, *R*_{μν} = 0, are referred to as Ricci-flat manifolds and manifolds with a Ricci tensor proportional to the metric as Einstein manifolds.

If the energy-momentum tensor T_{μν} is that of an electromagnetic field in free space, i.e. if the electromagnetic stress–energy tensor

T
α
β
=
−
1
μ
0
(
F
α
ψ
F
ψ
β
+
1
4
g
α
β
F
ψ
τ
F
ψ
τ
)
is used, then the Einstein field equations are called the *Einstein–Maxwell equations* (with cosmological constant Λ, taken to be zero in conventional relativity theory):

R
α
β
−
1
2
R
g
α
β
+
Λ
g
α
β
=
8
π
G
c
4
μ
0
(
F
α
ψ
F
ψ
β
+
1
4
g
α
β
F
ψ
τ
F
ψ
τ
)
.
Additionally, the covariant Maxwell equations are also applicable in free space:

F
α
β
;
β
=
0
F
[
α
β
;
γ
]
=
1
3
(
F
α
β
;
γ
+
F
β
γ
;
α
+
F
γ
α
;
β
)
=
1
3
(
F
α
β
,
γ
+
F
β
γ
,
α
+
F
γ
α
,
β
)
=
0.
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

F
α
β
=
A
α
;
β
−
A
β
;
α
=
A
α
,
β
−
A
β
,
α
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.

The study of exact solutions of Einstein's field equations is one of the activities of cosmology. It leads to the prediction of black holes and to different models of evolution of the universe.

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:

det
(
g
)
=
1
24
ε
α
β
γ
δ
ε
κ
λ
μ
ν
g
α
κ
g
β
λ
g
γ
μ
g
δ
ν
using the Levi-Civita symbol; and the inverse of the metric in 4 dimensions can be written as:

g
α
κ
=
1
6
ε
α
β
γ
δ
ε
κ
λ
μ
ν
g
β
λ
g
γ
μ
g
δ
ν
det
(
g
)
.
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.