Beautiful Link: Mapping Class Groups, Teichmuller Spaces and Hyperbolic Surfaces.

January 14, 2018

I asked Kasra Rafi about the link between hyperbolic surfaces, Teichmüller spaces and Mapping Class Groups with the goal of getting an intuitive overview of these concepts. During the span of several office hours, he generously replied with a beautiful torus story linking the three, which I adapt and fill in below.

Quick recap of definitions

Hyperbolic surface: A topological surface endowed with a hyperbolic metric such that the space has constant negative curvature. Recall from differential geometry that for Riemann surface with metric where , the curvature is given by Adapted from Hyperbolic Geometry by Caroline Series and Wikipedia.

Teichmüller space: Let S be a compact surface. The Teichmüller space is the set of isotopy classes of complex structures on . By a complex structure on , we mean a fixed homeomorphism , where is a metrized surface with distinguished curves. Equivalently, is a space that parametrizes complex structures on up to the action of homeomorphisms that are isotopic to the identity. We may record the complex structure by the triple . The homeomorphism is referred to as a marking which has named curves, and either or can be referred to as a marked surface.Adapted from A Primer on Mapping Class Groups by Farb and Margalit and Wikipedia.

Mapping class group: The group of orientation-preserving homeomorphisms of a surface up to isotopy, where the group structure is inherited from functional composition of homeomorphisms. In other words, .where are homeomorphisms isotopic to the identity. The group multiplication of the mapping class group of gives it a natural action on the Teichmüller space of by composition of homeomorphisms.Adapted from A Primer on Mapping Class Groups by Farb and Margalit and Wikipedia.

At first glance, these seem tricky and confusing – let’s see what they mean in the context of one example.

A humble beginning with lattices

Our story starts with a simple problem. We can define a lattice in to be an injective homomorphism from .

We will be calling the two vectors defining a lattice the *basis* of the lattice. In the picture above, the left (green) represents the linear map $$\{(1,0), (0,1)\} \mapsto \{(1,0), (0,1)\}$$ and the right represents the linear map $$ \{(1,0), (0,1)\} \mapsto \{(1,0), (1,1)\}.$$

Key idea: Up to what should these maps be equivalent? What is a good notion of equivalence to use?

One way to interpret this question is to define up to equivalence maps which have the same images. For example, the linear map and the linear map have the same image, which is

Picture illustrating how the two maps have the same image as they span the same lattice points.

On the other hand, the linear map (in blue) does not have the same image as the other two (in brown). For example, the point (in pink) is not in the image of the linear map.

In blue: the parallelogram formed by vectors $${(2,0), (1,2)}.$$ In brown: the tesselation formed by the previous lattice. In pink: points not covered by the blue tesselation that are covered in the brown tesselation.

Already, we have a new notion of equivalence. Since we can choose to care about only the span of the image of the chosen basis elements for , two maps could be equivalent under change of basis which preserves the span of the image. Thus, an equivalence of maps from must necessarily be area preserving (so that both base and height are in the domain as fractions are not allowed). IF we choose to preserve orientation,which we will (spoiler alert!) because we will want to associate each lattice with a marked torus, and a torus is an oriented surface. the group acting on these maps must be the special linear group of two-dimensional integer matrices with determinant .

Picture illustrating how $$\text{SL}_2(\mathbb{Z})$$ works on bases of $$\mathbb{Z}^2$$ the domain of the lattice maps. The map pictured here is the natural embedding (in blue) of $$\mathbb{Z}^2$$ into $$\mathbb{R}^2,$$ but it could be anything that is an injective linear map.

is also known as the mapping class group of the torus. What torus? How do we get there?

Torus time!

Since each parallelogram is exactly the same in a given lattice, it doesn’t matter which one we pick as a representative!

Map each lattice to a single parallelogram representative.

Under the assumption that all parallelograms in a given lattice is the same, we may identify the sides of the parallelograms accordingly. The resulting surface is a torus identified with a particular lattice .

Key idea: How do we transfer the equivalence relation between parallelograms onto its torus representative?

Unfortunately, genus 1 tori are all the same as topological spaces, which we write as . Since there is only one equivalence class for genus 1 tori under homeomorphisms, we will need finer notion of equivalence to get “interesting” equivalence classes”.

Scale equivalence and action

Notice we have only talked about equivalence in the domain space . In the image space, the completeness of allows for richer equivalences.

Indeed, maybe instead of the image of maps being the distinguishing factor, we only care about the shape of the parallelograms in the lattice. That translates to equivalences up to scaling and rotation. Notice that both are features that we think of as invariant in a torus. These equivalences will lead us to the Teichmüller space of the torus. Notice

