THERMODYNAMICS • SECOND LAW AND ENTROPY

Cycles & Net Work — Use the concept of a cycle and net work

Understanding how thermodynamic cycles convert heat into useful work while obeying the second law.

Historical Context & Motivation

The study of thermodynamic cycles arose from a profoundly practical question: how efficiently can a heat engine convert thermal energy into mechanical work? In the early nineteenth century, the rapid expansion of steam-powered industry created an urgent engineering need to quantify the relationship between heat input and useful output. The intellectual pursuit of that question ultimately gave rise to the second law of thermodynamics and the concept of entropy, reshaping not only engineering practice but the philosophical understanding of natural processes. The central idea—that a working fluid can be returned to its initial state while producing net work—remains the backbone of every modern power plant, refrigerator, and heat pump.

1824
Carnot's Réflexions
Sadi Carnot publishes Réflexions sur la puissance motrice du feu, introducing the concept of an ideal reversible cycle and proving that no engine operating between two heat reservoirs can exceed the efficiency of a reversible engine.
1850
Clausius Formalizes Heat Flow
Rudolf Clausius articulates the second law by stating that heat cannot spontaneously flow from a colder body to a hotter one, thereby grounding Carnot's intuition in rigorous thermodynamic principles and introducing the notion of irreversibility.
1865
Entropy is Named
Clausius coins the term entropy (from the Greek tropē, meaning transformation), formalizing the state function whose change around a reversible cycle equals zero.
1876
The Otto Cycle
Nikolaus Otto patents the four-stroke internal combustion engine, whose idealized thermodynamic cycle—two adiabatic and two constant-volume processes—demonstrates net work production in a practical, cyclic device.
1897
The Diesel Cycle
Rudolf Diesel demonstrates his compression-ignition engine, showcasing a different cyclic process with constant-pressure heat addition that achieves higher thermal efficiency than the Otto cycle for certain applications.

The persistent question running through this history is deceptively simple: when a system undergoes a series of processes and returns to its original state, what determines how much work it delivers—and why can't all the heat it absorbs be converted to work? Answering this question requires a precise understanding of what a thermodynamic cycle is, how net work is computed, and why the second law imposes an inescapable ceiling on cycle performance.

Core Principles & Definitions

A thermodynamic cycle is defined by the requirement that the working fluid—whether steam, air, or a refrigerant—returns to its initial thermodynamic state after a sequence of processes. Because all state properties (pressure, temperature, volume, internal energy, enthalpy, entropy) are restored to their starting values, the net change in any state function over a complete cycle is zero. This seemingly simple observation has profound consequences: it means the first law applied to a cycle reduces to Wnet = Qnet, and it sets the stage for the second law's constraints on efficiency.

1

Thermodynamic Cycle

A series of processes that begins and ends at the same thermodynamic state, forming a closed loop on any state-property diagram (P-V, T-s, etc.). Because the state is restored, ΔUcycle = 0.
2

Net Work (W_net)

The algebraic sum of all work interactions around the cycle. On a P-V diagram, net work equals the area enclosed by the cycle's path. A clockwise traversal indicates a heat engine (positive net work out); counterclockwise indicates a refrigerator or heat pump.
3

Net Heat (Q_net)

The difference between total heat absorbed (Qin) and total heat rejected (Qout). Because ΔU = 0 for a cycle, the first law guarantees Wnet = Qnet = Qin − Qout.
4

Thermal Efficiency (η)

For a heat engine, η = Wnet / Qin. The second law dictates that η < 1 for any real cycle; some heat must always be rejected. The Carnot efficiency sets the maximum: ηCarnot = 1 − TL/TH.
5

Entropy Change over a Cycle

Since entropy is a state function, ΔSsystem = 0 for any complete cycle. However, a real (irreversible) cycle generates entropy in the surroundings, so ΔSuniverse > 0, consistent with the second law.
KEY TAKEAWAY
Think of a thermodynamic cycle like a financial ledger that must balance at the end of each fiscal year. The 'account balance' (internal energy) returns to its starting value, so every dollar of heat 'revenue' (Qin) that isn't spent on 'taxes' paid to the cold reservoir (Qout) becomes 'profit' (Wnet). The second law acts like a minimum tax rate—you can never keep 100% of the revenue as profit, and the Carnot efficiency tells you the lowest possible tax bracket.

