Loading [MathJax]/jax/output/HTML-CSS/jax.js

The Physics of Information Lecture Note 2

The Physics of Information Lecture Note 2

Lecture 2

Maxwell-Boltzmann distribution

Suppose a system has n energy levels. Suppose that there are Ni particles at the energy level Ei and the total particle number is fixed, that is, N=ni=1Ni. What determines the distribution of Ni based on the assumption that the equilibrium state corresponds to the state with maximum accessible states?

Consider distinguishable particles, how many configuration do we have?

image-20210714102334170

The total configuration is N!N1!N2!Nn! (we don’t care about the sequence of particles in each level.) If there exist gi degenerate(简并的) levels in each level Ei, we need to further consider the configuration in these sublevels. Degenerate states are different states with the same energy. How many configurations do we have when we put Ni different particles into the gi container?

For each particle, there is gi configurations and thus total we have gNii configurations. For example, let gi=2,Ni=3,

image-20210717172856512

total 23=8.

To sum up, we have totally
Q(N1,N2,,Nn)=N!Πni=1Ni!Πni=1gNii


configurations where N=iNi.

We also have 2 physical constraints :

  • ni=1Ni=N0 , particle number is conserved;
  • ni=1NiEi=U0 , the energy is conserved.

Introduce the Lagrange multiplier α and β so that
NilogQ+αNNiβUNi=0.


Here, logQ=logN!+ni=1Niloggini=1logNi! .

For large number X, Stirling’s approximation
logX!XlogXX.


Thus,
logQNlogNN+ni=1Niloggini=1NilogNi+ni=1Ni=NlogN+ni=1Niloggini=1NilogNi.

The above derivative equation becomes
logN+loggilogNi+αβEi=0

leading to
logNigiN=αβEi,

so that
pi=NigiN=eαβEi.

In this way, we actually consider the giant canonical ensemble where the total particle number can fluctuate. While the giant canonical ensemble is equivalent to the canonical ensemble, for a large particle number, we may consider the latter one so that there are n1 independent variables N1,N2,,Nn1. We only need one physical constraint
NilogQβUNi=0,i=1,2,,n1

where
logQ=NlogN+n1i=1Niloggi+Nnloggnn1i=1NilogNiNnlogNn,Nn=Nn1i=1Ni,U=n1i=1EiNi+EnNn.

loggiloggnlogNi+logNnβ(EiEn)=0log(NigignNn)=β(EiEn)Nigi=Nngneβ(EiEn),

which reduces to
Ni/giNn/gn=eβEieβEn.


This implies the probability at energy Ei is
pi=eβEi/z

(probability that a particle occupies a state) where z is called the partition function acting as a normalization factor, z=ieβEi where β=1/kBT. (ii denotes all the states including degenerate states)

Example. The distribution function of an ideal gas without external force. Since E=12mv2, we have
p(v)=emv22kBT/z.


v takes continuous values, p(v) should be the probability density s.t. p(v)dvxdvydvz describes the probability that a particle has velocity [vx,vx+dvx], [vy,vy+dvy] ,[vz,vz+dvz].
z=dvxdvydvzemv22kBT=(20emv22kBTdv)3=(2πkBTm)32by Gaussian integral.

  • If the system is in thermal contact with a heat bath, the temperature is the same as that of the bath and the internal energy of the system is determined by the temperature.
  • If the system is isolated, the temperature is determined by the internal energy of the system. If we consider the infinite temperature case, i.e. β0, the probability at all Ei is the same.

If we regard this system as an isolated system, you may think besides the maximum configurations, there also exist other configurations such as B with the same energy. Based on Boltzmann hypothesis, the probability for the B configuration is the same as one of the maximum configurations. For example, suppose the configuration with N1=4,N2=3,N3=2,N4=1 has the maximum accessible states. But it is possible that N1=5,N2=2,N3=1,N4=2 has the same energy as the maximum configuration. Why don’t we include these states as a candidate for a system?

The reason is in the thermodynamic limit, the probability at these states are very low.

image-20210717205659288
logQ(N1+ΔN1,,Nn+ΔNn)=logQ(N1,,Nn)+12ijNiNjlogQ(N)ΔNiΔNj


*泰勒展开,一阶项为0(因为是极大值),三阶以上的忽略

logQ(N1+ΔN1,,Nn+ΔNn)Q(N1,,Nn)=12ijδij1NiΔNiΔNj=12i(ΔNi)2Ni=12i(ΔNiNi)2Ni.


