Derive and Solve the Lane-Emden Equation for a Polytropic Gas Sphere

  • #1
MatinSAR
651
196
Homework Statement
1. Assume a polytropic equation of state for the gas: ##P=K \rho ^{\gamma}##
2. Using the mechanical part of the stellar equation (mass conservation and
hydrostatic equilibrium) , drive the below equation. $$ \frac{\gamma K}{r^2} \frac{d}{dr} \left[ r^2 \rho^{\gamma - 2} \frac{d\rho}{dr} \right] = -4 \pi G \rho $$ Using the specified change of variables, derive the Lane-Emden equation and solve it for the given boundary conditions when ##𝑛 = 0##. Then, interpret the resulting solution.
Relevant Equations
Mass conservation and hydrostatic equilibrium equation: $$\frac{dM(r)}{dr} = 4\pi r^2 \rho(r)$$ $$\frac{dP(r)}{dr} = -\frac{GM(r)\rho(r)}{r^2} $$
We start with hydrostatic equilibrium: $$ \frac{dP(r)}{dr} = K \gamma \rho ^ {\gamma -1} \dfrac {d \rho}{dr} =-\frac{GM(r)\rho(r)}{r^2}$$ $$ K \gamma \rho ^ {\gamma -1} \dfrac {d \rho}{dr} = - \dfrac {G \rho (r) }{r^2} \int 4 \pi r^2 \rho (r) \, dr$$ $$ r^2 K \gamma \rho ^ {\gamma -2} \dfrac {d \rho}{dr} = -G \int 4 \pi r^2 \rho (r)$$ $$\dfrac { \gamma K}{r^2} \dfrac {d}{dr} \left[ r^2 \rho ^ {\gamma -2} \dfrac {d \rho}{dr} \right] = -4 \pi G \rho$$ I think my answer to part 2 is correct. I'm not sure about following parts of the question:
3. Set ## \gamma \equiv \frac{(n+1)}{n} ## and change the variables as $$ \rho(r) \equiv \rho_c [D_n(r)]^n, \quad \text{where} \quad 0 \leq D_n \leq 1 \quad r \equiv \lambda_n \xi \quad \lambda_n \equiv \left[ (n+1) \left( \frac{K \rho_c^{(1-n)/n}}{4 \pi G} \right) \right]^{1/2}$$ 4. Now find the Lane-Emden equation $$\frac{1}{\xi^2} \frac{d}{d\xi} \left[ \xi^2 \frac{d D_n}{d\xi} \right] = -D_n^n$$ 5.Assuming proper boundary conditions solve the Lane-Emden equation analytically for n=0.
7.Can you interpret the results? What the results imply about the size of the star?

1736267968785.png


I thnik should use the change of variables in part 3 to obtain the equation in part 4, then set ## n=0 ## and solve it. Then, use the above boundary conditions to find ## D(\xi) ##. If I were right until now, I can use ## r \equiv \lambda_n \xi ## to talk about the size of the star. Am I right?
 
Physics news on Phys.org
  • #2
MatinSAR said:
I thnik should use the change of variables in part 3 to obtain the equation in part 4, then set ## n=0 ## and solve it. Then, use the above boundary conditions to find ## D(\xi) ##.

That is exactly what the question is asking you to do. Note that the actual boundary conditions at the origin are [itex]D_n(0) = 1[/itex] and [itex]D_n'(0) = 0[/itex]; [itex]\xi_1[/itex] is then the first positive zero of [itex]D_n[/itex].

Without finding [itex]D_0[/itex], what do the definitions [tex]\rho(r) = \rho_c [D_n(r)]^n[/tex] and [tex]\lambda_n \propto (n+1)^{1/2}\rho_c^{(1-n)/(2n)}[/tex] suggest about the case [itex]n = 0[/itex] for [itex]\rho_c > 0[/itex]?
 
Last edited:
  • Like
Likes MatinSAR
  • #3
pasmith said:
That is exactly what the question is asking you to do.
I have reached the part where I need two boundary conditions to determine the constants in the relation: $$ D_0 = -\frac{1}{6} \xi^2 - \frac{C_0}{\xi} + C_1 $$ The boundary conditions are:
1. The pressure is zero at the surface.
2. The gradient of the density at the center is zero.

