This is a repost (lightly edited) of a post that I wrote in February 2024 that got lost in the long dark teatime of the soul that ensued in the interim.
Spaces of constant curvature
In this post, I want to kind of bring together the theme of curvature and the theme of affine or projective geometry. My goal is to introduce the spaces of constant curvature in a unified way as subspaces of Euclidean space and explore their symmetries as groups of matrices.
The -sphere in
Do you remember the equation for the unit circle?
This is a $1$-dimensional object living in the plane , also affectionately known as , and we can easily generalize this equation to as
The set of points satisfying this equation make up the -sphere sitting inside . For like, precisely two values of , we know what to expect: the unit circle in , and the unit sphere in . It’s a joy to imagine what the unit -sphere feels like for other values of . For example, there ought to be a “-sphere” sitting in , and indeed there is: the two points such that .
Or the -sphere, which is somehow like and unlike -dimensional space. I won’t push you too hard here, but if you want a brain-twister, try this on: If you take two disks (2-dimensional filled-in circles), say made out of plastic or silly putty, and imagined gluing or sewing them together along their boundary circle and then inflating them, you’d end up with a 2-dimensional sphere, or at least, something which you could reasonably expect to mold into the right shape. This actually generalizes: to go down a dimension, you’d be gluing two intervals along their boundary points to obtain the circle . To go up a dimension and get , you’d take two balls (3-dimensional filled-in spheres) and somehow glue their outsides together. You can’t do this in reality, but it sure makes for something fun to try and think about correctly!
Ah, the above was what I wrote just now in 2026, but I appear to have written still another funny brain-bender back in 2024, so here goes:
If you’ll permit me an aside, here is my favorite way to think of the -sphere; actually it works for arbitrary, but for 3 I can really picture something if I wrack my brain a little. Let’s go back to the circle: pick a point on the circle, like say the point , and throw it away. What you’re left with, if you kind of sit with it for a moment, is kind of like an open interval in , just curled up funny. Actually, you can do something pretty neat with these leftover points, called stereographic projection. Imagine you’re a little surveyor standing at the point in , and for each other point on the circle, it’s your job to draw the straight line from to and extend it from a line segment to a whole ray. And then second, note down where that line hits the -axis.
An equation for an arbitrary point on this line is , so the point on the line will be such that and . This latter equation implies that , so .
In dimensions, the equation for the line becomes
and the point on the hyperplane is
Anyway, it’s clear that we can reverse this process: for any point on the hyperplane , there is a unique point on the unit -sphere such that stereographic projection from yields . As the point gets closer and closer to , the point goes “off to infinity”. Thus, one way to think of the -sphere is like -dimensional space with one extra point at infinity that “wraps it all up” just like the circle is the real line (that open interval) wrapped up with one extra point.
Linear transformations and isometries
One conceit of this post is that we love matrix multiplication. Consider a linear transformation of , or equivalently an matrix. We want two things to happen: first our transformation (or matrix ) should be invertible in the sense that we can undo it. If you remember linear algebra, you might know that this comes down to asking that the determinant of is nonzero.
The other thing we want to have happen is that the matrix sends the unit sphere to itself. For this it helps to realize that the equation has a vector interpretation: if , we have that the coordinates of satisfy the equation for the unit sphere if and only if the dot product satisfies
This dot product may also be expressed as a matrix product , where we think of as an column vector and its transpose as the corresponding row vector.
For later, I want to point out the sneaky fact that we can put in any between and and we’ll still end up with a number. We’ll stick with the identity matrix for now.
Anyway, this actually helps us figure out what we want: is also a column vector, and so for it to belong to the unit sphere, we want
This turns out to happen for every choice of just when , where is the identity matrix with 1s on the main diagonal and 0s elsewhere. Actually this implies that is invertible, and furthermore that as well, so that is the inverse of .
Let’s suppose we’re working with the unit circle in and that we have a symmetry which sends the point to . A neat linear algebra fact is that this means that the first column of is ! Since we need , if the other column is , we compute
Since , one of or is nonzero, so we can divide by it to see that (supposing it is )
Then implies , so (doing some tricksy algebra) . So either , in which case , or , in which case . That is, there are exactly two choices for ,
These are distinguished by the sign of their determinant or equivalently by whether they preserve or reverse orientation, meaning that one of them is more like a rotation, while the other is like a rotation followed by a flip.
Metrics
There are two ways to think of the -sphere as a metric space. The first is to restrict the metric from Euclidean space to the sphere. This works fine, but is a little weird: the distance on the circle from to would be their Euclidean distance , but the actual shortest path on the circle between these points is longer; in fact it has length equal to the arc length of the quarter circle it traces out. Since we “know” that the perimeter of a circle is times its radius, we should expect the distance on the circle between and to be .
This latter distance, measuring the angle between and is connected to their dot product. For the unit sphere in general, we have that this angle satisfies
(The formula holds in general if you additionally divide out the norms of and , which is unnecessary for our unit vectors.) Anyway, this distance,
is called the round metric on the unit sphere. In a post which has yet to be restored to this blog, we computed that the sectional curvature of this metric is constant and equal to 1.
Euclidean space
In previous posts which have yet to be restored to this blog, we saw that affine subspaces of may be productively thought of as linear subspaces of . If are affinely independent points in , they are a basis for the linear subspace of spanned by the vectors , where ; that is, the 0th coordinate of is 1 and the others are what they are in . One reason for setting the first coordinate to something nonzero is that if one of the is the origin, thinking of it as a vector by adding a 0 is unproductive, since the zero vector is never part of a linearly independent set.
Thus the line in through the points and corresponds to the linear subspace (a plane) in spanned by the vectors and . Indeed, when you look at this plane in , the places where it slices through the affine plane forms a line which passes through our given points.
If we take a column vector and a matrix , the first coordinate of the vector is the dot product of and the first row of (interpreted as a column vector for you sticklers). In other words, if the first row of is , we have that the last coordinate of is
Supposing that determines a point on the affine plane . For to preserve this property, we see that we must have while . In other words, we can write in block form as
where is a matrix, is a column vector, and is the all-zeroes row vector. Invertible matrices of this form are part of the affine group. This happens if and only if is invertible.
To be a rigid motion of Euclidean space, we want distances to be preserved. Recall that the distance between vectors and is
For vectors on the affine plane , the distance between vectors corresponds to the usual Euclidean distance between points, since the subtraction of vectors means the presence or absence of does not change the calculation.
Doing a little matrix multiplication, we see that in dimensions, the image of the vector under as notated above is . Therefore the matrix will preserve distances on the hyperplane just when the matrix satisfies
for all -dimensional column vectors and . In other words, the matrix turns out to be exactly one of the matrices from the previous section! That’s pretty neat.
Before going on, I want to point out one more thing: since , doing block matrix multiplication, we see that
So a matrix preserving the affine hyperplane is a rigid motion of Euclidean space if and only if it satisfies , where is that funky block matrix in the middle above.
Hyperbolic space
Okay, this one is slightly weird but very very cool. Earlier, we stipulated that an matrix belonged to the symmetry group of when it satisfied the equation . Crucially for the analogy I am making, the identity matrix has first diagonal entry 1. Just now, we saw that if we replace with the matrix which is diagonal with a 0 in the first diagonal entry and 1s otherwise, we get the rigid motions of Euclidean space thought of as an affine hyperplane (provided we also preserve the hyperplane). The curvature of Euclidean space is 0. It’s extremely tempting, therefore, to see what happens when we let the first diagonal entry be !
So let be the diagonal matrix with first entry and all other diagonal entries , and suppose that satisfies . Notice that preserves the (one-sheeted) hyperboloid comprising those points in satisfying
these are the vectors for which . But it actually also preserves the two-sheeted hyperboloid
One reason to prefer the two-sheeted hyperboloid is that it doesn’t have a “hole”, and another is that the two-sheeted hyperboloid contains the point , just as the sphere and the affine plane do.
Since the matrix is invertible, the equation implies that is invertible (this was not automatic for above). The group of matrices satisfying this equation is kind of curious: an element of this group may swap the two sheets of the hyperboloid, or it may fix them. Let’s suppose it fixes them, so that implies .
Just as we found the round metric on the -sphere in , it would be nice to have a formula for the distance between two points on the hyperboloid. It’s a little tough to know precisely what we’re asking for here, but one reasonable thing to ask would be for linear subspaces of to intersect one sheet of the hyperboloid in a convex set.
Let’s start in . Then the hyperbola is the set of points satisfying and . There are many ways to parametrize the hyperbola, but I’d like to argue that the best one is maybe the weirdest:
The functions and are pronounced “kosh” (like as in “Oshkosh”) and “cinch” (like as in “it’ll be a cinch!” or if you say “sin” and follow it with a “ch” to make it rhyme with “clinch”), and you maybe met them once upon a time in Calculus. They’re defined as
Let’s do a little math, shall we? Notice that first of all if we write , we can compute
This, and the calculation shows that we really do parametrize the upper sheet of the hyperboloid.
The reason I prefer this parametrization is that the derivative of is (one checks) and vice versa. Thus the velocity vector of the curve is the unit vector when we use as our funky way of measuring norms.
This is significant, because it says that with respect to this Minkowski norm, the curve is parametrized by arc length, so it makes sense to define the distance between two points and on the hyperbola as !
Doing a little computation, note that we have
In fact this generalizes: the distance between and is .
As it turns out, this metric on the hyperboloid turns it into a Riemannian manifold of dimension and constant sectional curvature . Since the embedding of the hyperboloid into is not isometric (in the sense of Riemannian geometry, when has the ordinary Riemannian metric), we can’t compute this directly from the definition of the hyperboloid, so the curvature tensor turns out to be actually useful.
There’s so much to say here (for one thing, I didn’t even sketch the computation above), but this post is long in the tooth as it is, so I’ll sign off here.