The Cycle on a P-V Diagram

The most intuitive way to grasp net work in a cycle is through a pressure–volume (P-V) diagram. Each process in the cycle traces a distinct path on this diagram, and the work done during any quasi-static process equals the integral ∫P dV—geometrically, the area under that process curve. When the cycle completes a closed loop, the net work equals the area enclosed by the loop. A clockwise loop on the P-V diagram represents a heat engine producing positive net work, while a counterclockwise loop represents a refrigeration cycle requiring net work input.

A generic heat engine cycle on a P-V diagram. The shaded region enclosed by the four process paths (1→2→3→4→1) equals the net work output of the cycle. The clockwise direction confirms that the cycle delivers positive net work to the surroundings.

In the diagram above, the expansion processes (1→2 and 2→3) produce positive work because the gas pushes the piston outward as volume increases, contributing area beneath the upper portions of the curve. The compression processes (3→4 and 4→1) require work input, represented by the area beneath the lower portions. The crucial insight is that the difference between the expansion work and the compression work is exactly the enclosed area—the net work. This geometric interpretation holds for any quasi-static cycle, regardless of the specific shapes of the process paths, and provides a powerful visual tool for comparing the performance of different engine cycles.

Mathematical Framework

The mathematics of cycles and net work follows directly from the first law of thermodynamics applied to a closed system undergoing a cyclic process. Because every state property returns to its initial value, the cyclic integral of any exact differential vanishes. The internal energy U is a state function, so ∮dU = 0, and the first law reduces to a simple equality between net heat and net work.

FIRST LAW FOR A CYCLE
∮ dU = 0 ⟹ W_net = Q_net = Q_in − Q_out
Wnet = net work output of the cycle; Qin = total heat absorbed from the hot reservoir; Qout = total heat rejected to the cold reservoir. All quantities are magnitudes (positive values).
NET WORK AS A PATH INTEGRAL
W_net = ∮ P dV = (area enclosed by cycle on P-V diagram)
P = pressure; V = volume. The line integral is taken around the complete cycle path. For a clockwise traversal, Wnet > 0 (engine); for counterclockwise, Wnet < 0 (refrigerator/heat pump).
THERMAL EFFICIENCY
η = W_net / Q_in = 1 − Q_out / Q_in
η ranges from 0 to 1 (0% to 100%). The second law requires Qout > 0 for any real cycle, so η < 1 always. For a Carnot cycle operating between TH and TL: ηCarnot = 1 − TL / TH.
CLAUSIUS INEQUALITY (ENTROPY CONSTRAINT)
∮ δQ / T ≤ 0
Equality holds for a reversible cycle; the strict inequality applies to irreversible cycles. For the system itself, ΔSsystem = 0 over a complete cycle (entropy is a state function), but entropy generation in the surroundings ensures ΔSuniverse ≥ 0. This inequality is the mathematical expression of the second law applied to cyclic processes.

These four equations form a complete mathematical toolkit for analyzing any thermodynamic cycle. The first law provides the energy balance; the path integral gives the geometric interpretation of net work; the efficiency formula quantifies performance; and the Clausius inequality enforces the second law's constraint that entropy is produced in every real process. Together, they explain why engineers strive to minimize irreversibilities—every bit of entropy generated internally reduces the fraction of Qin that can emerge as useful work.

Classification of Common Cycles

Different thermodynamic cycles are distinguished by the types of processes that compose them—isothermal, adiabatic, isochoric (constant volume), or isobaric (constant pressure). The choice of processes determines the shape of the cycle on state diagrams and directly affects the net work and efficiency. The diagram below compares three foundational cycles on the temperature–entropy (T-s) diagram, where the enclosed area also represents net work (or equivalently, net heat transfer), providing a complementary perspective to the P-V representation.