*logQNiNj求偏导时,N当成函数,得到(1/Nδij/Ni);由于iΔNi0,对某个特定的ij1/NΔNiΔNj0,导致最后化简结果看上去N就像是一个常数.

Suppose ΔNiNi105,N1023, we have
Q(N1+ΔN1,,Nn+ΔNn)Q(N1,,Nn)=e12×1010Ne1013.

Entropy

F=kBTlogzN

Since z=ieβEi=eEi/kBT/pi , we have
F=kBTlog(eEi/kBT/pi)N=(Ei+kBTlogpi)N=ipi(Ei+kBTlogpi)N


since ipi=1. The entropy
S=UFT=NikBpilogpi,

thus Boltzmann entropy
S=SN=ikBpilogpi

denoting the entropy per particle. Since pi=NiNgi, we have
S=NkBiNiNlogNi/Ngi where i denotes the sum counting the degenerate energy levels once=kBi(NilogNiNilogNNiloggi)=kBNlogNkBNkBi(NilogNiNiloggNii)kBlogN!kBi(logNi!loggNii)=kBlogN!N1!N2!Nn!ΠigNii=kBlogQ.

Derive the ideal gas form from Maxwell velocity distribution. Since we also need to consider the spatial freedom, we require
z=V(2πkBTm)3/2

so that
dxdydzdvxdvydvzemv22kBT/z=1.

For an isothermal process,
ΔF=+nRTlogVf/Vi=+ΔW.

Thus
F=nRTlogV(2πkBTm)3/2.

Since
dF=SdTpdV,

we have
p=(FV)T=nRT1VpV=nRT,S=(FT)V=nRlogV(2πkBTm)3/2+3nR2.

  • The degeneracy: ϵ=12m(v2x+v2y+v2z).

image-20210718094910542

The Landauer principle (proposed in 1961)

The erasure of data in a system necessarily involves producing heat and thereby increasing the entropy.

Let’s consider a vessel(容器) divided into 2 half parts. A bit of information is stored in this vessel based on whether a molecule is located at the left or the right part.

image-20210718112204655

To erase the stored information, we need to move the molecule to a state without carrying any information (called a standard state). For example,

image-20210718112436400

We note that this erasure process is many-to-one mapping, and thus not reversible.

Let’s see a procedure to erase the stored information. Before that, we note that we are unaware of the stored information before the process.

image-20210718112820145

(piston : 活塞)

It is evident that during the isothermal compression, the entropy of the system decreases and heat is generated, flowing to the environment.
Q=ˉdW=pdV=kBTV/2VdVV=kBTln2.


The entropy decrease for the system is kBln2.

Maxwell’s demon

a. temperature demon

Initially in thermal equilibrium with temperature T, average velocity <v>.

image-20210718115540691

Particles in the left part approaching the door with velocity > <v> , open the door; particles in the right part approaching the door with velocity < <v> , open the door.

image-20210718115818211

It looks that the system “naturally” forms an ordered phase with hot and cold particles located at the right and left sides.

image-20210718120009190

(insulating : 绝热)

Suppose $T_1b. pressure demon

image-20210718144213867

If there is a particle approaching the door in the left side, open the door. All particles are located in the right side box, leading to the increase of the entropy.

Is it possible? What is missing?

We miss the effects of the demon. If we were the demon, we need to recognize whether a particle moves fast or slowly, whether a particle at the left side is approaching. That means we need to measure the state of the particle. Besides that, we also know the state of a particle. In fact, it has been shown that measurement can be reversible and does not necessarily produce any entropy. However, the demon’s memory changes.

Szilard’s machine (“a perpetual motion machine”)

image-20210718152321102

All absorbed heat is used to do work. However,the demon has memorized the positions of all these molecules. To remove these memories requires producing the heat Q=NkBTln2 and entropy increases by NkBln2.

image-20210718152718811

Initially, Maxwell’s demon does not know the position of the molecule and he/she knows that he/she does not know. After measurement, the demon stores the information in the memory. Isothermal expansion doing work W=Q.

For the system, the final state has the same temperature , pressure, volume with the initial state and thus returns to the original state. We are also happy to see that during this cyclic process, all absorbed heat is used to do work, clearly violating the second law of thermodynamics. However, we neglect the memory state of the demon. To complete a cycle, we also require to return the memory to the original state, that is, we need to erase the stored information. Based on the Landauer principle, this requires to generate heat kBTln2.

We note that for a single molecule experiment, we can consider an ensemble of the system, many single molecule experiments, and thus the statistics make sense.

 

点赞 0

No Comments

Add your comment

我不敢去,但必须去,有些事是必须要做的逃避不了