Worked examples — System vs surroundings; open, closed, isolated
You have met three boundaries: open, closed, isolated. Now we drive them through every case they can throw at you: matter crossing or not, heat crossing or not, work switched on or off, degenerate zeros, limiting values, a word problem, and an exam twist. We build every symbol before using it.
Look at the first figure: the orange arrows are matter crossing, the magenta arrows are heat/work energy crossing. Reading left to right you can watch both switches turn off one at a time — open (both on), closed (matter off), isolated (all off).

Before any numbers, three words earn their meaning:
The scenario matrix
Every situation this topic hands you lands in one of these cells. The examples that follow are tagged to the cell they cover.
| Cell | Matter crosses? | Heat crosses? | Work ()? | Kind of case | Example |
|---|---|---|---|---|---|
| A | ❌ | ✅ | rigid, | closed + fixed volume | Ex 1 |
| B | ❌ | ✅ | movable, | closed + expansion | Ex 2 |
| C | ❌ | ✅ | movable, compression () | sign flip on | Ex 3 |
| D | ❌ | ❌ (adiabatic) | movable | [[Adiabatic Processes | adiabatic]] closed |
| E | ❌ | ❌ | rigid | isolated (all switches OFF) | Ex 5 |
| F | ✅ | ✅ | — | open system, real world | Ex 6 |
| G | ✅ | ✅ | — | open, steady state ( limiting case) | Ex 7 |
| H | boundary choice / degenerate | — | — | zero-input & classification twist | Ex 8 |
The dimensions we sweep: matter ON/OFF, heat ON/OFF, work +/0/−, the degenerate zero ( or ), the limiting case (steady state ), a word problem (Ex 6), and an exam twist (Ex 8).
Constants we reuse: for one mole of an ideal diatomic gas the molar heat capacity at constant volume is , and with .
Cell A — closed, rigid: all heat becomes internal energy
Forecast: guess now — will the work be positive, negative, or zero? Where does the heat energy go?
- Classify. Sealed ⇒ matter switch OFF ⇒ closed. Steel conducts ⇒ heat switch ON. Why this step? The switches tell us which terms in survive.
- Kill the work term. Rigid ⇒ ⇒ . Why this step? "Rigid" is a mechanical fact, separate from "sealed". No volume change means no push-through-distance, so no work.
- Reduce the First Law. . Why this step? With , every joule of heat is stored, not spent.
- Compute using . At constant volume, . Why this step? is defined as energy-per-degree at fixed volume — exactly our situation (Heat Capacity at Constant Volume).
- So , , .
Verify: Units: ✓. Heat entered () so ✓, consistent with .
Cell B — closed, movable: gas pushes out, work is negative
Forecast: the gas pushes the piston outward — does the gas gain or lose energy from that push?
- Classify. Piston seals gas in ⇒ closed. Piston moves ⇒ work switch ON. Heat given ⇒ heat switch ON. Why this step? Naming the switches tells us that both and are live terms here — unlike Ex 1 where the rigid wall zeroed .
- Volume change. . Why this step? The sign of decides the sign of the work.
- Work on the system. . Why this step? Expansion pushes the surroundings, so energy leaves the system as work ⇒ .
- First Law. . Why this step? is the only bridge from the two crossing quantities to the stored energy; with both terms now known we simply add them.
Verify: ✓. Heat in beat work out, so internal energy still rose ✓.
Look at the second figure: the orange arrow shows the piston sliding outward, and the magenta labels mark leading to . Compare the wider "final" cylinder to the narrow "initial" one — that widening is the expansion that costs the gas energy.

