Boltzmann Distribution in External Potentials
Why is the air thin at the top of a mountain but the temperature of that thin air the same, on average, as the air below? Why do the heavy molecules of a uranium centrifuge crowd toward the rim while a cloud of cold atoms in a laser trap settles into a Gaussian ball at the center? All three are the same law wearing different clothes. For classical particles in any external potential at temperature , the equilibrium number density is — the Boltzmann distribution in an external field. It is one of the cleanest and most far-reaching consequences of the canonical ensemble. The reason is separability. The single-particle energy splits as — a piece that depends only on momentum and a piece that depends only on position. The Boltzmann factor therefore factorizes, and when you integrate out the momenta to get the spatial density, the Gaussian momentum integral is the same everywhere and cancels between numerator and denominator. All the position-dependence survives as the bare configurational factor . A striking corollary: the velocity distribution at every height, every radius, every point is the identical full Maxwellian at temperature . The field does not cool the gas where the potential is high — it only thins the crowd; it does not slow the survivors. This one profile is a workhorse across physics. With it is the barometric law and the isothermal atmosphere; with it is the ultracentrifuge and isotope enrichment; with a buoyancy-corrected gravity it is Perrin's colloidal sedimentation, the 1908 experiment that measured Avogadro's number and settled the reality of atoms; with an electrostatic potential it seeds Debye-Hückel screening. The equilibrium condition behind all of them is not constant pressure but constant chemical potential: the rise in is exactly offset by the fall in .
- For classical particles in an external potential at temperature , the equilibrium density is — the Boltzmann distribution in a field.
- It follows because separates: the momentum Gaussian is position-independent and cancels, leaving the bare configurational Boltzmann factor.
- The velocity distribution is the identical Maxwellian at every point; the field changes only the local density prefactor, never the temperature.
- Special cases: gives the barometric law and scale height ; gives the centrifuge, where density increases outward; buoyancy-corrected gravity gives Perrin's sedimentation.
- Equilibrium means constant total chemical potential , not constant pressure.
- The law is exact only for a dilute, classical, single-species gas; interactions replace it with the density-functional statement .
- Key idea: because the Hamiltonian separates into kinetic and potential parts, the momentum integral factors out and cancels, so the spatial density inherits exactly the configurational Boltzmann factor — one law that becomes the atmosphere, the centrifuge, and the sedimenting colloid by choosing .
Because the single-particle Hamiltonian separates into kinetic and potential parts, the canonical distribution factorizes; the momentum integral contributes a position-independent constant that cancels, so the spatial density inherits the bare configurational Boltzmann factor — while the velocity distribution stays a uniform Maxwellian.
Where this lives today
The Boltzmann profile in a field is a daily instrument across science. In atomic physics, a thermal cloud of atoms in a harmonic optical or magnetic trap has the Gaussian density with ; measuring the cloud radius after time-of-flight expansion is the standard thermometry of ultracold gases, and the departure of the central density from this Gaussian is how experimenters detect the onset of Bose-Einstein condensation, where quantum statistics break the classical law. In separations science, the centrifugal version drives both uranium enrichment (gas centrifuges of ) and the analytical ultracentrifuge that weighs proteins and DNA by their sedimentation equilibrium. In soft-matter and colloid science, the buoyancy-corrected profile still calibrates particle sizes and interactions. And in electrochemistry and biophysics, ions in an electrostatic potential follow ; linearizing this and feeding it into Poisson's equation is the Poisson-Boltzmann (Debye-Hückel) theory of screening, the backbone of electrolyte, membrane, and colloid modeling.
The physical picture
Weight each microstate by . Two configurations that differ only by lifting one particle from height to height differ in energy by , so the raised one is less likely by exactly . The density is nothing more than the relative population of those configurations — hence the exponential fall-off. The profile is a tug-of-war: energy wants every particle at the potential minimum, entropy (the sheer volume of accessible space) wants them spread everywhere, and the Boltzmann factor is the precise truce, set by the single scale . When climbs by one , the density drops by a factor . The subtle, beautiful part is what does not change. Because the momentum integral is identical at every position, the local velocity distribution is the same Maxwellian everywhere — the sparse gas at altitude is not colder, just rarer. Equilibrium is enforced not by equal pressure (the pressure clearly falls with height) but by equal chemical potential: is constant, the increase in paid for exactly by the decrease in . This is the statement that survives interactions and quantum statistics, where the simple exponential does not.
The second figure is the punchline: it is one law, but the choice of flips its behaviour completely. Uniform gravity () makes the density fall with height; the centrifugal potential () has the opposite sign and makes the density grow outward, throwing the heavy species to the rim; a harmonic trap () peaks the density at the center as a Gaussian ball. Same exponential , three opposite profiles — the shape of the density is a direct fingerprint of the shape of the potential.
The core equations
The starting point is the single-particle canonical distribution in phase space. The key structural fact is that the energy is a sum of a momentum part and a position part, so the exponential is a product.
where: — normalized probability density in phase space; — kinetic energy; — external potential energy per particle; — single-particle partition function; . Reading it: the two factors are independent, so momentum and position statistics are decoupled — a particle's speed tells you nothing about where it sits, and vice versa. Integrating equation (1) over all momenta gives the spatial number density — the central result of the article.
where: — number density at position ; — the density at the reference point where ; — the thermal energy scale. Reading it: the density falls by a factor every time rises by . Where is negative (as in the centrifuge), the exponent is positive and the density rises — the same equation, opposite behaviour. Specialized to uniform gravity, equation (2) becomes the barometric law with an -folding scale height.
where: — mass of one molecule; — gravitational acceleration; — height; — the scale height, the distance over which the density drops by a factor . For air near the ground , which is why atmospheric pressure roughly halves every . Because , heavier molecules have a shorter scale height and settle lower. Equilibrium is expressed most deeply not by the pressure but by the constancy of the total chemical potential, the statement that survives interactions and quantum statistics.
where: — total chemical potential; — the thermal de Broglie wavelength; the constant is the same everywhere in equilibrium. Reading it: differentiating reproduces the profile for an ideal gas, and it also reproduces the hydrostatic balance .
The goal is to prove that the spatial density is exactly by starting from the full canonical phase-space distribution and integrating out the momenta, showing rigorously that the momentum integral is position-independent and therefore cancels. The strategy is to write the density as the momentum marginal of , factor the Boltzmann exponential into a momentum piece and a position piece, and observe that the momentum Gaussian in the numerator and denominator are identical Gaussians that cancel to the last decimal.
Step 1. Write the number density as the momentum marginal of the canonical distribution, normalized to particles: .
Step 2. Factor each exponential, , and pull the position factor out of the momentum integral. The numerator becomes ; the denominator becomes .
Step 3. Evaluate the momentum Gaussian: . Crucially this is a number — it has no dependence on whatsoever. Why the momentum integral cancels. Because the kinetic energy depends only on and not on , the same Gaussian factor appears in both the numerator and the denominator. It is a position-independent constant, so it divides out exactly — this is the entire content of the result, and it is why the field never touches the velocity distribution.
Step 4. Cancel the momentum integrals to obtain , equation (2). For a column of height in uniform gravity the denominator is , and holds identically — normalization confirmed. Verified: that the momentum integral is position-independent and cancels, leaving , is confirmed symbolically in verify_aq-sm-boltzmann-distribution-external-potential.py.
Go deeper · Derivation B · 1 minThe three faces of the law — gravity, centrifuge, and Perrin's sedimentation
The goal is to show that a single substitution of into equation (2) generates the barometric atmosphere, the ultracentrifuge (with density growing outward), and Perrin's colloidal sedimentation, and to extract Avogadro's number from the last. The strategy is to plug each physical potential into and read off the profile, paying close attention to the sign of the centrifugal term and to the buoyancy correction that replaces the bare mass in a fluid.
Step 1. Gravity, : equation (2) gives , the barometric law of the isothermal atmosphere with scale height . This is the uniform-gravity instance owned by the barometric-formula article; here it is one substitution into the general law.
Step 2. Centrifuge, in the rotating frame the effective potential is the centrifugal energy — note the minus sign. Then , which increases with radius. Heavier species pile up faster at large : the separation factor between masses at radius is . Why the sign flips the profile. The centrifugal potential is a potential well that deepens outward (energy decreases with ), the exact opposite of gravity's potential hill. Equation (2) faithfully turns a deepening well into a rising density — the same law, inverted by the sign of .
Step 3. Perrin's colloid: a micron-scale sphere in a fluid feels not its bare weight but its excess weight over the displaced fluid (Archimedes). Replace by the buoyancy-corrected mass , so — a microscopic atmosphere of visible spheres with a scale height of tens of micrometres.
Step 4. Solve for Avogadro's number. Since , the measured ratio gives . Every quantity — temperature, particle size (hence ), height difference, and the counted density ratio — is measurable under a microscope, which is exactly how Perrin obtained . Verified: the centrifuge profile with , the separation factor, the buoyancy-corrected mass with a tens-of-µm scale height, and , are all confirmed in the verify script.
Limiting cases
The single profile specializes cleanly, and its high- and low-temperature limits bracket every application.
| Case | Result | Meaning |
|---|---|---|
| High / weak field () | Nearly uniform; the gas barely feels the potential and fills the container. | |
| Low / strong field () | All particles collapse into the potential minimum (until quantum zero-point motion intervenes). | |
| Linear potential | , | Exponential atmosphere; for air. |
| Centrifugal | Density grows outward; basis of isotope enrichment. | |
| Harmonic trap | , | Gaussian cloud; the standard profile of trapped cold atoms. |
Worked examples
Example 1 — Perrin's sedimentation and the measurement of Avogadro's number (enumerate, apply, boundary number). Perrin (1908) suspended gamboge spheres of radius and density in water () at and counted their number density versus height under a microscope.
Step 1. Enumerate the effective mass. Buoyancy leaves only the excess weight: .
Step 2. Apply the Boltzmann profile . The sedimentation scale height is .
Step 3. Boundary number. The colloidal "atmosphere" has a scale height of — a distance easily resolved under a microscope. Inverting from the counted density ratio gives , in agreement with the modern . This is the experiment that made atoms undeniable and won Perrin the 1926 Nobel Prize.
Example 2 — Isotope enrichment in a gas centrifuge. A gas centrifuge separates (mass ) from (mass ) by spinning at rim speed at .
Step 1. In the rotating frame , so each species has and the heavier one accumulates faster at the rim.
Step 2. The single-stage separation factor at the rim is . With : .
Step 3. Boundary number. The exponent is , so per stage — a mere enrichment per pass. This tiny single-stage factor is exactly why enrichment cascades require thousands of centrifuges in series, a direct, quantitative consequence of the Boltzmann profile with a centrifugal potential.
Origins · 1 minsedimentation-diffusion equilibrium and how this was discovered
Sedimentation equilibrium is the balance between an external potential (gravity, buoyancy-corrected, or centrifugal) driving particles down and thermal diffusion spreading them out, producing the density profile . Boltzmann established the distribution of particles in a conservative field in the 1860s–70s. Jean Perrin turned it into a decisive experiment in 1908–1909: by counting micron-scale gamboge and mastic spheres at different heights under a microscope, he measured the sedimentation profile of a visible "atmosphere" and extracted Avogadro's number, confirming the molecular-kinetic theory against its skeptics and earning the 1926 Nobel Prize in Physics. The same equilibrium, spun up, is the analytical ultracentrifuge of Svedberg and the gas centrifuge of isotope enrichment.
Going further
References. Pathria & Beale, Statistical Mechanics, 3rd ed., §3.5 and §3.7 · Kardar, Statistical Physics of Particles, Ch. 4 (canonical ensemble, ideal gas) · Reif, Fundamentals of Statistical and Thermal Physics, §7.3, §7.10 (barometric formula) · Landau & Lifshitz, Statistical Physics Part 1, §38 (the Boltzmann distribution in an external field) · Sethna, Statistical Mechanics, Ch. 3.
Provenance. All equations are standard textbook results. A verifier should confirm: (i) the factorization of and the momentum-integral cancellation leaving ; (ii) the barometric formula and scale height for air at ; (iii) the centrifuge profile with density increasing outward and the isotope separation factor; (iv) the buoyancy-corrected mass giving a sedimentation scale height of tens of µm; (v) . All checks are in verify_aq-sm-boltzmann-distribution-external-potential.py. Constants: , , .
Builds on: Classical Ideal Gas · Maxwell-Boltzmann Velocity Distribution · Thermal de Broglie Wavelength Leads to: Barometric Formula · Equipartition Theorem · Virial Theorem in Statistical Mechanics · Sackur-Tetrode Equation
How is this different from the barometric formula?
The barometric formula is the special case of this law for uniform gravity, : it gives and the scale height for an isothermal atmosphere. The article you are reading owns the general law for an arbitrary external potential . Choosing recovers the atmosphere; gives the centrifuge; gives a trapped cloud; a buoyancy-corrected gravity gives Perrin's sedimentation. The barometric formula is one substitution into this general result.
Why does the momentum integral cancel so cleanly?
Because the kinetic energy depends only on momentum and not on position. When you compute the density as the fraction of particles at a given , the momentum integral appears identically in the numerator (particles at , any momentum) and in the denominator (particles anywhere, any momentum). Being a position-independent constant, it divides out exactly, leaving only the configurational factor . This same cancellation is why the velocity distribution is the identical Maxwellian everywhere — the field never touches the momenta.
Does a gas in a field have a position-dependent temperature?
No. In thermal equilibrium the temperature is uniform by definition — that is what "isothermal" means and what equilibrium enforces. What varies with position is the density, through the Boltzmann factor , not the temperature. Because the Hamiltonian separates, the velocity distribution at every point is the same full Maxwellian at the one temperature ; the sparse gas at high altitude is rarer, not colder. A real atmosphere does have a temperature gradient, but that is because it is not in true thermal equilibrium (it is convective and driven by sunlight), which is exactly why the isothermal barometric formula is only an idealization.
Why does the density increase outward in a centrifuge but decrease with height under gravity?
Because the two potentials have opposite shapes. Gravity's potential is a rising hill — energy increases with height, so the Boltzmann factor falls and the density decreases upward. The centrifugal potential in the rotating frame is , a well that deepens outward — energy decreases with radius, so the exponent is positive and the density rises toward the rim. The same law produces opposite profiles because the sign of is opposite. This is precisely why centrifuges concentrate heavy species (which feel the deeper well) at the outer wall.
Can I apply n ∝ e^{−U/kT} to a strongly interacting fluid?
Not directly. The single-particle exponent contains only the external potential ; it ignores forces between particles. For a strongly interacting fluid the correct equilibrium statement is that the total chemical potential is constant, where is the local chemical potential of the interacting fluid at density . For an ideal gas , which inverts to the simple exponential; but for a non-ideal fluid depends nonlinearly on the local density, so the profile is no longer a pure exponential. This constant-chemical-potential condition is the starting point of classical density-functional theory.
How does this connect to the Maxwell-Boltzmann velocity distribution?
They are the two halves of the same factorized canonical distribution. Writing , the momentum factor is the Maxwell-Boltzmann velocity distribution, and the position factor is the spatial density profile of this article. Because they multiply, they are statistically independent: knowing where a particle is tells you nothing about its speed. The velocity distribution is the same Maxwellian at every point in the field, while the density varies — the field acts entirely through the position factor.
Why is Perrin's experiment considered such strong evidence for atoms?
Because it turned an invisible molecular law into a visible, countable one. Before 1908 the atomic hypothesis was still contested by influential skeptics. Perrin realized that micron-scale colloidal spheres large enough to see under a microscope obey the same Boltzmann distribution as molecules — just with a buoyancy-corrected mass and a scale height of tens of micrometres instead of kilometres. By counting the spheres at different heights he measured (through ) and obtained Avogadro's number, , agreeing with values from utterly different methods. That agreement across independent routes was decisive evidence that molecules are real, discrete objects.