Virial Theorem

Research Depth 104 in the knowledge graph I know this Set as goal
Unlocks 20 downstream topics
theorem energy-relations interactions

Core Idea

The virial theorem relates the average kinetic energy ⟨K⟩ to the average potential energy ⟨V⟩ for power-law interactions V ∝ r^n: 2⟨K⟩ = n⟨V⟩. For gravity (n=−1), this gives 2⟨K⟩ + ⟨V⟩ = 0, connecting gravitational binding to temperature. For the ideal gas (no interactions), it implies the equipartition theorem.

Explainer

The virial theorem is a powerful and general result connecting the time-averaged kinetic and potential energies of a system in stable equilibrium. Its breadth is remarkable: it applies equally to a planetary system, a gas of interacting molecules, a self-gravitating star, and a galaxy cluster. From your work with the partition function, you've seen how statistical averages encode thermodynamic quantities; the virial theorem provides an energy relation at a higher level of abstraction, connecting averages without requiring the full partition function or microstate enumeration.

The classical derivation starts from Newton's second law applied to all particles and forms the time average of the quantity G = Σᵢ rᵢ · pᵢ (the "virial"). In a bounded, stable system, the time average of dG/dt is zero. Working through the algebra yields 2⟨K⟩ = −Σᵢ ⟨rᵢ · Fᵢ⟩, where the right side is the total virial of the forces. For a power-law pair potential V(r) ∝ r^n, the force scales as r^{n−1}, and the virial evaluates to n⟨V⟩, giving the compact result 2⟨K⟩ = n⟨V⟩.

The gravitational case (n = −1) has profound astrophysical consequences. The theorem gives 2⟨K⟩ = −⟨V⟩, so the total energy E = ⟨K⟩ + ⟨V⟩ = −⟨K⟩. As a self-gravitating gas cloud collapses under its own gravity, it loses total energy (half radiated away), while the kinetic energy — and hence temperature — *increases*: stars heat up as they collapse. This "gravitational thermodynamics" is deeply counterintuitive but follows directly from the virial theorem. It also means that gravitationally bound systems have negative heat capacity: adding energy causes them to cool, while removing energy causes them to heat up.

In statistical mechanics, the virial theorem is the foundation of the virial expansion for non-ideal gases: P = nk_BT(1 + B₂(T)n + B₃(T)n² + …), where each virial coefficient B_k encodes k-body interaction contributions. For the ideal gas, all B_k = 0 and the virial theorem reduces to the statement that 2⟨K⟩ = 3Nk_BT — exactly the equipartition result. The second virial coefficient B₂ for a van der Waals gas captures the competition between the attractive well and the repulsive hard core of molecular interactions, connecting microscopic pair potentials to measurable deviations from ideal gas behavior.

Practice Questions 5 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals over Rectangular RegionsDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsCenter of MassConservation of Linear MomentumElastic CollisionsInelastic CollisionsCoefficient of RestitutionCollision Analysis and Real-World ApplicationsTwo-Body Collisions in the Center-of-Mass FrameReduced Mass and Two-Body ProblemsKinematics in Two DimensionsProjectile MotionCircular Motion: KinematicsRotational KinematicsTorqueMoment of InertiaRotational Kinetic EnergyThe Work-Energy TheoremConservation of Mechanical EnergyFirst Law of ThermodynamicsThermodynamic Processes and the PV DiagramIsobaric and Isochoric ProcessesHeat EnginesThermal Efficiency of Heat EnginesRefrigerators and Heat PumpsSecond Law of ThermodynamicsEntropyMicrostates and MacrostatesEnsemble Theory FundamentalsCanonical Ensemble (NVT)Partition Function: Definition and PropertiesVirial Theorem

Longest path: 105 steps · 444 total prerequisite topics

Prerequisites (1)

Leads To (2)