Three fundamental cycles on T-s diagrams. The Carnot cycle forms a rectangle (two isotherms + two isentropes). The Otto cycle has curved sides from constant-volume heat addition and rejection. The Rankine cycle features isobaric heating and isentropic expansion. The enclosed area in each case represents the net work.
Comparison of five major power cycles: constituent processes, practical applications, and efficiency formulas.
CycleProcessesApplicationEfficiency Expression
Carnot2 isothermal + 2 adiabatic (reversible)Theoretical upper bound; no real engine uses itη = 1 − TL/TH
Otto2 isochoric + 2 isentropicSpark-ignition gasoline enginesη = 1 − 1/rγ−1
Diesel1 isobaric + 1 isochoric + 2 isentropicCompression-ignition diesel enginesη = 1 − (1/rγ−1)[(rcγ − 1)/(γ(rc − 1))]
Rankine2 isobaric + 1 isentropic pump + 1 isentropic turbineSteam power plantsη = (h3 − h4 − wpump) / (h3 − h2)
Brayton2 isobaric + 2 isentropicGas turbines, jet enginesη = 1 − 1/rp(γ−1)/γ

Worked Example — Carnot Engine Analysis

Consider a Carnot heat engine operating between a hot reservoir at TH = 800 K and a cold reservoir at TL = 300 K. The engine absorbs Qin = 500 kJ of heat from the hot reservoir per cycle. Determine the thermal efficiency, the net work output, the heat rejected, and verify the entropy balance.

Carnot Engine: Net Work and Entropy Verification
1
Step 1 — Identify Given ValuesTH = 800 K, TL = 300 K, Qin = 500 kJ. This is a Carnot (reversible) cycle, so the Carnot efficiency formula applies directly.
2
Step 2 — Calculate Thermal EfficiencyηCarnot = 1 − TL / TH = 1 − 300/800 = 1 − 0.375 = 0.625.
η = 62.5%
3
Step 3 — Calculate Net Work OutputWnet = η × Qin = 0.625 × 500 kJ = 312.5 kJ. This is the maximum possible work output for any engine operating between these two temperatures with this heat input.
W_net = 312.5 kJ
4
Step 4 — Calculate Heat RejectedFrom the first law for cycles: Qout = Qin − Wnet = 500 − 312.5 = 187.5 kJ. Note that Qout is strictly greater than zero, confirming that the second law prohibits complete conversion of heat to work.
Q_out = 187.5 kJ
5
Step 5 — Verify Entropy BalanceFor a reversible cycle, the Clausius integral must equal zero: ∮ δQ/T = Qin/TH − Qout/TL = 500/800 − 187.5/300 = 0.625 − 0.625 = 0. The entropy balance checks out perfectly, confirming this is a valid reversible cycle with no entropy generation.
∮ δQ/T = 0 ✓ (reversible)

Strengths, Limitations & Real vs. Ideal Cycles

While the concept of a thermodynamic cycle provides an elegant theoretical framework, real engines invariably fall short of ideal cycle predictions. Understanding the gap between real and ideal performance is essential for engineering design and for appreciating the deep implications of the second law. The table below contrasts the idealized assumptions of textbook cycles with the realities encountered in practice.

Ideal vs. real cycle comparison across five key aspects.
AspectIdeal Cycle (Strengths)Real Cycle (Limitations)
Process reversibilityAll processes assumed quasi-static and reversible, yielding maximum possible work.Friction, turbulence, and finite-rate heat transfer introduce irreversibilities and entropy generation.
Working fluid behaviorIdeal gas or idealized phase-change behavior simplifies analysis.Real fluids exhibit non-ideal equations of state, variable specific heats, and incomplete combustion.
Heat transferOccurs at infinitesimally small temperature differences (no thermal lag).Requires finite ΔT to drive heat transfer at practical rates, reducing available work.
Component efficiencyCompressors, turbines, and pumps assumed isentropic (100% efficient).Real components have isentropic efficiencies of 70–90%, dissipating energy as heat.
Analytical utilityProvides an upper performance bound and enables rapid parametric studies.Must be corrected with empirical data or exergy analysis for accurate design.
KEY TAKEAWAY
Ideal cycles serve the same role as frictionless surfaces in mechanics—they represent the theoretical ceiling against which real performance is measured. In engineering practice, the second-law efficiency (also called exergetic efficiency) compares actual cycle performance to the reversible limit, pinpointing exactly where irreversibilities erode work output. A turbine with 85% isentropic efficiency, for instance, converts 85% of the theoretically available enthalpy drop into shaft work—the remaining 15% is lost to entropy generation within the turbine.

