Errors that you remember most are the errors you have made yourself. Toys that you remember most are the toys that you have made yourself. As a kid I was making all kind of toys. Planes that would fly. Slings that would shoot. But also this funny toy that I was not able to find on Youtube in English. I found it only in Polish. Here it is – the “worm”:

And here are more detailed instructions with narration in Polish, but it should not matter, because you see all the details:

The bearing ball inside, invisible, makes it to behave strangely, the “worm” flips and jumps, almost like being alive.

So much about kid’s toys. Now we are playing with another toy, that also looks like being alive. Except that it whirls and flips in space, on ISS space station:

**Dzhanibekov effect** is the name. It does not have a bearing ball inside. What is hidden inside are **Jacobi elliptic functions**. They make it to flip, for no apparent reason at all, and do it, as it seems, periodically. Why? Dzhanibekov, the Russian cosmonaut who has discovered the effect, didn’t know why. He wrote to me that it is still a puzzle for him, though he prefers now to concentrate on “quantum puzzles”.

The movie above shows a **T-handle**. So, in today’s post I will construct my own T-handle that will whirl and flip the same way, but without going to space. We will do it with graphics, with math, with numbers.

I want to build a **T-handle with principal moments of inertia 1,2,3** (I like this sequence). It will look like this:

But I want to make it as simple as possible, so I will make it very-very thin. Mathematically: I will make it of lines rather than tubes:

One line is along the x-axes. I fix it to have length , from x=-1, to +1. For the metal I choose the linear density to be So the mass of the horizontal tube is The length of the vertical part is to be found. I want it to be such that the principal moments of inertia with respect to the center of mass are 1,2,3.

First we need to find the formula for the center of mass position It is clear, from symmetry, that the center of mass will have -coordinate zero. We need a formula for The center of mass of the horizontal part, that has mass is at The center of mass of the vertical part, which has mass is at Thus the coordinate of the center of mass of our T-handle is

Now we need to calculate the moments of inertia. First the moment of inertia with respect to the -axis.

Wikipedia has a List of moments of inertia. There we find that for a cylinder of length and mass the moment of inertia with respect to the axis through its center is I checked, calculating it myself, and it is correct. Here is how you can calculate it:

In our case only contributes to the moment of inertia with respect to the -axis, because we assume our cylinders to be of zero diameter. And the contribution from is This is our

**Our task** is now to choose the Length so that the moment of inertia of the whole body with respect to the horizontal axis **through** is

**It will be convenient to use what is called “Parallel axis theorem“. From Wikipedia:**

First consider the contribution from The mass is the distance is so the contribution is

The first term here is since the moment of inertia of with respect to the -axis is zero.

Then the contribution from

Substituting the expression for after some little calculation, we get

We now solve the equation This is fourth degree equation, we find that two roots are real, and only one is positive:

This is our T-handle.

**And here is the animation – with Jacobi elliptic functions inside**. The T-handle is flipping, as if being alive, with elliptic functions inside:

Click on the image to open the gif animation.