Unit 02 · Lesson 05 of 09

Polytropic boundary work

What does a moving boundary do?

The shaded area is a process, not a property.

Explore the model. Derive the result. Check its limits.

What you’ll be able to do
  • Derive moving-boundary work.
  • Integrate a polytropic path.
  • The n=1n=1 path needs a logarithm.
Before you touch the controls

Does doubling final volume always double expansion work?

An experiment you can change

Shade the work beneath a polytropic path

Predict the direction of change, move one control, then explain the response using the equation.

Piston cylinder, volume 2 liters; 20 joules of heat in and 1.3862943611198906 joules of work by gasFixed mass; boundary may moveShade the work beneath a polytropic path. Volume (m³) versus Pressure (kPa). Selected result 1.3863 kJ. Expansion traverses the shaded area left to right, giving positive work.00.011000.0152000.02Pressure (kPa)Volume (m³)
Set up before calculating

Symbolic relationship

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}

Dimensions and units

[Wb]=[p][V]=kPa m3=kJ,[V2/V1]=1[W_b]=[p][V]=\mathrm{kPa\,m^3}=\mathrm{kJ},\quad[V_2/V_1]=1
Final volume / initial volumeV2/V1=(2 1)V_2/V_1=\left(2\,1\right)
Polytropic exponent nn=(1 1)n=\left(1\,1\right)

The result is reported in kJ. Convert inputs to the model’s unit system before evaluating.

Wb=(200 kPa)(0.01 m3)ln⁡(2)Wb=2ln⁡(2)=1.3863 kJ,p2=100 kPa\begin{gathered}W_b=(200\,\mathrm{kPa})(0.01\,\mathrm{m^3})\ln(2)\\W_b=2\ln(2)=1.3863\,\mathrm{kJ},\quad p_2=100\,\mathrm{kPa}\end{gathered}

Expansion traverses the shaded area left to right, giving positive work.

Model assumptions and units

Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}
01

Derive moving-boundary work.

A pressure force on a piston is pApA. A small displacement changes volume by A dsA\,ds, so the incremental work is p dVp\,dV. Integrating requires the actual pressure path at the boundary; a quasi-equilibrium model lets you use the system pressure along that path.

δWb=pA ds=p dV,Wb=∫V1V2p dV\delta W_b=pA\,ds=p\,dV,\quad W_b=\int_{V_1}^{V_2}p\,dV
02

Integrate a polytropic path.

For pVn=CpV^n=C, substitute p=CV−np=CV^{-n}. The power-law integral is valid when n differs from one. Replace C using either endpoint to obtain the expression in terms of measured pressures and volumes.

Wb=C1−n(V21−n−V11−n)=p2V2−p1V11−nW_b=\frac{C}{1-n}(V_2^{1-n}-V_1^{1-n})=\frac{p_2V_2-p_1V_1}{1-n}
03

The n=1 path needs a logarithm.

At n=1n=1, pressure is C/V and the integral is logarithmic. Dividing by 1−n1-n would be undefined, so this case needs its own expression. For an ideal gas it is an isothermal path.

Wb=p1V1ln⁡ ⁣(V2V1)(n=1)W_b=p_1V_1\ln\!\left(\frac{V_2}{V_1}\right)\quad(n=1)
04

Interpret the direction.

Expansion increases volume and gives positive boundary work by the gas. Compression traverses the plot toward smaller volume and gives negative work. At constant volume the area is zero; at n=0n=0 the path is constant pressure.

A worked example

An isothermal ideal-gas expansion.

Symbolic relationship and unit checkΔU=Q−W−ΔKE−ΔPE\Delta U=Q-W-\Delta KE-\Delta PE[Q]=[W]=[ΔU]=J[Q]=[W]=[\Delta U]=\mathrm J
  1. Take p1=200 kPap_1=200\,\mathrm{kPa}, V1=0.010 m3V_1=0.010\,\mathrm{m^3}, and V2=0.020 m3V_2=0.020\,\mathrm{m^3}.
  2. With n=1n=1, p2=p1V1/V2=100 kPap_2=p_1V_1/V_2=100\,\mathrm{kPa}.
  3. Work is 200(0.010)ln⁡2=1.3863 kJ200(0.010)\ln2=1.3863\,\mathrm{kJ}. Ideal-gas internal energy is unchanged in this isothermal process, so heat input equals work output.
