stochastic thermodynamics and thermodynamics of ... · stochastic dynamics • non-equilibrium...

32
Stochastic Thermodynamics and Thermodynamics of Information Lecture I: Motivation, Basics Luca Peliti April 20, 2018 Statistical Physics, SISSA and SMRI (Italy)

Upload: others

Post on 22-Jul-2020

24 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Stochastic Thermodynamics andThermodynamics of InformationLecture I: Motivation, Basics

Luca PelitiApril 20, 2018

Statistical Physics, SISSA and SMRI (Italy)

Page 2: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Table of contents

1. Introduction

2. Prerequisites

3. Principles

1

Page 3: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Motivations

• What is Stochastic Thermodynamics (ST) and why are weinterested in it?

• What systems are of interest to ST?• What is the relation between ST, and Statistical Mechanics onone side and Thermodynamics on the other side?

• What is Information Thermodynamics and what is its relation toST?

2

Page 4: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Stochastic Thermodynamics

Stochastic Thermodynamics is a thermodynamic theoryfor mesoscopic, non-equilibrium physical systemsinteracting with equilibrium thermal (and/or chemical)reservoirs

3

Page 5: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Stochastic Thermodynamics

Thermodynamic: ST aims at drawing a correspondence between amesoscopic stochastic dynamics and macroscopicthermodynamics

Mesoscopic: ST deals with physical systems with typical energy∼ kBT : colloidal particles, macromolecules, etc.

Non-equilibrium: One typically considers either manipulatedsystems, or systems kept in steady states out ofequilibrium

Interacting: Systems evolve according to a stochastic dynamicsresulting from interactions with one (or more) thermalreservoirs, which are represented by random noise

Equilibrium reservoirs: Thermal reservoirs relax very fast, so thatthey can effectively be considered always atequilibrium. This separation of timescales is key to thesimplicity of stochastic thermodynamics

3

Page 6: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Stochastic Thermodynamics

Macroscopic

Stochastic thermodynamics

Fundamental

Thermodynamics

Mechanics

StatisticalMesoscopic

Microscopic

3

Page 7: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Thermodynamics of Information and ST

• Maxwell’s demon thought experiment showed how entropy isrelated to the lack of knowledge on the system

• Maxwell, Boltzmann, Gibbs emphasized the link betweenthermodynamical entropy and disorder of a physical systems

• Szilárd’s demon showed how information on a system can beput to advantage to apparently “violate” the 2nd law

• Information on a system must be taken into account in theentropy balance: The corresponding entropies are ∼ kB per DoF

• For mesoscopic systems ∆E ∼ kBT , ∆S ∼ kB, information isthermodynamically relevant

4

Page 8: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Stochastic dynamics

• Non-equilibrium systems require a dynamical description• The systems are mesoscopic: Dynamics is stochastic(non-deterministic)

• Stochastic dynamics is constrained by equilibrium statisticalmechanics requirements

• Energy and entropy balance is evaluated on the reservoirs(ordinary thermodynamics)

• The resulting identities do not explicitly involve the dynamics

Disclaimer: I shall only consider classical systems

5

Page 9: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Plan of the Course

1. Stochastic Thermodynamics: What is it and why is it useful?2. Prerequisites: Thermodynamics, Statistical Mechanics,

Stochastic Dynamics, Information Theory3. Basic concepts of Stochastic Thermodynamics (ST): Mesoscopic

systems, Work and Heat in ST, Fluctuating entropy4. Fluctuation relations and their uses5. Thermodynamic of Information: Entropy and Information

balance, Thermodynamic and computational reversibility,Speed-accuracy tradeoffs

6. Experimental results7. Ramification: Work extraction and population dynamics,

Statistical physics of adaptation, Historical (retrospective)fitness

8. Conclusions and outlook

6

Page 10: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Principles of Thermodynamics

First principle: ∆E = Q+W

• E: Internal energy (function of state)• W : “mechanical” work (controlled energyexchange)

• Q: “heat” (uncontrolled energy exchange)• W and Q are functions of the process, not of thestate

Second principle: There is a function of state S(X) such that∆S ≥ 0 for adiabatically isolated systems

• ∆S = Qrev/T

• ∆S = ∆iS +∆eS, ∆iS ≥ 0

7

Page 11: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Reservoirs

Reservoirs are thermodynamic equilibrium systemsEnergy vs. Entropy change in a reservoir:

∆E = T ∆S

Thermal reservoirs: ∆S = ∆E/T

Work reservoirs: ∆E ̸= 0, ∆S = 0, ⇒ T = ∞Information reservoirs: ∆E = 0, ∆S ̸= 0, ⇒ T = 0

8

Page 12: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Reservoirs

S

T = 0

Info

T = ∞

E E

S

S

S

E

Work

T1

Heat

T2

Heat

A. Engel

9

Page 13: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Carnot’s Engine

S

T = ∞

E E

SS

E

Work

T1

