virial theorem

Uses your system voice; voice and rate in settings.

Q620602Snapshot

≈ 24 min read

Names in other languages

  • PolskiTwierdzenie o wiriale
  • Françaisthéorème du viriel
  • PortuguêsTeorema do virial
  • Englishvirial theorem
  • 한국어비리얼 정리
  • Русскийвириал
  • 简体中文维里定理
  • 繁體中文維里定理
  • 中文維里定理

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In mechanics, the virial theorem provides a general equation that relates the average over time of the total kinetic energy of a stable system of discrete particles, bound by a conservative force, with that of the total potential energy of the system.

Mathematically, the theorem states that \langle T \rangle = -\frac12\,\sum_{k=1}^N \langle\mathbf{F}_k \cdot \mathbf{r}_k\rangle, where T is the total kinetic energy of the N particles, F_k represents the force on the k th particle, which is located at position , and angle brackets represent the average over time of the enclosed quantity. The word virial for the right-hand side of the equation derives from , the Latin word for "force" or "energy", and was given its technical definition by Rudolf Clausius in 1870.

The significance of the virial theorem is that it allows the average total kinetic energy to be calculated even for very complicated systems that defy an exact solution, such as those considered in statistical mechanics; this average total kinetic energy is related to the temperature of the system by the equipartition theorem. However, the virial theorem does not depend on the notion of temperature and holds even for systems that are not in thermal equilibrium. The virial theorem has been generalized in various ways, most notably to a tensor form.…

In mechanics, the virial theorem provides a general equation that relates the average over time of the total kinetic energy of a stable system of discrete particles, bound by a conservative force, with that of the total potential energy of the system.

Mathematically, the theorem states that \langle T \rangle = -\frac12\,\sum_{k=1}^N \langle\mathbf{F}_k \cdot \mathbf{r}_k\rangle, where T is the total kinetic energy of the N particles, F_k represents the force on the k th particle, which is located at position , and angle brackets represent the average over time of the enclosed quantity. The word virial for the right-hand side of the equation derives from , the Latin word for "force" or "energy", and was given its technical definition by Rudolf Clausius in 1870.

The significance of the virial theorem is that it allows the average total kinetic energy to be calculated even for very complicated systems that defy an exact solution, such as those considered in statistical mechanics; this average total kinetic energy is related to the temperature of the system by the equipartition theorem. However, the virial theorem does not depend on the notion of temperature and holds even for systems that are not in thermal equilibrium. The virial theorem has been generalized in various ways, most notably to a tensor form.

If the force between any two particles of the system results from a potential energy V(r)=\alpha r^n that is proportional to some power n of the interparticle distance r , the virial theorem takes the simple form 2 \langle T \rangle = n \langle V_\text{TOT} \rangle. Thus, twice the average total kinetic energy \langle T\rangle equals n times the average total potential energy \langle V_\text{TOT}\rangle .

Whereas V(r) represents the potential energy between two particles separated by distance r , V_\text{TOT} represents the total potential energy of the system, i.e., the sum of the potential energy V(r) over all pairs of particles in the system. A common example of such a system is a star held together by its own gravity, where n=-1 . Consider N=2 particles with equal mass m , acted upon by mutually attractive forces. Suppose the particles are at diametrically opposite points of a circular orbit with radius r .

The velocities are \mathbf{v}_1(t) and \mathbf{v}_2(t)=-\mathbf{v}_1(t) , which are normal to forces \mathbf{F}_1(t) and \mathbf{F}_2(t)=-\mathbf{F}_1(t) . The respective magnitudes are fixed at v and F . The average kinetic energy of the system in an interval of time from t_1 to t_2 is \langle T \rangle = \frac{1}{t_2 - t_1} \int_{t_1}^{t_2} \sum_{k=1}^N \frac12 m_k |\mathbf{v}_k(t)|^2 \,dt = \frac{1}{t_2 - t_1} \int_{t_1}^{t_2} \left( \frac12 m|\mathbf{v}_1(t)|^2 + \frac12 m|\mathbf{v}_2(t)|^2 \right) \,dt = mv^2.

Background

