01 / 22

First Law:
Closed Systems

Master the conservation of energy for closed systems: how heat and work change a system's internal energy.

Thermodynamics

What Is a System?

In thermodynamics, we divide the universe into two parts: the system (the region we are studying) and the surroundings (everything else). A boundary separates them.

SURROUNDINGS BOUNDARY SYSTEM \(Q\) \(W\)

Closed vs Open Systems

Closed System
No mass crosses the boundary. Only energy (heat, work) can enter or leave. Example: a sealed piston-cylinder.
Open System
Both mass and energy can cross the boundary. Example: a turbine, nozzle, or compressor.
Isolated System
Neither mass nor energy crosses the boundary. Example: a perfectly insulated sealed container.

Key Energy Concepts

\(U\) : Internal Energy
The total microscopic energy of the molecules: their kinetic + potential energy. A state property (depends only on the current state, not how we got there).
\(Q\) : Heat
Energy transferred across the boundary due to a temperature difference. Positive when heat flows into the system.
\(W\) : Work
Energy transferred when a force acts through a distance at the boundary (e.g., a piston expanding). Positive when done by the system.

The First Law of Thermodynamics

For a closed system undergoing a process between two equilibrium states, the change in internal energy equals the net heat added minus the net work done by the system:

State 1 \(U_1\) Process \(+Q\) in \(+W\) out State 2 \(U_2\) \(\Delta U = Q - W\)

Sign Convention

Getting the signs right is essential. We use the physics convention:

Quantity Positive (+) Negative (-)
\(Q\) (Heat) Into the system Out of the system
\(W\) (Work) By the system (expansion) On the system (compression)
\(\Delta U\) Internal energy increases Internal energy decreases

State Functions vs Path Functions

Feature State Function Path Function
Depends on Current state only Process path taken
Examples \(U, T, P, V\) \(Q, W\)
Cyclic integral \(\oint dU = 0\) \(\oint \delta Q \neq 0\) in general
Differential Exact: \(dU\) Inexact: \(\delta Q,\, \delta W\)

Differential Form

For an infinitesimally small change in state, the first law becomes:

We write \(\delta Q\) and \(\delta W\) (with \(\delta\), not \(d\)) to emphasize that heat and work are inexact differentials: they are not properties of the state but depend on the process.

Special Processes

Adiabatic
\(Q = 0\) so \(\Delta U = -W\). All energy change comes from work alone.
Isochoric
\(V = \text{const}\), so \(W = 0\). Thus \(\Delta U = Q\). Heat directly changes internal energy.
Isothermal
\(T = \text{const}\). For an ideal gas, \(\Delta U = 0\), so \(Q = W\).
Isobaric
\(P = \text{const}\). Boundary work is \(W = P\,\Delta V\), and \(\Delta U = Q - P\,\Delta V\).

How to Apply the First Law

1
Identify the system. Draw a boundary around the mass you're analyzing and confirm it is closed (no mass in or out).
2
Identify the process. Is it adiabatic, isochoric, isothermal, isobaric, or something else?
3
Determine signs. Decide the sign of \(Q\) (heat in = positive) and \(W\) (work out = positive).
4
Write the first law: \(\Delta U = Q - W\). Substitute known values.
5
Solve for the unknown. Use process constraints to eliminate unknowns (e.g., \(Q = 0\) for adiabatic).

Example 1: Isochoric Heating

A rigid sealed tank contains gas. We add \(Q = 500\;\text{kJ}\) of heat. No work is done because the volume is constant. Find \(\Delta U\).

Gas \(V = \text{const}\) \(Q = 500\;\text{kJ}\) \(W = 0\)

Example 2: Adiabatic Compression

An insulated piston-cylinder undergoes adiabatic compression. The surroundings do \(200\;\text{kJ}\) of work on the gas. Find \(\Delta U\).

PISTON \(W = -200\;\text{kJ}\) (on gas) Gas \(Q = 0\) (insulated)

Example 3: Isobaric Expansion

A gas in a piston-cylinder receives \(Q = 800\;\text{kJ}\) of heat at constant pressure \(P = 200\;\text{kPa}\). The gas expands from \(V_1 = 1\;\text{m}^3\) to \(V_2 = 3\;\text{m}^3\). Find \(\Delta U\).

1
Calculate boundary work: \(W = P\,\Delta V = 200 \times (3 - 1) = 400\;\text{kJ}\)
2
Apply the first law: \(\Delta U = Q - W = 800 - 400 = 400\;\text{kJ}\)
3
Interpret: Of the 800 kJ of heat, \(400\;\text{kJ}\) went to boundary work and \(400\;\text{kJ}\) went to raising internal energy.

Work on a \(P\text{-}V\) Diagram

For a quasi-static process in a closed system, boundary work is the area under the curve on a \(P\text{-}V\) diagram:

\(V\) \(P\) 1 2 \(W = \text{Area}\) \(V_1\) \(V_2\)

First Law for a Cycle

When a closed system returns to its initial state (a thermodynamic cycle), the net change in internal energy is zero:

\(V\) \(P\) 1 2 \(W_{\text{net}}\)

Common Mistakes

Wrong Sign Convention
Mixing up \(\Delta U = Q - W\) with \(\Delta U = Q + W\). Always check which convention your textbook uses before substituting values.
Treating Q and W as State Functions
Writing "\(\Delta Q\)" or "\(\Delta W\)" is incorrect. Heat and work are not properties: use \(Q\) and \(W\) (or \(\delta Q\), \(\delta W\)), never \(\Delta\).
Forgetting Process Constraints
Not simplifying the first law with known constraints: e.g., \(W = 0\) for rigid containers, \(Q = 0\) for insulated walls.

Summary of Processes

Process Constraint First Law Becomes
Adiabatic \(Q = 0\) \(\Delta U = -W\)
Isochoric \(V = \text{const},\; W = 0\) \(\Delta U = Q\)
Isothermal (ideal gas) \(T = \text{const},\; \Delta U = 0\) \(Q = W\)
Isobaric \(P = \text{const}\) \(\Delta U = Q - P\,\Delta V\)
Cycle \(\Delta U = 0\) \(Q_{\text{net}} = W_{\text{net}}\)

Question 1 of 5

A closed system receives \(300\;\text{kJ}\) of heat and does \(100\;\text{kJ}\) of work on its surroundings. What is \(\Delta U\)?

Question 2 of 5

An insulated piston-cylinder contains gas that is compressed. During the compression, \(150\;\text{kJ}\) of work is done on the gas. What is \(\Delta U\)?

Question 3 of 5

For a closed system executing a thermodynamic cycle, which statement is always true?

Question 4 of 5

A gas in a rigid container loses \(250\;\text{kJ}\) of heat to the surroundings. What is the change in internal energy?

Question 5 of 5

A gas expands at constant pressure \(P = 150\;\text{kPa}\) from \(V_1 = 0.5\;\text{m}^3\) to \(V_2 = 2.0\;\text{m}^3\) while receiving \(600\;\text{kJ}\) of heat. What is \(\Delta U\)?