CHM 5414 Lecture Notes
24 October 1996

Your browser must support super and subscripts to view this page!

Milking State Functions


Here are the Grand Tetons. Mountains are always used as the example of a state function, viz., altitude. It matters not from your final altitude's point of view if you climbed that central Grand Teton by starting at the left and tramping over Nez Perce then over Middle Teton arriving at last on top of Grand Teton or you climbed a leisurely trail of cutbacks up Grand Teton to start with. When you're on the top, you're on the top, and your altitude, having suffered ups and downs in the first instance and steady rises in the second, is still that of the top of Grand Teton. We milk this by calculating thermodynamic function changes along paths where they're easy rather than on the path the system actually takes; since both paths arrive at the same state, a state function will have the same value there however that state arose. Hence the difference in that function between the initial and final states is entirely independent of the path taken between them!

Having tramped around the Texas State Fair several times during its final weekend, I do have a preference in climbing Grand Teton. It is to descend gently from above in a balloon!

We've seen the microscopic sources of thermodynamic average energies; they come from averaging in each (total) quantum state energy weighted by its population, or

E =  Summation  etai epsilon i


Of course, when we think about that expression, it's clear that average energy will change if either the populations,  etai, change or the energy levels themselves,  epsilon i, change.

Our dealings with the Boltzmann expression,

 etai = (N/z) exp(- epsilon i / kT),

show us that for fixed  epsilon i , the populations will change with temperature, T. So to raise the average energy, we can heat the system up, E=q in classical thermo parlance.

