# Maxwell Boltzmann distribution for a classical ideal gas

Thermal Physics Series: lecture I — IV

4 lecture hours of concepts
( to be followed by 4 lectures hours of solved examples and numerical problems )

( All other thermal physics lectures ) Read other available lectures in thermal physics (currently only this one)

## “Maxwell Boltzmann distribution”

### “velocity of ideal gas molecules”

Lectures I — II

#### Assumptions

i. We assume a dilute gas which is enclosed by a thermally insulated container on all sides.

Maxwell Boltzmann Distribution: dilute gas in a thermally insulated container: dilute means concentration of gas molecules is low, insulated implies there is no reasonable flow of heat energy across the walls of the container. Photo Credit: mdashf.org

ii. Each molecule is assumed to be a hard sphere which moves randomly in all directions such that its velocity varies from $(\,-\infty \, \to \,+ \infty\,)$.

Maxwell Boltzmann Distribution: Hard sphere; remember a hard sphere is a classical analogy of a rigid sphere whose surfaces do not deform when an external object comes into contact. This essentially means the incoming object is scattered elastically that is without loss of kinetic energy, only momenta magnitude and directions are changed in accordance with the conservation of linear momentum. Photo Credit: mdashf.org

iii. When molecules collide they do not lose energy or time. They bounce off each other so that ‘energy‘ and ‘momenta‘ are conserved.

Maxwell Boltzmann Distribution: Ideal gas molecules; the collision of molecules have been assumed to be elastic scattering of hard sphere. The process occurs instantaneously without wasting molecules hard-pressed professional time. They just meet, talk no non-sense, exchange any energy or momenta and move on. As a consequence energy and momenta are conserved. Photo-Credit: mdashf.org

iv. We would like to obtain an expression for velocity distribution function. That is we would like to know the fraction of molecules having velocity between $\vec{v}\,\to\,\vec{v}+d\vec{v}$ for all possible values of velocity.

For this we assume an ensemble of molecules in equilibrium. The ratio of number of molecules in a velocity range to the total number of molecules N gives the probability of finding a molecule in that velocity range.

v. The “phase space” of the ensemble of molecules is defined by a 6 N dimensional space, which constitutes of 3 N spatial components and 3 N velocity components of the N molecules in equilibrium. For a more advanced concept of phase space check the following statistical mechanics lecture.

( Phase space , ensemble and Liouville’s theorem ) Read an advance discourse on phase space, in statistical systems.

vi. $f(u_x)\,du_x$ is the probability that a given molecule is found to have its x component of velocity in the range $u_x\,\to\,u_x+du_x$.

Maxwell Boltzmann Distribution Probability function: number of molecules with a specified value of velocity ( eg having x component of velocity in a given window of values ) corresponds to a probability function defined for the same. eg We can define 3 different probability functions fx, fy and fz for likelihood of finding a molecule exclusively for a given axis of velocity vector. Photo-Credit: mdashf.org

Similarly $f(u_y)\,du_y$ and $f(u_z)\,du_z$ give the probability that a molecule would have its y-component of velocity in the window of $u_y\,\to\,u_y+du_y$ and z-component of velocity in the window of $u_z\,\to\,u_z+du_z$ respectively.

vii. The x, y and z components of the velocities are considered to be independent of each other. The probability that a molecule will simultaneously have its x-component of velocity in the window $u_x\,\to\,u_x+du_x$, y-component of velocity in the window $u_y\,\to\,u_y+du_y$ and z-component of velocity in the window $u_z\,\to\,u_z+du_z$ is given by $f(u_x)\,f(u_y)\,f(u_z)\, du_x \, du_y \,du_z$.

Maxwell Boltzmann Distribution: A 3 dimensional probability function gives the likelihood of finding a molecule simultaneously with 3 exclusive values for the 3 components of velocities. Photo-Credit: mdashf.org

This follows from the law of probability of mutually exclusive events, happening all at once.

viii. The total number of molecules in the phase space is thus: $N=\int\limits_{-\infty}^{\infty}\,\int\limits_{-\infty}^{\infty}\,\int\limits_{-\infty}^{\infty} \,f(u_x) \,f(u_y) \, f(u_z) \, du_x \, du_y \,du_z$. If the velocity of a molecule is $\vec{u} = u_x\,\hat{i}\,+\,u_y\,\hat{j}\,+\,u_z\,\hat{k}$, so the magnitude is $u = |\vec{u}|=\sqrt{u_x^2+u_y^2+u_z^2}$ then $F(u)=f(u_x)\,f(u_y)\,f(u_z)\,$ is the joint probability density ( or distribution function ) for the molecule to be found with velocity $(u_x,\,u_y,\,u_z)$.

