Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about...

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
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    216
  • download

    0

Transcript of Lecture 4. Macrostates and Microstates (Ch. 2 ) The past three lectures: we have learned about...

Page 1: 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,

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 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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

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 isolated system, the total internal energy must be conserved.

1

2

i

Page 3: 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,

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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

Examples: Two-Dimensional Configuration Space

motion 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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

The Fundamental Assumption of Statistical Mechanics

The 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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

Probability of a Macrostate, Multiplicity

smicrostate accessible all of

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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

Probability

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

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

Example: What is the probability of the same face appearing on two successive throws 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)

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

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

NN APA

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

Page 8: 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,

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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

The Two-State Paramagnet

The energy of a macrostate:

NNN

B

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 choice

of 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

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

NNNNNNNM 2

Page 10: 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,

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 B0: 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 1macrostates:

Page 11: 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,

The Multiplicity of Two-State Paramagnet

Each 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·....·n 0 ! 1 (exactly one way to arrange zero objects)

)!(!

!

!!

!),(

NNN

N

NN

NNN

For a two-state paramagnet in zero field, the energy of all macrostates is the 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,(

NNN

N

!1!

!

123...

1...1),(

nn

N

n

nNNNnN

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

Page 12: 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,

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, 23

1010~

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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

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

Ne

NNeNN

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! 1

1

More accurately:

because ln N << N for large N

NNNNNNNN ln2ln2

1ln

2

1ln!ln

N

e

NN

!or

Page 14: 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,

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

NN

NN

NNNNNNP

2

),(

),(

),(

#

),(),(

allsmicrostate all of

NNNN

N

NNNNNNN

NN

N

NNN

N

eNNeN

eN

NNN

NNNP

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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

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

2

1

2

1

2

1

2

1

2

1

2

1

2

1

2

1zkmvykmvxkmvrkmvE zyxclassic:

quantum:

3

1,,, 2

1

2

1

2

1

2

1

iiziyixii nnnnE

the solid’s internalenergy:

2

3

2

1

2

1 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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

The Einstein Model of a Solid (cont.)

At high T >> ħ (the classical limit of large ni):

moleJ/K9.24

332

1)2(3

3

1

BBBi

N

i

NkdT

dUTNkTkNnU

solid dU/dT, J/K·mole

Lead 26.4

Gold 25.4

Silver 25.4

Copper 24.5

Iron 25.0

Aluminum 26.4

To 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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

The Multiplicity of Einstein Solid

!)1(!

!1),(

Nq

NqqN

Proof: let’s consider N oscillators, schematically represented as follows: - q dots and N-1 lines, total q+N-1 symbols. For given q and 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/),(

NU

NUUN

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 ) The past three lectures: we have learned about thermal energy, how it is stored at the microscopic level,

Multiplicity of a Large Einstein Solid (kBT >> )

NNqqNqNq

NNNqqqNqNqNq

aaaa

NqNqNq

Nq

Nq

NqqN

lnlnln

lnlnln

ln!

!ln!ln!ln!!

!ln

)!1(!

!1ln),(ln

ln:Stirling

q

Nq

q

NqNq

ln1ln)ln(

NN

NN

qN

eN

eqeeqN

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

UNfN

eUNU )(),(

NN

qNNN

q

NNqN

NNqqq

NqNqqN

lnlnln

lnlnln),(ln

2

Page 20: 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,

Multiplicity of a Large Einstein Solid (kBT << )

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

Nqe

q

eNqN

),( (Pr. 2.17)

Page 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,

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 N oscillators)

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.