Heat engine 2026-10-14
A heat engine uses a repeating thermodynamic cycle to turn part of an incoming heat transfer into net outgoing work. In the two-thermal reservoir model, the hot thermal reservoir supplies heat at fixed temperature , and the cold thermal reservoir receives heat of magnitude at fixed temperature . A Stirling engine makes the repeated motion visible; the abstract energy budget applies independently of its particular mechanism.[ref]
Choose the entire cyclic device as a closed system, with no net change in bulk kinetic energy or potential energy. Count heat entering as positive and net work delivered as positive, as in the first law of thermodynamics. Thus enters with a plus sign and , although a positive magnitude, enters with a minus sign. Assume these two heat transfers and the net work are the only transfers across the boundary. Over one complete thermodynamic cycle, all stored energy, including internal energy , returns to its starting value:
The device does not accumulate heat from cycle to cycle. More precisely, heat is a transfer, while internal energy is what can be stored; even a component that temporarily stores internal energy must return to its initial state for this boundary to be cyclic.[ref]
For engine operation, and . Its thermal efficiency is
Use net work, after subtracting any work supplied during compression or required by auxiliaries included in the chosen device. For periodic operation, average power satisfies and , with the rates averaged over complete thermodynamic cycles.[ref]
For a stipulated model at and , let and per thermodynamic cycle. Then and . At two thermodynamic cycles per second, these become incoming heat transfer, outgoing heat transfer, and net power. These are constructed values, not measurements.
Figure 1.
Two-thermal reservoir heat engine: in, of net work, and rejected
. Illustrative transfers per complete thermodynamic cycle, with positive magnitudes labeled on the arrows. The closed system returns to its initial state. Arrow widths represent the energy split; the thermal reservoirs remain at and . Details.
Different signs describe different tasks. With the same directions of heat transfer, gives : a device transmitting heat without net work output. If , net work is supplied to that device. A refrigerator or heat pump instead extracts heat from the cold side and delivers heat to the hot side, using positive input work and the balance . Their useful output is heat transfer, measured by a coefficient of performance. Finally, a one-time isothermal expansion can have and while leaving the volume changed: it is not a complete thermodynamic cycle. A warming device also fails the cyclic assumption, and a fuel-consuming device requires an accounting of matter crossing its boundary.
For two fixed thermal reservoirs at positive thermodynamic temperatures, the Second law of thermodynamics strengthens the energy balance to
Equality requires the overall operation to be a reversible thermodynamic process, including its heat transfer to the thermal reservoirs. The Carnot cycle explains how the reversible benchmark is constructed, and Carnot's theorem explains its universality and the entropy production penalty. Use kelvin values, never ratios of degree Celsius readings. The example above lies below the bound: its total entropy production is per thermodynamic cycle.
Figure 2. . The upper curve is the reversible bound in Carnot's theorem. The lower curve is the stipulated model , not experimental data or a universal engine law. At , the curves give and , matching the energy budget above. The endpoint is a zero-output limit. Details.
This is useful before building a machine: warmer cooling surroundings reduce the possible thermal efficiency, even if the mechanism is unchanged. A small observed thermal efficiency does not by itself test the Second law of thermodynamics; heat leaks, friction, incomplete recovery of work, and the measurement boundary can all reduce the reported ratio. A meaningful comparison requires the actual thermal reservoir temperatures, matched heat and net work measurements, and the hypotheses of Carnot's theorem. Finite bodies whose temperatures change are treated separately there.
The practical question already appears in the 1824 Réflexions sur la puissance motrice du feu et sur les machines propres à développer cette puissance by Sadi Carnot: pp. 6–8 ask whether machines driven by heat have a fundamental limit and whether changing the working substance can improve their output. Pages 9–11 describe heating and cooling in real machines, but use the historical caloric theory, rather than the modern first law of thermodynamics balance. The historical discussion under Carnot's theorem explains that distinction.
Internal energy Created 2026-09-24 Updated 2026-10-14
Internal energy is the energy stored in the microscopic degrees of freedom of a thermodynamic system: random molecular kinetic energy, internal molecular excitations, and interaction potential energy. Its value requires a specified system and an energy reference. In thermodynamic equilibrium, internal energy is a state function; it records the present state, without remembering whether a previous change came from stirring, compression or heat transfer. This makes internal energy the common accounting quantity connecting mechanical experiments to thermal ones.[ref]
Heat and work describe energy crossing the system boundary during a process. They are not separately stored contents of the system. For a closed system whose bulk kinetic energy and external potential energy have unchanged endpoint values, the first law of thermodynamics gives
Here is positive for incoming heat, and is positive for net work done on the system. Two routes between the same equilibrium states have the same , although their heat and work can differ. The infinitesimal notation distinguishes a state function change from path-dependent transfers.[ref]
For a calculated example, take one mole of a classical monatomic gas in the ideal gas regime, at fixed volume, from to . With stipulated molar gas constant , its internal energy change is . A purely thermal route supplies with . An ideal insulated stirring route supplies with , measured between equilibrium endpoints after the motion dies away. The same stored increment has two different transfer histories; neither history defines a separate kind of stored energy.
Figure 1.
Internal energy is stored; heat and work are ways to change it
. Original schematic and calculated ideal gas example with the stipulated parameters above; no experimental data. The two routes end at the same temperature and volume. Microscopic kinetic energy and interaction potential energy belong inside ; whole-body motion and external elevation are accounted for separately under the stated convention. Details.
The familiar internal energy of an ideal gas is a useful special case. Neglect intermolecular interactions, hold the amount of substance and composition fixed, and suppose that independent quadratic terms per particle obey the classical equipartition theorem. Choosing the constant reference contribution as zero gives
Here is absolute temperature, is the molar gas constant, and is the whole sample's heat capacity at constant volume. A monatomic gas has translational terms. A rigid diatomic molecule has when its two rotational terms are active and vibration is frozen; activating one harmonic oscillator vibration adds two terms, one kinetic energy and one potential energy, giving . The counting is of quadratic contributions, so a vibrational coordinate is not just one contribution.[ref]
This constant- formula applies only over a regime with those same active terms, classical translational statistics, nonrelativistic motion and unchanged composition. Quantum freezing, quantum degeneracy, chemical reactions or appreciable intermolecular interactions invalidate that simple counting. More generally, at fixed amount and composition an ideal gas can still have with varying heat capacity at constant volume, so use . A nonzero constant reference adds to without altering .
For an ordinary stationary laboratory sample, a useful convention is
The bulk kinetic energy includes organized whole-body motion; for pure translation it is , with total mass and center of mass speed . The external potential energy includes elevation in an imposed gravitational field, approximately in a uniform field. Accelerating a sealed bottle or lifting it without otherwise changing its state changes these mechanical terms, rather than its internal energy. Molecular kinetic energy is measured relative to the chosen bulk motion.[ref]
State the convention rather than applying this separation blindly. If an experiment separately tracks a rotating apparatus or an organized flow, its mechanical kinetic energy must not also be counted in . In Joule's paddle-wheel experiment, waiting for the apparatus and fluid to come to rest removes such an endpoint ambiguity. Including the vessel and paddle changes whose internal energy is measured; including the falling weights additionally puts their changing gravitational potential energy inside the enlarged system's total energy balance.
Quasistatic process 2026-10-14
A quasistatic process is an ideal limit in which a changing thermodynamic system passes through a sequence of states arbitrarily close to thermodynamic equilibrium. Its intermediate pressure, temperature and volume are therefore well defined and obey its equation of state. Driving must be slow compared with the system's own equilibration, rather than merely taking a long time on a clock. A reversible thermodynamic process additionally allows both system and surroundings to be restored without net change; friction can produce entropy even in a quasistatic process.[ref]
For a computed example, take a fixed amount of substance of ideal gas in a sealed cylinder with a frictionless piston, in contact with a heat bath at absolute temperature . Reduce the external load in infinitesimal steps so that the piston expands from to . In the reversible limit, the gas pressure exceeds the external pressure by an infinitesimal amount during expansion, and the heat transfer occurs across an infinitesimal temperature difference. Exact mechanical equilibrium would give no driving force; the limiting imbalance supplies motion while preserving equilibrium intermediate states.[ref]
Along this reversible isothermal expansion, the ideal gas law gives
Here is the molar gas constant; specifying fixes an energy scale, without choosing and separately. The initial and final equilibrium states are and . Count work delivered to the surroundings as positive. The reversible work is the shaded area beneath the pressure-volume curve:
The integral of supplies the natural logarithm. Since internal energy of an ideal gas depends only on temperature, ; the first law of thermodynamics, , gives to the displayed precision. The heat bath replaces the energy delivered as work.[ref]
Figure 1.
Reversible isothermal expansion: work is the area beneath the equilibrium pressure curve
. Fixed amount of substance of ideal gas, with and . The blue curve gives every intermediate equilibrium state; its shaded area is . The arrow indicates expansion, without specifying a time dependence. Details.
Now start from the same initial state, but abruptly lower the external pressure to the constant value . There is a finite initial pressure imbalance, so this is an irreversible expansion rather than a quasistatic process. Assume the piston begins and ends at rest, has no net change in stored energy, and has no external friction; relaxation occurs within the gas and its heat bath. After motion has settled and the heat bath has restored temperature , mechanical equilibrium and the ideal gas law give . The work delivered to the constant load is
This work follows directly from load force times piston displacement, using for piston area . Intermediate gas states need not have a single equilibrium pressure or temperature. In particular, neither at the bath temperature nor describes the actual gas during this irreversible motion. The rectangle below plots the known external load; its upper edge is not an equilibrium gas path.
Figure 2.
The same equilibrium endpoints give different work for reversible and constant-load expansion
. The blue curve is the reversible ideal gas path. The dashed orange line is constant external pressure, whose rectangle gives of load work. The additional blue shading is available in the reversible case. Black points mark the common gas endpoints; the open orange point marks the initial external load, and the dotted gap indicates the initial imbalance. No irreversible internal gas path is drawn. Details.
The entropy accounting makes the difference precise. Because entropy is a state function, both expansions have the same gas entropy change, computed along the reversible isothermal expansion:
The thermal reservoir stays at and loses heat , so . Assume the ideal load stores work without an entropy change. The combined entropy production is therefore
No numerical entropy unit is implied by alone: or must also be specified. The lost work opportunity is for this comparison. This calculation uses equilibrium endpoints and the reservoir's temperature, without assigning equilibrium intermediate states to the irreversible gas. [ref]
For another boundary choice, let the same ideal gas expand into an initially evacuated compartment of volume inside a rigid, insulated vessel of total volume . Removing the partition causes free expansion: no load is moved and no heat crosses the outer boundary, so and . After equilibration the temperature is again , the pressure is , and the gas entropy has increased by . The outer vessel has fixed volume; the gas's accessible volume doubles. Restoring the initial gas state requires compression and removal of heat, changing the surroundings. Equal endpoints do not make free expansion reversible. [ref]
A slowly moving piston with dry friction supplies a different caution: its gas can remain arbitrarily close to thermodynamic equilibrium, yet rubbing still converts work into heat and produces entropy. If the frictional force has a nonzero slow-motion limit, its dissipated energy over a fixed travel does not vanish with speed. Reversing the motion reverses friction, so infinitesimally changing the external load cannot retrace the same operation and restore the surroundings. The heat capacity calculations additionally exclude friction and other dissipative work.[ref]
The usefulness of a quasistatic process is that it replaces detailed motion by a readable sequence of equilibrium states. An equation of state and an integral then turn a pressure-volume drawing into an energy budget. The beautiful distinction is that internal energy and entropy depend on the endpoints, while heat and work record how the change was performed. Reversible benchmarks expose how much work an irreversible device sacrifices, while entropy production explains why simply making it slower need not recover that opportunity.