199 Unified Derivation of the Three Classes of Statistics Based on Microstate Counting

Bosley Zhang
Join to follow...
Follow/Unfollow Writer: Bosley Zhang
By following, you’ll receive notifications when this author publishes new articles.
Don't wait! Sign up to follow this writer.
WriterShelf is a privacy-oriented writing platform. Unleash the power of your voice. It's free!
Sign up. Join WriterShelf now! Already a member. Login to WriterShelf.
765   0  
·
2026/05/06
·
4 mins read
☕



Unified Derivation of the Three Classes of Statistics Based on Microstate Counting


Author: Zhang Suhang Luoyang, Henan


Abstract


Taking the occupation number n_i as the fundamental variable and employing the method of Lagrange variation, this paper derives the Maxwell–Boltzmann (MB), Bose–Einstein (BE), and Fermi–Dirac (FD) statistical distributions from the microstate counting Omega_i(n_i). The differences among the three statistics are entirely determined by the microstate counting rules, while sharing the same extremum framework. This paper presents the complete variational chain, explicitly distinguishing between the exact BE solution and its thermodynamic limit form, and specifying the Stirling approximation and sign conventions. It does not address the physical origins of the microstate counting rules, focusing solely on constraint classification and variational derivation.


Keywords: statistical distribution; variational extremum; microstate counting; Lagrange multiplier


1. Unified Framework


1.1 Extremum Functional


Let the degeneracy of the i-th energy level be g_i, the occupation number be n_i, and the microstate counting be Omega_i(n_i). Define the functional:


S[{n_i}]=kln W,qquad W=prod_iOmega_i(n_i)


That is,


S/k=sum_ilnOmega_i(n_i)


1.2 Conservation Constraints


sum_i n_i=N,qquad sum_i n_ivarepsilon_i=E


1.3 Lagrangian Functional and Extremum Condition


mathcal{L}=sum_ilnOmega_i(n_i)+alphaleft(sum_i n_i-Nright)+betaleft(sum_i n_ivarepsilon_i-Eright)


Extremum condition:


frac{partialmathcal{L}}{partial n_i}=0quadforall i


That is,


frac{partiallnOmega_i}{partial n_i}+alpha+betavarepsilon_i=0


Rearranging yields the unified extremum equation:


boxed{frac{partiallnOmega_i}{partial n_i}=-(alpha+betavarepsilon_i)}


Sign convention: In this paper, we take alpha=-mu/k_BT and beta=1/k_BT. Under this convention, the MB distribution is n_i=g_ie^{-(alpha+betavarepsilon_i)}, which is consistent with the standard form n_i=g_ie^{(mu-varepsilon_i)/k_BT}.


Approximation convention: Hereinafter, whenever the logarithm of a factorial appears, the Stirling approximation ln n!approx nln n-n (ngg1) is used.


2. Maxwell–Boltzmann Distribution: Distinguishable Particles, No Occupation Limit


Microstate counting:


Omega_i^{text{MB}}=frac{g_i^{n_i}}{n_i!}


Taking the logarithm and applying the Stirling approximation:


lnOmega_i^{text{MB}}=n_iln g_i-ln n_i!approx n_iln g_i-n_iln n_i+n_i


Differentiating:


frac{partiallnOmega_i^{text{MB}}}{partial n_i}=ln g_i-ln n_i


Substituting into the unified extremum equation:


ln g_i-ln n_i=-(alpha+betavarepsilon_i)


That is,


lnfrac{n_i}{g_i}=-(alpha+betavarepsilon_i)


Solving yields:


boxed{n_i=g_i,e^{-(alpha+betavarepsilon_i)}}


3. Bose–Einstein Distribution: Indistinguishable Particles, No Upper Occupation Limit


Microstate counting:


Omega_i^{text{BE}}=binom{n_i+g_i-1}{n_i}


Taking the logarithm:


lnOmega_i^{text{BE}}=ln(n_i+g_i-1)!-ln n_i!-ln(g_i-1)!


Applying the Stirling approximation:


lnOmega_i^{text{BE}}approx(n_i+g_i-1)ln(n_i+g_i-1)-n_iln n_i-(g_i-1)ln(g_i-1)


Differentiating:


frac{partiallnOmega_i^{text{BE}}}{partial n_i}=ln(n_i+g_i-1)-ln n_i=lnfrac{n_i+g_i-1}{n_i}


Substituting into the unified extremum equation:


lnfrac{n_i+g_i-1}{n_i}=-(alpha+betavarepsilon_i)


Exponentiating:


frac{n_i+g_i-1}{n_i}=e^{-(alpha+betavarepsilon_i)}


Rearranging:


1+frac{g_i-1}{n_i}=e^{-(alpha+betavarepsilon_i)}


frac{g_i-1}{n_i}=e^{-(alpha+betavarepsilon_i)}-1


Exact solution:


boxed{n_i=frac{g_i-1}{e^{-(alpha+betavarepsilon_i)}-1}}


In the thermodynamic limit g_igg1, g_i-1to g_i, yielding the standard form:


boxed{n_i=frac{g_i}{e^{-(alpha+betavarepsilon_i)}-1}}


4. Fermi–Dirac Distribution: Indistinguishable Particles, Single-State Occupation Limit of 1


Microstate counting:


Omega_i^{text{FD}}=binom{g_i}{n_i},qquad 0le n_ile g_i


Taking the logarithm:


lnOmega_i^{text{FD}}=ln g_i!-ln n_i!-ln(g_i-n_i)!


Applying the Stirling approximation:


