2.4.5 · D4Thermodynamics & Statistical Mechanics (Advanced)

Exercises — Chemical potential μ = (∂G - ∂N)_{T,P}

3,183 words14 min readBack to topic

We use these constants throughout: (Boltzmann's constant, the energy-per-particle-per-kelvin scale), (its per-mole cousin), and .


Level 1 — Recognition

Here you only need to recognise which formula or rule applies and read a number off it.

L1.1 — Read the master differential

State the master differential of , and use it to write and .

Recall Solution

The master differential (derived in the parent, Step 4) is This equation says: if you nudge , , and , the change in is the sum of three independent contributions. Each partial derivative just isolates one nudge while freezing the others.

  • Freeze and (): , so .
  • Freeze and (): , so . ✓

L1.2 — Direction of flow

Reservoir A has , reservoir B has , both at the same , connected by a porous wall. Which way do particles flow?

Recall Solution

Nature moves particles from high to low (like heat from hot to cold). Here , so A is the "high" side. Check by energy: moving from A to B changes by . Since spontaneous processes lower , is indeed spontaneous. ✓

L1.3 — μ per particle vs per mole

A pure solid has total Gibbs energy for . Find per mole.

Recall Solution

For a pure substance, (parent's Euler shortcut — valid only because is extensive, i.e. homogeneous of degree 1 in ).


Level 2 — Application

Now plug numbers into a formula that requires one real step of setup.

L2.1 — Ideal-gas μ under compression

An ideal gas sits at . Its pressure is raised from to at constant . By how much does change (per particle, in eV)? Use .

Recall Solution

Only the term changes when is fixed: Why and not linear? Because (from with ), and integrating gives a logarithm. Numerically: Convert to eV: Sign check: compressing (raising ) raises — the gas becomes "more eager to escape." ✓

L2.2 — Diluting lowers μ

The same gas at is instead expanded from to . Find in eV.

Recall Solution

, so Dilution lowers — exactly the mirror image of L2.1 (same magnitude, since ). ✓

L2.3 — Two reservoirs, equal μ target

Reservoir A holds an ideal gas at ; reservoir B at , same species, same . They connect. Write the condition on the final common pressure for equilibrium, and say which way particles flow initially.

Recall Solution

Equilibrium demands equal chemical potentials: . Since both are the same species at the same , and is monotonically increasing in , equal equal : Initially because , so particles flow A → B (high → low ) until the pressures equalise. ✓


Level 3 — Analysis

Here you must reason about signs, directions, and why a step is legitimate.

L3.1 — Direction from a μ difference

Box A: . Box B: , same , porous membrane. Compute for transferring particle A→B and state the direction and how much drops per particle transferred (in eV).

Recall Solution

Moving from A to B: loses from A and gains in B, net ⇒ spontaneous ⇒ particles flow A → B, and drops by per particle transferred, until . ✓

Figure — Chemical potential μ = (∂G - ∂N)_{T,P}
The vertical drop in the figure is the you just computed — particles roll down the -hill.

L3.2 — Entropic uphill flow

Two ideal-gas boxes of the same species at the same but different pressures: box A at , box B at . The molecular potential energy is identical (ideal gas — no interactions). Yet particles still flow. Which way, and what drives it if not energy?

Recall Solution

Ideal-gas molecules have no interaction potential energy, so the "raw energy per particle" is identical in A and B. The driver is entirely the entropic part of : has the larger , hence larger , hence higher . So particles flow B → A (from high to low ), i.e. from the crowded box to the sparse box. Why this is "uphill in energy but downhill in μ": spreading into the low-pressure box raises entropy ; since contains , the entropy term makes the sparse side cheaper. Nothing about potential energy — pure entropy. ✓

L3.3 — Which held-variables give μ?

Your labmate writes "." Is this correct? Explain using the master differential and give the correct held variables.

Recall Solution

Incorrect. The master differential shows that to isolate as , you must kill the and terms — that is, hold and fixed: Holding instead does not zero out (since would then vary as changes), so is a different, less useful quantity. Each thermodynamic potential has its own natural variables; appears cleanly only when you differentiate along them. ✓


Level 4 — Synthesis

Combine several ideas — derivation + limits + physical interpretation.

L4.1 — Derive ideal-gas μ from scratch

Starting from at constant and the ideal-gas law , derive . Justify each step.

Recall Solution

Step 1 — Isolate the per-particle change. For a pure substance , so at fixed . From the master differential at constant (, ): . Hence Why: we want how (energy per particle) responds to pressure at fixed ; is the only surviving term.

Step 2 — Insert the ideal-gas volume. From , . So Why ? This is what forces a logarithm on integration — the response weakens as grows.

Step 3 — Integrate from a reference to (at fixed , so is a constant pulled out):

Step 4 — Read the result: Here is the value at the reference pressure — the integration constant, carrying all the temperature dependence. ✓

Figure — Chemical potential μ = (∂G - ∂N)_{T,P}
Reading the figure: the blue curve is exactly the result you just derived — plotted against . Notice three things the algebra predicted. (1) At the reference (red dot, dashed vertical line) the curve passes through zero, because . (2) To the right of it (orange dot, compression to ) the curve climbs — rises above the reference, matching L2.1's eV. (3) To the left (green dot, dilution to ) the curve dives below zero falls, matching L2.2's eV. The shape is a logarithm: steep near (where ) and flattening as grows, exactly the slope from Step 2.

L4.2 — Coexistence: liquid = vapour

At the boiling point, liquid water and its vapour coexist. State the condition linking their chemical potentials, and explain (using L1's mistake trap) why a denser phase (liquid) can have the same as a sparse phase (vapour).

Recall Solution

Coexistence = phase equilibrium = diffusive equilibrium between phases, so If they were unequal, molecules would stream from the higher- phase to the lower until they matched — that streaming is boiling or condensing. At coexistence the streaming stops. Why equal despite very different densities: is a free energy, not a crowding count. The dense liquid pays a low energy cost per particle (strong attractive bonds lower ) but a low entropy; the sparse vapour has high entropy ( term) but weak bonds. At the boiling point these two effects exactly balance, giving equal . This is precisely the machinery behind Phase Equilibrium and Clausius-Clapeyron. ✓

L4.3 — Euler check on a mixture

A binary mixture at fixed has with and with . Using the Euler relation , find total .

Recall Solution

The extensive Euler relation (see Euler Relation and Gibbs-Duhem) generalises to mixtures: Note you cannot write with a single here — each species contributes its own partial molar term. ✓


Level 5 — Mastery

Full open-ended reasoning tying the whole chapter together.

L5.1 — Gibbs–Duhem from Euler

Starting from the Euler relation and the master differential , derive the Gibbs–Duhem relation . Then, at fixed for a single component, show it forces and interpret.

Recall Solution

Step 1 — Differentiate the Euler relation (product rule on each ): Why: Euler is an identity in the extensive variables, so its differential must also hold.

Step 2 — Set it equal to the master differential:

Step 3 — The terms cancel on both sides, leaving i.e. Why it matters: the chemical potentials are not independent — they are tied to and each other.

Step 4 — Single component at fixed . With one species the sum has a single term, , and setting kills the first two terms of Gibbs–Duhem: Since , this forces Physical interpretation. For a single pure substance you cannot change at fixed and is entirely determined by and , so is a genuine function of only those two variables (adding more of the substance changes but not , consistent with being intensive). This is exactly why phase coexistence, where , is one equation in the two unknowns and therefore traces out a line in the plane — the coexistence curve of Phase Equilibrium and Clausius-Clapeyron. Gibbs–Duhem is what pins that degree of freedom down. ✓

L5.2 — Occupancy from the grand canonical picture

In the Grand Canonical Ensemble, a single fermionic quantum state of energy has average occupancy (from Fermi-Dirac and Bose-Einstein Statistics) (a) What is when ? (b) What happens to as for a state below () and above ()? Interpret physically here.

Recall Solution

(a) : the exponent is , so and The state at exactly the chemical potential is half-filled — this defines the Fermi level.

(b) limit. Let .

  • If : , so and . Fully occupied.
  • If : , so and . Empty.

So at the occupancy is a sharp step: every state below is full, every state above is empty. is the energy at which the filling switches — the top of the filled sea. It is exactly the "energy cost of adding one more particle," now visible as the energy of the last-added electron. ✓

Figure — Chemical potential μ = (∂G - ∂N)_{T,P}

L5.3 — Sign of μ for the ideal gas

Show that the ideal-gas can be negative even though "adding a particle costs energy." Use and interpret the sign physically.

Recall Solution

When , the term (log of a number below 1 is negative). If this outweighs , then . Physically a very dilute gas has enormous entropy per particle, and contains — a large positive entropy contribution makes negative, meaning the system is eager to accept more particles (adding one lowers via entropy). So "adds energy" is only the internal-energy part; the free-energy can sit below zero. This is the same lesson as the L3 trap: free energy, not raw energy, sets the sign.


Recall Master self-test (close the book)
  • Which way do particles flow between two reservoirs, and what does have to do with it?
  • Why does compressing an ideal gas raise , and why is the dependence logarithmic?
  • State and derive Gibbs–Duhem; what does it force for a single pure substance at fixed ?
  • At the Fermi level , what is the fermionic occupancy, and why?

Direction of flow
From high to low , because that lowers total ().
Ideal-gas μ
; logarithmic because .
Coexistence condition
despite different densities.
Fermi level occupancy at
(half-filled), the defining point of .
Gibbs–Duhem
; for one pure substance at fixed it forces .