Skip to content
Back to skills

Statistical Mechanics

ASecurity

Use statistical mechanics: microstates, ensembles, partition functions, Boltzmann/Fermi-Dirac/Bose-Einstein distributions, Ising model, phase transitions, blackbody, Bose-Einstein condensation, fluctuations, renormalization group. Use to connect microscopic physics to thermodynamics.

  • 8 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 9, 2026
ai-agents

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add hamzabellouch/agent-skills --skill statistical-mechanics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Statistical Mechanics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Statistical Mechanics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hamzabellouch-statistical-mechanics/badge)](https://www.skillsdirectory.com/skills/hamzabellouch-statistical-mechanics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: statistical-mechanics
description: "Use statistical mechanics: microstates, ensembles, partition functions, Boltzmann/Fermi-Dirac/Bose-Einstein distributions, Ising model, phase transitions, blackbody, Bose-Einstein condensation, fluctuations, renormalization group. Use to connect microscopic physics to thermodynamics."
---

# Statistical Mechanics

## Foundations
- Boltzmann entropy S = k_B ln Ω; Gibbs S = -k_B Σ p_i ln p_i
- Ensembles: microcanonical (E,V,N), canonical (T,V,N) with Z = Σ e^{-βE_i}, grand canonical (T,V,μ) with Ξ = Σ e^{-β(E-μN)}
- Canonical: F = -k_B T ln Z; ⟨E⟩ = -∂lnZ/∂β; C_V = k_B β² ∂²lnZ/∂β²; Var(E) = k_B T² C_V
- Equipartition: ½k_BT per quadratic degree of freedom (fails when quantum effects freeze modes)
- Maxwell-Boltzmann speed: f(v) = 4π(m/2πk_BT)^{3/2} v² e^{-mv²/2k_BT}; v_mp = sqrt(2k_BT/m), ⟨v⟩ = sqrt(8k_BT/πm)

## Quantum statistics
- Occupancy ⟨n⟩ = 1/(e^{β(ε-μ)} ± 1) (+ fermions, - bosons)
- Fermi gas: E_F = ħ²(3π²n)^{2/3}/2m; degeneracy pressure; Sommerfeld C ∝ T
- Bose gas: T_c = (2πħ²/mk_B)(n/ζ(3/2))^{2/3}; condensate below T_c
- Photon gas: u = (π²/15)(k_BT)⁴/(ħc)³; Planck: B(ν) ∝ ν³/(e^{hν/kT}-1)
- Debye model: C_V ∝ T³ at low T; Einstein model for optical modes; Dulong-Petit 3Nk at high T

## Models and phase transitions
- Two-level system: Z = 1 + e^{-βΔ}; Schottky anomaly
- Ising model: 1D exact, no transition at T>0; 2D Onsager T_c = 2J/(k_B ln(1+√2)); mean-field T_c = zJ/k_B
- Landau theory: F = a(T-T_c)m² + b m⁴; critical exponents; universality
- Renormalization group: fixed points, relevant/irrelevant operators, scaling relations
- Fluctuation-dissipation theorem; Brownian motion D = k_BT/γ (Einstein); Langevin and Fokker-Planck equations
- Boltzmann equation, H-theorem, kinetic theory; Onsager reciprocal relations

## Workflow
Enumerate states → write Z → derive thermodynamics by derivatives → check high/low-T limits.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.