Astronomy Olympiad / Level 1 · NSEA / Stars

Stars · lesson 21 of 23 · 35 min

Central and average density of a star

After this lesson you can:
  • Find the mass of a polytrope from x₀ and θ′(x₀).
  • Compute ρ_c/ρ̄ = −x₀/(3θ′(x₀)) for n = 0 and n = 1.
  • Compare these with the n = 3 model and the real Sun.

Before this lesson: Polytropes and the Lane–Emden equation

1. Concept

The Lane–Emden solutions tell us how much denser a star’s centre is than its average.

Central Density and Average Density

In the previous subsections, we learned how the Lane–Emden equation describes the density profile of a polytropic star. We also established that the density at any radius can be expressed in terms of the central density and the dimensionless function θ\theta:

ρ=ρc θn\rho ={\rho }_{c}\,{\theta }^{n}

We will now use this relationship to compare the density at the centre with the average density of the entire star.

What is central density?

The central density, represented by ρc{\rho }_{c}, is the density of the stellar material at the exact centre. For the spherical models considered here, the centre is where the density reaches its maximum.

What is average density?

Average density describes how much mass the entire star contains per unit of its total volume. If a star has total mass MM and radius R⋆{R}_{\star }, its volume is

V=4πR⋆33V=\frac{4\pi {R}_{\star }^{3}}{3}

Average density is defined as total mass divided by total volume. Therefore,

ρ^=MV\hat{\rho }=\frac{M}{V}

Substituting the spherical volume gives

ρ^=M4πR⋆3/3\hat{\rho }=\frac{M}{4\pi {R}_{\star }^{3}/3}

Hence,

ρ^=3M4πR⋆3\hat{\rho }=\frac{3M}{4\pi {R}_{\star }^{3}}

Here, ρ^\hat{\rho } is read as “rho bar”. The bar indicates an average value.

Notice that average density is calculated using the star’s total mass and total volume. It does not mean that the density is the same everywhere inside the star.

Why can the two densities be different?

Imagine a star whose material is concentrated towards its centre. The central regions contain more mass per unit volume than the outer regions. When we calculate average density, we include both the dense inner material and the less dense outer material. Consequently, the average density is smaller than the central density.

A uniform-density sphere is a special case. If the density is the same throughout the star, its central density and average density are equal.

This difference between central and average density gives us a simple way to describe how matter is distributed inside a star.

Defining the density ratio

For this section, we denote the central-to-average density ratio by RR:

R=ρcρ^R=\frac{{\rho }_{c}}{\hat{\rho }}

The symbol RR is used here for the density ratio, not for the physical radius of the star, which we continue to denote by R⋆{R}_{\star }.

The ratio has no units because both the numerator and denominator are densities measured in the same units.

If R=1R=1, the central density equals the average density, as in a uniform-density model.

If R>1R>1, the central density exceeds the average density, indicating that the star is more concentrated towards its centre.

The magnitude of this ratio therefore gives us a useful measure of the central concentration of matter.

But how can we calculate this ratio using the Lane–Emden equation without first knowing the star’s total mass and physical radius? The answer lies in the first zero of the Lane–Emden function and the slope of that function at the surface.

We will derive a formula for the density ratio using the Lane–Emden solution.

Deriving the Central-to-Average Density Ratio

We have defined the central-to-average density ratio as

R=ρcρ^R=\frac{{\rho }_{c}}{\hat{\rho }}

We also know that the average density is

ρ^=3M4πR⋆3\hat{\rho }=\frac{3M}{4\pi {R}_{\star }^{3}}

To calculate RR, we must express the total mass MM and the physical radius R⋆{R}_{\star } in terms of the Lane–Emden solution.

Recall the dimensionless variables introduced earlier:

r=ax,  ρ=ρc θnr=ax,\text{ }\text{ }\rho ={\rho }_{c}\,{\theta }^{n}

Here, aa is the characteristic length scale, xx is the dimensionless radius, and θ\theta describes the density profile.