Taking center of mass as the origin, the particles have positions \mathbf{r}_1(t) and \mathbf{r}_2(t)=-\mathbf{r}_1(t) with fixed magnitude r . The attractive forces act in opposite directions as positions, so \mathbf F_1(t) \cdot \mathbf r_1(t) = \mathbf F_2(t) \mathbf r_2(t) = -Fr . Applying the centripetal force formula F=mv^2/r results in -\frac12 \sum_{k=1}^N \langle \mathbf{F}_k \cdot \mathbf{r}_k \rangle = -\frac12(-Fr - Fr) = Fr = \frac{mv^2}{r} \cdot r = mv^2 = \langle T \rangle, as required.

Note: If the origin is displaced, then we'd obtain the same result. This is because the dot product of the displacement with equal and opposite forces \mathbf{F}_1(t) , \mathbf{F}_2(t) results in net cancellation. I = \sum_{k=1}^N m_k |\mathbf{r}_k|^2 = \sum_{k=1}^N m_k r_k^2, where m_k and \mathbf{r}_k represent the mass and position of the k th particle and r_k=|\mathbf{r}_k| is the position vector magnitude. Consider the scalar G = \sum_{k=1}^N \mathbf{p}_k \cdot \mathbf{r}_k, where \mathbf{p}_k is the momentum vector of the k th particle.

Assuming that the masses are constant, G is one-half the time derivative of this moment of inertia: \begin{align} \frac12 \frac{dI}{dt} &= \frac12 \frac{d}{dt} \sum_{k=1}^N m_k \mathbf{r}_k \cdot \mathbf{r}_k \\ &= \sum_{k=1}^N m_k \, \frac{d\mathbf{r}_k}{dt} \cdot \mathbf{r}_k \\ &= \sum_{k=1}^N \mathbf{p}_k \cdot \mathbf{r}_k = G. \end{align} In turn, the time derivative of G is \begin{align} \frac{dG}{dt} &= \sum_{k=1}^N \mathbf{p}_k \cdot \frac{d\mathbf{r}_k}{dt} + \sum_{k=1}^N \frac{d\mathbf{p}_k}{dt} \cdot \mathbf{r}_k \\ &= \sum_{k=1}^N m_k \frac{d\mathbf{r}_k}{dt} \cdot \frac{d\mathbf{r}_k}{dt} + \sum_{k=1}^N \mathbf{F}_k \cdot \mathbf{r}_k \\ &= 2 T + \sum_{k=1}^N \mathbf{F}_k \cdot \mathbf{r}_k, \end{align} where m_k is the mass of the k th particle, \mathbf{F}_k=\frac{d\mathbf{p}_k}{dt} is the net force on that particle, and T is the total kinetic energy of the system according to the \mathbf{v}_k=\frac{d\mathbf{r}_k}{dt} velocity of each particle, T = \frac12 \sum_{k=1}^N m_k v_k^2 = \frac12 \sum_{k=1}^N m_k \frac{d\mathbf{r}_k}{dt} \cdot \frac{d\mathbf{r}_k}{dt}. \mathbf{F}_k = \sum_{j=1}^N \mathbf{F}_{jk}, where \mathbf{F}_{jk} is the force applied by particle j on particle k .

Hence, the virial can be written as -\frac12\,\sum_{k=1}^N \mathbf{F}_k \cdot \mathbf{r}_k = -\frac12\,\sum_{k=1}^N \sum_{j=1}^N \mathbf{F}_{jk} \cdot \mathbf{r}_k.

