Work and heat transfer in quasi-static processes
Work and heat as path-dependent boundary energy transfers, sign convention, quasi-static boundary work for isobaric, isothermal, polytropic and spring-loaded processes, and other work modes.
Drafted with Aria, reviewed by the AiCanCode.org team. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Work and heat are the only two ways energy crosses the boundary of a closed system, so every engine, compressor and refrigeration calculation depends on getting them right. Compressor power, the expansion work in a piston engine and the energy absorbed by a pressurised tank all come from the same ∫p dV idea. Getting the sign and the path wrong is the single largest source of lost marks in thermodynamics.
Key ideas
Work is energy transfer across a boundary that could, in principle, be used to raise a weight. Heat is energy transfer across a boundary caused only by a temperature difference. Both are:
- boundary phenomena — they exist only while crossing the boundary; a system contains energy, not heat or work;
- path functions — their amounts depend on the process, so we write δW and δQ (inexact differentials), never dW or ΔW;
- transient — they vanish once the process stops.
Sign convention used here (engineering): Q is positive when heat is added to the system; W is positive when work is done by the system. Some books (and chemistry texts) take work done on the system as positive; always check which one a question uses.
Quasi-static process. The process is carried out so slowly that the system passes through a continuous series of equilibrium states. Only then is the pressure uniform and defined at every instant, so the boundary (displacement) work can be written as W = ∫ p dV and drawn as the area under the path on a p–V diagram. A quasi-static process is not automatically reversible: friction at the piston can still dissipate work. Quasi-static and free of dissipation (friction, resistance, unrestrained expansion, heat transfer across finite ΔT) is what makes it reversible.
Path dependence. Between the same two states, a different path encloses a different area, so the work differs. Over a cycle, the net work equals the area enclosed by the loop — clockwise on p–V means net work output.
Free (unrestrained) expansion. A gas rushing into an evacuated space does no boundary work (W = 0) even though its volume increases, because nothing resists it. The process is not quasi-static, so ∫p dV does not apply.
Other work modes.
- Shaft work:
W = T·θ(torque × angle); power = T·ω. - Electrical work:
W = V·I·t. - Spring work:
W = ½·k·(x₂² − x₁²). - Paddle-wheel (stirring) work: work done on the system, always negative in our convention; it cannot be done quasi-statically in reverse.
Heat. An adiabatic process has Q = 0 (perfect insulation, or a process too fast for heat to flow). Adiabatic does not mean isothermal: temperature can change through work. Heat transfer mechanisms — conduction, convection, radiation — are treated in a later topic.
Formulas
W = ∫ p dV (quasi-static boundary work)
W = p·(V₂ − V₁) (constant pressure, isobaric)
W = 0 (constant volume, isochoric)
W = p₁·V₁·ln(V₂/V₁) (isothermal ideal gas, pV = constant)
W = (p₁·V₁ − p₂·V₂) / (n − 1) (polytropic pVⁿ = constant, n ≠ 1)
W = ½·(p₁ + p₂)·(V₂ − V₁) (pressure linear in V, e.g. linear spring)
W_spring = ½·k·(x₂² − x₁²)
- p: absolute pressure, Pa (kPa × m³ gives kJ)
- V: volume, m³
- n: polytropic index (dimensionless)
- k: spring constant, N/m; x: spring deflection, m
- W: work, J; positive when done by the system
Worked examples
Example 1 (standard). Air in a cylinder, 0.1 m³ at 100 kPa, is compressed quasi-statically following pV¹·³ = constant to 0.02 m³. Find the final pressure and the work.
p₂ = p₁·(V₁/V₂)ⁿ= 100 × (0.1/0.02)¹·³ = 100 × 5¹·³ = 810.3 kPaW = (p₁·V₁ − p₂·V₂) / (n − 1)- p₁V₁ = 100 × 0.1 = 10 kJ; p₂V₂ = 810.3 × 0.02 = 16.21 kJ
- W = (10 − 16.21) / 0.3 = −20.69 kJ
Answer: p₂ = 810.3 kPa, W = −20.7 kJ (negative: work is done on the air). For comparison, an isothermal compression between the same volumes needs only 100 × 0.1 × ln(0.2) = −16.1 kJ.
Example 2 (GATE level). A gas in a piston–cylinder (piston area 0.05 m²) is at 150 kPa and 0.01 m³. The piston just touches a linear spring of stiffness 100 kN/m. Heat is added until the volume is 0.025 m³. Find the final pressure, the total boundary work and the share stored in the spring. The process is quasi-static.
- Piston travel:
x = ΔV / A= 0.015 / 0.05 = 0.3 m - Extra spring force = k·x = 100 kN/m × 0.3 m = 30 kN, so extra pressure Δp = 30 / 0.05 = 600 kPa
p₂= 150 + 600 = 750 kPa; p varies linearly with VW = ½·(p₁ + p₂)·(V₂ − V₁)= ½ × (150 + 750) × 0.015 = 6.75 kJ- Spring share:
½·k·x²= ½ × 100 × 0.3² = 4.5 kJ; the remaining 2.25 kJ (= 150 × 0.015) pushes back the atmosphere and the piston weight.
Answer: p₂ = 750 kPa, W = 6.75 kJ, of which 4.5 kJ goes into the spring
Common mistakes
- Using ∫p dV for a non-quasi-static process such as free expansion (the work there is zero).
- Treating "quasi-static" as identical to "reversible".
- Plugging in gauge pressure; work needs absolute pressure.
- Sign slips: compression work is negative in the W-by-system convention. Check against the physical picture.
- Forgetting kPa·m³ = kJ and reporting 200 J instead of 200 kJ.
- Using
W = p₁V₁ ln(V₂/V₁)for a non-isothermal process, or the polytropic formula with n = 1 (it divides by zero — use the log form). - Assuming an adiabatic process is isothermal.
For GATE AE
Expect numericals on boundary work for isobaric, isothermal and polytropic paths, spring-loaded pistons with linear p–V, and comparisons of work along different paths between the same states (area reasoning). One-mark questions test point vs path functions, the sign convention and free expansion. Practise drawing every process on a p–V diagram before calculating, and keep kPa·m³ = kJ in mind.
Quick check
- Gas expands from 1 m³ to 3 m³ at a constant 100 kPa. Find the work.
- What is the boundary work in a free expansion into vacuum?
- Why is δW an inexact differential?
- On a p–V diagram, which way must a cycle run to give net work output?
- In the polytropic work formula, what happens when n = 1?
Answers: 1. 200 kJ. 2. Zero. 3. Work depends on the path, so it is not the change of a property. 4. Clockwise. 5. The formula becomes 0/0; use W = p₁V₁ ln(V₂/V₁) instead.
Interview questions
All Engineering Thermodynamics interview questionsTry answering each one aloud before you open it.
1.What is a quasi-static process in thermodynamics?Concept
A quasi-static process is an idealised process carried out so slowly that the system passes through a continuous sequence of equilibrium states, deviating from equilibrium only infinitesimally at each instant. Because properties such as pressure are uniform and defined throughout, the path can be drawn on a p–V diagram and boundary work evaluated as ∫p dV. It is not automatically reversible: if dissipative effects such as piston friction are present, a quasi-static process is still irreversible.
2.Explain the difference between work and heat transfer in a thermodynamic process.Concept
In thermodynamics, work is the energy transfer associated with a force acting through a distance, while heat transfer is the energy transfer due to a temperature difference. Work is path-dependent and can be done by or on the system, whereas heat transfer is also path-dependent but occurs only when there is a temperature gradient between the system and its surroundings.
3.Why is it important to consider quasi-static processes in thermodynamic analysis?Application
Only for a quasi-static process are the system's properties defined at every intermediate state, so work can be calculated as ∫p dV and the path plotted on property diagrams. A quasi-static process free of dissipation is reversible, and reversible processes set the limit for real machines: they give the maximum work output of an expansion and the minimum work input of a compression. Real processes are then compared against this ideal through efficiencies.
4.What happens to the work done by a gas during an isothermal expansion in a quasi-static process?Application
During an isothermal expansion in a quasi-static process, the work done by the gas is equal to the heat absorbed by the gas from the surroundings. Since the temperature remains constant, the internal energy of the gas does not change, and all the heat absorbed is converted into work. The work done can be calculated using the formula W = nRT ln(Vf/Vi), where n is the number of moles, R is the gas constant, T is the temperature, and Vf and Vi are the final and initial volumes, respectively.
5.How does the concept of reversibility relate to quasi-static processes?Concept
A reversible process is one that can be reversed leaving no trace on either the system or the surroundings. Being quasi-static is necessary for reversibility but not sufficient: the process must also be free of friction, electrical resistance, unrestrained expansion, mixing and heat transfer across a finite temperature difference. For example, a slow compression with a rubbing piston is quasi-static but irreversible, because the friction work cannot be recovered.
6.What is the significance of the area under a PV diagram in a quasi-static process?Application
For a quasi-static process the area under the path on a p–V diagram equals the boundary work ∫p dV, positive for expansion and negative for compression. Because different paths between the same end states enclose different areas, the diagram shows directly that work is a path function. For a cycle, the enclosed area is the net work, and a clockwise loop means net work output.
7.Calculate the work done by 1 mol of an ideal gas expanding reversibly and isothermally from 1 m³ to 3 m³ at 300 K.Numerical
For a reversible isothermal ideal-gas process W = n·R̄·T·ln(V₂/V₁). With n = 1 mol, R̄ = 8.314 J/(mol·K), T = 300 K and V₂/V₁ = 3: W = 1 × 8.314 × 300 × ln 3 = 2494.2 × 1.0986 ≈ 2740 J. The work is positive (done by the gas), and since ΔU = 0 for an isothermal ideal gas, the same 2740 J is absorbed as heat.
8.Explain why heat transfer is zero in an adiabatic process.Concept
In an adiabatic process, the system is perfectly insulated, meaning no heat is exchanged with the surroundings. As a result, any change in the system's internal energy is due solely to work done by or on the system. This makes the heat transfer zero, as the process is defined by the absence of heat exchange.
9.What would happen if a quasi-static process were carried out too quickly?Application
If a quasi-static process were carried out too quickly, the system would not remain in equilibrium, and the process would no longer be reversible. This would lead to inefficiencies and deviations from the idealized behavior assumed in quasi-static analysis. The system might experience rapid changes in pressure, temperature, or volume, leading to non-equilibrium states and potentially irreversible losses.
10.Determine the change in internal energy for an ideal gas undergoing an isothermal process.Numerical
For an ideal gas undergoing an isothermal process, the change in internal energy is zero. This is because the internal energy of an ideal gas depends only on its temperature, and in an isothermal process, the temperature remains constant. Therefore, there is no change in internal energy, and any heat added to the system is converted into work done by the system.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?