Thermodynamics/The First Law: Internal Energy, Heat, and Work

Lesson 1.21,158 words

The First Law: Internal Energy, Heat, and Work

The first law is energy conservation for a system that exchanges energy as both heat and work. Internal energy is a state function with an exact differential; heat and work are path-dependent process quantities.

╌╌╌╌

The first law is the statement that energy is conserved once heat is counted as a form of energy transfer. Before the mechanical equivalent of heat was measured, mechanical energy and thermal energy were separate ledgers; the first law merges them. For a thermodynamic system the merged ledger has a single balance, the internal energy, and two channels through which it changes, heat and work. The content of the law is that these two path-dependent channels always sum to a path-independent change.

Internal energy as a state function

The internal energy of a system is the total energy of its microscopic constituents in the frame where the system is at rest: kinetic energy of the molecules plus the potential energy of their interactions, excluding the bulk kinetic and potential energy of the system as a whole. For an equilibrium state, is fixed by the state variables, so it is a state function with an exact differential . Around any cycle,

This is an assertion, justified microscopically later by identifying with the ensemble average of the Hamiltonian, and justified thermodynamically by the first law itself: the existence of an energy function whose change equals the total energy input is the empirical claim.

Work

Work is energy transferred across the system boundary through a macroscopic force acting over a displacement. For a fluid in a cylinder of cross-section whose piston advances a distance under external pressure , the work done on the system is , since advancing the piston decreases the volume, . For a quasi-static process the external pressure matches the system pressure up to an infinitesimal, , and

The sign convention taken here counts work done on the system as positive.1 Compression () then delivers positive work to the system, expansion () extracts it. The integral is the negative of the signed area under the process curve on the plane, so it depends on the entire path, not just the endpoints: different curves joining the same two states enclose different areas and transfer different work.

Work is the negative signed area under the process curve; three paths from to sweep different areas and so transfer different work, even though is the same for all.

Work has other forms with the same structure: magnetic work , surface work , elastic work, chemical work . Each is an intensive force times the differential of its conjugate extensive displacement. The fluid case is the running example, and the generalization is carried into the thermodynamic-potential lesson.

Heat and the first law

Energy can also cross the boundary without any macroscopic displacement, driven instead by a temperature difference through a diathermal wall. That transfer is heat, . Like work, heat is a process quantity: the amount depends on the path, and is inexact. The first law asserts that although and are each path-dependent, their sum is the exact differential of the internal energy.

The law does two things at once. It defines heat, as the difference between the energy change and the identifiable work — the residual channel. And it constrains the system, because is exact while neither term on the right is: the inexactness of and must cancel. For the quasi-static fluid,

is exact so it integrates to zero around a cycle; and are inexact and each accumulates a nonzero loop integral, equal and opposite so that the energy closes.

Heat capacities and enthalpy

The heat capacity measures the heat required to raise the temperature, . Because is path-dependent, the value depends on what is held fixed. Two constraints matter.

At constant volume, no work is done, so and

At constant pressure, the system does expansion work as it warms, so part of the heat goes to work and . Writing at fixed suggests grouping into a single function.

Enthalpy is the natural energy for constant-pressure processes, which describes most chemistry and much of everyday physics, where the atmosphere fixes . It is the first of the thermodynamic potentials, obtained from by a Legendre transform swapping the conjugate pair ; the systematic construction is the fourth lesson.

For an ideal gas the two capacities differ by a fixed amount. Since depends on alone (shown next) and ,

the Mayer relation for an ideal gas. Their ratio, the adiabatic index, governs adiabatic processes below.

Internal energy of the ideal gas

That depends on temperature alone for an ideal gas is an experimental result — Joule's free-expansion experiment, in which a gas expanding into vacuum through an adiabatic, rigid boundary does no work and exchanges no heat, so , and its temperature is found not to change despite the volume change. Hence and

For a monatomic ideal gas the equipartition theorem (derived in a later module) gives , so , , and . A diatomic gas at room temperature adds two rotational degrees of freedom, and .

Isothermal and adiabatic processes

Two quasi-static processes of the ideal gas recur throughout the subject.

An isothermal process holds fixed, so and all the heat becomes work. Along an isotherm , and

An isotherm is a hyperbola on the plane.

An adiabatic process exchanges no heat, , so and the gas does work entirely at the expense of its internal energy. With and ,

using and . Integrating gives , and substituting yields the adiabat

Because , the adiabat is steeper than the isotherm at every point: an adiabatic expansion cools the gas, dropping its pressure faster than the isothermal hyperbola would. The two curves cross transversally, and the wedge between them is the working region of the Carnot cycle in the next lesson.

Through a common point the adiabat falls more steeply than the isotherm , because ; an adiabatic expansion cools the gas while an isothermal one holds fixed by absorbing heat.

The path dependence of heat and work, and the path independence of their sum, is sharpest in a direct comparison of two routes between the same endpoints.

The heat and work bookkeeping of any process reduces to the same accounting: heat in, work in, and the stored change in internal energy that balances them.

The first law as a balance sheet: heat added and work done on the system are the two inputs, and their sum is the change in the stored internal energy.

Summary

  • Internal energy is a state function with exact ; heat and work are path-dependent process quantities.
  • The first law conserves energy across both channels; the inexactness of the two terms cancels so their sum is exact. Quasi-static fluid work is , the negative signed area under the process curve.
  • and with ; for an ideal gas and .
  • An ideal gas has . Its isotherm is with ; its adiabat is , steeper than the isotherm, and adiabatic expansion cools the gas.

Footnotes

  1. The convention with (work on the system positive) follows Schroeder §1.4, Callen §1.6, and Kardar §1.4. Engineering texts and Reif §4.1 often write with (work by the system positive); the physics is identical.

╌╌ END ╌╌