Since no particle acts on itself (i.e., \mathbf{F}_{jj}=0 for 1\leq j\leq N ), we split the sum in terms below and above this diagonal and add them together in pairs: \begin{align} \sum_{k=1}^N \mathbf{F}_k \cdot \mathbf{r}_k &= \sum_{k=1}^N \sum_{j=1}^N \mathbf{F}_{jk} \cdot \mathbf{r}_k = \sum_{k=2}^N \sum_{j=1}^{k-1} \mathbf{F}_{jk} \cdot \mathbf{r}_k + \sum_{k=1}^{N-1} \sum_{j=k+1}^{N} \mathbf{F}_{jk} \cdot \mathbf{r}_k \\ &= \sum_{k=2}^N \sum_{j=1}^{k-1} \mathbf{F}_{jk} \cdot \mathbf{r}_k + \sum_{j=2}^N \sum_{k=1}^{j-1} \mathbf{F}_{jk} \cdot \mathbf{r}_k = \sum_{k=2}^N \sum_{j=1}^{k-1} (\mathbf{F}_{jk} \cdot \mathbf{r}_k + \mathbf{F}_{kj} \cdot \mathbf{r}_j) \\ &= \sum_{k=2}^N \sum_{j=1}^{k-1} (\mathbf{F}_{jk} \cdot \mathbf{r}_k - \mathbf{F}_{jk} \cdot \mathbf{r}_j) = \sum_{k=2}^N \sum_{j=1}^{k-1} \mathbf{F}_{jk} \cdot (\mathbf{r}_k - \mathbf{r}_j), \end{align} where we have used Newton's third law of motion, i.e., \mathbf{F}_{jk}=-\mathbf{F}_{kj} (equal and opposite reaction).

It often happens that the forces can be derived from a potential energy V_{jk} that is a function only of the distance r_{jk} between the point particles j and k .

Since the force is the negative gradient of the potential energy, we have in this case \mathbf{F}_{jk} = -\nabla_{\mathbf{r}_k} V_{jk} = -\frac{dV_{jk}}{dr_{jk}} \left(\frac{\mathbf{r}_k - \mathbf{r}_j}{r_{jk}}\right), which is equal and opposite to \mathbf{F}_{kj}=-\nabla_{\mathbf{r}_j}V_{kj}=-\nabla_{\mathbf{r}_j}V_{jk} , the force applied by particle k on particle j , as may be confirmed by explicit calculation.

Hence, \begin{align} \sum_{k=1}^N \mathbf{F}_k \cdot \mathbf{r}_k &= \sum_{k=2}^N \sum_{j=1}^{k-1} \mathbf{F}_{jk} \cdot (\mathbf{r}_k - \mathbf{r}_j) \\ &= -\sum_{k=2}^N \sum_{j=1}^{k-1} \frac{dV_{jk}}{dr_{jk}} \frac{|\mathbf{r}_k - \mathbf{r}_j|^2}{r_{jk}} \\ & =-\sum_{k=2}^N \sum_{j=1}^{k-1} \frac{dV_{jk}}{dr_{jk}} r_{jk}. \end{align} Thus \frac{dG}{dt} = 2 T + \sum_{k=1}^N \mathbf{F}_k \cdot \mathbf{r}_k = 2 T - \sum_{k=2}^N \sum_{j=1}^{k-1} \frac{dV_{jk}}{dr_{jk}} r_{jk}.

