The connection between work and changes in the Hamiltonian for a system with a time-dependent Hamiltonian has recently been called into question, casting doubt on the usefulness of the Jarzynski equality for calculating free energy changes. In this paper, we discuss the relationship between two possible definitions of free energy and show how some recent disagreements regarding the applicability of the Jarzynski equality are the result of different authors' using different definitions of free energy. Finally, in light of the recently raised doubts, we explicitly demonstrate that it is indeed possible to obtain physically relevant free energy profiles from molecular pulling experiments by using the Jarzynski equality and the results of Hummer and Szabo.
Single molecule experiments, such as the stretching of a polymer molecule using an atomic force microscope or laser tweezers, have become common in the last decade.1,2 The goal is often the determination of the free energy surface along some coordinate of the molecular potential energy surface. In order to proceed, one invokes the Jarzynski equality using the extension derived by Hummer and Szabo.3
Although there have been some controversies about these theoretical advances, it is fair to say that their use in interpreting nanoscale single molecule experiments is widespread. Thus any question that they may be fundamentally in error must be carefully examined.
Recently, questions have been raised about the connection between work and changes in the Hamiltonian for a system with a time-dependent Hamiltonian, casting doubt on the applicability of the Jarzynski equality for computing free energy changes.4 Here, we discuss these questions and show that the Jarzynski equality can be usefully applied to determine physically relevant free energy changes.
Consider a system with Hamiltonian , where represents the microstate of the system, and suppose that this system is subject to a time-dependent force acting along some coordinate . From the perspective of classical mechanics, we have two options for treating the force. We may consider it as an external force not included in the Hamiltonian of the system and study the evolution of a system governed by under the effect of the external force acting along . Alternatively, we may include the force in the Hamiltonian of the system and study the evolution of a system governed by .
In the first case, we are considering a time-independent Hamiltonian under the effect of an external force . According to classical mechanics, the work done by the external force up to time is
and we have the usual result that the work done on the system equals its energy change,
The free energy change appropriate for this first description of the system is
( throughout).
In the second case, we consider the time-dependent Hamiltonian . In this description of the system, is an internal force and there should be no expectation that the work done by equals the change in energy of the system. Here we consider the thermodynamic work,
which by definition equals the change in energy of the system. The appropriate free energy change to consider for this description of the system is
We note, as suggested by Vilar and Rubi (VR),4 that this second description of the system is not unique—adding a term to the Hamiltonian has no effect on the dynamics of the system but changes the values of and .
Peliti examined in some detail the possibility of adding a term to the Hamiltonian and claimed that such a term is in fact not arbitrary but can be interpreted in terms of the experimental setup required to actually manipulate the system.5 Here, we take a different approach and show that the term in fact drops out of any physically relevant free energy change.
In considering the effect of a force on a harmonic spring of force constant , VR describe the system according to the first picture and obtain , while Horowitz and Jarzynski (HJ) use the second picture and obtain .6,7 Both of these results are correct in their respective descriptions and mean different things. In particular, VR are describing the free energy change associated with changing the length of the spring in the absence of an external force; the force is only a tool used to measure the free energy profile of the free spring. Meanwhile, HJ are describing the free energy change of the combined force-spring system as a function of the force. The discrepancy between the definitions of work in these two papers has previously been noted.5
The Jarzynski equality is framed in the second of our descriptions and expresses a relation between and ,8
The validity of this expression is not in question—only its utility in describing free energy changes in a system. VR point out that depends on the arbitrary choice of in the Hamiltonian, which leads to arbitrary free energy changes. If all that can be extracted from the Jarzynski equality is this arbitrary , then the Jarzynski equality seems to be of little use. We shall show, however, that this is not the case.
Consider a single-molecule pulling experiment, for which the Jarzynski equality has frequently been applied.1,2 In studying the unfolding of a biomolecule, one is often interested in the free energy profile as a function of end-to-end distance . We could map the free energy by reversibly pulling the ends of the molecule and measuring the work exerted by the external force as a function of . This is of course the classic method and corresponds to the VR analysis of the harmonic spring.
We could also try to get the free energy profile using the Jarzynski equality. Direct application of the Jarzynski equality to yield gives the free energy difference between the free molecule and the molecule with a certain force applied to it. This is not in itself a particularly useful quantity and is not the free energy profile. Hummer and Szabo have, however, shown how to obtain free energy profiles from single-molecule pulling experiments.3
Consider an unperturbed system described by a Hamiltonian . When a time-dependent perturbation is applied along some coordinate , we write the new Hamiltonian as . Hummer and Szabo have shown that the unperturbed free energy profile along coordinate can then be reconstructed as
where the average is over all trajectories of the system in the presence of the perturbation.3
We now apply this result to an ideal, deterministic spring and show how the Jarzynski equality can be used to calculate , thereby reconciling the results of HJ and those of VR. Our model is and . This Hamiltonian describes an ideal spring under the effect of an external force, which increases uniformly from 0 to over a time .
Applying Hummer and Szabo’s result to our model, we obtain
where we used the fact that in this case our coordinate of interest is just .
The Hamiltonian equations of motion for the system are and , and have the solution
where is the initial position, is the initial momentum, and . We assume without loss of generality that both and are nonzero; a similar calculation yields the same results for these two special cases.
We perform the average over trajectories in Eq. (8) by integrating over weighted by the initial Boltzmann distribution,
The delta function can be used to eliminate the integral over , yielding
where is now a function of , defined implicitly according to Eq. (9) and the condition . The factor in front of the integral comes from the coefficient of in the delta function.
Using the definition of from Eq. (4), we find that
which yields upon integration
We can now calculate the exponent in Eq. (11), which after some rearrangement results in
where
The first term in Eq. (14) is independent of , while the second results in a Gaussian integral when put into Eq. (11). We then obtain
and thus
The second term in is independent of and simply defines the zero of the overall free energy profile, but does not affect relative free energies. Since the free energy is only defined up to an overall additive constant, we are free to drop this term and obtain
This agrees with VR and is the expected result for the free energy profile of an ideal spring.
Consider the effect of adding an arbitrary to the general Hamiltonian. The effect on is easily seen from Eq. (5) to be
Since the term redefines the zero of energy at each point in time, it is expected that will be affected as it is comparing free energies at two different times. Before ascribing a physical interpretation to , it must be corrected by subtracting this arbitrary change in the zero of energy.
We now examine the effect of an arbitrary on the free energy profile computed via Jarzynski’s equality. We then have
and Eq. (7) becomes
which can be simplified to
So adding a time-dependent term shifts the overall free energy profile by an additive constant, but has no effect on relative free energies.
We can consider the same situation from the perspective of thermodynamics in one dimension. The internal energy of the system is given by and its enthalpy by the Legendre transform . We can then define two free energies, and .
The method of VR is constructed to measure as a function of position, , while HJ are calculating as a function of , . As long as the fluctuations in are small at a given , (i.e., we are in the thermodynamic limit) we can use the simple relation to convert between the two quantities. Outside this limit, there is not a simple relation between the two quantities but the method of Hummer and Szabo discussed above can be used to reconstruct from pulling experiments.
In conclusion, we have shown that by properly applying the Jarzynski equality, the textbook result for the free energy profile of a spring is correctly recovered. Furthermore, we have shown that free energy profiles computed using the Jarzynski equality and the results of Hummer and Szabo do not depend on arbitrary terms in the Hamiltonian. Most importantly, in light of recent doubts, we reaffirmed the applicability of the Jarzynski equality to the analysis of single-molecule pulling data.
Part of this research was supported by the NSF under Grant No. CHE0556268. One of the authors (E.Z.) acknowledges financial support from FQRNT. We acknowledge an email exchange with Professor Jarzynski.