B11 · Lesson 4 · Free energy, pressure and the thermodynamic identity
Energy against entropy, settled at fixed temperature
A system in contact with a reservoir doesn't simply minimize its energy, or the electrons in a semiconductor would all sit at the bottom of the valence band and crystals would have no defects. It doesn't simply maximize its entropy either. It minimizes a compromise, the Helmholtz free energy F = U − TS: energy costs, entropy pays, and temperature sets the exchange rate. That's why a silicon wafer at diffusion temperature holds a definite concentration of vacancies, why a stretched rubber band pulls back, and why every thermodynamic quantity can be read off one function, .
- A two-level system (splitting Δ) in contact with a reservoir. The curves show, in units of Δ, its average energy U, its free energy F, and TS = U − F, against temperature.
- At low T, F ≈ U ≈ 0: energy wins and the system sits in its ground state. At high T the entropy term takes over; S approaches k ln 2, the entropy of two equally likely states.
- F always lies below U, and its slope is −S: entropy is how fast the free energy falls with temperature.
Predict
A crystal can lower its energy by having no vacancies at all. Why does a real crystal at 1100 °C have some?
Placing n vacancies among N sites can be done ways, so the entropy gain from the first few is enormous while each costs a fixed energy . Minimizing gives . In silicon, with eV, that's about at 1100 °C, a few billion vacancies per cm³, and they're how dopants diffuse.
Name it
The thermodynamic identity
For a system whose energy depends on its entropy and volume,
which defines the pressure as . Other work terms join in the same way: for particles (lesson 16), for charge on a capacitor, for a stretched spring.
Helmholtz free energy
so
At fixed T and V, a system in contact with a reservoir settles where F is smallest. That's the second law again: minimizing F is the same as maximizing the combined entropy of system plus reservoir.
Entropic forces
When the energy doesn't change but the entropy does, the force comes from the entropy alone: . A chain of N freely jointed links of length a, stretched by x, has , so it pulls back with , stiffer when hotter. Rubber bands and DNA molecules behave this way; so does the pressure of an ideal gas, .
Independent parts
Since Z multiplies for independent parts, F adds. A two-level system has ; N of them, N times that.
Worked example
Find F and S for a two-level system with Δ = 50 meV at 300 K.
Show the solution
- Gap over kT.
- Free energy.
- Average energy.
- Entropy. , which in units of k is about half the high-temperature limit ln 2 = 0.693.
Answer F = −3.49 meV and S = 0.379k.
Worked example
A chain of 100 links, each 0.5 nm, is held stretched by 0.1 µm at 300 K. What force does it exert?
Show the solution
- Entropic spring force.
- What that scale means. That's the scale optical tweezers measure on single molecules, and it comes entirely from entropy.
Answer the chain pulls with about 17 pN.
Worked example
A quantum oscillator has ħω = 25 meV. At 300 K, find its free energy, its average energy (both above the zero point) and its entropy.
Show the solution
- Quantum over kT. kT = 25.85 meV, so
- Partition function. Above the zero point the levels are nħω, so
- Free energy.
- Average energy. This is an average of 0.613 quanta:
- Entropy. , or in units of k,
- Why F is negative. The free energy is negative even though every energy is positive: F counts the many states the oscillator can wander among, and at this temperature that entropy term wins.
Answer F = −12.37 meV, U = 15.34 meV and S = 1.07k.
Check
What's the free energy of a two-level system (states at 0 and 50 meV) at 100 K?
Write units the way you normally would: 1.5 meV, 1500 µeV and 0.0015 eV are the same answer.
Check
Same two-level system, 50 meV at 100 K: what's its entropy in units of k?
Check
Vacancies cost 3.6 eV each. What fraction of sites are vacant at 1100 K?
Check
A freely jointed chain of 50 links of 0.4 nm is stretched by 80 nm at 310 K. What force does it exert?
Write units the way you normally would: 1.5 pN and 0.0015 nN are the same answer.
Check
A gas has 1 × 10¹⁹ molecules per cm³ at 77 K. What's its pressure?
Write units the way you normally would: 1.5 Pa, 1500 mPa and 0.0015 kPa are the same answer.
Check
At fixed temperature and volume, a system in contact with a reservoir ends up where
Check
A system has one state at 0 and 2 states at 20 meV, at 300 K.
(a)
What's its free energy?
Write units the way you normally would: 1.5 meV, 1500 µeV and 0.0015 eV are the same answer.
(b)
What's its average energy?
(c)
What's its entropy, in units of k?
Check
N sites hold n vacancies, each costing E (eV). The free energy is .
Step 1
Setting dF/dn = E − kT ln((N − n)/n) = 0, what's n/(N − n)?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
So what fraction n/N of sites is vacant?
Explain why
Why does a system in contact with a reservoir minimize F = U − TS rather than its own energy?
The quantity that must be maximized is the total entropy of system plus reservoir. If the system gains energy U, the reservoir loses it and its entropy falls by U/T, while the system's own entropy is S. So the total entropy, apart from a constant, is , and maximizing it at fixed T means minimizing F. Low energy is favored because it leaves more entropy in the reservoir; high entropy in the system is favored too, and the temperature sets how much energy one unit of entropy is worth. At low temperature energy wins, and at high temperature entropy does.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.