1.7.15Thermodynamics

Work done in each process — derivation

1,403 words6 min readdifficulty · medium

The Master Formula (derive this once, use it everywhere)

WHY start from force? Because work is fundamentally dW=FdxdW = \vec F\cdot d\vec x.

HOW to get pressure in:

  • Piston of area AA, gas pressure PP pushes with force F=PAF = PA.
  • Piston moves out by dxdx. Tiny work dW=Fdx=PAdxdW = F\,dx = PA\,dx.
  • But Adx=dVA\,dx = dV (volume swept).

dW=PdVW=V1V2PdV\boxed{dW = P\,dV} \quad\Longrightarrow\quad W = \int_{V_1}^{V_2} P\,dV

This is the 80/20 core: master W=PdVW=\int P\,dV and every case is just "what is PP as a function of VV?"

Figure — Work done in each process — derivation

1. Isobaric (constant pressure)

WHAT: PP = constant, pull it out of the integral.

W=V1V2PdV=PV1V2dV===P(V2V1)==W = \int_{V_1}^{V_2} P\,dV = P\int_{V_1}^{V_2} dV = ==P(V_2 - V_1)==

Using PV=nRTPV=nRT: W=nR(T2T1)W = nR(T_2 - T_1).


2. Isochoric (constant volume)

WHAT: VV = constant dV=0\Rightarrow dV = 0.

W=V1V1PdV===0==W = \int_{V_1}^{V_1} P\,dV = ==0==


3. Isothermal (constant temperature)

WHY harder: PP changes as VV changes, so we must substitute P(V)P(V) first.

HOW: Ideal gas at constant TT: PV=nRTP=nRTVPV = nRT \Rightarrow P = \dfrac{nRT}{V}.

W=V1V2nRTVdV=nRTV1V2dVV=nRT[lnV]V1V2W = \int_{V_1}^{V_2} \frac{nRT}{V}\,dV = nRT\int_{V_1}^{V_2}\frac{dV}{V} = nRT\,[\ln V]_{V_1}^{V_2}

W===nRTln ⁣V2V1===nRTln ⁣P1P2\boxed{W = ==nRT\ln\!\frac{V_2}{V_1}== = nRT\ln\!\frac{P_1}{P_2}}