V_{jk} = \alpha r_{jk}^n, where the coefficient \alpha and the exponent n are constants. In such cases, the virial is \begin{align} -\frac12\,\sum_{k=1}^N \mathbf{F}_k \cdot \mathbf{r}_k &= \frac12\,\sum_{k=1}^N \sum_{j where V_\text{TOT} = \sum_{k=1}^N \sum_{j is the total potential energy of the system. Thus \frac{dG}{dt} = 2 T + \sum_{k=1}^N \mathbf{F}_k \cdot \mathbf{r}_k = 2 T - n V_\text{TOT}.

For gravitating systems the exponent n=-1 , giving Lagrange's identity \frac{dG}{dt} = \frac12 \frac{d^2 I}{dt^2} = 2 T + V_\text{TOT}, which was derived by Joseph-Louis Lagrange and extended by Carl Jacobi. \left\langle \frac{dG}{dt} \right\rangle_\tau = \frac{1}{\tau} \int_0^\tau \frac{dG}{dt} \,dt = \frac{1}{\tau} \int_{G(0)}^{G(\tau)} \,dG = \frac{G(\tau) - G(0)}{\tau}, from which we obtain the exact equation \left\langle \frac{dG}{dt} \right\rangle_\tau = 2 \langle T \rangle_\tau + \sum_{k=1}^N \langle \mathbf{F}_k \cdot \mathbf{r}_k \rangle_\tau.

The virial theorem states that if \langle dG/dt\rangle_\tau=0 , then 2 \langle T \rangle_\tau = -\sum_{k=1}^N \langle \mathbf{F}_k \cdot \mathbf{r}_k \rangle_\tau. There are many reasons why the average of the time derivative might vanish. One often-cited reason applies to stably bound systems, that is, to systems that hang together forever and whose parameters are finite.

In this case, velocities and coordinates of the particles of the system have upper and lower limits, so that G^{\text{bound}} is bounded between two extremes, G_{\text{min}} and G_{\text{max}} , and the average goes to zero in the limit of infinite \tau : \lim_{\tau \to \infty} \left| \left\langle \frac{dG^{\text{bound}}}{dt} \right\rangle_\tau \right| = \lim_{\tau \to \infty} \left| \frac{G(\tau) - G(0)}{\tau} \right| \le \lim_{\tau \to \infty} \frac{G_\max - G_\min}{\tau} = 0.

Even if the average of the time derivative of G is only approximately zero, the virial theorem holds to the same degree of approximation. For power-law forces with an exponent n , the general equation holds: \langle T \rangle_\tau = -\frac12 \sum_{k=1}^N \langle \mathbf{F}_k \cdot \mathbf{r}_k \rangle_\tau = \frac{n}{2} \langle V_\text{TOT} \rangle_\tau. For gravitational attraction, n=-1 , and the average kinetic energy equals half of the average negative potential energy: \langle T \rangle_\tau = -\frac12 \langle V_\text{TOT} \rangle_\tau.

Impact

This general result is useful for complex gravitating systems such as planetary systems or galaxies. A simple application of the virial theorem concerns galaxy clusters. If a region of space is unusually full of galaxies, it is safe to assume that they have been together for a long time, and the virial theorem can be applied. Doppler effect measurements give lower bounds for their relative velocities, and the virial theorem gives a lower bound for the total mass of the cluster, including any dark matter.

If the ergodic hypothesis holds for the system under consideration, the averaging need not be taken over time; an ensemble average can also be taken, with equivalent results. H = V\bigl(\{X_i\}\bigr) + \sum_n \frac{P_n^2}{2m_n} with the position operator X_n and the momentum operator P_n = -i\hbar \frac{d}{dX_n} of particle n , [H, X_n P_n] = X_n [H, P_n] + [H, X_n] P_n = i\hbar X_n \frac{dV}{dX_n} - i\hbar\frac{P_n^2}{m_n}.

Summing over all particles, one finds that for Q = \sum_n X_n P_n the commutator is \frac{i}{\hbar} [H, Q] = 2 T - \sum_n X_n \frac{dV}{dX_n}, where T = \sum_n P_n^2/2m_n is the kinetic energy. The left-hand side of this equation is just dQ/dt , according to the Heisenberg equation of motion. The expectation value \langle dQ/dt\rangle of this time derivative vanishes in a stationary state, leading to the quantum virial theorem: 2\langle T\rangle = \sum_n \left\langle X_n \frac{dV}{dX_n}\right\rangle.

Let g(s) be continuous and real-valued, with g(0) = 0 . Denote G(s) = \int_0^s g(t)\,dt . Let u \in L^\infty_{\text{loc}}(\R^n), \quad \nabla u \in L^2(\R^n), \quad G(u(\cdot)) \in L^1(\R^n), \quad n \in \N be a solution to the equation -\nabla^2 u = g(u), in the sense of distributions. Then u satisfies the relation \left(\frac{n - 2}{2}\right) \int_{\R^n} |\nabla u(x)|^2 \,dx = n \int_{\R^n} G\big(u(x)\big) \,dx. T=\frac{1}{2}\mathbf{p}\cdot \mathbf{v} .

Instead, it is true that T=(\gamma-1)mc^2 , where \gamma is the Lorentz factor \gamma = \frac{1}{\sqrt{1 - \frac{v^2}{c^2}}}, and defining \mathbf\beta = \frac{\mathbf{v}}{c} , we have \begin{align} \frac 12 \mathbf{p} \cdot \mathbf{v} &= \frac 12 \boldsymbol{\beta} \gamma mc \cdot \boldsymbol{\beta} c \\ &= \frac 12 \gamma \beta^2 mc^2 \\[5pt] &= \left(\frac{\gamma \beta^2}{2(\gamma - 1)}\right) T. \end{align} The last expression can be simplified to \left(\frac{1 + \sqrt{1 - \beta^2}}{2}\right) T = \left(\frac{\gamma + 1}{2 \gamma}\right) T.

Thus, under the conditions described in earlier sections (including Newton's third law of motion, \mathbf{F}_{jk} = -\mathbf{F}_{kj} , despite relativity), the time average for N particles with a power law potential is \frac{n}{2} \left\langle V_\text{TOT} \right\rangle_\tau = \left\langle \sum_{k=1}^N \left(\tfrac{1 + \sqrt{1 - \beta_k^2}}{2}\right) T_k \right\rangle_\tau = \left\langle \sum_{k=1}^N \left(\frac{\gamma_k + 1}{2 \gamma_k}\right) T_k \right\rangle_\tau.

Evidence and sources

In particular, the ratio of kinetic energy to potential energy is no longer fixed, but necessarily falls into an interval: \frac{2 \langle T_\text{TOT} \rangle}{n \langle V_\text{TOT} \rangle} \in [1, 2], where the more relativistic systems exhibit the larger ratios. It can also be used to study motion in a central potential. If the central potential is of the form U \propto r^n , the virial theorem simplifies to \langle T \rangle= \frac{n}{2} \langle U \rangle .

In particular, for gravitational or electrostatic (Coulomb) attraction, \langle T \rangle= -\frac{1}2 \langle U \rangle . m \underbrace{\frac{d^2x}{dt^2}}_{\text{acceleration}} = \underbrace{-kx \vphantom{\frac dd}}_\text{spring}\ \underbrace{-\ \gamma \frac{dx}{dt}}_\text{friction}\ \underbrace{+\ F\cos(\omega t) \vphantom{\frac dd}}_\text{external driving}. When the oscillator has reached a steady state, it performs a stable oscillation x = X\cos(\omega t + \varphi) , where X is the amplitude, and \varphi is the phase angle.

Applying the virial theorem, we have m \langle \dot x \dot x \rangle = k\langle xx \rangle + \gamma \langle x\dot x \rangle - F \langle \cos(\omega t) x \rangle , which simplifies to F\cos(\varphi) = m(\omega_0^2 - \omega^2)X , where \omega_0 = \sqrt{k/m} is the natural frequency of the oscillator. To solve the two unknowns, we need another equation.

In steady state, the power lost per cycle is equal to the power gained per cycle: \underbrace{\langle \dot x \, \gamma \dot x\rangle}_\text{power dissipated} = \underbrace{\langle \dot x \, F \cos \omega t \rangle}_\text{power input}, which simplifies to \sin \varphi = -\frac{\gamma X \omega}{F} .

Now we have two equations that yield the solution \begin{cases} X = \sqrt{\dfrac{F^2}{\gamma^2 \omega^2 + m^2 (\omega_0^2 - \omega^2)^2}}, \\ \tan\varphi = -\dfrac{\gamma \omega}{m(\omega_0^2 - \omega^2)}. \end{cases} \Big \langle \sum_i \mathbf{F}_i \cdot \mathbf{r}_i \Big \rangle = - P \oint \hat{\mathbf{n}} \cdot \mathbf{r} \,dA, since, by definition, the pressure P is the average force per area exerted by the gas upon the walls, which is normal to the wall.

There is a minus sign because \hat{\mathbf{n}} is the unit normal vector pointing outwards, and the force to be used is the one upon the particles by the wall. Then the virial theorem states that \langle T \rangle = \frac{P}{2} \oint \hat{\mathbf{n}} \cdot \mathbf{r} \,dA. By the divergence theorem, \oint \hat{\mathbf{n}} \cdot \mathbf{r} \,dA = \int \nabla \cdot \mathbf{r} \,dV = 3 \int dV = 3V . From equipartition, the average total kinetic energy \langle T \rangle = N \big\langle \frac 12 mv^2 \big\rangle = N \cdot \frac 32 kT .

Hence, PV = NkT , the ideal gas law. He approximated the Coma cluster as a spherical "gas" of N stars of roughly equal mass m , which gives \langle T \rangle= \frac 12 Nm \langle v^2 \rangle . The total gravitational potential energy of the cluster is U = -\sum_{i , giving \langle U\rangle = -Gm^2 \sum_{i . Assuming the motion of the stars are all the same over a long enough time (ergodicity), \langle U\rangle = -\frac{1}2 N^2 Gm^2\langle {1}/{r}\rangle .

Zwicky estimated \langle U\rangle as the gravitational potential of a uniform ball of constant density, giving \langle U\rangle = -\frac 35 \frac{GN^2m^2}{R} . So by the virial theorem, the total mass of the cluster is Nm = \frac{5\langle v^2\rangle}{3G\langle \frac{1}{r}\rangle} Zwicky _{1933} estimated that there are N = 800 galaxies in the cluster, each having observed stellar mass m = 10^9 M_{\odot} (suggested by Hubble), and the cluster has radius R = 10^6 \text{ly} .

He also measured the radial velocities of the galaxies by doppler shifts in galactic spectra to be \langle v_r^2\rangle = (1000 \text{km/s})^2 . Assuming equipartition of kinetic energy, \langle v^2\rangle = 3 \langle v_r^2\rangle . By the virial theorem, the total mass of the cluster should be \frac{5R \langle v_r^2\rangle}{G} \approx 3.6\times 10^{14} M_\odot . However, the observed mass is Nm = 8 \times 10^{11} M_\odot , meaning the total mass is 450 times that of observed mass.

2\lim_{\tau\to+\infty} \langle T\rangle_\tau = \lim_{\tau\to+\infty} \langle U\rangle_\tau \quad \text{if and only if} \quad \lim_{\tau\to+\infty}{\tau}^{-2}I(\tau) = 0.

A boundary term otherwise must be added. \frac12\frac{d^2I}{dt^2} + \int_Vx_k\frac{\partial G_k}{\partial t} \, d^3r = 2(T+U) + W^\mathrm{E} + W^\mathrm{M} - \int x_k(p_{ik}+T_{ik}) \, dS_i, where I is the moment of inertia, G is the momentum density of the electromagnetic field, T is the kinetic energy of the "fluid", U is the random "thermal" energy of the particles, W^{\text{E}} and W^{\text{M}} are the electric and magnetic energy content of the volume considered.

Finally, p_{ik} is the fluid-pressure tensor expressed in the local moving coordinate system p_{ik} = \Sigma n^\sigma m^\sigma \langle v_iv_k\rangle^\sigma - V_iV_k\Sigma m^\sigma n^\sigma, and T_{ik} is the electromagnetic stress tensor, T_{ik} = \left( \frac{\varepsilon_0E^2}{2} + \frac{B^2}{2\mu_0} \right) \delta_{ik} - \left( \varepsilon_0E_iE_k + \frac{B_iB_k}{\mu_0} \right). A plasmoid is a finite configuration of magnetic fields and plasma.

With the virial theorem it is easy to see that any such configuration will expand if not contained by external forces. In a finite configuration without pressure-bearing walls or magnetic coils, the surface integral will vanish. Since all the other terms on the right hand side are positive, the acceleration of the moment of inertia will also be positive. It is also easy to estimate the expansion time \tau .

If a total mass M is confined within a radius R , then the moment of inertia is roughly MR^2 , and the left hand side of the virial theorem is \frac{MR^2}{\tau^2} . The terms on the right hand side add up to about pR^3 , where p is the larger of the plasma pressure or the magnetic pressure. Equating these two terms and solving for \tau , we find \tau\,\sim \frac{R}{c_\mathrm{s}}, where c_s is the speed of the ion acoustic wave (or the Alfvén wave, if the magnetic pressure is higher than the plasma pressure).

Thus the lifetime of a plasmoid is expected to be on the order of the acoustic (or Alfvén) transit time. \left\langle W_k \right\rangle \approx - 0.6 \sum_{k=1}^N\langle\mathbf{F}_k\cdot\mathbf{r}_k\rangle , where the value W_k=\gamma_c T exceeds the kinetic energy of the particles T by a factor equal to the Lorentz factor \gamma_c of the particles at the center of the system.

Under normal conditions we can assume that \gamma_c\approx 1 , then we can see that in the virial theorem the kinetic energy is related to the potential energy not by the coefficient \frac{1}{2} , but rather by the coefficient close to 0.6. The difference from the classical case arises due to considering the pressure field and the field of particles' acceleration inside the system, while the derivative of the scalar G is not equal to zero and should be considered as the material derivative.

An analysis of the integral theorem of generalized virial makes it possible to find, on the basis of field theory, a formula for the root-mean-square speed of typical particles of a system without using the notion of temperature: v_\mathrm{rms} = c \sqrt{1- \frac {4 \pi \eta \rho_0 r^2}{c^2 \gamma^2_c \sin^2 \left( \frac {r}{c} \sqrt {4 \pi \eta \rho_0} \right) } } , where ~ c is the speed of light, ~ \eta is the acceleration field constant, ~ \rho_0 is the mass density of particles, ~ r is the current radius.

Unlike the virial theorem for particles, for the electromagnetic field the virial theorem is written as follows: ~ E_{kf} + 2 W_f =0 , where the energy ~ E_{kf} = \int A_\alpha j^\alpha \sqrt {-g} \,dx^1 \,dx^2 \,dx^3 considered as the kinetic field energy associated with four-current j^\alpha , and ~ W_f = \frac {1}{4 \mu_0 } \int F_{\alpha \beta} F^{\alpha \beta} \sqrt {-g} \,dx^1 \,dx^2 \,dx^3 sets the potential field energy found through the components of the electromagnetic tensor. \frac35 \frac{GM}{R} = \frac32 \frac{k_\mathrm{B} T}{m_\mathrm{p}} = \frac12 v^2 for a mass M , radius R , velocity v , and temperature T .

The constants are Newton's constant G , the Boltzmann constant k_B , and proton mass m_p . Note that these relations are only approximate, and often the leading numerical factors (e.g. \frac{3}{5} or \frac{1}{2} ) are neglected entirely. In galaxy dynamics, the mass of a galaxy is often inferred by measuring the rotation velocity of its gas and stars, assuming circular Keplerian orbits. Using the virial theorem, the velocity dispersion \sigma can be used in a similar way.

Taking the kinetic energy (per particle) of the system as T=\frac{1}{2}v^2\sim \frac{3}{2}\sigma^2 , and the potential energy (per particle) as U\sim \frac{3}{5}\frac{GM}{R} we can write \frac{GM}{R} \approx \sigma^2. Here R is the radius at which the velocity dispersion is being measured, and M is the mass within that radius. The virial mass and radius are generally defined for the radius at which the velocity dispersion is a maximum, i.e. \frac{GM_\text{vir}}{R_\text{vir}} \approx \sigma_\max^2.

As numerous approximations have been made, in addition to the approximate nature of these definitions, order-unity proportionality constants are often omitted (as in the above equations). These relations are thus only accurate in an order of magnitude sense, or when used self-consistently. An alternate definition of the virial mass and radius is often used in cosmology where it is used to refer to the radius of a sphere, centered on a galaxy or a galaxy cluster, within which virial equilibrium holds.

Since this radius is difficult to determine observationally, it is often approximated as the radius within which the average density is greater, by a specified factor, than the critical density \rho_\text{crit}=\frac{3H^2}{8\pi G} where H is the Hubble parameter and G is the gravitational constant.

A common choice for the factor is 200, which corresponds roughly to the typical over-density in spherical top-hat collapse (see Virial mass), in which case the virial radius is approximated as r_\text{vir} \approx r_{200}= r, \qquad \rho = 200 \cdot \rho_\text{crit}. The virial mass is then defined relative to this radius as M_\text{vir} \approx M_{200} = \frac43\pi r_{200}^3 \cdot 200 \rho_\text{crit} .

The virial theorem is applicable to the cores of stars, by establishing a relation between gravitational potential energy and thermal kinetic energy (i.e. temperature). As stars on the main sequence convert hydrogen into helium in their cores, the mean molecular weight of the core increases and it must contract to maintain enough pressure to support its own weight. This contraction decreases its potential energy and, the virial theorem states, increases its thermal energy.

The core temperature increases even as energy is lost, effectively a negative specific heat. This continues beyond the main sequence, unless the core becomes degenerate causing the pressure to become independent of temperature and the virial relation with n=-1 no longer holds.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1371550327 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

No external citation was extracted for this revision. That is a statement about the source, not a claim that none exists.