lecture 4. macrostates and microstates (ch. 2 )gersh/351/lecture 4.pdf · lecture 4. macrostates...

21
Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level, and how it can be transferred from one system to another. However, the energy conservation law (the first law of thermodynamics) tells us nothing about the directionality of processes and cannot explain why so many macroscopic processes are irreversible. Indeed, according to the 1 st law, all processes that conserve energy are legitimate, and the reversed-in-time process would also conserve energy. Thus, we still cannot answer the basic question of thermodynamics: why does the energy spontaneously flow from the hot object to the cold object and never the other way around? (in other words, why does the time arrow exist for macroscopic processes?). For the next three lectures, we will address this central problem using the ideas of statistical mechanics. Statistical mechanics is a bridge from microscopic states to averages. In brief, the answer will be: irreversible processes are not inevitable, they are just overwhelmingly probable. This path will bring us to the concept of entropy and the second law of thermodynamics.

Upload: others

Post on 29-May-2020

10 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Lecture 4. Macrostates and Microstates (Ch. 2 )

The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level, and how it can be transferred from one system to another. However, the energy conservation law (the first law of thermodynamics) tells us nothing about the directionality of processes and cannot explain why so many macroscopic processes areirreversible. Indeed, according to the 1st law, all processes that conserve energy are legitimate, and the reversed-in-time process would also conserve energy. Thus, we still cannot answer the basic question of thermodynamics: why does the energy spontaneously flow from the hot object to the cold object and never the other way around? (in other words, why does the time arrow exist for macroscopic processes?).

For the next three lectures, we will address this central problem using the ideas of statistical mechanics. Statistical mechanics is a bridge from microscopic states to averages. In brief, the answer will be: irreversible processes are not inevitable, they are just overwhelmingly probable.This path will bring us to the concept of entropy and the second law of thermodynamics.

Page 2: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Microstates and Macrostates

Macrostate: the state of a macro system specified by its macroscopic parameters. Two systems with the same values of macroscopic parameters are thermodynamically indistinguishable. A macrostate tells us nothing about a state of an individual particle. For a given set of constraints (conservation laws), a system can be in many macrostates.

Microstate: the state of a system specified by describing the quantum state of each molecule in the system. For a classical particle – 6 parameters (xi, yi, zi, pxi, pyi, pzi), for a macro system – 6N parameters.

The statistical approach: to connect the macroscopic observables (averages) to the probability for a certain microstate to appear along the system’s trajectory in configuration space, P(σ 1, σ 2,...,σ N).

The evolution of a system can be represented by a trajectory in the multidimensional (configuration, phase) space of micro-parameters. Each point in this space represents a microstate.

During its evolution, the system will only pass through accessible microstates – the ones that do not violate the conservation laws: e.g., for an isolatedsystem, the total internal energy must be conserved.

σ 1

σ 2

σ i

Page 3: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

The Phase Space vs. the Space of Macroparameters

V

T

P

σ 1

σ 2

σ ithe surface defined by an equation of

states

some macrostate

σ 1

σ 2

σ i

σ 1

σ 2

σ i

σ 1

σ 2

σ i

numerous microstates in a multi-dimensional configuration (phase) space that correspond the same macrostate

etc., etc., etc. ...

Page 4: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Examples: Two-Dimensional Configuration Spacemotion of a particle in a

one-dimensional box

-L L

-L L x

px

-px

“Macrostates” are characterized by a single parameter: the kinetic energy K0

K0

Each “macrostate” corresponds to a continuum of microstates, which are characterized by specifying the

position and momentum

K=K0

Another example: one-dimensional harmonic oscillator

x

px

K + U =const

x

U(r)

Page 5: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

The Fundamental Assumption of Statistical MechanicsThe ergodic hypothesis: an isolated system in an equilibrium state, evolving in time, will pass through all the accessible microstates at the same recurrence rate, i.e. all accessible microstates are equally probable.

The average over long times will equal the average over the ensemble of all equi-energetic microstates: if we take a snapshot of a system with N microstates, we will find the system in any of these microstates with the same probability.

Probability for a stationary system

many identical measurements on a single system

a single measurement on many copies of the system

The ensemble of all equi-energetic states ⇒ a mirocanonical ensemble.

Note that the assumption that a system is isolated is important. If a system is coupled to a heat reservoir and is able to exchange energy, in order to replace the system’s trajectory by an ensemble, we must determine the relative occurrence of states with different energies. For example, an ensemble whose states’ recurrence rate is given by their Boltzmann factor (e-E/kBT) is called a canonical ensemble.

σ 1

σ 2