Make the idea your own

Calculate, compare, and test the assumptions

Work out your answer, check it, then explore the visual solution. The answer checker uses a 1.5% rounding tolerance; for model-limit questions it checks the displayed model result.

1 · Calculate

Integrate the logarithmic path

A quasi-equilibrium gas starts at 200 kPa and 0.010 m³. It doubles volume with n=1.n = 1. Find work by the gas.

Hint

Use the logarithmic branch rather than dividing by 1 − n.

Explore the visual solution
Piston cylinder, volume 2 liters; 20 joules of heat in and 1.3862943611198906 joules of work by gasFixed mass; boundary may moveShade the work beneath a polytropic path. Volume (m³) versus Pressure (kPa). Selected result 1.3863 kJ. Expansion traverses the shaded area left to right, giving positive work.00.011000.0152000.02Pressure (kPa)Volume (m³)
Set up before calculating

Symbolic relationship

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}

Dimensions and units

[Wb]=[p][V]=kPa m3=kJ,[V2/V1]=1[W_b]=[p][V]=\mathrm{kPa\,m^3}=\mathrm{kJ},\quad[V_2/V_1]=1
Final volume / initial volumeV2/V1=(2 1)V_2/V_1=\left(2\,1\right)
Polytropic exponent nn=(1 1)n=\left(1\,1\right)

The result is reported in kJ. Convert inputs to the model’s unit system before evaluating.

Wb=(200 kPa)(0.01 m3)ln⁡(2)Wb=2ln⁡(2)=1.3863 kJ,p2=100 kPa\begin{gathered}W_b=(200\,\mathrm{kPa})(0.01\,\mathrm{m^3})\ln(2)\\W_b=2\ln(2)=1.3863\,\mathrm{kJ},\quad p_2=100\,\mathrm{kPa}\end{gathered}

Expansion traverses the shaded area left to right, giving positive work.

Model assumptions and units

Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}
Walk through the assumptions

What we assumed: Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

What changes: Without a quasi-equilibrium path, the gas pressure can be nonuniform. Boundary work uses the pressure acting at the moving boundary, so a bulk equilibrium p–V curve may no longer describe the work. The process still has an energy balance.

Controls explore variations. The steps below retain the original question’s values.

Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}
2 · Compare

Compress at constant pressure

Starting from the same state, halve volume with n=0.n = 0. Find signed boundary work.

Hint

At n = 0 pressure stays constant, so W = p(V2 − V1).

Explore the visual solution
Piston cylinder, volume 0.5 liters; 20 joules of heat in and -1 joules of work by gasFixed mass; boundary may moveShade the work beneath a polytropic path. Volume (m³) versus Pressure (kPa). Selected result -1 kJ. Compression traverses the shaded area right to left, giving negative work.00.0051000.0082000.01Pressure (kPa)Volume (m³)
Set up before calculating

Symbolic relationship

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}

Dimensions and units

[Wb]=[p][V]=kPa m3=kJ,[V2/V1]=1[W_b]=[p][V]=\mathrm{kPa\,m^3}=\mathrm{kJ},\quad[V_2/V_1]=1
Final volume / initial volumeV2/V1=(0.5 1)V_2/V_1=\left(0.5\,1\right)
Polytropic exponent nn=(0 1)n=\left(0\,1\right)

The result is reported in kJ. Convert inputs to the model’s unit system before evaluating.

