A Brief Introduction to Statistical Mechanics

Similar documents
ChE 210B: Advanced Topics in Equilibrium Statistical Mechanics

although Boltzmann used W instead of Ω for the number of available states.

Introduction Statistical Thermodynamics. Monday, January 6, 14

2. Thermodynamics. Introduction. Understanding Molecular Simulation

Brief Review of Statistical Mechanics

ChE 503 A. Z. Panagiotopoulos 1

(# = %(& )(* +,(- Closed system, well-defined energy (or e.g. E± E/2): Microcanonical ensemble

Entropy and Free Energy in Biology

Molecular Modeling of Matter

Computer simulation methods (1) Dr. Vania Calandrini

Recitation: 10 11/06/03

Statistical Mechanics. Atomistic view of Materials

Contents. 1 Introduction and guide for this text 1. 2 Equilibrium and entropy 6. 3 Energy and how the microscopic world works 21

Entropy and Free Energy in Biology

Statistical Thermodynamics and Monte-Carlo Evgenii B. Rudnyi and Jan G. Korvink IMTEK Albert Ludwig University Freiburg, Germany

Thus, the volume element remains the same as required. With this transformation, the amiltonian becomes = p i m i + U(r 1 ; :::; r N ) = and the canon

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Statistical Physics I Spring Term 2013 Notes on the Microcanonical Ensemble

1 The fundamental equation of equilibrium statistical mechanics. 3 General overview on the method of ensembles 10

Understanding Molecular Simulation 2009 Monte Carlo and Molecular Dynamics in different ensembles. Srikanth Sastry

Nanoscale simulation lectures Statistical Mechanics

PHYS 352 Homework 2 Solutions

Statistical thermodynamics for MD and MC simulations

i=1 n i, the canonical probabilities of the micro-states [ βǫ i=1 e βǫn 1 n 1 =0 +Nk B T Nǫ 1 + e ǫ/(k BT), (IV.75) E = F + TS =

Statistical. mechanics

9.1 System in contact with a heat reservoir

[S R (U 0 ɛ 1 ) S R (U 0 ɛ 2 ]. (0.1) k B

Thermodynamics and Kinetics

Monte Carlo Methods. Ensembles (Chapter 5) Biased Sampling (Chapter 14) Practical Aspects

Chapter 4: Going from microcanonical to canonical ensemble, from energy to temperature.

5. Systems in contact with a thermal bath

to satisfy the large number approximations, W W sys can be small.

Statistical thermodynamics (mechanics)

4. Systems in contact with a thermal bath

summary of statistical physics

where (E) is the partition function of the uniform ensemble. Recalling that we have (E) = E (E) (E) i = ij x (E) j E = ij ln (E) E = k ij ~ S E = kt i

Grand Canonical Formalism

2m + U( q i), (IV.26) i=1

Monatomic ideal gas: partition functions and equation of state.

Solution to the exam in TFY4230 STATISTICAL PHYSICS Wednesday december 21, 2011

Part II: Statistical Physics

763620SS STATISTICAL PHYSICS Solutions 5 Autumn 2012

Lecture 4: Entropy. Chapter I. Basic Principles of Stat Mechanics. A.G. Petukhov, PHYS 743. September 7, 2017

Chapter 2 Ensemble Theory in Statistical Physics: Free Energy Potential

Lecture 6: Ideal gas ensembles

Solutions to Problem Set 8

Statistical Mechanics in a Nutshell

Part II: Statistical Physics

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Statistical Physics I Spring Term Solutions to Problem Set #10

( ) Lectures on Hydrodynamics ( ) =Λ Λ = T x T R TR. Jean-Yve. We can always diagonalize point by point. by a Lorentz transformation

III. Kinetic Theory of Gases

(i) T, p, N Gibbs free energy G (ii) T, p, µ no thermodynamic potential, since T, p, µ are not independent of each other (iii) S, p, N Enthalpy H

Chapter 10: Statistical Thermodynamics

Time-Dependent Statistical Mechanics 5. The classical atomic fluid, classical mechanics, and classical equilibrium statistical mechanics

G : Statistical Mechanics Notes for Lecture 3 I. MICROCANONICAL ENSEMBLE: CONDITIONS FOR THERMAL EQUILIBRIUM Consider bringing two systems into

Basic Concepts and Tools in Statistical Physics

Phase transitions for particles in R 3

CH 240 Chemical Engineering Thermodynamics Spring 2007

( ) ( )( k B ( ) ( ) ( ) ( ) ( ) ( k T B ) 2 = ε F. ( ) π 2. ( ) 1+ π 2. ( k T B ) 2 = 2 3 Nε 1+ π 2. ( ) = ε /( ε 0 ).

An Outline of (Classical) Statistical Mechanics and Related Concepts in Machine Learning

Copyright 2001 University of Cambridge. Not to be quoted or copied without permission.

We already came across a form of indistinguishably in the canonical partition function: V N Q =

macroscopic view (phenomenological) microscopic view (atomistic) computing reaction rate rate of reactions experiments thermodynamics

1. Thermodynamics 1.1. A macroscopic view of matter

Grand-canonical ensembles

The Microcanonical Approach. (a) The volume of accessible phase space for a given total energy is proportional to. dq 1 dq 2 dq N dp 1 dp 2 dp N,

Basics of Statistical Mechanics

1 Garrod #5.2: Entropy of Substance - Equation of State. 2

Molecular Interactions F14NMI. Lecture 4: worked answers to practice questions

CHEM-UA 652: Thermodynamics and Kinetics

Statistical Mechanics

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

The Partition Function Statistical Thermodynamics. NC State University

Statistical Mechanical Ensembles

4.1 Constant (T, V, n) Experiments: The Helmholtz Free Energy

Microcanonical Ensemble

Thermodynamics, Statistical Mechanics and Entropy

Statistical Thermodynamics

U = γkt N. is indeed an exact one form. Thus there exists a function U(S, V, N) so that. du = T ds pdv. U S = T, U V = p

1 Phase Spaces and the Liouville Equation

Exam TFY4230 Statistical Physics kl Wednesday 01. June 2016

UNIVERSITY OF OSLO FACULTY OF MATHEMATICS AND NATURAL SCIENCES

...Thermodynamics. Entropy: The state function for the Second Law. Entropy ds = d Q. Central Equation du = TdS PdV

Gases and the Virial Expansion

Removing the mystery of entropy and thermodynamics. Part 3

Atkins / Paula Physical Chemistry, 8th Edition. Chapter 16. Statistical thermodynamics 1: the concepts

The Direction of Spontaneous Change: Entropy and Free Energy

Physics 112 The Classical Ideal Gas

Free energy calculations and the potential of mean force

Lecture 2: Intro. Statistical Mechanics

Statistical mechanics of classical systems

5. Systems in contact with a thermal bath

Molecular Simulation Background

Handout 10. Applications to Solids

Properties of Entropy

X α = E x α = E. Ω Y (E,x)

The Second Virial Coefficient & van der Waals Equation

Classical Statistical Mechanics: Part 1

ADIABATIC PROCESS Q = 0

What is Classical Molecular Dynamics?

fiziks Institute for NET/JRF, GATE, IIT-JAM, JEST, TIFR and GRE in PHYSICAL SCIENCES

Transcription:

A Brief Introduction to Statistical Mechanics E. J. Maginn, J. K. Shah Department of Chemical and Biomolecular Engineering University of Notre Dame Notre Dame, IN 46556 USA Monte Carlo Workshop Universidade Federal do Rio de Janeiro Rio de Janeiro Brazil

Statistical Mechanics A central concept is the equilibrium ensemble Formal definition: An equilibrium ensemble describes the equilibrium probability density distribution in phase space of a system subject to given external constraints Phase space: 6N space of positions (q) and momenta (p) of all atoms N Different ensembles correspond to systems having different constraints Depending on the system, one of several different ensembles may be easiest to use All ensembles yield the same thermodynamic behavior in thethermodynamic limit

Postulates Ergodic Hypothesis: Given enough time, a system will sample all microstates consistent with the constraints imposed. Time averages are equivalent to ensemble averages Mathematically x = i x iρ i i ρ i 1 = lim t t x i t i (1) where ρ i is the probability density of state i. Equal a Priori Probabilities: All microstates having the same energy are equally probable. We use this postulate to construct distribution functions based solely on energetics Mathematically, ρ i = ρ i (E i ) (2) i

Microcanonical Ensemble Imagine a box with insulated, rigid, impermeable walls. The molecules in the box are isolated: no energy exchange with the surroundings (E is constant) The box is rigid (no volume change) The walls are impermeable (N is constant) Thermodynamic constraints are constant NVE This is the natural constraints of the equations of motion (molecular dynamics ensemble)

Microcanonical Ensemble Microstate 2 Microstate 3 Microstate 1 constant N,V,E Microstate 4 Microstates 2,3 and 4 have same constraints as microstate 1 - they are at same thermodynamic state Each arrangement of (q N, p N ) different ensemble: large collection of different microstates With time, molecules explore entire (q N, p N ) space

Microcanonical Ensemble W (N, V, E) be number of microstates with energy between E and E δe δe is resolution limit for energy Equal a priori probabilities means that for a given microstate ν if E δe < Eν < E, then Pν NVE 1 = W (N,V,E) otherwise P NVE ν = 0 Pν NVE is the probability of a microstate (not an energy level) Probability of an energy level, E ν, is found by multiplying Pν NVE by the degeneracy of that level

Microcanonical Probability Distribution Classically, microstates form a continuum in phase space The equilibrium probability density, ρ NVE (p N, q N ), is given by 1. if E δe < H(q N, p N ) < E, then ρ NVE (q N, p N 1 )= Σ(N,V,E) 2. otherwise ρ NVE (q N, p N )=0 where Σ(N, V, E) = Γ dq N dp N The shorthand notation Γ refers to the region of phase space where E δe < H(p N, q N ) < E Note the dimensions of ρ NVE are (pq) 3N, which is consistent with a density.

Classical and Quantum Formulation Reconciliation Classically, define a dimensionless quantity that corresponds to the number of microstates in the quantum mechanical formulation: W (N, V, E) = 1 1 h 3N Σ(N, V, E) = N! h 3N dp N dq N (3) N! Γ Prefactor 1/(h 3N N!) simply ensures consistency between classical and quantum mechanical pictures h 3N tells us there is a lower limit to the resolution with which we can define state points, and makes W dimensionless N! arises from the indistinguishability of molecules (correct Boltzmann counting ).

Connection with Thermodynamics Boltzmann s expression for entropy S(N, V, E) k B ln W (N, V, E) (4) This is the connection between (NVE) ensemble and thermodynamics Recall that ( ) S E N,V = 1/T (5) Thus, we see that ( ) ln W β (k B T ) 1 = E (6) N,V Thermodynamic condition that temperature is positive requires that W (N, V, E) be a monotonic increasing function of E (c) 2011 University of Notre Dame

Canonical Ensemble Natural ensemble of MC Imagine a collection of microstates, each contained by rigid, impermeable but thermally conductive walls What is constant? Rigid: volume Impermeable: number of molecules Thermally conductive: NOT energy, but temperature

Canonical Ensemble Natural ensemble of MC Imagine a collection of microstates, each contained by rigid, impermeable but thermally conductive walls What is constant? Rigid: volume Impermeable: number of molecules Thermally conductive: NOT energy, but temperature

Canonical Ensemble Natural ensemble of MC Imagine a collection of microstates, each contained by rigid, impermeable but thermally conductive walls What is constant? Rigid: volume Impermeable: number of molecules Thermally conductive: NOT energy, but temperature

Canonical Ensemble Natural ensemble of MC Imagine a collection of microstates, each contained by rigid, impermeable but thermally conductive walls What is constant? Rigid: volume Impermeable: number of molecules Thermally conductive: NOT energy, but temperature

Canonical Ensemble Energy of each microstate can fluctuate Conjugate variable (T) of each microstate constant The entire system can be treated as an NVE system, but each cell is at constant NVT Collection of such microstates defines canonical ensemble

Canonical Ensemble, cont. What is the probability distribution for this ensemble? N i is number of members in state i with energy E i Sum over all members in each state i gives total number of members (constraint on N ) N = i N i (7) Total energy is constrained E = i N i E i (8) As is the total volume V = i V i (9) where V i is the volume of microstate i

Canonical Ensemble, cont. For any of distributions, the probability of finding N j ensemble members in the jth state is ρ j = N j N (10) But what is N j? Replace N j with the expectation value N j determined from all combinations of the N ensemble members Solution: assume equal a priori probabilities (that is, equal probabilities for energetically degenerate states)

Canonical Ensemble We sketch the derivation in the notes. The result is ρ k = e βe k j e βe j (11) This is the canonical ensemble ( Boltzmann ) probability distribution Use to find expectation value of any mechanical property that depends upon the microscopic state of the system β is an undetermined multiplier We show in notes that β = 1 k B T (12)

Canonical Ensemble ρ k = e βe k j e βe j The denominator is the normalization term for the distribution of all states It is an important quantity which will appear in all canonical ensemble averages, and so is given a name Q(N, V,β)= k e βe k (13) Q is the canonical ensemble partition function, so called because it is a sum over all the states partitioned by energy level.

Classical Formulation Hamiltonian H(p N, q N )= ( i p2 i /(2m i)+v(q N ) ) Q = 1 h 3N N! Probability density [ ( )] dp N dq N exp β pi 2 /(2m i)+v(q N ) ρ NVT (q N, p N )= exp ( β[h(q N, p N )] ) i Q NVT (N, V, T ) (14) (15)

Connection With Thermodynamics In the notes, we show how various thermodynamic quantities are related to Q. Here we just state the results: ( ) ( ) U = ln Q β = k BT 2 ln Q V,N T V,N ( ) P = k B T ln Q V N,T ( ) S = U T + k B ln Q = k B T ln Q T + k B ln Q N,V A = k B T ln Q If we knew Q, we could compute all the thermodynamic properties of a system!

Computing a Partition Function Can we compute Q directly? Consider simple system of N interacting particles with only two states ( up or down ) How many configurations are there to evalute? 2 N configurations So for 100 particles, you must evaluate 2 100 = 1 10 30 configurations! Obviously, we need to do something else. More on this later.

Computing a Partition Function Can we compute Q directly? Consider simple system of N interacting particles with only two states ( up or down ) How many configurations are there to evalute? 2 N configurations So for 100 particles, you must evaluate 2 100 = 1 10 30 configurations! Obviously, we need to do something else. More on this later.

Computing a Partition Function Can we compute Q directly? Consider simple system of N interacting particles with only two states ( up or down ) How many configurations are there to evalute? 2 N configurations So for 100 particles, you must evaluate 2 100 = 1 10 30 configurations! Obviously, we need to do something else. More on this later.

Isothermal - Isobaric Ensemble Most experiments are conducted at constant T and P The isothermal isobaric (NPT) ensemble Constant number of particles, temperature, and pressure Thus, the volume will fluctuate, and must become a variable of the phase space A point in phase space given by specifying V, q N, and p N

The probability density is derived in the manner used for the canonical ensemble. The result ρ NPT (q N, p N, V )= exp ( β[h(q N, p N ; V )+PV ] ) Q NPT (N, P, T ) (16) where Q NPT is the isothermal isobaric partition function in the semi-classical form 1 ( ) Q NPT = N!h 3N dv dq N dp N exp β[h(q N, p N ; V )+PV ] V 0 (17) Often the symbol is used for Q NPT

The factor V 0 is some basic unit of volume chosen to render Q NPT dimensionless. Notice that Q NPT = 1 V 0 dv exp( βpv )Q NVT (q N, p N ; V ) (18) where Q NVT is the canonical ensemble partition function of the system at volume V. The connection with thermodynamics is via the Gibbs function G(N, P, T )= 1 β ln Q NPT (N, P, T ) (19)

Grand Canonical Ensemble Canonical ensemble: many systems enclosed in container with impermeable, rigid, heat conducting walls Each system specified by N, V, T. grand canonical ensemble: each system enclosed in a container with permeable, rigid, heat conducting walls

Grand Canonical Ensemble, cont All boxes have permeable, rigid and heat conducting walls Each system characterized by constant µ i,v,t Number of particles fluctuates (can range 0 ) Notes show how to derive the grand canonical partition function

Grand Canonical Ensemble, cont Turns out the grand canonical ensemble can be thought of as an expanded canonical ensemble Ξ(µ, V, T )= N e βe Nj(V ) e βµn (20) Allow for variation of N with conjugate variable µ Ξ is the grand canonical partition function Summing over j for fixed N relates Q and Ξ j Ξ(µ, V, T )= N Q(N, V, T )e βµn (21)

Grand Canonical Ensemble, cont Ξ(µ, V, T )= N Q(N, V, T )e βµn (22) e βµ often denoted λ Thus µ = k B T ln λ λ is the absolute activity Difference in chemical potentials between two states is given by µ = k B T ln(a 2 /a 1 )

Grand Canonical Ensemble, Classical Form Classical form over continuous variables exp(βµn) ( ) Ξ(µ, V, T )= h 3N dp N dq N exp βv(p N, q N ) N! N=0 (23)

Configurational Integrals If Hamiltonian is separable H(p N, q N )=K(p N )+V(q N ) (24) kinetic energy term many be integrated out analytically Thermodynamic properties only depend on q N Can obtain thermodynamic properties from the configurational integral. Examples: ( ) Z NVT = dq N exp βv(q N ) (25) Z NPT = dv exp( βpv ) ( ) dq N exp βv(q N ) (26)

Summary Configurational integrals and probability densities are key elements of Monte Carlo algorithms We will show how they are used to compute ensemble averages Important to know what set of thermodynamic constraints are being imposed