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.
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.
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
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.
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.
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) |
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.
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. |
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) |
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.
Practice Problems
Lesson 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.