Lecture 2

9/2

Book Sections: 1.1 - 1.4

Microscopic description of Ideal Gas Law (Kinetic Theory)

What is the origin of pressure? This is in the book, and we get

PV=Nm⟨vx2⟩

From the ideal gas law, this implies

KEx=N2kBT

We could have also repeated this analysis to compute the pressure on different walls. Doing so we will find that

⟨KEx⟩=⟨KEy⟩=⟨KEz⟩=N2kT

In words, this tells us that the temperature (for a monatomic gas) is a measure of the average kinetic energy. For a gas, the interactions are weak, so in fact the kinetic energy is the total energy, which is known as the thermal energy or internal energy:

U=⟨KE⟩=⟨KEx+KEy+KEz⟩=32NkT

This energy does not include binding energies of molecules, or rest energy of particles. This result is also a hint at a much deeper result known as the equipartition theorem.

Equipartition Theorem

The equipartition theorem tells us that every quadratic degree of freedom contributes 12kT to the internal energy. The easiest way to understand this is in terms of the Hamiltonian. For a free particle, the Hamiltonian is just the kinetic energy:

H=12m(px2+py2+pz2)≡12m||p||2

For N free particles (which is similar to a gas), the Hamiltonian is just the sum of kinetic energies:

H=12m∑i=1N||pi||2

The quadratic degrees of freedom for this Hamiltonian are every component of the momentum. Each particle has 3 components of momentum in 3D space, and so the total number of degrees of freedom is

d.o.f. = 3×N.

The equipartition theorem then says that the thermal energy is

U=3N×12kT

If the gas consists of diatomic molecules, we must now also include a potential energy in the Hamiltonian. Assume that displacements are small, so that the interaction can be modeled by a linear spring-like force. Then the potential energy will be proportional to the displacement squared:

V=k2||x1−x2||2

This counts as 1 quadratic degree of freedom. In relative coordinates (assuming both particles are the same mass), r=x1−x2, and R=x1+x2, the Hamiltonian

H=12m(||p1||2+||p2||2)+k2||x1−x2||2

Becomes

H=14m||P||2+1m||p||2+k2r2

Counting quadratic degrees of freedom per molecule, we find f=3+3+1=7.

Heat and Work

The important equation here is the first law of the thermodynamics:

ΔU=Q+W

Here, W is the work done on the system. The way I remember this is that if there is work done on the system, that's like squeezing it. And when I squeeze e.g. a stress ball, it gets hot, so the internal energy goes up.

Exercises:


Applications of Ideal Gas Law

Problem 1.10: how many air molecules are in this room? What is the volume occupied by a single molecule?

Solution: The linear dimension of the room is maybe 5 meters, so the volume is V∼102m3. The temperature is roughly T=300K. And Boltzmann's constant is 6×10−23J/K. P∼105Pa, Then all together

N=PVkBT=105×10218×102×10−23∼1027

Screenshot 2025-09-02 at 12.09.25 PM.png
Solution:
Assuming there is no net air flow between the two rooms, the pressure in A must be equal to the pressure in B. The problem also states that the volume is the same in each room. Therefore, the ideal gas law tells us that PAVA=PBVB , and now substitute the RHS of the ideal gas law

NATA=NBTB⇒NBNA=TATB>1

Which means NA<NB. So B contains more molecules, and thus more mass.


Pasted image 20250831123852.png
Solution:
By balancing forces I find
P(z+dz)A+ρmAgdz=P(z)A

Setting up a free body diagram, Then expanding P(z+dz)=P(z)+dzP′(z)+O(dz2), I get

(1)P′(z)=−ρmg

The issue here is that ρm depends on z, precisely through its relation to P(z). To determine this, we use the ideal gas law written for the number density ρ:

P=ρkBT

the mass density is just ρm=mρ. At this stage, we can do two things:

  1. Find ODE for pressure. Substitute ρm=mP/kT, into (1)
P′(z)=−mgkTP(z)

Which implies P(z)∼e−mgz/kT=e−Ug/kT where Ug is the gravitational potential energy.

  1. We can write P=kTρm/m and differentiation to get an ODE for the density
kTmρ′=−gρm⇒ρm′(z)=−mgkTρm

Which has the same functional dependence on height, ρm(z)∼e−Ug/kT The


Counting Degrees of Freedom

Screenshot 2025-09-01 at 10.44.01 PM.png

Solution: The number of degrees of freedom per molecule: since there are three atoms in the molecule, and each has 3 momentum d.o.fs, this gives 9 degrees of freedom per molecule coming from kinetic energy. In addition to this, there is the potential energy of the interaction, which we model as springs between every pair of atoms. Therefore, a total of 3 degrees of freedom coming from potential energy. All together then f=12.