Optimal protocols for minimal work processes in underdamped stochastic thermodynamics
Alex Gomez-Marin, Tim Schmiedl, Udo Seifert
I Introduction
The free energy difference between two equilibrium states is an important quantity in isothermal statistical mechanics. Strategies to extract from experiments or computer simulations are traditionally based on either thermodynamic integration or thermodynamic perturbation Zwanzig (1954) which use one infinitesimally slow transition or many infinitesimally fast transitions, respectively, between the two equilibrium states. A decade ago, Jarzynski proposed the remarkable relation
which interpolates between these extreme cases using nonequilibrium work values obtained from trajectories of finite time transitions between the equilibrium states at temperature (with Boltzmann’s constant throughout the paper) Jarzynski (1997a, b). This exact relation which holds for any time-dependent driving described by an external control parameter has been extended to various fluctuation theorems Crooks (1999, 2000); Hummer and Szabo (2001); Hatano and Sasa (2001); Seifert (2005). Although these (necessarily irreversible) finite time transitions occur in nonequilibrium, the equilibrium quantity can be inferred from a sufficient number of trajectories either from computer simulations Hendrix and Jarzynski (2001); Hummer (2001); Shirts et al. (2003); Park and Schulten (2004); Maragakis et al. (2006) or real experiments Liphardt et al. (2002); Collin et al. (2005). However, the convergence of the involved exponential average causes problems for far out of equilibirium transitions where the work is substantially larger than the free energy difference Gore et al. (2003). In this regime, the exponential average is dominated by low work values which are very rarely sampled Jarzynski (2006). As a remedy, several path sampling techniques biasing the dynamics for low work have been proposed Ytreberg and Zuckerman (2004); Atilgan and Sun (2004); Lechner et al. (2006). It is, however, still under debate Oberhofer et al. (2005); Ytreberg et al. (2006); Lechner and Dellago (2007) for which systems fast growth techniques are superior to refined “conventional” approaches such as umbrella sampling Torrie and Valleau (1977) or flat histogram methods Wang and Landau (2001). Though valuable for computer simulations, it is hard to imagine how to bias dynamics in real experiments, where, however, apparatus drift may prevent long measurements necessary for thermodynamic integration Collin et al. (2005); Maragakis et al. (2007) and thus render fast growth methods competitive.
Both for thermodynamic integration and “fast growth” methods employing Jarzynski’s equality (or some variant), efficiency gains can be achieved by optimizing the driving scheme . For thermodynamic integration, where the work is taken as an estimator for , it is obvious that a minimal work gives the best result de Koning (2005). In the case of fast growth methods, the statistics for free energy estimates quite generally also improves with smaller mean work Atilgan and Sun (2004); Jarzynski (2006). Fast growth simulations even allow to combine data from different driving schemes in a straightforward way Minh (2006).
The minimization of the work spent in a finite time process can, however, also be seen in the context of minimal energy dissipation. On a macroscopic scale, the optimization of the work (or power) exerted in a macroscopic cyclic process has been discussed for quite a while Curzon and Ahlborn (1975); Band et al. (1982); Andresen et al. (1984); Hoffmann et al. (2003). On a microscopic scale, fluctuations will also affect optimal cyclic processes Schmiedl and Seifert (2008) which may become relevant for constructing optimal nano machines.
For overdamped Langevin dynamics, the optimal protocol leading to a minimal mean work in a finite time has been calculated analytically for harmonic potentials Schmiedl and Seifert (2007). Surprisingly, the optimal protocol shows jumps at the beginning and end of the finite time transition. Since most molecular dynamics (MD) simulations of the dynamics of biomolecules are on time-scales where inertia plays an important role (see Sotomayor and Schulten (2007) for a review on steered MD), it is an interesting question how these results transfer to underdamped dynamics. In particular, it is important to know whether the jumps are a result of having neglected inertia.
In this paper, we investigate the role of inertia for two previously introduced paradigmatic processes. In Sect. II, we calculate optimal driving schemes for an underdamped Brownian particle dragged through a viscous fluid by harmonic optical tweezers. In Sect. III, we study an underdamped Brownian particle subject to an optical trap with time-dependent stiffness. In both cases, we compare our findings with the corresponding results in the overdamped limit Schmiedl and Seifert (2007). We find that the optimal protocol still involves jumps. Even more surprisingly, the optimal protocol includes delta peaks at the beginning and end of the process.
II Case Study I: The moving trap
We consider a Brownian particle of mass dragged through a viscous fluid with friction coefficient by a harmonic potential
where is the (constant) trap stiffness. The focus of the optical trap is changed time-dependently from an initial position to a final position . Including inertial effects, the Langevin equation reads
where thermal fluctuations are modeled by Gaussian white noise
The mean work spent in the process of total duration is given by
where the average is over the intitial thermal distribution and over the noise history. In the present case the total (mean) work reduces to
where, for simplicity in the notation, we have defined the mean position of the particle as . This quantity depends on the whole history of and thus, the work is a non-local functional of the protocol . However, in analogy to the overdamped limit Schmiedl and Seifert (2007), we can express the work as a local functional of the mean particle position . By averaging the evolution equation (3) we have
The only term remaining in the integral, , is identical to the one in the overdamped limit, while the boundary terms are different. In complete analogy to the overdamped case, we now proceed in two steps. First, we calculate the optimal shape minimizing only the integral given initial values and . Note that despite the initial equilibrium value , we are free to choose since the necessary “kink” in at does not contribute to the integral. Similarly, at the end of the protocol (at ) there can be another jump in the velocity. In a second step, we adjust the constant to yield the minimal total work. First, from the Euler-Lagrange equation corresponding to the Lagrangian (and subject to the initial conditions just mentioned), we find
for . In contrast to the overdamped case, we cannot determine all the boundary terms at from the evolution equation. Thus, is another free parameter. With , we get the total work as a function of the yet unknown constants and
The work is clearly minimal for , where the asterisk will denote optimal from now on. The remaining terms then read
which, surprisingly, is exactly the same expression that was found in the overdamped limit. Minimizing this expression with respect to leads to
Inserting Eq. (9) into Eq. (7), we find the optimal protocol
for implying symmetrical jumps
at the beginning and at the end of the process.
Superficially, this optimal protocol looks like the expression in the overdamped case Schmiedl and Seifert (2007). There is, however, a subtle difference arising from the presence of inertia terms. The optimal protocol forces the mean velocity to instantly jump at the beginning of the process from its initial equilibrium value to . At the end of the protocol, the optimal strategy consists in setting back the mean velocity to zero . Due to the second time derivative in the equation of motion such jumps in the velocity, which require delta functions in the acceleration, imply a delta-type singularity in the protocol. Specifically, in Eq. (7), the jumps in imply a -function for and hence a function in . The optimal protocol [Eq. (14)] thus becomes
as shown in Fig. 1. In the overdamped limit, , the delta peaks vanish.
II.2 Physical origin of singularities in the optimal protocol
The benefit of having jumps in the optimal protocol can be understood intuitively as follows. From the perspective of minimal dissipation, it is obvious that the particle should be dragged at a constant (mean) velocity from the beginning rather than being accelerated during a finite time. This initial jump in the velocity of the particle can only be achieved by a finite initial difference , corresponding to a jump in at . In the present underdamped regime, a velocity jump corresponds to a jump in the (mean) particle momentum which can only be achieved by a delta peak in the force, corresponding to a delta peak in the protocol.
The final jump is harder to grasp intuitively. In fact, it stems from focussing on the minimal work rather than on the minimal (mean) dissipation (or entropy production). If we had searched for the minimal entropy production (as defined in Seifert (2005)), we would have found an optimal protocol without a final jump. In the present minimization, at the final time , the particle is still in non-equilibrium with respect to the final potential . Relaxation to equilibrium leads to further dissipation after time which has, however, already been paid for by the total work since at constant no work is exerted anymore. A smaller final particle position leads to a longer relaxation time which can decrease the total dissipation of the combined process (nonequilibrium transition and relaxation).
The final delta peak corresponds to setting the final velocity to zero. This decreases the kinetic energy of the particle and thus is beneficial for a small work. It also explains the surprising fact that, according to Eq. (13), we do not have to pay any extra cost for having inertia. During the initial singularity, the exerted work is stored in the (mean) kinetic energy of the particle. This contribution is fully recovered during the final singularity where the kinetic energy of the particle is set back to the equilibrium value.
II.3 Comparison to a linear protocol
Without prior knowledge, one might have expected a continuous linear protocol
Solving the second order differential equation of motion (7) using the linear protocol , we find the ratio:
III Case Study II: The Stiffening trap
In the first case study, only the averaged quantity appeared in the work and thus the same result could have been obtained from a deterministic damped dynamics. We next examine a second case study where fluctuations are important. We consider a Brownian particle of mass in an optical trap with time dependent stiffness which is driven from an initial value to a final value in a finite time . The time dependent potential
leads to the underdamped Langevin equations
where is the momentum of the particle and the noise has the same properties introduced in the first case study. Again our main goal is to find the protocol for which the corresponding total (mean) work
is minimal. Note that the mean squared position
of the particle is non-trivially coupled to the mean squared momentum
Their time evolution is governed by the set of coupled differential equations
Unlike both the moving trap (with and without inertia) and the stiffening trap in the overdamped limit, the present case is much more involved since one cannot eliminate the protocol and write the work as a function of one variable only. We thus express the work as a time-local functional of and . Solving Eqs. (27) and (29) for yields
which, inserted in Eq. (23) and after partial integration, leads to
We proceed in two steps analogously to the moving trap. We first minimize the integral in Eq. (31) for given initial conditions and then optimize with respect to remaining free parameters. The integrand depends on (and ) but also on . The variables and are not independent. Eliminating and from the equations of motion (27), (28), and (29), we find the physical constraint
A detailed analysis of the solution of this optimization problem using Euler-Lagrange equations is given in Appendix A.
The results for both the rescaled optimal protocol and the optimal work depend on the dimensionless quantities
with optimized parameter and optimized final delta peak, and (iii) a protocol leading to
IV Concluding Discussion
In summary, we have calculated optimal protocols yielding the minimal mean work for underdamped Langevin dynamics in two different model potentials. Surprisingly, these optimal protocols involve jumps and delta peaks at the initial and final times and . While we have shown that the singularities in the optimal protocol appear for harmonic potential, there is no reason to believe that this feature generically vanishes for anharmonic potentials. In fact, in the overdamped limit, a recent study has shown that initial and final jumps are also present in a simple anharmonic potential Then and Engel (2008). At first sight, such singularities seem to be unphysical since neither jumps nor delta peaks can be implemented in real experiments. Still our theoretical result is an important insight because it implies that there exists no optimal continuous protocol. Every such protocol could be improved by even steeper gradients mimicking the jumps and delta peaks at the beginning and end. If there was an experimental constraint on the allowed maximum rate of change in , , the minimal work would still be achieved by a protocol which looks roughly like the optimal one, with the jumps and delta peaks replaced by their best approximation consistent with (e. g. steep straight lines instead of jumps). Thus, it should be possible to exploit our results for real experiments.
Our results may also be used in steered MD simulations. Even though we here have calculated optimal protocols for underdamped Langevin dynamics, there is no reason to believe that other thermostats frequently used in MD simulations would yield qualitatively different results for the optimal protocol. We have neglected memory effects by assuming white noise. While there are systems for which the underdamped Langevin equation is an appropriate physical description Douarche et al. (2006), it might still be interesting to see how our results are altered when considering memory effects.
The optimal protocol for a minimal mean work is not strictly equivalent to a protocol leading to an optimized free energy estimate. However, it has been found that the latter shares the same features (jumps at the boundaries) for overdamped Langevin dynamics Dellago (2007). Moreover, the optimal protocol leads to improved estimates of the free energy difference in both of our (underdamped) case studies. For case study I, the work distribution is Gaussian Mazonka and Jarzynski (1999); Tooru Taniguchi, E. G. D. Cohen (2008) for which it has been shown that the error in the estimate of the free energy difference decreases with decreasing mean work Gore et al. (2003). In our second case study, for which the work distribution is no longer Gaussian, the error in the estimate of the free energy difference is indeed lower for the optimal protocol compared to a linear protocol, see Fig. 4 and its caption for technical details. For thermodynamic integration, it is obvious that a minimum mean work leads to the best estimate of the free energy difference. We thus conjecture that appropriate singularities at the boundaries generically improve free energy calculations from either fast growth methods or thermodynamic integration.
For determining the optimal protocol for an unknown potential, we envisage an adaptive procedure in which trial protocols (including estimated singularities) are successively improved in an iterative fashion guided by the monitored work values. It might also prove beneficial to use the optimal moving trap protocol (case study I) rather than a linear protocol in simulations of (protein) pulling experiments.
Appendix A Solution of the optimization problem in case study II
In this appendix, we give a detailed analysis of the numerical solution of the optimization problem. In order to minimize the integral in Eq. (31), the constraint [Eq. (33)] is included in an effective Lagrangian through a Lagrange multiplier . Then the Euler-Lagrange equations whose solutions minimize the integral in Eq. (31) are obtained from
which, together with the constraint , define a system of three differential equations for , and . By defining the useful new variable
we can write the initially cumbersome differential equations (37) after a tedious manipulation in the following reduced form
These equations have no analytical solution but they can easily be solved numerically for given initial conditions , , and . It is important to note that some of these initial conditions are not fixed by the initial equilibrium conditions , , , , but can be realized by additional discontinuities in the respective quantities at the boundaries. If such discontinuities do not change the value of the integral in Eq. (31), they do not affect the optimization of the integral via the Euler-Lagrange equations and hence the respective initial conditions should (in a first step) be treated as free parameters. Since the Langrangian does not depend on , discontinuities in and can occur at the boundaries. However, a jump in the mean squared position would affect the integral in Eq. (31) and thus must be chosen to be continuous at the boundaries, enforcing . Likewise, discontinuities in can occur at the boundaries. However, the initial values and are related by the constraint . Integrating this constraint
We consider a (possible) discontinuity through the parameter in
With Eq. (44), the jump in the derivative of at the initial time as a function of becomes
In the case in which , the correct sign is the negative one. Note that the last equation implies , so that at the initial time and given the equilibrium initial distribution, it is not possible to have a decrease in the mean squared momentum. From Eqs. (44) and (38) we also find
Secondly, we define a new free parameter in
which, from the evolution equation (29), directly yields . Then, writing Eq. (39) at and inserting the above values, the initial value of the Lagrange multiplier needed to solve the Euler-Lagrange equations is
Last, from the evolution equations (27)-(29) we find the relative value of the initial jump in the protocol as a function of and :
At the end of the process, the value of is allowed to jump again. Recalling Eq. (43) applied now at the final time and isolating , we obtain
Every quantity on the right hand side of the last equation except for is fixed by the solution of the Euler-Lagrange equation. The minimum value for , which leads to the minimal contribution to the work in Eq. (54), is reached for .
For a comparison of the present case with its overdamped analogue Schmiedl and Seifert (2007), one can formally integrate the differential equations for and and plug them into Eq. (39) to obtain the following integro-differential equation for ,
where and
Combining Eqs. (27)-(29), the work [Eq. (23)] can be written as
To calculate the integral, we insert the solution of the Euler-Lagrange equations for , which depends on and . Then, we need to insert the boundary values for and at and . In a last step, the work is optimized with respect to the free parameters and .
References
Figure captions
Figure 1 : Scheme of the optimal mean position and protocol .