<p>I will use some concepts form statistical mechanics, I hope you are familiar with some of the concepts.</p>
<p>Consider a gas of <span class="math-container">$N$</span> particles of mass <span class="math-container">$m$</span> with Hamiltonian function</p>
<p><span class="math-container">$$H(\bar{q}, \bar{p}) = \sum_{i=1}^N {|\vec{p}_i|^2 \over 2 m} + U(\bar{q})$$</span></p>
<p>Here, <span class="math-container">$\bar{q} = (\vec{q}_1,\vec{q}_2,... \vec{q}_N)$</span> are the position of the particles and <span class="math-container">$\bar{p} = (\vec{p}_1,\vec{p}_2,... \vec{p}_N)$</span> are their momenta. <span class="math-container">$U(\bar{q})$</span> is the potential, it may for example be the gravitational potential:</p>
<p><span class="math-container">$$U(\bar{q}) = {1 \over 2}\sum_{i \neq j} G{m^2 \over |\vec{q}_i-\vec{q}_j|}$$</span></p>
<p>If the temperature <span class="math-container">$T$</span> is fixed, it means that we can work in the <a href="https://en.wikipedia.org/wiki/Canonical_ensemble" rel="nofollow noreferrer">Canonical Ensemble</a> and the probability that our system is in a particular configuration <span class="math-container">$(\bar{q}, \bar{p})$</span> is given by</p>
<p><span class="math-container">$$\mathcal{P}(\bar{q}, \bar{p}) = \frac{e^{-\beta H(\bar{q}, \bar{p})}}{\displaystyle \int {d\bar{q}d\bar{p} \over h^{3N}N!} \ e^{-\beta H(\bar{q}, \bar{p})}}$$</span></p>
<p>where <span class="math-container">$\beta = {1 \over k_B T}$</span>.</p>
<p>The average kinetic energy of the system is obtained by integrating the kinetic energy over the distribution</p>
<p><span class="math-container">$$\left&lt; K_E \right&gt; = \displaystyle \int K_E(\bar{p})\mathcal{P}(\bar{q}, \bar{p}) {d\bar{q}d\bar{p} \over h^{3N}N!} = \displaystyle \int \left(\sum_{i=1}^N {|\vec{p}_i|^2 \over 2 m} \right)\mathcal{P}(\bar{q}, \bar{p}) {d\bar{q}d\bar{p} \over h^{3N}N!}$$</span></p>
<p>Now, since <span class="math-container">$K_E$</span> doesn't depend on <span class="math-container">$\bar{q}$</span>, we can separate the integral in two parts, one over the momenta and one over the positions.</p>
<p><span class="math-container">$$\left&lt; K_E \right&gt; = \frac{\displaystyle \int d\bar{q}d\bar{p} \left(\sum_{i=1}^N {|\vec{p}_i|^2 \over 2 m} \right)e^{-\beta H(\bar{q}, \bar{p})}}{\displaystyle \int d\bar{q}d\bar{p}\ e^{-\beta H(\bar{q}, \bar{p})}} = 
 \frac{\displaystyle \int d\bar{p} \left(\sum_{i=1}^N {|\vec{p}_i|^2 \over 2 m} \right)e^{-\sum_{i=1}^N \beta{|\vec{p}_i|^2 \over 2 m}}}{\displaystyle \int d\bar{p}\ e^{-\sum_{i=1}^N \beta{|\vec{p}_i|^2 \over 2 m}}}  \frac{\displaystyle \int d\bar{q}e^{-\beta U(\bar{q})}}{\displaystyle \int d\bar{q}\ e^{-\beta U(\bar{q})}}$$</span></p>
<p>The integral on <span class="math-container">$\bar{q}$</span> simplifies, and therefore <strong>the average kinetic energy doesn't depend on the potential</strong>. Continuing the calculation, we find</p>
<p><span class="math-container">$$\require{cancel}\left&lt; K_E \right&gt; = 
 \frac{\displaystyle \int d\bar{p} \left(\sum_{i=1}^N {|\vec{p}_i|^2 \over 2 m} \right)\prod_{i=1}^N e^{- \beta{|\vec{p}_i|^2 \over 2 m}}}
{\left( \displaystyle \int d\vec{p}\ e^{-\beta{|\vec{p}|^2 \over 2 m}}\right)^N} = 
{\displaystyle \int_{-\infty}^{+\infty} dp {p^2 \over 2 m} e^{- \beta{p^2 \over 2 m}}}
\frac{3N \left(\displaystyle \int_{-\infty}^{+\infty} dp\ e^{- \beta{p^2 \over 2 m}}\right)^{\cancel{3N}-1}}
{\cancel{\left(\displaystyle \int_{-\infty}^{+\infty} dp\ e^{-\beta{p^2 \over 2 m}}\right)^{3N}}}$$</span></p>
<p>The gaussian integrals are readily solved and yield</p>
<p><span class="math-container">$$\left&lt; K_E \right&gt; = 3N {\sqrt{2\pi m} \over 2}(k_BT)^{{3\over 2}}\frac{1}{\sqrt{2\pi m k_B T}} = {3 \over 2}Nk_BT$$</span></p>
<p>I know these calculations may look cumbersome, if you have never seen them. Feel free to ask clarifications on passages that I have done too hastily.</p>

