Functions on the upper half-plane with more symmetry than seems possible. The modular group, its fundamental domain, q-expansions, and why having too few forms forces identities between numbers
A modular form is a function on the upper half of the complex plane that barely changes under an infinite group of symmetries. That much symmetry is almost impossible to satisfy. So few functions manage it that whenever two of them could be equal, they are — and each such coincidence is a theorem about whole numbers.
Drag the violet point anywhere and let go: two moves, a sideways shift T and an inversion S, carry it home to the white tile. Then zoom towards the real axis to see the tiles pile up at every fraction.
Violet: the point z and its home tile, with a pale dot for the image of z in every other tile (its orbit). White outline: the fundamental domain F. Dashed line: the route home, replayed when you let go. Tiles are shaded alternately; the fractions under the axis are cusps, the rational numbers where infinitely many tiles meet. The zoom presets compare a rational point with an irrational one. Tiles smaller than a few pixels are not drawn.
The modular group SL₂(Z) is the group of 2 × 2 matrices with whole-number entries a, b, c, d and determinant ad − bc = 1. It acts on the upper half-plane by z → (az + b)/(cz + d). A matrix and its negative act the same way. The whole group is generated by two moves: T, which sends z to z + 1, and S, which sends z to −1/z.
The white tile is the fundamental domain F, the points with |z| ≥ 1 and |Re z| ≤ ½. Every orbit of the group meets F, and meets it exactly once apart from identifications along the boundary (the two vertical sides are matched by T, the two halves of the bottom arc by S). The reduction you watched is how one proves the first half: shift until |Re z| ≤ ½, invert if the point is inside the unit circle, and repeat. Each inversion raises the point, and it cannot rise for ever. The shifts that appear are the digits of a continued fraction, so this is the Euclidean algorithm in geometric dress.
Why this group? A point z of the half-plane is the same thing as a lattice, the grid of all points m + nz with m and n whole numbers, considered up to scaling and rotation. Two points give the same lattice shape exactly when they are in the same orbit, because a matrix in SL₂(Z) is just a change of basis for the grid. So a function of lattice shapes is a function on F, and a function on the half-plane that respects the group is really a function of lattices.
The tiles are triangles of the hyperbolic plane, all the same size in its geometry, each with one corner at a cusp on the boundary. See also the Hyperbolic Geometry module for the geometry of this tiling.
Switch between E₄, E₆, Δ and j and move the pointer over the picture. The portrait of j is identical in every tile; the others repeat only up to a factor, until you balance the weight.
Hue is the argument of the value (red for positive real numbers, cyan for negative); brightness climbs with the size, with a step at every doubling. Around a zero the colours run once round the wheel, or three times at a triple zero. Circles mark the images of ρ, where E₄ and j vanish; squares mark the images of i, where E₆ vanishes and j = 1728. Δ has no zeros at all. Move the pointer, or drag on a touch screen, to read values.
A modular form of weight k (and level 1) is a function f on the upper half-plane with two properties. First, f((az + b)/(cz + d)) = (cz + d)k f(z) for every matrix in SL₂(Z). Second, f is holomorphic, including “at infinity”: since f(z + 1) = f(z), it can be written as a series in q = e2πiz, and the requirement is that only non-negative powers appear, f = a(0) + a(1)q + a(2)q² + …. This is the q-expansion, and its coefficients a(n) are the numbers the rest of this module is about.
The simplest examples are the Eisenstein series E₄ = 1 + 240 Σ σ₃(n) qⁿ and E₆ = 1 − 504 Σ σ₅(n) qⁿ, of weights 4 and 6, where σm(n) is the sum of the m-th powers of the divisors of n. The discriminant Δ = (E₄³ − E₆²)/1728 has weight 12 and also equals the infinite product q ∏ (1 − qⁿ)24, which shows that it never vanishes in the half-plane. A form with a(0) = 0 is a cusp form; Δ is the first one. The quotient j = E₄³/Δ = q−1 + 744 + 196884q + … has weight 0, so it is a genuine function on the tiles, but it has a pole at infinity and so is a modular function rather than a modular form.
The pictures are computed with the symmetry, not in spite of it. Near the real axis the q-series converges painfully slowly, so each pixel is first moved into the fundamental domain, where twelve terms give full precision, and the value is carried back with the factor (cz + d)k. The readout under the picture checks this against a direct sum of the series at the point itself.
Forms of higher level N are asked for less: the symmetry need only hold for matrices with c divisible by N. That larger family includes the weight 1 form of level 23 behind the cubic x³ − x − 1, and the weight 2 forms attached to elliptic curves elsewhere in this module.
Tap a bar to see every modular form of that weight. Then pick an identity, slide n, and press Check to watch two different q-series agree coefficient by coefficient.
| n | coefficient of qⁿ in E₄² | in E₈ | equal? |
|---|---|---|---|
| 3 | 1,050,240 | 1,050,240 | = |
| 4 | 7,926,240 | 7,926,240 | = |
| 5 | 37,500,480 | 37,500,480 | = |
| 6 | 135,480,960 | 135,480,960 | = |
| 7 | 395,301,120 | 395,301,120 | = |
| 8 | 1,014,559,200 | 1,014,559,200 | = |
| 9 | 2,296,875,360 | 2,296,875,360 | = |
What this says about the whole number n = 6. Its divisors are 1, 2, 3, 6.
σ3(6) = 1³ + 2³ + 3³ + 6³ = 252, and σ7(6) = 1⁷ + 2⁷ + 3⁷ + 6⁷ = 282,252.
The sum over the ways of splitting n = m + (n − m): σ3(1)σ3(5) + σ3(2)σ3(4) + σ3(3)σ3(3) + … + σ3(5)σ3(1) = 1 × 126 + 9 × 73 + 28 × 28 + … = 2,350.
Comparing coefficients of qⁿ in E₄² = E₈ gives σ7(n) = σ3(n) + 120 × the sum: 282,252 = 252 + 120 × 2,350.
In the chart each block is one basis form: pale blocks are cusp forms, the bright block on top is the one form with a non-zero constant term. In the machine, the two sides are computed separately with exact whole numbers: the left by multiplying q-series, the right from divisor sums (or, for Δ, from the infinite product). M8 is one-dimensional and both sides start with 1, so they have no choice but to be equal.
The forms of weight k and level 1 make up a vector space Mk, and it is finite-dimensional: zero for odd k, and for even k ≥ 0 its dimension is ⌊k/12⌋ when k leaves remainder 2 on division by 12, and ⌊k/12⌋ + 1 otherwise. The reason is the valence formula: a non-zero form of weight k has exactly k/12 zeros in the fundamental domain, counting a zero at i with weight ½, a zero at ρ with weight ⅓, and a zero at infinity by the first power of q that appears. A form with too many vanishing coefficients would have too many zeros, so it must be identically zero.
It follows that every level 1 modular form is a polynomial in E₄ and E₆, in exactly one way: the ring of all of them is C[E₄, E₆]. The cusp forms Sk inside Mk are exactly the multiples of Δ, so Sk = Δ · Mk−12, and the first cusp form appears in weight 12.
In weight 8 there is room for only one form up to scaling. E₄² has weight 8 and constant term 1; so does the Eisenstein series E₈ = 1 + 480 Σ σ₇(n) qⁿ; so they are equal, and comparing coefficients gives a formula for σ₇ in terms of σ₃ that nobody would guess by staring at divisors. The same argument gives E₄E₆ = E₁₀ and E₄²E₆ = E₁₄, and in weight 12 it shows that E₄³ − E₆² is a multiple of Δ.
This finite-dimensionality is the engine of the whole subject. To prove that two modular forms are equal one checks finitely many coefficients; for forms of higher level the number needed is given by the Sturm bound. The checks of 200 coefficients in the demo are therefore far more than a proof needs: in weight 8, agreement of the constant terms already settles it.
Spot a mistake or have an idea?