# Discover Science: The Hopf Fibration

## Or: Qcy in the Sky with 4 Dimensions

## By Ingo Dahn

### Preface

With this notebook we make a first step to explore a 4-dimensional space using the Hopf fibration. On this journey we shall roughly follow the arguments in David. W Lyons introduction to the Hopf fibration, supporting these arguments with calculations and interactive experiments.

This material is available as a Jupyter notebook or as a website. Jupyter notebooks require a runtime environment (as provided e.g by CoCalc) while websites make use of the SageCell computational services.

Since computations may rely on the results of previous computations, it is important that all computations are carried out in the sequence they are given. Some of the cells contain program code. The reader is ** not** required to understand the program code in these cells. However, the reader

**: Interactive animations made with Geogebra hide their code base. The reader can experiment with these animations using the mouse instead of editing code. These animations can also be downloaded and edited from the Geogebra website using the links provided.**

*is encouraged to locate the relevant mathematical fomulas in the code and to experiment by changing the values of input variables*** Discover Science** is a series of interactive articles exploring selected subjects through questions and experiments. Questions are emphasized in bold face. Readers are encouraged to explore their own questions using the tools provided in the article. Discover science does not aim to deliver ultimate precision and complete proofs. These can be found in various papers, like those cited in Lyons paper mentioned above. In particular, we take the freedom to delegate formal computations to the computer as well as using geometric arguments based on the readers experimental experience.

## How to Travel 4D Space?

Humanity has been contacted by an alien from a parallel world! Humans called it (him/her?) *Qcy* as an abbreviation for Curiosity. Qcy is a 4-dimensional being, living on a planet named $S^3$ in a 4-dimensional space. $S^3$ is located at a location with the coordinates $(0,0,0,0)$, called the *origin* and has radius 1.

But Qcy cannot travel around on his planet without our help. He is curious to explore whether the surface of $S^3$ is indeed the 3-dimensional ball which it can see ( just like location-bound people on earth percieve the surface of planet earth as a 2-dimensional disk)or just a local impression of a local neighbourhood on a 4-dimensional curved surface.

And, perhaps, Qcy isn't that much different from us and our 3-dimensional planet is an illusion as well while we are really living on a 4-dimensional surface which we cannot experience sind we cannot travel far in a hidden direction? We must help Qcy with all the human travelling experience - navigation expertise, coordinates, maps etc!

Mathematicians have developed the technology to help Qcy. It is based on a material called *Quaternion* and consists of three parts:

A sphere $S^2$ on earth that we can use as a controller - like a joystick or trackball - to control Qcys travel on the surface of $S^3$

An uplink channel, called

*Hopf fibration*, to send travel instructions to QcyA downlink channel, called

*stereographic projection*to observe and track Qcys travel.

Now that the technology is at hand, it is our job to build it, test drive it and to guide Qcy on its travel around $S^3$.

Let us start by collecting *Quaternions*.

## What are Quaternions?

You may have heard of *Complex numbers*. Complex numbers are numbers of the form $a+bi$ where $a$ and $b$ are real numbers and $i$ is a non-real number. Addition and multiplication of real numbers are determined by the rules of commutatiovity, associativity, distributivity and the additional rule $i^2 = -1$.

In 1833, the Irish mathematician William R. Hamilton (1805-1865) looked at complex numbers a points in a plane, interpreting $a+bi$ as the point with coordinates $(a,b)$. In particular $1$ corresponds to $(1,0)$ and $i$ corresponds to $(0,1)$. The absolute value (*norm*) of $a+bi$ can be defined as $||a+bi||=\sqrt{a^2+b^2}$ - the Euclidean distance of the point $(a,b)$ from the origin $(0,0)$. The set of all complex numbers of norm 1 defines the unit circle $S^1$.

It is easy to check that $(a+bi)\cdot (a-bi)= a^2+b^2=||a+bi||^2$ and hence $a-bi$ is a multiplicative inverse of $a+bi$ if $a+bi$ has norm 1. $a-bi$ is called the *conjugate* of $a+bi$ and denoted by $\overline{a+bi}$. Knowing the multiplicative inverse of normed complex numbers, you can check that for each complex number $z\neq 0$ the complex number $\frac{\bar{z}}{||z||}$ is the multiplicative inverse of $z$.

Hamilton was fascinated by the possibilities of calculating with points in a plane, interpreted as complex numbers. He asked the obvious question: *Can we multiply and divide with points in space as well?*

Hamilton tried for 10 years to find an answer. He wrote about that time to one of his sons:

*Every morning in the early part of the above-cited month, on
my coming down to breakfast, your (then) little brother William
Edwin, and yourself, used to ask me: “Well, Papa, can you
multiply triplets?” Whereto I was always obliged to reply, with a
sad shake of the head: “No, I can only add and subtract them.*

But October 16th 1843 on a walk in Dublin passing Broom Bridge, he suddenly saw what was almost an answer to the question, not for points in $\R^3$ but $\R^4$ and sacrificing the commutativity of multiplication.

