THERMODYNAMICS • FIRST LAW OF THERMODYNAMICS

Internal Energy, Enthalpy & Total Energy — Define internal energy, enthalpy, and total energy

Understanding the foundational energy quantities that govern every thermodynamic process in engineering and nature.

Historical Context & Motivation

The concepts of internal energy, enthalpy, and total energy did not appear fully formed in a single moment of scientific insight; rather, they crystallized over more than a century of debate about the nature of heat, work, and motion. In the early nineteenth century, the dominant paradigm treated heat as a weightless fluid called caloric, which supposedly flowed from hot bodies to cold ones. This picture, while intuitive, could not explain why boring a cannon barrel generated seemingly inexhaustible heat or why gases cooled upon rapid expansion. The resolution required abandoning caloric theory in favor of an energy-based framework—one in which heat and work are simply two modes of energy transfer, and the energy stored within a system is a well-defined state property.

1798
Rumford's Cannon-Boring Experiment
Count Rumford observed that boring brass cannons produced heat without limit, undermining the caloric theory and suggesting that heat was a form of motion rather than a conserved substance.
1843
Joule's Mechanical Equivalent of Heat
James Prescott Joule used a paddle-wheel apparatus to demonstrate a precise quantitative relationship between mechanical work and heat, establishing that both are manifestations of energy and laying the experimental groundwork for the First Law.
1850
Clausius Formalizes the First Law
Rudolf Clausius unified the ideas of Joule, Mayer, and Helmholtz into a concise mathematical statement: the change in a system's internal energy equals the heat added minus the work done by the system, giving internal energy its modern thermodynamic definition.
1875
Gibbs Introduces Enthalpy Implicitly
J. Willard Gibbs, in his landmark paper on heterogeneous equilibria, employed the combination U + PV (later named enthalpy) as a natural potential for systems at constant pressure, a condition ubiquitous in chemistry and atmospheric science.
1909
Heike Kamerlingh Onnes Coins 'Enthalpy'
The Dutch physicist Kamerlingh Onnes formally introduced the term 'enthalpy' (from the Greek enthalpein, 'to warm within') to denote the composite state function H = U + PV, giving the concept its lasting name.

These developments converge on a central question that every engineer and scientist must answer: how do we rigorously quantify the energy stored within a thermodynamic system, and how does that stored energy change when the system exchanges heat or work with its surroundings? The answer lies in carefully distinguishing between internal energy, enthalpy, and total energy—three related but distinct quantities that serve complementary roles in thermodynamic analysis.

Core Principles & Definitions

Before diving into equations, it is essential to establish a clear conceptual map of the three energy quantities. Each one answers a slightly different question about the state of a thermodynamic system. Internal energy captures the microscopic chaos within the system boundaries; enthalpy packages internal energy together with the pressure–volume work needed to maintain the system in its environment; and total energy extends the picture to include macroscopic kinetic and potential energy. Together, they provide a complete energy accounting framework.

1

Internal Energy (U)

The sum of all microscopic forms of energy within a system—translational, rotational, and vibrational kinetic energies of molecules, plus intermolecular potential energies and intramolecular bond energies. It is a state function whose absolute value is typically unknown; only changes ΔU are measured.
2

Enthalpy (H)

Defined as H = U + PV, enthalpy combines internal energy with the flow work (pressure–volume product) required to push a fluid element into or out of a control volume. At constant pressure, ΔH equals the heat transferred, making it indispensable for open-system and chemical analyses.
3

Total Energy (E)

The complete energy of a system: E = U + KE + PE, where KE = ½mv² is the bulk kinetic energy and PE = mgz is the gravitational potential energy. In many stationary, closed-system problems KE and PE are negligible, so E ≈ U.
4

State Function Property

