2.4.10 · D3 · HinglishThermodynamics & Statistical Mechanics (Advanced)

Worked examplesCanonical ensemble — partition function Z

3,269 words15 min read↑ Read in English

2.4.10 · D3 · Physics › Thermodynamics & Statistical Mechanics (Advanced) › Canonical ensemble — partition function Z

Kuch bhi shuru karne se pehle, teen reminders un symbols ke jo poore raaste kaam aate hain:

Recall

kya hai aur hum ki jagah isko kyun use karte hain? ::: . Hum isse isliye use karte hain kyunki mein temperature hamesha sirf energy ko multiply karte hue aata hai. ke respect mein differentiate karne par cleanly ek factor "pull down" hota hai, jo ki exactly wahi hai jo average energy ko chahiye.

Recall

(Planck's constant) kya hai aur yeh classical mein kyun aata hai? ::: Planck's constant hai, jiske units hain (energy time) = (position momentum). Ek continuous system mein hum states pe sum, position–momentum plane pe integrate karke karte hain; har genuinely distinct state area ka ek cell occupy karta hai. Har degree of freedom ke liye se divide karne par "phase space ka area" ek dimensionless count of states ban jaata hai.

Recall Teen master formulas jo hum baar baar use karenge

::: partition function (Boltzmann weights ka sum) ::: average energy ::: energy fluctuation ( ke around ka spread)


Scenario matrix

Partition function se jo bhi problem aa sakti hai, woh ek cell mein aati hai. Neeche ke examples label kiye hain ki woh kaun si cell hit karte hain; milaakar yeh poora grid cover karte hain.

Cell Kya cheez isse alag banati hai Example
A. Cold limit system lowest state(s) mein freeze ho jaata hai Ex 1
B. Hot limit sabhi states equally likely Ex 1
C. Degeneracy levels multiplicity ke saath count hote hain Ex 2
D. Discrete, infinite ladder geometric series, converge karni chahiye Ex 3
E. Continuous / classical phase-space integral, Gaussians Ex 4
F. Fluctuations & heat capacity ka second derivative Ex 5
G. Many independent particles factorization , aur Ex 6
H. Real-world word problem physics se states chunna, phir compute karna Ex 7
I. Exam twist / degenerate zero ek level shift ya -style trap Ex 8

Ex 1 — Two-level system: dono temperature extremes (cells A + B)

Step 1 — likho. Yeh step kyun? by definition sabhi states pe Boltzmann weights ka sum hai — yahan exactly do hain.

Step 2 — Differentiate karo. Yeh step kyun? Master formula "mere paas hai" ko "mere paas average energy hai" mein ek derivative ke saath convert karta hai — haath se sum karne ki zaroorat nahi.

Step 3 — Cold limit (cell A). . Yeh step kyun? Limits sabse sasta correctness test hain; unhe physics se match karna chahiye.

Step 4 — Hot limit (cell B). .

Step 5 — par hoga, toh .

Recall

par numeric value :::

Verify: Cold mein ✓, hot mein ✓ (dono forecast se match). Units: ke har term mein (ek energy) ka factor hai, baaki dimensionless hai — sahi hai.

Neeche ki figure exactly yahi plot karti hai. Blue curve ko follow karo jo (cold) se uthkar red dashed ceiling (hot) ki taraf jaati hai; yellow dot hamare special point ko mark karta hai jahan hai. Dhyaan do ki curve kabhi se zyada nahi jaati — energy ke liye 50/50 mixture se garam koi jagah nahi hai.

Figure — Canonical ensemble — partition function Z

Ex 2 — Ek degenerate three-level system (cell C)

Step 1 — multiplicity ke saath banao. Yeh step kyun? Har microstate apna Boltzmann factor contribute karta hai. Energy par teen microstates contribute karte hain. Yeh rule hai action mein.

Step 2 — Average energy. Yeh step kyun? Same master formula; degeneracy bas ke andar saath chalti hai.

Step 3 — Hot limit. . Yeh step kyun? "Sabhi chaar states equal" wali prediction confirm karta hai.

Verify: Cold limit pe deta hai ✓. Hot limit ✓ forecast se match. Agar hum set karein toh Ex 1 ka wapas aata hai ✓ — formula gracefully degrade karta hai.


Ex 3 — Quantum harmonic oscillator: ek infinite ladder (cell D)

Step 1 — Sum likho. Yeh step kyun? Constant ko bahar nikaalne par common ratio wali ek plain geometric series expose hoti hai.

Step 2 — Check karo ki ratio 1 se neeche hai, phir sum karo. Temperature hamesha positive hoti hai, toh , aur ; isliye exponent negative hai, jo ko strictly aur ke beech ka number banata hai. wali geometric series mein converge karti hai: Yeh step kyun? Series converge isliye karti hai kyunki — yeh fact ki energies bina bound ke badhti hain, exactly wahi hai jo ko se neeche force karti hai aur ek finite answer guarantee karti hai.

Step 3 — ki tarah rewrite karo. Upar aur neeche se multiply karo. Numerator hoga; denominator ban jaata hai, jo definition se exactly hai: Yeh step kyun? form compact hai aur uska logarithm agli step mein cleanly differentiate hota hai.

Step 4 — Average energy. Yeh step kyun? Master derivative phir se; pehla term zero-point energy hai, doosra thermal Planck occupation hai.

Step 5 — High- limit. ke liye, , toh . Yeh step kyun? Classical oscillator result se match karna chahiye — quantum aur classical agree karte hain jab thermal energy level spacing se zyada ho.

Verify: Low- limit pe (pure zero-point) ✓. High- pe ✓, parent Example 2 se match.

Figure dono curves ko contrast karti hai. Blue quantum curve thandi hone par green dotted floor par flatten ho jaati hai (energy zero-point value par freeze ho jaati hai), jabki yellow dashed classical line origin se seedha nikalta hai. Dekho blue aur yellow right side pe kaise merge hoti hain: jab ho, quantization invisible hai.

Figure — Canonical ensemble — partition function Z

Ex 4 — Box mein free particle: continuous phase space (cell E)

Step 1 — Phase-space integral set up karo. Yeh step kyun? Continuous system ke liye hum phase space pe integrate karke states pe sum karte hain, Planck's constant se divide karte hain (upar recall box dekho) taaki area wala har cell ek state count ho.

Step 2 — Integrals karo. -integral bas hai; -integral ek Gaussian hai jahan hai: Yeh step kyun? Gaussian tool isliye hai kyunki exactly Gaussian shape hai; uska area ek jaana-maana standard result hai, toh koi numerical kaam nahi chahiye.

Step 3 — Average energy. likho: Yeh step kyun? Derivative ke liye sirf -dependence matter karta hai; box length aur dono constant mein baith jaate hain aur drop out ho jaate hain.

Verify: Ek quadratic DOF ✓ (forecast aur Equipartition theorem se match). Units: ke units = energy hain ✓.


Ex 5 — Two-level fluctuations aur heat capacity (cell F)

Is example se pehle humein ek naya quantity chahiye.

Step 1 — se fluctuation. ke saath, Yeh step kyun? ka second derivative energy ka variance hai — woh identity (parent note se) "spread compute karo" ko "do baar differentiate karo" mein convert karti hai.

Step 2 — Heat capacity via . Yeh step kyun? Fluctuation–response link se hum seedha ke respect mein differentiate kiye bina nikal sakte hain.

Step 3 — Limits. par, factor . par, prefactor . Toh dono ends par . Yeh step kyun? Anomaly ke dono shoulders confirm karta hai.

Step 4 — Peak numerically locate karo. ke upar maximize karne par peak par milta hai, yaani .

Recall Schottky heat capacity ki peak

::: (jahan )

Verify: Dono limits mein ✓. Peak ke paas ✓ jaise forecast mein.

Figure mein red curve hai: yeh thandi left side par zero se shuru hoti hai, ek single hump tak uthti hai, phir garam right side par wapas zero par decay hoti hai. Yellow dot peak ko par mark karta hai. Yeh akela bump — koi step nahi, koi plateau nahi — real heat-capacity data mein ek two-level system ka fingerprint hai.

Figure — Canonical ensemble — partition function Z

Ex 6 — independent atoms: factorization aur trap (cell G)

Step 1 — Factorize karo. Total energy , toh Yeh step kyun? , aur independent labels pe sum independent sums ke product mein split ho jaata hai. Isliye large systems ke liye itna powerful hai.

Step 2 — Total energy. , toh Yeh step kyun? Logarithm product ko sum mein badal deta hai, aur energy extensive hai — yeh ke saath linearly scale karti hai.

Step 3 — Indistinguishable case. Agar yeh free identical gas particles hote, toh hum divide karte: . Yeh step kyun? Do identical particles ko swap karna ek naya microstate nahi hai; product baar overcount karta hai. Yeh factor drop karna entropy ki extensivity tod deta hai — Gibbs paradox.

Verify: Distinguishable atoms ke liye energies simply add hoti hain, toh ✓. , ko ek constant se multiply karta hai ( se independent), toh yeh free energy aur entropy badalta hai (Ex 8 aur Helmholtz free energy F mein introduce) lekin nahi — ek useful sanity check.


Ex 7 — Real-world word problem: magnetic field mein paramagnet (cell H)

Step 1 — Physics se states aur energies chuno. Do states: aligned energy ke saath aur anti-aligned energy ke saath. Toh Yeh step kyun? Word problem humein koi formula nahi deta — koi bhi machinery apply karne se pehle humein "aligned/anti-aligned" ko concrete energies mein translate karna hoga. Do exponentials mein combine ho jaate hain definition se.

Step 2 — Observable ka average nikalo. Magnetization hai, jahan : Yeh step kyun? Boltzmann distribution kisi bhi observable ko weight karta hai, sirf energy ko nahi. Aligned state (zyada weight, kyunki lower energy hai) carry karta hai; -like top aur -like bottom ka ratio exactly hai.

Step 3 — Cold limit (cell A flavour). , toh : har spin field par lock ho jaata hai. Yeh step kyun? Zero temperature par energy borrow karne ke liye kuch nahi, toh system apni lowest state mein baith jaata hai — fully aligned.

Step 4 — Hot limit (cell B flavour). , toh : dono orientations equally likely ho jaati hain aur cancel kar deti hain. Yeh step kyun? Infinite temperature energy bias mitaata hai; up aur down equiprobable ho jaate hain.

Verify: for ✓ (field ke saath aligned, forecast se match). Field reverse karne par se ka sign flip hota hai (function mein odd hai) ✓ — physically magnetization field direction follow karta hai. Units: moment carry karta hai aur dimensionless hai ✓.


Ex 8 — Exam twist: energy zero shift karna (cell I)

Pehle, do thermodynamic quantities jo yeh example check karta hai:

Step 1 — Naya partition function. Yeh step kyun? Common factor sum se seedha bahar nikal jaata hai, toh bas times ek constant weight hai.

Step 2 — Probabilities invariant hain. . Yeh step kyun? Shift upar aur neeche cancel ho jaata hai — isliye sirf energy differences kabhi bhi physical hote hain.

Step 3 — Energy aur free energy se shift hote hain. use karte hue: Yeh step kyun? term energy ke liye differentiate hoke deta hai, aur ke liye deta hai (kyunki ). Dono sea-level change se shift hote hain, jaise hona chahiye.

Step 4 — Entropy unchanged rehti hai. . Yeh step kyun? , difference mein cancel ho jaata hai, toh entropy — accessible states ka count — energy zero kahan hai iske par depend nahi kar sakta.

Step 5 — trap. Degeneracy wala level contribute karta hai: woh simply exist nahi karta aur mein kuch nahi add karta. Koi divergence nahi, koi special case nahi — ek "missing" level sum ke liye invisible hai. Yeh step kyun? Exam questions ek phantom level insert karna pasand karte hain; sum ise automatically handle karta hai.

Verify: Probabilities unchanged ✓ (ek constant energy shift unphysical hai). aur dono se shift ✓; entropy unchanged ✓ — sab forecast se match.