Mathematics and sex

Nowadays mathematics is almost everywhere. To know some cool mathematics (or mathematician) is nowadays sexy.

Therefore I am helping you here, on this blog, to have better relations in your lives. Just looking at the equations can already make you feel better. When you look for a little at Euler’s equations, you will sleep better. That is why today I recall some of these pretty formulas from the dynamics of spinning bodies.

Repetitio est mater studiorum – repetition is the mother of study/learning, that is what they say. So let us repeat, recollect, before traveling another road. If we climb high enough, then going down will be easy.

It is not that climbing up is difficult. It is not. We can take stairs. But it takeS time. And that is what we are going to do now: take time, do it easy way. Enjoying happy sliding down afterwards.

The two essential ingredients af the asymmetric top spinning in zero gravity are:

  1. Euler’s equations
  2. Attitude matrix equations

Euler equations, written in terms of the angular momentum vector \mathbf{L}, with components (L_1,L_2,L_3) are

(1)   \begin{eqnarray*} \frac{dL_1(t)}{dt}&=&(\frac{1}{I_3}-\frac{1}{I_2})L_2(t)L_3(t),\\ \frac{dL_2(t)}{dt}&=&(\frac{1}{I_1}-\frac{1}{I_3})L_3(t)L_1(t),\\ \frac{dL_3(t)}{dt}&=&(\frac{1}{I_2}-\frac{1}{I_1})L_1(t)L_2(t). \end{eqnarray*}

I_1,I_2,I_3 are principal moments of inertia. We assume that our spinning body is asymmetric, therefore I_1,I_2,I_3 are all different from each other, and we will order them as I_1<I_2<I_3. Perhaps it is worthwhile to mention that physics of ordinary materials requires that all three numbers are strictly positive, and that I_1+I_2\geq I_3.  I have my pet rigid body that is essentially flat, with I_1=1,I_2=2,I_3=3. It looks as on the picture below

It is kind of simple but it shows all the nontrivial behavior that a rigid body can have.

Remark: As noted by Bjab in the discussion of this post, the sentence above is incorrect. At the other end of the spectrum of rigid body shapes there are one-dimensional objects. These are flying rods with I_1=0,I_2=I_3\neq 0. They deserve a separate study.

But that is not important now.  What is important is that the components (L_1,L_2,L_3) are the components of the angular momentum vector with respect to the noninertial frame that rotates with the body. Its components with respect to the inertial laboratory frame are constant in time. This is “conservation of angular momentum”- one of the most fundamental “laws” of classical mechanics. Why such a law holds, or at least approximately holds, in our Universe is not known. Physicists and philosophers are debating about “the origin of inertia”.  Some say that “because of space”, some say “because of distant parallelism”, some other say “because of distant matter”. We will not worry about these problems now. We have our laboratory inertial frame, we have frame rotating with the body, and we have rotation matrix Q(t) that maps coordinates in the rotating frame to coordinates in the laboratory frame.

Recall from Angular momentum

Let \mathbf{E}_1(t), \mathbf{E}_2(t), \mathbf{E}_3(t) be an orthonormal frame corotating with the body, and aligned with its principal axes, and let \mathbf{e}_1, \mathbf{e}_2, \mathbf{e}_3 be an inertial laboratory frame, both centered at the center of mass of the body. The two frames are related by time-dependent orthogonal matrix A(t)

(2)   \begin{equation*} \mathbf{E}_i=A_{ji}\mathbf{e}_j,\quad X_i= A_{ij}x_j.\end{equation*}

The inverse of A is denoted by Q

(3)   \begin{equation*} Q= A^{-1}=A^t,\end{equation*}

and it is often called the attitude matrix. For a rotating body, if X_i are coordinates of a fixed point in the body, then its coordinates in the laboratory system change in time:

(4)   \begin{equation*} {\bf x}(t)=Q(t){\bf X}.\end{equation*}

Matrix Q(t) satisfies differential equation that is essentially nothing more than the definition of the angular velocity vector:

(5)   \begin{equation*} Q(t)^{-1}\frac{dQ(t)}{dt}=W(\boldsymbol{\Omega}(t)),\end{equation*}

thus

(6)   \begin{equation*} \frac{dQ(t)}{dt}=Q(t)W(\boldsymbol{\Omega}(t)),\end{equation*}

where for any vector \vec{v}

(7)   \begin{equation*}W(\vec{v})=\begin{bmatrix}0& -v_3&v_2\\v_3&0&-v_1\\-v_2&v_1&0.\end{bmatrix}.\end{equation*}

We have

(8)   \begin{equation*}L_1=I_1\,\Omega_1,\quad L_2=I_2\,\Omega_2,\quad L_3=I_3\,\Omega_3.\end{equation*}

A couple of comments are due at this point. First of all a careful Reader will notice that in Angular momentum we had

(9)   \begin{equation*}\frac{dQ(t)}{dt}=W(\boldsymbol{\omega}(t))Q(t), \end{equation*}

while now we have

(10)   \begin{equation*}\frac{dQ(t)}{dt}=Q(t)W(\boldsymbol{\Omega}(t)).\end{equation*}

What is going on?
Several things at once. First we have the map \vec{v}\mapsto W(\vec{v}) that associates a matrix to every vector. In fact it associates an antisymmetric matrix. The association has the property that is easy to verify: for every vector \vec{w} we have

    \[W(\vec{v})\,\vec{w}=\vec{v}\times\vec{w}.\]