Wb=(200 kPa)(0.01 m3)[0.51−0−1]1−0Wb=2(0.51−0−1)1−0=−1 kJ,p2=200 kPa\begin{gathered}W_b=\frac{(200\,\mathrm{kPa})(0.01\,\mathrm{m^3})\left[0.5^{1-0}-1\right]}{1-0}\\W_b=\frac{2\left(0.5^{1-0}-1\right)}{1-0}=-1\,\mathrm{kJ},\quad p_2=200\,\mathrm{kPa}\end{gathered}

Compression traverses the shaded area right to left, giving negative work.

Model assumptions and units

Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}
Walk through the assumptions

What we assumed: Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

What changes: Without a quasi-equilibrium path, the gas pressure can be nonuniform. Boundary work uses the pressure acting at the moving boundary, so a bulk equilibrium p–V curve may no longer describe the work. The process still has an energy balance.

Controls explore variations. The steps below retain the original question’s values.

Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}
3 · Challenge the model

A steeper expansion path

Triple initial volume with n=1.4.n = 1.4. Find work, then change n to 1 without changing endpoints in volume. Why does work differ?

Hint

Use p2 = p1/r^n, then the n ≠ 1 formula.

Explore the visual solution
Piston cylinder, volume 3 liters; 20 joules of heat in and 1.7780299251137286 joules of work by gasFixed mass; boundary may moveShade the work beneath a polytropic path. Volume (m³) versus Pressure (kPa). Selected result 1.778 kJ. Expansion traverses the shaded area left to right, giving positive work.00.011000.022000.03Pressure (kPa)Volume (m³)
Set up before calculating

Symbolic relationship

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}

Dimensions and units

[Wb]=[p][V]=kPa m3=kJ,[V2/V1]=1[W_b]=[p][V]=\mathrm{kPa\,m^3}=\mathrm{kJ},\quad[V_2/V_1]=1
Final volume / initial volumeV2/V1=(3 1)V_2/V_1=\left(3\,1\right)
Polytropic exponent nn=(1.4 1)n=\left(1.4\,1\right)

The result is reported in kJ. Convert inputs to the model’s unit system before evaluating.

Wb=(200 kPa)(0.01 m3)[31−1.4−1]1−1.4Wb=2(31−1.4−1)1−1.4=1.778 kJ,p2=42.96 kPa\begin{gathered}W_b=\frac{(200\,\mathrm{kPa})(0.01\,\mathrm{m^3})\left[3^{1-1.4}-1\right]}{1-1.4}\\W_b=\frac{2\left(3^{1-1.4}-1\right)}{1-1.4}=1.778\,\mathrm{kJ},\quad p_2=42.96\,\mathrm{kPa}\end{gathered}

Expansion traverses the shaded area left to right, giving positive work.

Model assumptions and units

Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}
Walk through the assumptions

What we assumed: Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

What changes: Without a quasi-equilibrium path, the gas pressure can be nonuniform. Boundary work uses the pressure acting at the moving boundary, so a bulk equilibrium p–V curve may no longer describe the work. The process still has an energy balance.

Controls explore variations. The steps below retain the original question’s values.

Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}
Synthesis challenge

Compare two scenarios and defend the difference

First calculate scenario A. Then change only final volume / initial volume from 2 to 2.5 . Predict the direction, calculate scenario B, and find the signed difference B − A in the model’s reported quantity (kJ). Explain whether a proportionate change in the input produces a proportionate change in the output.

Other inputs: Polytropic exponent n: 1 . The difference concerns the model’s displayed answer, not necessarily the graph’s vertical coordinate.

Explore the comparison and worked solution
Piston cylinder, volume 2 liters; 20 joules of heat in and 1.3862943611198906 joules of work by gasFixed mass; boundary may moveShade the work beneath a polytropic path. Volume (m³) versus Pressure (kPa). Selected result 1.3863 kJ. Expansion traverses the shaded area left to right, giving positive work.00.011000.0152000.02Pressure (kPa)Volume (m³)
Set up before calculating

Symbolic relationship

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}

Dimensions and units