σ i

microstates which correspond to the same energy

Page 6: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Probability of a Macrostate, Multiplicity

( )smicrostateaccessibleallof

macrostate given a to correspond that smicrostate of macrostate particular a ofy Probabilit

##Ω

=

=

The probability of a certain macrostate is determined by how many microstates correspond to this macrostate – the multiplicity of a given macrostate Ω .

This approach will help us to understand why some of the macrostates are more probable than the other, and, eventually, by considering the interacting systems, we will understand irreversibility of processes in macroscopic systems.

smicrostate accessible all of #1

ensemble icalmicrocanon a of microstate particular a ofy Probabilit

=

=

Page 7: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Probability “Probability theory is nothing but common sense reduced to calculations” Laplace (1819)

Multiplication rule for independent events: P (i and j) = P (i) x P (j)

Example: What is the probability of the same face appearing on two successivethrows of a dice?

The probability of any specific combination, e.g., (1,1): 1/6x1/6=1/36 (multiplication rule) . Hence, by addition rule, P(same face) = P(1,1) + P(2,2) +...+ P(6,6) = 6x1/36 = 1/6

An event (very loosely defined) – any possible outcome of some measurement.An event is a statistical (random) quantity if the probability of its occurrence, P, in the process of measurement is < 1.

The “sum” of two events: in the process of measurement, we observe either one of the events.

Addition rule for independent events: P (i or j) = P (i) + P (j)

(independent events – one event does not change the probability for the occurrence of the other).

The “product” of two events: in the process of measurement, we observe both events.

( ){ }

( )NN APA σσσσσ

,...,,..., 11∑=a macroscopic observable A:(averaged over all accessible microstates)

Page 8: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Two model systems with fixed positions of particles and discrete energy levels

- the models are attractive because they can be described in terms of discrete microstates which can be easily counted (for a continuum of microstates, as in the example with a freely moving particle, we still need to learn how to do this). This simplifies calculation of Ω. On the other hand, the results will be applicable to many other, more complicated models. Despite the simplicity of the models, they describe a number of experimental systems in a surprisingly precise manner.

- two-state paramagnet ↑↓↓↑↓↑↑↓↓↓↑↓↑....

(“limited” energy spectrum)

- the Einstein model of a solid

(“unlimited” energy spectrum)

Page 9: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

The Two-State Paramagnet

The energy of a macrostate:

↑↓ += NNN

Br

N↑ - the number of “up” spins

N↓ - the number of “down” spins

- a system of non-interacting magnetic dipoles in an external magnetic field B, each dipole can have only two possible orientations along the field, either parallel or any-parallel to this axis (e.g., a particle with spin ½ ). No “quadratic” degrees of freedom (unlike in an ideal gas, where the kinetic energies of molecules are unlimited), the energy spectrum of the particles is confined within a finite interval of E (just two allowed energy levels).

μ - the magnetic moment of an individual dipole (spin)

E

E1 = - μB

E2 = + μB

0an arbitrary choiceof zero energy

- μB for μ parallel to B,

+μB for μ anti-parallel to B

The total magnetic moment:(a macroscopic observable)

The energy of a single dipole in the external magnetic field: Bii

rr⋅−= με

A particular microstate (↑↓↓↑↓↑↑↓↓↓↑↓↑....) is specified if the directions of all spins are specified. A macrostate is specified by the total # of dipoles that point “up”, N↑ (the # of dipoles that point “down”, N ↓ = N - N↑ ).

( ) ( )↑↑↓ −=−=⋅−= NNBNNBBMU 2μμrr

( ) [ ] ( )NNNNNNNM −=−==−= ↑↑↓↓↑ 2μμ rrr

Page 10: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Example

Consider two spins. There are four possible configurations of microstates:

M = 2μ 0 0 - 2μ

In zero field, all these microstates have the same energy (degeneracy). Note that the two microstates with M=0 have the same energy even when B≠0: they belong to the same macrostate, which has multiplicity Ω=2. The macrostates can be classified by their moment M and multiplicity Ω:

M = 2μ 0 - 2μΩ = 1 2 1

For three spins:

M = 3μ μ μ μ -μ -μ -μ -3μ

M = 3μ μ - μ -3μΩ = 1 3 3 1

macrostates:

Page 11: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

The Multiplicity of Two-State ParamagnetEach of the microstates is characterized by N numbers, the number of equally probable microstates – 2N, the probability to be in a particular microstate – 1/2N.