F(u) is a radial function, i.e. independent of angular variables defined by x, y, z components of the velocity vector $\vec{u}$ with x, y, z axes. This isotropic nature of velocity follows from the lack of a “favored direction” due to random motion of the molecules.

ix. From $f(u_x)\,f(u_y)\,f(u_z)\,=\,F(u)$ we can write $d[f(u_x)\,f(u_y)\,f(u_z)] \, =\,dF(u)$ or $[f'(u_x)\,du_x]f(u_y)f(u_z)+ [f'(u_y)\,du_y]f(u_x)f(u_z)+[f'(u_z)\,du_z]f(u_x)f(u_y)=0$. This is because $dF(u)=0$ since $F(u)$ does not change to first order, when $u_x,\,u_y,\,u_z$ make infinitesimal changes.

Note that the prime denotes differentiation wrt the argument of the function ( i.e. any variable inside the parenthesis dictating values to the function itself ).

x. Lets divide the previously obtained equation ( in ix. ) by the factor: $f(u_x) \, f(u_y) \,f(u_z)$. We obtain: $\frac{f'(u_x)}{f(u_x)}du_x\,+\,\frac{f'(u_y)}{f(u_y)}du_y\,+\,\frac{f'(u_z)}{f(u_z)} = 0$. We can write this concisely as a summation over a repeated index as is customary. We have ( you can quote this to your mother in law, she wouldn’t disagree );

$\sum\limits_{i=1}^{3}\frac{f'(u_i)}{f(u_i)}du_i= 0$.

xi. The magnitude of the measured velocity ( $\vec{u}$ ) must remain unchanged. Hence $d[u_x^2+u_y^2+u_z^2]=d[u^2]=0$  $2(du_x)u_x+2(du_y)u_y+2(du_z)u_z=0$  $u_x\,du_x\,+\,u_y \,du_y\, +\,u_z \,du_z=0$, again this can be written concisely ( and presented to difficult people to please them )

We have; $\sum\limits_{i=1}^{3}u_i\,du_i=0$.

We can multiple this by a Lagrange multiplier ( constant ) B and add to equation obtained in x.

xii. We obtain; $\sum\limits_{i=1}^{3}\Big[\frac{f'(u_i)}{f(u_i)}\,+\,B\,u_i\Big]\,du_i$

The infinitesimal changes in x, y and z components of velocities, i.e. $u_x,\,u_y,\,u_z$ are non-zero and independent of each other.

$\boxed{\frac{f'(u_i)}{f(u_i)}\,+\,B\,u_i=0\,\,\,for\,\,\,i=1,\,2,\,3,\,...}$.

B is a constant which needs to be determined from physical conditions on the system.

xiii. If we solve the differential equation in xii, we obtain $f(u_i)=C\,exp\,(-Bu_i^2)$ here C is a constant which also needs to be determined to get $f(u_i)$. We have after toiling through all the above exercises: $\boxed{F(u)=f(u_x)\,f(u_y)\,f(u_z)=C^3\exp\,[-B(u_x^2+u_y^2+u_z^2)]}$.

#### Evaluation of constants B and C

i. Constant C: Lets evaluate C in terms of B. This is achieved the by the “condition of normalization“. Since a particular gas molecule must be found somewhere in the container of volume V, the probability function F(u) integrated over all of phase space and over entire volume V must give V. $\int\,d^3r \,\int\limits_{-\infty}^{\infty}\,du_x\,\int\limits_{-\infty}^{\infty}\,du_y\,\int\limits_{-\infty}^{\infty}\,du_z\,f(u_x)\,f(u_y)\,f(u_z)=V$  $V\times \int\limits_{-\infty}^{\infty}\,du_x\, \int\limits_{-\infty}^{\infty} \,du_y\, \int\limits_{-\infty}^{\infty} \,du_z\,f(u_x)\,f(u_y)\,f(u_z)=V$  $\int\limits_{-\infty}^{\infty}\,du_x\,\int\limits_{-\infty}^{\infty} \,du_y\, \int\limits_{-\infty}^{\infty}\,du_z\,f(u_x)\,f(u_y) \,f(u_z)=1$ or $\boxed{\Bigg[C\,\int\limits_{-\infty}^{\infty}\,du_x\,\exp\,(-B\,u_x^2)\Bigg]^3=1}$. This gives $\boxed{C\,^3\,\Big(\frac{\pi}{B}\Big)^{\frac{3}{2}}=1\,\,\,\,or\,\,\,\, C=\Big(\frac{B}{\pi}\Big)^{\frac{1}{2}}}$. Usefulness of gamma function for evaluating integrals: This was achieved by using the results of integration by the method of gamma function, which will be linked when its available on the website. Its intended as a homework at the moment. Homework: show by the method of Γ function that we already discussed ( in the mathematical physics lectures, that will be available in the website in due time ) the following. $\boxed{\int\limits_{0}^{\infty}\,e^{-Bx^2}\,x^n\,dx=\frac{1}{2B^{\frac{(n+1)}{2}}}\Gamma\, \Big(\frac{n+1}{2}\Big)}$. This would mean $\int\limits_{0}^{\infty}\,e^{-Bx^2}dx=\frac{1}{2\sqrt{B}}\,\Gamma\,\Big(\frac{1}{2}\Big)= \frac{1}{2}\sqrt{\frac{\pi}{B}}$ and $\int\limits_{-\infty}^{\infty}\,e^{-Bx^2}dx=2 \int\limits_{0}^{\infty}\,e^{-Bx^2}dx= \sqrt{\frac{\pi}{B}}$.

ii. Constant B: We need to evaluate the root-mean-square velocity $\boxed{v_{rms} = \sqrt{\bar{v^2}}}$ in order for us to be able to obtain B. Lets do that. “We use here the idea of taking average of any quantity, which is a pretty basic concept and we will meet time and again, in many different areas of physics. Since we are doing it over the distribution of velocities of the molecules it is given by the following definition.” $\boxed{v_{rms}^2=\bar{v^2}=\langle v^2 \rangle =\frac{\int\limits_{0}^{\infty}\,v^2\,dN_v}{\int\limits_{0}^{\infty}\,dN_v} =\frac{\int\limits_{0}^{\infty}\,4\pi\,NC^3\,\exp\,(-Bv^2)\,v^2\cdot\,v^2\,dv}{\int\limits_{0}^{\infty}\,4\pi\,NC^3\,\exp\,(-Bv^2)\,v^2\,dv} =\frac{\int\limits_{0}^{\infty}\,v^4\exp\,(-Bv^2)\,dv}{\int\limits_{0}^{\infty}\,v^2\,\exp\,(-Bv^2)\,dv}}$. Gamma function: the two integrals are solved by the same Γ function method we used ( with the aid of the home work ) above. The result is: $\boxed{\langle v^2 \rangle = {\frac{1}{2B^{\frac{5}{2}}}\,\Gamma\,\Big(\,\frac{5}{2}\,\Big)}\times \bigg[{\frac{1}{2B^{\frac{3}{2}}}\,\Gamma\,\Big(\,\frac{3}{2}\,\Big)}\bigg]^{-1} =\frac{3}{2B}}$. Probability density and number denisty of molecules, in a particular velocity range: here we have used the following: $\boxed{f(u_x)=C\,\exp\,(-Bu_x^2),\,\,dNu_x = N\,C\,\exp\,(-Bu_x^2)\,du_x}$ the first expression is a probability density that we derived in xiii and the second one is its application, the absolute number of molecules in a window of velocity $u_x \to u_x\,+\,du_x$ obtained by multiplying this probability f(uxby the total number of molecules in our sample N. This is just for one dimension ( x here ) To find the number in the infinitesimal volume surrounding a given velocity value we simply multiply the corresponding expressions for each dimension, so; $\boxed{(dN_{u_x})(dN_{u_y})(dN_{u_z}) = d^3N_{u_x\,u_y\,u_z} = N\,C\,^3\,e^{-Bu^2} du_x \, du_y \,du_z}$. Note that the probabilities are multiplied first $f(u)=f(u_x)f(u_y)f(u_z)$ then the total number of molecules N is multiplied to the 3 dimensional probability density $f(u)$ only once, so we do not have N3 but N. Neither do we have a cubic power in the exponential function, for the same reason. We define the number density ( $\rho$ ) as the number of molecules in a unit velocity window surrounding the value of a given velocity $\vec{u}\equiv (u_x,\,u_y,\,u_z)$, it is given by $\rho= \frac{d^3N_{u_x\,u_y\,u_z}}{du_x \, du_y \,du_z}$. When we said unit we meant we needed to divide by any arbitrary value of window of velocity to make it unit, this arbitrary value of window of velocity here is the infinitesimal volume element with value: $du_x \, du_y \,du_z$.

Maxwell Boltzmann Distribution: Molecules in an infinitesimal box of volume dx-dy-dz obtained by multiplying probability density with total number of molecules. Photo-Credit: mdashf.org

( a ) Usefulness of spherical polar coordinate system: “In viii we noted that our gas sample is isotropic in nature, which means our velocity distribution probability function ( F ) is not dependent on velocity direction but only on its magnitude. This is due to the fact that the gas molecules have random motion.” Due to this reason it becomes quite less involved to work in the spherical polar coordinate system. At the moment we are not going to the nitty gritties of this system of coordinate, but rather use its basic results. If and when any helpful material from my other lectures is available it would be linked. We will use couple of diagrams which would help us visualize the variables we are using. Note that the images use the system in terms of position coordinates ( $r,\,\theta,\,\phi$ ) but we want to employ the system for velocity vector, so for our purpose it suffices to redefine r by u, the magnitude of the position vector by the magnitude of the velocity vector. Similarly ( $x,\,y,\,z$ ) must be redefined as ( $u_x,\,u_y,\,u_z$ ). The angles ( $\theta,\,\phi$ ) remain the same. Number of molecules in an infinitesimal volume: with the above in the spherical polar coordinate system the number of molecules in any volume is obtained by multiplying the volume with number density as defined above, so we have $\boxed{dN_u = d^3u_x\,u_y\,u_z=\int\limits_{0}^{2\pi} d\phi\, \int \limits_{0}^{\pi} d\theta\,NC\,^3\,\exp\,(-Bu^2)\,u^2\sin\theta\,du}$. Note that we did not do an integration performed over the magnitude of the velocity vector because we need to study the probability or distribution over this variable. So we have: $\boxed{dN_u =4\pi NC\,^3u^2\exp\,(-Bu^2) \,du }$. This is in-fact the result we have used in derivation of constant B above in ii. With all this exercise we got an expression for constant B in terms of the average of the square of  velocity magnitude over all possible values for our sample.

Maxwell Boltzmann Distribution: Spherical polar coordinates: azimuth angle ( φ ) zenith angle ( θ ) and vector magnitude variable (radial component, here v) where v, θ and φ are related to vx, vy and vz by: vx = v sin θ cos φvy = v sin θ sin φ and vz = v cos θ. We shall also note that functions that are spherically symmetric do not depend upon angular dimensions, in other words they are independent of θ and φ. Photo-Credit: mdashf.org

( b ) Usefulness of equipartition energy theorem: This is useful since we can relate the distribution ( of speed ) to the temperature of the gas sample by the profound result known as equipartition energy theorem which we will have opportunities to derive later in this series and in our statistical mechanics series. When they are available in other lectures of mine, I will link them here. ( We can also derive the same using the result that we will obtain soon, but thats a circular logic like a website back and forward button ). The equipartition energy theorem states that each degree of freedom of a kinetic system ( such as the one we are discussing with our hard sphere assumption and elastic scattering ) has on an average the kinetic energy per molecule given by: $\frac{1}{2}m\bar{u^2}=\frac{1}{2}k_BT$ where the kB is the Boltzmann constant. This helps us obtain a value of B in terms of absolute temperature T. $\frac{1}{2}m\bar{u^2}=\frac{1}{2}m\big(\frac{3}{2B}\big)=\frac{3}{2}k_BT$ $\boxed{B=\frac{m}{2k_BT}}$ and consequently $\boxed{C=\sqrt{\frac{B}{\pi}}=\sqrt{\frac{m}{2\pi k_BT}}}$. Finally we can write the Maxwell Boltzmann velocity distribution function. Note that the following expression gives the absolute number of molecules dNu in the volume element surrounding the value of a given velocity magnitude u. If one divides the total number of molecules N, one would get the probability in a velocity range du. Further dividing du one would get the probability density of finding the molecules at a given value of magnitude of velocity vector u, which would be the function of the same, the probability function f would be a function of u that is. Maxwell Boltzmann velocity distribution for an ideal gas: $\boxed{dN_u=4\pi N \bigg(\frac{m}{2\pi k_B T}\bigg)^\frac{3}{2}u^2\exp \,\Big[-\Big(\frac{mu^2}{2k_B T}\Big)\Big]du}$.

### “Maxwell Boltzmann distribution function for speed and energy, rms, average and most probable values for speed and energy”

Lectures III — IV

We derived a relation for distribution of molecular speed of an ideal gas which we called the Maxwell Boltzmann distribution. It is given as follows.

$dN_v=4\pi N \big(\frac{m}{2\pi k_B T}\big)^\frac{3}{2}v^2\exp\,\Big[-\Big( \frac{mv^2}{2k_B T} \Big) \Big]dv$

Here dNv is the number of molecules having speed within v → v + dv. Note that we have reverted back to a regular symbol v, for velocity. One should be comfortable doing that in physics. is the total number of molecules in the ensemble we considered. kis the Boltzmann constant whose value is given as k= 1.38×10-23 J/K. m is the mass of the molecule.

We call $f_v=\frac{dN_v}{dv}$ as the Maxwell Boltzmann distribution function. It is a probability density function ( often called in short pdf , not to confound with portable document format though) or distribution for finding the molecule in the speed range of v and v + dv.

Maxwell Boltzmann Distribution: The Maxwell Boltzmann probability density function shows likelihood of finding a molecule in a given velocity ( speed ) range. Photo-Credit: mdashf.org

#### Properties of Maxwell Boltzmann probability function

i. The shape of the function $f_v=\frac{dN_v}{dv}$ is an increasing quadratic function ( due to v2 ) and a decreasing exponential function.

ii. $f_v\times dv=dN_v=\frac{dN_v}{dv}\times dv$ is the area under the curve between velocities v and v + dv, shown as the shaded portion in the figure above. It gives the number of molecules within velocity v to v + dv.

iii. The total area under the curve is 1, as its a true probability distribution. This is same as the condition of normalization.

iv. The increasing quadratic function dominates for small values of velocity v. For larger velocities exponential function dominates and the curve begins to fall. The curve is asymmetric.

v. The probability fv is zero for two values of velocity, v = 0 and v = ∞. That means molecules can travel only at finite and non-zero speeds.

vi. The probability function fhas a peak. It corresponds to a velocity where maximum number of molecules are found. Consequently this value of the velocity for which there is a peak in the probability distribution is known as “most probable velocity” and denoted as vmp or vp.

vii. As T increases B decreases since B = m/2kBT. The curve becomes flatter, the peak is reduced and the curve shifts to right. This causes the molecules to become more energetic.

Maxwell Boltzmann Distribution: The behavior of Maxwell Boltzmann velocity distribution with increasing temperature. Photo Credit: mdashf.org

#### Mean, rms and most probable speed

a.Mean or average speed : As we have already seen the mean of variable for which a functional distribution exists can be given as follows. $\bar{v}=\langle v \rangle = v_{av}=\frac{\int\limits_{0}^{\infty}\,v\,dN_v}{\int\limits_{0}^{\infty}\,dN_v}=\frac{1}{N}\int\limits_{0}^{\infty}v\,dN_v$. $dN_v=4\pi N \big(\frac{m}{2\pi k_B T}\big)^\frac{3}{2}v^2\exp\,\Big[-\Big( \frac{mu^2}{2k_B T} \Big) \Big]dv$  $\bar{v}=\frac{1}{N}\times 4\pi N \big(\frac{m}{2\pi k_B T}\big)^\frac{3}{2}\int\limits_{0}^{\infty}\,v^3\exp\,\Big[-\Big( \frac{mu^2}{2k_B T} \Big) \Big]dv$. The integral is in terms of Γ function. We have already done this a few times. We will use the same formula as follows for n = 3. $\int\limits_{0}^{\infty}\,x^n\exp\,(-Bx^2)\,dx=\frac{1}{2B^{\frac{(n+1)}{2}}}\Gamma\, \Big(\frac{n+1}{2}\Big)$. So we have; $\int\limits_{0}^{\infty}\,v^3\exp\Big[-\Big( \frac{mu^2}{2k_B T} \Big) \Big]dv=\frac{1}{2\big( \frac{m}{2k_B T} \big)^2}\,\Gamma(2)$. We know that Γ( 2 ) = 1. With this we get the expression for the average value for the velocity of a group f molecules in a sample of container with ideal gas assumptions. $\bar{v}=4\pi \big(\frac{m}{2\pi k_B T}\big)^{\frac{3}{2}}\big[\big(\frac{m}{2k_B T}\big)^2\big]^{-1} =\sqrt{\frac{8k_B T}{\pi m}}$. This gives the final expression for the average speed. We obtain the average speed: $\boxed{\bar{v}=\sqrt{\frac{8k_B T}{\pi m}}=\sqrt{\frac{2.55 k_B T}{ m}}}$.

b. Root-mean-square or rms speed: RMS speed is defined as ( we have seen this above while evaluating our constants B and C ) $\boxed{v_{rms}=\sqrt{\bar{v^2}}}$ i.e. the square root of the mean of the speed-squared. We have already evaluated the integral for  $\bar{v^2}$ and we found $\bar{v^2}=\frac{3}{2B}$ where $B=\frac{m}{2k_B T}$. So $\bar{v^2}=\frac{3k_B T}{m}$. Thus we obtain for the rms speed: $\boxed{v_{rms}=\sqrt{\bar{v^2}}=\sqrt{\frac{3k_B T}{m}}}$.

c. Most probable speed: The most probable speed is the speed at which Maxwell’s probability function $f_v = \frac{dN_v}{dv}$ shows a peak. At this point first derivative of fv wrt v is zero and its second derivative is negative. $\frac{df_v}{dv}=4\pi N \Big(\frac{m}{2\pi k_B T}\Big)^\frac{3}{2}\frac{d}{dv}\Big(v^2\,e^{-\frac{mu^2}{2k_B T}}\Big)=0$ $const \times [2v\,\exp\,(-Bv^2)+v^2\,\exp\,(-Bv^2)\times \big(\frac{-2mv}{2k_B T}\big)]=0$. The value of v where the first derivative is zero is vp and $B = \frac{m}{2k_B T}$ so $2v_p\,\exp\,\Big(-\frac{mv_p^2}{2k_B T}\Big)+v_p^2\,\exp\,\Big(-\frac{mv_p^2}{2k_B T}\Big)\times \Big(\frac{-2mv_p}{2k_B T}\Big)=0$ $2v_p\,\exp\,\Big(-\frac{mv_p^2}{2k_B T}\Big)\Big(1-\frac{m}{2k_B T}v_p^2\Big)=0$. Since $v_p \neq 0$  $1-\big(\frac{m}{2k_B T}\big)v_p^2=0$ or $v_p^2 = \frac{2k_B T}{m}$. This give the most probable speed. Thus we obtain the most probable speed: $\boxed{v_p = \sqrt{\frac{2k_B T}{m}}}$. It can be easily shown that at v = vp; $\frac{d^2 f_v}{dv^2}=-4$. Thus fv has a peak or maxima indeed at the most probable speed value vp.

From the 3 expressions for the 3 kinds of speeds we see that: vrms > vav > vp.

Maxwell Boltzmann Distribution for velocity: There is a strict relationship among the most probable, rms and mean speed in a Maxwell Boltzmann distribution of velocities for a classical ideal gas. Photo Credit: mdashf.org

#### Maxwell Boltzmann distribution for energy

Maxwellian energy distribution. We studied in much detail the distribution of velocity of molecules in a classical ideal gas according to the Maxwell Boltzmann distribution. We can use the same to cast it into a form which depicts the energy behavior of the molecules. We had $dN_v=4\pi N \big(\frac{m}{2\pi k_B T}\big)^\frac{3}{2}v^2\exp\,\Big[-\Big( \frac{mu^2}{2k_B T} \Big) \Big]dv$. We would call the energy distribution function as the Maxwell Boltzmann energy distribution function ( or in short Maxwellian energy distribution ) and denote it as fE. For the ideal gas molecule of mass m, and speed v its kinetic energy is given by: E = 1/2 mv2. So that dE = mvdv or $dv = \frac{dE}{\sqrt{2mE}}$. Also $v^2 = \frac{2E}{m}$. The number of molecules found in the speed range to v + dv is also same as the number of molecules found in the energy range to E + dE. This is stated by the simple expression: dNE = dNv. From the expression for velocity distribution written above, we have: $dN_E=4\pi N \big(\frac{m}{2\pi k_B T}\big)^\frac{3}{2}\big(\frac{2E}{m}\big)\exp\, \big(-\frac{E}{k_B T}\big) \frac{dE}{\sqrt{2mE}}$. Simplifying $\boxed{dN_E=2N \Big(\frac{E}{\pi}\Big)^\frac{1}{2}\Big(\frac{1}{k_B T}\Big)^{\frac{3}{2}}\Big(\frac{2E}{m}\Big)\exp\, \Big(-\frac{E}{k_B T}\Big)dE}$. From this the energy distribution function is given by: $\boxed{f_E=\frac{dN_E}{dE}=2N \Big(\frac{E}{\pi}\Big)^\frac{1}{2}\Big(\frac{1}{k_B T}\Big)^{\frac{3}{2}}\Big(\frac{2E}{m}\Big)\exp\, \Big(-\frac{E}{k_B T}\Big)}$. At a given temperature energy distribution function fE is a product of square root of energy ( E ) and a decreasing or decaying exponential. A plot of fE vs E/kBT is shown. The peak in the distribution function ( fE ) suggests that there is a most probable energy ( Ep ) at which there is a likelihood of finding the highest number of molecules than at any other energy. Similarly we can find the mean or average energy of the distribution ( Eav= ).

The Maxwell Boltzmann Distribution for energy: probability vs energy ( at a fixed temperature ) for two different temperatures. Photo Credit: mdashf.org

Lets find these two values.

#### Mean and most probable energy

a. Mean or average energy of Maxwellian gas: Mean energy of a molecule in a Maxwellian gas is defined as: $\bar{E}=\frac{\int\limits_{0}^{\infty}EdN_E}{\int\limits_{0}^{\infty}dN_E}=\frac{1}{N}\int\limits_{0}^{\infty}dE\,E\times 2N\times \frac{\sqrt{E}}{\sqrt{\pi}}\big(\frac{1}{k_B T}\big)^{\frac{3}{2}}\,\exp\,\big(-\frac{E}{k_B T}\big)$. Simplifying this we get: $\bar{E}=2(\sqrt{\pi})^{-1}(\sqrt{k_B T})^{-1}\int\limits_{0}^{\infty}(\sqrt{E})^3\,\exp\,\big(-\frac{E}{k_B T}\big)dE$. If x = E/kBT then dx = (kBT)-1dE, then; $\bar{E}=2(\sqrt{\pi})^{-1}k_B T \int\limits_{0}^{\infty} (\sqrt{x})^3\,\exp\,(-x)dx=2(\sqrt{\pi})^{-1}k_B T \,\Gamma(\frac{5}{2})=2\frac{1}{\sqrt{\pi}}k_B T \times \frac{3\sqrt{\pi}}{4}$.
This leads us to obtain average energy: $\boxed{\bar{E}=\frac{3}{2}k_B T}$.

b. Most probable energy of Maxwellian gas: Most probable energy is that energy E= Ep for which $\frac{df_E}{dE}\Big|_{E=E_p}=0$ ( and $\frac{d^2f_E}{dE^2}\Big|_{E=E_p}<0$ ). So $\frac{d}{dE}\big[\sqrt{E}\exp\big(-\frac{E}{k_B T}\big)\big]\Big|_{E=E_p}=0$ or $\Big[\frac{1}{2\sqrt{E_p}}-\frac{\sqrt{E_p}}{k_B T}\Big]exp\,\Big(-\frac{E_p}{k_B T}\Big) =0$. Thus we obtain the most probable energy: $\boxed{E_p = \frac{k_B T}{2}}$.

i. Mean vs most probable energy
Mean energy of a Maxwellian gas ( $\bar{E}$ ) is 3 times the most probable energy ( $E_p$ ). i.e. $\bar{E}=3E_p$.
ii. Mean energy at a fixed temperature
At a given temperature mean energy is same for all gases, irrespective of their nature e.g. at room temperature ( T = 300 K ) $\bar{E}=6.21\times 10^{-21}\,J$ or $0.0388\,eV$.
iii. Momentum distribution function
The number of molecules with momentum within p to p + dp is given by $\boxed{dN_p=\frac{4\pi N}{(\sqrt{2\pi m k_B T})^3}\times \, \exp\,\Big(-\frac{p^2}{2mk_B T}\Big)p^2 dp}$.

This finishes our 4 lecture hours of concepts on Maxwell Boltzmann distribution function. This will be followed by 4 lecture hours of 13 solved examples and numerical. Its hoped this will come pretty soon.