At constant temperature nature does not seek the lowest energy or the greatest entropy but a compromise. Stretch a rubber band, fold a chain, balance a reaction and pull on a molecule too fast
Leave a system in contact with a warm world and it does not roll to its lowest energy, nor spread to its greatest entropy. It settles where energy minus temperature times entropy is least.
That combination is the free energy, and it is also the most work you can get.
Heat the loaded chains and watch them shorten, then drag their ends and feel them pull. In the other tabs, count the shapes, melt a hairpin, and see where F comes from.
Links of 1 nm, jointed freely, in a flat world, moved by Metropolis steps of Boltzmann’s distribution; they pass through one another, as rubber’s chains cannot. Each length is an average over 15 chains and over time, with its standard error. The hand gives a little, so the ends sit just short of the bar. For holding, the formula includes the first correction for a chain of only 40 links.
Take any system that can trade energy with surroundings so large that their temperature T never changes. If the system ends with energy U, the surroundings have U less, and so U/T less entropy. The entropy of everything is therefore a constant plus
S − U/T = −F/T, F = U − TS
and to make the total entropy as great as possible is to make F as small as possible. Nothing has been added to the second law. F is a piece of book-keeping that lets you watch the system and forget its surroundings. Hermann von Helmholtz named it free energy in 1882, because of a second use. If the system passes from one state to another while it stays in touch with surroundings at T, its energy changes by ΔU but at least −TΔS of heat must go to the surroundings, and what is left, −ΔF, is the most that can come out as work. At constant pressure the surroundings also change volume, some of the work goes into pushing the atmosphere, and the useful part is the fall in Josiah Willard Gibbs’ G = H − TS, with H = U + pV. Each has its own natural variables: dF = −S dT − p dV and dG = −S dT + V dp, so the slopes of F against volume and temperature are −p and −S.
A chain of N loose links of length b has no energy to speak of, and F = −TS. Under a pull f each link is a little compass needle with Boltzmann weight efb cos θ/kT, so the average length is
⟨x⟩ = Nb (coth u − 1/u) in space, Nb I1(u)/I0(u) in the plane, u = fb/kT
(I0 and I1 are Bessel functions). For a gentle pull both are straight lines, like a spring of stiffness 3kT/Nb2 or 2kT/Nb2: a spring that gets stiffer when hot. It is the force that the slope of the entropy makes, f = −T dS/dx. John Gough noticed in 1805 that a strip of rubber warms when it is suddenly stretched and that a loaded one shortens when heated, and James Joule measured both in 1859. They go together, as the chain shows: stretched, it has given up entropy, and if no heat may leave, that entropy must turn up as warmth. Touch a rubber band to your lip and pull it.
Energy wins when it is cold and entropy when it is warm because T is the rate at which entropy is priced in energy. A hairpin melts where the two are equal, at T = ΔE/ΔS. Crowding has no energies at all. What looks like an attraction between big discs is the pressure of the small ones, missing from the side where they do not fit. See also: The Boltzmann Distribution and the crowd in Counting Arrangements.
Start a reaction from either end and watch it come to the same mixture; then squeeze it, heat it, or add more. The other tabs do the same for particles, oxygen, salt water, living cells and batteries.
k = 1. The counts are run one reaction at a time with Gillespie’s exact method (1977), for molecules that are well mixed; where they are in the picture, and which ones react, is for show. F is −kT ln of the exact number of weighted arrangements for each mixture. The catalyst lowers the hill between by 1.3, for both directions alike.
Molecules of A become B at some rate each, and B become A at another. The numbers settle when as many go one way as the other, which is not when the rates per molecule are equal, and not when anything stops. Cato Guldberg and Peter Waage put this in 1864 as the law of mass action: at balance a fixed ratio of concentrations, whatever the start. Counting says what the ratio is. For A ⇌ B it is the ratio of the two Boltzmann sums, and for A + B ⇌ C
[C] / [A][B] = K, K = e−ΔG°/kT
with ΔG° counted per molecule at the standard concentrations. F of the whole mixture has its least value there: the energy of the product pulls one way, and the entropy of having some of everything, infinitely steep at both ends, forbids either pure state. A change with ΔG below zero (chemists say exergonic) can go of itself. How fast is another matter. A catalyst lowers the hill in between, for both directions by the same factor, and cannot move the balance; if it could, adding and removing it would drive an engine for nothing.
In 1884 Jacobus van ’t Hoff found how K varies with temperature, d ln K/d(1/T) = −ΔH°/R, so that heating favours the side that takes heat in, and Henry Le Chatelier stated the general rule that a system in balance shifts so as to oppose what is done to it. Squeezing favours the side with fewer molecules.
The free energy of adding one more particle is its chemical potential, μ. For an ideal gas it is kT ln(density) plus a constant, plus whatever energy the place itself costs. Particles move from high μ to low, just as heat flows from high T to low. That the oxygen in the lungs, in the blood and on the protein have one μ gives the binding curve (Irving Langmuir’s, for a single site). That the water on the two sides of a membrane has one μ gives osmotic pressure, nkT for n dissolved particles per volume. In a battery or a fuel cell the electrons are let down through a wire, n of them for each reaction, and −ΔG = nFV, where this F is Faraday’s constant, 96,485 coulombs per mole. Splitting ATP gives 30.5 kJ/mol under standard conditions and about 50 at the concentrations in a cell, and enzymes spend it by making one reaction out of two. See also: Random Motion and Temperature and the Second Law.
Drag the ring to pull a molecule open, slowly and then quickly, and compare the work. Then let the computer pull thousands, and find ΔF in the scatter.
At 25 °C, where kT is 4.12 pN nm. The springy molecule (0.02 pN/nm) and its trap (0.05 pN/nm) are perfect springs, and the bead has no inertia; one second of film is 3 of the bead’s relaxation times. The hairpin is either shut or open, 12 nm longer when open, in a trap of 0.3 pN/nm, and one second is 2 of the times it takes to hop when balanced. Work is the force times the distance the trap moves, added up.
Pull a small system from one state to another, always the same way, and the work W comes out different every time. The second law says only that the average is at least the change of free energy. The excess is heat, and it goes to zero as the pull gets slower, roughly as one over the time taken. In 1997 Christopher Jarzynski proved something sharper. However fast the pull, if each run begins at equilibrium,
⟨e−W/kT⟩ = e−ΔF/kT
The average of an exponential is never less than the exponential of the average (Jensen’s inequality), so ⟨W⟩ ≥ ΔF follows: the second law is what is left of the equality if you keep only the mean. It also says how often the law may seem to be broken. Runs with W below ΔF − ζ can be no more than a fraction e−ζ/kT of the whole, so a pull that beats the odds by 20 kT turns up less than once in 400 million, and one by a joule, never.
There is a catch. The exponential average is ruled by the rare cheap runs, the ones that look like the reverse process played backwards. When the waste is many kT you need exponentially many pulls before any of them appears, and until then the estimate is too high. Gavin Crooks gave the detailed statement in 1999. Compare the pull with its reverse:
Pout(W) / Pback(−W) = e(W − ΔF)/kT
Where the two histograms cross, W = ΔF. Multiplying across and adding up gives Jarzynski’s equality again. For a springy molecule the work is exactly Gaussian, and then the spread and the waste are tied together: variance = 2kT(⟨W⟩ − ΔF), one more case of fluctuation and dissipation being the same thing.
Jan Liphardt and colleagues tested Jarzynski’s equality in 2002 by unfolding a single molecule of RNA again and again with optical tweezers, slowly and quickly. Delphine Collin and colleagues confirmed Crooks’ relation in the same way in 2005. Free energies of folding are now measured so. See also: Maxwell’s Demon and The Arrow of Time.
Spot a mistake or have an idea?