Points in 4-dimensionals space $\R^4$ can be described by 4 coordinates $(a,b,c,d)$ which can be interpreted as a new kind of numbers - named *Quaternions* of the form $a+bi+cj+dk$. Hamilton suddenly realised that quaternions allow for multiplication and division if the multiplication of $i,j,k$ is governed by the equations
$i^2=j^2=k^2=ijk=-1.$
Hamilton was so fascinated by his discovery that he engraved these equations into the stone of Broom Bridge, where it
still can be seen today.

Note that Hamiltons equations imply that, for example, $-k=(ijk)k=-ij(kk)=-ij$ and hence $ij=k$. Similarly we get

$ij = k,\ \ jk = i,\ \ ki = j$

and

$ji = -k,\ \ kj=-i,\ \ ik=-j.$

Note that $i,j,k$ only commute with real numbers, but not with each other.

The non-commutativity of multiplication is the only property that makes quaternions different from a field - it is a so-called division ring or skew field. This non-commutativity has some unexpected consequences, among them that a polynomial equation over the quaternions (like $x^2+1 = 0$) can have more distinct solutions than the degree of the polynomial.

Calculating with quaternions is not difficult, but can be tedious and errors are easy to make. Fortunately, this notebookWe runs an online computer in the background that can do these calculations for us.

As a first step we configure it to treat `i,j,k`

as the non-real units in the skew field of quaternions with real coefficients.

** Activity:** Modify the cell above to test the associativity of quaternion multiplication, i.e. calculate $(pq)r$ and $p(qr)$ and compare them. Alternatively, test thet $(pq)r-p(qr)=0$.

You may get symbolic expressions (formulas) as coefficients instead of real numbers. Such expressions `ex`

can be converted into numeric values with the `n()`

method as `exp.n()`

.

Prove the associativity of quaternion multiplication.

The following definitions of *Conjugate* and *Norm* generalize the respective definitions for complex numbers.
The conjugate of a quaternion $r = a + bi + cj +
dk$, denoted $\bar{r}$, is defined as $\bar{r} = a − bi − cj − dk$.

The norm of a quaternion $r$, denoted $||r||$, is its length as a vector in $\R^4$, i.e. $||r|| =\sqrt{a^2+b^2+c^2+d^2}$.

SageMath, the system that powers the background computer of this notebook, provides the `reduced_norm`

method to calculate the square of the norm. We use this to define the norm as `nn`

and `qnormed(x)`

as the normalized quaternion `x`

.

So for a quaternion $r=a+bi+cj+dk$:

`x.reduced_norm()`

$= a^2+b^2+c^2+d^2$

$||x||=\sqrt{a^2+b^2+c^2+d^2}=$`sqrt(x.reduced_norm())`

As for complex numbers, the norm of a product of quaternions equals the product of their norms: $||x\cdot y||=||x||\cdot ||y||$

It can be proved that making a Euclidean vector space into a division ring satisfying this equation for all vectors $x$ and $y$ is only possible for vector spaces of dimension 1,2,4 and 8. That explains why Hamilton could not divide triplets!

The following cell provides functions to compute conjugate, norm and the normalized quaternion $qnormed(x)=\frac{x}{||x||}$. It defines the function `nn(x)`

to calculate $|| x ||$.

Sage can also calculate with real variables as coefficients (note that this overrides the previous definition of `r`

):

Without being a definive proof, the previous cell demonstrates that
$r\cdot \bar{r} = ||r||^2.$
and hence
$r^{-1}=\frac{\bar{r}}{||r||^2}.$
This explains, why the conjugate of $r$ is the multiplicative inverse ** just for quaternions with norm 1**.

The product of two of these normalized quaternions is again normalized. Thus normalized quaternions form a non-commutative group with 1 as unit, multiplication as group operation and conjugation as inverse.

We may exploit these properties to describe Qcys location $(a,b,c,d)$ on its planet $S^3$ as a normalized quaternion $a+b i+ c j + d k$.

*Summary:*

With the multiplication rules $i^2=j^2=k^2=-1, ij=k, jk=i, ki=j, ji=-k, kj=-i,ik=-j$ quaternions form a skew field with a Euclidean norm satisfying $||r\cdot s||=||r||\cdot||s||$.

$S^3$ can be described by the set of all normalized quaternions.

Normalized quaternions form a non-abelian group under multiplication.

If $r$ is normalized, $\frac{1}{r}=\bar{r}$.

*Side Question: How many quaternions satisfy $x^2=-1$?*

In the field of complex numbers, each quadratic polynomial has at most two solutions. In particular $x^2=-1$ has the solutions $i$ and $-i$.

In the skew field of quaternions, this equation has at least the 6 solutions $i,-i,j,-j,k,-k$.

Let $t$ be a real number and let us calculate $(i\cos{t}+j\sin{t})^2=-\cos^2{t}+ij\cos{t}\sin{t}+ji\sin{t}\cos{t}-\sin^2{t}=-\cos^2{t}-\sin^2{t}=-1$ since $ij=k$ and $ji=-k$. Thus for each $t$ the quaternion $i\cos{t}+j\sin{t}$ is a solution of $x^2=-1$ - this equation has infinitely many quaternion solutions.