Cell C — closed, movable: compression flips the sign
Forecast: we push in on the gas — should its energy go up or down from the push?
- Volume change. . Why this step? Compression means is negative — the mirror of Ex 2.
- Work. . Why this step? Two minus signs give : energy is delivered into the gas ⇒ .
- First Law. . Why this step? combines the two channels; here heat left () but work entered (), and only the First Law tells us the net effect on stored energy.
Verify: Sign check — pushing in adds energy (), but heat leaked (); the small net says the push won narrowly ✓. This is the sign-flipped partner of Ex 2, covering the corner.
Cell D — closed, adiabatic: no heat, work only
Forecast: if you squeeze a gas that can't dump heat, does it get hotter or colder?
- Classify. Sealed ⇒ closed; insulated ⇒ heat switch OFF ⇒ . This is an adiabatic process. Why this step? Setting the heat switch OFF is what makes ; recognizing it now is what lets us drop the heat term in the very next line.
- First Law with . . Why this step? Adiabatic kills the heat term, so all the energy change is the work done on the gas.
- Back out the temperature rise. Internal energy of an ideal gas depends only on : , so Why this step? converts stored energy into a temperature change even though the volume itself changed — because for an ideal gas is a function of alone.
Verify: and — compressing an insulated gas heats it ✓ (this is why a bike pump warms). Units: ✓.
Cell E — isolated: all switches OFF (equilibration)
Forecast: the masses are unequal — will be exactly halfway (), above, or below?
- Classify. No mass leaves, no heat leaves, rigid ⇒ isolated. Hence and .
- Energy bookkeeping inside. Heat lost by hot = heat gained by cold (Calorimetry): Why this step? Inside an isolated system energy is merely redistributed; cancels since both are water.
- Solve. , so Why this step? The final temperature is the mass-weighted average, not the plain average — the larger cold mass pulls it below .
Verify: Heat from hot ; heat to cold . Equal ✓, so ✓.
Cell F — open system, real-world word problem
Forecast: which switches are ON, and does energy leave only as heat?
- Classify. Steam escapes ⇒ matter switch ON; burner heats and vapour carries energy out ⇒ heat switch ON. Both ON ⇒ open system.
- Track matter. of water leaves the system boundary (the kettle interior). Why this step? In open systems mass itself carries energy across, so matters.
- Why the closed formula fails. Escaping steam carries enthalpy out with it. Enthalpy, symbol , is defined as — the internal energy of a chunk of matter plus the "room-making" energy it needed to occupy its space (Enthalpy and Constant Pressure). Every gram of steam takes its share of away, an extra energy channel beyond and . So the plain (which assumes fixed mass) must be extended with a mass-flow term — that is exactly why chemistry prefers closed systems.
- Quantify the carried energy. Latent heat of vaporization , so energy leaving as vapour .
Verify: Units ✓. This is separate from any or — confirming an open system needs its own accounting.
Cell G — open, steady state: the limiting case
Forecast: mass flows in AND out — is of the heater zero, positive, or negative?
- Classify. Water in, water out ⇒ open. But the heater's own contents don't accumulate energy ⇒ steady state, the limiting case where . Why this step? This kills the trap "open ⇒ ": here input rate = output rate.
- Name the flow rate. Let = mass-flow rate, the mass of water crossing the boundary each second; here . Energy balance per second = heat needed to warm the mass passing through in that second: Why this step? With , all supplied heat goes straight into the outgoing stream; per-second accounting turns a heat into a power (energy per second).
- Compute. . Why this step? Plugging the named numbers into turns the balance equation into the single quantity asked for — the power the heater must deliver.
Verify: Units ✓. Positive power to warm water ✓; and despite mass flowing — the steady-state limiting corner.
Cell H — degenerate & exam-twist classification
Forecast: does the system type of the very same ampoule change when its surroundings change?
- (a) Degenerate zero-input case. Sealed ⇒ closed. Room and ampoule same ⇒ no heat flows: . Rigid glass ⇒ . Hence . Why this step? Being closed does not force any energy transfer; with no driving temperature difference and no volume change, every term is zero. Closed "something must happen."
- (b) Same object, hot bath. Still sealed ⇒ still closed. Now a temperature difference exists ⇒ ; glass rigid ⇒ ; so . Why this step? The object's type is set by its boundary's matter switch, but the values of depend on the surroundings — two different questions.
- (c) Re-drawn boundary. Ampoule + oil, insulated: no matter out, no heat out, rigid overall ⇒ isolated. Inside, heat flows from oil to gas until equal , but . Why this step? System type is a choice of boundary, not a property of the stuff. Move the boundary, change the classification.
Verify: (a) ✓ (degenerate corner). (c) energy conserved across the enlarged boundary, ✓. This example alone sweeps the zero-input degenerate case and the boundary-choice exam twist.
Recall Quick self-test
Ex 1 answer (J) ::: Ex 2 work (J) ::: Ex 3 work (J), and (J) ::: , Ex 4 temperature rise (K) ::: Ex 5 final temperature (°C) ::: Ex 6 energy carried by steam (J) ::: Ex 7 heater power (kW) ::: Ex 8a value of :::
See also: State Functions vs Path Functions (why cares only about start/end while depend on route), and Entropy and Second Law (isolated systems only).