For the linear-in-potential charged-scalar Lagrangian, and . With , the Hamiltonian density is
The first product includes after the Legendre transform; that term can arise in canonical variables even though the original Lagrangian has no interaction quadratic in .
Although the energy in velocities is , the Hamiltonian in canonical variables is
The field therefore enters Hamilton's equations through the relation between canonical and mechanical momentum, even though a magnetic field does no work.
Canonical quantization 2026-10-05
Canonical quantization promotes canonical variables to operators and their Poisson brackets to canonical commutation relations. Composite observables require an ordering prescription, and quantum anomalies can modify their algebra.
Equipartition theorem Created 2026-09-24 Updated 2026-10-20
The equipartition theorem says that each independent quadratic term in a Hamiltonian described by classical mechanics has mean energy in a canonical ensemble. Here is the Boltzmann constant and the absolute temperature. Count terms in the energy, rather than vaguely counting everything that can move: one harmonic oscillator has one position degree of freedom but TWO quadratic terms, one in momentum and one in displacement.
A precise sufficient setting is with , where is one of the canonical variables, denotes all remaining variables, and the phase space integration measure factors as . The range of is the whole real line, independently of ; there is no constraint coupling its allowed values to other variables. The partition function must be finite, and the relevant expected values must exist. The Boltzmann factor then gives
The probability density function is a normal distribution with variance . A larger coefficient narrows the fluctuations enough to cancel its greater energy cost. This is why the mean contribution is independent of mass or spring constant.[ref]
For a proof outline, the one-variable Gaussian integral is , so . More generally, integration by parts in a canonical variable gives when its boundary term vanishes and the integrals converge. For this is twice its mean energy. At a finite hard boundary the boundary term need not vanish; hard-wall correction to harmonic equipartition illustrates the resulting departure. A constraint, a nonquadratic potential energy, or a noncanonical integration measure therefore requires its own calculation. The theorem is an ensemble average, not equality of instantaneous energies, and applying it to a recorded trajectory requires equilibration and sufficient sampling.
For a classical one-dimensional harmonic oscillator, with positive mass and spring constant ,
The origin is the equilibrium position. Its heat capacity is at fixed , not . Although the two mean energies agree, their measured amplitudes do not: and . In a harmonic optical trap, the position measurement observes the potential energy contribution; it does not measure both contributions by observing alone.[ref]
For particles in a three-dimensional classical monatomic gas, neglect interactions and thermally accessible internal excitations. Its three translational momentum terms give internal energy , heat capacity at constant volume , and heat capacity at constant pressure . Per mole, replace by the molar gas constant . For example, using stipulated , the molar heat capacity at fixed volume is . These results assume a dilute, nonrelativistic ideal gas with classical translational statistics, rather than a quantum degeneracy regime.
For an ideal gas of diatomic molecules, modeled as two chemical atoms with a bond, there are three translational quadratic terms, two accessible rotational kinetic energy terms for changes of bond orientation, and one bond-stretching harmonic oscillator with two quadratic terms. Rotation about the bond axis is not an additional active mode in this linear-molecule model. The three familiar limits of heat capacity at constant volume are
Corresponding molar heat capacities are , and . Counting the stretching harmonic oscillator only once as would give the wrong last value.[ref]
The frozen regimes require quantum mechanics. In the simple molecular rotation model, with state degeneracy , , and moment of inertia . For the bond-stretching quantum harmonic oscillator, with angular frequency and from the Planck constant. When , the three limits above correspond to , , and , provided translational motion remains classical. They are smooth crossovers, not abrupt switches. Real molecules can have different allowed rotational populations; at high temperature, thermal dissociation, internal excitations and nonharmonic bond motion can invalidate the fixed-molecule model before its last limit is reached.[ref]
For a quantum harmonic oscillator with fixed , put . Its exact mean energy and heat capacity are
At , the mean energy approaches and approaches . At , thermal excitation is exponentially suppressed and tends to zero, although the zero-point energy survives. Frozen thus means little thermal response, not zero motion or zero energy.[ref]
Figure 1. . Original computed equilibrium curves, not measured gas data. Left: approaches its classical value 1 as grows. Right: for stipulated . The rotational partition function is with every nonnegative integer allowed; is the variance of divided by . No molecular nuclear-spin restrictions, thermal dissociation or nonharmonic effects are modeled. Horizontal guides mark the three limiting values, not exact plateaus at finite temperature. Details.
A motivating measurement is thermal calibration of an optical trap. A focused laser through a microscope objective confines a bead in water; imaging or a quadrant photodetector records a position time series. Gieseler and colleagues describe a polystyrene bead of radius at , a trapping laser, and photodetector acquisition at . Their recorded bead continues undergoing Brownian motion; higher trapping power produces a narrower equilibrium position distribution. Infer the centered variance, not a squared distance from an arbitrary camera origin:
The normal distribution position histogram and agreement with dynamical calibration methods support the local harmonic optical trap interpretation. For a stipulated example, and imply . This calculated scale is not an experimental reading.[ref]
Position calibration is essential: if detector output has conversion , its physical variance is . An unknown scale cannot be determined together with from that one variance. A complementary calibration demonstrated by Tolić-Nørrelykke and colleagues combines the power spectrum of thermal motion with the bead response to known sinusoidal motion of a translation stage. The driven response supplies an additional length scale, and their method does not require bead size, liquid dynamic viscosity or wall distance as inputs. It still uses a thermal dynamical model; agreement between methods is a consistency check, not a theory-free proof of equipartition theorem.[ref]
The readout itself can hide fluctuations. Wong and Halvorsen used a optical trap and adjustable-exposure CCD imaging of a bead in water. They varied exposure and trapping power, held the bead away from the nearest wall, adjusted illumination to maintain comparable images, and measured tracking noise using a stuck bead. The measured variance fell as exposure increased; corrected results agreed with their time-averaging model. For a stationary overdamped harmonic optical trap, with optical trap relaxation time , an exposure of length measures . Its ideal noise-free variance is
For , : using the blurred variance in the uncorrected formula overestimates by . At , the calculated factor is . Additive tracking noise instead raises the measured variance and biases the inferred downward if left uncorrected.[ref]
Figure 2.
Equal mean quadratic energies with unequal fluctuations, and exposure-biased readout
. Original analytic models, not bead trajectories or measured curves. Left: equal-energy contours in scaled phase space, with , and , for . Increasing stiffness narrows position fluctuations but leaves both mean quadratic contributions equal to . Right: the exact noise-free exposure reduction ; at , and naive inferred stiffness is times true stiffness. The exposure calculation assumes stationary overdamped harmonic Brownian motion and uniform averaging. Details.
Useful controls are to record over many optical trap relaxation times, compare blocks for drift, calibrate the position scale, measure fixed-bead noise, vary exposure, and check the position histogram for departures from a normal distribution. A sparse sequence of accurate instantaneous positions can estimate an equilibrium variance; a long exposure averages away motion even if many frames are collected. Flow, appreciable laser heating, escape from the harmonic region or nonconservative forces can break the assumed thermal equilibrium. Inferring by imposing equipartition theorem is a calibration, whereas testing the relation requires an independently established stiffness and position scale. The beautiful practical connection is that microscopic randomness can set a force scale: once calibrated, a small constant applied force displaces the mean by . The same quadratic-term counting predicts macroscopic heat capacity and makes microscopic fluctuations useful measurements.
Use , transverse coordinates , , and the Minkowski metric
The relativistic particle phase-space action becomes
In the light cone gauge , solve the mass-shell condition for , assuming . The reduced phase-space action is , with
The last equality selects the future-directed momentum sector and makes positivity transparent. With and , the Schrödinger equation is
The inverse acts only on Fourier modes with nonzero . Multiplication by gives . Therefore
The light-cone Hamiltonian thus gives the same Klein-Gordon equation as covariant quantization.
For the massive two-form field, take . Apply to its field equation. Antisymmetry of makes , so
Expanding , the other divergence terms vanish by this condition, leaving . The light-cone decomposition of a massive two-form makes its dependent components explicit. The divergence equation is
Taking and , respectively, gives
The equation follows from these expressions: the two terms containing cancel and . Consequently and are independent, each satisfying the Klein-Gordon equation with mass . The number of independent particle polarizations is
This is the exterior square of the vector representation of the massive little group . In the analogous Proca equation, determines from and , leaving components. A massive field has no gauge freedom that would justify setting these longitudinal components to zero. If , instead use the two-form gauge field symmetry : the light-cone gauge for a two-form removes , leaving transverse particle polarizations. The massive and massless counts are different.
In the closed-string mode expansion, are center-of-mass canonical variables, while are independent left- and right-moving transverse string oscillators. Their complex conjugates are . The two zero-mode Lagrange multipliers impose the remaining mass-shell condition and closed-string level matching. The string level operators are
Their quantum definitions use normal ordering. The symplectic terms in the phase-space action give
with all brackets between distinct sectors zero. The nonzero-index string oscillators obey and similarly for the right-moving sector. Define the momentum-labelled oscillator vacuum by
For , has . Hence
Starting with , a finite product with creation operators of mode has eigenvalue . The Fock space is generated by these products; both level operators have nonnegative integer eigenvalues. This establishes the integer string oscillator level property. Subtracting their physical zero-mode constraints enforces .
There is a distinction between the displayed classical zero modes and their quantum constraints. With the normal-ordering constant of a string , these are
At the massless first closed-string level, the states are
Their transverse polarization tensor splits into a symmetric trace-free part, an antisymmetric part, and its trace. These are the graviton, Kalb–Ramond field, and dilaton, with respective particle polarization counts , , and one. They have the transverse little group representations of massless particles. In a Lorentz-consistent bosonic string theory, the first chiral level is a massless vector, not a massive vector with one missing physical polarization; the closed-string products are therefore massless. This fixes . Equivalently, regularized transverse zero-point energy gives , and Lorentz consistency fixes the critical dimension of the bosonic string .
It follows that the bosonic string mass spectrum is
The ground state has and is a tachyon; level one is massless; for the mass is . The masslessness claim uses the consistent quantum theory, rather than an unshifted reading of the classical .
A massive two-form at closed-string level two is present. To see it without confusing it with the level-one massless Kalb–Ramond field, the level-two states in one chiral sector are
They have components and assemble into the symmetric traceless square of the massive little group vector space . The full closed-string level is . For two symmetric trace-free matrices , the map
is an equivariant map onto antisymmetric matrices. To verify surjectivity, take diagonal with distinct entries in positions and with only its symmetric entry nonzero. Their commutator gives the antisymmetric basis element. Finite-dimensional representations of the compact little group are completely reducible, so this quotient representation is also a subrepresentation. It has exactly particle polarizations and is described by the massive field equation with . At this gives 300 particle polarizations, consisting in light-cone coordinates of 24 components and 276 components .
Use the Minkowski metric and units with speed of light one. The contractions are and ; and pair a vector with a covector without another metric. The Lagrange multipliers impose the two first-class constraints
They generate worldsheet diffeomorphisms, so the phase space contains both constrained directions and gauge redundancy. Two first-class constraints remove two canonical pairs, leaving physical degrees of freedom per point.
In Monge gauge, and . Write the transverse canonical variables as and . Solving the first-class constraints gives
The negative root selects positive energy. Substitution into the phase-space action gives the Hamiltonian reduction
For a static segment, , its proper length element is , and . Thus the string tension is the rest energy per unit proper length. In particular a straight resting segment has . Monge gauge is a local choice on a string embedding map for which is a valid coordinate; it need not cover folded strings or all endpoint configurations.
For covariant quantization of the bosonic string,
All other commutators between independent canonical variables vanish. The covariant Fock vacuum obeys for every and every . Normal ordering moves these annihilating string oscillators to the right and gives
Then . Its commutator grades a Fock state basis by , although its inner product is indefinite because of the timelike oscillator.
The quantum Virasoro algebra has central charge :
The Virasoro central extension comes from commutators needed to order infinite oscillator sums; it is a quantum effect absent from the classical Poisson brackets. Replacing a classical Poisson bracket by a commutator cannot recover that term without a regularized ordering calculation.
If a state were annihilated by every nonzero , the commutator would imply . The commutator would then imply . For , only the zero vector is annihilated by all nonzero Virasoro constraints. This explains why only positive modes annihilate a physical string state.
The vacuum is a physical string state when . At level one all states have the form . Since , the positive-mode Virasoro constraints give
Thus the complete level-one conditions and norm are
with the common vacuum normalization suppressed.
For , choose spacelike momentum , . A purely timelike polarization has and norm . Hence a negative-norm physical string state exists when .
For , the mass-shell condition gives . In a rest frame, forces , leaving positive-norm vector-particle polarizations, those of a massive vector.
For and nonzero null momentum, leaves a null direction . The corresponding null string state is . It is orthogonal to every physical string state because annihilates them. Quotienting by this gauge redundancy, , leaves positive vector-particle polarizations. Thus the level-one spectrum agrees with light-cone gauge in string theory at . This level-one argument alone does not establish consistency or absence of negative norms at all higher levels.
The real canonical variables describe the center-of-mass position and total momentum of the open string. The nonzero string oscillators are complex Fourier modes with ; the Lagrange multipliers obey . The Virasoro constraints satisfy , so the multiplier term is real.
For each , the oscillator kinetic term differs from the manifestly real expression
by . Thus the written action is real up to a boundary term, which does not change its symplectic form or bulk dynamics. Adding the corresponding endpoint term makes reality exact.
The independent nonzero Poisson brackets are
All brackets between these independent center-of-mass and oscillator variables vanish. The dependent zero mode is , so, if it is used, .
The Fourier coefficients of the Virasoro constraints are
Their Poisson brackets are
They form the classical Witt algebra, with no Virasoro central extension. In particular they are first-class constraints, closing on the constraint surface, and generate the remaining worldsheet diffeomorphisms rather than independent physical excitations.
The Jacobi identity for the Poisson bracket implies
For first-class constraints with linearly independent differentials this gives , the Jacobi identity for the structure constants of the constraint algebra. Independence is an implicit assumption: for constraints obeying identities or vanishing identically, only the contracted identity follows, and arbitrary coefficients multiplying such constraints need not satisfy a Lie algebra identity.
With and , the canonical variables transform as
To fix the sign convention, vary the phase-space action directly:
Thus action invariance requires . For , the Faddeev-Popov determinant is that of
Using anticommuting Faddeev-Popov ghost fields, the invariant-convention result is
The original PDF has a sign error in the stated multiplier transformation; the TeX transcription has the consistent plus sign. Keeping the PDF's displayed minus sign mechanically would instead give . That expression exponentiates the determinant of the printed transformation, but that transformation does not preserve the stated action with the canonical convention above. It cannot be used as the invariant result without changing another convention consistently.
As for the particle, constant multiplier moduli and any residual zero mode in field theory must be handled separately; the constant gauge fixing is understood locally on the gauge orbit.
The canonical momenta are
The Legendre transform cancels the velocity-linear magnetic term, giving the energy expressed in velocities,
But Hamilton's equations differentiate with respect to canonical coordinates and momenta, not velocities. In its proper canonical variables the same Hamiltonian is
It explicitly contains because canonical angular momentum differs from mechanical angular momentum. This reconciles magnetic forces with the absence of magnetic work: the magnetic field can exchange radial and tangential motion without changing the total mechanical energy.
Treat and as independent fields, keep as the prescribed background, and use the source's interaction with no added term. The momentum derivatives are
Varying and gives respectively
No Lorenz gauge condition has been assumed. The background divergence term must be retained unless such a condition is separately imposed.
The canonical momenta conjugate to the two scalar fields are
so and . Define the physical three-vector potential by . The Legendre transform in the proper canonical variables is
Equivalently the first product is . The last quadratic term arises from replacing velocities by canonical momenta even though the original Lagrangian has no quadratic interaction. It is not permission to modify the specified Lagrangian. An explicitly time-dependent background generally makes the scalar-field energy time dependent.
Canonical probabilities. A canonical ensemble describes a system of fixed particle number and fixed external parameters such as volume, weakly coupled to a much larger thermal reservoir. They exchange energy and reach thermal equilibrium, while the reservoir's temperature stays effectively constant. The interaction energy is negligible in the state counting. The combined isolated system is described by equal probabilities for its accessible microstates.
If its total energy is , the probability of a particular system microstate is proportional to the reservoir multiplicity at . Writing that multiplicity as , expand its entropy:
The large-reservoir limit suppresses the higher terms. Normalization therefore gives
The sum counts individual microstates; when grouping them by energy, their state degeneracies must be included. This is the canonical partition function.
Classical orientational heat capacity. Hold the magnetic field fixed. Orientations of the magnetic dipole moment have the solid angle measure . With , the angular partition function is
Choosing a normalized angular measure would remove , with no effect on the energy derivatives. Differentiating at fixed ,
The angular average is the Langevin function. Since ,
This is the heat capacity of a classical magnetic dipole, in for one magnetic moment. The word specific here refers to that single moment; independent magnetic moments have times this heat capacity. At the energy is independent of orientation and , obtained by the continuous limit. At fixed nonzero , the classical low-temperature limit instead gives .
Equipartition and its proof. The equipartition theorem states that an independent quadratic term in a classical Hamiltonian, with , contributes to its mean energy. One needs a canonical measure that factors as times the measure of the remaining variables, convergence of the integrals, and vanishing boundary terms. The coordinate must not be restricted by a thermally important hard boundary or a coupled constraint.
For , integration by parts gives
Integrate over all other variables and divide by . It follows that
The same reasoning applies to quadratic momenta among the canonical variables. It is the number of quadratic energy contributions that is counted, not an unrestricted count of coordinate labels.
Two soft orientational directions. When , the moment is concentrated near alignment. Introduce local Cartesian coordinates in the tangent plane and . To leading order,
The two quadratic terms each contribute , so
This agrees with the exact angular calculation. Treating alone as one Cartesian quadratic variable would miss the measure and the second tangent direction. There are no extra rotational kinetic terms in the stipulated Hamiltonian; adding such terms would be a different model.
Quantum spin one. The spin projections are , with . Put , where is the gyromagnetic ratio. The three energies are , irrespective of the sign of . Relative to the ground state they are . Thus, with ,
Differentiation, or the canonical energy fluctuation identity , gives
In the requested limit,
This spin-1 paramagnet has a nondegenerate ground state and a finite spectral gap. Excitations are exponentially rare, so its heat capacity tends to zero. Classical orientational equipartition assumed a continuum of arbitrarily small excitation energies; that assumption fails when . This is a change in the accessible state spectrum, not a violation of the equipartition theorem within its classical domain.
Phase-space action Created 2026-10-05 Updated 2026-10-06
A phase-space action treats canonical variables as independent fields. Varying them gives Hamilton's equations; Lagrange multipliers can impose constraints.