** Activity:** Consider a quaternion $p$ of the form $p_1i+p_2j+p_3k$, i.e. with real part 0 and another quaternion $r=a+bi+cj+dk$ which is normed. For these quaternions calculate $q=r\cdot p \cdot \bar{r}$. In particular consider the case $r=(a+k)/||a+k||$ for various values of $a$.

The following cell does these calculations for you. Experiment and explore the following questions.

Vary the point $p$, in particular use a multiple or fraction of all its coordinates How does this chnge $q$?

Compare the last coordinates of $p$ and $q$

Draw the points, defined by the 2 middle coordinates of $p$ and $q$ in a coordinate grid on paper. What do you note?

When you did this experiment with $a=0, a=\frac{1}{2}, a=\frac{\sqrt{2}}{2}$ - can you predict the result for $a=\frac{\sqrt{3}}{2}$?

How will these results change, when you use $j$ or $i$ instead of $k$?

** Answers:**
As we shall see below, the mapping $p\mapsto rp\bar{r}$ defines a rotation of the $ij$-plane around the $k$-axis. The first coordinate of

`r`

corresponds to the angle of rotation.## The Controller (Rotations and Quaternions)

As first component to support Qcy we build the *controller* on earth. It consists of a sphere $S^2$ of radius 1 around the 3D origin $(0,0,0)$ with a designated point $P=(p_1,p_2,p_3)$ on it, marking Qcys position (** Sidenote:** Probably this is not going to work, as Qcy has one more coordinate, but let's ignore that for the moment). $P$ can be moved from a starting point - we delibarately chose $(1,0,0)$ by rotating $S^3$.

A trivial rotation is the identity which does not move any point. Any direction can be taken as axis of the trivial rotation with rotation angle 0.

We agree that an axis of a rotation will be described by a vector and that rotations will always be counterclockwise for positive angles, and clockwise for negative angles, when viewed from the tip of this vector. Note that there are many ways to describe the same rotation this way. Multiplying the vecor, describing the rotation axis with any positive number will not change the described rotation. Also adding a positive integer multiple of $2\pi$ respectively of $360^\circ$ to the size of the anglewill not change the rotation and the same holds if the axis vector as well as the rotation angle are multiplied by $-1$. We can get a unique representation of a nontrivial rotation if we demand further that the rotation angle is described by a number $\theta$ such that $0<\theta < 2\pi$ and the vector has length 1.

** Note:** The 4 numbers we use to describe a rotation are less than the 9 numbers required in linear algebra to decribe an arbitrary linear transormation in $\R^3$. You will see that the 4 coefficients of a quaternion can provide an elegant way for describing rotations.

** Activity:** Let us start by building a model of an ordinary trackball. The blue point $P$ on the sphere can be grabbed with the mouse and moved. The green arrow shows the axis of a rotation taking the black start point $S=(1,0,0)$ to the position of $P$ along a great circle of the sphere. Note the trace of the axis when $P$ is moved, What do you observe? Can you explain your observation?

** Instructions:** The applet has been build with GeoGebra. Drag with mouse to rotate. Grab objects with mouse to select. Scroll the input bar on the left side to see the shaded field for the selected object. Right-click to see the definition of the object and more options. Note that the definitions in this applet are coordinate-free.

** Answer hint:** No matter where you put $P$ - the axis is always in a specific plane. Why? And in which plane?

The best way to understand at a rotation is to look at it from a perspective along the axis.In the applet above, the axis of the rotation is perpendicular to the plane defined by the point $S,O$ and $P$. The rotation angle is $SOP$.

But there are more rotations taking a point $S$ to a given other point $P$. Among those is always one rotation of 180°.

** Activity:** Look at the 180° rotations taking $S$ tp $P$. Move $P$ and observe the axis of the rotation. What do you note?

** Answer Hint:** The axis of the 180 degree rotation is the bisection of the angle $SOP$.

So we have found two rotations taking $S$ to another point $P$: One of 180° ($\pi$) the axis of which is the bisection of the angle $SOP$ (we shall name this rotation $R_1$) and another rotation with the angle $SOP$ around an axis perpendicular to the plane defined by $S,O$ and $P$ - we name this $R_2$.

Rotations of the trackball (the unit sphere $S^2$) can be combined into a unique rotation $R_3=R_2\circ R_1$ such that for each starting point $S\in S^2$ we have $R_3(P)=R_2(R_1(S))$.

If $R_1$ and $R_2$ have the same axis vector, then this is also the axis of their combination $R_3$ and the rotation angle of $R_3$ is the sum of the rotation angles of $R_1$ and $R_2$. What about the general case?

*Given two rotations $R_1,R_2$ of the trackball $S^2$ by their axes and rotation angles - how can we calculate the axis and rotation angle of their combinations $R_2\circ R_1$?*

Can you come up with an approach to answer this question?

** Answer Hint:** It is plausible that the combination of rotations is associative (i.e. $R_3\circ(R_2\circ R_1)=(R_3\circ R_2)\circ R_1$), that each rotation has an inverse rotation and that the trivial rotation is a unit w.r.t to combination of rotations. That means: Rotations of $S^2$ form a a group.

Rotations of the unit circle $S^1$ in the $xy$-plane around the origin all have an axis orthogonal to it - the $z$-axis - and they can be easily combined by adding their rotation angles. Therefore, the group of rotations of $S^1$ is commutative (abelian). For $S^2$ it is more complicated:

Consider counter-clockwise rotations $R_1,R_2$ of 90 degrees around the $y,z$-axis respectively. $R_1$ puts the point $S=(1,0,0)$ onto the $z$-axis where $R_2$ doesn't affect it. Similarly, $R_2$ puts this point onto the $y$-axis, where it is not affected by $R_1$. We have $R_2\circ R_1(S)=(0,0,1)\neq (0,1,0)=R_1\circ R_2(S)$ - $R_1$ and $R_2$ do not commute. The group of rotations of $S^2$ is non-abelian!

Admittedly, this doesn't answer the question. But quaternions will provide us with an elegant solution.

We encode points in $\R^3$ by using their coordinates as coefficients of the non-real part of a quaternion, i.e. the point with coordinates $(x,y,z)$ is encoded by the quaternion $x i+$y j + $z k$. Such quaternions with real part 0 are called *pure*.

With this encoding, each point of the unit sphere $S^2$ is encoded by a normalized pure quaternion.

** Here comes the main trick:** When $r$ is any normalized quaternion (not necessarily pure) the mapping
$R_r : p \mapsto rpr^{-1}$
defines a norm-preserving linear mapping on the set of pure quaternions $p$ and hence a rotation of $\R^3$ around the origin. (Check!). In particular $R_r$ defines a rotation of $S^2$.

If $k$ is any real number, then it is easy to check that for all $p$ we have $R_{kr}(p)=R_r(p)$. Therefore, if $r\neq 0$, by taking $k=\frac{1}{||r||}$ we can assume without loss of generality, that $r$ is normalized.

The following cell defines the function $R_r(x,y,z)=r(xi+yj+zk)\bar{r}$ with the quaternion $r$ as parameter. It is assumed that $r$ is normalized, hence $\frac{1}{r}=\bar{r}$., while $p$ is not required to be normalized.

The second argument is a triple `p`

which is converted to a quaternion `pp`

Then the tuple of coefficients of the quaternion `r*pp*r.conjugate()`

are returned, after its first element (which is 0) has been removed.

Try to calculate the value of some tuples for various quaternions `r`

, in particular for $i$, represented by the tuple $(1,0,0)$, $j$ represented by $(0,1,0)$ and $k$, represented by $(0,0,1)$

For each map, in Mathematics one of the first question asked is for fix points. The fix points of a rotation form the axis of the rotation. Assume a is the real part of $r$, i.e. $r-a$ is pure (has real part 0). Then $R_r(r-a)=r(r-a)\bar{r}=rr\bar{r}-ra\bar{r}=r-a$, hence $r-a$ - the pure part of $r$ - is on the axis of the rotation encoded by $R_r$; if $r=a+bi+cj+dk$, then the vector $(b,c,d)$ defines the axis (assumned thar $r \neq \pm 1$, i.e. we have a nontrivial rotation). Let us build a device to see the axis of a rotation defined by a quaternion..

The following cell shows the point $S=(1,0,0)$, represented by the quaternion $i$, the axis (in green) of the rotation defined by $R_r$ for the quaternion $r=qnormed(a+bi+cj+dk)$, and the point $P$ to which $S$ is taken. The unit sphere $S^2$ is shown in yellow.

** Activity:** Experiment with different values for the axis

`(b,c,d)`

and for `a`

. What influence has the change of `a`

?. Can you add a second point `S_1`

and add its image `P_1`

to the plot?Move the plot with the mouse to see the rotation from the perspective defined by the axis.

** Answer Hint:** The non-real part of the quaternion $r$ defines the axis of the rotation. You may have notices that the real part corresponds to the angle of the rotation, but in which way?

When we have source $S$, defined by a quaternion $w=x i+ y j + z k$, in a plane perpendicular to the axis $(b,c,d)$ of rotation, we can use the scalar product between $S$ and the rotation target $P$, defined by $R_r(w)$, to determine the angle of rotation:

We distinguish two cases.

** Case 1:** $b=c=0$, i.e. $r=a+dk$ We let $w=i$, i.e. $x=1,y=0,z=0$. The scalar product $bx+cy+dz$ is 0, so $w$ is perpendicular to the axis.

** Case 2:** $b\neq 0$ or $c\neq 0$. In this case we take $w=ci-bj$ The corresponding vector $(c,-b,0)$ is orthogonal to the axis $(b,c,d)$

In each case we get for the rotation angle $\theta$ $\cos \theta = \frac{w\cdot R_r(w)}{||w||^2} = a^2-b^2-c^2-d^2 = 2a^2-1.$

Since $\cos(2\frac{\theta}{2}) = 2\cos^2(\frac{\theta}{2}) -1$ we claim that $a=\cos\frac{\theta}{2}$.

The following cell provides functions to calculate axis and rotation angle defined by a quaternion.

** Summary:** We have seen that points on $S^3$ describe rotations of $S^2$ through the map $r\mapsto R_r$ where the real part encodes the rotation angle and the vector part defines the rotation axis is a.

A survev of various ways to describe rotations is available at Wikipedia.

Suddenly, using quaternions, combining rotations becomes so easy: When we have two rotations given by their axes and rotation angles - each encoded by a quaternion $r,s$ respectively, where the rotation angle provides the real coefficient and the axes coordinates provide the non-real coefficients, then we get the quaternion for the compbined rotation

$R_r\circ R_s(p)=r(sp\bar{s})\bar{r}=(rs)p( \bar{s} \bar{r})=(rs)p \overline{rs} = R_{rs}(p)$

just by multiplying $r$ and $s$. Then we can read off the rotation angle and axes from the product's coefficients.

*Activity:*

** Sidequestion:** How does this apply to rotations od $S^1$ - the unit circle?

We can describe $S^1$ as ${(x,y,0)\in \R^3 : x^2+y^2=1}$. Rotations of $S^1$ map the unit circle onto itself. Their axes must be perpendicular to the $xy$-plane. Therefore, a rotation of $S^1$ with rotation angle $\theta$, can be described as rotation of $S^2$ around the $z$-axis, defined by a quaternion of the form $\cos{ \frac{\theta}{2}}+dk$ such that ${\cos^2{\frac{\theta}{2}}}+d^2=1$. Thus $d=\pm \sin{\frac{\theta}{2}}$.

The following cell verifies that the rotation of the unit circle $S^1$ defined by a quaternion $r=\cos \frac{\theta}{2}+\sin \frac{\theta}{2}k$ indeed takes $(1,0,0)$ to $(\cos \theta, \sin \theta,0)$.

*What has all this to do with group theory?*

We came across the following groups.

The group $SO(3)$ of rotations of $\R^3$

The group of unit quaternions, with multiplication. Unit quaternions can be identified with points on $S^3$,

$\varphi:S^3\rightarrow SO(3)$ given by $r\mapsto R_r$ is a group homomorphism.

** Activity:** Show that the kernel of this homomorphism, i.e. ${r : R_r \text{is the identity mapping}}$ is ${-1,1}$.

** Hint:** The unit quaternion $r$ is in the kernel of $\varphi$ if and only if $rp=pr$ for all pure quaternions $p$. Apply this for $p=i$ and $p=j$ to show that $r$ in the kernel must be a real number. The only real numbers on $S^3$ are -1 and 1. Do you recll that this implies that each rotation can be described by exactly two quaternions which are $r$ and $-r$ for some $r\in S^3$.

## The Uplink (Hopf Fibration)

Each position of our trackball controller is characterized by 3 coordinates but Qcys position on $S^3$ requires 4. So - how can we get from our controllers position useful location information for Qcy?

One possibility might be, to transmit the 4 coefficients of the quaternion of the overall rotation that we performed moving $S$ to $P$. But in reality, our movement of the controller may be a sequence of many small rotations into different directions and with different angles. Keeping track of the overall rotation would be quite difficult for us. That's why we look for a different solution.

In order to deal with the imprecision of the §D trackball movement w.r.t. Qcys 4D coordinates, let us first explore, *how imprecise* we actually are.

In the applet below, the points $P$ and $A$ can be moved on the sphere. The green circle visualizes a rotation of the fixed point $S = (1,0,0)$ around the green axis. $A$ is a point where that axis passes through the unit sphere.

Grab point A with the mouse and adjust the axis so that the rotation takes $S$ to $P$.

When you have found a rotation that moves S to P - where is the axis? How many rotations can you make up that take $S$ to $P$?

The axis of each rotation taking $S$ to $P$ lies in the green plane through the origin, bisecting the angle $SOP.$

Try to position the axis in the green plane such that the radius of the circle connecting $S$ and $P$ is maximal (great circle) or minimal. What is the position of the axis w.r.t the plane containg $O,S,P$?

For each target position $P$ of the controller there are many rotations taking $S$ to $P$ and as many quaternions describing these rotations.Let us explore them!

If a rotation defined by a unit quaternion $r=a+bi+cl+dk$ takes the start point $S=(1,0,0)$ encoded by $i$ to a point $P=(u,v,w)$, then $r(a+bi+cj+dk)\bar{r} = ui+vj+wk$. What does this mean?

Thus, for each unit quaternion $r=a+bi+cj+dk$ the corresponding rotation takes $(1,0,0)$ to a point defined by
$h(a,b,c,d) = (a^2+b^2-c^2-d^2, 2(ad+bc),2(bd-ac))$
$h$ is called the *Hopf mapping*, discovered by Heinz Hopf in 1927.

The pre-image of a particular value $P$ under a map $h$ is called the *fiber of $P$ under $h$* - in our case the Hopf fiber of $P$! Each point of the domain of $h$, $S^3$, belongs to exactly one fiber.

*Summary:*

For each point $P$ on $S^2$ there are many rotations moving $S$ to $P$.

Each of these rotations is defined by a normed quaternion $r$ where the real coefficient is $\cos{\frac{\theta}{2}}$ where $\theta$ is the angle of rotation and the other coefficients define the axis of the rotation.

For a quaternion $r$ defining a rotation, the pure quaternion $R_r(i)=ri\bar{r}$ defines the coordinates of the target point $P$ to which the starting point $S=(1,0,0)$, encoded by $i$, is taken.

The axes of all rotations of $S^2$ taking $S$ to $P$ are located in the plane through the origin, bisecting the segment $\overline{SP}$.

The set of all quaternions (i.e. ponts on $S^3$, defining rotations of $S^2$ that take $S$ to $P$, is the Hopf fiber of $P$ - the pre-image of $P$ under the Hopf mapping.

*How does the Hopf fiber of a point $P\in S^2$ look on $S^3$?*

There are two special rotations taking $S$ to $P$ for which the angle of rotation is easy to compute:

A rotation $R_1$, defined by a quaternion $r_1$, with the axis in the plane containing $S,P$ and the origin $O$.

A rotation $R_2$, defined by a quaternion $r_2$, with the axis orthogonal to the plane through $S,P$ and $O$.

These are shown in red in the following applet. Chose a view along the axes for the best view on the respective angles of rotation!

Did you note that the axes of the rotations defined by $r_1,r_2$ are in the plane through the origin bisecting $PS$ and that they are orthogonal to each other?

Did you note, that the coefficients of $r_1$ and $r_2$ are similar? It is worth exploring why this is the case..

Test the calculation in the following cell with the coefficients of $r_1,r_2$ from the applet.

You may conjecture that $r_2 i = r_1$ and $r_i i = - r_2.$

You may want to verify the rotations defined by $r$ and $r i$ take $(1,0,0)$ to the same target and that the axes of the respective rotations are orthogonal.

** Now that we know two specific rotations (quaternions) taking $S$ to $P$, can we determine all those rotations (quaternions), i.e. the Hopf fiber of $P$?**.

We have already seen, that all axes of rotations moving $S$ to $P$ are in the same plane and thus pass through the great orange circle in the previous app. In the complex plane, each point of the unit circle is defined by a complex number of the form $\cos{t} + i \sin{t} = e^{it}$. In fact,for any point $S$ defined by a complex number $z$, the product $(\cos{t} + i\sin{t})z$ defines the point obtained from $S$ by rotating the plane around the origin by an angle $t$. Why not try something similar to characterize the Hof fiber cycling through the orange circle?

Curiosity suggests asking: *What does multiplication with a complex number $e^{it}$ does to a quaternion $r$?*

$e^{it}$ is also a unit quaternion and hence describes a rotation of $S^2$ too. The rotation angle of this rotation is $2t$. The axis of the rotation is $(\sin{t},0,0)$.

Let us consider how the rotation $re^{it}$ acts on $S=(1,0,0)$ represented by $i$ if $r$ is in the Hopf fiber of $P$. . $R_{re^{it}}(S) = (r(\cos{t}+i\sin{t})i\overline{r(\cos{t}+i\sin{t})}=r(\cos{t}+i\sin{t})i(\cos{t}-i\sin{t}))\bar{r}=ri\bar{r}=R_r(S)$

since $i$ commutes with $\cos{t}+i\sin{t}$ and its inverse.

So the rotation $R_{re^{it}}$ takes $S$ to $P$, if $R_r$ does, i.e. $re^{it}$ is in the Hopf fiber of $P$ if $r$ is.,

Conversely, if $q,r$ are normalized and in the Hopf fiber of the same point $P$, then $ri\bar{r}=P=qi\bar{q}$ and therefore $ri\bar{r}q=qi,$ $i\bar{r}q=\bar{r}qi$ i.e. $\bar{r}q$ commutes with $i$. Let $\bar{r}q = a+bi+cj+dk$.

Since this difference must be 0, $c$ and $d$ must be 0 and hence $a^2+b^2=1$, i.e. $\bar{r}q=\cos(t)+\sin(t)i=e^{it}$, and $q$ must be of the form $re^{it}$ for some real $t$.

Thus the Hopf fiber of a point $P\in S^2$, can be described as $h^{-1}(P)= {r e^{it}}_{0\leq t\leq 2\pi}$ where $r$ is any quaternion in the fiber - if we know one such quaternion $r$, we know all of them!

In particular, the Hopf fiber contains the quaternions $r$ (for $t=0$), $-r$ (for $t=\pi$), $ri$ (for $t=\frac{\pi}{2}$) and $-ri$ (for $t=\frac{3\pi}{2})$. All points of the fiber, described by these quaternions, have distance 1 from the origin.

Thus the Hopf fiber is a great circle of $S^3$in a plane determined by the origin and the points $r$ and $ri$,

Can we determine axes for rotations taking $S$ to $P$? The axis of the rotation for $R_{r_1 e^{it}}$ can be obtained from the axis for $r_1$ by rotating it by an angle of $t$ (do you recall that multiplication of quaternions corresponds to combination of rotations?).

In the following applet, the axes for the rotations $R_1,R_2$ are shown in red where

- $R_1$ is the rotation with the axis bisecting $\overline{SP}$ and a rotation angle of $\pi$ and $R_2$ and
- $R_2$ is the rotation with the axis perpendicular to the plane $SOP$ and a rotation angle equal to the angle $SOP$.

The variable $t$ lets a point $R1'$ move around the sphere in a great circle, marking the axes of other rotations that take $S$ to $P$. Thus the red circle visualiizes the action of the rotation defined by the quaternion $r_1e^{it}$ on $S$ and $P$, with the respective quaternions cycling through the Hopf fiber of $P$.

Use the scrollbar of the input bar on the left and scroll up to the third object, being the variable $t$. Click on the ** Play** button to vary $t$ between 0 and $2\pi$. Change perspective - for example look at the north pole.

For Qcy, the situation is much more simple: $r_1$ and $r_2$ are points on $S^3$. Each $r_1e^{it}$ is on a circle of radius 1 around the origin in a plane spanned by $r_1$ and $r_2$. This is agreat circle of $S^3$.

** Side question:** On $S^3$ is there a

*Great Sphere*- similar to the great circle? A great sphere is a

**sphere of radius 1 around the origin, fully contained in the hull of $S^3$.**

*3-dimensional*Now we can envisage the following communication from us to Qcy:

- We move the starting point $S$ of our trackball $S^2$ to a position $P$
- We calculate a quaternion, say $r$, that describes a rotation moving $S$ to $P$ and transmit it to Qcy
- Qcy takes the coefficients of this quaternion as starting point for an expedition
- Then Qcy travels along the Hopf fiber as given by $r e^{it}$ $t$ between 0 and $2\pi$ until it reaches the $r$ again.

Then we can rotate our trackball a little further and send Qcy off to a new great circle.

*Can Qcy reach every point of $S^3$ this way, i. e . for a unit quaternion $s$, can you rotate the controller to a position wnich guides Qcy towards $s$?*

Yes, it can: If $a+bi+cj+dk$ is any quaternion, then the Hopf function $h(a,b,c,d)$ defines a position $P$ of the controller such that this quaternion is in the Hopf fiber of $P$.

*Summary:*

The Hopf fibration partitions $S^3$ into disjoint sets of great circles.

Each of these great circles (Hopf fiber) can be represented by the set of all quaternions of the form $r e^{it}$ for any unit quaternion $r$.from the fiber.

## The Downlink (Stereographic Projection)

How can we observe Qcy travelling? We use 2-dimensional maps to track a travel around the surface of the 3-dimensional earth. We can try, in the same way, to track Qcys travel on the 4-dimensional $S^3$ in a 3-dimensional "map". Since we know that Qcy shall go around in circles, it would be certainly hepful to use a mapping that visualizes Qcys circles on $S^3$ as circles in our world of $R^3$. Stereographic projection does just that. When the projection is from the north pole $N=(0,0,1)$, the stereographic projection is defined by $(x,y,z) \mapsto (\frac{x}{1-z},\frac{y}{1-z}).$

** Activity:** For which circles is the projection a straight line?

** Answer Hint:** What happens if the projected circle contains the source of the projection - the north pole?

As you may guess from the activity abobe, this stereographic projection sends circles in $S^2$ not containing the north pole to circles in the plane.

Stereographic projection can be generalized from mapping the 3-dimensional sphere $S^2$ (minus one point) 1-1 onto the plane $\R^2$ to mapping the 4-dimensional sphere $S^3$ (mnus one point) 1-1 onto the 3-dimensional space $\R^3$ by generalizing the definition above to $(w,x,y,z) \mapsto \left(\frac{x}{1-w}, \frac{y}{1-w}, \frac{z}{1-w}\right).\tag{4}$.

The only point that is not mapped is $(1,0,0,0)$. Of course, we would get similar results (with a bit more complicated calculations perhaps) by chosing another point than $(1,0,0,0)$ as the source of projection. Also this stereographic projection sends circles on $S^3$ not containing $(1,0,0,0)$ to circles in $\R^3$.

Since Hopf fibers are circles, their images will be too - or they will be a straight line if they contain $(1,0,0,0)$.

Stereographic projection sends $(1,0,0,0)$ to infinity and the Hopf fiber of a point $(x,y,z)$ contains $(1,0,0,0)$ - with 1 as corresponding quaternion - if and only if the identity rotation takes $S$ to $P$, i.e. $P=S=(1,0,0)$. Thus, the Hopf fiber of $(1,0,0)$ is the fiber that contains $(1,0,0,0)$. The quaternions in this fiber have the form $1\cdot e^{it}=\cos{t}+i\sin{t}$. Stereographic projection takes this quaternion to $(\frac{\sin{t}}{1-\cos{t}},0,0)$. As $t$ varies between $0$ and $2\pi$, these pomts fill the $x$-axis.

For pure quaternions, i.e. if $w=0$, the projection of $xi+yj+zk$ is $(x,y,z)$ and hence the unit sphere orthogonal to the vector $(1,0,0,0)$ is projected onto the unit sphere $S^2$.. That applies, in particular, to $r_1$ and $-r_1$ in the Hopf fibre of $P$. Thus the projection of the fiber of $P$ must contain two opposite points on the unit sphere $S^2$.

If $r_1=r_{1x}i+r_{1y}j+r_{1z}k$, then $r_2=-r_1i=r_{1x}-r_{1z}j-r_{1y}k$. 3 points determine a circle in $\R^3$. Hence the stereographic projection of the Hopf fiber of $P$ is the circle through $(r_{1x},r_{1y},r_{1,z})$, $(-r_{1x},-r_{1y},-r_{1,z})$ and $(0,\frac{-r_{1z}}{1-r_{1x}},\frac{-r_{1y}}{1-r_{1x}})$ - unless $r_{1x} = 1$, in which case $r_1=i$ and $r_2 = 1$, i.e. $r_2$ is the point $(1,0,0,0)$ from which we project and we are back in the case we just discussed.

These formulas for calculating the projections of $r_1,-r_1$ and $r_2$ are useful to calculate the stereographic projection of a Hopf fiber directly from the coefficients of a single pure quaternion $r$ from the fiber. The unit vector bisecting the angle $SOP$ provides such a quaternion $r_1$.

** Example:** Let us consider $P=(-1,0,0)$. Rotations of $S^2$ that take $S=(1,0,0)$ to $P$ must all have an angle of rotation of $\pi$ and their axes must lie in the $yz$-plane. The quaternions for these rotations are of the form $\cos{t}j+\sin{t}k$ and stereographic projection sends them to $(0,\cos{t},\sin{t})$ - the stereographic projection of the Hop fiber of $(-1,0,0)$ is the unit circle in the $yz$-plane!

If a fiber is projected to a proper circle, i.e. $r_{1x} \neq 1$, then the point $(0,\frac{-r_{1z}}{1-r_{1x}},\frac{-r_{1y}}{1-r_{1x}})$ of the projection of the fiber lies in the $yz$-plane. Therefore, each projection of a fiber which is not the $x$-axis must pass through the $yz$-plane.

*Summary:*

Stereographic projection maps $S^3$ - except $(1,0,0,0)$ - onto $\R^3$. It maps circles - in paricular Hopf fibers - to circles in $\R^3$.

The Hopf fiber of $S=(1,0,0)$ is projected onto the $x$-axis. The projection of each other fiber is a circle that passes at opposite points through the unit sphere $S^2$.

The projection of the Hopf fiber of $(-1,0,0)$ is the unit circle in the $yz$-plane.

The projection of each Hopf fiber has at least one point in the $yz$-plane.

## Exploring $S^3$

Now can we control Qcy on the $S^3$ planet and observe its movement. our controller is a point $P$ on the $S^2$ sphere. For each position of $P$, we can determine the quaternins $r_1,r_2$ each of these determines the Hopf fiber of $P$ - a great circle $r\cdot(\cos t + i \sin t)$. Qcy can explore the $S^3$ planet around this great circle and its movement can be observed on the stereographic projection of $S^3$ where we shall see it moving on a circle in our space.

The following applet shows the stereographic projection of the fiber of a point $P\in S^2$. The position of $P$ can be controlled by setting its latitude and longitude.

Experiment with various positions of $P$. After selecting a slider, you may increase/decrease the value with your cursor keys. What do you observe?

Experiment with switching animation for the sliders and tracking of the green circles on and of (right click on the respective item in the left bar to change).

With the red dot you may reveal the unit circle in the $yz$-plane as a further hint

You may have noted that the projection of each fiber passes twice through the $yz$-plane - once inside the unit circle in this plane and once outside - of course unless the fiber of $(1,0,0)$ or $(-1,0,0)$. Since the unit sphere of the $yz$-plane is a fiber and all fibers are similar, we may claim that any two circles, which are projections of a fiber, are linked. Similarly, the $x$-axis passes through every fiber projection.

The Hopf fibers fill the complete surface of $S^3$ and the image of $S^3$ under the stereographic projection is the complete $\R^3$ space. Thus the projections of all Hopf fibers are a set of interlinked circles that fill the complete $\R^3$-space and wind around the $x$-axis - something hard to imagine.

We add an applet by Michael Singer that also shows two interlinked projections of Hopf fibers. Varying $\alpha$ visualizes the transition from the fiber of $(-1,0,0)$ (unit circle in $y,z$-plane) to the fiber of $(1,0,0)$ ($x$-axis). Note the almost hidden animation buttons for $\alpha,\beta$.

A video by Niles Johnson showing the projected Hopf fibers for a series of point of $S^2$: Compare the position of the points with the shape of the projections!

The following cell is intentionally left blank for your own experiments.