BrowsePhysics & Space / Thermal Physics

The First Law: Why the Path Matters

Energy conservation becomes thermodynamics when we specify a system boundary and distinguish energy transfer as heat from energy transfer as work. For a closed system with negligible changes in bulk kinetic and gravitational potential energy, use

Pressure-volume plot comparing isothermal and reversible adiabatic expansion from the same initial state; the steeper adiabatic curve reflects falling temperature.
Local explanatory diagramOriginal schematic calculated from the physical model; references in Sources.
ΔU=Q-W.

Here Q>0 means heat enters the system and W>0 means the system does work on its surroundings. Some texts define work on the system as positive; their equation looks different but expresses the same accounting. State the convention before calculating.

Internal energy U is a state function. Heat and work are not: there is no “amount of heat in this state.” Their values depend on how the state was reached.

Pressure-volume work comes from force and displacement

A gas pushes a piston of area A through displacement dx against external pressure Pext. The work is dW=Fdx=PextA dx=PextdV, so

W=∫ Pext dV.

For a mechanically quasistatic process with negligible friction, the gas and external pressures differ only infinitesimally; then we can use the gas's equilibrium P(V) curve. The area under that curve is work. Expansion gives positive work; compression negative. Do not apply an equilibrium gas-pressure curve to a violent irreversible expansion that lacks well-defined intermediate states.

Same temperature change, different heat

Warm one mole of monatomic ideal gas from 300 to 600 K. Its internal-energy change is

ΔU=3/2nRΔT=3.74 kJ.

At constant volume, W=0 and all 3.74 kJ of heat increases internal energy. At constant pressure, PΔV=nRΔT=2.49 kJ, so heat input must be 6.24 kJ. The constant-pressure sample expands and pushes the surroundings as well as warming. This derives CP=CV+R for an ideal gas, with molar heat capacities and only pressure-volume work.

These two heating processes finish at different volumes, but equal ΔU because ideal-gas internal energy depends on temperature alone. To compare genuinely identical endpoints, consider expansion from (V₁,T) to (2V₁,T) in two ways.

Isothermal expansion versus free expansion

A reversible isothermal ideal-gas expansion does work

W=∫[V₁→V₂](nRT)/(V) dV=nRTln(V₂/V₁).

At fixed temperature ΔU=0, so Q=W. For one mole at 300 K doubling its volume, each is 1.73 kJ. Energy enters as heat while an equal amount leaves as work, even though temperature does not rise.

Now let the same gas freely expand into a vacuum within an insulated rigid container, doubling its accessible volume. External pressure at the advancing gas boundary is zero, so W=0; insulation gives Q=0. Its final temperature is unchanged for an ideal gas. Same endpoints, entirely different heat and work. “Expansion cools a gas” is not a universal rule.

Adiabatic does not mean isothermal

Adiabatic means Q=0. A gas that expands while doing positive work must then lose internal energy. For a reversible adiabatic ideal-gas process with constant heat capacities,

nCVdT=-P dV=-(nRT)/(V)dV.

Integrating gives T V^(γ-1)=constant, or P V^(γ)=constant, where γ=CP/CV. The restrictions matter: free expansion is adiabatic but irreversible and does not satisfy this relation.

Cycles turn enclosed area into output

On a complete cycle, the working substance returns to its original state, so ΔUcycle=0 and net heat input equals net work output. A clockwise quasistatic loop on a pressure-volume graph has positive net work: expansion occurs at higher average pressure than compression. A four-stroke engine makes the connection to a machine, although a real open gas-exchange cycle is not literally a sealed ideal gas following a textbook loop.

The first law permits any conversion consistent with energy conservation. It cannot tell us why a cyclic engine cannot turn all heat drawn from one reservoir into work. That additional constraint is the second law.

connected to

sources

OpenStax University Physics Volume 2 — Thermodynamic systemsOpenStax University Physics Volume 2 — First lawOpenStax University Physics Volume 2 — Thermodynamic processesOpenStax University Physics Volume 2 — Adiabatic processes