Consider a canonical ensemble of $N$ ideal gas atoms, which could have spin up or spin down. Why is it that the probability of finding the particle in a spin up state generally only involves the single partition function?
In a canonical ensemble, $P_i = \frac{e^{-\frac{E_i}{kT}}}{Z}$.
$$P_{up} = \frac{e^{-\frac{h}{kT}}}{e^{-\frac{h}{kT}}+e^{\frac{h}{kT}}} $$
Why do we only use the one-particle partition function here and not the $N$ particle partition function?
I tried this using a sample Hamiltonian:
$$H = \sum_{i=1}^N \frac{p_i^2}{2m} - h s_i$$
I got:
$$Z = \frac{1}{N!} \left(\frac{V}{\lambda^3} (e^{\beta h} + e^{-\beta h}) \right)^N$$, where $\lambda = \frac{h}{\sqrt{2 \pi m k_B T}}$
Is it possible to reproduce $P_{up}$ from the $N$-particle partition function. Can one do this using the binomial theorem, $(1+x)^n = \sum_{k=0}^n {n \choose k} x^k$?
I'm trying to understand how the single particle and many particle partition functions are related.