Classic paper · Relativity · Wednesday, December 2, 2026

Weeks after Einstein published his field equations, Schwarzschild solved them exactly, from the Russian front.

The two metric functions of the Schwarzschild solution against r, with r_s = 1: 1 - r_s/r rises from below zero to 1, and 1/(1 - r_s/r) falls from infinity at r = r_s toward 1.

Einstein's field equations of November 1915 are ten coupled nonlinear partial differential equations. Einstein himself solved them only approximately, and expected no exact solution to be found soon.

Karl Schwarzschild, director of the Potsdam observatory, was then an artillery officer on the Russian front. Within weeks he sent Einstein the exact field outside a round mass. Einstein had it presented to the Prussian Academy in January 1916. Schwarzschild died that May of an illness caught at the front.

His solution still describes the field of the Sun and of every non-spinning black hole. The calculation behind the button finds it from a general round, static metric in a few steps.

The paper: Karl Schwarzschild, “On the gravitational field of a mass point according to Einstein's theory”, Proceedings of the Prussian Academy of Sciences (1916).

Redo it in GalileoOpen an empty playground

The calculation opens in the playground and runs step by step, with notes on each step. Change any line and run it again.

The paper beside the calculation

Twelve passages of the 1916 paper, nearly in the order Schwarzschild wrote them. On the left is each passage as it was printed, in German, then what it says in English with his equations in his notation. On the right the same step is done in Galileo: what each line does, the line itself, and what its result means. Every line is live, so change it and press Run. Below each pair, how the two fit together. The English is our own rendering of the German; a full translation by S. Antoci and A. Loinger is linked above. Every name a line uses is defined in a line above it on this page.

Page 189 of the original paperp. 189Page 190 of the original paperp. 190Page 191 of the original paperp. 191Page 192 of the original paperp. 192Page 193 of the original paperp. 193Page 194 of the original paperp. 194Page 195 of the original paperp. 195Page 196 of the original paperp. 196

The eight pages of the original, Sitzungsberichte der Königlich Preussischen Akademie der Wissenschaften 1916, pages 189 to 196. The paper is in the public domain. Scan: digitized by the Internet Archive, from the NASA Astrophysics Data System.

explain = "off"
g = metric([t r theta phi], -f(r)*dt^2 + dr^2/h(r) + r^2*dtheta^2 + r^2*sin(theta)^2*dphi^2)
e = fieldeqs(g)
g2 = metric([t r theta phi], -f(r)*dt^2 + dr^2/(1 - r_s/r) + r^2*dtheta^2 + r^2*sin(theta)^2*dphi^2)
R = (3*x1 + alpha^3)^(1/3)
f1 = 1/(R^4*(1 - alpha/R))
f2 = R^2
x0 = solve(3*x1 + rho == alpha^3, x1)
f4 = 1 - alpha/R
k = metric([x4 x1 x2 x3], f4*dx4^2 - f1*dx1^2 - f2*dx2^2/(1 - x2^2) - f2*(1 - x2^2)*dx3^2)
s = metric([t r theta phi], -(1 - r_s/r)*dt^2 + dr^2/(1 - r_s/r) + r^2*dtheta^2 + r^2*sin(theta)^2*dphi^2)
K = kretschmann(s)
w = solve([(1 - h)/c2 + h*alpha*x/c2 - x^2 + alpha*x^3 == 0, h*alpha/c2 - 2*x + 3*alpha*x^2 == 0], [h, c2])
Step 1 of 12What kind of field he is looking for
In the paper
§1, the four conditions, and §3, equation (6)
The passage as printed on page 190: §1, the four conditions, and §3, equation (6)
As printed on page 190. Select it to see the whole page.
In English

Four requirements. Nothing depends on the time x₄. There are no mixed terms between time and space. The solution looks the same after any rotation. Far away, space is flat. The most general line element that meets the first three is, in polar coordinates, his equation (6) on page 191:

ds^2 = F\,dt^2-(G+Hr^2)\,dr^2-Gr^2\,(d\vartheta^2+\sin^2\vartheta\,d\varphi^2)
In Galileo

metric takes the list of coordinates and the line element, written with dt, dr, dtheta, dphi for the small steps. This is his equation (6) with our choice of r:

g = metric([t r theta phi], -f(r)*dt^2 + dr^2/h(r) + r^2*dtheta^2 + r^2*sin(theta)^2*dphi^2)

Read it term by term. -f(r)*dt^2: how fast clocks run at radius r. dr^2/h(r): how much longer a step outward is than dr says. The last two terms are the surface of an ordinary sphere of radius r.

