Maxwell distribution
From phenomenon to model
James Clerk Maxwell obtained the law in 1860 while studying molecular speeds in an ideal gas. It helped connect statistical mechanics and probability.
What to look at
In Phitter the support begins at loc and continues toward positive infinity. alpha controls component scale; the density has an interior peak and a rapidly decaying tail.
Useful relationships
It is a Chi and Generalized Gamma special case. Rayleigh is the two-dimensional analogue; Maxwell–Boltzmann speed distribution is the usual physics name.
Names you may also encounter
It is also called the Maxwell–Boltzmann speed distribution or Maxwell distribution.
When it makes sense
In physics, equilibrium gas-speed histograms are compared with Maxwell–Boltzmann. In engineering, it can describe the norm of three independent Gaussian errors when isotropy is plausible.
What not to assume
Physical interpretation requires isotropy and equilibrium; fitting Maxwell to grouped speeds does not prove those conditions.
Speed appears after forgetting three directions
Maxwell began with three independent Normal velocity components sharing a scale. Speed is the vector length and retains none of the directional signs. This creates the Maxwell law, also called Maxwell Boltzmann for molecular speed.
It is the three-dimensional case of the Chi distribution. One dimension gives Half Normal and two give Rayleigh. Squared speed, after scale adjustment, is Chi Square with three degrees of freedom and connects with kinetic energy. For real gases, thermal equilibrium and isotropy are physical assumptions. For generic magnitudes, fitting the curve does not prove that three equivalent Gaussian components exist.
Decision guide
A good candidate when: after subtracting loc, the variable is the magnitude of three independent, centred Gaussian components with equal variance.
Compare it with: Rayleigh for two components and Chi for another dimension. If drift or unequal variances are present, the Maxwell construction is no longer appropriate.
References
- SciPy reference: scipy.stats.maxwell — definition and parameterization
- Johnson, N. L., Kotz, S. & Balakrishnan, N. (1994). Continuous Univariate Distributions, 2nd ed., Vol. 1. Wiley.
- Maxwell, J. C. (1860). Illustrations of the dynamical theory of gases. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 19, 19–32.