Sub topic 7
Internal energy of an ideal gas: U = (f/2)nRT
This chapter assumes you know the ideal gas equation PV = nRT, the result that mean translational kinetic energy per molecule is (3/2)kT, and the idea of degrees of freedom with equipartition of energy. It combines these to get the internal energy of a gas.
What internal energy means
The internal energy U of a system is the total energy of its molecules measured in the frame where the gas as a whole is at rest. It has two parts: the kinetic energy of molecular motion (translation, rotation, vibration) and the potential energy of the forces between molecules.
For an ideal gas, molecules do not interact except during collisions. The intermolecular potential energy is therefore zero, and U is only the kinetic energy of the molecules.
Deriving U = (f/2)nRT
Equipartition says each quadratic degree of freedom carries an average energy of (1/2)kT per molecule. A molecule with f degrees of freedom has an average energy of (f/2)kT.
A sample of n moles contains N = nN_A molecules, so
U = N (f/2) kT = (f/2) n N_A k T = (f/2) nRT
because R = N_A k. The result depends on three things only: the number of moles, the temperature and f.
| Gas type | Example | f (ordinary temperatures) | U per mole |
|---|---|---|---|
| Monatomic | He, Ne, Ar | 3 | (3/2)RT |
| Diatomic (rigid) | N₂, O₂, H₂ | 5 | (5/2)RT |
| Nonlinear polyatomic | H₂O, CH₄ | 6 | 3RT |
At ordinary temperatures, vibrational modes of a diatomic molecule are normally treated as frozen in JEE problems. If a problem says the molecule vibrates, add 2 to f, one for vibrational kinetic energy and one for vibrational potential energy.
U depends only on temperature
For an ideal gas, U is a function of T alone. Two consequences follow.
- In any isothermal process, ΔU = 0.
- For any process between temperatures T₁ and T₂, ΔU = (f/2) nR (T₂ − T₁), whatever path is followed.
This is why ΔU can be found even when the process is complicated. You only need the initial and final temperatures. Using PV = nRT, you can also write
U = (f/2) PV.
This form is useful when a problem gives pressures and volumes but no temperatures.
R = 8.314 # J/(mol K)
def internal_energy(n, T, f):
"""Internal energy in joules of n moles of an ideal gas at T kelvin with f degrees of freedom."""
return 0.5 * f * n * R * T
def delta_U(n, T1, T2, f):
"""Change in internal energy for any process from T1 to T2."""
return 0.5 * f * n * R * (T2 - T1)
print(round(internal_energy(2, 300, 5))) # 12471 J for 2 mol of a diatomic gas at 300 K
print(round(delta_U(1, 300, 400, 3))) # 1247 J for 1 mol of a monatomic gas heated by 100 KWorked example
Two moles of a diatomic gas (f = 5) are heated from 300 K to 400 K at constant volume. Find ΔU.
ΔU = (5/2)(2)(8.314)(100) = 4157 J.
Since the volume is constant, W = 0, so Q = ΔU = 4157 J.
Common errors
- Using the monatomic value f = 3 for every gas. Check the atomicity first.
- Using ΔU = 0 for an adiabatic process. ΔU = 0 holds only when T does not change. In an adiabatic process the temperature changes, so ΔU = −W.
- Applying ΔU = nC_vΔT only at constant volume. For an ideal gas this expression is valid for every process, because U depends only on T.
- Using Celsius temperatures. A temperature difference is the same in °C and K, but U = (f/2)nRT needs T in kelvin.
Exercise
One mole of a monatomic ideal gas goes from P₁ = 1.0 × 10⁵ Pa, V₁ = 0.020 m³ to P₂ = 2.0 × 10⁵ Pa, V₂ = 0.030 m³ along some path. Find ΔU.
Show answer
ΔU = (f/2)(P₂V₂ − P₁V₁) with f = 3. P₂V₂ = 6000 J and P₁V₁ = 2000 J, so ΔU = 1.5 × 4000 = 6000 J. The path does not matter because U depends only on temperature.
Exercise
Why is ΔU = 0 for a free expansion of an ideal gas into a vacuum, even though the volume changes?
Show answer
U depends only on T for an ideal gas, and there are no intermolecular forces. In a free expansion into a vacuum, W = 0 and Q = 0, so ΔU = 0 by the first law. The temperature stays constant and the volume change does not affect U.