Let’s start with scaling and see what natural group action arises from it. If we decide to mod the lattices by a scaling factor, we may consider only the set of lattices whose parallelograms have area .Imagine stretching your parallelogram freely until you get area .

Scaling our parallelogram to have area $$1$$.

Then, the group acting on parallelograms with area is , the special linear group of two-dimensional real matrices with determinant .

Diagram showing where $$\text{SL}_2(\mathbb{R})$$ acts.

Rotation and identification of torus with point in upper half-plane

For a given set of two vectors in , we may rotate a parallelograms such that the second basis vector is always in the upper half-plane. This does not change the torus we are looking at and neither does the scaling.

We may represent our two-dimensional space as the complex plane. Then, then since the vector $$v$$ can always be rotated to be on the upper half-plane, we may uniquely identify our torus with the rotated coordinates of our vector $$v = \tau = a + bi,$$ assuming the torus has area $$1.$$

The group action of on the image of the lattice becomes where is the group of two-dimensional rotation.

Due to our equivalence of parallelograms being up to rotation and scale, we can fix our first basis vector to be of length lying on the real-axis. We may then uniquely identify each representative of our equivalence class by the coordinates of the second basis vector, which we will refer to as the parameter in the complex upper half-plane.

Possible point of confusion: Are irrational coordinates allowed?

Irrational coordinates are allowed by definition. The domain of the action should not be confused with that of .

The Teichmüller space of the torus

The space of possible coordinates of which uniquely identifies a torus under our new equivalence is exactly the Teichmüller space of the torus. Thus , the complex upper half-plane.

Note: From the identification of the complex upper half-plane to this (Teichmüller) space of tori, we inherit the hyperbolic metric , which gives a useful notion of distance between tori in the Teichmüller space (for reasons not explored here).

But how do we make sense of that? In the definition of the Teichmüller space, there was mention of distinguished curves and markings, and of mapping class group action…

This concludes the first part of this post (yay! We did it!). In the second part, we will explore markings of the torus, the mapping class group and tie all the previous concepts we explored together. If you were new to the material, this is a good break point.

Markings on a torus

Let’s start with an example.

As seen previously, the maps which embed the bases (in green) and (in pink) have the same image, so one could consider them the same as maps. However, if we ‘mark’ the resulting torus by the curves they embed, they become different as marked tori.

Shortest curves in blue on the green torus, which both correspond with the generators of the fundamental group (the edges of the square).
Shortest curves in blue on the pink torus, where only one correspond with the generators of the fundamental group (the edges of the pink parallelogram).

Indeed, the green basis maps to the shortest curves on the torus, whereas the pink basis maps the second vector to a curve that is not the shortest.

A torus is fundamentally a product of two circles . If you have a parallelogram with identified edges, you have infinitely many circles to choose from. The standard two circles (in blue) are supposed to represent the shortest two loops on any torus. As the blue curves illustrate, the shortest curves are not necessarily always the curves you pick to generate your torus (ex: pink torus).

Here are different interpretations of markings.

Topological definition

Let be two circles, and let be the genus surfaces generated by .

In our examples, such an would be a fixed parallelogram in with the sides identified - let’s take to be a square with sides for simplicity. The horizontal sides of would correspond to and the vertical sides to .

A marking of the torus is a orientation-preserving homeomorphism from to a Riemann surface where is fixed by once-intersecting simple closed curve on such that .

In the pink torus example, is the pink torus and are the pink curves, and they are the (non-standard) generators the fundamental group . The blue curves represent the standard generators of . The map sending the parallelogram to the pink torus is the homeomorphism map from to . The green torus example is similar, except that the green curves coincide with the blue curves because they are the standard generators of the fundamental group.

We say that and are equivalent as markings if there is an isometry between the homeomorphisms , such that is isotopic (or homotopic) to the identity.

An example of such a homeomorphism isotopic to the identity is “introducing a wiggle” to a curve. Indeed, two curves as isotopic if they bound a disk. The proof relies on the “Alexander trick” on a disk, which can be generalized to prove isotopies of hyperbolic surfaces. (More in A Primer of Mapping Class Groups section 2.2.)

A non-example of a homeomorphism homotopic to the identity is a Dehn twist, which consists of cutting, rotating and gluing back.

The markings of green and pink tori differ because the pink marking has a Dehn twist. (Scroll up!)

Schwartz’s Mostly Surfaces Chapter 20 offers good coverage of this point of view.

Group theoretic connection

We may consider different choices of curves representing the generators of the fundamental group as different markings of the torus.Note: emphasis on choice of curves, not the generators themselves.