f and h are left as unknown functions. Flat space, with no gravity at all, would be f = h = 1. Finding f and h is the whole problem.

The same assumptions, written with one function fewer. His r is the distance in ordinary rectangular coordinates, so he needs three unknown functions F, G and H. We use the freedom to choose r so that a sphere has area 4πr², which makes his G equal to 1 and leaves two: our f is his F, and our 1/h is his G + Hr². The signs are flipped throughout: he counts time as plus and space as minus, we do the opposite, as most textbooks do today.
Step 2 of 12The field equations it must satisfy
In the paper
§1, equations (4) and (5)
The passage as printed on page 190: §1, equations (4) and (5)
As printed on page 190. Select it to see the whole page.
In English

Stated at the top of the same page: the field equations as Einstein had published them in November 1915. They are written with the quantities Γ, built from first derivatives of the metric, and they come with a side condition, the determinant equation:

\sum_\alpha \frac{\partial\Gamma^\alpha_{\mu\nu}}{\partial x_\alpha}+\sum_{\alpha\beta}\Gamma^\alpha_{\mu\beta}\,\Gamma^\beta_{\nu\alpha}=0
|g_{\mu\nu}|=-1
In Galileo

In Galileo the field equations are one command. fieldeqs(g) takes a metric, works out its curvature, and returns the equations that say empty space, one for each component that is not already satisfied or a repeat of another.

The metric it is given is g, the general round, static one defined in step 1, with two unknown functions f(r) and h(r).

e = fieldeqs(g)
[(r*d(h, r)+h(r)-1)/r^2 == 0, (r*d(f, r)*h(r)+f(r)*h(r)-f(r))/(r^2*f(r)) == 0, (r*f(r)*d(f, r)*d(h, r)+2*r*f(r)*d(f, r, 2)*h(r)-r*d(f, r)^2*h(r)+2*f(r)^2*d(h, r)+2*f(r)*d(f, r)*h(r))/(4*r*f(r)^2) == 0]

The result is a row of three equations, kept under the name e. Each is an ordinary differential equation in r: h′ and f′ are derivatives with respect to r. The first contains only h. That is the one to solve first.

Schwarzschild needed two and a half pages to reach this point. Most of that work is in building the Γ quantities by hand, which is what the command does for us.

Both say that empty space has no Ricci curvature. In 1915 the equations only had this short form in coordinates where the determinant of the metric is −1. The modern form holds in any coordinates.
Step 3 of 12The trick with the coordinates
In the paper
§3, equation (7)
The passage as printed on page 191: §3, equation (7)
As printed on page 191. Select it to see the whole page.
In English

Ordinary polar coordinates do not have determinant 1, so in them his field equations would change form. He writes: An easy trick allows however to circumvent this difficulty. He sets

x_1=\frac{r^3}{3},\qquad x_2=-\cos\vartheta,\qquad x_3=\varphi
r^2\,dr\,\sin\vartheta\,d\vartheta\,d\varphi=dx_1\,dx_2\,dx_3
In Galileo

His claim is that the new variables turn the awkward volume factor of polar coordinates into 1. That takes one line to test. d(expr, r) is the derivative with respect to r:

d(r^3/3, r)*d(-cos(theta), theta)
r^2*sin(theta)

A small step dr changes x₁ by r² dr, and a small step dϑ changes x₂ by sin ϑ dϑ. Their product, r² sin ϑ, is exactly the factor in the volume element r² sin ϑ dr dϑ dφ. So in his variables a small box has volume dx₁ dx₂ dx₃, with no factor in front.

Try it: replace r^3/3 by r^2/2 and run again. The factor no longer matches, which is why he needed the cube.

We do not need the trick, because the modern equations hold in any coordinates. But every formula on his next three pages is written in these variables.
Step 4 of 12Three differential equations
In the paper
§4, equations (a), (b), (c)
The passage as printed on page 192: §4, equations (a), (b), (c)
As printed on page 192. Select it to see the whole page.
In English

With the line element written with four functions f₁ to f₄ of x₁ (and f₂ = f₃), working out the field equations leaves three ordinary differential equations, plus the determinant condition (d): f₁ f₂² f₄ = 1.

\text{b)}\quad\frac{\partial}{\partial x_1}\!\left(\frac{1}{f_1}\frac{\partial f_2}{\partial x_1}\right)=2+\frac{1}{f_1f_2}\left(\frac{\partial f_2}{\partial x_1}\right)^{2}
In Galileo

