3
$\begingroup$

I am trying to calculate the entropy for a classical two dimensional free gas of 𝑁 particles in a box of side 𝐿 and total energy 𝐸. Using two methods, I obtain different scaling factors inside the logarithm of the number of microstates:

Microcanonical Method (Direct Counting):
Here, I compute the phase space volume directly with the energy constraint 𝐸. The number of microstates is given by: $$ \Omega=\frac{1}{N!}\left(\frac{1}{h^2}L^2\int_{0}^{\infty}d^2p\right)^N=\frac{1}{N!}(L^2E)^N .$$ Here I kept $\frac{2\pi m}{h^2}=1$. To get the entropy, we use Boltzman Law followed by Stirling approximation and get $$S=K\ln\left(\frac{1}{N!} (L^2 E)^N\right)=Nk\ln\left(L^2E\right)-Nk\ln N +Nk\tag{1}$$

Canonical Partition Function Method:
Here, I calculate the partition function at a fixed temperature 𝑇 as $$ Z=\frac{1}{N!}\left(\frac{2\pi m kT}{h^2}\right)^N$$ where T is related to the energy 𝐸 via $𝑇=\frac{𝐸}{𝑁k}$. Substituting this into the partition function yields$$Z=\frac{1}{N!}\left[\frac{L^2 E}{N}\right]^N$$ In short taking negative KT times natural log and then differentiating with respect to temperature with a minus sign we get entropy $$S =Nk\ln\left(\frac{L^2E}{N}\right)-Nk\ln N +Nk\tag{2}$$ From (1) and (2), we can see there is a difference in the solutions. Latter contains $\frac{1}{N}$, and the former doesn't contain. Can you help me understand why there is a difference and which one is more precise?

$\endgroup$
9
  • $\begingroup$ $log(a/b)=log(a)-log(b)$ and $N\gg 1$ $\endgroup$
    – Roger V.
    Commented Dec 11 at 8:35
  • $\begingroup$ @RogerV. I had this question in an exam and both options i provided were present there.So which 1 is more precise? $\endgroup$ Commented Dec 11 at 9:12
  • $\begingroup$ Classically, entropy is defined up to an additive constant, so the question seems a bit weird to me... but also your first expression does not seem correct - shouldn't the power be $N-1$? There might be also additional factorial factor. $\endgroup$
    – Roger V.
    Commented Dec 11 at 10:19
  • $\begingroup$ @RogerV. Why should the power be N-1?i calculate the phase volume which is given by $\Omega = \frac{1}{N! h^{2N}} \int d^{2N}q \, d^{2N}p$ $\endgroup$ Commented Dec 11 at 10:30
  • 1
    $\begingroup$ Partition functions factorize because they have this special property. The number of states does not factorize, as @RogerV. said, we have an additional constraint, and it not factorize. The reason is well explained in this answer $\endgroup$
    – Ruffolo
    Commented Dec 11 at 20:29

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.