• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Example: The one atom gas

Page history last edited by Bill Dorland 6 years, 2 months ago Saved with comment

Working Content > Thermodynamics and statistical physics

 

Prerequisites:

 

With all the abstract talk about "microstates" and "macrostates" it's hard to see how the idea that systems spontaneously tend to states that minimizes their free energy actually tells you what a system is going to do. A very nice example was given in the February 2016 issue of The Physics Teacher* -- a one atom gas. This highly simplified model allows you to see how the pieces of the free energy work with each other to give you a sensible result. Let's work it through as a sample problem. We start with a simple problem that does not need us to use free energy.

 

The Many-Atom Gas: Force Balance

 

A. Consider a system that consists of a gas of N particles and mass m in a sealed cylinder. Near the top of the cylinder is a piston of mass M, much heavier than an individual molecule. Above the piston is vacuum (so we don't have to bother always talking about "gauge-pressure", p - p0). If there were no gas in the cylinder, the piston would slide down to the bottom, but since the molecules of the gas are moving fast, they create pressure and hold the piston up. The cylinder sits on a large metal block that keeps the cylinder and everything in it at a fixed temperature, T ("heat sink"). 

 

When the system is at equilibrium, at what height, h, does the piston come to rest?

 

The force of gravity acts on the piston so it starts to slide down, but this compresses the gas in the part of the cylinder below increasing the pressure. When the pressure is high enough, it will exert an upward force that balances the piston's weight. Drawing a free body diagram for the piston, it feels a downward force of Mg from the earth pulling on it by gravity and an upward force pA from the gas pushing up on it. The piston will be able to remain at rest when these forces balance:

 

pA = Mg.

 

But we are asked for h. We have to rewrite our equation to show how the variables depend on h.

 

We can do this by using the ideal gas law to solve for the pressure that develops as a result of the volume being shrunk by the piston sliding down. The pressure is given by

 

pV = NkBT

 

Both N and T are fixed and given, and we know that V = Ah. Putting these into the ideal gas law we get

 

p(Ah) = NkBT

 

or

pA =  NkBT/h. 

 

Putting this into our force balance equation gives 

 

MgNkBT/h. 

 

Solving for h we get the equilibrium value of h:

h = NkBT/Mg.

Pretty straightforward.

 

The One-Atom Gas: Time averaging

 

The example of the gas didn't seem to show much about free energy or entropy. It's not even clear where it could have come in. But part of the issue is that when we consider a gas, we are mentally imaging (or should be) over many, many molecules hitting the piston very fast. We can't keep track of them so we mentally average, defining a stable quantity -- the pressure -- instead of thinking about the wildly fluctuating individual collisions of gas molecules with the piston that is holding it up.

 

To see the averaging explicitly -- and to rewrite what we are doing in terms of free energy, let's consider as the second part of our problem the simplest possible example: the one atom gas.

 

B. Now imagine a single atom in the cylinder below the piston. It is much, much lighter than the piston (m << M), but it is moving very, very fast. Because the piston is so massive, it doesn't respond quickly. The one atom hits it very often before it has a chance to fall much. So we will look at the average of the effect of the one molecule on the piston. Since the force fluctuates so wildly, it is easier to consider averages in terms of energies.

 

The average energy of the system is the PE of the piston, the average KE of the molecule, and the average PE of the molecule:

 

E = Mgh + mg<y> + <½mv2>

 

The average height of the molecule, <y>, is probably about 1/2 of h -- maybe a bit different since it's going faster below the middle and slower above it -- but since m << M, we're going to neglect that term.

 

Divide the height into B = h/L bins, where L is a small distance. Considering each small bin of height as a possible microstate, calculate the free energy of the piston + molecule system, F = E - TS. Find what value of h minimizes this free energy. (We use the Helmholtz free energy, F, rather than the Gibbs free energy, G, since we are considering the system as a function of volume instead of as a function of pressure.)

 

Let's start by calculating the entropy. We know Boltzmann's statistical definition of entropy: S = kBln W, where W is the number of microstates. How many microstates are there? We've divided our height into bins. The molecule can be in each bin in two ways: going up or going down. So there are 2B = 2h/L microstates. So our entropy is

S = kBln (2h/L).

 

What can we say about the average KE? Our KE is fluctuating wildly, but we know the temperature is constant, so its average must be fixed by that. Since there is only one direction, our analysis of Kinetic theory tells us that

 

<½mv2>=½kBT.

 

Putting these equations together, our free energy is

 

F = E - TS = Mgh + ½kBT - kBT ln (2h/L).

 

 

Now we are asked to minimize F as a function of h. Let's differentiate with respect to h and set the result to 0.

{We've used the chain rule to differentiate the logarithm, but you can make it easier (if you are willing to suppress the units) by using ln(a/b) = ln(a) - ln(b). With this, ln(2h/L) = ln(h) - ln(2/L). When we take the derivative, 

d(ln h)/dh = 1/h

 

and the second term, a constant independent of h, has derivative 0.}

 

We'll recognize this as the SAME result as we had from our pressure argument when we set N = 1. We can see here, however, how the tendency to reduce the free energy by making h smaller (in the first term) is compensated by the need to make the entropy larger (in the second term) by making h higher. The result seen from the energy side is a balance of the dependence on energy and entropy. Both the force and the energy analysis give the same result. 

 

 

* J. Prentis & M. Obsniuk, "Free energy in introductory physics," The Physics Teacher (2016) 91-95; doi: 10.1119/1.4940172

 

Joe Redish 2/8/16

Comments (0)

You don't have permission to comment on this page.