CC BY-SA 4.0
2021-08-30T06:59:19.313Z
Thanks a lot kind sir, yes the calculations are a bit beyond my level of understanding since I am only in the 12th year of high school, but the calculations satisfy what I needed to ask. God bless you once again....
Anmoldeep
CC BY-SA 4.0
2021-08-29T20:46:05.817Z
2021-08-29T21:21:16.967Z
2021-08-29T21:21:16.967Z
Prallax
<p>I encountered a question:</p>
<p><strong>&quot;Find the ratio of Kinetic Energy and Total Energy of a star, made out of a monoatomic ideal gas, You <em>may not</em> consider density to be uniform. Kinetic energy is the associated KE of gas particles w.r.t to Temperature. You may assume uniform temperature.&quot;</strong></p>
<p>The solution is fine until they use <span class="math-container">$K_E = {3\over 2}k_BT$</span> per the monoatomic gas particle. Isn't this <span class="math-container">$K_E$</span> associated with <strong>Kinetic Gas Theory</strong> which neglects all attractive forces. But we have to calculate the self-energy of this star, which certainly arises due to gravitational interactions between these particles and is certainly not neglectable.</p>
<p>Is it a valid assumption that <span class="math-container">$K_E = {3\over 2}k_BT$</span>?</p>

CC BY-SA 4.0
2021-08-29T18:11:56.087Z
Yes, the kinetic energy can reasonably-well be assumed $E_{kin} = \frac{3}{2} kT$. Gravity or its absence has no influence on the kinetic energy. The question asks you to assume a isothermal polytropic star with a finite central density.
planetmaker
CC BY-SA 4.0
2021-08-29T20:06:12.670Z
I thought that this result is only valid when the gas is under no influence of attractive forces, but here there are attractive forces right? While deriving kinetic energy, we assume the absence of external forces.
Anmoldeep
<star><gas>
Why is it safe to assume that K = 3/2kT in a self-gravitating gas
Anmoldeep
# Why is it safe to assume that K = 3/2kT in a self-gravitating gas

(Asked by: username_0 on 2021-08-29)

I encountered a question:

**"Find the ratio of Kinetic Energy and Total Energy of a star, made out of a monoatomic ideal gas, You *may not* consider density to be uniform. Kinetic energy is the associated KE of gas particles w.r.t to Temperature. You may assume uniform temperature."**

The solution is fine until they use $K\_E = {3\over 2}k\_BT$ per the monoatomic gas particle. Isn't this $K\_E$ associated with **Kinetic Gas Theory** which neglects all attractive forces. But we have to calculate the self-energy of this star, which certainly arises due to gravitational interactions between these particles and is certainly not neglectable.

Is it a valid assumption that $K\_E = {3\over 2}k\_BT$?

**Tags:** star, gas
> **Comments:**
> **username_1**: Yes, the kinetic energy can reasonably-well be assumed $E_{kin} = \frac{3}{2} kT$. Gravity or its absence has no influence on the kinetic energy. The question asks you to assume a isothermal polytropic star with a finite central density.  
> **username_0**: I thought that this result is only valid when the gas is under no influence of attractive forces, but here there are attractive forces right? While deriving kinetic energy, we assume the absence of external forces.  

---

## 1 answers

### Answer by username_2 on 2021-08-29. Score: 5 | Accepted answer

I will use some concepts form statistical mechanics, I hope you are familiar with some of the concepts.

Consider a gas of $N$ particles of mass $m$ with Hamiltonian function

$$H(\bar{q}, \bar{p}) = \sum\_{i=1}^N {|\vec{p}\_i|^2 \over 2 m} + U(\bar{q})$$

