Solutions to Practice Exam 2 Problems

Practice Exam 2 Problems

Heat Engines (Chapter 4)

Problem 1:

A heat engine employing a Carnot cycle with an efficiency of η=0.1 is used as a refrigerating machine, with the thermal reservoirs being the same. Find its refrigerating Coefficient of performance COP.

Solution:

A Carnot Cycle, when run as a heat engine, has an efficiency defined as

η=WQh

where W is work done by the system, and Qh is the heat dumped into it. The first law implies W=Qh−Qc, which upon plugging into the efficiency, gives

η=1−QcQh

When the Carnot cycle is run in reverse, the following things happen:

The total energy input is W+Qc, and the total energy output is Qh, so the first law implies W+Qc=Qh, which is the same as before (unsurprisingly). The coefficient of performance for such a refrigerator is the thing you want (Qc), over the thing you pay (work on system W), so

COP=QcW=QcQh−Qc=1Qh/Qc−1

Notice that the ratio of heat in the denominator also appears in the efficiency. Specifically

QcQh=1−η,⇒QhQc=11−η

Plugging this into the COP gives

COP=111−η−1=1−ηη=η−1−1

If η=0.1=1/10, then COP=9.

Problem 2:

Find the efficiency of a cycle consisting of two isobaric (constant pressure) and two isothermal (constant temperature) lines if the pressure varies n-fold and the absolute temperature τ -fold within the cycle. The working substance is an ideal gas with the adiabatic exponent γ=CP/CV.

a) Assume there are two reservoirs at T1 and T2=τT1. Assume that the isobaric processes occur while the system is in contact with the high temperature reservoir. What is the change in entropy of the environment?
b) If this cycle is taken reversibly, what would be the efficiency?

Solution:

To compute the efficiency, I will take the exhaustive approach. For each leg of this cycle, I will compute: work done by gas Wbygas, change in internal energy ΔU, and heat transferred to gas Q, and precisely in this order.

Refer to the figure for labels. Path B has temperature T2, and path D has temperature T1. I will also use the following relations which come from the ideal gas law:

P2V1=NkT1P2V2=NkT2P1V3=NkT1P1V4=NkT2

These will be used to write the volumes in terms of pressure and temperature.

Screenshot 2025-10-31 at 4.44.01 PM.png
Path A:

Path B:

Path C:

Path D:

Now we can put all the results together. The efficiency is defined by

η=Wnetb.g.Qin

The net work is the sum of all the work we found for each path:

Wnetb.g.=Nk(T2−T1)+NkT2ln⁡(P2/P1)−Nk(T2−T1)−NkT1ln⁡(P2/P1)

Next, using T2=τT1 and P2=nP1, i get

Wnetb.g.=Nk(τ−1)T1ln⁡(n)

The heat inflow comes from Paths A and B. The sum of the heat absorbed along these paths is

Qin=(CV+Nk)(T2−T1)+NkT2ln⁡(P2/P1)=(CV+Nk)(τ−1)T1+NkτT1ln⁡(n)

Then all together,

η=Nk(τ−1)ln⁡(n)(CV+Nk)(τ−1)+Nkτln⁡(n)

Finally, we use the heat capacity at constant pressure

CP=CV+Nk,η=(CP−CV)(τ−1)ln⁡(n)CP(τ−1)+(CP−CV)τln⁡(n)=(γ−1)(τ−1)ln⁡(n)γ(τ−1)+(γ−1)τln⁡(n)

a)

We must treat the environment as two very large reservoirs which are kept at constant temperature. During A-B-C, the system is in contact with a reservoir at temperature T2, while during D it is in contact with a reservoir at temperature T1. We can find the change in entropy using ΔS=Q/T, since the reservoir is at constant temperature.

Path A:

Path B:

Path C:

Path D:

Summing up the change in entropy over all of these paths, we get

ΔSR=−CP(1−T1T2)−Nkln⁡(n)+CP(1−T1T2)+Nkln⁡(n)=0

b)

In the previous problem, we found that ΔSR=0, so this cycle is apparently reversible. In this process, the heat input comes from the T2 reservoir, and is given by

