Free Energy and Thermodynamic Relations from Partition Functions

Research Depth 105 in the knowledge graph I know this Set as goal
Unlocks 72 downstream topics
free-energy helmholtz gibbs thermodynamic-potentials

Core Idea

Helmholtz (F) and Gibbs (G) free energies are natural thermodynamic potentials for the canonical and constant-pressure ensembles. They connect statistical mechanics to measurable thermodynamic quantities through Maxwell relations and are minimized at equilibrium, making them central to understanding phase transitions and stability.

Explainer

From the canonical partition function Z = Σ exp(−βEᵢ), you can compute the average energy ⟨E⟩ = −∂ ln Z/∂β and entropy S = kB ln Z + ⟨E⟩/T. The Helmholtz free energy F = ⟨E⟩ − TS is simply the combination that emerges from this: F = −kBT ln Z. This single equation is the bridge between statistical mechanics and thermodynamics — once you have Z, you have F, and from F you can derive essentially every equilibrium thermodynamic property.

Why is F called a "free" energy? The name reflects the competition between energy and entropy. A system at constant temperature and volume spontaneously evolves to minimize F, not to minimize energy alone. An exothermic process (ΔE < 0) is favorable, but so is an entropy-increasing process (ΔS > 0) because −TΔS also lowers F. When these tendencies conflict — say, a process that releases heat but decreases entropy — the question of which wins depends on temperature. At high T, the TΔS term dominates and entropy wins; at low T, energy wins. This is why ice melts above 0°C (entropy gain of liquid water overwhelms the energy cost) and freezes below it.

The Gibbs free energy G = F + PV = ⟨E⟩ − TS + PV is the natural potential for constant-pressure, constant-temperature conditions — the conditions of most chemical and biological processes. It is minimized at equilibrium under these constraints. The condition for phase coexistence (the topic of phase equilibrium) is G_liquid = G_solid (equal Gibbs free energies per particle, i.e., equal chemical potentials μ = ∂G/∂N). Maxwell relations follow from the second-order mixed partial derivatives of these potentials. For example, from dF = −SdT − PdV, the Maxwell relation (∂S/∂V)_T = (∂P/∂T)_V connects an entropy derivative (hard to measure directly) to a pressure derivative (easy to measure). These relations are among the most practically useful results in thermodynamics.

For phase transitions, free energies are indispensable. A first-order transition occurs when two phases have equal G but the system discontinuously jumps between two minima — there is a latent heat and coexistence. A second-order (continuous) transition occurs when the minimum of the free energy evolves continuously but the shape of the free energy landscape changes qualitatively at Tc — this is exactly the order parameter picture you will develop in Landau theory. Free energy as a function of the order parameter, F(M, T), is the Landau free energy, and minimizing it gives the equilibrium order parameter. The entire language of phase transitions is built on free energies, so mastering F and G here is prerequisite to that entire framework.

Practice Questions 5 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals over Rectangular RegionsDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsCenter of MassConservation of Linear MomentumElastic CollisionsInelastic CollisionsCoefficient of RestitutionCollision Analysis and Real-World ApplicationsTwo-Body Collisions in the Center-of-Mass FrameReduced Mass and Two-Body ProblemsKinematics in Two DimensionsProjectile MotionCircular Motion: KinematicsRotational KinematicsTorqueMoment of InertiaRotational Kinetic EnergyThe Work-Energy TheoremConservation of Mechanical EnergyFirst Law of ThermodynamicsThermodynamic Processes and the PV DiagramIsobaric and Isochoric ProcessesHeat EnginesThermal Efficiency of Heat EnginesRefrigerators and Heat PumpsSecond Law of ThermodynamicsEntropyMicrostates and MacrostatesEnsemble Theory FundamentalsCanonical Ensemble (NVT)Partition Function: Definition and PropertiesThe Canonical Partition Function and Thermodynamic DerivationFree Energy and Thermodynamic Relations from Partition Functions

Longest path: 106 steps · 445 total prerequisite topics

Prerequisites (3)

Leads To (4)