Heat

T2

Heat

10

Page 14: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Refrigerator

S

T = ∞

E E

SS

E

Work

T1

Heat

T2

Heat

11

Page 15: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Statistical mechanics of equilibrium

• Equilibrium states are described by ensembles• Canonical ensemble:

peqx = e(F−Ex)/kBT F = −kBT log∑x

e−Ex/kBT

• Entropy of an equilibrium ensemble (Gibbs’ formula)

S = −kB∑x

peqx log peqx

• Helmholtz’ free energy

F = ⟨E⟩peq − TS, ⟨E⟩peq =∑x

peqx Ex

12

Page 16: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Stochastic dynamics

• System states x, energy Ex

• Transitions x′ −→ x: rate Rxx′ (due to coupling with reservoir (r)at temperature T )

• Master equation for the occupation probability px(t):

dpxdt

=∑

x′ ( ̸=x)

Rxx′px′︸ ︷︷ ︸inflow

−Rx′xpx︸ ︷︷ ︸outflow

• Connection to equilibrium: We require the detailed-balancecondition: (DB)

Rxx′

Rx′x=

peqxpeqx′

= e(Ex′−Ex)/kBT

• DB expresses microscopic reversibility: Jeqx−→x′ = Jeq

x′−→x

• Starting from an arbitrary px(t=0) one has px(t) → peqx

13

Page 17: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Shannon entropy

Shannon’s entropy is a measure of the information content of aprobability distribution function (pdf)

H(p) = −∑x

px log px

Properties:

• H(p) ≥ 0

• H(p) = 0 ⇔ px = δxx0, ∃x0

• H(pXpY ) = H(pX) +H(pY )

• If X = {1, . . . , r}, H(pX) ≤ log r

Gibbs’ formula readsS = kBH(peq)

14

Page 18: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Relative entropy

The relative entropy (or Kullback-Leibler divergence) of two pdf’s pand q is a measure of their difference

DKL(p∥q) =∑x

px logpxqx

Properties:

• DKL(p∥q) ≥ 0

• DKL(p∥q) ̸= DKL(q∥p)• DKL(p∥q) = 0 ⇔ px = qx, ∀x

15

Page 19: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Relative entropy and equilibrium

S described by a pdf p, in contact with a reservoir at temperature T :

• Average energy ⟨E⟩p =∑

x pxEx

• Shannon entropy H(p) = −∑

x px log px

• Relative entropy wrt the equilibrium distribution:

DKL(p∥peq) =∑x

px logpxpeqx

=−F eq + ⟨E⟩p

kBT−H(p)

=1

kBT

⟨E⟩p − kBTH(p)︸ ︷︷ ︸Fnon−eq

−F eq

• Consequences:

• Minimum obtains for p = peq

• If ⟨E⟩p = ⟨E⟩peq , kBH(p) ≤ S

16

Page 20: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Relative entropy and the approach to equilibrium

• Let S obey a Master Equation with rates R = (Rij) satisfyingdetailed balance (DB) at temperature T

• Given p(t) = (px(t)), evaluate

D =d

dtDKL(p∥peq)

• We have

D =∑x

dpxdt

logpxpeqx

=∑x

∑x′ (̸=x)

′(Rxx′px′ −Rx′xpx) log

pxpeqx

=∑x<x′

′(Rxx′px′ −Rx′xpx)

(log

pxpeqx

− logpx′

peqx′

)=∑x<x′

′Rxx′peqx′

(px′

peqx′− px

peqx

)(log

pxpeqx

− logpx′

peqx′

)≤ 0

• ⇒ peq is the only stable fixed point

17

Page 21: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Mesoscopic systems

Deterministic

Fluctuating

System S, N ∼ 1

Reservoir (r), N → ∞

• Reservoir dynamics: very fast• The system is manipulated via a parameter λ• Details of the reservoir-system interaction are hidden under thecarpet

18

Page 22: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Work and Heat in Stochastic Dynamics

Manipulated system: DB is satisfied with Ex = Ex(λ(t)), ∀t

x3

E

tt3t2t1

x0

x1

x2

Trajectory: x = ((x0, t0), (x1, t1), . . . , (xn, tn), tf)

19

Page 23: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Work and Heat in Stochastic Dynamics

Manipulated system: DB is satisfied with Ex = Ex(λ(t)), ∀t

• Ex = Ex(λ), λ = λ(t) (“protocol”)• Rx′x = Rx′x(λ) satisfying the DB• Change of energy for the system:

Exf(tf)− Ex0(t0) =

n∑k=1

(Exk

(tk)− Exk−1(tk)

)︸ ︷︷ ︸

heat=Q

+

n+1∑k=1

∫ tk

tk−1

dt λ̇(t)∂Exk−1

∂λ

∣∣∣∣λ(t)︸ ︷︷ ︸

work=W

• Stochastic 1st law: ∆E = Q+W

19

Page 24: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