lnOmega_i^{text{FD}}approx g_iln g_i-g_i-n_iln n_i+n_i-(g_i-n_i)ln(g_i-n_i)+(g_i-n_i)


Simplifying:


lnOmega_i^{text{FD}}approx g_iln g_i-n_iln n_i-(g_i-n_i)ln(g_i-n_i)


Differentiating:


frac{partiallnOmega_i^{text{FD}}}{partial n_i}=-ln n_i+ln(g_i-n_i)=lnfrac{g_i-n_i}{n_i}


Substituting into the unified extremum equation:


lnfrac{g_i-n_i}{n_i}=-(alpha+betavarepsilon_i)


Exponentiating:


frac{g_i-n_i}{n_i}=e^{-(alpha+betavarepsilon_i)}


Rearranging:


frac{g_i}{n_i}-1=e^{-(alpha+betavarepsilon_i)}


frac{g_i}{n_i}=e^{-(alpha+betavarepsilon_i)}+1


Solving yields:


boxed{n_i=frac{g_i}{e^{-(alpha+betavarepsilon_i)}+1}}


5. Sign Restatement and Unified Comparison


If the unified extremum equation is written as


frac{partiallnOmega_i}{partial n_i}=alpha'+beta'varepsilon_i


then the negative sign in alpha'=-(alpha+betavarepsilon_i) is absorbed into the definition of the multipliers, and the three distributions can be uniformly written as:


n_i=frac{g_i}{e^{alpha'+beta'varepsilon_i}+delta}


where:

Statistical Type Microstate Counting Omega_i Parameter delta Occupation Limit Distinguishability

MB g_i^{n_i}/n_i! 0 (no +1 in denominator, form is e^{-alpha'-beta'varepsilon_i}) None Distinguishable

BE binom{n_i+g_i-1}{n_i} -1 None Indistinguishable

FD binom{g_i}{n_i} +1 n_ile g_i Indistinguishable


The differences among the three distributions are entirely determined by the form of the microstate counting Omega_i(n_i); the extremum framework and conservation constraints are exactly the same.


6. Self-Consistency Checks


6.1 High-Temperature Weakly Degenerate Limit


When e^{-(alpha+betavarepsilon_i)}gg1 (i.e., e^{alpha+betavarepsilon_i}ll1):


frac{1}{e^{-(alpha+betavarepsilon_i)}-1}to e^{-(alpha+betavarepsilon_i)}


frac{1}{e^{-(alpha+betavarepsilon_i)}+1}to e^{-(alpha+betavarepsilon_i)}


Both BE and FD degenerate into the MB distribution. The framework is self-consistent.


6.2 Zero-Temperature Limit


In the FD distribution, as Tto0 (betatoinfty):


n_itobegin{cases}g_i,&varepsilon_imuend{cases}


That is, all states below the Fermi level are filled, and all above are empty. This is consistent with the Fermi sea picture.


6.3 Bose–Einstein Condensation


In the BE distribution, as alphato0^- (i.e., muto0^-), the ground-state occupation number diverges, corresponding to Bose–Einstein condensation. The framework can accommodate this limit.


7. Conclusion


1. The MB, BE, and FD statistics are analytical solutions of the same extremum framework under three sets of microstate counting rules.

2. The derivation chain is complete: microstate counting → Stirling approximation → variational extremum → analytical solution of the distribution.

3. The exact BE solution n_i=(g_i-1)/(e^{-(alpha+betavarepsilon_i)}-1) and the thermodynamic limit form n_i=g_i/(e^{-(alpha+betavarepsilon_i)}-1) have been explicitly distinguished.

4.The differences among the three statistics are entirely determined by the counting rules of \Omega_i(n_i); the extremum framework itself does not distinguish between statistical types.


This paper is a restorative unification that does not generate new distribution functions or provide directly testable new physical predictions. Its value lies in attributing the divergence mechanism of the three statistics uniformly to the alteration of microstate counting rules, forming an extensible variational foundation.



References


[1] Pathria R K. Statistical Mechanics[M]. 3rd ed. Elsevier, 2011.


[2] Landau L D, Lifshitz E M. Statistical Physics (Part 1)[M]. Pergamon Press, 1980.


[3] Jaynes E T. Information Theory and Statistical Mechanics[J]. Physical Review, 1957, 106(4): 620–630.


[4] Zhang Suhang. Multi-origin High-dimensional Geometry and the Principle of Maximum Information Efficiency: A Unified Framework for Global Physics[J]. Preprint, 2026.



Note: This paper is a derivation note in statistical mechanics, and all conclusions are reorganizations of standard textbook content. Sign conventions are specified in §1.3. The distinction between the exact BE solution and the thermodynamic limit form is specified in §3. This paper does not claim new physics, but merely provides a complete derivation chain for the unified variational framework.





WriterShelf™ is a unique multiple pen name blogging and forum platform. Protect relationships and your privacy. Take your writing in new directions. ** Join WriterShelf**
WriterShelf™ is an open writing platform. The views, information and opinions in this article are those of the author.


Article info

This article is part of:
Categories:
Date:
Published: 2026/05/06 - Updated: 2026/11/23
Total: 836 words


Share this article:
About the Author

I love science as much as art, logic as deeply as emotion.

I write the softest human stories beneath the hardest sci-fi.

May words bridge us to kindred spirits across the world.




Join the discussion now!
Don't wait! Sign up to join the discussion.
WriterShelf is a privacy-oriented writing platform. Unleash the power of your voice. It's free!
Sign up. Join WriterShelf now! Already a member. Login to WriterShelf.