2.5.4Thermodynamics (Chemical)

Work in expansion - reversible isothermal w = −nRT ln(V₂ - V₁), irreversible w = −P_ext ΔV

2,643 words12 min readdifficulty · medium

Core Intuition


Definitions


Derivation: Reversible Isothermal Work

WHY isothermal? Temperature constant \Rightarrow for an ideal gas, PV=nRTPV = nRT holds throughout.

Step 1: Start with the work integral w=V1V2PextdVw = -\int_{V_1}^{V_2} P_{\text{ext}} \, dV

Step 2: For reversible process, Pext=PgasP_{\text{ext}} = P_{\text{gas}} Because the gas is always in quasi-equilibrium, the external pressure equals the gas pressure (the infinitesimal dPdP contributes nothing to the integral): Pext=Pgas=nRTV(ideal gas law)P_{\text{ext}} = P_{\text{gas}} = \frac{nRT}{V} \quad \text{(ideal gas law)}

WHY can we substitute PgasP_{\text{gas}}? Only in reversible processes! In irreversible, PextPgasP_{\text{ext}} \neq P_{\text{gas}}.

Step 3: Substitute into the integral w=V1V2nRTVdVw = -\int_{V_1}^{V_2} \frac{nRT}{V} \, dV

Step 4: Factor out constants (T is constant in isothermal) w=nRTV1V21VdVw = -nRT \int_{V_1}^{V_2} \frac{1}{V} \, dV

Step 5: Integrate w=nRT[lnV]V1V2=nRT(lnV2lnV1)w = -nRT \left[ \ln V \right]_{V_1}^{V_2} = -nRT (\ln V_2 - \ln V_1)

Step 6: Simplify using log properties wrev=nRTln(V2V1)\boxed{w_{\text{rev}} = -nRT \ln\left(\frac{V_2}{V_1}\right)}

WHAT does this mean?

  • If V2>V1V_2 > V_1 (expansion): ln(V2/V1)>0w<0\ln(V_2/V_1) > 0 \Rightarrow w < 0 (work done by gas)
  • If V2<V1V_2 < V_1 (compression): ln(V2/V1)<0w>0\ln(V_2/V_1) < 0 \Rightarrow w > 0 (work done on gas)
  • Logarithmic dependence: doubling volume from 1→2 L does the same work as 10→20 L (same ratio).

Derivation: Irreversible Expansion

WHAT'S DIFFERENT? External pressure PextP_{\text{ext}} is constant throughout — think of a gas expanding against atmospheric pressure suddenly.

Step 1: Work integral w=V1V2PextdVw = -\int_{V_1}^{V_2} P_{\text{ext}} \, dV

Step 2: PextP_{\text{ext}} is constant w=PextV1V2dVw = -P_{\text{ext}} \int_{V_1}^{V_2} dV

Step 3: Integrate w=Pext(V2V1)=PextΔVw = -P_{\text{ext}} (V_2 - V_1) = -P_{\text{ext}} \Delta V

WHY is this less work than reversible? In reversible expansion, the gas pushes against a pressure that decreases smoothly as volume increases (because Pext=Pgas=nRT/VP_{\text{ext}} = P_{\text{gas}} = nRT/V tracks the gas). In a constant-PextP_{\text{ext}} irreversible expansion, the gas pushes against a lower constant pressure the whole time. Less resistance \Rightarrow less work extracted.


Visual Representation

HOW TO READ THE DIAGRAM:

  • Blue curve (reversible): Area under the PVPV isotherm from V1V_1 to V2V_2. This is wrevw_{\text{rev}} — maximum work.
  • Red rectangle (irreversible): Area under constant PextP_{\text{ext}} line. This is wirrevw_{\text{irrev}} — always smaller.
  • The gap: Represents "lost" work due to irreversibility.

Worked Examples


Common Mistakes


Active Recall Questions

#flashcards/chemistry

What is the formula for reversible isothermal work for an ideal gas?
wrev=nRTln(V2/V1)w_{\text{rev}} = -nRT \ln(V_2/V_1)
What is the formula for irreversible expansion work against a constant external pressure?
wirrev=PextΔVw_{\text{irrev}} = -P_{\text{ext}} \Delta V
Why is reversible work always greater in magnitude than irreversible work for expansion?
Reversible expansion works against a pressure that tracks the gas (Pext=Pgas=nRT/VP_{\text{ext}}=P_{\text{gas}}=nRT/V), while irreversible expansion works against a lower external pressure, so less total work is extracted.
In the equation w=PextdVw = -\int P_{\text{ext}} dV, why do we use PextP_{\text{ext}} and not PgasP_{\text{gas}}?
Work depends on the pressure the gas pushes against (external), not its own internal pressure. Only in reversible processes do these become equal at each instant.
Does irreversible work depend only on endpoints and PextP_{\text{ext}}?
Only when PextP_{\text{ext}} is constant. In general, irreversible work depends on the whole Pext(V)P_{\text{ext}}(V) path, so you must integrate PextdV-\int P_{\text{ext}}\,dV.
For an expansion from 5 L to 15 L, is the work positive or negative?
Negative (work done BY the gas on surroundings).
Why does the reversible isothermal work formula contain ln(V2/V1)\ln(V_2/V_1) instead of (V2V1)(V_2 - V_1)?
Because pressure changes with volume as P=nRT/VP = nRT/V; integrating 1/V1/V gives the natural logarithm.
What is the key condition for using w=nRTln(V2/V1)w = -nRT \ln(V_2/V_1)?
Process must be (1) reversible, (2) isothermal, and (3) ideal gas.
Convert −10 L·atm to joules
−1013.25 J (1 L·atm = 101.325 J)
If a gas expands against vacuum (Pext=0P_{\text{ext}} = 0), what is the work done?
w=0w = 0 (free expansion; no external pressure to push against).
Why is work a path function, not a state function?
Work depends on how the process occurs (reversible vs irreversible, the PextP_{\text{ext}} path, number of steps), not just the initial and final states.

