Type a branch, a subject or a topic — “round robin”, “paging”, “civil”.

System, Boundary and Surroundings

Start here. Draw three different boundaries round the same piston and watch the answer change each time.

Skip to the animation

A thermodynamic system is whatever region you choose to analyse, separated from its surroundings by a boundary you draw — and because heat, work, mass and even what counts as a loss are all defined by what crosses that boundary, choosing it is the first step of every problem in the subject.

The three words

System
The quantity of matter or region of space chosen for study. It is a choice, not a property of the apparatus.
Boundary
The surface separating system from surroundings. Real or imaginary, fixed or moving, and of zero thickness — so it contains no mass and stores no energy.
Surroundings
Everything outside the boundary. In practice, everything that matters is the immediate surroundings.
Universe
System plus surroundings — the one genuinely isolated system there is.

Kinds of system, by what the boundary permits

TypeMass crosses?Energy crosses?Typical example
Closed (control mass)NoYesSealed piston-cylinder
Open (control volume)YesYesTurbine, nozzle, pump, boiler
IsolatedNoNoA perfect flask; strictly, the universe

Adiabatic is not a fourth row. It says only that *heat* does not cross — work still may, and an adiabatic compression does a great deal of work. Treating adiabatic as a synonym for isolated is one of the most persistent errors in the subject.

The same apparatus, three boundaries

Take a gas in a cylinder with a piston, heated from below. Three legitimate boundaries give three different — and all correct — analyses.

  1. 1Boundary A: the gas only. A closed system with fixed mass. Heat crosses in, work crosses out as the piston is pushed. ΔU = Q − W, where U is the internal energy of the gas.
  2. 2Boundary B: gas, cylinder and piston. Still closed, but the metal is now inside, so its internal energy is part of U. Crucially, piston friction is now internal — it no longer represents energy leaving, only energy moving about inside.
  3. 3Boundary C: a fixed volume the gas flows through. An open system. Mass crosses, and mass carries energy with it, so the balance gains flow terms.

Nothing physical differs between the three. The apparatus is identical, the flame is identical, the piston moves identically. Only the accounting changes — which is exactly why leaving the choice implicit is so damaging.

Why open systems have extra terms

Mass crossing a boundary carries energy with it: internal energy u, kinetic energy V²/2, potential energy gz, and the flow work pv needed to push it across against the pressure there.

Since u and pv always appear together for flowing matter, they are grouped as enthalpy h = u + pv. Enthalpy is not a new kind of energy; it is a bookkeeping convenience that exists precisely because of open systems.

This is why the steady flow energy equation is written in h rather than u, and why turbine, nozzle and compressor problems are all enthalpy problems.

The sign convention, and where it comes from

  • Q is positive when heat enters the system — because that is what you pay for in a heat engine.
  • W is positive when work is done by the system — because that is what you are trying to sell.
  • So ΔU = Q − W reads as: stored equals in minus out.

A compressor comes out with negative W. That is not an error but the convention correctly reporting that work was supplied rather than produced.

Chemistry uses the opposite sign for work and writes ΔU = Q + W. Neither convention is more correct; mixing them within one problem is fatal, and knowing that both exist prevents a great deal of confusion when reading across textbooks.

Properties, states and processes

Property
Any measurable characteristic of a system in equilibrium — pressure, temperature, volume, internal energy. Depends only on the current state, never on how it was reached.
Intensive vs extensive
Intensive properties (p, T, density) are independent of mass; extensive ones (V, U, m) scale with it. Divide an extensive property by mass and you get a specific property, which is intensive.
State
The condition of a system, fixed by its properties. For a simple compressible substance, any two independent intensive properties fix the state.
Process and cycle
A change of state is a process; a series of processes returning to the starting state is a cycle. Round a cycle every property change is zero — which is why ∮dU = 0 and heat engine analysis is possible.
Path function
Heat and work are not properties. They depend on the route taken, not just the endpoints — which is why they are written δQ and δW, and why a system contains internal energy but never 'contains heat'.

The numbers you will be asked for

First law, closed system

ΔU = Q − W

Every term defined by the chosen boundary, and by no other.

Enthalpy

h = u + p·v

Groups internal energy with flow work; exists because of open systems.

Steady flow energy equation

Q − W = ṁ[(h₂ − h₁) + (V₂² − V₁²)/2 + g(z₂ − z₁)]

The extra terms are the energy carried by the mass crossing the boundary.

Displacement work

W = ∫ p dV

A path function — the area under the process line on a p-V diagram.

Cyclic integral

∮ dU = 0, so ∮ δQ = ∮ δW

Round a cycle every property returns; heat and work need not.

Advantages and disadvantages

Advantages

  • One framework handles a piston, a turbine and a whole power station.
  • The boundary may be chosen for convenience — often turning a hard problem into an easy one.
  • Properties are path-independent, so only the end states matter.
  • Cycles close every property, which is what makes engine and refrigerator analysis tractable.

Disadvantages

  • The choice of boundary is not given, and an unstated one is the commonest source of error.
  • Properties are only defined in equilibrium, so rapid processes are approximated as quasi-static.
  • The first law says nothing about direction — that requires the second law entirely.
  • Two sign conventions are in common use, and they differ by a minus sign in the first law.

Watch it work

loading visualisation…

Check yourself

question 1 / 5

One question at a time. Pick an answer to see why it is right or wrong, then move on — there is no score to keep and nothing is saved.

A gas is compressed in a perfectly insulated cylinder. Is this an isolated system?
You analyse a piston engine once with the boundary round the gas and once round the whole assembly. Piston friction is a loss in the first and not in the second. Which analysis is right?
Why does the energy equation for an open system have terms that a closed system's does not?
Why are heat and work written δQ and δW rather than dQ and dW?
A textbook gives the first law as ΔU = Q + W, and yours gives ΔU = Q − W. Which is wrong?

0 / 5

5 still unanswered — the dots above jump straight to them.

 

Last topic in this subject. Back to the contents →