n ! ≡ n factorial = 1·2·....·n0 ! ≡ 1 (exactly one way to

arrange zero objects)

)!(!!

!!!),(

↑↑↓↑↑ −

==ΩNNN

NNN

NNN

For a two-state paramagnet in zero field, the energy of all macrostates isthe same (0). A macrostate is specified by (N, N↑). Its multiplicity - the number of ways of choosing N↑ objects out of N :

1)0,( =Ω N NN =Ω )1,( ( )2

1)2,( −×=Ω

NNN ( ) ( )23

21)3,(×

−×−×=Ω

NNNN

( ) ( )[ ]( )!1!

!123...

1...1),(−

=××××

−−××−×=Ω

nnN

nnNNNnN

The multiplicity of a macrostate of a two-state paramagnet with (N, N↑):

Page 12: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Math required to bridge the gap between 1 and 1023

Typically, N is huge for macroscopic systems, and the multiplicity is unmanageably large – for an Einstein solid with 1023 atoms,

231010~Ω

One of the ways to deal with these numbers – to take their logarithm [ in fact, the entropy ] ( ) ( )macrostatetheoflnmacrostatetheof Ω≡ BkS⇒ thus, we need to learn how to deal with logarithms of huge numbers.

xe x =ln

( )xxxe 43.010ln/ 10~10=

( ) ( )yxxy lnlnln += ( ) ( ) ( )yxyx lnln/ln −=

( ) ( )xyx y lnln =

Page 13: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Stirling’s Approximation for N! (N>>1)

NeNNeNN

NNN ππ 22! ⎟

⎠⎞

⎜⎝⎛=≈ −

Multiplicity depends on N!, and we need an approximation for ln(N!):

NNNN −≈ ln!ln

Check:

( ) [ ] NNNxxxxx NN

−≈−=≈++++= ∫ lnlndlnlnN · · ·ln3 ln2 ln1 lnN! 11

More accurately:

because ln N << N for large N

( ) ( ) ( ) NNNNNNNN −≈++−= ln2ln21ln

21ln!ln π

N

eNN ⎟⎠⎞

⎜⎝⎛≈!or

Page 14: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

The Probability of Macrostates of a Two-State PM (B=0)

(http://stat-www.berkeley.edu/~stark/Java/BinHist.htm#controls)

- as the system becomes larger, the P(N,N↑) graph becomes more sharply peaked:

N =1 ⇒ Ω(1,N↑) =1, 2N=2, P(1,N↑)=0.5

N

NNNN

NNNNNNP

2),(

),(),(

#),(

),( ↑

↑↑↑

Ω=

ΩΩ

=allsmicrostate all of

( ) ( )( ) ( )

( )( ) NNNN

N

NNNNNNN

NN

N

NNNN

eNNeNeN

NNNNNNP

2

22!!!),(

↑↑

↑↑↑↑

−↑↑

−−−↑

−↑

↑↑↑

−=

−≈

−=

N↑

P(1, N↑)0.5

0 1 n0 0.5·1023 1023

⇒ ⇒

N↑ N↑

P(15, N↑) P(1023, N↑) - random orientation of spins in B=0 is overwhelmingly more probable

Page 15: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Multiplicity and Disorder

In general, we can say that small multiplicity implies “order”, while large multiplicity implies “disorder”. An arrangement with large Ω could be achieved by a random process with much greater probability than an arrangement with small Ω.

↑↓↓↑↓↑↑↓↓↓↑↓↑↑↑↑↑↑↑↑↑↑↑↑↑

large Ωsmall Ω

Page 16: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

The Einstein Model of a Solid

In 1907, Einstein proposed a model that reasonably predicted the thermal behavior of crystalline solids (a 3D bed-spring model):

a crystalline solid containing N atoms behaves as if it contained 3N identical independent quantum harmonic oscillators, each of which can store an integer number ni of energy units ε = ħω.

We can treat a 3D harmonic oscillator as if it were oscillating independently in 1D along each of the three axes:

⎟⎠⎞

⎜⎝⎛ ++⎟

⎠⎞

⎜⎝⎛ ++⎟

⎠⎞

⎜⎝⎛ +=+= 22222222

21

21

21

21

21

21

21

21 zkmvykmvxkmvrkmvE zyxclassic:

quantum: ∑=

⎟⎠⎞

⎜⎝⎛ +=⎟

⎠⎞

⎜⎝⎛ ++⎟

⎠⎞

⎜⎝⎛ ++⎟

⎠⎞

⎜⎝⎛ +=

3

1,,, 2

121

21

21

iiziyixii nnnnE εωωω hhh

the solid’s internalenergy:

εεεεε2

321

21 3

1

3

1

3

1

3

1

NnnnU i

N

i

N

ii

N

ii

N

i

+=+=⎟⎠⎞

⎜⎝⎛ += ∑∑∑∑

====

the zero-point energy

the effective internalenergy: i

N

i

nU ∑=

=3

1

ε

1 2 3 3N

ħω

all oscillators are identical, the energy quanta are the same

Page 17: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

The Einstein Model of a Solid (cont.)At high T >> ħω (the classical limit of large ni):

moleJ/K9.24

3321)2(3

3

1

⋅⇒

=⇒===∑=

BBBi

N

iNk

dTdUTNkTkNnU ε

solid dU/dT, J/K·mole

Lead 26.4

Gold 25.4

Silver 25.4

Copper 24.5

Iron 25.0

Aluminum 26.4To describe a macrostate of an Einstein solid, we have to specify N and U, a microstate – ni for 3N oscillators.

Example: the “macrostates” of an Einstein Model with only one atom

Ω (1,0ε) =1

Ω (1,1ε) =3

Ω (1,2ε) =6

Ω (1,3ε) =10

Page 18: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

The Multiplicity of Einstein Solid

( )!)1(!!1),(

−−+

=ΩNqNqqN

Proof: let’s consider N oscillators, schematically represented as follows: •⏐••⏐ ⏐ •••⏐•• - q dots and N-1 lines, total q+N-1 symbols. For given qand N, the multiplicity is the number of ways of choosing n of the symbols to be dots, q.e.d.

The multiplicity of a state of N oscillators (N/3 atoms) with q energy quanta distributed among these oscillators:

In terms of the total internal energy U =qε:

( )( ) !)1(!/

!1/),(−−+

=ΩNUNUUN

εε

Example: The multiplicity of an Einstein solid with three atoms and eight units of energy shared among them ( )

( ) !)19(!8!198)8,9(

−−+

=Ω 12,870

Page 19: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Multiplicity of a Large Einstein Solid (kBT >> ε)

( )( )

( )( ) ( )[ ] [ ] [ ]

( )( ) ( ) ( )( ) ( ) ( ) NNqqNqNq

NNNqqqNqNqNqaaaa

NqNqNqNq

NqNqqN

lnlnlnlnlnln

ln!

!ln!ln!ln!!!ln

)!1(!!1ln),(ln

−−++=+−+−+−++≈

−≈

−−+=⎥⎦

⎤⎢⎣

⎡ +≈⎥

⎤⎢⎣

⎡−−+

ln:Stirling

qNq

qNqNq +≈⎥

⎤⎢⎣

⎡⎟⎟⎠

⎞⎜⎜⎝

⎛+=+ ln1ln)ln(

( )NN

NNqN

eNeqeeqN β=⎟

⎠⎞

⎜⎝⎛=≈Ω

ln),(

q = U/ε =β N - the total # of quanta in a solid.β = U/(ε N) - the average # of quanta (microstates) available for each molecule

high temperatures:(kBT >> ε, β >>1, q >> N )

General statement: for any system with N “quadratic” degrees of freedom (“unlimited” spectrum), the multiplicity is proportional to U N/2.

Einstein solid:(2N degreesof freedom)

NN

UNfNeUNU )(),( =⎟

⎠⎞

⎜⎝⎛≈Ω

ε

( ) ( )

NNqNNN

qNNqN

NNqqqNqNqqN

+≈−++=

−−⎥⎦

⎤⎢⎣

⎡++=Ω

lnlnln

lnlnln),(ln

2

Page 20: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Multiplicity of a Large Einstein Solid (kBT << ε)

low temperatures:(kBT << ε, β <<1, q << N )

β

β

Nqe

qeNqN ⎟⎟

⎞⎜⎜⎝

⎛=⎟⎟

⎞⎜⎜⎝

⎛=Ω ),( (Pr. 2.17)

Page 21: Lecture 4. Macrostates and Microstates (Ch. 2 )gersh/351/Lecture 4.pdf · Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about thermal energy,

Concepts of Statistical Mechanics

1. The macrostate is specified by a sufficient number of macroscopically measurable parameters (for an Einstein solid – N and U).

2. The microstate is specified by the quantum state of each particle in a system (for an Einstein solid – # of the quanta of energy for each of Noscillators)

3. The multiplicity is the number of microstates in a macrostate. For each macrostate, there is an extremely large number of possible microstates that are macroscopically indistinguishable.

4. The Fundamental Assumption: for an isolated system, all accessible microstate are equally likely.

5. The probability of a macrostate is proportional to its multiplicity. This will sufficient to explain irreversibility.