Feynman Explanation

Recall Explain to a 12-year-old

Imagine you have a spring-loaded piston full of air.

Slow and careful way (reversible): You very slowly let the piston move out, matching the push of the air exactly at every instant. Because nothing is jerky and nothing is wasted, the air does the maximum work possible — and you could push it right back with an equally tiny effort.

Fast, rough way (irreversible): You suddenly release the piston against ordinary room air pressure. The air POPS out against that one constant, lower pressure. It does some work, but less, because it isn't carefully matching resistance — it just shoves against a low fixed pressure, and the extra energy gets dissipated.

The logarithm in the reversible formula (lnV2/V1\ln V_2/V_1) comes from the math of 1/V1/V. Doubling the volume always does the same extra work, whether you go from 1→2 cups or 100→200 cups (same ratio).


Mnemonic


Connections

  • First Law of Thermodynamics — work is one way energy transfers (ΔU=q+w\Delta U = q + w)
  • Isothermal Process — why temperature stays constant and how this relates to ΔU=0\Delta U = 0 for ideal gas
  • PV Diagram — visualizing work as area under the curve
  • Ideal Gas Law — foundation for deriving reversible work
  • Entropy and Irreversibility — irreversible processes generate entropy; reversible is the limit
  • Carnot Cycle — uses reversible isothermal expansions/compressions for maximum efficiency
  • Free Expansion — limiting case where Pext=0w=0P_{\text{ext}} = 0 \Rightarrow w = 0
  • Heat Capacity — how energy distributes between qq and ww in different processes

Concept Map

is

implies

two types

two types

requires

has

allows substitute P_gas

integrate

constant P_ext

gives

causes

Work w = integral of -P_ext dV

Work not a state function

Path dependent

Reversible process

Irreversible process

Quasi-equilibrium P_ext = P_gas

P_ext finite less than P_gas

Isothermal ideal gas PV = nRT

w = -nRT ln V2 over V1

w = -P_ext delta V

Maximum work recoverable

Energy dissipated

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho beta, yaha sabse important baat samajhne ki ye hai ki work ek state function nahi hai — matlab kitna work hua ye sirf starting aur ending point pe depend nahi karta, balki raasta (path) kaunsa liya usse bhi depend karta hai. Ek simple picture yaad rakho: agar tum gas ko dheere-dheere, bilkul aaram se expand karne do jahan external pressure gas ke pressure ke almost barabar hota hai (bas ek chhota sa dPdP ka difference), toh ye reversible process hai aur isme maximum work milta hai. Lekin agar tum ekdum jhatke se, kam external pressure ke against gas ko expand hone do, toh wo irreversible hai aur usme kam work nikalta hai kyunki beech mein energy waste (heat, sound) ho jaati hai.

Ab formula ki taraf aao — reversible isothermal expansion ke liye humne w=PextdVw = -\int P_{ext}\,dV se shuru karke, kyunki reversible mein Pext=Pgas=nRT/VP_{ext} = P_{gas} = nRT/V hai, integrate karke nikala wrev=nRTln(V2/V1)w_{rev} = -nRT \ln(V_2/V_1). Yaha do cheezein notice karo: pehli, expansion mein (V2>V1V_2 > V_1) work negative aata hai kyunki gas khud kaam kar rahi hai (IUPAC convention). Dusri, ye logarithmic relationship hai — matlab volume 1→2 double karne mein utna hi work hota hai jitna 10→20 mein, kyunki ratio same hai. Ye insight questions mein bahut kaam aata hai.

Ye topic kyun matter karta hai? Kyunki thermodynamics ka pura foundation isi concept pe khada hai — reversible process humesha maximum work deta hai, aur ye idea aage chal ke entropy, efficiency, aur real engines samajhne mein base banta hai. Exam mein bhi ye pakka aata hai — reversible vs irreversible ka comparison, aur numerical jahan tumhe pata hona chahiye kab kaunsa formula lagana hai. Toh bas yaad rakho: path matters, reversible = maximum work, aur woh log wala formula. Baaki sab isi pe build hoga.

Go deeper — visual, from zero

Test yourself — Thermodynamics (Chemical)

Connections