Probability density function


Cumulative distribution function


Parameters  

Support  
CDF  where erf is the error function 
Mean  
Mode  
Variance  
Skewness  
Ex. kurtosis  
Entropy 
In statistics the Maxwell–Boltzmann distribution is a particular probability distribution named after James Clerk Maxwell and Ludwig Boltzmann. It was first defined and used in physics (in particular in statistical mechanics) 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. Particle in this context refers to gaseous particles (atoms or molecules), and the system of particles is assumed to have reached thermodynamic equilibrium.^{[1]} While the distribution was first derived by Maxwell in 1860 on heuristic grounds,^{[2]} Boltzmann later carried out significant investigations into the physical origins of this distribution.
A particle speed probability distribution indicates which speeds are more likely: a particle will have a speed selected randomly from the distribution, and is more likely to be within one range of speeds than another. The distribution depends on the temperature of the system and the mass of the particle.^{[3]} The Maxwell–Boltzmann distribution 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. Thus, it forms the basis of the Kinetic theory of gases, which provides a simplified explanation of many fundamental gaseous properties, including pressure and diffusion.^{[4]}
The Maxwell–Boltzmann distribution is the function^{[5]}
where is the particle mass and is the product of Boltzmann's constant and thermodynamic temperature. An interesting point to be noted is that the MaxwellBoltzmann distribution will not vary with the value of m/T i.e the ratio of mass of the molecule to its absolute temperature. mathematically (Derivative of f(v)/derivative of (m/T))=0. This probability density function gives the probability, per unit speed, of finding the particle with a speed near . This equation is simply the Maxwell distribution (given in the infobox) with distribution parameter . In probability theory the Maxwell–Boltzmann distribution is a chi distribution with three degrees of freedom and scale parameter .
The simplest ordinary differential equation satisfied by the distribution is:
or in unitless presentation:
Note that a distribution (function) is not the same as the probability. The distribution (function) stands for an average number, as in all three kinds of statistics (Maxwell–Boltzmann, Bose–Einstein, Fermi–Dirac). With the Darwin–Fowler method of mean values the Maxwell–Boltzmann distribution is obtained as an exact result.
The mean speed, most probable speed (mode), and rootmeansquare can be obtained from properties of the Maxwell distribution.
which yields:
where R is the gas constant and M = N_{A} m is the molar mass of the substance.
For diatomic nitrogen (N_{2}, the primary component of air) at room temperature (300 K), this gives m/sThe typical speeds are related as follows:
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.^{[2]}^{[6]} After Maxwell, Ludwig Boltzmann in 1872^{[7]} also derived the distribution on mechanical grounds and argued that gases should over time tend toward this distribution, due to collisions (see Htheorem). He later (1877)^{[8]} 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 singleparticle microstate, under certain assumptions:^{[1]}^{[9]}


(1) 
where:
The assumptions of this equation are that the particles do not interact, and that they are classical; this means that each particle's state can be considered independently from the other particles' states. Additionally, the particles are assumed to be in thermal equilibrium. The denominator in Equation (1) is simply a normalizing factor so that the N_{i}/N add up to 1 — in other words it is a kind of partition function (for the singleparticle 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.
The potential energy is taken to be zero, so that all energy is in the form of kinetic energy. The relationship between kinetic energy and momentum for massive nonrelativistic particles is


(2) 
where p^{2} is the square of the momentum vector p = [p_{x}, p_{y}, p_{z}]. We may therefore rewrite Equation (1) as:


(3) 
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 N_{i}/N is proportional to the probability density function f_{p} for finding a molecule with these values of momentum components, so:


(4) 
The normalizing constant c, can be determined by recognizing that the probability of a molecule having some momentum must be 1. Therefore the integral of equation (4) over all p_{x}, p_{y}, and p_{z} must be 1.
It can be shown that:


(5) 
Substituting Equation (5) into Equation (4) gives:
(6) 
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 Htheorem at equilibrium within the Kinetic theory of gases framework.
The energy distribution is found imposing


(7) 
where is the infinitesimal phasespace volume of momenta corresponding to the energy interval . Making use of the spherical symmetry of the energymomentum dispersion relation , this can be expressed in terms of as


(8) 
Using then (8) in (7), and expressing everything in terms of the energy , we get
and finally
(9) 
Since the energy is proportional to the sum of the squares of the three normally distributed momentum components, this distribution is a gamma distribution; in particular, it is a chisquared distribution with three degrees of freedom.
By the equipartition theorem, this energy is evenly distributed among all three degrees of freedom, so that the energy per degree of freedom is distributed as a chisquared distribution with one degree of freedom:^{[10]}
where is the energy per 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 chisquared distribution with one degree of freedom, and the total energy will be distributed according to a chisquared distribution with five degrees of freedom. This has implications in the theory of the specific heat of a gas.
The Maxwell–Boltzmann distribution can also be obtained by considering the gas to be a type of quantum gas for which the approximation ε >> k T may be made.
Recognizing that the velocity probability density f_{v} 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 [dv_{x}, dv_{y}, dv_{z}] about velocity v = [v_{x}, v_{y}, v_{z}] 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 [v_{x}, v_{y}, v_{z}] is the product of the distributions for each of the three directions:
where the distribution for a single direction is
Each component of the velocity vector has a normal distribution with mean and standard deviation , so the vector has a 3dimensional normal distribution, a particular kind of multivariate normal distribution, with mean and standard deviation .
The Maxwell–Boltzmann distribution for the speed follows immediately from the distribution of the velocity vector, above. Note that the speed is
and the volume element in spherical coordinates
where and are the "course" (azimuth of the velocity vector) and "path angle" (elevation angle of the velocity vector). Integration of the normal probability density function of the velocity, above, over the course (from 0 to ) and path angle (from 0 to ), with substitution of the speed for the sum of the squares of the vector components, yields the speed distribution.