### Geodesics on the upper half-plane – parametrization

The last note ended with the following problem:

Thus: geodesics are circles. Or better: straight lines are circles! In fact: half-circles, because their centers are on the x-axis, and our arena is only upper half-plane.

Except that we have missed some solutions. In Conformally Euclidean geometry of the upper half-plane there was a sentence:

In the next note we will start calculating “straight lines”, or “geodesics” of our geometry. Some of them are almost evident candidates: vertical lines, perpendicular to the real line. But what about the other ones?

Well, we have these other ones, but how the vertical lines fit our reasoning above?

If is a vertical line, then therefore In Geodesics on the upper half-plane – Part 2 circles we arrived at equations

(1)

(2)

and took the ratio of the second to the first. But for vertical lines taking the ratio is not allowed. The first equation is satisfied with the constant on the right hand side equal to zero. The second equation reduces to

(3)

If we now recall Eq. (2) from Conformally Euclidean geometry of the upper half-plane :

(4)

we see that and on the vertical line must be proportional:

(5)

Whenever this last equation holds, one says that is an “affine parameter”: it is proportional to the arc length, possibly translated. In fact that is part of the definition of the geodesic that enters the “Noether’s theorem” that we are using. Usually we choose the proportionality constant equal to one.

Of course we can use Eq. (3) in order to determine the parameter Choosing the constant equal to 1, we have

(6)

therefore

(7)

To my surprise Bjab has discovered this all by himself – see the discussion under the previous post

Therefore, when discussing geodesics, we will assume that they are always parametrized by their arc length or, in other words, that the tangent vector is of unit length. In our case that is equivalent to

(8)

Remark: There are many important examples of pseudo-Riemannian metrics, that are not positive definite. In such a case “length square” along a geodesic line is normalized to or or , so that there are three kinds of geodesics. In physics this happens for space-time metrics with Minkowski signature, and in multi-dimensional Kaluza-Klein theories. We will discuss another such case in the following posts.

We can now use these insights also in the case of circular geodesics. Before we have taken the ratio of two “conservation law” equations (1,2). Now, that we know we have a circle, we can write circle equation

(9)

where is some function of the arc length parameter , and substitute into Eqs. (1,2).

We have

(10)

therefore Eq. (8) reduces to

(11)

It is now a straightforward exercise to verify that with Eqs. (911) equations (1,2) are satisfied automatically.

Now that we know geodesics on the upper half-plane, we can draw them for pleasure. There is a famous pattern known as Dedekind’s tesselation

I was able to reproduce a part of it, namely the part described on p. 3 in the paper on SL(2,Z) by Keith Conrad

But I would like to be able to reproduce the pretty image from website of Jerzy Kocik from Southern Illinois University

And I do not know yet how to do it.

Update: After several hours I managed to produce this:

### Prime numbers are the dwellings of the mystics

In Cayley transform for Easter we used the Cayley transform to create a pattern on the Poincaré disk:

Which reminded me of the Ulam spiral

The Ulam spiral or prime spiral (in other languages also called the Ulam cloth) is a graphical depiction of the set of prime numbers, devised by mathematician Stanislaw Ulam in 1963 and popularized in Martin Gardner’s Mathematical Games column in Scientific American a short time later.[1] It is constructed by writing the positive integers in a square spiral and specially marking the prime numbers.

The organization of prime numbers is somewhat unpredictable, so it was kind of surprise for Ulam to find patterns in his collecting consecutive prime numbers into a spiral.

So, I used Cayley transform and applied it to fractions (m+in)/(p+iq) where m,n,p,q are prime numbers such that the fraction is in the upper half-plane. I restricted primes to be at most 23, included their negatives, and added 0 and 1 to the table.

Here is the resulting pattern:

Our eyes can see all kind of patterns there. I have no explanation for these patterns.

### Recreations with Cayley transform

What can we do with Cayley transform? We can produce interesting pictures. Here are two such pictures:

In fact in both pictures we have the same pattern of dots, but they are organized differently by coloring.

How are these images produced? They are produced using Gaussian integers and Cayley transform.

Cayley transform we know from the previous post Cayley transform for Easter. It is the same as in Wikipedia , where it is defined as

(1)

It maps complex upper half-plane , the set of all complex numbers with positive imaginary part, onto the interior of the unit disk. The real axis is mapped onto the unit circle, minus the point The inverse Cayley transform maps to infinity.

Gaussian integers are also explained in Wikipedia: \url{}

In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. ….

We want our Gaussian integers to be in , or on the real line, so we take the integer defining the imaginary part to be nonnegative. To produce images above I took Gaussian integers of the form with m varying from -100 to 100, and varying from 0 to 100. To each such I apply the Cayley transform and plot the point

At the end I rotate the images 90 degrees clockwise, so that the neighborhood of is at the bottom. It looks for me more interesting this way.

The colors of the points are constant, either along increasing or along the increasing

Notice that the line with the same color in the first picture look like hyperbolic straight lines – they are circle segments perpendicular to the boundary.

We will need to understand why is it so?