Here, $\bar{q} = (\vec{q}\_1,\vec{q}\_2,... \vec{q}\_N)$ are the position of the particles and $\bar{p} = (\vec{p}\_1,\vec{p}\_2,... \vec{p}\_N)$ are their momenta. $U(\bar{q})$ is the potential, it may for example be the gravitational potential:

$$U(\bar{q}) = {1 \over 2}\sum\_{i \neq j} G{m^2 \over |\vec{q}\_i-\vec{q}\_j|}$$

If the temperature $T$ is fixed, it means that we can work in the [Canonical Ensemble](https://en.wikipedia.org/wiki/Canonical_ensemble) and the probability that our system is in a particular configuration $(\bar{q}, \bar{p})$ is given by

$$\mathcal{P}(\bar{q}, \bar{p}) = \frac{e^{-\beta H(\bar{q}, \bar{p})}}{\displaystyle \int {d\bar{q}d\bar{p} \over h^{3N}N!} \ e^{-\beta H(\bar{q}, \bar{p})}}$$

where $\beta = {1 \over k\_B T}$.

The average kinetic energy of the system is obtained by integrating the kinetic energy over the distribution

$$\left< K\_E \right> = \displaystyle \int K\_E(\bar{p})\mathcal{P}(\bar{q}, \bar{p}) {d\bar{q}d\bar{p} \over h^{3N}N!} = \displaystyle \int \left(\sum\_{i=1}^N {|\vec{p}\_i|^2 \over 2 m} \right)\mathcal{P}(\bar{q}, \bar{p}) {d\bar{q}d\bar{p} \over h^{3N}N!}$$

Now, since $K\_E$ doesn't depend on $\bar{q}$, we can separate the integral in two parts, one over the momenta and one over the positions.

$$\left< K\_E \right> = \frac{\displaystyle \int d\bar{q}d\bar{p} \left(\sum\_{i=1}^N {|\vec{p}\_i|^2 \over 2 m} \right)e^{-\beta H(\bar{q}, \bar{p})}}{\displaystyle \int d\bar{q}d\bar{p}\ e^{-\beta H(\bar{q}, \bar{p})}} =
\frac{\displaystyle \int d\bar{p} \left(\sum\_{i=1}^N {|\vec{p}\_i|^2 \over 2 m} \right)e^{-\sum\_{i=1}^N \beta{|\vec{p}\_i|^2 \over 2 m}}}{\displaystyle \int d\bar{p}\ e^{-\sum\_{i=1}^N \beta{|\vec{p}\_i|^2 \over 2 m}}} \frac{\displaystyle \int d\bar{q}e^{-\beta U(\bar{q})}}{\displaystyle \int d\bar{q}\ e^{-\beta U(\bar{q})}}$$

The integral on $\bar{q}$ simplifies, and therefore **the average kinetic energy doesn't depend on the potential**. Continuing the calculation, we find

$$\require{cancel}\left< K\_E \right> =
\frac{\displaystyle \int d\bar{p} \left(\sum\_{i=1}^N {|\vec{p}\_i|^2 \over 2 m} \right)\prod\_{i=1}^N e^{- \beta{|\vec{p}\_i|^2 \over 2 m}}}
{\left( \displaystyle \int d\vec{p}\ e^{-\beta{|\vec{p}|^2 \over 2 m}}\right)^N} =
{\displaystyle \int\_{-\infty}^{+\infty} dp {p^2 \over 2 m} e^{- \beta{p^2 \over 2 m}}}
\frac{3N \left(\displaystyle \int\_{-\infty}^{+\infty} dp\ e^{- \beta{p^2 \over 2 m}}\right)^{\cancel{3N}-1}}
{\cancel{\left(\displaystyle \int\_{-\infty}^{+\infty} dp\ e^{-\beta{p^2 \over 2 m}}\right)^{3N}}}$$

The gaussian integrals are readily solved and yield

$$\left< K\_E \right> = 3N {\sqrt{2\pi m} \over 2}(k\_BT)^{{3\over 2}}\frac{1}{\sqrt{2\pi m k\_B T}} = {3 \over 2}Nk\_BT$$

I know these calculations may look cumbersome, if you have never seen them. Feel free to ask clarifications on passages that I have done too hastily.

> **Comments:**
> **username_0**: Thanks a lot kind sir, yes the calculations are a bit beyond my level of understanding since I am only in the 12th year of high school, but the calculations satisfy what I needed to ask. God bless you once again....  

---

