Historical Context & Motivation
The distinction between heat and work as separate modes of energy transfer lies at the very foundation of thermodynamics, yet the two concepts were conflated for centuries. Before the nineteenth century, heat was widely understood through the lens of the caloric theory, which imagined heat as a weightless, indestructible fluid flowing from hot bodies to cold ones. Work, by contrast, was understood mechanically through Newtonian physics. The realization that these two quantities are interconvertible manifestations of a single conserved quantity—energy—required decades of experimental insight and theoretical refinement, ultimately yielding the First Law of Thermodynamics and the need for precise sign conventions.
The central question this lesson addresses is deceptively simple: when energy crosses the boundary of a thermodynamic system, how do we systematically categorize that transfer as heat or work, and how do we assign algebraic signs so that the First Law equation remains internally consistent? Mastering this bookkeeping is essential before tackling any thermodynamic cycle, from Carnot engines to refrigeration loops.
Core Principles & Definitions
Before writing down any equation, it is crucial to internalize the physical distinction between heat and work and to understand why a sign convention is not merely a notational preference but a logical necessity for consistent energy accounting. The following core ideas form the conceptual scaffolding for everything that follows.
Heat (Q) — Energy Transfer via Temperature Difference
Work (W) — Energy Transfer via Generalized Force
Internal Energy (U) — The System's State Function
Path vs. State Dependence
Sign Convention — The Algebraic Contract
Visual Explanation — System Boundary Diagram
The diagram above encapsulates the entire sign-convention debate in a single image. Both conventions agree that heat entering the system is positive. The divergence appears in work. Engineers and many physics textbooks define positive work as energy leaving the system (the system does work on the surroundings), leading to ΔU = Q − W. Chemists and the IUPAC standard define positive work as energy entering the system (the surroundings do work on the system), leading to ΔU = Q + W. The physical content is identical; only the sign in front of W flips. Throughout this lesson, we will work both conventions side by side so that you can translate fluently between them.
Mathematical Framework
The First Law of Thermodynamics provides the central equation relating heat, work, and internal energy. Because Q and W are path functions, their infinitesimal forms are inexact differentials, and we denote them δQ and δW to distinguish them from the exact differential dU. Let us formalize both sign conventions and the key integral expressions.
Detailed Comparison of Sign Conventions
The existence of two sign conventions is one of the most common sources of confusion for students encountering thermodynamics across physics and chemistry courses. The table below provides a comprehensive side-by-side comparison, and the accompanying diagram maps out exactly how the signs flip for various common processes.
| Scenario | Physics Convention (ΔU = Q − W) | Chemistry Convention (ΔU = Q + W) |
|---|---|---|
| Heat flows into the system | Q > 0 (positive) | Q > 0 (positive) |
| Heat flows out of the system | Q < 0 (negative) | Q < 0 (negative) |
| System expands against surroundings | W > 0 (system does work) | W < 0 (energy leaves system) |
| Surroundings compress the system | W < 0 (work done on system) | W > 0 (energy enters system) |
| Adiabatic free expansion | Q = 0, W = 0, ΔU = 0 | Q = 0, W = 0, ΔU = 0 |
| Isothermal expansion of ideal gas | Q > 0, W > 0, ΔU = 0 → Q = W | Q > 0, W < 0, ΔU = 0 → Q = −W |
Worked Example — Applying Both Sign Conventions
A gas in a piston–cylinder assembly absorbs 500 J of heat from a hot reservoir and expands, pushing the piston outward and performing 200 J of boundary work against the atmosphere. Determine the change in internal energy using both sign conventions and verify that the result is identical.
Common Pitfalls & Practical Tips
Sign convention errors are among the most frequent mistakes on thermodynamics exams. The table below catalogs common pitfalls alongside strategies for avoiding them. Internalizing these will save considerable frustration in more advanced topics such as thermodynamic cycles and open-system analysis.
| Pitfall | What Goes Wrong | Correct Approach |
|---|---|---|
| Mixing conventions mid-problem | Using ΔU = Q − W but assigning W positive for work done on the system yields ΔU with wrong sign. | Declare your convention at the outset and apply it consistently. Circle or underline it at the top of your work. |
| Treating Q and W as state functions | Writing Q₁, Q₂ as properties of states 1 and 2. Heat is not stored; only internal energy is. | Always write Q and W as process quantities. Use δQ and δW for infinitesimals, never dQ or dW. |
| Confusing P_ext with P_sys in W = ∫PdV | Using the system's internal pressure in an irreversible process where P_ext ≠ P_sys. | For boundary work against the surroundings, the relevant pressure is the external (opposing) pressure. P_sys = P_ext only for quasi-static processes. |
| Ignoring non-PdV work | Forgetting shaft work, electrical work, or stirring work and assigning W = 0 for a rigid container with a stirrer. | Inventory all work modes: boundary (PdV), shaft, electrical, magnetic, surface tension. Constant volume only eliminates PdV work. |
| Assuming Q = 0 means no temperature change | Adiabatic processes (Q = 0) can still change temperature through work interactions (e.g., adiabatic compression heats the gas). | Remember that ΔU = −W (physics) when Q = 0. For an ideal gas, ΔU = nCᵥΔT, so adiabatic work changes temperature. |
Connections to Advanced Thermodynamics
The heat–work distinction and sign conventions laid out in the First Law serve as the conceptual launching pad for virtually every advanced topic in thermodynamics. The Second Law, entropy, enthalpy, free energies, and thermodynamic potentials all build directly on the framework established here. Understanding how the elementary concepts generalize is essential for deeper study.
| First Law Concept | Advanced Extension | Key Relationship |
|---|---|---|
| Q (heat transfer) | Entropy (S) via Clausius inequality | dS ≥ δQ/T; equality for reversible processes |
| W = ∫PdV (boundary work) | Enthalpy H = U + PV | At constant pressure, Q_p = ΔH, absorbing PdV work into the state function |
| ΔU = Q − W (closed system) | Open-system energy balance | dU/dt = Q̇ − Ẇ + Σ ṁ(h + V²/2 + gz) for flow systems |
| Sign of W determines ΔU direction | Helmholtz (A) and Gibbs (G) free energies | A = U − TS gives maximum work at constant T; G = H − TS gives maximum non-PdV work at constant T, P |
| Path dependence of Q and W | Exact vs. inexact differentials; Maxwell relations | Combinations like dU = TdS − PdV are exact, enabling powerful cross-derivative identities |
Notice a recurring theme: advanced thermodynamics often constructs new state functions (H, A, G) specifically to absorb certain work or heat terms into a single convenient quantity. Enthalpy, for example, was invented precisely so that engineers dealing with constant-pressure processes could replace the cumbersome expression Q = ΔU + PΔV with the cleaner Qp = ΔH. The sign conventions you master now will carry through unchanged into these more powerful formalisms, so building a solid foundation here pays compounding dividends in every subsequent thermodynamics course.
Practice Problems
Lesson Summary
Heat (Q) is energy that crosses a system boundary solely due to a temperature difference, while work (W) encompasses all other modes of energy transfer—most commonly boundary (PdV) work. Both are path functions (inexact differentials δQ and δW), unlike internal energy (U), which is a state function. The First Law connects them: ΔU = Q − W in the physics convention (W positive when the system does work on the surroundings) or ΔU = Q + W in the chemistry convention (W positive when the surroundings do work on the system). The sign of Q is universally positive for heat absorbed.
Mastery of sign conventions requires three habits: (1) declare your convention before starting, (2) describe energy flows in plain language before assigning signs, and (3) verify by solving with both conventions to confirm that ΔU agrees. These foundations extend directly to entropy (dS = δQrev/T), enthalpy (H = U + PV), and the Gibbs and Helmholtz free energies, making precise energy bookkeeping the indispensable skill upon which all of thermodynamics is built.