All three quantities—U, H, and E—are state functions: their values depend only on the current thermodynamic state (T, P, V, composition), not on the path taken to reach that state. This path-independence is what makes energy balances tractable.
KEY TAKEAWAY
Think of internal energy as the total balance in a bank account (all the microscopic 'deposits'), enthalpy as that same balance plus the service fee the bank charges you to maintain the account (the PV term reflecting the environment's pressure), and total energy as the bank balance plus any cash in your wallet and coins in your car (the macroscopic kinetic and potential energy you carry around). Which quantity you track depends on which part of the 'financial picture' matters for your analysis.

Visual Explanation — Energy Hierarchy

The nested rectangles illustrate how the three energy quantities relate: internal energy U sits at the core, capturing microscopic molecular energies. Wrapping U with the pressure–volume product PV yields enthalpy H. Finally, adding bulk kinetic (½mv²) and potential (mgz) energies gives the total energy E.

The diagram above makes a critical structural point: U, H, and E are not independent quantities but rather successively more inclusive energy bookkeeping variables. In a stationary closed system where the fluid has negligible bulk velocity and no significant elevation change, the outermost layer (KE + PE) vanishes and E reduces to U. If that system also exchanges no shaft or boundary work beyond expansion/compression work at constant pressure, then the heat transfer equals ΔH rather than ΔU. Recognizing which simplification applies in a given problem is the first skill a thermodynamics student must develop.

Mathematical Framework

Internal Energy and the First Law

The First Law of Thermodynamics for a closed system undergoing a process between two equilibrium states is expressed as a balance on internal energy. Here we adopt the sign convention where heat into the system and work done by the system are positive.

FIRST LAW — CLOSED SYSTEM
ΔU = Q − W
ΔU = change in internal energy (J or kJ), Q = net heat transfer into the system, W = net work done by the system on its surroundings. Because U is a state function, ΔU depends only on the initial and final states, even though Q and W individually are path-dependent.

Enthalpy Definition

Enthalpy is defined as a combination property that arises naturally when analyzing constant-pressure processes or open (flow) systems. Its definition and key differential form are given below.

ENTHALPY DEFINITION
H ≡ U + PV
H = enthalpy (J or kJ), U = internal energy, P = absolute pressure (Pa), V = volume (m³). The product PV has units of energy (Pa × m³ = J). For an ideal gas, PV = nRT, so H becomes a function of temperature alone.
ENTHALPY AT CONSTANT PRESSURE
ΔH = Q_P
At constant pressure with only boundary (PdV) work, the heat transferred QP equals the enthalpy change. This is why calorimetry experiments conducted at atmospheric pressure directly measure ΔH.

Total Energy

TOTAL ENERGY
E = U + ½mv² + mgz
E = total energy (J), ½mv² = macroscopic kinetic energy of the system's center of mass, mgz = gravitational potential energy relative to a chosen datum. Additional terms (electric, magnetic, surface tension) can be appended but are negligible in most introductory analyses.
📐 Intensive vs. Extensive
All three quantities can be expressed on a per-unit-mass (specific) basis: u = U/m, h = H/m, e = E/m. Specific properties use lowercase letters and carry units of kJ/kg. For flow systems, it is common to write the steady-flow energy equation in terms of specific enthalpy: q − w = Δh + Δ(v²/2) + gΔz.

Detailed Breakdown — When to Use Which Quantity

One of the most common sources of confusion in introductory thermodynamics is knowing whether to track ΔU, ΔH, or ΔE for a given problem. The choice depends on the type of system (closed vs. open), the constraints imposed (constant volume vs. constant pressure), and whether macroscopic kinetic and potential energies are significant. The diagram and table below provide a decision framework.

This decision flowchart guides you through system classification. Begin by asking whether mass crosses the boundary (open vs. closed), then whether macroscopic kinetic and potential energies matter, and finally whether the process is steady or transient. The terminal boxes indicate which energy quantity to use in your energy balance.
Common scenarios and the appropriate energy quantity to use.
ScenarioPreferred QuantityRationale
Rigid (constant-volume) closed tankΔUNo boundary work (W = 0 for rigid vessel), so Q = ΔU directly.
Piston–cylinder at constant pressureΔHAt constant P, boundary work is P ΔV, so Q = ΔU + P ΔV = ΔH.
Steady-state turbine / compressorΔh (specific)Enthalpy naturally accounts for flow work at inlet and outlet; use steady-flow energy equation.
Hydroelectric dam with falling waterΔE (or Δe)Gravitational PE (mgz) is the dominant energy conversion; cannot be neglected.
Chemical reaction in a bomb calorimeterΔUConstant volume → no PdV work → Q = ΔU. To get ΔH, apply ΔH = ΔU + Δ(nRT).

Worked Example — Heating Air in a Closed Piston–Cylinder

Consider 2 kg of air (modeled as an ideal gas with cv = 0.718 kJ/(kg·K) and cp = 1.005 kJ/(kg·K)) initially at 300 K and 100 kPa. The air is heated at constant pressure until its temperature reaches 500 K. The piston–cylinder device is stationary and at ground level. Determine ΔU, ΔH, the heat transfer Q, and the boundary work W.

Heating Air at Constant Pressure
1
Step 1 — Identify Given Values and Assumptionsm = 2 kg, T₁ = 300 K, T₂ = 500 K, P = 100 kPa (constant). Air is an ideal gas. The system is closed, stationary, and at ground level, so KE = PE = 0 and E = U.
2
Step 2 — Calculate ΔUFor an ideal gas, ΔU = mcvΔT = 2 × 0.718 × (500 − 300) = 2 × 0.718 × 200.
ΔU = 287.2 kJ
3
Step 3 — Calculate ΔHFor an ideal gas, ΔH = mcpΔT = 2 × 1.005 × 200.
ΔH = 402.0 kJ
4
Step 4 — Determine Heat Transfer QAt constant pressure with only boundary work, Q = ΔH (this is precisely why enthalpy is so useful for isobaric processes).
Q = Q_P = ΔH = 402.0 kJ
5
Step 5 — Calculate Boundary Work WFrom the First Law for a closed system: Q = ΔU + W, so W = Q − ΔU = 402.0 − 287.2.
W = 114.8 kJ
6
Step 6 — Verify with PΔVFor an ideal gas at constant P: W = PΔV = P(V₂ − V₁) = mRΔT = 2 × 0.287 × 200 = 114.8 kJ, confirming our result. Note R = cp − cv = 1.005 − 0.718 = 0.287 kJ/(kg·K).
W = PΔV = 114.8 kJ ✓
💡 Observation
Notice that ΔH > ΔU by exactly 114.8 kJ, which equals the boundary work W = PΔV. This is no coincidence: H = U + PV, and at constant pressure Δ(PV) = PΔV = W. Enthalpy 'absorbs' the PdV work into the state function, simplifying the energy balance to Q = ΔH.

Strengths, Limitations & Comparisons

Each energy quantity has contexts where it shines and contexts where it can mislead the unwary student. The following table compares internal energy and enthalpy side by side, highlighting their complementary strengths.

Comparison of internal energy and enthalpy.
AttributeInternal Energy (U)Enthalpy (H)
DefinitionMicroscopic KE + PE of moleculesU + PV
Natural constraintConstant volume → Q = ΔUConstant pressure → Q = ΔH
Open-system utilityRequires separate flow-work termFlow work built in — ideal for turbines, nozzles, heat exchangers
Ideal gas relationΔU = mcvΔTΔH = mcpΔT
LimitationCannot directly represent heat in constant-P processes without adding PΔVNot the natural variable for constant-V (rigid vessel) problems; adds an unnecessary PV term
Absolute value known?Generally no; only ΔU is measuredSame — only ΔH is measured (reference states chosen by convention)
KEY TAKEAWAY
Neither U nor H is 'better' than the other; they are complementary tools. Choosing the wrong one does not make the physics incorrect—it simply makes the algebra messier. Enthalpy was invented precisely because most real-world processes (chemical reactions in open beakers, industrial flow processes) occur at roughly constant pressure, and tracking H eliminates the need to account for boundary or flow work separately.

Connection to Advanced Theory

The quantities U, H, and E introduced here are the starting point for a family of thermodynamic potentials that become increasingly powerful as one advances to the Second Law and beyond. The internal energy U is the fundamental relation in the entropy representation, while enthalpy H is the natural potential under isobaric constraints. Two additional potentials—Helmholtz free energy (A = U − TS) and Gibbs free energy (G = H − TS)—emerge when isothermal processes are important. All four are related by Legendre transformations, which swap independent variables while preserving the full information content of the fundamental relation.

Family of thermodynamic potentials derived from internal energy.
PotentialDefinitionNatural VariablesWhen Minimized at Equilibrium
Internal Energy UFundamentalS, V, NIsolated system (fixed S, V)
Enthalpy HU + PVS, P, NConstant pressure, adiabatic
Helmholtz AU − TST, V, NConstant T and V (e.g., molecular simulations)
Gibbs GH − TST, P, NConstant T and P (chemistry, phase equilibria)

In advanced courses you will also encounter the Maxwell relations, which arise by equating mixed second partial derivatives of these potentials. For example, from dH = TdS + VdP, one obtains (∂T/∂P)S = (∂V/∂S)P. These relations connect measurable properties (like thermal expansion and compressibility) to quantities that are difficult to measure directly (like entropy changes), making the thermodynamic potentials extraordinarily practical for engineering calculations involving real gases and multiphase systems.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why enthalpy H is sometimes called 'the heat content at constant pressure' while internal energy U is not called 'the heat content at constant volume,' even though QV = ΔU. Is heat a property of a system? Justify your reasoning.
PROBLEM 2BASIC CALCULATION
A rigid tank contains 3 kg of nitrogen (ideal gas, cv = 0.743 kJ/(kg·K), cp = 1.040 kJ/(kg·K)). The gas is heated from 20 °C to 180 °C. Calculate ΔU, ΔH, and the heat transfer Q.
PROBLEM 3INTERMEDIATE
Steam enters a steady-state, adiabatic turbine at 3 MPa and 400 °C (h₁ = 3231.7 kJ/kg) with a velocity of 50 m/s. It exits at 50 kPa as saturated vapor (h₂ = 2645.2 kJ/kg) with a velocity of 180 m/s. The inlet is 6 m above the exit. For a mass flow rate of 1.5 kg/s, determine the power output of the turbine.
PROBLEM 4APPLIED
In a bomb calorimeter (constant volume), the combustion of 1.00 g of glucose (C₆H₁₂O₆, M = 180.16 g/mol) releases 15.57 kJ. Determine ΔU and ΔH for the combustion of one mole of glucose at 25 °C, given the balanced reaction C₆H₁₂O₆(s) + 6 O₂(g) → 6 CO₂(g) + 6 H₂O(l).
PROBLEM 5CRITICAL THINKING
A well-insulated, rigid tank is divided into two equal compartments by a thin membrane. Compartment A contains an ideal gas at 500 kPa and 300 K; compartment B is evacuated. The membrane ruptures and the gas fills both compartments. (a) Determine the final temperature. (b) Determine ΔU and ΔH for the gas. (c) Explain why this process is irreversible despite ΔU = 0. (d) Would the result change for a real (van der Waals) gas? Justify.

Summary

Internal energy U is the sum of all microscopic kinetic and potential energies within a system and is governed by the First Law: ΔU = Q − W. Enthalpy H = U + PV packages internal energy with the pressure–volume product, making it the natural energy variable for constant-pressure processes and open (flow) systems where Q_P = ΔH. Total energy E = U + ½mv² + mgz extends the accounting to include macroscopic kinetic and gravitational potential energy, which becomes essential when fluids move at appreciable velocities or change elevation.

All three quantities are state functions: their values depend only on the current thermodynamic state, not the path by which it was reached. For ideal gases, U and H depend solely on temperature, yielding the convenient relations ΔU = mcvΔT and ΔH = mcpΔT. Choosing the right energy quantity—U for rigid vessels, H for constant-pressure or flow problems, E when macroscopic energies matter—simplifies the energy balance and is a foundational skill in thermodynamic analysis.

Varsity Tutors • Thermodynamics • Internal Energy, Enthalpy & Total Energy