# Statistical Thermodynamics and Rate Theories/Boltzmann Distribution

## Developing the Canonical Ensemble

editThe first step is to develop a model of how the energy is distributed; the model which will be used is a canonical ensemble which is a system at constant number of particles, volume and temperature. A canonical ensemble can be created by first taking a microcanonical ensemble of a large number of systems, , all at the same number of particles, volume and energy. The entire microcanonical ensemble is then immersed into a heat bath. The systems are then allowed to exchange energy with the heat bath until all the systems come to a thermal equilibrium. The microcanonical ensemble is the removed from the heat bath such that the systems can only exchange energy with the other systems around it. The systems will now have a distribution of all possible total energies. These energy states can then be numbered in increasing energy (i.e., lowest energy is ). Since each of these energy states can have any number of systems with that energy, then the number of systems with total energy can be defined as the occupation of the state with variable . The entire ensemble can then be defined as the occupancies of the energy states, where the total number of systems, , is:

and the total energy of the entire ensemble, or energy level, , is:

## The Weight of a Configuration

editThe occupancy of any of these energy levels depends on how many possible ways the total energy of the ensemble can be distributed amongst the systems or can be described by the occupancies of the energy states. Some of these configurations of the occupancies are mathematically more likely than others.

The weight of a configuration, or the number of ways to distribute the energy of the ensemble, is important. By combinatorial mathematics the weight of a system with occupancies in an ensemble containing systems is:

## System Weighting

editConsider an ensemble of systems divided into two states. The occupancy of the first state is N and therefore the occupancy of the second state is A-N. The weight of this configuration as a function of N is:

It can be shown that as increases the most probable distribution (N= /2) becomes much more heavily weighted than any other configuration.

## The Most Probable Distribution

editTo describe a canonical ensemble, only the most probable set of occupancies need to be determined, denoted as **a***. For a very large , the configuration with the largest weight will be much more heavily weighted than the other configurations. Therefore, this set of occupancies will be the most probable, and any configuration with a significantly large weight will be close to **a***.

However, for any given ensemble, not all occupancies are possible. This is due to the imposition of constraints upon the occupancies by the specific ensemble. In a canonical ensemble there are two constraints which were previously used to define a canonical system:

- The sum over all energy levels has to add up to the total energy of the ensemble, denoted as :
- The sum of all of the occupancies must be equal to : Therefore, given these two constraints, we must find
**a***that agrees with the above imposed constraints of the canonical ensemble.

## Calculating the Most Probable Occupancy

editTo calculate the most probable occupancy, we must calculate the occupancies that would give the maximum weight. Lagrange multipliers are used to maximize this function.

## Mathematical Manipulation of W

editIt was previously given that However, this equation is difficult to manipulate. But, for a positive function, the maximum occurs at the same location as it does in the natural logarithm of the function. Since the maximum is what we’re really interested in finding, we can use to find the maximum, which makes the mathematics easier to manipulate. Therefore the equation becomes:

## Applying the Math to a Canonical Ensemble

editUsing the Lagrange multipliers as previously described, we can determine the most probable occupancy of the canonical system. When Lagrange multipliers are applied to the equation, following the aforementioned constraints, the new equation becomes:

Next, we must simplify each of the three terms in the equation and solve for the unknown constants $\alpha$ and $\beta$.

**Term 1**

Using Stirling’s Approximation:

**Term 2**

For , there will be one term of the sum where i = j, everything else is equal to zero. Therefore, this term becomes:

**Term 3**

Like term 2, for , there will be one term of the sum where i = j, everything else is equal to zero. Therefore, this term becomes:

Now that the three terms have been simplified, we can combine them into one equation to solve. This gives us:

Solving for gives:

## Determining and

editThe next step of the derivation is to determine the constants and .

We can use one of the constraints to determine .

Using this equation and the constraint, we can define the probability of a system in the ensemble as the occupation of state i divided by the total number of systems in the ensemble, which can be represented by the following equation.

Determining requires connecting it to classical thermodynamics. We can determine the average of a variable (<M>) over the states of a system by employing the equation

The average energy is

The average pressure is

Knowing these equations and combining two other equations we can come up with the following equation, which can be compared to a classical thermodynamic equation shown below.

In order to better compare the equations, we can perform a calculation such that the signs in front of and T are the same, giving the following equations:

Since multiplying through by a constant would not change the equations, we can determine that is only proportional to .

We can introduce as a proportionality constant to convert the proportionality to an equation as follows:

## The Boltzmann Distribution

editEarlier we determined the probability of a state within a system. Now that we know and , we can complete the equation to determine the Boltzmann Distribution.

## Example

editConsider a system with two singly-degenerate energy levels separated by J. Derive an equation for the probability of the system being in the ground state. Plot the probability of the system being in the ground state between temperatures 1 K and 1000 K.

is the Boltzmann constant in joules per Kelvin. The ground state has an energy level of zero ( ). Since the ground energy level is known and the difference between the ground energy level and the first high energy level is given (∆E = J), the high energy level can be determined using the following equation:

After using the actual values, the equation should look like this

The probability equation can then be simplified to the following:

After substituting the values determined into the equation, the probability equation should be the following:

Since the , the equation can be simplified to

Note: The probability does not have units.

This equation can be used to determine the probability of the system as the temperature changes in Kelvin.

The probability of the system, which starts from one, gradually decreases as the temperature increases. the reason why can be observed from the equation. Since the temperature is in the denominator, the probability should be smaller as the denominator increases. After about 300 k, the line pattern starts to have a slight decrease toward 0.5 of probability. In other words, the probability of Boltzmann distribution at this system becomes less probable as the temperature exceeds 1000 K.