Let be the green torus with green distinguished curves and the pink one with pink curves. Then . For the green torus, we have picked (the distinguished curves are the standard elements of the fundamental group as we expect). For the pink torus, we pick the pink curves to represent, .

If we go back to thinking of the marked tori as parallelograms in and then are markings as different choices of bases of which we identify with arrows.

Interesting combinational fact

Let be the torus identified with the distinguished curves of rational slope . In general, slopes need not be rational as the Teichmüller space admits irrational coordinates. But let’s stick to rational slopes for the sake of the interesting result that will follow.

We may re-shape the torus such that the distinguished curves lie at the center of the square-looking torus.

In this example, $$\text{slope}(\alpha) = 2/1, \text{slope}(\beta) = 2/1$$.

Then, we may lift torus to its universal cover along with the distinguished curves, such that a unit square is a copy of the square torus, and the distinguished curves become segments from to and respectively.

In this example, $$(q,p) = (1,2), (r,s) = (2, 1).$$

We are interested in knowing how many lattice points there are on the on the curves , as these correspond to the number of intersection points . The interior lattice points biject to the intersection points via redrawing the distinguished slopes (see below)

In our example, the number of intersection point is clearly by inspection.

Added green dots illustrate the bijection. Note: The bijection took me a while to get.

Using Pick’s theorem, the area of a parellogram is given by where is the number of interior points and is the number of points on the boundary. Some interior points, will biject (from our previous correspondance) to points on the boundary. Since we don’t want to double count for degenerate cases, we say that there are points on the boundary which are the corners of the parallelogram – the rest will be counted by .

Example of double counting of points on the boundary. The lift of $$\beta$$ has a lattice point on its at (1,0), which is already counted by the green interior point.

Thus, the number of intersection points in the interior of the lattice is given by

Now, , since the number of intersections is one plus the number of interior points by the argument above. Thus

This number is also known as the algebraic intersection of the torus.algebraic as opposed to geometric. Algebraic intersection numbers are oriented whereas geometric intersection numbers are not.

Punchline A torus has intersection number if and only if it’s determinant is !

Mapping Class Group of the Torus

The Mapping class group of the torus is . It is well-known that are generated by the elementsNot that I knew lol. Prof. Rafi subsequently remarked that the operations which do not change the determinant are adding one row with one another, and switching two rows, which is exactly what these two matrices represent. Now we know :)!

This is the change of basis group for that we have hinted at at the beginning. It has a natural action on the Teichmüller space, as we will see in the next section.

For now, we are going to offer a few interpretations of the action of the mapping class group as relating to the torus itself.

Note: Computing the mapping class group. Roughly speaking, the mapping class group can be computed using a variant of the Alexander method on the annulus. We are not going to do this here. Farb and Margalit do this in Primer to Mapping Class Groups section 2.2. There will be more references on this at the end.

Group Theoretic

Each element of the mapping class group takes the standard basis to a to unique basis of . Equivalently, the mapping class group acts faithfully on the isomorphism maps between .


The action of the map is given by natural the composition of the homeomorphism on the homeomorphisms given by the markings.

corresponds to making a Dehn twist on the second generator,

whereas the interchanges the markings and reverses the direction of one of them.

At first, these maps can seem odd and difficult to picture as homeomorphisms compared to our vanilla interpretations of homeomorphism (at least in the homotop sense which we are used to when we picture a cup changing into a donut), and made me doubt they were actual homeomorphismsso continuous and bijective but then we realize that’s because the mapping class group is exactly the homeomorphisms which are not isotopic to the identity!

Then, I remembered the torus vs its embedding in three-space. Viewing the tori as what they actually are, which is the cross-section of two circles, the continuity and bijectivity of the maps are clearer.

This map is continuous since every small variation in its image is induced by a small variation in its domain. It is bijective since it has an inverse, which is marking an arc in the opposite direction on the second coordinate. Note that this picture is misleading since the domain is over integers, not continuous circles. Thus, there are no arcs that don't form a loop such as the purple one (that is drawn for intuition).


(Nice connection with Farey graph)

Perhaps the most beautiful connection,

form an edge on the Farey graph. acts on the graph in the following way.

which we interpret as


The first generators sends the edge and so on. The second generator inverts the direction of the edge.

Picture illustrating the action of the MCG on the Farey graph. The orientation of the arrow indicates which vertex stays fixed at each step.

If we applied the second generator we would start with and so on.

Picture illustrating the action of the MCG on the Farey graph. The orientation of the arrow indicates which vertex stays fixed at each step.

This is beautifully illustrated on the Farey graph, where .


Picture illustrating the action of the MCG on the Farey graph. The orientation of the arrow indicates which vertex stays fixed at each step.

