01 / 22

Boundary Work &
\(P\text{-}V\) Diagrams

Learn to compute boundary work for common thermodynamic processes using pressure-volume diagrams and integral calculus.

Thermodynamics

What Is Boundary Work?

When a gas inside a piston-cylinder device expands or compresses, the gas pushes against the piston boundary. The energy transferred by this push is called boundary work (also called \(P\,dV\) work).

The Piston-Cylinder Model

Piston Gas at pressure \(P\) Expansion \(dV\)
(volume change)
\(F = PA\)

Why \(P\text{-}V\) Diagrams Matter

Visual Insight
The area under the process curve on a \(P\text{-}V\) diagram equals the boundary work.
Path Dependence
Work depends on the path, not just the endpoints. Different curves between the same states give different work values.
Process ID
The shape of the curve tells you the type of process: constant pressure, constant temperature, polytropic, etc.

The Core Formula

Boundary work equals the integral of pressure with respect to volume from state 1 to state 2. On a \(P\text{-}V\) diagram, this is the area under the process curve.

1
Expansion (\(V_2 > V_1\)): work is positive (work done by the system).
2
Compression (\(V_2 < V_1\)): work is negative (work done on the system).

Area = Boundary Work

\(V\) (Volume) \(P\) (Pressure) State 1 State 2 \(V_1\) \(V_2\) Area = \(W_b\) \(P_1\) \(P_2\)

Path-Dependent vs State Function

V P Path A Path B 1 2

Common Process Types

Isobaric
Constant pressure. Horizontal line on \(P\text{-}V\).
Isothermal
Constant temperature. Hyperbolic curve (\(PV = \text{const}\)).
Polytropic
Follows \(PV^n = C\). Generalises all common processes.
Isochoric
Constant volume. Vertical line: \(\Delta V = 0 \Rightarrow W_b = 0\).

Isobaric Process: Constant \(P\)

\(V\) \(P\) 1 2 \(V_1\) \(V_2\) \(P_0\) \(W = P_0(V_2 - V_1)\)

Isothermal Process: Constant \(T\)

\(V\) \(P\) 1 2 \(V_1\) \(V_2\) \(T = \text{const}\)

Polytropic Process: \(PV^n = C\)

A polytropic process follows \(PV^n = C\), where \(n\) is the polytropic exponent and \(C\) is a constant. This is the most general formula and reduces to special cases depending on the value of \(n\).

1
\(n = 0\): isobaric (constant pressure)
2
\(n = 1\): isothermal (use logarithmic formula)
3
\(n = k\): isentropic (adiabatic + reversible, where \(k = c_p / c_v\))
4
\(n \to \infty\): isochoric (constant volume, \(W_b = 0\))

Step-by-Step Approach

1
Identify the process type: is \(P\), \(T\), or \(V\) constant? Or is it polytropic?
2
Write the \(P(V)\) relationship: express pressure as a function of volume along the path.
3
Set up the integral: \(W_b = \int_{V_1}^{V_2} P(V)\, dV\).
4
Evaluate: use the appropriate closed-form result or integrate numerically.
5
Check the sign: positive for expansion, negative for compression.

Example 1: Isobaric Expansion

A gas expands at a constant pressure of 200 kPa from \(V_1 = 0.1\;\text{m}^3\) to \(V_2 = 0.4\;\text{m}^3\). Find the boundary work.

Example 2: Isothermal Compression

An ideal gas at \(P_1 = 100\;\text{kPa}\), \(V_1 = 0.5\;\text{m}^3\) is compressed isothermally to \(V_2 = 0.1\;\text{m}^3\). Find the boundary work.

Example 3: Polytropic Expansion

Air expands polytropically with \(n = 1.3\). Given: \(P_1 = 500\;\text{kPa}\), \(V_1 = 0.2\;\text{m}^3\), \(P_2 = 100\;\text{kPa}\). Find \(V_2\) and \(W_b\).

Common Mistakes to Avoid

✕ Wrong Sign Convention
Forgetting that compression gives negative work. Always check: is \(V_2 > V_1\) or \(V_2 < V_1\)?
✕ Using \(n = 1\) Formula
When \(n = 1\), you must use the logarithmic formula, not \(\frac{P_2V_2 - P_1V_1}{1-n}\) which gives division by zero.
✕ Treating Work as State
Work depends on the path, not just endpoints. You cannot compute it from state properties alone.

Process Summary Table

Process Condition \(W_b\) Formula \(P\text{-}V\) Shape
Isobaric \(P = \text{const}\) \(P(V_2 - V_1)\) Horizontal line
Isothermal \(T = \text{const}\) \(P_1V_1\ln(V_2/V_1)\) Hyperbola
Polytropic \(PV^n = C\) \(\frac{P_2V_2 - P_1V_1}{1-n}\) Power curve
Isochoric \(V = \text{const}\) \(0\) Vertical line

Question 1 of 5

A gas expands at a constant pressure of 300 kPa from \(0.05\;\text{m}^3\) to \(0.15\;\text{m}^3\). What is the boundary work?

Question 2 of 5

In an isochoric process, what is the boundary work?

Question 3 of 5

On a \(P\text{-}V\) diagram, boundary work is represented by:

Question 4 of 5

An ideal gas at \(P_1 = 200\;\text{kPa}\), \(V_1 = 0.3\;\text{m}^3\) is compressed isothermally to \(V_2 = 0.1\;\text{m}^3\). Which is closest to \(W_b\)?

Question 5 of 5

A polytropic expansion has \(n = 1.4\), \(P_1 = 400\;\text{kPa}\), \(V_1 = 0.1\;\text{m}^3\), \(P_2 = 100\;\text{kPa}\), \(V_2 = 0.275\;\text{m}^3\). What is \(W_b\)?