Mathematics
Seeing the 3-Sphere
- Topology
- Quaternions
- Hopf fibration
In simple words
You cannot flatten an orange peel without tearing or stretching it, and yet every map of the Earth is flat. One old trick puts a lamp at the North Pole of a glass globe and looks at the shadow it throws on a sheet of glass. Every point of the globe gets its own spot, circles stay circles, and only the North Pole itself is lost, flung off to infinity.
The 3-sphere is the same kind of object one dimension up: the surface of a ball in four dimensions. We cannot see it directly, but the same lamp trick casts its shadow into our ordinary space, and then a surprise appears. The whole 3-sphere is woven from circles, and every one of them is linked with every other one exactly once, like two rings of a chain. It is not only pretty. The state of a quantum bit, the building block of a quantum computer, is a point on exactly this 3-sphere, and the same sphere hides in the way the planets go round the Sun and in the hydrogen atom. Start with the ordinary sphere below, then move on to the 3-sphere. Each demo has a guided tour.
A lamp at the north pole
Take the unit sphere , put a lamp at its north pole , and follow the ray from the lamp through a point of the sphere until it meets the equatorial plane. That is stereographic projection,
It is very old. The oldest treatise on it to survive is Ptolemy's Planisphere from the second century, and it is the mathematics behind the flat plates of the astrolabe, which carried a map of the sky for more than a thousand years [1]. The southern hemisphere lands inside the unit circle, the equator on it, and the northern hemisphere outside. The lamp itself has no image: it becomes a single point at infinity, and the plane is the sphere with one point missing.
Two properties make the map special. It preserves angles, so a small square on the sphere stays a square in the plane, only scaled by the factor : half size at the centre and larger without bound far out, which is why the regions near the lamp look so enlarged. And it sends every circle on the sphere to a circle in the plane, or to a straight line when the circle runs through the lamp. The parallel at angle from the north pole becomes a circle of radius around the origin, and the meridians, which all pass through the lamp, become straight lines through the origin. The left pane of the demo shows the plain shadow for comparison: light from far above, each point simply dropped to . There the two hemispheres land on top of each other, and tilted circles turn into ellipses.
Writing the plane as the complex numbers, , makes the map even more useful. Every rotation of the sphere becomes a fraction
A turn by the angle about the axis, for example, has and . Two remarks prepare the rest of the page. Fractions of the same kind, with more general coefficients, describe how the night sky looks to a traveller moving close to the speed of light, which is why a sphere flying past still looks round [2]. And the pair , four real numbers with squares adding up to one, is a point of the 3-sphere. Because the angle enters halved, a full turn changes into , the opposite point. The rotations of an ordinary sphere already live on the 3-sphere.
One dimension up
The 3-sphere is the set of points of four-dimensional space at distance one from the origin,
The natural coordinates on it are Hamilton's quaternions , with [3]. Hamilton found these rules on a walk along the Royal Canal in Dublin in October 1843 and carved them into the stone of Broom Bridge [4]. The quaternions of length one are exactly the points of , and each of them turns ordinary space:
a rotation by the angle about the axis . The demo shows in two ways at once. On the left is the shadow, the analogue of the plain shadow of the sphere: the 3-sphere is first turned in four dimensions with the three sliders for the , and planes, and then is dropped. The two halves and then fill the same solid ball on top of each other. On the right is the stereographic image of the same turned 3-sphere, from the pole ,
It fills all of ordinary space. The half with lands inside the unit ball, the equator on the unit sphere, and the pole goes to infinity, exactly as on the sphere one dimension down. Angles are preserved again, and circles on become circles or straight lines.
The red, green and blue circles are the great circles , and , rotations by the angle about the , and axes. All three pass through the pole, so on the right they become the three coordinate axes, meeting at the origin, the image of , and again at infinity. Follow the red circle from : halfway round, at , the rotation has made a full turn of 360°, yet the point has reached , the opposite end of , not . Only after two full turns does the circle close. Since and turn every vector in the same way, the difference is invisible for a rotating object, but not for a spin-½ particle, whose wavefunction is a point of this and changes sign after a full turn. Neutron interferometers measured that sign in 1975 [5][6].
A space woven from circles
Group the four coordinates into two complex numbers, and , with , and write them with three angles,
These are the three sliders of the demo, and the yellow point is . In 1931 Heinz Hopf found a map from the 3-sphere onto the ordinary sphere with a remarkable property [7]. In the demo it is , and in the three angles it reads
It depends on and on the difference only. Slide and forward together, which multiplies by , and runs around a great circle while its image on stays put. Every point of the ordinary sphere therefore has a whole circle of sitting above it, its fibre. Different points have different fibres, the fibres never meet, and together they fill the 3-sphere completely. This is the Hopf fibration. The highlighted circle in the demo is the fibre through , and the readout below the sliders shows its base point .
Keeping fixed and letting and run gives a torus, and on the right it becomes a ring torus around the axis,
It lies over one circle of latitude of , the one at height , which is the colour of its fibres in the demo. As grows the tori shrink: near a huge torus wraps tightly around the red line, at sits the Clifford torus, with radii and 1, which cuts into two equal solid tori, and as the torus thins down to the unit circle in the plane. The fibres on each torus are tilted circles that wind once around the hole and once around the tube. A ring torus carries exactly such slanted circles, discovered by Yvon Villarceau in 1848 [8], and the Hopf fibres are precisely those.
Now look at two of them. The fibre with is the red line, which passes through infinity, and the fibre with is the unit circle in the plane. The line runs straight through the middle of the circle: the two are linked. Every other fibre winds once around the hole of its torus and once around the tube, and with that, any two fibres of the Hopf fibration are linked exactly once, like two rings of a chain. This linking number, the Hopf invariant, is what Hopf used to prove that the map cannot be shrunk to a point, the first sign that spheres of higher dimension can wrap around lower ones in ways that cannot be undone [7].
Where physics lives on the 3-sphere
The 3-sphere and its Hopf fibration turn up all over physics [9]. Three places stand out, each more surprising than the one before.
A quantum bit
The most direct case is a single quantum bit. Its state is a pair of complex amplitudes, , with : a point of . Multiplying the state by an overall phase changes no prediction of quantum mechanics, so all the points of one Hopf fibre describe the same physical state, and the physical states are the points of the base sphere. That base sphere is the Bloch sphere, and the Hopf map is the Bloch vector [10]. With the amplitudes of the demo,
so the colour of each torus is the difference between the probabilities of finding the qubit in and in , and sliding the yellow point along its fibre changes the global phase and nothing else.
The Kepler problem
A planet around the Sun moves under , with . Besides the energy and the angular momentum , it keeps a third, less famous quantity fixed, the Laplace–Runge–Lenz vector
It points from the Sun to the perihelion, the point of closest approach, and its length is , with the eccentricity of the orbit [11]. Because never moves, the orbit closes on itself: an ellipse that comes back to the same place forever. Any small extra force sets turning, and the ellipse slowly rotates. For Mercury the corrections of general relativity turn it by 43 arcseconds per century, the number Einstein computed in 1915 [12].
At a fixed negative energy , the angular momentum and the rescaled vector close among themselves,
the Poisson brackets of the six rotations of four-dimensional space [11]. Three of them are the ordinary rotations. The other three turn an orbit into another of the same energy but a different eccentricity, a circle into a long thin ellipse, which is why all orbits of one energy share the same period whatever their shape, as Kepler's third law says. A symmetry made of four-dimensional rotations needs a 3-sphere to turn, and there is one.
Hamilton noticed in 1847 that the momentum of a body on a Kepler orbit runs around a circle, which he called the hodograph [13]. For an orbit with angular momentum and eccentricity , the circle has radius , and its centre lies a distance from the origin. Now treat momentum space as the space of the right-hand picture, measured in units of , and run the projection of the demo backwards, . Stereographic projection turns circles into circles, so every hodograph becomes a circle on . It is even a great circle, because a circle becomes a great circle exactly when it cuts the unit sphere, the image of the equator, at two opposite points, and for every Kepler orbit
The Kepler orbits of one energy are the great circles of a 3-sphere, and the hidden symmetry is simply the rotation group of that sphere [14]. Moser made the picture exact: after a change of the time variable, Kepler motion becomes uniform motion along these great circles [15]. A body falling straight into the Sun has a momentum that grows without bound at the collision, so its great circle runs through the pole. The point at infinity of the demo is the moment of collision, and on the sphere it is an ordinary point that the motion passes straight through. Kustaanheimo and Stiefel reached the same goal another way. They lifted three-dimensional space to four with the Hopf map itself, stretched out radially, and the Kepler problem became a four-dimensional harmonic oscillator, which runs smoothly through every collision [16]. Checked numerically for eccentricities up to 0.99, every momentum along an orbit lands on its great circle to within . Add a third body and all of this is lost: no Runge–Lenz vector is conserved any more, and the motion turns chaotic, as the three-body page shows.
The hydrogen atom
The hydrogen atom has the same Hamiltonian, with for the pull between electron and proton, and the hidden symmetry survives quantum mechanics. The energy levels depend on the principal quantum number alone, and level holds states, more than ordinary rotations can explain. In early 1926 Pauli derived the spectrum from the quantum version of the Runge–Lenz vector, before wave mechanics had solved it [17]. The combinations behave like two independent angular momenta of the same size , because , so the states of one level come in copies, and the algebra fixes the energy,
Nine years later Fock found the 3-sphere behind the algebra [18]. He applied the same map as above, momentum space onto a 3-sphere at the scale , to the wavefunction in momentum space, and the Schrödinger equation became the equation for the spherical harmonics of . The states of level are the harmonics of degree , and Bargmann showed the following year that Pauli's algebra and Fock's sphere are one and the same symmetry [19]. The orbits of the planets and the levels of hydrogen are two views of one rotating 3-sphere.
Real hydrogen breaks the symmetry a little, just as real planets do. Relativity and the spin of the electron split each level according to its total angular momentum, and in 1947 Lamb and Retherford found that the 2s₁/₂ and 2p₁/₂ states, which Dirac's theory puts at exactly the same energy, differ by about a gigahertz [20]. Like the slow turning of Mercury's orbit, the small splitting measures how far nature departs from a perfect force.
Inside the code
The projection itself is a single division. The only care needed is at the pole, which has no image, and near it, where images run off far beyond the screen:
// Stereographic image of a point u of S³ (after the 4D view rotation).
// At the pole there is no image: that point has gone to infinity.
function stereoInto(u, out, o) {
const d = 1 - pole * u[0]; // 1 − w from N, 1 + w from S
if (!(d > POLE_EPS)) return false;
const x = u[1] / d, y = u[2] / d, z = u[3] / d;
if (x * x + y * y + z * z > CLIP * CLIP) return false;
out[o] = x; out[o + 1] = y; out[o + 2] = z;
return true;
}Every curve, a great circle, a fibre or a coordinate circle, is evaluated once per point and drawn in both panes. A circle through the pole has one point at infinity, and connecting the samples on either side of it would draw a false chord across the picture, so such segments are skipped:
// One evaluation of each curve feeds both pictures. On the right a segment
// is drawn only if both of its ends have an image, so a circle through the
// pole opens into a line instead of a chord across the whole picture.
for (let k = 0; k <= segs; k++) {
param((2 * Math.PI * k) / segs, P); // a point of S³
const u = view(P); // turned in four dimensions
shadow[o] = u[1]; shadow[o + 1] = u[2]; shadow[o + 2] = u[3]; // drop w
const ok = stereoInto(u, stereo, o);
if (k > 0) {
left.segment(shadow, prev, shadow, o);
if (ok && okBefore) right.segment(stereo, prev, stereo, o);
}
okBefore = ok;
}The fibres are drawn straight from their definition, as the circles along which and advance together:
// The Hopf fibres on the torus μ: ξ runs once around and η = ξ + d follows,
// one circle for each offset d. Each is the orbit e^{it} q of a point q.
for (let j = 0; j < perTorus; j++) {
const d = (2 * Math.PI * j) / perTorus;
family.curve((t, P) => {
P[0] = c * Math.cos(t); P[1] = c * Math.sin(t); // z1 = cos μ e^{iξ}
P[2] = s * Math.cos(t + d); P[3] = s * Math.sin(t + d); // z2 = sin μ e^{iη}
}, segs, color);
}The option Random points on scatters up to 20,000 points uniformly over the 3-sphere, using the fact that a vector of independent Gaussians points in a uniformly random direction:
// Uniform random points on S³: four independent Gaussians, normalized.
// The Gaussian looks the same in every direction, so the direction is
// uniform. Normalizing points of a cube would crowd them toward its corners.
for (let k = 0; k < 4; k++) { v[k] = randn(); len += v[k] * v[k]; }
len = Math.sqrt(len);
for (let k = 0; k < 4; k++) out[4 * i + k] = v[k] / len;The cloud is a good check on the geometry. On the right exactly half of the points land inside the unit ball, the image of the half . On the left they crowd toward the rim of the ball, where the 3-sphere is seen edge on: 54% of them fall in the outer shell beyond radius 0.9, which holds only 27% of the volume. Both numbers are checked in the tests of the site.
Try it yourself
Both demos open full screen with the buttons above, and each has a guided tour that sets the scene for every step. On the sphere, drag θ toward 0 and watch the point race off to infinity as it nears the lamp, then switch the projection to the south pole and see the inside and the outside of the unit circle swap. Tilt the sphere with the (z, x) slider: in the shadow the circles squash into ellipses, while on the right they stay round.
On the 3-sphere, change ξ and then η by the same amount. The yellow point slides along its highlighted fibre, and the base point below the sliders does not change. Drag μ to 0 and the fibre through the point straightens into the red line, drag it to π/2 and it becomes the unit circle in the yz plane, and at π/4 it lies on the Clifford torus, the middle one of the three tori drawn. Then press Run with the (w, x) rotation ticked. The whole picture turns in four dimensions, and the tori stream out through the point at infinity and come back from the other side, something no rotation of ordinary space could do. Finally, add 20,000 random points and compare the two panes, the dense core fading outward on the right and the bright rim on the left.
References
- [1] N. Sidoli and J. L. Berggren, The Arabic version of Ptolemy’s Planisphere or Flattening the Surface of the Sphere: text, translation, commentary, SCIAMVS 8, 37 (2007).
- [2] R. Penrose, The apparent shape of a relativistically moving sphere, Proc. Cambridge Philos. Soc. 55, 137 (1959).
- [3] W. R. Hamilton, On quaternions; or on a new system of imaginaries in algebra, Phil. Mag. (3rd series) 25, 10 (1844).
- [4] D. R. Wilkins, Hamilton’s research on quaternions, School of Mathematics, Trinity College Dublin.
- [5] H. Rauch, A. Zeilinger, G. Badurek, A. Wilfing, W. Bauspiess, and U. Bonse, Verification of coherent spinor rotation of fermions, Phys. Lett. A 54, 425 (1975).
- [6] S. A. Werner, R. Colella, A. W. Overhauser, and C. F. Eagen, Observation of the phase shift of a neutron due to precession in a magnetic field, Phys. Rev. Lett. 35, 1053 (1975).
- [7] H. Hopf, Über die Abbildungen der dreidimensionalen Sphäre auf die Kugelfläche, Math. Ann. 104, 637 (1931).
- [8] Y. Villarceau, Théorème sur le tore, Nouv. Ann. Math. 7, 345 (1848).
- [9] H. K. Urbantke, The Hopf fibration: seven times in physics, J. Geom. Phys. 46, 125 (2003).
- [10] R. Mosseri and R. Dandoloff, Geometry of entangled states, Bloch spheres and Hopf fibrations, J. Phys. A 34, 10243 (2001).
- [11] H. Goldstein, C. Poole, and J. Safko, Classical Mechanics, 3rd ed. (Addison-Wesley, San Francisco, 2002).
- [12] A. Einstein, Erklärung der Perihelbewegung des Merkur aus der allgemeinen Relativitätstheorie, Sitzungsber. Preuss. Akad. Wiss., 831 (1915).
- [13] W. R. Hamilton, The hodograph, or a new method of expressing in symbolical language the Newtonian law of attraction, Proc. R. Irish Acad. 3, 344 (1847).
- [14] J. Milnor, On the geometry of the Kepler problem, Amer. Math. Monthly 90, 353 (1983).
- [15] J. Moser, Regularization of Kepler’s problem and the averaging method on a manifold, Commun. Pure Appl. Math. 23, 609 (1970).
- [16] P. Kustaanheimo and E. Stiefel, Perturbation theory of Kepler motion based on spinor regularization, J. Reine Angew. Math. 218, 204 (1965).
- [17] W. Pauli, Über das Wasserstoffspektrum vom Standpunkt der neuen Quantenmechanik, Z. Phys. 36, 336 (1926).
- [18] V. Fock, Zur Theorie des Wasserstoffatoms, Z. Phys. 98, 145 (1935).
- [19] V. Bargmann, Zur Theorie des Wasserstoffatoms, Z. Phys. 99, 576 (1936).
- [20] W. E. Lamb and R. C. Retherford, Fine structure of the hydrogen atom by a microwave method, Phys. Rev. 72, 241 (1947).