Acting with the matrix W(\vec{v}) is the same as taking cross product with vector \vec{v}. That such an association should exist should be not a surprise. Taking cross-product with a fixed vector is a linear operation, and every linear operation on vectors is implemented by a matrix. However many students who learn about cross products,

do not learn about their relation to antisymmetric matrices and bivectors. And many students that are learning about matrices, operations with them, eigenvalues and eigenvectors, do not learn about cross-product of vectors. Perhaps because the cross-product is particular to 3D?
Anyway, we have this association, and this association has a very nice property of “covariance”: for every orthogonal matrix R of determinant one we have:

(11)   \begin{equation*}R\,W(\vec{v})\,R^t = W(R\vec{v}).\end{equation*}

That is a very important and very useful property. It can be equivalently expressed as the “covariance of the cross-product”

(12)   \begin{equation*}(R\vec{w})\times (R\vec{v})=R(\vec{w}\times\vec{v}).\end{equation*}

But equivalent expression does not replace the proof, and to prove it needs a bunch of simple but lengthy algebraic calculations and taking into account the definitions of cross-product and determinant. It can be easily done with any computer algebra software. I skip it now.
The second thing is the difference between \boldsymbol{\omega} that represents the angular momentum vector in the laboratory frame, and \boldsymbol{\Omega} that represents the same vector in the body frame. Our matrix Q, by definition, connects the two representations (see Eq. (4) above, but now we skip the time-dependence):

    \[\boldsymbol{\omega}=Q\,\boldsymbol{\Omega}.\]

Now, going back to Eq. (9), we have (again we skip the time dependence)

    \[W(\boldsymbol{\omega})Q=W(Q\boldsymbol{\Omega})Q=Q\,W(\boldsymbol{\Omega})Q^t\,Q=Q\,W(\boldsymbol{\Omega}),\]

which solves our puzzle.
Remark
: Above we have used \boldsymbol{\Omega} and \boldsymbol{\omega} to distinguish between numerical representation of the same vector with respect to two different frames. But when there is no possibility of a confusion, we can denote a vector by any convenient letter whatsoever.
Let us see how the above recollection of facts can be applied. In Towards the road less traveled with spin there was the following statement:

The vertical z-axis is the natural axis to try to spin the thing. Imagine our top is floating in space, in zero gravity. We take the z-axis between our fingers, and spin the device. If our hand is not shaking too much, our top will nicely spin about the z-axis. This is the most stable axis for spinning.

The corresponding solution of Euler’s equations is \vec{\omega}=(0,0,\omega_3), where \omega_3 is a constant. The solution of the attitude matrix equation is Q(t)=\exp(W(t\vec{\omega})).

I promised to answer the question why is it so.

In general, when we have matrix differential equation of the type:

    \[\frac{dM(t)}{dt}=M(t)X,\]

where X is a constant (i.e. time independent) matrix, we can verify that M(t)=\exp(tX) is a solution. In fact, it is the unique solution with the initial data M(0)=I. To prove it, one would have to expand e^{tX} into power series, take care about the convergence of the infinite series (no care needed, it is absolutely convergent), and then differentiate term by term. Let us take it for granted that is the case. In the quote from the other post above I used the letters \vec{\omega}=(0,0,\omega_3), instead of “more adequate”, \vec{\Omega}=(0,0,\Omega_3), but, as in the remark above, we are supposed to adjust the meaning to the context. For the matrix X in the attitude equation we have W(\vec{\omega}), so the solution with the property W(0)=I is Q(t)=\exp(tW(\vec{\omega})), which, because \vec{v}\mapsto W(\vec{v}) is a linear map, is the same as Q(t)=\exp(W(t\vec{\omega})).
In fact here we have the opportunity to make another application of today’s recollections. Suppose that our spinning top is completely symmetric – a perfect ball spinning one of its axes. Perfect ball means I_1=I_2=I_3. If so, the right side of the Euler’s equations is automatically zero. Therefore any constant vector \boldsymbol{\Omega} is a solution. Let us choose \boldsymbol{\Omega} a unit vector, so that the absolute value of the angular velocity is 1. That means our top makes a complete rotation about the axis along the vector \boldsymbol{\Omega} every 2\pi units of time. As noticed above the solution of the attitude equation is \exp(tW(\omega})). Therefore \exp(tW(\boldsymbol{\omega})) is the rotation matrix that describes the rotation about the axis in the direction \boldsymbol{\omega} by an angle t. We have already used this fact before, but now it was a good place for recollecting.
After all these recollections we are now ready to look again at the roads that are less traveled.

Of course it is not Albert Einstein who is the author, but, in the age of fake news, who cares?

10 thoughts on “Mathematics and sex

  1. I don’t quite follow.
    We assume that matrix X is constant. So we assume that W(\boldsymbol{\Omega}) is constant. So we find Q(t). How do we know that Q(t) guarantees that \boldsymbol{\Omega}(t) is constant?

          1. But eq. (5) is as eq. (10) which we are just trying to solve so it is like dragon eating its own tail.

          2. When the dragon solves some equation, he wants to verify that what he has is really a solution. So he goes after his tail.

  2. “… to prove it needs a bunch of simple but lengthy algebraic calculations and taking into account the definitions of cross-product and determinant.
    I though that you proved it in the bluebox in Angular momentum

Leave a Reply