Our first equation, e[0] (e is the row of equations from step 2, and entries are counted from 0), reads r h′ + h − 1 = 0 once the r² underneath is cleared. dsolve(equation, h, r) solves a differential equation for the function h of r:

dsolve(e[0], h, r)
(C1+r)/r

So h = (C1 + r)/r = 1 + C1/r, where C1 is a constant of integration that the equation cannot fix. By hand: r h′ + h is the derivative of r·h, so r·h = r + C1.

Already this shows the physics. Far away (large r) h goes to 1, flat space, and the correction falls off like 1/r, as a Newtonian potential does. We call the constant −r_s.

His three equations are of second order and coupled. Ours are simpler because of our choice of r: the first holds h alone and is of first order.
Step 5 of 12Integrating them
In the paper
§4, equations (10) to (12)
The passage as printed on page 193: §4, equations (10) to (12)
As printed on page 193. Select it to see the whole page.
In English

He integrates step by step. Two constants of integration survive, α and ρ (a third, λ, is fixed to 1 by the condition far away). The three functions come out as

f_2=(3x_1+\rho)^{2/3}
f_4=1-\alpha\,(3x_1+\rho)^{-1/3}
f_1=\frac{(3x_1+\rho)^{-4/3}}{1-\alpha\,(3x_1+\rho)^{-1/3}}
In Galileo

Put the h we found into the metric, with C1 written as −r_s, and leave f unknown. The new metric gets its own name, g2:

g2 = metric([t r theta phi], -f(r)*dt^2 + dr^2/(1 - r_s/r) + r^2*dtheta^2 + r^2*sin(theta)^2*dphi^2)

Now ask for the field equations of g2 and solve the first of them for f:

dsolve(fieldeqs(g2)[0], f, r)
C1*(r-r_s)/r

f = C1 (r − r_s)/r, which is C1 (1 − r_s/r). This new constant C1 only rescales t, like choosing seconds or minutes, so we set it to 1. Then clocks far from the star tick at the normal rate.

Both unknown functions are now found: f = h = 1 − r_s/r. Compare with his page: three integrations and three constants, against our two calls and two constants.

Since 3x₁ = r³, his f₄ reads 1 − α/(r³ + ρ)1/3: one minus a constant over a radius. That is the shape of our result, C1 (r − r_s)/r = C1 (1 − r_s/r), where the constant C1 only sets the unit of time and is chosen as 1. Our r_s plays the part of his α.
Step 6 of 12The equation he set aside
In the paper
§4, top of page 194
The passage as printed on page 194: §4, top of page 194
As printed on page 194. Select it to see the whole page.
In English

He had left equation (b) out of the integration. Now he notes: As can be easily verified, the equation (b) is automatically fulfilled by the expressions that we found for f₁ and f₂.

In Galileo

We can do the check he leaves to the reader. First type in his solution, in his variables. R is his helper quantity, with ρ already set to α³ (step 7):

R = (3*x1 + alpha^3)^(1/3)
(alpha^3+3*x1)^(1/3)

His f₁ and f₂, exactly as printed on page 194. Galileo expands them, so the results look longer than what you typed, but they are the same functions:

f1 = 1/(R^4*(1 - alpha/R))
1/(alpha^3*(alpha^3+3*x1)^(1/3)-alpha^4-3*alpha*x1+3*x1*(alpha^3+3*x1)^(1/3))
f2 = R^2
(alpha^3+3*x1)^(2/3)

Now equation (b) itself. Its left side is the derivative of f₂′/f₁, its right side is 2 + f₂′²/(f₁ f₂). If (b) holds, left minus right must simplify to zero:

simplify(d(d(f2, x1)/f1, x1) - 2 - d(f2, x1)^2/(f1*f2))
0

It is 0, for every x₁ and every α. So the equation he never used is satisfied anyway, as he says. Try breaking it: change R^4 to R^3 in f1, run that block, then run the check again.

Easily verified is a page of algebra by hand. Here it is one line that anyone can rerun.
Step 7 of 12Where the solution breaks down
In the paper
§4, equation (13)
The passage as printed on page 194: §4, equation (13)
As printed on page 194. Select it to see the whole page.
In English

One requirement is left, continuity. f₁ becomes infinite where 3x₁ = α³ − ρ. In order that this discontinuity coincides with the origin, it must be ρ = α³. So the continuity condition ties the two constants together, and only α remains.

\rho=\alpha^3
In Galileo

Before he fixes ρ, his f₁ has 1 − α (3x₁ + ρ)−1/3 underneath (equation (12) in step 5). It becomes infinite where that is zero, which is where 3x₁ + ρ = α³. solve finds the x₁ where that happens:

