The first law for a closed system states that energy change equals heat added minus work done by the system: ΔU = Q - W. This energy balance applies to any system undergoing any process and is the foundation for analyzing turbines, compressors, and heat exchangers with fixed mass. Identifying all forms of work (boundary, shaft) and heat transfer is critical to correct application.
Write the first law ΔU = Q - W for various processes (isothermal, isobaric, isochoric) and identify which terms vanish. Practice calculating work for boundary-displacement processes (W = ∫P dV) and recognize that polytropic processes (PVⁿ = const) are common idealizations. Always draw the system boundary clearly and identify work and heat at the boundary.
The first law of thermodynamics for a closed system is an energy balance: the change in a system's internal energy equals the heat transferred into the system minus the work done by the system. Written compactly: ΔU = Q − W. This single equation governs steam engines, refrigerators, internal combustion engines, and any other device where a fixed mass of working fluid absorbs or releases energy.
A closed system has fixed mass — no matter crosses the boundary — but energy can cross as heat or work. The system boundary is a conceptual surface you draw around the substance of interest. Heat Q is energy transfer driven by a temperature difference across that boundary; it is positive when flowing in. Work W is energy transfer through mechanical interaction (a moving piston, a rotating shaft); it is positive when the system does work on the surroundings. Getting the sign convention right and drawing a clear boundary before writing any equations prevents most first-law errors.
The most important thing to understand about internal energy U is that it is a state function: it depends only on the thermodynamic state (characterized by properties like temperature and pressure), not on how the system arrived at that state. This means ΔU = U_final − U_initial, full stop — the path does not matter. Contrast this with Q and W individually, which are path-dependent. A slow isothermal compression and a fast irreversible compression between the same two states will have different Q and different W, but the same ΔU. This is why the first law is so powerful: even when you do not know the details of a process, you can compute ΔU from any convenient path.
For boundary work in a simple compressible system, W = ∫P dV. Three process types are especially common: isochoric (constant volume, dV = 0, so W = 0 and ΔU = Q), isobaric (constant pressure, W = PΔV), and isothermal (constant temperature, ΔU = 0 for an ideal gas, so Q = W). The polytropic process PVⁿ = constant generalizes all three: n = 0 is isobaric, n = 1 is isothermal for ideal gases, n = γ is adiabatic (no heat transfer), and n → ∞ is isochoric. Recognizing which process applies tells you immediately which terms in ΔU = Q − W are zero or simplified, making the calculation tractable.