This set practises two lessons: the Schwarzschild metric, Birkhoff's theorem and the TOV equations and constant-density stars, Buchdahl's limit and equations of state. The problems follow MIT's Problem Set 10, in our own words. MIT publishes no solutions for the problem sets of this course, so the hints and the solutions here are our own. Problem 2 is the numerical project that Hughes calls one of his favourite homework exercises (Lecture 21 transcript, p. 2).
A few things to know about the source. The sheet's header reads "8.962 Spring 2006": for the 2020 course MIT reused an older sheet, and our source is the 2020 course's page for it. The sheet has printed page numbers, used below as "p. 1" to "p. 4". The lecture transcripts have no printed page numbers, so a transcript page below is a page of the PDF. A transcript records what was said, not what was written on the board, so a formula cited to a transcript page is printed here in the form of the lesson for that lecture. The sheet has no figure. For the stability criterion it names a textbook, which is not needed here.
Two details of the sheet are handled as follows. In Problem 2(c) the sheet defines the surface redshift as . Light that climbs out of a star loses energy, so this is negative; the usual redshift has the two energies the other way round, and we ask for that positive number (it has the same size). In Problem 2 the sheet suggests Mathematica's routine for differential equations and says that MIT would post an example; any tool will do, and the solutions say what ours was.
Some boxes are our additions, each marked where it appears: the first-order components in Problem 1(b), the conversion factor of in Problem 2(a), the formula for the observed energy in Problem 2(c), the choice box of Problem 3(a), and the central density of the heaviest star in Problem 3(b).
How to answer#
Work each problem on paper (Problem 1) or on a computer (Problems 2 and 3) first. Then type your result in the answer box and press Check. A number box accepts any value within the tolerance written next to it, in the unit named in the question. A formula box takes plain typing, for example G*M/rbar or E*(1 - M/R), and accepts every correct way of writing the answer. It treats its letters as independent, so each question says which letters to type: rbar for , and in Problem 2(c) E for , M for and R for .
Give a number answer to 3 significant figures and keep 4 in intermediate steps; an answer with only 2 significant figures may or may not be accepted. Where a box needs more digits, its label says so.
MIT's set gives no points. The points here, and their split between parts, are ours. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.
The conventions are those of the lessons. The metric has the signature . In Problem 1 the speed of light is 1 and Newton's constant is kept. In Problems 2 and 3 both and are 1 and every quantity is a power of a kilometre, except where a number is given in grams and centimetres. is the metric of a unit sphere. For the numbers we use the CODATA 2018 values: cm³ g⁻¹ s⁻² (measured), cm/s (exact), erg s (exact) and g (measured). For the mass of the Sun as a length we use km, from the solar mass parameter m³ s⁻² that Problem Set 5 also uses.
Problem 1#
Isotropic coordinates for the Schwarzschild metric
In Schwarzschild coordinates the metric outside a spherical body of mass is
In words
d s squared equals minus the quantity 1 minus 2 capital G capital M over r, d t squared plus d r squared over the quantity 1 minus 2 capital G capital M over r, plus r squared d capital omega squared
Here is an areal radius: the sphere labelled has the area . The lesson showed another useful choice, isotropic coordinates, in which the three space directions enter alike.
(a)12 points
Define a new radial coordinate by
In words
r equals r bar the quantity 1 plus capital G capital M over the quantity 2 r bar, all squared
Show that the metric then takes the form
In words
d s squared equals g t t ( r bar ) d t squared plus g( r bar ) the quantity d r bar squared plus r bar squared d capital omega squared
and find the two functions and . Type them in terms of G, M and rbar.
Hint
Three things change: , , and . Work out each in terms of . The short name keeps the algebra tidy.
Hint
with becomes . Put it over the common denominator: the numerator is a perfect square.
Solution
The idea. Write each piece of the Schwarzschild metric in terms of . The angular part fixes at once; the radial part must then give the same , and that is what makes the coordinates isotropic.
The time component
Let , so and . Then
In words
1 minus 2 capital G capital M over r equals the quantity the quantity 1 plus x, all squared minus 4 x, all over the quantity 1 plus x, all squared equals ( the quantity 1 minus x, all over the quantity 1 plus x, ) squared, g t t equals minus ( the quantity 1 minus capital G capital M over 2 r bar, all over the quantity 1 plus capital G capital M over 2 r bar, ) squared
The space part
The angular part is . For the radial part, differentiate :
In words
d r over the quantity d r bar, equals 1 minus capital G squared capital M squared over the quantity 4 r bar squared, equals the quantity 1 minus x, the quantity 1 plus x, d r squared over the quantity 1 minus 2 capital G capital M over r, equals the quantity 1 minus x, all squared the quantity 1 plus x, all squared over the quantity the quantity 1 minus x, all squared over the quantity 1 plus x, all squared, times d r bar squared equals the quantity 1 plus x, all to the power 4 d r bar squared
Both parts carry the same factor, so
In words
d s squared equals minus ( the quantity 1 minus capital G capital M over 2 r bar, all over the quantity 1 plus capital G capital M over 2 r bar, ) squared d t squared plus the quantity 1 plus capital G capital M over the quantity 2 r bar, all to the power 4 the quantity d r bar squared plus r bar squared d capital omega squared
This is the lesson's form (Lecture 20 transcript, p. 3), with .
Check the result
Far away, : and , flat space in spherical coordinates. The horizon is at , that is , and there , as it should be. In our calculation file both components are also checked by putting into the Schwarzschild components numerically, with from a numerical derivative.
(b)8 points
Take and keep the metric to first order in . Show that it becomes the metric outside a spherical body in linearized gravity. For the boxes (our addition), type the first-order forms of and , in terms of G, M and rbar.
Hint
To first order, for any power , including negative ones.
Hint
Compare with the weak-field metric of the lessons, . What is the Newtonian potential of a sphere, and how is written in Cartesian coordinates?
Solution
The idea. Expand both factors to first order, and recognise the Newtonian potential .
Expand
With , and , so . And .
The weak-field metric
Write , the Newtonian potential of a body of mass , and with (here are Cartesian coordinates, not the short name of part (a)). Then
In words
d s squared is approximately minus the quantity 1 plus 2 capital phi, d t squared plus the quantity 1 minus 2 capital phi, the quantity d x squared plus d y squared plus d z squared, capital phi equals minus capital G capital M over r bar
This is the metric of linearized gravity outside a spherical body, which the lesson recalls on the same page: it is in isotropic coordinates, with .
Check the result
At large distance , so and differ by a fixed length ; to first order and agree, and the time component is the same in both coordinates. The space parts differ: in Schwarzschild coordinates only the radial direction is stretched, while here all three are stretched alike. For the Sun at its surface, is about , so the first-order metric is excellent there.
Problem 2#
Neutron stars from the TOV equations
A fair approximation to the matter of a neutron star is a polytrope,
In words
capital P equals K rho nought to the power capital gamma, capital gamma equals five thirds, K equals the quantity 3 to the power two thirds, end of power, pi to the power four thirds, end of power, h bar squared, all over the quantity 5 m sub n to the power eight thirds, equals 5.38 times 10 to the power 9 grams to the power minus two thirds, end of power, centimetres to the power 4 seconds to the power minus 2
where is the pressure, the rest-mass density and the neutron mass. (The sheet also writes the unit of as (dyne/cm²)(g/cm³)⁻⁵ᐟ³, which is the same.) The TOV equations need the energy density , which includes the internal energy of the compressed fluid:
In words
rho equals rho nought plus capital P over the quantity capital gamma minus 1, equals rho nought plus K rho nought to the power capital gamma over the quantity capital gamma minus 1
The lesson derives this from the first law (Lecture 21 transcript, pp. 8–9). With the equations to integrate are
In words
d m over d r equals 4 pi rho r squared, d capital P over d r equals minus the quantity rho plus capital P, the quantity m plus 4 pi r cubed capital P, over the quantity r the quantity r minus 2 m
starting from and at , where is the central rest-mass density. Integrate outwards until the pressure falls to zero: that radius is the surface , and the mass there is . Near the surface the pressure falls steeply, and a solver may take smaller and smaller steps; the radius where that starts is still the surface to high accuracy. The numbers work best when they are within a few powers of ten of 1, so measure everything in powers of a kilometre: a neutron star then has a mass of about 1 km and a radius of about 10 km.
(a)10 points
With , convert to powers of a kilometre: (i) a density of 1 g/cm³, in km⁻²; (ii) a pressure of 1 dyne/cm² = 1 g cm⁻¹ s⁻², in km⁻²; (iii) a constant of 1 g⁻²ᐟ³ cm⁴ s⁻², in km⁴ᐟ³ (this factor is the third box, our addition). Then convert the of the equation of state to km⁴ᐟ³.
Hint
A mass becomes a length when multiplied by , and an energy (or a mass times ) becomes a length when multiplied by . A density is a mass per volume; a pressure is an energy per volume.
Hint
For : it is a pressure divided by a density to the power 5/3. Convert both in this way and see which powers of and are left.
Solution
The idea. In units with , a density in g/cm³ stands for the length scale , and a pressure for . Both are inverse areas.
Density and pressure
In words
capital G over c squared times 1 grams over the quantity centimetres cubed, equals 7.426 times 10 to the power minus 29 centimetres to the power minus 2 equals 7.426 times 10 to the power minus 19 kilometres to the power minus 2, capital G over c to the power 4 times 1 dyne over the quantity centimetres squared, equals 8.263 times 10 to the power minus 40 kilometres to the power minus 2
(1 cm⁻² is km⁻².)
The constant of the polytrope
, so in these units it carries the factor . In cgs numbers cm⁴ᐟ³, and with km⁴ᐟ³ this is
In words
1 gram to the power minus two thirds, end of power, centimetres to the power 4 seconds to the power minus 2 goes to 1.357 times 10 to the power minus 9 kilometres to the power four thirds, K equals 5.38 times 10 to the power 9 times 1.357 times 10 to the power minus 9 kilometres to the power four thirds equals 7.30 kilometres to the power four thirds
Check the result
Units: is km⁴ᐟ³ times (km⁻²)⁵ᐟ³ = km⁻², a pressure, as it should be. The sheet's formula for with the CODATA values of and gives in cgs units, the sheet's value. With the rounded values and the density and pressure factors come out 0.2% and 0.3% smaller, and the factor for hardly changes, inside the tolerance.
(b)12 points
Take the central rest-mass density g/cm³. Integrate the TOV equations and find the radius and the mass of this star, both in km.
Hint
The unknowns are and . At each radius find and then . The right sides blow up at : start at a small radius with , where is the central energy density.
Hint
Stop when reaches zero (most solvers can stop on an event, such as falling below a tiny fraction of ). Check that the radius barely moves when you make the tolerance of the solver or the starting radius smaller.
Solution
The idea. A standard solver for ordinary differential equations does the work; the care goes into the start at the centre and the stop at the surface.
The start
In km units, km⁻² and km⁻². The central energy density is
In words
rho c equals rho nought c plus capital P c over the quantity capital gamma minus 1, equals rho nought c plus three halves capital P c
which is km⁻², or g/cm³: the internal energy adds 9% to the rest mass at the centre.
The integration
We used SciPy's solve_ivp (an eighth-order Runge–Kutta method, relative tolerance ), starting at km and stopping when fell to . The result:
In words
capital R star equals 12.68 kilometres, capital M star equals 1.002 kilometres equals 0.679 solar masses
Stopping at instead moves the radius by 0.1% and the mass by less than a part in a million: near the surface the pressure falls like , and the last layers hold almost no mass. (MIT's rounded and give 12.68 km and 1.002 km as well.)
MIT's example Mathematica notebook for this set prints km and km for this star. It integrates instead of and runs on past the point where reaches zero (12.68 km) into complex values, so its radius lies beyond the surface. The surface is where , and with it , first reaches zero.
Check the result
The compactness is , well below the limit of Buchdahl's theorem. At low density the TOV star must become a Newtonian polytrope with , whose radius is with , the first zero of the Lane–Emden function for this (a value from our own integration of the Lane–Emden equation). Here , and for this central density the Newtonian star would have km and km. General relativity makes this star 13% smaller and 38% lighter: at this density it is far from Newtonian. At g/cm³ the two calculations agree to within 0.6% in mass.
(c)10 points
A photon leaves the surface of this star radially with energy , measured by an observer at rest there. Find the energy that observers far away measure (this formula box is our addition; type it with E, M and R). Then find the surface redshift, which we take as
In words
z surf equals the quantity capital E e m minus capital E o b, all over capital E o b
Hint
Outside the star the metric is Schwarzschild's. The lesson on black holes gives the energy that reaches infinity from a static observer at radius .
Solution
The idea. The vector is a Killing vector of the Schwarzschild metric, so is conserved along the photon's path. A static observer at radius measures with .
The energies
In words
capital E infinity over capital E sub r equals the square root of 1 minus 2 capital G capital M over r, end of root
With and : .
The number
In words
capital E o b over capital E e m equals the square root of 1 minus 0.158, end of root, equals 0.9175, z surf equals 1 over the quantity the square root of 1 minus 2 capital M star over capital R star, end of root, minus 1 equals 0.0899
With the sheet's order of the energies the same number comes out with a minus sign, .
Check the result
The weak-field estimate is 12% too low: at this compactness the higher orders matter. A line emitted at the surface arrives with its wavelength 9% longer.
(d)8 points
The mass is not what one gets by adding up the fluid over the proper volume of the star. Call that sum . Integrate the TOV equations again for g/cm³, together with
In words
d m p over d r equals 4 pi rho r squared the square root of g r r equals 4 pi rho r squared over the quantity the square root of 1 minus 2 m(r) over r, end of root
and find in km.
Hint
Add as a third unknown, with at the starting radius. The surface is where it was before.
Solution
The idea. The proper volume of a shell is , larger than the flat that the mass function uses (Lecture 20 transcript, pp. 12–13).
The integration
The same run as in part (b), with the third equation, gives
In words
capital M p equals 1.082 kilometres
Check the result
, as it must be, since everywhere inside. In our run is largest at km, where it is 0.094, so the factor is never more than 1.110: the excess must be below 11%. It is 8%.
(e)10 points
The difference between and can be read as the gravitational binding energy of the star. Find the fraction
In words
capital delta equals the quantity capital M p minus capital M star, all over capital M star
for this central density, as a decimal.
Hint
Use the numbers of parts (b) and (d), with all the digits your solver gives: the difference of two close numbers loses accuracy.
Solution
The idea. Gravity binds the star, and a bound system weighs less than its parts: the mass that the outside world feels is smaller than the sum .
The number
In words
capital delta equals the quantity 1.0818 minus 1.0022, all over 1.0022 equals 0.0794
About 8% of the star's mass is binding energy (with a minus sign: it is energy the star has lost while forming).
Rest mass or energy (our remark)
The sheet adds up the energy density . The lesson notes that counting the particles uses the rest-mass density instead (Lecture 20 transcript, pp. 12–13). With in place of the sum is the baryonic mass, 1.034 km, and its excess over is 3.2%. The difference between the two sums, 4.8% of , is the internal energy of the compressed fluid, so the sheet's counts the binding energy together with the internal energy, which a compressed star must hold.
Check the result
is of the size of , the gravitational energy per unit mass in these units. It grows with the compactness: our runs give 0.020 at g/cm³ and 0.228 at g/cm³.
Problem 3#
Stability of a TOV star
A sequence of TOV models tells whether a star is stable against purely radial (spherical) changes. The sheet states the criterion
In words
d capital M star over d rho c greater than 0 (stable), d capital M star over d rho c less than 0 (unstable)
along the sequence of stars of growing central density. The derivative is taken with respect to the central energy density , not the rest-mass density . The sheet's argument in brief, in our words: squeeze a star a little, so that its central density rises. If the star pushes back, the squeeze does work on it, the work adds energy, and its mass goes up. If instead its mass goes down, the smaller star is energetically favoured, a further squeeze is favoured again, and the star runs away into a black hole.
(a)12 points
Build the models with , , , and g/cm³. Plot against (a logarithmic axis for helps). Is there a sign of a change from stable to unstable stars?
Hint
Turn your code of Problem 2 into a function of that returns , and . For the denser stars, check that the solver still stops at the surface.
Solution
The idea. The models are those of Problem 2(b) with other central densities. Read off where stops growing.
The five models
Our own numerical solution, as in Problem 2(b):
| (g/cm³) | (g/cm³) | (km) | (km) | () |
|---|---|---|---|---|
| 20.72 | 0.4575 | 0.310 | ||
| 12.68 | 1.0022 | 0.679 | ||
| 6.658 | 1.0953 | 0.742 | ||
| 4.608 | 0.6502 | 0.440 | ||
| 5.939 | 0.7096 | 0.481 |
Reading the sequence
The mass grows from the first model to the third and is much lower at the fourth. So changes sign at least once between and g/cm³: the light stars are stable, and beyond a maximum the stars are unstable. Five points cannot tell whether the maximum lies before or after the model; part (b) finds it.
The densest model (our remark)
From the fourth model to the fifth the mass rises again. Read literally, the criterion would call the densest stars stable again. The sheet's argument starts from a stable star and asks about the first change; it does not say what happens once the sequence has passed its maximum, and a further turn (here a minimum of near g/cm³) needs the full study of radial oscillations, which is beyond this set. The problem asks only for the change from stable to unstable, at the maximum.
Check the result
At low density the masses should follow the Newtonian polytrope, for which when : from to that is a factor . The TOV masses grow by only 2.19, because general relativity matters more and more; already at g/cm³ the TOV mass is 11% below the Newtonian one.
(b)18 points
Zoom in on the region where the stars turn unstable and find, as well as you can, the marginally stable star, where . It has the largest mass that this equation of state allows in general relativity. Give that mass in km and in solar masses, and (our addition) the central energy density of that star in g/cm³. Because the mass hardly changes near its maximum, the box for accepts 10%.
Hint
Compute on a finer grid of between the models that bracket the turn, for example in steps of a tenth of a power of ten. Then refine around the largest value, or fit a parabola to the three highest points.
Hint
Convert to solar masses with km. Report , the energy density, not .
Solution
The idea. Find the maximum of as a function of the central density. Near a maximum the mass changes only to second order, so the mass is found accurately even where the density is not.
The zoom
Some of our models between and g/cm³:
| (g/cm³) | (g/cm³) | (km) |
|---|---|---|
| 1.1275 | ||
| 1.1660 | ||
| 1.1741 | ||
| 1.1691 | ||
| 1.1434 |
The maximum lies near the model. A one-dimensional search for the largest mass (SciPy's bounded minimiser applied to ) puts it at g/cm³.
The marginally stable star
In words
capital M max equals 1.174 kilometres equals 1.174 over 1.4766, times solar masses equals 0.795 solar masses, rho c equals 4.89 times 10 to the power 15 grams over the quantity centimetres cubed, capital R star equals 8.73 kilometres
Stars just beyond it are unstable to collapse, and no stable star of this equation of state is heavier than about 0.8 solar masses.
Check the result
Moving by a tenth of a power of ten either way, to or g/cm³, lowers the mass by only 0.5%: this is why the mass of the maximum is sharp and its density is not. The heaviest star has , still well inside Buchdahl's limit of : it is the softness of this equation of state, not Buchdahl's bound, that sets the limit. Real neutron stars need equations of state computed from nuclear physics, as the lesson explains; this polytrope of free neutrons is a model for practice.