For a finite-radius model, the surface occurs at the first zero x0{x}_{0}, where θ(x0)=0\theta \left( {x}_{0}\right) =0. Therefore, the physical radius of the star is

R⋆=a x0{R}_{\star }=a\,{x}_{0}

Finding the total mass

The mass of a thin spherical shell of radius rr and thickness drdr is

dM=4πr2ρ drdM=4\pi {r}^{2}\rho \,dr

Adding the mass contributions of all the shells from the centre to the surface gives

M=4π∫0R⋆ρ r2 drM=4\pi \int_{0}^{{R}_{\star }}{\rho }\,{r}^{2}\,dr

Now substitute r=axr=ax and ρ=ρcθn\rho ={\rho }_{c}{\theta }^{n}. Since dr=a dxdr=a\,dx, the mass becomes

M=4πa3ρc∫0x0θnx2 dxM=4\pi {a}^{3}{\rho }_{c}\int_{0}^{{x}_{0}}{{\theta }^{n}}{x}^{2}\,dx

This expression tells us that the total mass depends on the central density, the characteristic length scale and the dimensionless Lane–Emden solution.

We can simplify the integral by using the Lane–Emden equation:

1x2ddx(x2dθdx)+θn=0\frac{1}{{x}^{2}}\frac{d}{dx}\left( {x}^{2}\frac{d\theta }{dx}\right) +{\theta }^{n}=0

Multiplying by x2{x}^{2} and rearranging gives

ddx(x2dθdx)=−x2θn\frac{d}{dx}\left( {x}^{2}\frac{d\theta }{dx}\right) =-{x}^{2}{\theta }^{n}

Integrate this equation from the centre, x=0x=0, to the surface, x=x0x={x}_{0}:

