Visual walkthrough — Chemical potential μ = (∂G - ∂N)_{T,P}
2.4.5 · D2· Physics › Thermodynamics & Statistical Mechanics (Advanced) › Chemical potential μ = (∂G - ∂N)_{T,P}
Step 0 — Teen cheezein jo hum actually change kar sakte hain

Figure mein box ke teen controls hain: ek thermometer (tum set karte ho; heat flow phir entropy move karta hai), ek piston (volume control karta hai), aur ek hatch (particle number control karta hai). Note karo yeh honest wiring: tum directly ghumao, aur respond karta hai — tum entropy ko haath se pakad nahi sakte. Is page ki har cheez iske baare mein hai ki jab hum hatch — woh dial jo purana first law ignore karta tha — ko nudge karte hain toh kya hota hai.
Step 1 — Box mein stored energy, aur uske "response slopes"
KYA. Hum kehte hain teen state variables par depend karta hai: .
KYUN. Kyunki yahi sirf cheezein hain jo change ho sakti hain, tabhi change ho sakta hai jab inme se koi change ho. Toh teen variables ke upar ek surface hai.
PICTURE. Figure dekho: ek curved sheet ki tarah draw ki gayi hai. Agar tum uske upar chalte ho, toh uski har direction mein steepness ek slope hai. Har slope ka ek naam hai:

Term by term, theek jahan yeh baithte hain:
- — box ki total energy mein tiny change.
- — woh reversible heat jo andar flow karti hai jab entropy badlti hai; energy (temperature) slope ke saath respond karti hai. Woh slope hi hai jiska matlab temperature hai.
- — volume ko nudge karo; energy slope ke saath respond karti hai. Minus sign kehta hai: box expand hone do () aur woh energy khota hai duniya ko push karne mein.
- — hatch ko particles se nudge karo; energy slope ke saath respond karti hai.
Yeh kyun honest definition hai: humne koi extra assumption nahi ki: humne sirf notice kiya ki ka direction mein slope hai aur use ek symbol diya. Baaki sab bookkeeping hai.
Step 2 — Lab ke liye galat potential kyun hai
KYA. Hum ek naya energy bookkeeper chahte hain jiski natural variables hon.
KYUN. Taaki "freeze aur , wiggle " kuch aisa ho jo tum bench par actually kar sako.
PICTURE. Figure mein hum "hard" variables ko "easy" variables se trade karte hain. Is trade ka ek naam aur ek recipe hai.

Step 3 — Gibbs free energy build karna
KYA. Humne ek naya energy define kiya jo mein do correction terms ke saath hai.
KYUN. Har correction ek "hard" variable ko cancel karke hume ek "easy" wala deta hai. Yeh standard Legendre swap hai — ek variable ko uske slope se trade karo. Deeper machinery ke liye Euler Relation and Gibbs-Duhem dekho.
PICTURE. Figure mein tall bar ke upar se ek chunk shave off kiya gaya hai aur ek chunk stack kiya gaya hai; bacha hua height hai.

Step 4 — differentiate karo (sirf product rule)
KYA. ka tiny change lo.
KYUN. Hum dekhna chahte hain ki naturally kaunse variables par respond karta hai. Uske slopes find karne ke liye hum differentiate karte hain.
par product rule use karo (yeh banta hai) aur par (yeh banta hai):
PICTURE. Figure mein woh paanch chote rectangles dikhaye gaye hain jo product rule create karta hai — har product term se do do, plus block jo replace hone ka intezaar kar raha hai.

Abhi tak kuch physical nahi hua — yeh pure calculus hai. Magic agli substitution mein hai.
Step 5 — First law substitute karo: cancellation
KYA. ko Step 1 se replace karo, .
KYUN. Kyunki woh akela term hai jo abhi bhi hard variables carry kar raha hai. Jaise hi hum ise plug karte hain, dekho kya khatam hota hai.
First law ka product rule ke ko cancel karta hai ( aur ). ko cancel karta hai ( aur ). Yeh cancellation hi poori baat hai — yeh wajah hai ki ko exactly un do correction terms ke saath build kiya gaya tha.
PICTURE. Figure mein, matching amber blocks pairs mein annihilate hote hain; sirf teen bachte hain.