Connection to Entropy, Exergy & Advanced Theory

The concept of cycles and net work provides the springboard for more sophisticated thermodynamic analysis. At the introductory level, cycles are analyzed using energy balances (first law); at the advanced level, exergy analysis (also called availability analysis) decomposes the energy flows in a cycle to identify not just how much energy is transferred, but how much of it is thermodynamically useful—that is, capable of being converted to work. Exergy destruction in each component directly maps to entropy generation, forging a tight link between the cycle-level view and the microscopic irreversibilities at play.

Bridging cycle-level analysis to advanced exergy and entropy generation methods.
ConceptCycle-Level View (This Lesson)Advanced View (Exergy / Statistical)
Net workWnet = Qin − QoutWnet = Exergy input − Exergy destroyed − Exergy rejected
Efficiencyη = Wnet / QinηII = Wactual / Wreversible
EntropyΔSsystem = 0 (state function returns)Sgen = T0 × (exergy destroyed); Gouy–Stodola theorem
OptimizationMaximize enclosed area on P-V or T-s diagramsMinimize exergy destruction in each component via pinch analysis and finite-time thermodynamics

As you advance in thermodynamics, you will encounter combined cycles (e.g., the Brayton–Rankine combined cycle used in modern power plants), regenerative cycles that recycle waste heat internally, and cogeneration systems that harness Qout for heating rather than discarding it to the environment. Each of these innovations represents an engineering strategy to push real cycle performance closer to the Carnot limit—or more precisely, to minimize the total exergy destruction distributed across the cycle's components. The foundational understanding of cycles and net work developed in this lesson provides the conceptual scaffolding upon which all such advanced analyses are built.

Practice Problems

PROBLEM 1CONCEPTUAL
A gas undergoes a cyclic process and returns to its initial state. Explain why the net change in internal energy is zero, yet the system can still deliver a nonzero amount of work to its surroundings. How does the first law reconcile these two facts?
PROBLEM 2BASIC CALCULATION
A heat engine receives 1200 kJ from a high-temperature source and rejects 780 kJ to a low-temperature sink during one cycle. Calculate (a) the net work produced per cycle and (b) the thermal efficiency of the engine.
PROBLEM 3INTERMEDIATE
A proposed engine operates between a hot reservoir at 600 K and a cold reservoir at 300 K. The inventor claims the engine absorbs 800 kJ and produces 480 kJ of net work per cycle. Is this claim consistent with the second law? Justify your answer quantitatively.
PROBLEM 4APPLIED
A coal-fired power plant operating on an ideal Rankine cycle produces a net power output of 150 MW. The boiler receives heat at an effective temperature of 550°C and the condenser rejects heat to a cooling river at 25°C. Estimate the minimum rate of heat rejection to the river (in MW) using the Carnot efficiency as a bound.
PROBLEM 5CRITICAL THINKING
Two reversible Carnot engines, A and B, operate in series. Engine A receives heat QH from a reservoir at TH and rejects heat to an intermediate reservoir at TM. Engine B absorbs this rejected heat and rejects QL to a cold reservoir at TL. Prove that the combined efficiency of the two-engine system equals the efficiency of a single Carnot engine operating directly between TH and TL.

Lesson Summary

A thermodynamic cycle is a sequence of processes that returns a working fluid to its initial state, ensuring that ΔU = 0 and the first law simplifies to W_net = Q_in − Q_out. On a P-V diagram, net work equals the enclosed area of the cycle's path; a clockwise loop indicates a heat engine delivering positive work, while a counterclockwise loop represents a refrigeration cycle requiring work input.

The second law imposes an absolute ceiling on thermal efficiency: no cycle can convert all absorbed heat into work, and the Carnot efficiency η = 1 − TL/TH sets the maximum for any engine operating between two temperature reservoirs. The Clausius inequality (∮ δQ/T ≤ 0) encodes this constraint mathematically, connecting the cycle-level energy balance to the fundamental concept of entropy generation. Real cycles fall short of the Carnot limit due to irreversibilities such as friction, finite-rate heat transfer, and non-ideal component behavior—each of which destroys exergy and reduces net work output.

Varsity Tutors • Thermodynamics • Cycles & Net Work — Use the concept of a cycle and net work