With these pictures, it is easy to see that the action of the mapping class group is transitive on the Farey graph.

Possible point of confusion: Are irrational slopes not markings since they are elements of the Teichmuller space? Shouldn’t the mapping class group act transitively on those too?

I was confused about this for a while. Yes, the irrational slopes are also markings since they have representative in , which is the space of markings. They do not correspond to an element of the mapping class group in the sense there is no bijection between an element of the MCG and an irrational basis in the edges of the Farey graph like there is for rational bases (by sending to the element mapping .)

Indeed, the mapping class group has a natural action on the Teichmüller space (say by adding a Dehn twist to a marking or inverting the markings), but its definition is first and foremost a topological definition relating to classes of orientation-preserving homeomorphisms. It’s very easy to confuse the mapping class group with the group permuting the markings, but it is not. The group acting transitively the markings for the torus is ,while the mapping class group is , which does have a natural action on the Teichmüller space, as we will see in the last section.

Note on Moduli Spaces

You may be wondering what’s left of ** once we mod by the action of . That is precisely what the moduli space of the torus is.The moduli space of the torus is given by the Teichmüller space modulo the action of the mapping class group.

The tori with basis and we saw at the beginning have different parameters ( and respectively) and thus are distinct as points in the Teichmüller space. However, they represent the same point in the moduli space of the torus because they differ by a Dehn twist.

To come back to the previous possible point of confusion, if the MCG acted transitively on the Teichmüller, then the moduli space would be trivial. Instead, it is represented by the fundamental domain of over the .

In grey: the fundamental domain representing the moduli space of the torus. In blue: planar version of the Farey graph bouding free regular sets. Read more in source: [wikipedia](

Putting it all together

Here comes the last punchline. Recall from complex analysis that acts isometrically transitively on the upper-half plane If you can’t recall this, that’s totally fine - it’s a fact of complex analysis that should be available in any textbook :) , which can be thought of as the Teichmüller space of the torus. An element of is of the form

and acts by Mobius transformation on an element

The elements of are of the same form as those of , but we picked its action to be linear over the bases of (change of basis action).

Thus, there is a map from the mapping class group of the torus to the Mobius transformation of the upper-half plane, and this group turns out to be the group of isometries in the hyperbolic plane .

Recall the generators for and Meaning represent the same element in . This is because the minus sign cancel on the top and bottom of the fraction (write it out if you do not see it)! :

sends by linear fractional transformation the point on the upper half-plane to . sends .

Take your standard basis torus generated by This is identified with the point .

Under the action of , gets sent to , which corresponds to the torus generated by . But this is also exactly where the linear action of sends our standard basis!

Shortest curves in blue on the pink torus, where only one correspond with the generators of the fundamental group (the edges of the pink parallelogram)

Under the action of , gets sent to . This is also exactly where the linear action of sends our standard basis once we’ve rotated the image back to the upper half-plane.

Shortest curves in blue on the pink torus, where only one correspond with the generators of the fundamental group (the edges of the pink parallelogram)

The action of the Mobius transformation on the complex plane is compatible with the action of on the the lattice!

To Prof. Rafi, there is more to this than pure coincidence. This is one of the reason why we study mapping class groups, Teichmüller spaces and hyperbolic surfaces as as a trifecta of some sort!

Ouf! We are done. Give yourself a big tap on the back :).

Hope you enjoyed this, and that everything makes much more sense when you reread the definitions!

Sources and Resources

Kasra Rafi as recalled by me. Errors are mine. Please let me know of them!

Notes by Evan Schwarz Chapter 20.

A Primer on Mapping Class Groups by Farb and Margalit, sections 10.2 and 10.3; 2.2 for the Alexander method and the computation of the mapping class group of the torus. Here are illustrated textbook pages on that section (illustrations mine).


Thanks to Kasra Rafi for his time and patience teaching this and for agreeing to proofread this!

Thanks to Felix Bauckholt (currently an undergrad at Waterloo), for his great questions and feedback which allowed me to significantly clarify this blog post. Always a pleasure to discuss math with you!

Get in touch

I’m looking for people to read drafts of my blog posts and have 1-1 discussions with. If you’re a motivated, supportiveVery important to me. I don’t know everything, and sometimes don’t know anything. undergrad, grad student, or other qualified person who wants to read drafts of my blog posts, ask clarifying questions and give me feedback in return for some 1-1 discussion of hyperbolic geometry, get in touch with me!

Beautiful Link: Mapping Class Groups, Teichmuller Spaces and Hyperbolic Surfaces. - January 14, 2018 - Hang Lu Su