2nd Law in Stochastic Thermodynamics

• From DB:Rxx′

Rx′x= e−(Ex−Ex′ )/kBT = e−Qxx′/kBT = e∆S

(r)

xx′/kB

• Protocol λ = (λ(t)), R = (Rxx′(λ(t)))

• Probability of a trajectory x = ((x0, t0), (x1, t1), . . . , (xn, tn), tf):

Pλ(x) = e−∫ tftn

dt γxn (t) Rxnxn−1(λ(tn)) dtn︸ ︷︷ ︸jump

e−

∫ tntn−1

dt′′′ γxn−1(t′′′)︸ ︷︷ ︸

dwell

· · ·

× e−∫ t2t1

dt′′ γx1(t′′)Rx1x0(λ(t1)) dt1 e

−∫ t1t0

dt′ γx0(t′)px0(t0)

γx(t) =∑

x′ ( ̸=x)

′Rx′x(λ(t)) escape rate

20

Page 25: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

2nd Law in Stochastic Thermodynamics

Time inversion:

• Reverse path x̂: x̂(t) = x(t̂), t̂ = t0 + (tf − t)

• Reverse protocol λ̂: λ̂(t) = λ(t̂)

x3

t̂ft̂

t3t2t1

x0

x1

x2

t0 tft

E

t̂3 t̂2 t̂1 t̂0

• Probability of the reverse trajectory x̂ with the reverse protocolλ̂:

Pλ̂(x̂) = e−

∫ t̂ft̂n

dt γ̂x̂n (t) · · ·Rx̂1x̂0(λ̂(t̂1)) dt1e

−∫ t̂1t̂0

dt′ γ̂x̂0(t′)

px̂0(t̂0)

20

Page 26: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

2nd Law in Stochastic Thermodynamics

• Ratio Pλ(x)/Pλ̂(x̂): “dwell factors” cancel out

Pλ(x)

Pλ̂(x̂)=

n∏k=1

Rxk+1xk(λ(tk))

Rxkxk+1(λ(tk))

· px0(t0)

pxf(tf)

= exp

[− 1

kBT

n∑k=1

Qxk+1xk− log pxf

(tf) + log px0(t0)

]

• Conditioning on the starting and final states, we obtain Crooks’relation:

Pλ(x|x0)

Pλ̂(x̂|x̂0=xf)= exp

(− 1

kBT

n∑k=1

Qxk+1xk

)= e∆S(r)(x)/kB

20

Page 27: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

2nd Law in Stochastic Thermodynamics

• Define the fluctuating entropy:

s = −kB log px

• Detailed fluctuation theorem (Seifert, 2005):Pλ(x)

Pλ̂(x̂)= e(∆S(r)(x)+∆s)/kB = e∆iS(x)/kB

• Integral fluctuation theorem: From

Pλ(x) e−∆iS(x)/kB = Pλ̂(x̂)

we obtain ⟨e−∆iS/kB

⟩=

∫Dx̂Pλ̂(x̂) = 1

• By Jensen’s inequality⟨ef⟩≥ e⟨f⟩:

⟨∆iS⟩ ≥ 0

20

Page 28: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Summary

• There is some order even out of equilibrium…• Fluctuation relations exhibit properties of microscopicreversibility in a fluctuating environment

• We have focused on manipulated systems (obeying DB at alltimes)

Next lecture:

• Uses and subtleties of the fluctuation relations• Systems violating DB (non-equilibrium steady states)

21

Page 29: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

Thank you!

21

Page 30: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

References i

A. C. Barato and U. Seifert.Stochastic thermodynamics with information reservoirs.Physical Review E, 90(4):042150, 2014.

G. E. Crooks.Nonequilibrium measurements of free energy differences formicroscopically reversible Markovian systems.Journal of Statistical Physics, 90:1481–1487, 1998.

G. E. Crooks.The entropy production fluctuation theorem and thenonequilibrium work relation for free energy differences.Physical Review E, 60:2721–2728, 1999.

Page 31: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

References ii

J. M. R. Parrondo, J. M. Horowitz, and T. Sagawa.Thermodynamics of information.Nature Physics, 11:131–139, February 2015.

F. Ritort.The nonequilibrium thermodynamics of small systems.C. R. Physique, 8:528–539, 2007.

U. Seifert.Entropy production along a stochastic trajectory and anintegral fluctuation theorem.Physical Review Letters, 95:040602, 2005.

U. Seifert.Stochastic thermodynamics, fluctuation theorems, andmolecular machines.Reports on Progress in Physics, 75:126001, 2012.

Page 32: Stochastic Thermodynamics and Thermodynamics of ... · Stochastic dynamics • Non-equilibrium systems require a dynamical description • The systems are mesoscopic: Dynamics is

References iii

L. Szilárd.Über die Entropieverminderung in einem thermodynamischenSystem bei Eingreffen intelligenter Wesen.Zeitschrift für Physik, 53:840–856, 1929.