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 H0(x), where x represents the microstate of the system, and suppose that this system is subject to a time-dependent force f(t) acting along some coordinate z(x). 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 H0(x) under the effect of the external force f(t) acting along z(x). Alternatively, we may include the force in the Hamiltonian of the system and study the evolution of a system governed by H(x,t)=H0(x)z(x)f(t).

In the first case, we are considering a time-independent Hamiltonian under the effect of an external force f(t). According to classical mechanics, the work done by the external force up to time τ is

(1)

and we have the usual result that the work done on the system equals its energy change,

(2)

The free energy change appropriate for this first description of the system is

(3)

(kBT=1 throughout).

In the second case, we consider the time-dependent Hamiltonian H(x,t)=H0(x)z(x)f(t). In this description of the system, f(t) is an internal force and there should be no expectation that the work done by f(t) equals the change in energy of the system. Here we consider the thermodynamic work,

(4)

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

(5)

We note, as suggested by Vilar and Rubi (VR),4 that this second description of the system is not unique—adding a term g(t) to the Hamiltonian has no effect on the dynamics of the system but changes the values of Wt and ΔGt.

Peliti examined in some detail the possibility of adding a term g(t) 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 g(t) in fact drops out of any physically relevant free energy change.

In considering the effect of a force f on a harmonic spring of force constant k, VR describe the system according to the first picture and obtain ΔG=W=f2/2k, while Horowitz and Jarzynski (HJ) use the second picture and obtain ΔGt=Wt=f2/2k.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 Wt and ΔGt,8 

(6)

The validity of this expression is not in question—only its utility in describing free energy changes in a system. VR point out that ΔGt depends on the arbitrary choice of g(t) in the Hamiltonian, which leads to arbitrary free energy changes. If all that can be extracted from the Jarzynski equality is this arbitrary ΔGt, 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 G(z) as a function of end-to-end distance z. 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 z. 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 ΔGt 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 H0(x). When a time-dependent perturbation is applied along some coordinate z(x), we write the new Hamiltonian as H0(x)+H(z,t). Hummer and Szabo have shown that the unperturbed free energy profile along coordinate z can then be reconstructed as

(7)

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 G(z), thereby reconciling the results of HJ and those of VR. Our model is H0(x,p)=p2/2m+kx2/2 and H(x,p,t)=H0(x,p)f0tx/τ. This Hamiltonian describes an ideal spring under the effect of an external force, which increases uniformly from 0 to f0 over a time 0<t<τ.

Applying Hummer and Szabo’s result to our model, we obtain

(8)

where we used the fact that in this case our coordinate of interest z(x) is just x.

The Hamiltonian equations of motion for the system are ṗ=kx+f0t/τ and ẋ=p/m, and have the solution

(9)

where x0 is the initial position, p0 is the initial momentum, and ω2=k/m. We assume without loss of generality that both sinωτ and cosωτ 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 (x0,p0) weighted by the initial Boltzmann distribution,

(10)

The delta function can be used to eliminate the integral over p0, yielding

(11)

where p0 is now a function of x0, defined implicitly according to Eq. (9) and the condition x(τ)=z. The factor in front of the integral comes from the coefficient of p0 in the delta function.

Using the definition of Wt from Eq. (4), we find that

(12)

which yields upon integration

(13)

We can now calculate the exponent in Eq. (11), which after some rearrangement results in

(14)

where

(15)

The first term in Eq. (14) is independent of x0, while the second results in a Gaussian integral when put into Eq. (11). We then obtain

(16)

and thus

(17)

The second term in G(z) is independent of z 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

(18)

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 g(t) to the general Hamiltonian. The effect on ΔGt is easily seen from Eq. (5) to be

(19)

Since the term g(t) redefines the zero of energy at each point in time, it is expected that ΔGt(τ) will be affected as it is comparing free energies at two different times. Before ascribing a physical interpretation to ΔGt, it must be corrected by subtracting this arbitrary change in the zero of energy.

We now examine the effect of an arbitrary g(t) on the free energy profile G(z) computed via Jarzynski’s equality. We then have

(20)
(21)

and Eq. (7) becomes

(22)

which can be simplified to

(23)

So adding a time-dependent term g(t) shifts the overall free energy profile G(z) 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 U=H0 and its enthalpy by the Legendre transform H0fz. We can then define two free energies, G=UST and Gt=UfzST.

The method of VR is constructed to measure G as a function of position, G(z), while HJ are calculating Gt as a function of f, Gt(f). As long as the fluctuations in x are small at a given f, (i.e., we are in the thermodynamic limit) we can use the simple relation G(z)=Gt(f)+fz 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 G(z) 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.

1.
J.
Liphardt
,
S.
Dumont
,
S. B.
Smith
,
I.
Tinoco
, Jr.
, and
C.
Bustamante
,
Science
296
,
1832
(
2002
).
2.
N. C.
Harris
,
Y.
Song
, and
C. -H.
Kiang
,
Phys. Rev. Lett.
99
,
068101
(
2007
).
3.
G.
Hummer
and
A.
Szabo
,
Proc. Natl. Acad. Sci. U.S.A.
98
,
3658
(
2001
).
4.
J. M. G.
Vilar
and
J. M.
Rubi
,
Phys. Rev. Lett.
100
,
020601
(
2008
).
5.
L.
Peliti
,
J. Stat. Mech.: Theory Exp.
2008
,
P05002
.
6.
J.
Horowitz
and
C.
Jarzynski
,
Phys. Rev. Lett.
101
,
098901
(
2008
).
7.
J. M. G.
Vilar
and
J. M.
Rubi
,
Phys. Rev. Lett.
101
,
098902
(
2008
).
8.
C.
Jarzynski
,
Phys. Rev. Lett.
78
,
2690
(
1997
).