My approach:
- Write down the partition function $Z_1$ of a single particle,
approximate the summation with integral so $Z_1 = \int e^{-\beta E} g(E) dE$ where $g(E)$ is the density of states. - Mark the ground state with a dummy variable $\mu$ so $Z_1'=Z_1-1+\mu$.
- The partition function $Z$ of $N$ bosons is $\frac{1}{N!}Z_1^{'N}$.
- The number of particles in the ground state is $\frac{\partial}{\partial \mu}\log Z\big |_{\mu=1}$.
However, my result is quite different from BEC, specifically, the ratio of particles in the ground state is independent of the particle number $N$.
I suspect this derivation must contain some logical mistakes but I am unable to find them. Any help is appreciated.