Probability density function
Cumulative distribution function
|CDF||where erf is the error function|
In physics (in particular in statistical mechanics), the Maxwell–Boltzmann distribution, or Maxwell(ian) distribution, is a particular probability distribution named after James Clerk Maxwell and Ludwig Boltzmann.
It was first defined and used for describing particle speeds in idealized gases, where the particles move freely inside a stationary container without interacting with one another, except for very brief collisions in which they exchange energy and momentum with each other or with their thermal environment. The term "particle" in this context refers to gaseous particles only (atoms or molecules), and the system of particles is assumed to have reached thermodynamic equilibrium. The energies of such particles follow what is known as Maxwell–Boltzmann statistics, and the statistical distribution of speeds is derived by equating particle energies with kinetic energy.
Mathematically, the Maxwell–Boltzmann distribution is the chi distribution with three degrees of freedom (the components of the velocity vector in Euclidean space), with a scale parameter measuring speeds in units proportional to the square root of (the ratio of temperature and particle mass).
The Maxwell–Boltzmann distribution is a result of the kinetic theory of gases, which provides a simplified explanation of many fundamental gaseous properties, including pressure and diffusion. The Maxwell–Boltzmann distribution applies fundamentally to particle velocities in three dimensions, but turns out to depend only on the speed (the magnitude of the velocity) of the particles. A particle speed probability distribution indicates which speeds are more likely: a randomly chosen particle will have a speed selected randomly from the distribution, and is more likely to be within one range of speeds than another. The kinetic theory of gases applies to the classical ideal gas, which is an idealization of real gases. In real gases, there are various effects (e.g., van der Waals interactions, vortical flow, relativistic speed limits, and quantum exchange interactions) that can make their speed distribution different from the Maxwell–Boltzmann form. However, rarefied gases at ordinary temperatures behave very nearly like an ideal gas and the Maxwell speed distribution is an excellent approximation for such gases. This is also true for ideal plasmas, which are ionized gases of sufficiently low density.
The distribution was first derived by Maxwell in 1860 on heuristic grounds. Boltzmann later, in the 1870s, carried out significant investigations into the physical origins of this distribution. The distribution can be derived on the ground that it maximizes the entropy of the system. A list of derivations are:
- Maximum entropy probability distribution in the phase space, with the constraint of conservation of average energy ;
- Canonical ensemble.
For a system containing a large number of identical non-interacting, non-relativistic classical particles in themodynamic equilibrium, the fraction of the particles within an infinitesimal element of the three-dimensional velocity space , centered on a velocity vector of magnitude , is given by
One can write the element of velocity space as , for velocities in a standard Cartesian coordinate system, or as in a standard spherical coordinate system, where is an element of solid angle.
The Maxwellian distribution function for particles moving in only one direction, if this direction is , is
Recognizing the symmetry of , one can integrate over solid angle and write a probability distribution of speeds as the function
This probability density function gives the probability, per unit speed, of finding the particle with a speed near . This equation is simply the Maxwell–Boltzmann distribution (given in the infobox) with distribution parameter . The Maxwell–Boltzmann distribution is equivalent to the chi distribution with three degrees of freedom and scale parameter .
The simplest ordinary differential equation satisfied by the distribution is:
or in unitless presentation:
Relation to the 2D Maxwell–Boltzmann distribution
For particles confined to move in a plane, the speed distribution is given by
This distribution is used for describing systems in equilibrium. However, most systems do not start out in their equilibrium state. The evolution of a system towards its equilibrium state is governed by the Boltzmann equation. The equation predicts that for short range interactions, the equilibrium velocity distribution will follow a Maxwell–Boltzmann distribution. To the right is a molecular dynamics (MD) simulation in which 900 hard sphere particles are constrained to move in a rectangle. They interact via perfectly elastic collisions. The system is initialized out of equilibrium, but the velocity distribution (in blue) quickly converges to the 2D Maxwell–Boltzmann distribution (in orange).
This works well for nearly ideal, monatomic gases like helium, but also for molecular gases like diatomic oxygen. This is because despite the larger heat capacity (larger internal energy at the same temperature) due to their larger number of degrees of freedom, their translational kinetic energy (and thus their speed) is unchanged.
- The most probable speed, vp, is the speed most likely to be possessed by any molecule (of the same mass m) in the system and corresponds to the maximum value or the mode of f(v). To find it, we calculate the derivative df/dv, set it to zero and solve for v: with the solution:R is the gas constant and M is molar mass of the substance, and thus may be calculated as a product of particle mass, m, and Avogadro constant, NA:For diatomic nitrogen (N2, the primary component of air) at room temperature (300 K), this gives
- The mean speed is the expected value of the speed distribution, setting :
- The mean square speed is the second-order raw moment of the speed distribution. The "root mean square speed" is the square root of the mean square speed, corresponding to the speed of a particle with median kinetic energy, setting :
In summary, the typical speeds are related as follows:
The root mean square speed is directly related to the speed of sound c in the gas, by
The average relative velocity
The integral can easily be done by changing to coordinates and
The original derivation in 1860 by James Clerk Maxwell was an argument based on molecular collisions of the Kinetic theory of gases as well as certain symmetries in the speed distribution function; Maxwell also gave an early argument that these molecular collisions entail a tendency towards equilibrium. After Maxwell, Ludwig Boltzmann in 1872 also derived the distribution on mechanical grounds and argued that gases should over time tend toward this distribution, due to collisions (see H-theorem). He later (1877) derived the distribution again under the framework of statistical thermodynamics. The derivations in this section are along the lines of Boltzmann's 1877 derivation, starting with result known as Maxwell–Boltzmann statistics (from statistical thermodynamics). Maxwell–Boltzmann statistics gives the average number of particles found in a given single-particle microstate. Under certain assumptions, the logarithm of the fraction of particles in a given microstate is proportional to the ratio of the energy of that state to the temperature of the system:
This relation can be written as an equation by introducing a normalizing factor:
- Ni is the expected number of particles in the single-particle microstate i,
- N is the total number of particles in the system,
- Ei is the energy of microstate i,
- the sum over index j takes into account all microstates,
- T is the equilibrium temperature of the system,
- k is the Boltzmann constant.
The denominator in Equation (1) is a normalizing factor so that the ratios add up to unity — in other words it is a kind of partition function (for the single-particle system, not the usual partition function of the entire system).
Because velocity and speed are related to energy, Equation (1) can be used to derive relationships between temperature and the speeds of gas particles. All that is needed is to discover the density of microstates in energy, which is determined by dividing up momentum space into equal sized regions.
Distribution for the momentum vector
where p2 is the square of the momentum vector p = [px, py, pz]. We may therefore rewrite Equation (1) as:
where Z is the partition function, corresponding to the denominator in Equation (1). Here m is the molecular mass of the gas, T is the thermodynamic temperature and k is the Boltzmann constant. This distribution of is proportional to the probability density function fp for finding a molecule with these values of momentum components, so:
The normalizing constant can be determined by recognizing that the probability of a molecule having some momentum must be 1. Integrating the exponential in (4) over all px, py, and pz yields a factor of
So that the normalized distribution function is:
The distribution is seen to be the product of three independent normally distributed variables , , and , with variance . Additionally, it can be seen that the magnitude of momentum will be distributed as a Maxwell–Boltzmann distribution, with . The Maxwell–Boltzmann distribution for the momentum (or equally for the velocities) can be obtained more fundamentally using the H-theorem at equilibrium within the Kinetic theory of gases framework.
Distribution for the energy
The energy distribution is found imposing
where is the infinitesimal phase-space volume of momenta corresponding to the energy interval . Making use of the spherical symmetry of the energy-momentum dispersion relation , this can be expressed in terms of as
Since the energy is proportional to the sum of the squares of the three normally distributed momentum components, this energy distribution can be written equivalently as a gamma distribution, using a shape parameter, and a scale parameter, .
Using the equipartition theorem, given that the energy is evenly distributed among all three degrees of freedom in equilibrium, we can also split into a set of chi-squared distributions, where the energy per degree of freedom, , is distributed as a chi-squared distribution with one degree of freedom,
At equilibrium, this distribution will hold true for any number of degrees of freedom. For example, if the particles are rigid mass dipoles of fixed dipole moment, they will have three translational degrees of freedom and two additional rotational degrees of freedom. The energy in each degree of freedom will be described according to the above chi-squared distribution with one degree of freedom, and the total energy will be distributed according to a chi-squared distribution with five degrees of freedom. This has implications in the theory of the specific heat of a gas.
Distribution for the velocity vector
Recognizing that the velocity probability density fv is proportional to the momentum probability density function by
and using p = mv we get
which is the Maxwell–Boltzmann velocity distribution. The probability of finding a particle with velocity in the infinitesimal element [dvx, dvy, dvz] about velocity v = [vx, vy, vz] is
Like the momentum, this distribution is seen to be the product of three independent normally distributed variables , , and , but with variance . It can also be seen that the Maxwell–Boltzmann velocity distribution for the vector velocity [vx, vy, vz] is the product of the distributions for each of the three directions:
Each component of the velocity vector has a normal distribution with mean and standard deviation , so the vector has a 3-dimensional normal distribution, a particular kind of multivariate normal distribution, with mean and covariance , where is the identity matrix.
Distribution for the speed
The Maxwell–Boltzmann distribution for the speed follows immediately from the distribution of the velocity vector, above. Note that the speed is
In n-dimensional space
In n-dimensional space, Maxwell–Boltzmann distribution becomes:
Speed distribution becomes:
The following integral result is useful:
The derivative of speed distribution function:
This yields the most probable speed (mode) .
- Quantum Boltzmann equation
- Maxwell–Boltzmann statistics
- Maxwell–Jüttner distribution
- Boltzmann distribution
- Rayleigh distribution
- Kinetic theory of gases
- Statistical Physics (2nd Edition), F. Mandl, Manchester Physics, John Wiley & Sons, 2008, ISBN 9780471915331
- University Physics – With Modern Physics (12th Edition), H.D. Young, R.A. Freedman (Original edition), Addison-Wesley (Pearson International), 1st Edition: 1949, 12th Edition: 2008, ISBN 978-0-321-50130-1
- Encyclopaedia of Physics (2nd Edition), R.G. Lerner, G.L. Trigg, VHC publishers, 1991, ISBN 3-527-26954-1 (Verlagsgesellschaft), ISBN 0-89573-752-3 (VHC Inc.)
- N.A. Krall and A.W. Trivelpiece, Principles of Plasma Physics, San Francisco Press, Inc., 1986, among many other texts on basic plasma physics
- Maxwell, J.C. (1860 A): Illustrations of the dynamical theory of gases. Part I. On the motions and collisions of perfectly elastic spheres. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 4th Series, vol.19, pp.19-32. 
- Maxwell, J.C. (1860 B): Illustrations of the dynamical theory of gases. Part II. On the process of diffusion of two or more kinds of moving particles among one another. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 4th Ser., vol.20, pp.21-37. 
- H.J.W. Müller-Kirsten (2013), Basics of Statistical Physics, 2nd ed., World Scientific, ISBN 978-981-4449-53-3, Chapter 2.
- Raymond A. Serway; Jerry S. Faughn & Chris Vuille (2011). College Physics, Volume 1 (9th ed.). p. 352. ISBN 9780840068484.
- The calculation is unaffected by the Nitrogen being diatomic. Despite the larger heat capacity (larger internal energy at the same temperature) of diatomic gases relative to monatomic gases, due to their larger number of degrees of freedom, is still the mean translational kinetic energy. Nitrogen being diatomic only affects the value of the molar mass M = 28 g/mol. See e.g. K. Prakashan, Engineering Physics (2001), 2.278.
- Nitrogen at room temperature is considered a "rigid" diatomic gas, with two rotational degrees of freedom additional to the three translational ones, and the vibrational degree of freedom not accessible.
- Gyenis, Balazs (2017). "Maxwell and the normal distribution: A colored story of probability, independence, and tendency towards equilibrium". Studies in History and Philosophy of Modern Physics. 57: 53–65. arXiv:1702.01411. Bibcode:2017SHPMP..57...53G. doi:10.1016/j.shpsb.2017.01.001. S2CID 38272381.
- Boltzmann, L., "Weitere studien über das Wärmegleichgewicht unter Gasmolekülen." Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften in Wien, mathematisch-naturwissenschaftliche Classe, 66, 1872, pp. 275–370.
- Boltzmann, L., "Über die Beziehung zwischen dem zweiten Hauptsatz der mechanischen Wärmetheorie und der Wahrscheinlichkeitsrechnung respektive den Sätzen über das Wärmegleichgewicht." Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften in Wien, Mathematisch-Naturwissenschaftliche Classe. Abt. II, 76, 1877, pp. 373–435. Reprinted in Wissenschaftliche Abhandlungen, Vol. II, pp. 164–223, Leipzig: Barth, 1909. Translation available at: http://crystal.med.upenn.edu/sharp-lab-pdfs/2015SharpMatschinsky_Boltz1877_Entropy17.pdf
- McGraw Hill Encyclopaedia of Physics (2nd Edition), C.B. Parker, 1994, ISBN 0-07-051400-3
- Laurendeau, Normand M. (2005). Statistical thermodynamics: fundamentals and applications. Cambridge University Press. p. 434. ISBN 0-521-84635-8., Appendix N, page 434
- Physics for Scientists and Engineers – with Modern Physics (6th Edition), P. A. Tipler, G. Mosca, Freeman, 2008, ISBN 0-7167-8964-7
- Thermodynamics, From Concepts to Applications (2nd Edition), A. Shavit, C. Gutfinger, CRC Press (Taylor and Francis Group, USA), 2009, ISBN 978-1-4200-7368-3
- Chemical Thermodynamics, D.J.G. Ives, University Chemistry, Macdonald Technical and Scientific, 1971, ISBN 0-356-03736-3
- Elements of Statistical Thermodynamics (2nd Edition), L.K. Nash, Principles of Chemistry, Addison-Wesley, 1974, ISBN 0-201-05229-6
- Ward, CA & Fang, G 1999, 'Expression for predicting liquid evaporation flux: Statistical rate theory approach', Physical Review E, vol. 59, no. 1, pp. 429–40.
- Rahimi, P & Ward, CA 2005, 'Kinetics of Evaporation: Statistical Rate Theory Approach', International Journal of Thermodynamics, vol. 8, no. 9, pp. 1–14.