Classical Thermodynamics

Entropy

Ω(U,V,N)Ω(U,V,N) is the number of ways that one can get certain values of U,V,NU,V,N.

S(U,V,N)=klnΩ(U,V,N)S(U,V,N)=klnΩ(U,V,N)

For two unconnected systems, Stot(U1,U2,V1,V2,N1,N2)=S1(U1,V1,N1)+S2(U2,V2,N2)Stot(U1,U2,V1,V2,N1,N2)=S1(U1,V1,N1)+S2(U2,V2,N2)

Reversible processes: ΔStot=0ΔStot=0

Irreversible processes ΔStot>0ΔStot>0

State functions

State functions are quantities that describe the system and its relationship with the environment.

Properties of the system Relationship to the environment
UU: internal energy TT: temperature
VV: volume pp: pressure
NN: number of particles μμ: chemical potential
Property What it means
Temperature How much the system can give energy to the environment
Pressure How much the system can take volume from the environment
Chemical potential How much the system can give particles to the environment

Equilibrium

When a system and its environment have settled down and their state functions no longer change, we say that they are in equilibrium. Equilibrium occurs when the total entropy is maximized, subject to any external constraints.

Thermodynamic functions

The total entropy is always maximized in equilibrium. In equilibrium, the entropy is a function of the internal energy, volume and number of particles.

Often, we want to consider a system connected to something much larger. The system can exchange something with the environment to equilibrate both. In that case, we can use the free energy of the system, which is minimized. In equilibrium, the free energy is now a function of the environmental state functions.

Function Exchanges Formula Name Equilibrium condition
S(U,V,N)S(U,V,N) Nothing klnΩ(U,V,N)klnΩ(U,V,N) Entropy Maximized
F(T,V,N)F(T,V,N) Energy UU UTSUTS Helmholtz free energy Minimized
G(T,p,N)G(T,p,N) Energy UU and volume VV UTS+pVUTS+pV Gibbs free energy Minimized

Work and heat

Work: dWon=pdVdWon=pdV

dQdQ is a small amount of heat added to a system.

The change in internal energy is then dU=dQ+dWondU=dQ+dWon.

Heat Capacity

Heat capacity is the amount of energy it takes to change the temperature. C=dQdT=dU+pdVdTC=dQdT=dU+pdVdT

If the system is heated/cooled at constant volume, dVdT=0dVdT=0, so CV=dUdTCV=dUdT

If the system is heated/cooled at constant pressure, then CP=dUdT+pdVdTCP=dUdT+pdVdT

Relationship between environment and system variables.

These relationships define T,p,μT,p,μ

1T(dS(U,V,N)dU)V,N=S(U,V,N)U1T(dS(U,V,N)dU)V,N=S(U,V,N)U

pT(dS(U,V,N)dV)U,NpT(dS(U,V,N)dV)U,N

μT(dS(U,V,N)dN)U,VμT(dS(U,V,N)dN)U,V

There are many other relationships like this for FF and GG. In this class, we will mainly also use

μ=(dF(T,V,N)dN)T,Vμ=(dF(T,V,N)dN)T,V

Fundamental relation of thermodynamics

From the chain rule,

dS(U,V,N)=SUdU+SVdV+SNdNdS(U,V,N)=SUdU+SVdV+SNdN

When the system is in equilibrium, we can fill in the definitions of T,p,NT,p,N:

dS(U,V,N)=1TdU+pTdVμNdNdS(U,V,N)=1TdU+pTdVμNdN

Thermodynamic processes

Quasistatic: the system is in equilibrium

Reversible: the total entropy change is zero

Isothermal: the temperature of the system does not change

Isobaric: the pressure does not change

Isochoric: the volume does not change

Adiabatic: no heat comes in or out of the system