Jarzynski Equality and Crooks Relation
Classical thermodynamics bounds the work done on a system driven between two equilibrium states by the free-energy difference: , with equality only for a quasi-static (reversible) process. But for a finite-time, far-from-equilibrium drive the work is a fluctuating quantity — it depends on the initial microstate and on the thermal noise along the path, and it differs from pull to pull. The remarkable discovery of Jarzynski (1997) and Crooks (1999) is that the full statistics of encode the equilibrium exactly, no matter how violently the system is driven. You never need to go slowly; you need only average correctly. Concretely, fix a control protocol that sweeps an external parameter from to over a time , starting from canonical equilibrium at temperature . Repeating the experiment builds a distribution of work values. The Jarzynski equality states that the exponential average collapses this entire distribution onto , where . The Crooks relation goes deeper: it compares with the work distribution of the reverse protocol run from equilibrium at , and links the two point-by-point by an exponential factor. Their histograms cross exactly at — a model-free free-energy readout. Both results are exact consequences of microscopic reversibility. For Hamiltonian dynamics, Liouville's theorem (phase-space volume conservation) plus canonical Boltzmann weighting of the initial conditions yields a precise symmetry between a trajectory and its time-reverse; the same structure holds for stochastic dynamics with local detailed balance — Langevin, Fokker–Planck, and Markov-jump master equations. These identities are the work-relation corollaries of the general fluctuation theorems, and they sit at the foundation of stochastic thermodynamics, generalizing the fluctuation-dissipation theorem to the genuinely nonlinear regime. Beyond their conceptual weight they are practical: experimentalists extract equilibrium free-energy landscapes from irreversible single-molecule pulling. The price is statistical — the exponential average is dominated by rare, atypical trajectories, so convergence is slow and bias-corrected estimators (the Bennett acceptance ratio) are essential.
- The Jarzynski equality relates the exponential average of non-equilibrium work over many repeated, arbitrarily fast drivings to the equilibrium free-energy difference between the endpoints.
- The Crooks fluctuation theorem is the finer, distribution-level statement: the forward and time-reversed work histograms cross exactly at .
- Both follow from microscopic reversibility — the detailed-balance-like symmetry of trajectory weights under time reversal of the protocol; Jarzynski is the integral (first-moment) form of Crooks.
- Jensen's inequality applied to Jarzynski recovers the second law , with dissipated work .
- Rare trajectories with (transient second-law "violations") dominate the exponential average, making direct sampling hard but enabling free-energy reconstruction from finite-time pulling.
- Key idea: microscopic reversibility makes the ratio of forward to time-reversed trajectory probabilities equal to ; integrating this single relation gives Crooks (distribution level) and Jarzynski (mean level), with the second law emerging as a convexity inequality.
Weight each non-equilibrium pull by and the rare cheap pulls are up-weighted by exactly the amount needed to cancel the irreversibility tax — leaving precisely . One trajectory-symmetry relation, , contains both Crooks and Jarzynski, and the second law is its convexity corollary.
Where this lives today
The work relations turned free-energy measurement into a non-equilibrium art. In optical-tweezer and atomic-force experiments an RNA hairpin or protein is pulled open at finite speed; the forward (unfolding) and reverse (refolding) work histograms are combined through the Bennett acceptance ratio — the statistically optimal use of Crooks — to recover the folding free energy even when every pull is strongly irreversible. In molecular simulation, the instantaneous-switch limit of Jarzynski is Zwanzig's free-energy perturbation, and finite-time "fast-growth" steered molecular dynamics generalizes it: many short non-equilibrium trajectories, exponentially averaged, replace slow reversible thermodynamic integration. Because the dissipated work equals a Kullback–Leibler divergence, the relations also give a literal, measurable arrow of time, and they underpin the thermodynamic uncertainty relations that bound the precision of molecular machines like kinesin and ATP synthase by their dissipation.
The physical picture
Imagine yanking a piston to compress a gas. Sometimes the molecules happen to be moving away from the piston and you do little work; sometimes they slam into it and you do a lot. Average the ordinary work and you always pay an irreversibility tax, . But weight each outcome by and the rare cheap compressions are exponentially up-weighted — by exactly the amount needed to cancel the tax — leaving precisely . This is why the equality holds however fast you pull: the free energy is recovered not by going slowly, but by letting the exponential average find the rare, low-work tail.
The Crooks relation is a statement of trajectory symmetry: film a forward driving and play it backward. The backward movie is a legitimate trajectory of the reverse protocol, but it is exponentially less likely by the factor . The work that would be dissipated forward becomes the imbalance between watching the film forwards versus backwards — a direct, quantitative arrow of time. Because is dominated by trajectories with small or negative — which sit in the exponential tail of — Jarzynski estimation needs samples of those rare "transient second-law violations." This is why fast pulling gives noisy free energies while gentle pulling (a narrow near ) converges quickly.
The core equations
The headline result is the Jarzynski equality: the exponential average of the fluctuating work equals the exponential of the equilibrium free-energy difference, for any driving speed.
where: — thermodynamic (inclusive) work done on the system in the forward protocol, a fluctuating quantity; — inverse temperature of the initial canonical ensemble; — equilibrium Helmholtz free-energy difference; — average over forward realizations with . Physically: the whole work distribution, exponentially averaged, collapses onto a single equilibrium number. The finer, distribution-level statement is the Crooks fluctuation theorem — a point-by-point symmetry between the forward and reverse work distributions.
where: — density of work under the forward protocol ; — density of work under the reverse protocol started at equilibrium at ; — the same equilibrium free-energy difference. Physically: watching the film backward is exponentially less likely by the dissipated work. The work in these relations is the inclusive thermodynamic work — the energy injected by changing the control parameter — not the heat and not a mechanical force times displacement.
where: — Hamiltonian parameterized by the control variable ; — imposed protocol, , ; — microstate trajectory; — switching time. Physically: work is accumulated only through the explicit time-dependence of the Hamiltonian. Applying Jensen's inequality to Eq. (1) yields the second law, and identifies the dissipated work with a relative entropy between path ensembles.
where: — dissipated (irreversible) work; — Kullback–Leibler divergence between forward and reverse trajectory ensembles; — a forward path and its time-reverse. Physically: dissipation measures how distinguishable a process is from its time-reverse. Setting in Crooks gives the experimentally decisive histogram-crossing identity: the two distributions have equal height exactly at the free energy.
where: — read directly off the intersection of the measured forward and reverse work histograms. Physically: a model-free free-energy readout that never requires trusting either exponential tail.
The cleanest derivation needs no stochasticity at all: drive an isolated Hamiltonian system through the protocol, with the only randomness in the initial microstate drawn from canonical equilibrium at . The result — that the exponential work average equals — hinges on a single geometric fact, Liouville's incompressibility of Hamiltonian flow, which makes the change of variables from initial to final phase point volume-preserving. We write the work as an energy change, average over the canonical initial ensemble, watch the initial Boltzmann factor cancel, and use Liouville to fold the remaining integral into the final partition function.
Step 1. For isolated Hamiltonian flow with time-dependent there is no heat bath, so the work equals the energy change: , where is the time- image of . Why: with no bath, the first law reduces to .
Step 2. Average over canonical initial states : . Why: each trajectory is weighted by the probability of its initial condition.
Step 3. The initial Boltzmann factor and the inside the work exponential cancel, leaving . Why: ; only the final energy survives.
Step 4. Change variables ; by Liouville's theorem Hamiltonian flow conserves phase-space volume, so (unit Jacobian), giving . Why: incompressibility is the load-bearing step — without it the Jacobian would spoil the identity.
Step 5. Identify , independent of protocol speed. Why: turns the partition-function ratio into the free-energy difference. Verified in verify_aq-sm-jarzynski-crooks-relations.py: on a driven harmonic oscillator with , the Liouville cancellation gives , matched symbolically.
Go deeper · Derivation B · 1 minCrooks relation from microscopic reversibility, and Jarzynski as its integral
The distribution-level theorem comes from the ratio of a forward path weight to its time-reverse under stochastic dynamics with local detailed balance; Jarzynski is then simply the first moment of Crooks. The point is that a single trajectory identity — the path-weight ratio equals — contains both relations, so once it is established the rest is bookkeeping. We form the path-weight ratio, insert the canonical initial densities, use the first law to convert heat-plus-energy into work, bin by work to get Crooks, and integrate to get Jarzynski.
Step 1. Local detailed balance gives the transition-weight ratio in terms of heat, ; multiplying by the initial densities, . Why: microscopic reversibility of the bath-coupled dynamics is the physical input; is the heat to the bath.
Step 2. Insert with , so . Why: the two canonical partition functions produce the , and the energy difference combines with the heat.
Step 3. Use the first law to get — the trajectory form of microscopic reversibility. Why: the ratio depends on the path only through its work and the fixed .
Step 4. Bin forward paths by work, , and use to obtain — the Crooks relation, Eq. (2). Why: the reverse-path measure is unchanged under ; only the work flips sign.
Step 5. Multiply by and integrate: — Jarzynski, Eq. (1). Why: normalization of closes the proof; Jarzynski is the first moment of Crooks. Verified in verify_aq-sm-jarzynski-crooks-relations.py: two Gaussians satisfying Crooks integrate to the Jarzynski identity, and their crossing sits exactly at .
Go deeper · Derivation C · 1 minSecond law and dissipation as relative entropy
Applying Jensen's inequality to Jarzynski turns the exact equality into the familiar inequality , and the excess — the dissipated work — is exactly times a Kullback–Leibler divergence between forward and reverse path ensembles. This gives the second law both a proof and a meaning: dissipation is the time-reversal asymmetry of the process. We apply convexity, combine with Jarzynski, then re-express the gap as an averaged log-ratio.
Step 1. Convexity of the exponential gives (Jensen). Why: for any random variable.
Step 2. Combine with Jarzynski : . Why: taking logs (a monotone step) delivers the macroscopic second law exactly.
Step 3. Insert and average: . Why: the averaged log-ratio is a KL divergence, which is non-negative and vanishes only in the reversible limit. Verified in verify_aq-sm-jarzynski-crooks-relations.py: Jensen numerically () and for a Gaussian work distribution.
Limiting cases
The work relations interpolate between the reversible limit and linear response, and contain the second law:
| Case | Result | Meaning |
|---|---|---|
| Quasi-static (reversible) | Infinitely slow driving: work has no spread and equals ; both relations become trivial identities. | |
| Second law (Jensen) | Convexity of gives the second law; dissipation equals a relative entropy, vanishing only reversibly. | |
| Near-equilibrium (Gaussian work) | If is Gaussian, mean dissipation is fixed by the work variance — the linear-response fluctuation-dissipation relation. | |
| Instantaneous switch () | Sudden switch at fixed ; Jarzynski reduces to Zwanzig free-energy perturbation. |
Worked examples
Example 1 — free energy from a Gaussian work distribution. A biomolecule is pulled fast enough that the forward work distribution is Gaussian with mean and standard deviation . What is , and how much work is dissipated?
Step 1. For a Gaussian, . Jarzynski sets this to , so .
Step 2. In units of : . The dissipated work is .
Step 3. Check consistency: ✓. Note that , respecting the second law — yet individual pulls with occur and dominate the exponential average.
Example 2 — how rare are the trajectories that dominate? For the same Gaussian, what fraction of pulls have (transient "second-law violations"), and where do the forward/reverse histograms cross?
Step 1. The fraction with is , about 16% of pulls.
Step 2. These low-work pulls carry the average: the integrand peaks at — well into the tail below , which is exactly why naive sampling converges slowly.
Step 3. The Crooks crossing sits at : there , giving a model-free readout of from where the two measured histograms intersect — the method Collin and co-workers used to recover RNA folding free energies to within in 2005.
Origins · 1 minchristopher jarzynski and how this was discovered
Going further
Texts. Jarzynski, "Nonequilibrium Equality for Free Energy Differences," Phys. Rev. Lett. 78, 2690 (1997) · Crooks, "Entropy production fluctuation theorem and the nonequilibrium work relation," Phys. Rev. E 60, 2721 (1999) · Seifert, Rep. Prog. Phys. 75, 126001 (2012) · Sethna, Statistical Mechanics: Entropy, Order Parameters, and Complexity · Kardar, Statistical Physics of Particles · Collin et al., Nature 437, 231 (2005).
Provenance. Jarzynski equality verified by the Hamiltonian Liouville derivation (Jarzynski 1997; Kardar). Crooks relation and corollaries verified from local detailed balance (Crooks 1999; Seifert 2012). Verification reproduces (1) the Liouville cancellation on a driven oscillator; (2) Crooks Jarzynski by integration; (3) the Jensen route to ; (4) the Gaussian-work result and dissipation ; (5) the instantaneous-switch (Zwanzig) limit. Experimental numbers (RNA folding, within ) from Collin et al. (2005).
Related. Prerequisites: the langevin-equation · fokker-planck-equation · master-equation · fluctuation-dissipation-theorem · ito-stratonovich-calculus. Leads to: stochastic-thermodynamics · Bennett acceptance ratio · integral fluctuation theorems. These work relations are the corollaries of the general fluctuation-theorems; the trajectory heat/work bookkeeping is owned by stochastic-thermodynamics.
Is the Jarzynski equality a violation of the second law?
No — it is a sharpening of it. The second law constrains the average work: , which follows from Jarzynski by Jensen's inequality. Individual realizations can have (transient "violations"), and in fact those rare, cheap pulls dominate the exponential average — that is precisely how the equality recovers from irreversible driving. The ensemble inequality is never broken; the equality simply extracts more information than the inequality alone.
What goes wrong if the forward protocol starts out of equilibrium?
The derivation requires the initial microstates to be Boltzmann-distributed at , so that . In the Hamiltonian route this is what makes the initial energy factor cancel; in the stochastic route it is what makes the path-weight ratio collapse to . Start from any other distribution and the cancellation fails, so . Generalized versions exist (e.g. with a non-equilibrium initial distribution), but they carry an extra term measuring the deviation of the start from equilibrium.
How is Jarzynski related to Crooks?
Crooks is the stronger, distribution-level statement: relates the full forward and reverse work histograms point by point. Jarzynski is its first moment — multiply Crooks by and integrate over , and the normalization of leaves . So Crooks implies Jarzynski but not vice versa. Practically, Crooks lets you use both pulling directions (the Bennett acceptance ratio) and read off the histogram crossing, which is far more efficient than the one-sided Jarzynski average.
Why is the Jarzynski estimator biased in practice?
Because is dominated by trajectories in the low- tail — for a Gaussian, the integrand peaks at , which sits below . With finite samples you rarely draw those dominant tail events, so the finite-sample average systematically overestimates and converges slowly, the more so the wider (more irreversible) the work distribution. Bidirectional estimators (Crooks/Bennett) and cumulant expansions are the standard remedies.
What does the instantaneous-switch limit recover?
If the protocol is switched suddenly, , the system has no time to move, so evaluated at the fixed initial configuration. The Jarzynski average then becomes . This is exactly Zwanzig's free-energy perturbation formula , a static-ensemble identity — showing that the classic perturbation method is the sudden-switch corner of the Jarzynski equality.
Do these relations hold for stochastic dynamics, not just Hamiltonian flow?
Yes. The Hamiltonian derivation via Liouville is the cleanest, but the same identities hold for Langevin, Fokker–Planck, and Markov-jump master-equation dynamics provided the stochastic rules satisfy local detailed balance at each instantaneous value of — i.e. the rates encode the bath's canonical weighting. The path-weight ratio then equals (heat to the bath), and combined with the canonical initial densities this reproduces Crooks and hence Jarzynski. This robustness across dynamical descriptions is why the relations are foundational to stochastic thermodynamics.