(Used V2V1=P1P2\dfrac{V_2}{V_1}=\dfrac{P_1}{P_2} from Boyle's law.)


4. Adiabatic (no heat exchange, Q=0Q=0)

WHY a new formula: here PVγ=KPV^\gamma = K (constant), so P=KVγP = K V^{-\gamma}.

HOW: W=V1V2KVγdV=K[Vγ+11γ]V1V2=K1γ(V21γV11γ)W = \int_{V_1}^{V_2} K V^{-\gamma}\,dV = K\left[\frac{V^{-\gamma+1}}{1-\gamma}\right]_{V_1}^{V_2} = \frac{K}{1-\gamma}\left(V_2^{1-\gamma}-V_1^{1-\gamma}\right)

Now K=P1V1γ=P2V2γK = P_1V_1^\gamma = P_2V_2^\gamma, so KV21γ=P2V2KV_2^{1-\gamma}=P_2V_2 and KV11γ=P1V1KV_1^{1-\gamma}=P_1V_1:

W=P1V1P2V2γ1===nR(T1T2)γ1==\boxed{W = \frac{P_1V_1 - P_2V_2}{\gamma - 1} = ==\frac{nR(T_1 - T_2)}{\gamma - 1}==}


Cyclic process

For a closed loop, Wnet=PdV=W_{net} = \oint P\,dV = area enclosed by the loop. Clockwise loop → W>0W>0; anticlockwise → W<0W<0.



Recall Feynman: explain to a 12-year-old

Imagine pushing a swing. If you push with the same strength the whole way, work is just strength × distance (isobaric). But a gas gets weaker as it spreads out (pressure drops), so you have to add up lots of little pushes that keep shrinking — that's the integral. If the gas is wrapped in a blanket so no heat escapes (adiabatic), it uses up its own warmth to push, so it gets colder. If you keep it at the same warmth (isothermal), it can push longer and the total comes out as a "log."


Flashcards

Starting point for all work calculations
dW=PdVdW = P\,dV, so W=V1V2PdVW=\int_{V_1}^{V_2}P\,dV (area under P–V curve)
Work in isobaric process
W=P(V2V1)=nRΔTW = P(V_2-V_1) = nR\Delta T
Work in isochoric process
W=0W=0 (since dV=0dV=0)
Work in isothermal process
W=nRTln(V2/V1)=nRTln(P1/P2)W = nRT\ln(V_2/V_1) = nRT\ln(P_1/P_2)
Why isothermal gives a log
P=nRT/VP=nRT/V varies, and dV/V=lnV\int dV/V = \ln V
Work in adiabatic process
W=P1V1P2V2γ1=nR(T1T2)γ1W = \dfrac{P_1V_1-P_2V_2}{\gamma-1} = \dfrac{nR(T_1-T_2)}{\gamma-1}
In adiabatic expansion, where does work come from
From internal energy, so gas cools (W=ΔUW=-\Delta U)
Net work in a cyclic process
Area enclosed by the loop on P–V diagram (clockwise = positive)
Is work a state function
No, it is path-dependent (depends on the curve, not just endpoints)

Connections

  • First Law of ThermodynamicsΔU=QW\Delta U = Q - W uses these WW values
  • P-V Diagrams — work = area under curve
  • Adiabatic Process and PV^gamma — source of PVγ=KPV^\gamma=K
  • Isothermal Process and Boyle's Law
  • Internal Energy and Cv — links adiabatic W=ΔUW=-\Delta U
  • Carnot Cycle — net cyclic work

Concept Map

force = PA

geometric meaning

path matters

P constant

dV = 0

sub P = nRT over V

sub P = K V^-gamma

use PV = nRT

use PV = nRT

uses PV^gamma = K

no piston motion

dW = F dx

Master formula W = integral P dV

Area under P-V curve

Work is path-dependent

Isobaric W = P delta-V

Isochoric W = 0

Isothermal W = nRT ln V2 over V1

Adiabatic W = nR T1-T2 over gamma-1

Ideal gas law

All heat to internal energy

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, saara kaam (work) ek hi master formula se nikalta hai: dW=PdVdW = P\,dV. Gas piston ko force F=PAF=PA se push karti hai, piston dxdx chalta hai, aur Adx=dVA\,dx = dV ban jaata hai. Toh tiny work PdVP\,dV, aur total work PdV\int P\,dV — yaani PPVV graph ke neeche ka area. Isi liye work path-dependent hai: same do points ke beech alag-alag raaste, alag area, alag work.

Ab bas yeh dekhna hai ki har process mein PP kaise behave karta hai. Isobaric mein PP constant, toh W=PΔV=nRΔTW=P\Delta V = nR\Delta T. Isochoric mein dV=0dV=0, piston hilta hi nahi, toh W=0W=0. Isothermal mein P=nRT/VP=nRT/V badalta rehta hai, isliye integral mein dV/V=ln\int dV/V=\ln aata hai → W=nRTln(V2/V1)W=nRT\ln(V_2/V_1). Adiabatic mein PVγ=KPV^\gamma=K, toh W=P1V1P2V2γ1=nR(T1T2)γ1W=\frac{P_1V_1-P_2V_2}{\gamma-1}=\frac{nR(T_1-T_2)}{\gamma-1}.

Important intuition: adiabatic expansion mein heat bahar nahi aata, toh gas apni hi internal energy kharch karke kaam karti hai — isliye gas thandi ho jaati hai (W=ΔUW=-\Delta U). Aur isothermal mein log mat bhoolna — bahut students PΔVP\Delta V laga dete hain jo galat hai kyunki yahan PP constant nahi hai.

Ek common galti: "isothermal mein ΔU=0\Delta U=0 toh W=0W=0." Galat! ΔU=0\Delta U=0 ka matlab sirf Q=WQ=W hai (first law), work zero nahi. Exam mein cyclic process aaye toh net work = loop ka enclosed area (clockwise positive). Bas yeh 5 cases yaad rakho aur har numerical crack ho jayega.

Go deeper — visual, from zero

Test yourself — Thermodynamics

Connections