The First Law — Statement and Meaning
The First Law of Thermodynamics is a statement of energy conservation applied to thermodynamic systems. In its most common form:
Every term in this equation requires careful definition, because casual use of the words "heat," "energy," and "work" leads to sign errors and conceptual confusion. Let's take each one seriously.
ΔU (change in internal energy) is the difference between the total microscopic energy of the system after and before the process. It includes all kinetic energy of the molecules (thermal motion), potential energy of molecular interactions, vibrational and rotational energy of molecules, and electronic energy. It does not include the bulk kinetic or potential energy of the system as a whole — only the internal, microscopic energy.
Q (heat) is the energy transferred across the system boundary due to a temperature difference between the system and its surroundings. It is not a property of the system — it's a process. You cannot say a gas "contains heat"; you can only say heat flowed in or out of it.
W (work) is the energy transferred by any other means — most commonly by the system expanding or being compressed, doing work on its surroundings or having work done on it.
Q positive: heat flows INTO the system (system gains energy). Q negative: heat flows OUT. W positive: system does work on surroundings (system loses energy). W negative: surroundings do work on system (system gains energy). Chemistry textbooks sometimes use ΔU = Q + W (where W is work done on the system) — be aware of which convention a source uses.
Internal Energy: What It Is and Isn't
Internal energy U is a state function — it depends only on the current state of the system (temperature, pressure, volume, composition), not on how the system got there. This is a profound property. It means that if a gas starts at state A and ends at state B, the change in internal energy ΔU = U_B − U_A is the same regardless of the path taken — whether the process was slow, fast, reversible, or involved some bizarre series of compressions and expansions.
Heat and work, by contrast, are path-dependent — they depend on how the process was carried out. You might get from A to B by adding lots of heat and doing lots of work, or by adding a small amount of heat with no work. The path is different; the ΔU is identical. This path-independence of ΔU is what makes the First Law a conservation law.
For an ideal monatomic gas (like helium or argon), the internal energy is purely kinetic: U = (3/2)nRT, where n is the number of moles and R = 8.314 J/mol·K. For real gases and other materials, additional molecular interactions contribute, but the essential point holds: U is a function of state.
Work in Thermodynamics
The most common form of thermodynamic work is expansion work — work done by a gas pushing against an external pressure. For a quasi-static (very slow, reversible) process at constant pressure P:
For variable pressure, we integrate: W = ∫P dV. This integral — the area under a P-V diagram — represents the work done. Understanding P-V diagrams is essential for analysing thermodynamic cycles like the Carnot cycle and Otto cycle. See the full Thermodynamics guide for P-V diagram analysis.
Note that work requires displacement — if a gas heats up inside a rigid container (ΔV = 0), no PΔV work is done. All the added heat goes directly into raising the internal energy.
The Four Thermodynamic Processes
Isothermal
Constant temperature. ΔT = 0, so for an ideal gas, ΔU = 0. All heat added equals work done.
Adiabatic
No heat exchange. Q = 0. Any work done changes internal energy only. Gas cools when it expands.
Isochoric
Constant volume. ΔV = 0, so W = 0. All heat added goes to internal energy.
Isobaric
Constant pressure. W = PΔV. Heat added goes to both internal energy and expansion work.
These four idealised processes are building blocks for real thermodynamic cycles. A car engine's Otto cycle approximates two adiabatic and two isochoric processes. Understanding each process on a P-V diagram — what the curve looks like, how much area (work) it encloses — is the key to analysing any heat engine.
When a gas expands adiabatically (no heat exchange), it does work on the surroundings by pushing against them. That work energy must come from inside the gas — so the gas cools. This is why a bicycle pump gets warm when you compress air quickly (approximately adiabatic — the compression is faster than heat can escape), and why the temperature drops when you open a pressurised gas cylinder rapidly.
Heat Capacity: How Much Energy Does It Take to Heat Things Up?
The heat capacity of a substance is the amount of heat required to raise its temperature by 1 kelvin. But there are two different heat capacities, depending on conditions:
| Heat Capacity | Condition | Definition | Why It's Larger/Smaller |
|---|---|---|---|
| C_V | Constant volume | Q = nC_VΔT | All heat goes to raising internal energy — no work done. |
| C_P | Constant pressure | Q = nC_PΔT | Heat goes to internal energy AND expansion work — must add more heat for same ΔT. C_P > C_V always. |
The relationship between them: C_P − C_V = R (for an ideal gas), where R = 8.314 J/mol·K. For a monatomic ideal gas: C_V = (3/2)R, C_P = (5/2)R. The ratio γ = C_P/C_V = 5/3 ≈ 1.67 appears in the adiabatic process equations.
Worked Examples
Apply ΔU = Q − W directly
Direct application: ΔU = Q − W = 450 − 180 = +270 J
Interpretation: the gas gained 450 J from heat, used 180 J to push outward (do work), and kept 270 J as increased internal energy — its temperature rose.
Gas heated at constant volume
Work done: W = PΔV = 0 (constant volume, no expansion)
Heat added: Q = nC_VΔT = 2 × (3/2)(8.314) × 100 = 2 × 12.471 × 100 = 2,494 J
First Law: ΔU = Q − W = 2494 − 0 = 2,494 J
Gas heated at constant pressure
Heat added: Q = nC_PΔT = 2 × (5/2)(8.314) × 100 = 4,157 J
Internal energy change: ΔU = nC_VΔT = 2,494 J (same temperature rise, same ΔU as Example 2)
Work done by gas: W = Q − ΔU = 4157 − 2494 = 1,663 J
Verify: W = nRΔT = 2 × 8.314 × 100 = 1,663 J ✓ (confirms C_P − C_V = R relation)
Adiabatic compression in a diesel engine
For adiabatic: TV^(γ-1) = constant. So T_f = T_i(V_i/V_f)^(γ-1) = 300 × (20)^0.4
20^0.4 = e^(0.4 × ln20) = e^(0.4 × 2.996) = e^1.198 = 3.31
T_f = 300 × 3.31 = 993 K = 720°C
This is above diesel fuel's autoignition temperature (~250°C) — which is exactly why diesel engines don't need spark plugs. The adiabatic compression alone heats the air enough to ignite the fuel.
Why the First Law Rules Out Perpetual Motion Machines
A perpetual motion machine of the first kind (PMM1) is a device that produces more energy than it consumes — effectively creating energy from nothing. The First Law makes this impossible by definition: ΔU = Q − W means that the work output W can never exceed the heat input Q without depleting internal energy. A machine cannot have W > Q while ΔU = 0 — that would require Q > W and W > Q simultaneously, which is a contradiction.
Throughout history, inventors have proposed thousands of perpetual motion designs. Some were ingenious; all failed. The First Law isn't a guideline or an approximation — it's a fundamental consequence of the nature of energy itself. Any device that appears to violate it contains a hidden energy source, a measurement error, or outright fraud.
Whenever you see a claim that a device "outputs more energy than it takes in" — whether in engineering, finance, or social media — the First Law provides an immediate, unambiguous answer: impossible. No exceptions. No new discoveries will change this, because conservation of energy follows from the structure of time itself (Noether's theorem).
Frequently Asked Questions
The Bigger Picture: All Four Laws
The First Law is just one of four laws governing thermodynamics. The full topic guide covers entropy, Carnot efficiency, absolute zero, and kinetic theory.
Full Thermodynamics Guide → What Is Energy?Sources & Further Reading
- Atkins, P., & de Paula, J. (2014). Physical Chemistry (10th ed.). Oxford University Press. Chapter 2: The First Law.
- Callen, H. B. (1985). Thermodynamics and an Introduction to Thermostatistics (2nd ed.). Wiley. Chapter 1: The Problem and the Postulates.
- Fermi, E. (1956). Thermodynamics. Dover Publications. Chapter 1: Fundamental Concepts.
- Zemansky, M. W., & Dittman, R. H. (1997). Heat and Thermodynamics (7th ed.). McGraw-Hill. Chapters 5–6.
- Halliday, D., Resnick, R., & Krane, K. S. (2002). Physics (5th ed., Vol. 2). Wiley. Chapter 21: Thermodynamics.