Jo bachta hai:
Step 6 — Do dials freeze karke μ read off karo
KYA. fixed rakho () aur fixed rakho ().
KYUN. Yahi water bath aur khula atmosphere tumhare liye automatically karte hain. Un do variables ko freeze karna master differential ke pehle do terms ko khatam kar deta hai.
se divide karo:
PICTURE. Figure mein surface axis ke upar dikhaya gaya hai jisme floor level rakha gaya hai; tangent line ki steepness hai.

Recall
Subscript kyun matter karta hai? ::: Kyunki usi surface ka alag slope (jaise hold karke) ek alag physical quantity hai; sirf ka -frozen slope ke barabar hota hai.
Step 7 — Edge case: pure substance shortcut μ = G/N
KYA. Ek single pure substance ke liye, stuff ki amount ko kisi bhi factor se scale karna (jaise matlab "do guna", matlab "aadha") ko bhi same se scale karta hai, fixed par. Yahan sirf ek dimensionless scale factor hai, ek plain positive number jisse tum amount multiply karte ho. Symbols mein:
KYUN yeh ek per-particle number mein collapse hota hai. Agar fixed par strictly ke proportional hai, toh slope average ke barabar hoga — origin se guzarne wali straight line ka slope = height ÷ base. Euler's theorem (Euler Relation and Gibbs-Duhem) yeh cleanly state karta hai:
PICTURE. Figure mein, vs origin se ek straight ray hai. Slope aur ratio same dashed line hain — woh equality sirf pure substance ki straight ray ke liye true hai. Mixture ke liye curve bend hoti hai aur tumhe partial molar quantities use karni padti hain.

Step 8 — Degenerate limits: kya μ abhi bhi make sense karta hai?

Figure teeno dikhata hai: par diverging (left), ek sealed hatch (middle), aur do connected boxes ke beech equilibrium mein ek level "μ-landscape" (right, flat = no flow).
Ek-picture summary

Yeh single figure poora page compress karta hai: se shuru karo (top), hard variables ko easy ones se swap karo add karke paane ke liye (middle), matching terms cancel karo, aur surviving -slope ko ki tarah read off karo (bottom). Dashed amber arrow particle flow ko hamesha mein downhill trace karta hai.
(Diagram mein, "chem-pot" Greek letter ka plain-text stand-in hai jo is page par baaki jagah use hota hai — Mermaid labels plain text rehne chahiye.)
Recall Feynman: walkthrough plain words mein
Humne ek box se shuru kiya jiske teen controls hain — ek temperature knob, ek piston, aur particles add karne ke liye ek hatch. Temperature knob ghumane se heat flow hoti hai, aur woh heat quietly ek bookkeeping quantity ko move karti hai jise entropy kehte hain (roughly, un ways ka logarithm jisme particles arrange ho sakte hain). Purana energy rulebook sirf heat aur squeeze track karta tha, toh humne hatch ko uska apna slope diya aur use naam diya: woh energy jo ek naye particle ke saath aati hai. Lekin woh slope un quantities mein likha tha jo koi lab mein fixed nahi rakh sakta (entropy, volume). Toh humne ek naya energy scorecard, , banaya — heat-energy shave karke aur push-energy add karke — ek bookkeeping trick jo awkward variables ko easy ones se magically swap karti hai, temperature aur pressure. Jab humne ke slopes recompute kiye, heat aur squeeze terms perfectly cancel ho gayi (woh cancellation hi wajah hai ki humne choose kiya), teen clean terms bachte hue. Temperature aur pressure freeze karo — jaise lab mein baithe ho — aur sirf particle term bachti hai: ka slope hai jab tum particles add karte ho. Ek pure ingredient ke liye, woh slope sirf divided by hai, kyunki stuff double karne par straight line mein double hota hai. Aur jab do connected boxes same reach karte hain, slopes match ho jaate hain, kuch flow nahi karta — yahi equilibrium hai.