The lane-emden generator
The dimensionless density θ against the dimensionless radius ξ, for polytropic indices 0, 1, 1.5, 3, 4.5, 5. Each curve is the whole structure of a star whose pressure is K times its density to the power 1 + 1/n: the equation of state and hydrostatic equilibrium leave one second-order differential equation, and this is its solution. Every curve starts at θ = 1 with zero slope, because the density is greatest at the centre and has no cusp there. What separates them is where they end. At n = 0 the density is uniform and the surface is at ξ₁ = 2.4495; by n = 3 it has moved out to 6.8968 and the central density is 54.2 times the mean. At n = 5 the curve reaches zero only at infinity — a configuration of infinite radius and, remarkably, finite mass — and every index above it has neither. The three curves that have closed forms, n = 0, 1 and 5, are drawn from the same numerical integration as the rest and agree with those forms to better than two parts in a million, which is what licenses reading the others off the picture. What the figure cannot show is the scale: ξ is radius divided by a length that depends on the central density and on K, so two stars of the same index and wildly different sizes have the same curve here.
4 essays call
lane-emden. The drawing above is what it returns with no arguments at all; every
call below passes it something, because a placement that passes nothing draws whichever member
of the family the generator happens to default to rather than the one its essay argues about.
Where it is called
Every figure listed here is the same construction drawn at different numbers, so a correction to one is a correction to all of them.
An equation of state is already a star
Write down how a gas's pressure depends on its density, insist that the pressure hold the weight up, and everything else follows — the run of density, the fraction of the mass inside each radius, and, at one particular index, a mass that does not care what the radius is.
A core too heavy for the gas around it
When a star's centre runs out of hydrogen, the helium left behind stops making energy, settles to one temperature, and becomes the one member of the polytrope family with no surface of its own. It can hold up the envelope around it only while it is less than about a tenth of the star. Past that there is no balance to be had, and the star crosses to the giant branch in a few per cent of its lifetime — which is why that part of the diagram is empty.
A star tipped over at a thousand times its horizon
A star of a million suns is held up almost entirely by its own light, which leaves it stable by about a thousandth. General relativity raises the bar by an amount that is tiny until the star is compact, and a thousandth is tiny too — so the star collapses at nearly a thousand times the radius of the black hole it becomes, at a mean density below that of air, and with no fuel yet burning.
A soft centre the rest of the core outvotes
Above a billion kelvin, light in a star's core starts turning into electron–positron pairs, and gas that spends its heat on making mass cannot push back hard enough to hold itself up. But stability belongs to the whole core, not to its centre. An oxygen core goes soft in the middle from about nineteen solar masses and holds; it gives way only near twenty-eight, when the soft gas carries two-thirds of the pressure-weighted volume.