[Wb]=[p][V]=kPa m3=kJ,[V2/V1]=1[W_b]=[p][V]=\mathrm{kPa\,m^3}=\mathrm{kJ},\quad[V_2/V_1]=1
Final volume / initial volumeV2/V1=(2 1)V_2/V_1=\left(2\,1\right)
Polytropic exponent nn=(1 1)n=\left(1\,1\right)

The result is reported in kJ. Convert inputs to the model’s unit system before evaluating.

Wb=(200 kPa)(0.01 m3)ln⁡(2)Wb=2ln⁡(2)=1.3863 kJ,p2=100 kPa\begin{gathered}W_b=(200\,\mathrm{kPa})(0.01\,\mathrm{m^3})\ln(2)\\W_b=2\ln(2)=1.3863\,\mathrm{kJ},\quad p_2=100\,\mathrm{kPa}\end{gathered}

Expansion traverses the shaded area left to right, giving positive work.

Model assumptions and units

Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}
Set up before calculating

Symbolic relationship

pVn=C,Wb=∫V1V2p dV={p2V2−p1V11−nn≠1p1V1ln⁡(V2/V1)n=1pV^n=C,\quad W_b=\int_{V_1}^{V_2}p\,dV=\begin{cases}\frac{p_2V_2-p_1V_1}{1-n}&n\ne1\\p_1V_1\ln(V_2/V_1)&n=1\end{cases}

Dimensions and units

[Wb]=[p][V]=kPa m3=kJ,[V2/V1]=1[W_b]=[p][V]=\mathrm{kPa\,m^3}=\mathrm{kJ},\quad[V_2/V_1]=1
Final volume / initial volumeV2/V1=(2 1)V_2/V_1=\left(2\,1\right)
Polytropic exponent nn=(1 1)n=\left(1\,1\right)

The result is reported in kJ. Convert inputs to the model’s unit system before evaluating.

  1. Evaluate the symbolic relationship using scenario A, keeping the displayed units on its inputs.Wb=(200 kPa)(0.01 m3)ln⁡(2)Wb=2ln⁡(2)=1.3863 kJ,p2=100 kPa\begin{gathered}W_b=(200\,\mathrm{kPa})(0.01\,\mathrm{m^3})\ln(2)\\W_b=2\ln(2)=1.3863\,\mathrm{kJ},\quad p_2=100\,\mathrm{kPa}\end{gathered}
  2. Change only the selected input and recompute scenario B.Wb=(200 kPa)(0.01 m3)ln⁡(2.5)Wb=2ln⁡(2.5)=1.8326 kJ,p2=80 kPa\begin{gathered}W_b=(200\,\mathrm{kPa})(0.01\,\mathrm{m^3})\ln(2.5)\\W_b=2\ln(2.5)=1.8326\,\mathrm{kJ},\quad p_2=80\,\mathrm{kPa}\end{gathered}
  3. Subtract like quantities.ΔR=RB−RA=(1.83258 kJ)−(1.38629 kJ)=(0.446287 kJ)\Delta R=R_B-R_A=\left(1.83258\,\mathrm{kJ}\right)-\left(1.38629\,\mathrm{kJ}\right)=\left(0.446287\,\mathrm{kJ}\right)

Expansion traverses the shaded area left to right, giving positive work.

Walk through the assumptions

What we assumed: Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

What changes: Without a quasi-equilibrium path, the gas pressure can be nonuniform. Boundary work uses the pressure acting at the moving boundary, so a bulk equilibrium p–V curve may no longer describe the work. The process still has an energy balance.

Walk through the assumptions

What we assumed: Quasi-equilibrium ideal-gas path; p1 = 200 kPa, V1 = 0.01 m³. Work by the gas is positive. kPa m³ = kJ.

What changes: Without a quasi-equilibrium path, the gas pressure can be nonuniform. Boundary work uses the pressure acting at the moving boundary, so a bulk equilibrium p–V curve may no longer describe the work. The process still has an energy balance.

Your learning path

Ready to carry this forward?

Mark this lesson complete when you can explain the main idea and work through its practice. Completion is your choice.

Completion is saved on this browser.