∫0x0x2θn dx=−[x2θ′(x)]0x0\int_{0}^{{x}_{0}}{{x}^{2}}{\theta }^{n}\,dx=-{\left[ {x}^{2}\theta '\left( x\right) \right] }_{0}^{{x}_{0}}

Here, θ′(x)\theta '\left( x\right) denotes dθ/dxd\theta /dx.

For the regular central solution, the quantity x2θ′(x){x}^{2}\theta '\left( x\right) approaches zero at the centre. Consequently,

∫0x0x2θn dx=−x02 θ′(x0)\int_{0}^{{x}_{0}}{{x}^{2}}{\theta }^{n}\,dx=-{x}_{0}^{2}\,\theta '\left( {x}_{0}\right)

Substituting this result into our mass expression gives

M=−4πa3ρc x02 θ′(x0)M=-4\pi {a}^{3}{\rho }_{c}\,{x}_{0}^{2}\,\theta '\left( {x}_{0}\right)

We have now expressed the total mass in terms of the Lane–Emden solution evaluated at the surface.

Calculating the average density

The physical radius is R⋆=ax0{R}_{\star }=a{x}_{0}. Substituting the mass and radius into the average-density formula gives

ρ^=3M4πR⋆3=3[−4πa3ρc x02 θ′(x0)]4π(ax0)3\hat{\rho }=\frac{3M}{4\pi {R}_{\star }^{3}}=\frac{3\left[ -4\pi {a}^{3}{\rho }_{c}\,{x}_{0}^{2}\,\theta '\left( {x}_{0}\right) \right] }{4\pi {\left( a{x}_{0}\right) }^{3}}

The factors 4π4\pi and a3{a}^{3} cancel. Simplifying the powers of x0{x}_{0} gives

ρ^=−3ρc θ′(x0)x0\hat{\rho }=-\frac{3{\rho }_{c}\,\theta '\left( {x}_{0}\right) }{{x}_{0}}

This equation connects the average density to the central density and the slope of the dimensionless function at the surface.

Obtaining the density ratio

Recall that

R=ρcρ^R=\frac{{\rho }_{c}}{\hat{\rho }}

Substitute the expression for average density:

R=ρc−3ρc θ′(x0)/x0R=\frac{{\rho }_{c}}{-3{\rho }_{c}\,\theta '\left( {x}_{0}\right) /{x}_{0}}

The central density cancels, leaving

R=−x03 θ′(x0)R=-\frac{{x}_{0}}{3\,\theta '\left( {x}_{0}\right) }

This is the central-to-average density ratio formula.

Why is the ratio positive?

For the finite-radius solutions considered here, θ\theta decreases towards its first zero. Its derivative at the surface is therefore negative:

θ′(x0)<0\theta '\left( {x}_{0}\right) <0

The formula contains a minus sign, so the ratio RR is positive, as a density ratio must be.

Notice the result: we do not need to know the physical radius, central density or total mass separately to calculate this ratio. We need only the dimensionless surface location x0{x}_{0} and the derivative θ′(x0)\theta '\left( {x}_{0}\right).

The next step is to evaluate these quantities for particular polytropic indices. We begin with the uniform-density case, n=0n=0.

The Special Case n=0n=0: Uniform Density

The Lane–Emden equation is

1x2ddx(x2dθdx)+θn=0\frac{1}{{x}^{2}}\frac{d}{dx}\left( {x}^{2}\frac{d\theta }{dx}\right) +{\theta }^{n}=0

For the special case n=0n=0, the equation becomes

1x2ddx(x2dθdx)+1=0\frac{1}{{x}^{2}}\frac{d}{dx}\left( {x}^{2}\frac{d\theta }{dx}\right) +1=0

Here, θ0=1{\theta }^{0}=1 throughout the interior where θ\theta is positive. We are therefore left with a simpler differential equation that can be solved directly.

This case is especially useful because it represents a uniform-density sphere in the Lane–Emden framework.

Solving the differential equation

Start with

1x2ddx(x2dθdx)=−1\frac{1}{{x}^{2}}\frac{d}{dx}\left( {x}^{2}\frac{d\theta }{dx}\right) =-1

Multiplying both sides by x2{x}^{2} gives

ddx(x2dθdx)=−x2\frac{d}{dx}\left( {x}^{2}\frac{d\theta }{dx}\right) =-{x}^{2}

Integrating with respect to xx,

x2dθdx=−x33+C{x}^{2}\frac{d\theta }{dx}=-\frac{{x}^{3}}{3}+C

where CC is a constant of integration.

For the solution to remain regular at the centre, the derivative dθ/dxd\theta /dx must remain finite as xx approaches zero. A nonzero CC would make the term C/x2C/{x}^{2} appear in dθ/dxd\theta /dx, producing a singularity at the centre. Therefore, C=0C=0.

We obtain

x2dθdx=−x33{x}^{2}\frac{d\theta }{dx}=-\frac{{x}^{3}}{3}

Dividing by x2{x}^{2} gives

dθdx=−x3\frac{d\theta }{dx}=-\frac{x}{3}

Integrating again,

θ=−x26+C2\theta =-\frac{{x}^{2}}{6}+{C}_{2}

where C2{C}_{2} is another constant.

The central boundary condition is θ(0)=1\theta \left( 0\right) =1. Substituting x=0x=0 gives C2=1{C}_{2}=1.

Therefore, the Lane–Emden solution for n=0n=0 is

θ(x)=1−x26\theta \left( x\right) =1-\frac{{x}^{2}}{6}

Finding the first zero

The surface of the finite-radius model is located where θ(x0)=0\theta \left( {x}_{0}\right) =0.

Hence,

1−x026=01-\frac{{x}_{0}^{2}}{6}=0

Rearranging,

x02=6{x}_{0}^{2}=6

Therefore,

x0=6{x}_{0}=\sqrt{6}

We take the positive root because radius is non-negative.

Finding the derivative at the surface

From the solution,

θ(x)=1−x26\theta \left( x\right) =1-\frac{{x}^{2}}{6}

Differentiate with respect to xx:

θ′(x)=−x3\theta '\left( x\right) =-\frac{x}{3}

At the surface, x=6x=\sqrt{6}. Therefore,

θ′(x0)=−63\theta '\left( {x}_{0}\right) =-\frac{\sqrt{6}}{3}

Calculating the density ratio

Using the central-to-average density formula,

R=−x03 θ′(x0)R=-\frac{{x}_{0}}{3\,\theta '\left( {x}_{0}\right) }

Substitute x0=6{x}_{0}=\sqrt{6} and θ′(x0)=−6/3\theta '\left( {x}_{0}\right) =-\sqrt{6}/3:

R=−63(−6/3)R=-\frac{\sqrt{6}}{3\left( -\sqrt{6}/3\right) }

The factors of 6\sqrt{6} cancel, and the negative signs also cancel. Thus,

R=1R=1

The central density equals the average density.

What does this result mean physically?

For n=0n=0, the density relation is ρ=ρcθ0\rho ={\rho }_{c}{\theta }^{0}. Throughout the interior where θ\theta is positive, θ0=1{\theta }^{0}=1, so

ρ=ρc\rho ={\rho }_{c}

The density is constant throughout the interior. The idealised model therefore has the same density at the centre and everywhere else inside the star. At its surface, the model terminates and the density falls to zero outside it.

This explains why the central-to-average density ratio is exactly one: no region inside the model is denser than another.

One mathematical caution is important. The polytropic equation of state P=Kρ1+1/nP=K{\rho }^{1+1/n} cannot be evaluated directly at n=0n=0 because 1/n1/n is undefined. We have therefore treated n=0n=0 as a special Lane–Emden case, as required, rather than substituting zero directly into the polytropic exponent.

The uniform-density model provides a useful reference point. We now turn to n=1n=1, where the density varies with radius and the central density exceeds the average density.

The Special Case n=1n=1: A Centrally Concentrated Model

For the polytropic index n=1n=1, the Lane–Emden equation becomes

1x2ddx(x2dθdx)+θ=0\frac{1}{{x}^{2}}\frac{d}{dx}\left( {x}^{2}\frac{d\theta }{dx}\right) +\theta =0

Unlike the n=0n=0 case, the function θ\theta itself appears in the differential equation. The resulting solution describes a non-uniform density profile.

The solution is

θ(x)=sinxx\theta \left( x\right) =\frac{\text{sin}x}{x}

Let us see how this expression arises and how it gives us the density ratio.

Understanding the solution

Begin with

1x2ddx(x2dθdx)+θ=0\frac{1}{{x}^{2}}\frac{d}{dx}\left( {x}^{2}\frac{d\theta }{dx}\right) +\theta =0

Introduce an auxiliary function u=xθu=x\theta. Then θ=u/x\theta =u/x.

Differentiating,

dθdx=u′x−ux2\frac{d\theta }{dx}=\frac{u'}{x}-\frac{u}{{x}^{2}}

Multiplying by x2{x}^{2},

x2dθdx=xu′−u{x}^{2}\frac{d\theta }{dx}=xu'-u

Differentiate once more:

ddx(x2dθdx)=xu′′\frac{d}{dx}\left( {x}^{2}\frac{d\theta }{dx}\right) =xu''

The Lane–Emden equation therefore becomes

u′′x+ux=0\frac{u''}{x}+\frac{u}{x}=0

Multiplying by xx gives

u′′+u=0u''+u=0

This is a familiar differential equation whose general solution is

u=Asinx+Bcosxu=A\text{sin}x+B\text{cos}x

Since θ=u/x\theta =u/x, a nonzero value of BB would make θ\theta diverge at the centre because cos0=1\text{cos}0=1. A regular central solution therefore requires B=0B=0.

We are left with

θ=Asinxx\theta =\frac{A\text{sin}x}{x}

The central boundary condition θ(0)=1\theta \left( 0\right) =1 determines A=1A=1. Although the expression appears to involve division by zero at x=0x=0, its limit is finite because sinx/x\text{sin}x/x approaches one as xx approaches zero.

Thus,

θ(x)=sinxx\theta \left( x\right) =\frac{\text{sin}x}{x}

Finding the first zero

The surface occurs at the first positive value of xx for which θ(x)=0\theta \left( x\right) =0.

Since

sinxx=0\frac{\text{sin}x}{x}=0

the numerator must vanish, provided xx is not zero. The first positive zero of sinx\text{sin}x is π\pi.

Therefore,

x0=π{x}_{0}=\pi

The physical radius of this model is consequently R⋆=aπ{R}_{\star }=a\pi.

Finding the derivative at the surface

Differentiate the solution using the quotient rule:

θ′(x)=xcosx−sinxx2\theta '\left( x\right) =\frac{x\text{cos}x-\text{sin}x}{{x}^{2}}

At x=πx=\pi, we use sinπ=0\text{sin}\pi =0 and cosπ=−1\text{cos}\pi =-1:

θ′(π)=π(−1)−0π2\theta '\left( \pi \right) =\frac{\pi \left( -1\right) -0}{{\pi }^{2}}

Therefore,

θ′(x0)=−1π\theta '\left( {x}_{0}\right) =-\frac{1}{\pi }

The derivative is negative because θ\theta decreases as we move towards the surface.

Calculating the density ratio

Recall the general formula:

R=−x03 θ′(x0)R=-\frac{{x}_{0}}{3\,\theta '\left( {x}_{0}\right) }

Substitute x0=π{x}_{0}=\pi and θ′(x0)=−1/π\theta '\left( {x}_{0}\right) =-1/\pi:

R=−π3(−1/π)R=-\frac{\pi }{3\left( -1/\pi \right) }

Dividing by 1/π1/\pi is equivalent to multiplying by π\pi. Therefore,

R=π23R=\frac{{\pi }^{2}}{3}

Using π≈3.1416\pi \approx 3.1416,

R≈9.86963R\approx \frac{9.8696}{3}

Hence,

R≈3.29R\approx 3.29

The central density is approximately 3.29 times the average density in this model.

What does this tell us physically?

For n=1n=1, the density relation is ρ=ρcθ\rho ={\rho }_{c}\theta. The density therefore follows the function sinx/x\text{sin}x/x, decreasing from its central value towards zero at the surface.

Unlike the n=0n=0 model, the density is not uniform. The inner regions are denser than the outer regions, so the central density is greater than the average density.

The ratio π2/3{\pi }^{2}/3 quantifies this difference. It shows that the central density is about 3.29 times the density averaged over the entire volume of the model.

We have now obtained both special results: R=1R=1 for n=0n=0 and R=π2/3≈3.29R={\pi }^{2}/3\approx 3.29 for n=1n=1.

Interpreting the Density Ratios

We have derived the central-to-average density ratio and evaluated it for two special Lane–Emden solutions. Before moving to practice, we should connect the mathematical results to the physical pictures they represent.

The ratio is defined as

R=ρcρ^R=\frac{{\rho }_{c}}{\hat{\rho }}

It compares the density at the centre with the density averaged over the entire stellar volume. A ratio of one means the two values are equal. A ratio greater than one means the central density exceeds the average density.

For n=0n=0, we obtained

θ(x)=1−x26\theta \left( x\right) =1-\frac{{x}^{2}}{6}

The density remains constant throughout the interior of the model. The first zero occurs at x0=6{x}_{0}=\sqrt{6}, and the derivative there is −6/3-\sqrt{6}/3. Substituting these values into the ratio formula gives

R(n=0)=1R\left( n=0\right) =1

The equality of central and average density follows directly from the uniform-density assumption.

For n=1n=1, we obtained

θ(x)=sinxx\theta \left( x\right) =\frac{\text{sin}x}{x}

The first zero occurs at x0=π{x}_{0}=\pi, while the derivative at that point is −1/π-1/\pi. The corresponding density ratio is

R(n=1)=π23≈3.29R\left( n=1\right) =\frac{{\pi }^{2}}{3}\approx 3.29

This means that the central density is approximately 3.29 times the average density. The density is higher near the centre and decreases towards the surface.

The two exact Lane–Emden solutions. (a)  ( x) for n=0 and n=1, reaching zero at x0=6 2.45 and x0=. (b) The density profiles  / c= n plotted against r/R : uniform for n=0 (central-to-average ratio 1) and centrally concent
Figure 1. The two exact Lane–Emden solutions. (a) θ(x)\theta \left( x\right) for n=0n=0 and n=1n=1, reaching zero at x0=6≈2.45{x}_{0}=\sqrt{6}\approx 2.45 and x0=π{x}_{0}=\pi. (b) The density profiles ρ/ρc=θn\rho /{\rho }_{c}={\theta }^{n} plotted against r/R⋆r/{R}_{\star }: uniform for n=0n=0 (central-to-average ratio 1) and centrally concentrated for n=1n=1 (ratio π2/3≈3.29{\pi }^{2}/3\approx 3.29)

Comparing the two models

The two cases illustrate why the polytropic index matters. In the n=0n=0 Lane–Emden model, the density is uniform throughout the interior. In the n=1n=1 model, the density varies with radius and is concentrated towards the centre (Figure 8.3).

The density ratio gives us a simple numerical measure of that difference. It converts the shape of the dimensionless Lane–Emden solution into a statement about the physical distribution of matter.

The important result is not merely that one ratio equals one and the other equals 3.29. It is that the first zero of the Lane–Emden function and its slope at that point contain enough information to determine the central-to-average density ratio.

We have therefore completed the mathematical chain for this part. The polytropic equation of state connects pressure to density. Dimensionless variables simplify the stellar structure equations into the Lane–Emden equation. Its solution determines the density profile, and the profile’s first zero and surface derivative allow us to calculate how centrally concentrated the model is.

Equation of state → Lane–Emden equation → θ(x)\theta \left( x\right) → x0{x}_{0}, θ′(x0)\theta '\left( {x}_{0}\right) → ρc/ρ^{\rho }_{c}/\hat{\rho }

Key results.

  • M = −4πa³ρ_c x₀² θ′(x₀)
  • ρ_c/ρ̄ = −x₀/(3θ′(x₀)): 1 (n = 0), π²/3 (n = 1), 54.2 (n = 3)

Common mistakes. Each of these is false:

  • ✗ The centre of a star is only a little denser than average.
  • ✗ The mean density is the density halfway out.

Going deeper (Olympiad)

n = 3 gives 54.2: with ρ̄ = 1410 kg/m³ the Sun’s centre would be about 7.6 × 10⁴ kg/m³ (models: about 1.5 × 10⁵).

2. Explore it

Try it. For n = 0, how does the central density compare with the average?

Exam-style practice. For n = 1, what is the density at half the radius as a fraction of ρ_c?

3. Worked example

Using M=−4πa3ρc x02 θ′(x0)M=-4\pi {a}^{3}{\rho }_{c}\,{x}_{0}^{2}\,\theta '\left( {x}_{0}\right), which expression gives the total mass of an n=1n=1 polytrope?

(a) 4π2a3ρc4{\pi }^{2}{a}^{3}{\rho }_{c}
(b) 4πa3ρc4\pi {a}^{3}{\rho }_{c}
(c) 43πa3ρc\frac{4}{3}\pi {a}^{3}{\rho }_{c}
(d) 4π3a3ρc4{\pi }^{3}{a}^{3}{\rho }_{c}

Solution. Answer: (a). M=4π2a3ρcM=4{\pi }^{2}{a}^{3}{\rho }_{c}

For n=1n=1, x0=π{x}_{0}=\pi and θ′(x0)=−1/π\theta '\left( {x}_{0}\right) =-1/\pi:

M=−4πa3ρc π2(−1π)=4π2a3ρcM=-4\pi {a}^{3}{\rho }_{c}\,{\pi }^{2}\left( -\frac{1}{\pi }\right) =4{\pi }^{2}{a}^{3}{\rho }_{c}

4. From a past paper

NSEA 2023, Question 28 (official paper: IAPT). In the Lane–Emden equation 1x2ddx(x2dydx)+yn=0\dfrac{1}{x^{2}}\dfrac{d}{dx}\left(x^{2}\dfrac{dy}{dx}\right)+y^{n}=0, the exact solutions for n = 0 and n = 1 are y=1−x26y=1-\dfrac{x^{2}}{6} and y=sin⁡xxy=\dfrac{\sin x}{x}. The surface of the model star is where y(x0)=0y(x_0)=0, and the ratio of central to average density is x033∣−x2 dy/dx∣x0\dfrac{x_0^{3}}{3\left|-x^{2}\,dy/dx\right|_{x_0}}. What is this ratio for n = 0 and for n = 1? (a) 1 and π/3 (b) √6 and π/3 (c) ∞ and π²/3 (d) 1 and π²/3

Our solution. Answer: (d). 1, π23\frac{{\pi }^{2}}{3}

n = 0: y=1−x26y=1-\frac{{x}^{2}}{6} vanishes at x0=6{x}_{0}=\sqrt{6}. Then dydx=−x3\frac{dy}{dx}=-\frac{x}{3}, so −x2dydx=x33-\frac{{x}^{2}dy}{dx}=\frac{{x}^{3}}{3}, which equals x033\frac{{x}_{0}^{3}}{3} at the surface:

R=x033×x033=1R=\frac{{x}_{0}^{3}}{3\times \frac{{x}_{0}^{3}}{3}}=1

A uniform-density star has central density equal to its average density, as expected.

n = 1: y=sin⁡xxy=\frac{\sin {x}}{x} vanishes first at x0=π{x}_{0}=\pi. Then

dydx=xcos⁡x−sin⁡xx2⇒−x2dydx=sin⁡x−xcos⁡x\frac{dy}{dx}=\frac{x\cos {x}-\sin {x}}{{x}^{2}}\Rightarrow -\frac{{x}^{2}dy}{dx}=\sin {x}-x\cos {x}

At x=πx=\pi this is 0−π(−1)=π0-\pi \left( -1\right) =\pi, so

R=π33π=π23≈3.29R=\frac{{\pi }^{3}}{3\pi }=\frac{{\pi }^{2}}{3}\approx 3.29

In the n=1n=1 star the central density is about 3.3 times the average density — sensible, since density falls from centre to surface.

5. Quick check

Q1. For the n=0n=0 solution θ(x)=1−x26\theta \left( x\right) =1-\frac{{x}^{2}}{6}, what is the value of θ\theta at x=3x=\sqrt{3}?

Q2. In an n=1n=1 polytrope, what is the density at half the stellar radius, r=R⋆/2r={R}_{\star }/2, as a fraction of the central density?

Q3. The mean density of the Sun is ρ^≈1.41×103 kg m−3\hat{\rho }\approx 1.41\times {10}^{3}\text{ }\text{kg}\,{m}^{-3}. If the Sun is modelled as an n=1n=1 polytrope, what central density does the model predict?

Q4. A numerical solution of the Lane–Emden equation for n=1.5n=1.5 gives x0=3.654{x}_{0}=3.654 and θ′(x0)=−0.2033\theta '\left( {x}_{0}\right) =-0.2033. What is the central-to-average density ratio ρc/ρ^{\rho }_{c}/\hat{\rho } for this polytrope?

Q5. Which of the following statements about the density ratio ρc/ρ^=−x0/[3 θ′(x0)]{\rho }_{c}/\hat{\rho }=-{x}_{0}/\left[ 3\,\theta '\left( {x}_{0}\right) \right] are correct? (Choose all that are correct.)

6. Next