Boltzmann Distribution
Copyright (c) RDMCHEM LLC 2020
Overview
Diatomic Molecule
In quantum mechanics the energies of atoms and molecules, whether they be electronic, vibrational, or rotational, are discrete or quantized. The Boltzmann distribution, developed by Ludwig Boltzmann, gives the probability of finding a quantum atom or molecule in a given energy state as a function of the temperature. In this lesson we will study the Boltzmann distribution for vibrational energies of the diatomic molecule hydrogen chloride.
Figure 1: Boltzmann distribution for the vibrational energy states of hydrogen chloride at 8409 K.
The Boltzmann distribution is
PnT = ⅇ−Enk⋅T∑n=0∞ⅇ−E__nk⋅T
where Pn(T) is the probability of finding the atom or molecule in the nth quantum state, En is the energy of the quantum state, T is the temperature, and k is the Boltzmann constant. The denominator of the expression is just a normalization to make the sum of all probabilities Pn(T) equal one.
Vibrational Energies
In quantum mechanics the vibrational energies of a diatomic molecule can be approximated by a harmonic spring (oscillator) potential
En=h⋅ν⋅n+12
where n is an integer quantum number ranging from 0 to ∞, ν is the frequency of the spring and h is Planck's constant.
The lowest vibrational energy can be computed with the Quantum Chemistry package. Let us set the Digits to 15 and load the package
Digits ≔ 15:withQuantumChemistry;
AOLabels,ActiveSpaceCI,ActiveSpaceSCF,AtomicData,BondAngles,BondDistances,Charges,ChargesPlot,CorrelationEnergy,CoupledCluster,DensityFunctional,DensityPlot3D,Dipole,DipolePlot,Energy,ExcitationEnergies,ExcitationSpectra,ExcitationSpectraPlot,ExcitedStateEnergies,ExcitedStateSpins,FullCI,GeometryOptimization,HartreeFock,Interactive,Isotopes,MOCoefficients,MODiagram,MOEnergies,MOIntegrals,MOOccupations,MOOccupationsPlot,MOSymmetries,MP2,MolecularData,MolecularGeometry,NuclearEnergy,NuclearGradient,OscillatorStrengths,Parametric2RDM,PlotMolecule,Populations,RDM1,RDM2,RTM1,ReadXYZ,Restore,Save,SaveXYZ,SearchBasisSets,SearchFunctionals,SkeletalStructure,Thermodynamics,TransitionDipolePlot,TransitionDipoles,TransitionOrbitalPlot,TransitionOrbitals,Variational2RDM,VibrationalModeAnimation,VibrationalModes,Video
Define the molecule hydrogen chloride at its equilibrium geometry
mol ≔ H,0,0,0,Cl,1.313,0,0;
mol≔H,0,0,0,Cl,1.31300000,0,0
We can compute the lowest vibrational mode in cm-1 with the command VibrationalModes (may take a minute)
modes,vecs ≔ VibrationalModesmol,'HartreeFock', differences=first:mode ≔ modes1⋅UnitsUnit'1cm';
mode≔3374.82528900⁢1cm
The vibration of hydrogen chloride in its ground vibrational state can be animated with the command VibrationalModeAnimation. After executing the command, click on the plot and click play to see one vibration (note when you click on the plot, a plot menu appears; by changing with the menu icon to the left of fps, you can make the vibrations run continuously until you press pause or stop!)
VibrationalModeAnimationmol,modes,vecs,1;
We can convert cm-1 (cycles per cm) to Hz (cycles per s) by multiplying by the speed of light c
cSI ≔ evalfScientificConstantsConstant'c',units;
cSI≔2.99792458⁢108⁢ms
nu ≔ mode⋅cSI;
ν≔1.01174717⁢1012⁢1cm⁢ms
or combining units with Maple
nu ≔ combinenu,units;
ν≔1.01174717⁢1014⁢1s
To obtain the vibrational energies, we need Planck's constant
hSI ≔ evalfScientificConstantsConstant'h',units;
hSI≔6.62607004⁢10−34⁢m2⁢kgs
Let us define the vibrational energies of hydrogen chloride as a function of the quantum number n
En ≔ hSI⋅nu⋅n+12;
E≔n↦hSI⋅ν⋅n+12
With the function we can compute the first 10 vibrational energy states in Joules
energies≔ seqcombineEn,units, n=0..9;
energies≔3.35195380⁢10−20⁢J,1.00558614⁢10−19⁢J,1.67597690⁢10−19⁢J,2.34636766⁢10−19⁢J,3.01675842⁢10−19⁢J,3.68714918⁢10−19⁢J,4.35753994⁢10−19⁢J,5.02793070⁢10−19⁢J,5.69832146⁢10−19⁢J,6.36871222⁢10−19⁢J
(a) What is the frequency of the hydrogen chloride bond in Hz? (b) What are the energies of the three lowest vibrational energies?
In the next section we will use the Boltzmann distribution to determine the probability of a hydrogen chloride molecule being in a given vibrational energy state.
To evaluate the Boltzmann distribution, we need he Boltzmann constant k
kSI ≔ evalfScientificConstantsConstant'k',units;
kSI≔1.38064851⁢10−23⁢m2⁢kgs2⁢K
Let us define a Maple procedure to evaluate the Boltzmann distribution for an input list of energies
P ≔ procenergies,T local norm,e; norm ≔ addexpcombine−ekSI⋅T,units,e in energies; seqexpcombine−ekSI⋅T,unitsnorm,e in energies; end;
P≔procenergies,Tlocalnorm,e;norm ≔ add⁡exp⁡combine⁡−e/k[SI]*T,units,einenergies;seq⁡exp⁡combine⁡−e/k[SI]*T,units/norm,einenergiesend proc
For T = 298 K what are the probabilities for the molecule being in each of the vibrational energy states?
probabilities ≔ Penergies,298⋅UnitsUnit'K';
probabilities≔0.99999992,8.38669326⁢10−8,7.03366298⁢10−15,5.89891789⁢10−22,4.94724191⁢10−29,4.14910039⁢10−36,3.47972352⁢10−43,2.91833763⁢10−50,2.44752046⁢10−57,2.05266050⁢10−64
(c) What is the probability of a hydrogen chloride molecule being in its lowest (n = 0) vibrational energy state at 298 K?
We can plot the probabilities in a bar graph as a function of temperature. Using the slide rule, change the temperature to explore how the Boltzmann distribution changes with increasing temperature.
Explore Statistics:-ColumnGraphPenergies,T⋅Units:-Unit'K', labels='n','Pn', font=Times,Roman,16, labelfont=Times,Roman,16, color = blue, T=200..10000, orientation=vertical, placement=right;
T
(d) Using the interactive plot, estimate the probability of a hydrogen chloride molecule being in its lowest (n = 0) vibrational energy state at approximately 5000 K? (e) Using the interactive plot, estimate the probability of a hydrogen chloride molecule being in its first excited (n = 1) vibrational energy state at approximately 5000 K? (f) In a gas of 1000 hydrogen chloride molecules, approximately how many would you expect to be in the second excited (n = 2) vibrational energy state at about 5000 K?
Download Help Document