x0 = solve(3*x1 + rho == alpha^3, x1)
(alpha^3-rho)/3

So the bad point sits at x₁ = (α³ − ρ)/3, and where that is depends on the still free constant ρ. He wants it at the origin, x₁ = 0, where the mass point is. Put in his choice ρ = α³ with subs:

subs(x0, rho, alpha^3)
0

0: with ρ = α³ the only bad point is the origin, and one constant, α, is left. This is the choice already built into R in step 6. Whether that point is really where the mass sits is a different question, which step 9 asks with a tool he did not have.

The same condition, solved by solve where he reads it off. His conclusion that the bad point is the mass point is the one place where the paper and today's understanding part ways: see step 9.
Step 8 of 12The complete solution, in his variables
In the paper
§4, the complete solution
The passage as printed on page 194: §4, the complete solution
As printed on page 194. Select it to see the whole page.
In English

The complete solution of our problem reads as below, where the auxiliary quantity R has been introduced.

f_1=\frac{1}{R^4}\,\frac{1}{1-\alpha/R},\qquad f_2=f_3=R^2,\qquad f_4=1-\alpha/R
R=(3x_1+\rho)^{1/3}=(r^3+\alpha^3)^{1/3}
In Galileo

Step 6 entered R, f₁ and f₂. One function is missing, f₄, the time part:

f4 = 1 - alpha/R
-(alpha-(alpha^3+3*x1)^(1/3))/(alpha^3+3*x1)^(1/3)

First his determinant condition (d), f₁ f₂² f₄ = 1, the price of using Einstein's 1915 form of the equations:

simplify(f1*f2^2*f4)
1

Exactly 1. Now build the metric straight from his line element (9), in his variables x₁ to x₄ and with his signs, time plus and space minus:

k = metric([x4 x1 x2 x3], f4*dx4^2 - f1*dx1^2 - f2*dx2^2/(1 - x2^2) - f2*(1 - x2^2)*dx3^2)

And put the modern field equations to it:

fieldeqs(k)
[]

[] is an empty row: no equation is left unsatisfied. The solution as he printed it in 1916 passes a test written in a form of the theory he did not yet have.

Two checks of the solution exactly as printed: his determinant condition, and the modern field equations in his own variables and signs.
Step 9 of 12The line element that carries his name
In the paper
§4, equation (14)
The passage as printed on page 194: §4, equation (14)
As printed on page 194. Select it to see the whole page.
In English

Going back to ordinary polar coordinates gives the line element that forms the exact solution of Einstein's problem:

ds^2=\left(1-\frac{\alpha}{R}\right)dt^2-\frac{dR^2}{1-\alpha/R}-R^2\,(d\vartheta^2+\sin^2\vartheta\,d\varphi^2),\qquad R=(r^3+\alpha^3)^{1/3}
In Galileo

In our coordinates the same solution is f = h = 1 − r_s/r from steps 4 and 5. We name this metric s:

s = metric([t r theta phi], -(1 - r_s/r)*dt^2 + dr^2/(1 - r_s/r) + r^2*dtheta^2 + r^2*sin(theta)^2*dphi^2)

We solved only two of the three field equations to get here. Does the third hold too?

fieldeqs(s)
[]

Yes: [] is an empty row, no equation is left. This is the Schwarzschild metric as every textbook prints it. At r = r_s the time term vanishes and the radial term blows up. That is his bad point of step 7. Is space itself bad there, or only the coordinates, the way longitude fails at the North Pole although the ground is ordinary?

To decide, use a quantity that does not depend on coordinates. kretschmann gives the Kretschmann invariant, the curvature tensor squared, which measures how strongly gravity stretches and squeezes a falling body:

K = kretschmann(s)
12*r_s^2/r^6

12 r_s²/r⁶: it grows as r shrinks and is infinite only at r = 0. Now put in the suspicious radius r = r_s:

subs(K, r, r_s)
12/r_s^4

12/r_s⁴, an ordinary finite number. Nothing breaks at r = r_s: it is a horizon one can fall through. The real singularity is at r = 0.

Identical to ours, once you read his R as our r and his α as our r_s. But his own radius r is not ours: his origin r = 0 sits at R = α, the place we call r = r_s. So the paper puts the mass point where we now put the horizon, and the region inside is not part of his solution. That the horizon is not the location of the mass was understood decades later. The curvature check is ours, not his.
Step 10 of 12What the constant α is
In the paper
§4, after equation (14)

The last two lines of the clipping above: the line element contains only the constant α that depends on the value of the mass at the origin. He does not write the relation out. It was known from Einstein's paper on Mercury a few weeks earlier.