From the second condition, I understand why ## C_0 = 0 ##. Since ## \left. \frac{dD_n}{d\xi} \right|_{\xi=0} = 0 ## we have ## \left. \frac{C_0}{\xi^2} \right|_{\xi=0} = 0 ##.

so ## C_0 ## must be zero. However, I am unsure how to apply the first boundary condition. If I use ## D_n(0) = 1 ##, it follows that the other constant ## C_1 ## will be 1, but I cannot find the relation between this and our first boundary condition. Why can't I use ## D_n(\xi_1) = 0 ##?

pasmith said:
Without finding [itex]D_0[/itex], what do the definitions [tex]\rho(r) = \rho_c [D_n(r)]^n[/tex] and [tex]\lambda_n \propto (n+1)^{1/2}\rho_c^{(1-n)/(2n)}[/tex] suggest about the case [itex]n = 0[/itex] for [itex]\rho_c > 0[/itex]?
##\rho (r) = \rho_c ## which is constant. Does ##\lambda_n ## tend to infinity?
 
  • #4
[itex]\xi_1[/itex] is an unknown; it must be solved for. The requirements that [itex]D_n(0) = 1[/itex] and that [itex]D_n(\xi) > 0[/itex] for [itex]0 \leq \xi < \xi_1[/itex] together with [itex]D_n(\xi_1) = 0[/itex] determine [itex]\xi_1[/itex]. Here, [tex]
0 = D_0(\xi_1) = 1 - \frac{\xi_1^2}{6}[/tex] is the equation to be solved for [itex]\xi_1[/itex].

Note also from the definition of [itex]n[/itex] that [itex]\gamma[/itex] is infinite for [itex]n = 0[/itex]. What can you conclude about the validity of this model in the case [itex]n = 0[/itex]?
 
  • Like
Likes MatinSAR
  • #5
pasmith said:
[itex]\xi_1[/itex] is an unknown; it must be solved for. The requirements that [itex]D_n(0) = 1[/itex] and that [itex]D_n(\xi) > 0[/itex] for [itex]0 \leq \xi < \xi_1[/itex] together with [itex]D_n(\xi_1) = 0[/itex] determine [itex]\xi_1[/itex]. Here, [tex]
0 = D_0(\xi_1) = 1 - \frac{\xi_1^2}{6}[/tex] is the equation to be solved for [itex]\xi_1[/itex].
We use the conditions ##D(0)=1## and ##D'(0)=0## to find the values of ##C_1## and ##C_2##. After that, we can use ##D(\xi_1)=0## to determine ##\xi_1##. Why do we need ##\xi_1##, and what does it represent? Is it related to the radius of the star? I need to find the star's size (radius). I think ##r_{star}=\lambda_n \xi_1## because at ##\xi = \xi_1 ## , ##D## becomes 0.
pasmith said:
Note also from the definition of [itex]n[/itex] that [itex]\gamma[/itex] is infinite for [itex]n = 0[/itex]. What can you conclude about the validity of this model in the case [itex]n = 0[/itex]?
##\gamma= \infty## shows that the temperature is constant...
 
  • #6
MatinSAR said:
We use the conditions ##D(0)=1## and ##D'(0)=0## to find the values of ##C_1## and ##C_2##. After that, we can use ##D(\xi_1)=0## to determine ##\xi_1##. Why do we need ##\xi_1##, and what does it represent? Is it related to the radius of the star? I need to find the star's size (radius). I think ##r_{star}=\lambda_n \xi_1## because at ##\xi = \xi_1 ## , ##D## becomes 0.
I think this is correct, But I don't have any idea to how to use it to find star's radius since ##\lambda = \infty## for ##n=0## ...
 
  • #7
I did it this way:
1736368145965.png


Then substitute ## \lambda_0 = R/ \xi_1 ## in ##M##'s equation we derived:
1736368187443.png


Edit:
##R^3 = 3M/4\pi \rho_c##​
 

Similar threads

Back
Top