SECTION 1
Historical Context & Motivation
The idea that energy can be neither created nor destroyed—only converted from one form to another—took more than a century to crystallize. Before the first law of thermodynamics was formalized, engineers relied on empirical rules of thumb to design steam engines, and natural philosophers debated whether heat was a material substance called caloric or a manifestation of microscopic motion. The resolution of this debate laid the groundwork for every modern energy balance, from power-plant design to biological metabolism. Understanding how these ideas developed illuminates why the closed-system energy balance takes the particular mathematical form it does today.
1798 • Rumford's Cannon-Boring Experiment
1843 • Joule's Paddle-Wheel Experiment
1850 • Clausius Formalizes the First Law
1854 • Kelvin's Absolute Temperature Scale
The central question these pioneers answered is deceptively simple: when a fixed quantity of matter exchanges energy with its surroundings through heat and work, how do we systematically account for where the energy goes? The closed-system energy balance is the answer—a single equation that, when mastered, unlocks the analysis of pistons, bombs, tanks, rigid vessels, and countless other engineering devices in which mass does not cross the system boundary.
SECTION 2
Core Principles & Definitions
Before writing an energy balance, several foundational definitions must be precise. A closed system (also called a control mass) is a region of space whose boundary permits energy transfer—via heat and work—but prohibits mass transfer. The system boundary separates the system from its surroundings, and together they constitute the universe in a thermodynamic sense. Clear identification of these elements is the very first step in any energy-balance problem.
Internal Energy (U)
Heat (Q)
Work (W)
Sign Convention
State vs. Path Functions
KEY TAKEAWAY
SECTION 3
Visual Explanation — The Closed-System Energy Balance
The diagram above captures the essence of the first law for a closed system. The dashed boundary is permeable to energy but impermeable to mass—no matter enters or leaves. The total energy stored in the system, E = U + KE + PE, can change only by net heat transfer into the system or net work transfer out of the system. In many engineering applications involving stationary devices such as rigid tanks or piston–cylinder assemblies, macroscopic kinetic and potential energy changes are negligible, and the energy balance simplifies to ΔU = Q − W. Recognizing when this simplification is valid is a critical skill in applying the first law correctly.
SECTION 4
Mathematical Framework
The first law of thermodynamics for a closed system can be expressed in both differential and integrated forms. The differential form governs infinitesimal changes between closely spaced equilibrium states, while the integrated form relates two distinct equilibrium states separated by a finite process. Both forms are essential for problem solving: the differential form underpins derivations and is required when properties vary continuously along the process path, while the integrated form is the workhorse for most practical calculations.
FIRST LAW — DIFFERENTIAL FORM
where dE is the exact differential of total system energy, δQ is the inexact differential of heat (path-dependent), and δW is the inexact differential of work (path-dependent).
FIRST LAW — INTEGRATED FORM
Since E = U + KE + PE, expand to: ΔU + ΔKE + ΔPE = Q − W. For stationary systems where ΔKE = 0 and ΔPE = 0, this reduces to ΔU = Q − W.
BOUNDARY WORK — QUASI-STATIC PROCESS
Boundary work is the integral of pressure with respect to volume from state 1 to state 2. This integral can only be evaluated when the process path P(V) is specified. For a constant-pressure process: Wb = P(V₂ − V₁).
PER-UNIT-MASS FORM
Lowercase letters denote specific (per unit mass) quantities: u = U/m, q = Q/m, w = W/m. This form is particularly convenient when working with thermodynamic property tables that list specific internal energy values.
Sign Convention Warning
SECTION 5
Special Cases — Common Closed-System Processes
Although the energy balance ΔU = Q − W applies universally to stationary closed systems, many practical problems involve processes in which one thermodynamic property is held constant. Recognizing these special-case processes allows significant simplification of both the energy balance and the work integral. The diagram below summarizes the four most commonly encountered quasi-static processes on a pressure–volume diagram, along with their energy-balance implications.
| Process | Constraint | Work Expression | Energy Balance |
|---|---|---|---|
| Isochoric | V = constant | Wb = 0 | ΔU = Q |
| Isobaric | P = constant | Wb = P(V₂ − V₁) | ΔU = Q − P·ΔV |
| Isothermal | T = constant | Wb = nRT ln(V₂/V₁) for ideal gas | For ideal gas: ΔU = 0, Q = W |
| Adiabatic | Q = 0 | Depends on path (PVγ = const for ideal gas) | ΔU = −W |
| Polytropic | PVn = const | Wb = (P₂V₂ − P₁V₁)/(1 − n), n ≠ 1 | ΔU = Q − W (general) |
Summary of common closed-system process types with their work expressions and simplified energy balances.
SECTION 6
Worked Example — Piston–Cylinder with Steam
A rigid piston–cylinder device contains 0.5 kg of water initially at 200 kPa and 150 °C (superheated steam). The steam is cooled at constant pressure until it reaches a quality of x = 0.5 (wet mixture). Determine the boundary work done and the heat transfer during this process. Assume changes in kinetic and potential energy are negligible.
Constant-Pressure Cooling of Steam in a Piston–Cylinder
- 1
Step 1 — Identify the System and Process
The system is the 0.5 kg of water enclosed in the piston–cylinder assembly. Since no mass crosses the boundary, this is a closed system. The piston moves freely under constant pressure (P = 200 kPa), so the process is isobaric. Since ΔKE = 0 and ΔPE = 0, the energy balance is ΔU = Q − Wb. - 2
Step 2 — Find Initial State Properties
At state 1 (P₁ = 200 kPa, T₁ = 150 °C), steam tables give: specific volume v₁ = 0.9596 m³/kg, specific internal energy u₁ = 2577.1 kJ/kg. Since T₁ > Tsat at 200 kPa (120.21 °C), the steam is indeed superheated.v₁ = 0.9596 m³/kg, u₁ = 2577.1 kJ/kg - 3
Step 3 — Find Final State Properties
At state 2 (P₂ = 200 kPa, x₂ = 0.5), use saturation data at 200 kPa: vf = 0.001061 m³/kg, vfg = 0.8847 m³/kg, uf = 504.50 kJ/kg, ufg = 2024.6 kJ/kg. Then v₂ = vf + x₂ × vfg = 0.001061 + 0.5 × 0.8847 = 0.4434 m³/kg. Similarly, u₂ = uf + x₂ × ufg = 504.50 + 0.5 × 2024.6 = 1516.8 kJ/kg.v₂ = 0.4434 m³/kg, u₂ = 1516.8 kJ/kg - 4
Step 4 — Calculate Boundary Work
For a constant-pressure process, Wb = P(V₂ − V₁) = mP(v₂ − v₁). Substituting: Wb = 0.5 kg × 200 kPa × (0.4434 − 0.9596) m³/kg = 0.5 × 200 × (−0.5162) = −51.62 kJ. The negative sign indicates that work is done on the system (the steam is compressed as it condenses).= −51.62 kJ - 5
Step 5 — Apply the Energy Balance to Find Q
From ΔU = Q − Wb, rearrange: Q = ΔU + Wb = m(u₂ − u₁) + Wb. Compute ΔU: m(u₂ − u₁) = 0.5 × (1516.8 − 2577.1) = 0.5 × (−1060.3) = −530.15 kJ. Therefore Q = −530.15 + (−51.62) = −581.77 kJ. The negative sign confirms that heat is rejected from the system to the surroundings, consistent with the cooling process.Q = −581.8 kJ (heat rejected)
SECTION 7
Strengths, Limitations & Common Pitfalls
| Aspect | Strengths | Limitations / Pitfalls |
|---|---|---|
| Generality | Applies to any substance (ideal gas, real gas, liquid, solid, two-phase mixture) without requiring a specific equation of state. | Does not specify the direction of natural processes (for that, the second law is needed). |
| Simplicity | Reduces to ΔU = Q − W for stationary systems, a compact and intuitive equation. | Oversimplification occurs when students drop KE or PE terms in problems where the system is moving or elevated. |
| Sign convention | Consistent signs allow algebraic bookkeeping—positive Q means heat in, positive W means work out. | Mixing conventions from different textbooks is the single most common source of sign errors. |
| Boundary work | The P–V diagram provides geometric meaning—area under the curve equals work for quasi-static processes. | For non-quasi-static (rapid, irreversible) processes, the integral ∫P dV gives only the boundary work and the actual work may differ. |
| Property data | Works seamlessly with thermodynamic tables, equations of state, and software databases. | If the wrong state is identified (e.g., reading superheated properties when the substance is in the two-phase region), all subsequent results will be incorrect. |
Strengths and common pitfalls when applying the closed-system energy balance.
KEY TAKEAWAY
SECTION 8
Connection to Open Systems & Advanced Topics
The closed-system energy balance is a stepping stone to the more general open-system (control-volume) energy balance, which accounts for mass flow across the boundary. In real-world devices such as turbines, compressors, heat exchangers, and nozzles, mass continuously enters and exits the device. The first law must then include the energy transported by the flowing mass—specifically, its enthalpy, kinetic energy, and potential energy at the inlet and outlet. Mastering the closed-system case provides the physical intuition and mathematical discipline necessary for that transition.
| Feature | Closed System | Open System (Control Volume) |
|---|---|---|
| Mass crossing boundary | No | Yes (ṁin and ṁout) |
| Energy equation | ΔU = Q − W | dEcv/dt = Q̇ − Ẇ + Σṁinhin − Σṁouthout + ... |
| Key energy property | Internal energy, u | Enthalpy, h = u + Pv |
| Typical devices | Piston–cylinder, rigid tank, bomb calorimeter | Turbine, compressor, nozzle, heat exchanger |
| Boundary work | Explicitly calculated via ∫P dV | Absorbed into the enthalpy terms (flow work, Pv) |
Comparison between closed-system and open-system energy balances.
Beyond the first law, the second law of thermodynamics introduces the concept of entropy and provides a direction for processes: while the first law tells you the quantity of energy that must be conserved, the second law tells you which processes are physically possible and how much useful work can actually be extracted. Together, the first and second laws form the analytical backbone of thermodynamic design—from Rankine-cycle power plants to refrigeration systems. The energy balance you have learned here is therefore not an isolated tool but the foundation upon which all of engineering thermodynamics is built.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
The first law of thermodynamics for a closed system (no mass transfer across the boundary) is expressed as ΔE = Q − W, where E = U + KE + PE is the total system energy, Q is heat transfer (positive into the system), and W is work (positive out of the system). For stationary systems, the balance simplifies to ΔU = Q − W, placing internal energy at the center of the analysis.
Common process types simplify the balance further: isochoric (constant volume, Wb = 0), isobaric (constant pressure, Wb = PΔV), isothermal (constant temperature, ΔU = 0 for ideal gases), and adiabatic (Q = 0, ΔU = −W). Boundary work is the area under the curve on a P–V diagram for quasi-static processes. Success in applying the energy balance depends on correctly identifying the system boundary, selecting the appropriate sign convention, determining the thermodynamic state at each endpoint, and choosing the right process model.