In Galileo

Far from the mass general relativity must agree with Newton, and there the time part of the metric is 1 + 2Φ/c², with Φ = −GM/r the Newtonian potential. Ours is 1 − r_s/r. Comparing the two gives r_s = 2GM/c², which is his α.

Galileo knows the constants, with their units. For the Sun, in kilometres:

convert(2*const.G*const.Msun/const.c^2, km)
2.9533393820668783 km

Just under 3 km, for a body 700 000 km in radius. For the Earth, in millimetres:

convert(2*const.G*const.Mearth/const.c^2, mm)
8.8701028718461 mm

About 9 mm, the size of a marble. For any ordinary body r_s lies deep inside, where this outside solution does not apply. Only an object squeezed inside its own r_s is a black hole.

He says only that α depends on the mass. The comparison with Newton makes it definite: α = r_s = 2GM/c².
Step 11 of 12The motion of a planet
In the paper
§6, equations (15) to (18)
The passage as printed on page 195: §6, equations (15) to (18)
As printed on page 195. Select it to see the whole page.
In English

Because the line element does not depend on t or on φ, the motion has three intermediate integrals. In the equatorial plane, (16) and (17) are the angular momentum and the energy. With x = 1/R they give the orbit equation (18), which gives the observed anomaly of the perihelion of Mercury:

R^2\,\frac{d\varphi}{ds}=\text{const.}=c\qquad(16)
\left(1-\frac{\alpha}{R}\right)\frac{dt}{ds}=\text{const.}=1\qquad(17)
\left(\frac{dx}{d\varphi}\right)^2=\frac{1-h}{c^2}+\frac{h\alpha}{c^2}\,x-x^2+\alpha x^3\qquad(18)
In Galileo

A symmetry of the metric gives a conserved quantity of the motion. Our metric s does not change with t and does not change with φ, so there are two. conserved finds them (here s inside d(t, s) is the planet's own clock time, so d(t, s) means dt/ds):

conserved(s)
[d(t, s)*(r_s-r)/r, r^2*sin(theta)^2*d(phi, s)]

The first, (1 − r_s/r) dt/ds up to its sign, is the planet's energy: his equation (17). The second, r² sin²θ dφ/ds, is its angular momentum: in the equatorial plane sin θ = 1 and it is his equation (16).

With these two and the metric itself, his (15), the orbit reduces to the single equation (18). We do not redo that algebra here. The paper on Mercury in this series does, and gets the 43 seconds of arc per century.

The same conserved quantities, found from the symmetries of the metric. In (18) the last term, αx³, is the only one Newton's theory does not have, and it is what turns Mercury's ellipse. Here c is a constant of the motion, not the speed of light.
Step 12 of 12Kepler's third law, exactly
In the paper
§6, the last page
The passage as printed on page 196: §6, the last page
As printed on page 196. Select it to see the whole page.
In English

Finally, the exact form of the third Kepler's law for circular orbits shall be derived. For a circular orbit both dx/dφ and d²x/dφ² vanish, which gives two equations. Eliminating h, and using the angular speed n = c x² (1 − αx), he finds

n^2=\frac{\alpha}{2}\,x^3=\frac{\alpha}{2R^3}=\frac{\alpha}{2\,(r^3+\alpha^3)}
In Galileo

His equation (18) says (dx/dφ)² equals a cubic in x. On a circular orbit x never changes, so that cubic must be zero, and so must its derivative in x, or the orbit would drift away. Those are the two equations on his page. solve takes both and returns the two constants of the motion, h and c² (typed c2):

w = solve([(1 - h)/c2 + h*alpha*x/c2 - x^2 + alpha*x^3 == 0, h*alpha/c2 - 2*x + 3*alpha*x^2 == 0], [h, c2])
[(2-3*alpha*x)/(2*(alpha*x-1)^2), alpha/(2*alpha^2*x^3-4*alpha*x^2+2*x)]

The row holds h first, then c². The angular speed is n = c x² (1 − αx), from (16) and (17), so n² = c² x⁴ (1 − αx)². Put in the c² just found, w[1]:

simplify(w[1]*x^4*(1 - alpha*x)^2)
alpha*x^3/2

αx³/2, his result, since x = 1/R. With α = 2GM/c² this is n² = GM/R³: the square of the orbital speed falls with the cube of the radius, which is Kepler's third law. Newton's law of 1687 comes out of Einstein's theory without any correction, for circular orbits.

The same elimination he does by hand. In general relativity Kepler's third law holds exactly for circular orbits, when the radius is measured by R.