While varying  epsilon i instead may seem outside our powers (tinkering with QM, are we?), but it's trivial; all we have to do is confine the system to a different size box, and the translational energy levels will all have to adjust themselves! If we compress the box, we're compressing the translational wavelengths, thereby reducing  lambda and increasing momentum, p=h/ lambda . The increased momentum means increased energy levels, and if the compression was done reversibly (we've not shocked the system into changing populations), the average energy goes up to reflect the work we've done on the system, E=won.

Work Reprise

If I'm too long between notes, I repeat myself!

Of course, if we expand the system, the translational wavelengths lengthen, decreasing momentem (and energy levels), and the average energy decreases by the work it has done on us, E=-wby, that is the work done by the system lowers E.

So this leads us (back) to thermo's fundamental equation,

E = qin + won = -qout - wby

...take your choice; mine's the first way.

Work comes in a multitude of flavors. We've just used "Pressure-Volume" work, but the definition of work (from freshman Physics) is the energy increase associated with moving a system through an opposing force,

won = f  Delta x

That expression assumes a constant force, like that of gravity near the Earth's surface. (Sure, gravitational force falls of as 1/R2 away from Earth's center, but we're imaging here altitude changes,  Delta x, which are trivial compared to REarth; so we treat gravitational force, mg, as being constant.) We raise an object's energy by increasing it's distance from Earth,

won = + mg  Delta x

and Nature can lower that energy by having the objects fall back. So gravity is a collapsing force.

The same is true for surface tension; liquids tend to curl up into beads to minimize their surface (when only one surface is involved). Raindrops are spheres in the absence of wind shear. We'll look into the causes of surface tension later in the semester, but you know from previous courses that the van der Waals attraction between liquid molecules works equally in all directions on a molecule in the bulk, but only on the bulk side of a surface molecule. So such a surface molecule has had its opposite side buddies ripped away (to form the surface), thus making a surface molecule a higher energy species than a bulk one! Nature "solves" this by adjusting geometries to minimize the number of surface molecules...hence surface tension, another collapsing force,  gamma.

However,  gamma is a force contracting area not length, so surface energy is a 2d analog of (the 1-d) gravitation, as in

won = +  gamma Delta A


where A is area.

Finally we can come all the way up to 3-d, in which we imagine volumes changing against opposing pressures. In this case, the force (pressure) is not collapsing but rather expanding in its influence. So pressure (force per unit area), opposes compression, unlike the two kinds of force we've just looked at. That means

won = - Pext  Delta V

Exploratorium in a bubble Actually the differences here can best be remembered by thinking of a soap bubble. Contracting surface tension is balanced by expanding internal pressure to keep the bubble from doing either! We could aid the forces of collapse by applying increased external pressure. We could aid the forces of expansion by decreasing the surface tension of the water film with chemical additives; of course we'd have to take care not to weaken it to the bursting point!

While the forces of gravity and surface tension might be nearly constant over modest changes (in altitude or area), pressure has a tendency to change according to the ideal gas equation! So, for example,

won = -  integral V1V2 Pext dV

If Pext is constant, won=-Pext(V2-V1) where V2 is chosen to satisfy the ideal gas as V2=nRT/Pext since that's where the expansion stops. Nothing is engraved in stone that Pext must be constant. Indeed an optimal choice of Pext is just slightly less than Pinternal, the gas's pressure at every point in the expansion. That ensures that the gas works as hard as possible during the expansion (in other words, we can extract the maximum work that way), but it has another very important consequence: the gas is virtually at equilibrium throughout the expansion. Such an expansion is called "reversible" since a trivial increase in the external pressure reverses it; more to the point, however, being at equilibrium, the system is subject to the minimum chaos of this gentle external force, and any heat transfers are qrev which means  Delta S can be calculated from qrev.

This best-of-all-possible expansions, if performed isothermally (in a constant T heat bath), gives rise to a reversible work calculable by substituting the ideal gas expression for the internal pressure, nRT/V, in place of Pext:
wby, rev, isothermal = nRT  integral V1V2 dV/V = nRT ln(V2/V1)

where we've lost the minus sign by speaking of work done by the system.

So we can squeeze the above work out of an optimally expanding ideal gas. The gas must lose energy right? Maybe not! Since it's isothermal, qrev flows in from the heat bath; so the gas's energy might even rise! Hmmm....which is it?

Well....we could start with the fundamental equation of thermodynamics:

dE = TdS - PdV and apply conditions of dV change at constant T as

dE/dV = T( Partial S/ Partial V)T - P


Which means we would love to know what ( Partial S/ Partial V)T means!

Fortunately, we have Maxwell's Relations (or the Cauchy-Riemann conditions) for state functions to help us. We're looking for one with SdT and PdV in it, and that sounds like:

dA = - SdT - PdV

from which we conclude
( Partial S/ Partial V)T = ( Partial P/ Partial T)V

which for an ideal gas is
( Partial S/ Partial V)T = ( Partial [nRT/V]/ Partial T)V = nR/V

too simple...there must be a catch...no that's it! And it renders (dE/dV)T trivial for the ideal gas, viz.:

dE/dV = T( Partial S/ Partial V)T - P = T[nR/V] - nRT/V = 0

for the isothermal expansion of the ideal gas. Thus, Eideal gas depends on T not V. (The same is true of Hideal gas.) That makes the isothermal heat transfer for reversible expansion easy; it's the same magnitude as the work done. And since it's reversible heat, we can obtain dS=qrev/T as well from that reversible work above. Try it; it gives (isothermal expansion):

dS = R ln(V2 / V1)

completely consistent with what a mixing of gases (by expansion into one another's space) would've given.

But, more to the point of the lecture, it doesn't matter whether the process was reversible or not! If the system comes to the same endpoint from the same starting point, dE, dS, and all of the others must be the same. Different works will be compensated for by different heat transfers, but isothermality (keeping the ideal gas at the same temperature) ensures dE=dH=0 and dS is as it would have been had the (same) final state been reached by a reversible expansion. Cool, huh?


Return to the CHM 5414 Lecture Notes or Go To Next or Previous Lectures.

Chris Parr University of Texas at Dallas Programs in Chemistry, Room BE3.506 P.O. Box 830688 M/S BE2.6 (for snailmail) Richardson, TX 75083-0688
Voice: (972) 883-2485 Fax: (972) 883-2925 BBS: (972) 883-2168 (HST) or -2932 (V.32bis) Internet: parr@utdallas.edu (Click on that address to send Dr. Parr e-mail.)

Last modified 13 October 1997.