2.4.2 · D3 · Physics › Thermodynamics & Statistical Mechanics (Advanced) › Legendre transforms connecting them
Intuition Yeh page kis liye hai
Parent note ne machine banai thi. Yahan hum use har tarah ki road condition pe drive karte hain : clean curves, sign traps, degenerate (straight-line) inputs, limiting behaviour jahan transform blow up karta hai, ek real lab word-problem, aur ek exam twist.
Agar tum koi aisa case dekho jo is page pe nahi hai, woh in cells ka hi ek combination hoga — kuch bhi naya tumhe surprise nahi kar sakta.
Prerequisites jinhe hum use karte hain: Internal Energy and the First Law , Maxwell Relations , Thermodynamic Stability and Convexity , aur mechanics cousin Lagrangian to Hamiltonian (Legendre in Mechanics) . Chemistry payoff Chemical Potential and Phase Equilibrium mein milta hai; F ki statistical origin Partition Functions mein hai.
Har Legendre problem in cells mein se ek (ya blend) hoti hai:
Cell
Case class
Kya galat ho sakta hai / kya dhyan rakhna hai
Kis example mein
A
Convex power law f = 2 1 a x 2 , a > 0
"textbook" case, g ka sign
Ex 1
B
Sign trap: slope negative hai (− P slot)
negative subtract karo = add karo
Ex 2
C
Non-quadratic convex f = e x
p = f ′ invert karne ke liye ln chahiye, domain p > 0
Ex 3
D
Degenerate: linear f = c x
slope constant → transform undefined/collapses
Ex 4
E
Limiting / boundary: convexity a → 0 +
transform diverge karta hai, stability edge
Ex 5
F
Real-world word problem (lab: fixed T , P )
sahi potential G choose karna
Ex 6
G
Real gas pe full thermo swap
P , S ko slopes ke roop mein recover karo
Ex 7
H
Exam twist: double transform (involution)
prove karo ki tum wapas ghar aate ho
Ex 8
Ab hum har cell ko hit karte hain.
f ( x ) = 2 1 a x 2 ka Legendre transform, a > 0 ke saath
Forecast: padhne se pehle g ( p ) ka sign guess karo. (Trap: log expect karte hain ki yeh f ki tarah positive hoga.)
Step 1. Slope: p = f ′ ( x ) = a x .
Yeh step kyun? Legendre transform curve ko uski slope se re-label karta hai, isliye pehli cheez jo hum compute karte hain woh slope function hai.
Step 2. Invert karo: x = p / a .
Yeh step kyun? g sirf p ka function hona chahiye; har x ko evict karna hoga.
Step 3. g = f − p x mein substitute karo:
g ( p ) = 2 1 a ( a p ) 2 − p ⋅ a p = 2 a p 2 − a p 2 = − 2 a p 2 .
Yeh step kyun? Yahi definition hai g = f − p x ; negative result hi point hai — ek rising tangent ka intercept axis ke neeche hota hai.
Verify: d p d g = − a p = − x . ✓ Slope relation d g / d p = − x se match karta hai. Numbers se a = 2 , x = 3 ke saath: f = 9 , p = 6 , g = − 9 . Aur f − p x = 9 − 18 = − 9 . ✓
U se Enthalpy: V swap karo, jiska slope negative hai
Maano equilibrium ke paas U ( V ) = U 0 + 2 1 k ( V − V 0 ) 2 fixed S , N pe, k > 0 ke saath. V pe transform banao.
Forecast: kya hum U − P V paate hain ya U + P V ? Pehle guess karo.
Step 1. Slope ko uske sign ke saath padho: ∂ V ∂ U = k ( V − V 0 ) . First law d U = ⋯ − P d V se, woh slope hai − P .
Toh − P = k ( V − V 0 ) , yaani P = − k ( V − V 0 ) .
Yeh step kyun? Poora trap yahi hai ki − P d V mein minus bhool jaate hain. Differential se sign padhne par trap khatam ho jaata hai.
Step 2. Legendre subtract = slope × variable = ( − P ) V . Toh
H = U − ( − P ) V = U + P V .
Yeh step kyun? "Slope×variable subtract karo" literal hai; yahan slope − P hai, toh hum negative subtract karte hain → add P V ho jaata hai.
Step 3. Differential check: d H = d U + P d V + V d P = ( T d S − P d V ) + P d V + V d P = T d S + V d P .
Yeh step kyun? Confirm karta hai ki − P d V cancel ho gaya aur H ab d P pe ride karta hai — pressure driver ban gaya.
Verify (numbers): maano k = 4 , V 0 = 1 , U 0 = 0 , V = 3 . Tab U = 2 1 ( 4 ) ( 2 ) 2 = 8 , P = − 4 ( 2 ) = − 8 , toh H = U + P V = 8 + ( − 8 ) ( 3 ) = 8 − 24 = − 16 . Aur galat formula U − P V = 8 − ( − 24 ) = 32 — clearly alag, dikhata hai ki sign matter karta hai. ✓
H = U − P V ."
U ka slope V mein − P hai, P nahi. ( − P ) V subtract karna P V add karta hai. Hamesha pehle differential se slope ka sign padho.
f ( x ) = e x ka Legendre transform
Forecast: g ( p ) kin p ke liye exist bhi karta hai? Domain guess karo.
Step 1. Slope: p = f ′ ( x ) = e x .
Yeh step kyun? Wahi pehla move — slope function nikalo.
Step 2. Invert karo: kyunki e x > 0 hamesha hota hai, hume p > 0 chahiye, aur x = ln p .
Yeh step kyun? p = f ′ ( x ) ko invert karna wahan hota hai jahan g ka domain janm leta hai. e x sirf positive slopes produce karta hai, isliye g sirf p > 0 pe rehta hai — parabola ke unlike, yeh genuine restriction hai.
Step 3. g ( p ) = f − p x = e l n p − p ln p = p − p ln p .
Yeh step kyun? g = f − p x mein x = ln p ka seedha substitution.
Verify: d p d g = 1 − ( ln p + 1 ) = − ln p = − x . ✓ (slope relation hold karta hai). x = 0 pe: p = 1 , g = 1 − 1 ⋅ 0 = 1 = f ( 0 ) — bottom pe tangent ka intercept = f hai, sahi hai kyunki slope×0 term vanish ho jaata hai. ✓
f ( x ) = c x (ek line) ke liye kya hota hai?
Forecast: guess karo ki transform exist bhi karta hai ya nahi.
Step 1. Slope: p = f ′ ( x ) = c — ek constant , x se independent.
Yeh step kyun? Hum hamesha slope se shuru karte hain; yahan woh kabhi change nahi hota.
Step 2. p = c ko x ke liye invert karne ki koshish karo. Impossible: p = c ke liye har x qualify karta hai; p = c ke liye koi x nahi karta.
Yeh step kyun? Transform ek one-to-one slope map maangta hai. Ek straight line har jagah ek hi slope rakhti hai → map collapse ho jaata hai.
Step 3. Interpret karo. p = c ke along: g = f − p x = c x − c x = 0 . "Curve" ek single point ( c , 0 ) pe degenerate ho jaati hai — kaunsa x hai yeh information kho jaati hai.
Yeh step kyun? Failure ko geometrically dikhata hai: ek line ka koi curvature nahi hota, isliye "tangent lines" fan out nahi karti — woh sab ek hi line hain, koi positional info nahi.
Verify: Second derivative f ′′ = 0 . Legendre transform exactly tab well-defined hota hai jab f ′′ = 0 (strict convexity/concavity). Yahan f ′′ = 0 ⇒ degenerate. ✓ Yahi wajah hai ki stability (∂ 2 U / ∂ S 2 = T / C V > 0 ) woh cheez hai jo guarantee karti hai ki thermo transforms kaam karein.
g ( p ) = − 2 a p 2 ko jab a → 0 +
Forecast: fixed p ke saath jab parabola flat hoti hai toh g ke saath kya hota hai guess karo.
Step 1. p = 0 fix karo, a → 0 + jaane do: g = − 2 a p 2 → − ∞ .
Yeh step kyun? a curvature f ′′ hai. a → 0 bhejna Cell D ki degenerate line ko approach karta hai — transform ko break hona chahiye, aur woh diverge hokar karta hai.
Step 2. Meanwhile woh x jo slope p produce karta hai woh hai x = p / a → ∞ .
Yeh step kyun? Ek ever-flatter parabola pe slope p rakhne ke liye tumhe ever further jaana hoga — tangent point infinity ki taraf bhaagta hai, intercept ko − ∞ tak kheenchta hai.
Step 3. Thermodynamic reading: agar C V → ∞ (S mein U ki curvature vanish hoti hai), system apna unique temperature-entropy relation set karne ki ability khho deta hai — ek phase-transition-like edge.
Yeh step kyun? Pure math limit ko real physics se jodta hai: diverging response = instability ki shuruat.
Verify: a = 0.1 , p = 2 pe: g = − 0.2 4 = − 20 . a = 0.01 pe: g = − 0.02 4 = − 200 . Monotonically − ∞ ki taraf. ✓
Worked example "Ek reaction open beaker mein bench pe chal rahi hai. Main kaunsa potential minimize karun?"
Beaker atmosphere ke liye open hai (pressure P room se fixed hai) aur lab mein rakha hai (temperature T room se fixed hai). Particle number N change ho sakta hai jab reactants convert hote hain.
Forecast: compute karne se pehle potential guess karo.
Step 1. Controlled variables list karo: T (room) aur P (atmosphere).
Yeh step kyun? Sahi potential woh hota hai jiske natural variables exactly wahi hain jo tum hold karte ho — phir equilibrium ek clean minimum ban jaata hai.
Step 2. Fundamental relations se match karo. Sirf G mein d G = − S d T + V d P + μ d N hota hai, natural ( T , P , N ) mein.
Yeh step kyun? U ( S , V , N ) , H ( S , P , N ) , F ( T , V , N ) sabmein abhi bhi ek uncontrolled natural variable (S ya V ) hota hai. Sirf G bench ke liye native hai.
Step 3. Fixed T , P pe: d G = μ d N . Equilibrium ⇔ d G = 0 ⇔ chemical potentials balance karte hain.
Yeh step kyun? Yahi poori wajah hai ki chemists G mein rehte hain; dekho Chemical Potential and Phase Equilibrium .
Verify (units): [ μ d N ] = ( J/mol ) ( mol ) = J , [ G ] = J se match karta hai. Aur d G = − S d T + V d P + μ d N mein d T = d P = 0 sirf μ d N chodta hai. ✓
Worked example Ideal gas ke
F ( T , V , N ) se, pressure aur entropy padho
Fixed T , N pe Helmholtz free energy piece lo F = − N k B T ln V + ( terms not depending on V ) .
Forecast: guess karo ki P = + ∂ F / ∂ V hai ya − ∂ F / ∂ V .
Step 1. d F = − S d T − P d V + μ d N se, V -slope hai ( ∂ V ∂ F ) T , N = − P .
Yeh step kyun? Sign directly differential se padho (Cell B ka lesson).
Step 2. Compute karo: ∂ V ∂ ( − N k B T ln V ) = − V N k B T . − P ke barabar set karo:
− P = − V N k B T ⇒ P = V N k B T .
Yeh step kyun? Ideal gas law ek potential ki slope ke roop mein nikal aati hai — koi alag postulate nahi chahiye.
Step 3. Entropy dusre slot se: S = − ( ∂ T ∂ F ) V , N .
Yeh step kyun? Wahi machine, alag variable — ek Maxwell/slope pairing (dekho Maxwell Relations ).
Verify (numbers): N = 2 , k B = 1 (natural units), T = 300 , V = 10 : P = 10 2 ⋅ 1 ⋅ 300 = 60 . Aur ∂ F / ∂ V = − 10 2 ⋅ 300 = − 60 = − P . ✓ N k B T / V ke units: m 3 ( J/K ) ( K ) = J/m 3 = Pa . ✓
f ( x ) = 2 1 a x 2 ko do baar transform karo aur dikhao ki tum wapas ghar aate ho
Forecast: guess karo ki second transform kya deta hai — original, ya kuch scaled?
Step 1. Pehla transform (Ex 1 se): g ( p ) = − 2 a p 2 , slope ke saath d p d g = − a p .
Yeh step kyun? Hume g aur uski slope second transform ke input ke roop mein chahiye.
Step 2. Naya conjugate variable q = d p d g = − a p , toh p = − a q .
Yeh step kyun? Involution proof ke liye g ko fresh f maanna aur recipe repeat karna zaroori hai.
Step 3. Second transform h ( q ) = g − q p = − 2 a p 2 − q ( − a q ) = − 2 a ( − a q ) 2 + a q 2 = − 2 a q 2 + a q 2 = 2 a q 2 .
Yeh step kyun? Yeh 2 1 a q 2 hai — original f se form mein identical. Transform apna khud ka inverse hai.
Verify (numbers): a = 2 , q = 3 : h = 2 1 ( 2 ) ( 9 ) = 9 = f ( 3 ) = 2 1 ( 2 ) ( 9 ) = 9 . ✓ Involution confirm — yeh mathematical guarantee hai ki char potentials ke across kabhi bhi koi information nahi gayi .
Recall Kaunsa cell fail karta hai, aur kyun?
Sirf Cell D (linear f , f ′′ = 0 ) ka koi well-defined transform nahi hai ::: kyunki slope map p = f ′ ( x ) invertible nahi hai — sabhi x ke liye ek hi slope hota hai.
Kya guarantee karta hai ki thermo transforms hamesha kaam karte hain ::: stability/convexity, jaise ∂ 2 U / ∂ S 2 = T / C V > 0 .
Mnemonic Sign padho, phir slope×variable subtract karo
Har case is cheez tak reduce hua: (1) slope compute karo, (2) invert karo (yahan domain reveal hota hai aur yeh pata chalta hai ki degenerate hai ya nahi), (3) g = f − ( slope ) ( x ) . Sirf villain hai slope ka sign aur flatness (f ′′ = 0 ) jo invertibility khatam kar deti hai.