---
title: "The Microcanonical and Canonical Ensembles"
description: "Microcanonical systems have fixed energy, volume and particle number; canonical systems have fixed temperature, volume and particle number. For ordinary short-range systems in a regular thermodynamic "
canonical: https://lightmysky.com/learn/science/the-microcanonical-and-canonical-ensembles-mt_NSCYLK-brt
source: https://lightmysky.com/learn/science/the-microcanonical-and-canonical-ensembles-mt_NSCYLK-brt.md
retrieved: 2026-11-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# The Microcanonical and Canonical Ensembles

Microcanonical systems have fixed energy, volume and particle number; canonical systems have fixed temperature, volume and particle number. For ordinary short-range systems in a regular thermodynamic limit, matched ensembles agree on local thermodynamic averages, but not on energy fluctuations.

Subject: Science · Area: Thermal & Statistical Physics · Ages 21 to 22
Page: https://lightmysky.com/learn/science/the-microcanonical-and-canonical-ensembles-mt_NSCYLK-brt

## Ready when they can

- States what is held fixed in each ensemble and how probabilities are assigned
- Explains why the canonical ensemble suits a system in a heat bath
- Argues why the two agree in the limit of a large number of particles

## Lesson: Two rulebooks for odds in physics

The microcanonical ensemble fixes energy E, volume V and particle number N in an isolated system. Allowed microstates in the specified energy shell are equally probable. With W allowed states, each microstate has probability 1/W. The system's entropy is S=k_B ln W. States outside the shell are excluded.

The canonical ensemble fixes T,V,N in equilibrium with a large heat bath. Here volume is fixed, unlike the preceding fixed-pressure Gibbs criterion. Heat exchange lets energy fluctuate without appreciably changing the bath's temperature. Each probability is exp(-E/(k_B T))/Z. Since Z sums all weights, their normalized sum is Z/Z=1.

**Example.** A sealed, rigid flask equilibrated with a large room at steady temperature is canonical. Sealing fixes N; rigidity fixes V. Thermal contact sets equilibrium T and permits energy fluctuations. A flask still warming or cooling is not yet in this equilibrium description.

**Example.** A sealed, rigid, perfectly insulated box with no other energy transfer is microcanonical: E,V,N stay fixed. Insulation blocks heat, but moving walls or electrical connections can transfer work. Check heat, work and particle exchange.

For ordinary short-range systems away from singular regimes, mean energy and variance usually scale with N. Root-mean-square fluctuation scales with sqrt(N), giving relative size 1/sqrt(N). At matched mean energy, ensembles approach the same local thermodynamic averages, but their energy variances remain different.

**Example.** At positive finite T, canonical states of different energies generally have different probabilities. For states at 0 and D with exp(-D/(k_B T))=1/2, their weights are 1 and 1/2, giving probabilities 2/3 and 1/3. Equal probabilities apply within a microcanonical energy shell, not across all canonical energies.

A small particle count does not justify a large-system equivalence approximation. Some observables may agree even in a small system, but agreement is not guaranteed. Large size alone is also insufficient for every system: long-range interactions or singular limits can require further analysis. State the ensemble's constraints and which observable is being compared.

**Recap.** Microcanonical: fixed E,V,N and equal probabilities within an energy shell. Canonical: fixed T,V,N and Boltzmann probabilities. Large-system equivalence has limits and excludes energy variance.

*Original lesson, questions and flashcards written for this learning dataset.*

## Practice

8 questions on this page, each with its working shown.

## Needs first

- [Free Energy and the Direction of Spontaneous Change](https://lightmysky.com/learn/science/free-energy-and-the-direction-of-spontaneous-change-mt_ww43eqzupN)

## Optional connections

- [The Law of Large Numbers and the Central Limit Theorem](https://lightmysky.com/learn/mathematics/the-law-of-large-numbers-and-the-central-limit-theorem-mt_NknG3L5rQp)

## Opens up

- [Fluctuations, Linear Response and the Fluctuation-Dissipation Relation](https://lightmysky.com/learn/science/fluctuations-linear-response-and-the-fluctuation-dissipation-relation-mt_Ibsvdyx7uP)
- [Fermi-Dirac and Bose-Einstein Statistics](https://lightmysky.com/learn/science/fermi-dirac-and-bose-einstein-statistics-mt_rU5uPV4SB8)
- [The Grand Canonical Ensemble and the Chemical Potential](https://lightmysky.com/learn/science/the-grand-canonical-ensemble-and-the-chemical-potential-mt_sdrQrWhBAF)
