# how to visualize the class number of an imaginary quadratic field?

Let me detail the title of the question. I'm trying to give students an intuition of what the class number is.

Let $K=\mathbb{Q}(\sqrt{-d})$, with $d>0$ a square-free integer, be a quadratic imaginary field. Let $\mathcal{O}_K$ be its ring of integers. It is of the form $\mathbb{Z}[\tau]$ with $\tau=\sqrt{-d}$ or $\tau=\frac{1+\sqrt{-d}}{2}$ depending on the value of $d$ mod $4$.

So let us think of $\mathcal{O}_K$ as the lattice of $\mathbb{C}$ generated by $1$ and $\tau$. Then ideals should correspond to sublattices of $\mathcal{O}_K$ and two of them should define the same class in the class group if one can pass from one to another by multiplying by an element of $\alpha$, isn't it?

Could anybody help me to make this analogy precise? For instance, how can one see that $\mathbb{Q}(i)$ has class number 1 but $\mathbb{Q}(\sqrt{-5})$ doesn't just by looking at the corresponding lattices? The (non-equivalent) decompositions

$2.3=(1+\sqrt{5}i)(1-\sqrt{5}i)$

suggest to consider the lattices $\mathbb{Z}\cdot 2+\mathbb{Z}\cdot(1+\sqrt{5}i)$ and $\mathbb{Z}\cdot 3+\mathbb{Z}\cdot(1-\sqrt{5}i).$ Is that what I have to do?

Thanks!

• Not all sublattices are ideals. – Felipe Voloch Apr 16 '13 at 17:36
• This doesn't quite "visualize the class number", but you can at least visualize when the division algorithm fails when the fundamental rectangle is too large. – Cam McLeman Apr 16 '13 at 17:57
• As a geometer/topologist, I would "visualize" this number as the number of cusps of the discrete subgroup (also known as a Bianchi group) $\Gamma=SL(2, O_K)$ in $SL(2, {\mathbb C})$; in other words, it is the number of ends of the hyperbolic orbifold ${\mathbb H}^3/\Gamma$, where ${\mathbb H}^3$ is the hyperbolic 3-space. – Misha Apr 17 '13 at 4:02
• Misha's comment extends to all number fields, e.g., see the introduction to math.fsu.edu/~petersen/Petersen-countingcusps.pdf. – KConrad Apr 17 '13 at 4:47

This is an interesting question that I've wondered about myself, so I can't really answer it properly but I'll make a couple elementary observations. First, for a lattice in ${\mathbb Z}[\tau]\subset{\mathbb C}$ to be an ideal just means that multiplication by $\tau$ takes the lattice to itself. For example, for the Gaussian integers this says the lattice is invariant under 90 degree rotation about the origin. It is easy to see that this means the lattice is a square lattice with a basis consisting of two of its shortest vectors. (This is really just a disguised version of the Euclidean algorithm for Gaussian integers.) Thus every ideal is principal in this case.

Back to the general case, another observation is that if two ideals are in the same ideal class, then the two lattices are related by an orientation-preserving similarity, that is, rotation and rescaling, which is what multiplying an ideal by an element of ${\mathbb Z}[\tau]$ does to a lattice. (It seems the converse should be true as well). For example in the case $\tau =\sqrt5i$ the principal ideal class consists of rectangular lattices similar to ${\mathbb Z}[\tau]$ itself, and the other ideal class (the class number is 2 here) consists of lattices similar to the lattice $(2,1+\sqrt5i)$ which is skewed rather than rectangular. It is enlightening to draw a picture to see how this lattice is invariant under multiplication by $\sqrt5i$.

Another thing that can be viewed geometrically is the correspondence between ideal classes and equivalence classes of binary quadratic forms of fixed discriminant. An ideal, viewed as a lattice, determines a quadratic form by restricting the usual norm (squared) $x^2 + y^2$ to the lattice, then renormalizing suitably to make equivalent ideals have equivalent quadratic forms. A textbook that explains this, to some extent at least, is Advanced Number Theory by Harvey Cohn.

It would be interesting to work out some more examples to see what the different similarity classes of lattice-ideals look like, especially in cases when the class number is larger than 2. Is the structure of the ideal class group somehow visible in how the similarity classes are related?

• Such a point of view and many examples are given in Michael Artin's undergraduate textbook Algebra. – JBorger Apr 17 '13 at 9:49

I think that showing the lattices $(1, \sqrt{-5})$ and $(2, 1+\sqrt{-5})$ is a good idea. As Felipe Voloch says, not all lattices are ideals, but the fact that these lattices are ideals can be shown visually: You just need to check that $\sqrt{-5} I \subset I$ and, of course, multiplication by $\sqrt{-5}$ means multiplication by $\sqrt{5}$ and rotation by $\pi/2$. And it is geometrically obvious that $(2, 1+\sqrt{-5})$ is not principal -- it does not have a rectangular fundamental domain. (You could contrast this with $(2, 1+\sqrt{-1})$, which is principal.)

Beyond that, if you are going to talk about reduced forms, you could plot the roots of $a z^2+bz+c=0$ for all reduced forms of some discriminant and show how they lie in the fundamental domain. For example, here are the $23$ reduced forms of discriminant $-647$ (with real and imaginary axes transposed to fit nicely on the page). If you want to play with this example, here are the coefficients in $(a,b,c)$ form

{{12, 5, 14}, {12, -5, 14}, {13, 9, 14}, {13, -9, 14}, {12, 11, 16}, {12, -11, 16}, {9, 1, 18}, {9, -1, 18}, {8, 5, 21}, {8, -5, 21}, {7, 5, 24}, {7, -5, 24}, {6, 1, 27}, {6, -1, 27}, {6, 5, 28}, {6, -5, 28}, {4, 3, 41}, {4, -3, 41}, {3, 1, 54}, {3, -1, 54}, {2, 1, 81}, {2, -1, 81}, {1, 1, 162}}