Hover over the menu bar to pick a physics animation.
Here we will show how entropy of a monoatomic gas is computed. Then we will give entropy results for various position, energy, and momentum distributions.
First we should discuss why entropy is important. This is most obvious in the availability of energy for chemical reactions or other work which is the object of the quantity Gibbs free energy. The Gibbs free energy equation is
`G(p,T)=U+pV-TS`
where `p` is pressure, `T` is Kelvin temperature, `V` is container volume, `U` is internal energy , and `S` is entropy. Note that the available energy is less if the entropy is larger. Entropy can be lower for certain configurations of particle positions and particle momentum. For example, if inside a container, the particles are bunched, the entropy will be lower than if particles are randomly distributed and then the available work that these bunched particles can provide will be greater. Similarly for particle momentum but there the momentum magnitude and the direction, or both, can be bunched.Since these are quantum particles, their momentum is quantized. The quantization is with respect to the volume in which they are contained. For simplicity we will let this volume be a cube of side `L`. Then, since the wave has to have nodes at the inner walls, the largest quantum wavelength of this container is `lambda_0=L/2`. Since `lambda=h/p` we can set the smallest value of `p` to be `p_1=h/lambda_1=(2h)/L`. So the smallest value of momentum magnitude is `p_1` and any other `bbvecp` vector components must be integer multiples of `p_0` as shown here where `n_x, n_y and n_z` are integers.
`p_n=p_0sqrt(n_x^2+n_y^2+n_z^2)=np_0`
and where`n=sqrt(n_x^2+n_y^2+n_z^2)`
The mean value of energy, `barE`, of a 3D monoatomic gas is`barE`= `3k_BT`
If the gas has a temperature, then its particle positions will be randomly distributed inside its container. We can then set the largest value of `p_0n` such that`p_0n=sqrt(2mbarE)=sqrt(6mk_BT)`
where `k_B` is Boltzmann's constant and T is Kelvin temperature. Then we can evaluate `2nh/L` in terms of the temperature:`2nh/L=sqrt(6mk_BT)`
Solving for `n` we get:`n=L/(2h)sqrt(6mk_BT)`
Then the total number of microstates would be:`N_s=4/3pin^3=4/3pi(L/(2h))^3(6mk_BT)^(3/2)`
Note that all momentum directions are equally likely. Actually, this way of determining the number of momentum states is over-simplified. We first need to compute the probability of occupation of the states which depends on their energy and the value of `k_BT`.`p_1=h/lambda_1=h/(2L)`
Then for the `nth` state we have:`p_n=(nh)/lambda_1=nh/(2L)`
Each state, `p_n`, has the thermal probability of being occupied:`P(n)=exp[-(p_n^2)/(2mk_BT)]`
so that the sum over n, `n_i`, for each degree, `i=(x,y,z)`, of freedom, of these probable states is`n_i=sum_(n=0)^(n=oo)exp[-((h^2n^2)/((4L^2)(2mk_BT))]`
This can be changed to an integral`n_i=int_(n=0)^(n=oo)exp[-((h^2n^2)/((4L^2)(2mk_BT)))]dn`
The integral of the gaussian, `exp(-bn^2)`, has the following solution`int_(n=0)^(n=oo)exp(-bn^2)dn=1/2sqrt(pi/b)`
Then our value for n_i is`n_i=1/2sqrt[(8piL^2mk_BT)/h^2]=Lsqrt[(2pimk_BT)/h^2]`
The total number of occupied three dimensional states, `Z`, is the cube of `n_i`.`Z=n_i^3=L^3[(2pimk_BT)/h^2]^(3/2)`
The entropy equation is:
`S = k_BNln(Z) + k_BNT(∂ln(Z))/(∂T)-k_Bln(N!)`
where `N` is the number of monoatomic atoms. Dividing both sides by `k_BN` we have:`S/(k_BN) = ln(Z) + T(∂ln(Z))/(∂T)-ln(N!)/N`
Stirling's approximation for `N!` is: `ln(N!)=Nln(N)-N``S/(k_BN) = ln(Z) + T(∂ln(Z))/(∂T)-ln(N)+1`
Now we must compute `T(∂ln(Z))/(∂T)` Note that for any function f(x):`d/(dx)(logf(x)) =1/(f(x))(df)/dx`
Recalling the form of the partition function, `Z`, we have:`Z=L^3[(2pimk_BT)/h^2]^(3/2)`
Then:`Tdel/(delT)logZ(T) =T/(Z(T))(delZ)/(delT)`
`T/Z(delZ)/(delT)=3/2L^3[(2pimk_BT)/h^2]^(3/2)/[L^3[(2pimk_BT)/h^2]^(3/2)]`
Then note that the denominator is the same as the numerator so:`ln[T/Z(delZ)/(delT)]=3/2`
Returning to the second form of the entropy equation we have:`S/(k_BN) = ln(Z) + T(∂ln(Z))/(∂T)-ln(N)+1`
`S/(k_BN) = ln(Z) + 3/2-ln(N)+1`
`S/(k_BN) = ln(Z/N) + 5/2=ln[[L^3/N[(2pimk_BT)/h^2]^(3/2)]+5/2`
And this is the Sackur-Tetrode equation which is the entropy of a monoatomic gas at Kelvin, `T`, confined in a volume `L^3`.Since the momentum squared is equal to `2mE` then the filled states will be at radius `|p|=sqrt(2mE)` on the momentum sphere. The value of `np_1` at this radius is then `np_1=sqrt(2mE)` so `n=sqrt(2mE)/p_1`. Then the total number of occupiable states is
`Z=4pin^2=4pi(2mE)/p_1^2=16piL^2(2mE)/h^2`
Then using the entropy equation we have:`S/(k_BN) = ln(Z) + E(∂ln(Z))/(∂E)-ln(N)+1`
`E(∂ln(Z))/(∂E)=1`
So that`S/(k_BN) = ln[16piL^2/N(2mE)/h^2] +2`
This means that there is only one momentum state available for this system. The energy, `E`, of this state is
`sqrt(2mE)=|p|`
`E=|p|^2/(2m)`
`S/(k_BN) = ln(Z) + E(∂ln(Z))/(∂E)-ln(N)+1`
Since Z is not a function of `E` we have:`E(∂ln(Z))/(∂E)=0`
`S/(k_BN) = ln(1/N) +1`
which is negative if `N">"e`.This will show the effect on entropy of changing volume. Initially there is a partition at `x=L`. The partition can be removed quickly or a small hole in it can be opened up. So the volume occupied by the the gas increases from `V=L^3` to `V=2L^3`. We will use the standard way of computing the available number of states for each of the `[p_x,p_y,p_z]` coordinates. For the larger volume, maximum wavelength in the x direction is `lambda_(x1)=4L` and for the `[y,z]` directions `[lambda_(y1),lambda_(z1]=2L` For each of the dimensions the smallest momentum is
`[p_(x1),p_(y1),p_(z1)]=h[1/lambda_(x1),1/lambda_(y1),1/lambda_(1)]`
Using the same methods as before to calculate `[n_x,n_y,n_z]` we conclude that`[n_x,n_y,n_z]=[lambda_(x1),lambda_(y1),lambda_(z1)]sqrt[(2pimk_BT)/h^2]]`
`n_x=int_(n=0)^(n=oo)exp[-((h^2n^2)/((16L^2)(2mk_BT)))]dn`
`n_y=int_(n=0)^(n=oo)exp[-((h^2n^2)/((4L^2)(2mk_BT)))]dn`
The integral of the gaussian, `exp(-bn^2)`, has the following solution`int_(n=0)^(n=oo)exp(-bn^2)dn=1/2sqrt(pi/b)`
Then our values for `[n_x,n_y,n_z]` are:
`n_x=1/2sqrt[(16piL^2mk_BT)/h^2]=2Lsqrt[(2pimk_BT)/h^2]`
`n_y=n_z=1/2sqrt[(8piL^2mk_BT)/h^2]=Lsqrt[(2pimk_BT)/h^2]`
`Z=n_xn_yn_z=2L^3[(2pimk_BT)/h^2]^(3/2)`
So the value Z is twice as large as before. The the entropy is
`S/(k_BN)=ln(Z/N)+5/2=ln{2L^3/N[(2pimk_BT)/h^2]^(3/2)}+5/2`
=ln(2)+ln{L^3/N[(2pimk_BT)/h^2]^(3/2)}+5/2
`S_(2V)/(k_BN)=S_(1V)/(k_BN)+ln(2)`
The entropy is always going to be proportional to the product `k_BN` where `N` is the number of particles. Other than that the entropy depends logarithmically on the Kelvin temperature and the volume accessible by the particles. As we discussed, the entropy can be made smaller if the particle energy or momentum are initially restricted to ranges that are less than those due to temperature.
We have considered only the entropy of a monoatomic gas here. Entropy of a polyatomic gas will be larger because of rotation and vibration of the nucleii. Also if we were to add periodic potentials that restrict the movement of the masses of the particles (bunching), then we would expect to see a further reduction of entropy since all particles then have limited accessible volume and limited momentum.
First, only entropy change due to volume, pressure, internal energy, or temperature change can be computed. The most important aspect of entropy change is how much energy can be extracted due something like a volume change. Then, if only entropy changes, we can compute that change using the Gibbs Free Energy equation.