# 5. Mechanical Similarity and the Virial Theorem

Michael Fowler

## Some Examples

Similar triangles are just scaled up (or down) versions of each other, meaning they have the same angles.  Scaling means the same thing in a mechanical system: if a planet can go around the sun in a given elliptical orbit, another planet can go in a scaled up version of that ellipse (the sun remaining at the focus).  But it will take longer: so we can’t just scale the spatial dimensions, to get the same equation of motion we must scale time as well, and not in general by the same factor.

In fact, we can establish the relative scaling of space and time in this instance with very simple dimensional analysis. We know the planet’s radial acceleration goes as the inverse square of the distance, so (radial acceleration)x(distance)2 = constant, the dimensionality of this expression is $L{T}^{-2}{L}^{2}={L}^{3}{T}^{-2}$, so ${T}^{2}\propto {L}^{3}$, the square of the time of one orbit is proportional to the cube of the size of the orbit.  A little more explicitly, the acceleration $\propto G{M}_{\text{Sun}}/{r}^{2},$ so for the same $G{M}_{\text{Sun}},$ if we double the orbit size, the equation will be the same but with orbital time up by $2\sqrt{2}.$

Galileo established that real mechanical systems, such as a person, are not scale invariant. A giant ten times the linear dimensions of a human would break his hip on the first step.  The point is that the weight would be up by a factor of 1,000, the bone strength, going as cross sectional area, only by 100.

Mechanical similarity is important is constructing small models of large systems.  A particularly important application is to fluid flow, for example in assessing fluid drag forces on a moving ship, plane or car. There are two different types of fluid drag: viscous frictional drag, and inertial drag, the latter  caused by the body having to deflect the medium as it moves through.  The patterns of flow depend on the relative importance of these two drag forces, this dimensionless ratio, inertial/viscous, is called the Reynolds number. To give meaningful results, airflow speeds around models must be adjusted to give the model the same Reynolds number as the real system.

## Lagrangian Treatment

(Here we follow Landau.)  Since the equations of motion are generated by minimizing the action, which is an integral of the Lagrangian along a trajectory, the motion won’t be affected if the Lagrangian is multiplied by a constant.  If the potential energy is a homogeneous function of the coordinates, rescaling would multiply it by a constant factor. If our system consists of particles interacting via such a potential energy, it will be possible to rescale time so that, rescaling both space and time, the Lagrangian is multiplied by an overall constant, so the equations of motion will look the same.

Specifically, if the potential energy $U$ is homogeneous of degree $k$, and the spatial coordinates are scaled by a factor $\alpha ,$

$U\left(\alpha {\stackrel{\to }{r}}_{1},\alpha {\stackrel{\to }{r}}_{2},\dots ,\alpha {\stackrel{\to }{r}}_{n}\right)={\alpha }^{k}U\left({\stackrel{\to }{r}}_{1},{\stackrel{\to }{r}}_{2},\dots ,{\stackrel{\to }{r}}_{n}\right).$

To get the kinetic energy term to scale by the same factor, we take $t\to \beta t$, so $\stackrel{\to }{v}\to \left(\alpha /\beta \right)\stackrel{\to }{v},$ the kinetic energy is scaled by ${\left(\alpha /\beta \right)}^{2},$ for this to match the potential energy scaling, we must have

${\left(\alpha /\beta \right)}^{2}={\alpha }^{k},\text{ }\beta ={\alpha }^{1-\frac{1}{2}k}.$

For planetary orbits, $k=-1$, so ${\beta }^{2}={\alpha }^{3},$ confirming our hand waving derivation above.

For the simple harmonic oscillator, $U\left(\stackrel{\to }{r}\right)\propto {\stackrel{\to }{r}}^{2}$ so $k=2$ and $\beta =0.$ What does that mean?  Scaling up the orbit does not affect the time$—$the oscillation time is always the same.

Falling under gravity:  $k=1,\text{ }\beta =\sqrt{\alpha ,}\text{ }x\propto {t}^{2}.$ So doubling the time scale requires quadrupling the length scale to get the scaled motion identical to the original.

## The Virial Theorem

For a potential energy homogeneous in the coordinates, of degree $k,$ say, and spatially bounded motion, there is a simple relation between the time averages of the kinetic energy, $\overline{T}$, and potential energy, $\overline{U}.$ It’s called the virial theorem:

$2\overline{T}=k\overline{U}.$

Proof:

Since

$T=\sum _{i}\frac{1}{2}{m}_{i}{\stackrel{\to }{v}}_{i}^{2},\text{ }\text{ }{\stackrel{\to }{p}}_{i}={m}_{i}{\stackrel{\to }{v}}_{i}=\partial T/\partial {\stackrel{\to }{v}}_{i},$

we have

$2T=\sum _{i}{\stackrel{\to }{p}}_{i}\cdot {\stackrel{\to }{v}}_{i}=\frac{d}{dt}\left(\sum _{i}{\stackrel{\to }{p}}_{i}\cdot {\stackrel{\to }{r}}_{i}\right)-\sum _{i}{\stackrel{\to }{r}}_{i}\cdot {\stackrel{˙}{\stackrel{\to }{p}}}_{i}.$

We now average the terms in this equation over a very long time, that is, take

$\overline{f}=\underset{\tau \to \infty }{\mathrm{lim}}\frac{1}{\tau }\underset{0}{\overset{\tau }{\int }}f\left(t\right)dt.$

Since we’ve said the orbits are bounded in space, and we assume also in momentum, the exact differential term contributes

in the limit of infinite time.

So we have the time averaged $2\overline{T}=\overline{\sum _{i}{\stackrel{\to }{r}}_{i}\cdot \partial U/\partial {\stackrel{\to }{r}}_{i}}$,  and for a potential energy a homogeneous function of degree k in the coordinates, from Euler’s theorem:

$2\overline{T}=k\overline{U}.$

So, for example, in a simple harmonic oscillator the average kinetic energy equals the average potential energy, and for an inverse-square system, the average kinetic energy is half the average potential energy in magnitude, and of opposite sign (being of course positive).