Qin=|QA|+|QB|−|QC|=NkT2ln⁡(n)

The net work is Wnetb.g.=Nk(T2−T1)ln⁡(n), so that the efficiency is

η=T2−T1T2=1−T1T2

Which is the Carnot efficiency!

Free Energy and Phases (Chapter 5)

Problem 1:

The ground state of a molecule has zero energy, and degeneracy equal to one. The first excited level has degeneracy four, and energy ϵ.
a) Calculate the difference in Helmholtz Free energy between the ground state and the first excited state at temperature T. At what temperature does the free energy become zero?
b) Using the Boltzmann distribution, at what temperature is the excited state equally probable as the ground state. Compare to (a).

Solution:

a) The Helmholtz Free Energy is a state function, so we can compute it for each of these states.

Ground State: U=0, and S=0, so F=U−TS=0.

Excited State: U=ϵ, and S=kln⁡4, so F=U−TS=ϵ−kTln⁡4

The free energy difference is just ΔF=ϵ−kTln⁡4, which vanishes when

T=ϵkln⁡4

The partition function is

Z=1+4e−ϵ/kT

b) The probability of the ground state is the probability of observing energy zero, i.e.

P(0)=11+4e−ϵ/kT

The probability of observing an excited energy ϵ is P(ϵ)=1−P(0), which is

P(ϵ)=1−11+4e−ϵ/kT=4e−ϵ/kT1+4e−ϵ/kT

These probabilities become equal when

1=4e−ϵ/kT,⇒T=ϵkln⁡4

which is the same answer as we got above.

Statistical Mechanics (Chapter 6)

Problem 1:

Consider a three state molecule with energies Ei={−E,0,+E}. Compute the Helmholtz free energy of a collection of N molecules at temperature T. Use this to find the entropy in two limits: T→0 and T→∞.

Solution:

The Helmholtz Free energy is related to the partition function by

F=−kTln⁡Z

So we just need to compute the partition function. For N molecules, we can use Z=Z1N, where Z1 is the partition function for a single molecule:

Z1=∑ϵ∈{−E,0,E}e−ϵ/kT=1+e−E/kT+eE/kT

Therefore, the Free energy is

F=−kTln⁡(Z1N)=−kTNln⁡(1+e−E/kT+eE/kT)

If you wish, this can also be written:

F=−kTNln⁡(1+2cosh⁡(E/kT))

The entropy is obtained from the free energy from a partial derivative relation (see Lecture 13 )

S=−∂F∂T=kNln⁡(1+e−E/kT+eE/kT)+kTN1(1+e−E/kT+eE/kT)(EkT2e−E/kT−EkT2eE/kT)

Let us try to simplify this a little:

S=kNln⁡(1+e−E/kT+eE/kT)+ENT(e−E/kT−eE/kT)1+e−E/kT+eE/kT

Now we can look at different limits:

Low Temperature:

To think about these limits, I will define x=E/kT. At low temperature, x becomes very large. So we are taking the limit x→∞ of the following:

S=kNln⁡(1+e−x+ex)+ENT(e−x−ex)1+e−x+ex≈kNln⁡ex+ENT−exex=kNx−ENT→0

replacing x=E/kT, we see that S→0. This is precisely what we expect, since at zero temperature, the probably to be in the lowest energy state tends to one, and thus the entropy tends to zero.

High Temperature:

Now we consider large T, which is the same as small x. In this limit, we should expand the exponentials

S=kNln⁡(1+e−x+ex)+ENT(e−x−ex)1+e−x+ex≈kNln⁡(3)+ENT−2x3→kNln⁡3

This also makes perfect since. In the infinite temperature limit, the Boltzmann factor e−E(s)/kT→1, which means every microstate becomes equally likely. The entropy then becomes the Boltzmann entropy, with the multiplicity being the number of possible microstates. For a collection of N independent molecules, each with three energy levels, the multiplicity (total number of microstates) is Ω=3N, and so the entropy is S=kln⁡Ω=kNln⁡3, as found above.