A small system at temperature T can exchange energy with a large reservoir. If the system takes energy Eiβ, the reservoir has energy EtotββEiβ. Its entropy changes by approximately βEiβ/T because βSresβ/βE=1/T. Since the number of reservoir microstates is proportional to eSresβ/kBβ, the probability of a particular system microstate is
If giβ distinct microstates share an energy, the probability of measuring that energy is giβPiβ. In continuous phase space, integrate a probability density over the desired range of positions and momenta. Integrating over unwanted coordinates gives the marginal distribution for those that remain.
In a uniform classical gas, the kinetic energy is a sum of three squared velocity components. The Boltzmann weight factors into three independent Gaussians with mean zero and variance kBβT/m. To find the speed distribution, count every velocity direction. The shell between radii v and v+dv in velocity space has volume 4Οv2dv. This is why the speed density peaks at a positive speed even though each velocity component peaks at zero.
For N molecules of mass m at temperature T, the number with speeds in [v,v+dv] is N(v)dv, where
Let ndβ=N/V and take positive vxβ toward a small flat wall patch. In time dt only molecules within distance vxβdt can hit the patch. Integrating this count over positive normal velocities in the Gaussian fxβ gives the one-sided molecular flux
The integral over positive velocities gives half the full mean square because the Gaussian is even. This local wall argument works for containers of different shapes.
The molecular energy now includes mgz. Its Boltzmann weight factors into the same velocity distribution at each height and a position factor that decreases exponentially. The characteristic scale height is H=kBβT/(mg), giving
ndβ(z)=ndβ(0)eβz/H,p(z)=p(0)eβz/H.
For a column of area A, height L, and N molecules, integrating Andβ(z) gives ndβ(0)=N/[AH(1βeβL/H)]. The pressure difference p(0)βp(L)=Nmg/A supports the gasβs weight. This model assumes both g and T are uniform.
A heat engine uses a working substance cycling through thermodynamic processes to extract heat and produce work. Because it returns to its starting state each cycle, ΞEintβ=0, so the net work equals the net heat. Drawing heat β£QHββ£ from a hot reservoir and dumping β£QLββ£ to a cold one,
The Carnot cycle is two isotherms (at THβ and TLβ) joined by two adiabats. On a TβS diagram it is simply a rectangle: the isotherms are horizontal, and the adiabats are vertical (constant entropy, βisentropicβ, although this term is rarely used). Heat enters reversibly at THβ and leaves reversibly at TLβ, so
THββ£QHββ£β=TLββ£QLββ£β.
Substituting into the efficiency gives the result below.
Theorem (Carnot efficiency). A reversible engine operating between reservoirs at THβ and TLβ has efficiency
Ο΅=1βTHβTLββ.
No engine operating between two reservoirs can beat this, because the Carnot cycle is fully reversible β no energy is lost to friction, turbulence, or unrestrained heat conduction.
Proof (Carnot efficiency is the maximum efficiency). Suppose an engine X were more efficient than a Carnot engine between the same reservoirs. Use Xβs work output to drive a Carnot engine backwards as a refrigerator. The combination would move heat from cold to hot with no net work input β a perfect refrigerator β which violates the Second Law. Hence Ο΅Xββ€Ο΅Carnotβ.
Example. A Carnot engine operates between reservoirs at THβ=500Β K and TLβ=300Β K and absorbs QHβ=1000Β J from the hot reservoir each cycle. Find its efficiency, work output, and heat rejected.
The efficiency is
Ο΅=1βTHβTLββ=1β500300β=0.40.
So the work per cycle is β£Wβ£=Ο΅β£QHββ£=400Β J, and the heat dumped is β£QLββ£=β£QHββ£ββ£Wβ£=600Β J.
As a check, β£QHββ£/THβ=1000/500=2Β J/K equals β£QLββ£/TLβ=600/300=2Β J/K: the entropy drawn from the hot reservoir exactly matches that given to the cold one, which is the hallmark of a reversible cycle.
Example. A monatomic gas is heated at fixed volume from (V0β,p0β) to (V0β,2p0β). It expands isothermally to (2V0β,p0β), then compresses at constant pressure back to the initial state. Find its efficiency.
The first leg adds 23βp0βV0β of internal energy and does no work. The isothermal leg produces work 2p0βV0βln2 and absorbs an equal amount of heat. Compression costs p0βV0β of work and rejects heat. Only the first two legs contribute to heat input, so
The ideal Stirling cycle joins two isotherms by two constant-volume processes. With perfect regeneration, heat stored during constant-volume cooling is recovered during constant-volume heating. External heat is then exchanged only at the two reservoir temperatures and the efficiency reaches Carnotβs.
The Otto and Diesel models both compress and expand the gas reversibly and adiabatically. Otto adds heat at constant volume, while Diesel adds heat at constant pressure and the gas expands during that leg. Both reject heat at constant volume.
Label the states 1β2β3β4β1, with compression on 1β2. Define the compression ratio r=V1β/V2β and Diesel cutoff ratio rcβ=V3β/V2β. Both models reject nCVβ(T4ββT1β). In the Otto model the input is nCVβ(T3ββT2β), and the adiabats give T2β/T1β=T3β/T4β=rΞ³β1. In the Diesel model the input is nCpβ(T3ββT2β), with T3β/T2β=rcβ and T4β/T1β=rcΞ³β. Substituting gives
An air conditioner is a refrigerator whose cold reservoir is the room. A heat pump is the same machine run to heat a room β now the room is the hot reservoir, and the relevant quantity is β£QHββ£.