Modular Forms

Ten modules that follow all nine chapters of a first course on modular forms, from the action of SL2(Z) on the upper half-plane to Galois representations. Reduce points into the fundamental domain, build modular curves out of tiles, compute q-expansions and Hecke operators, watch periods form a lattice and count points mod p, then check yourself with concept questions and practice problems.

Follows the chapter order of F. Diamond and J. Shurman, A First Course in Modular Forms, Graduate Texts in Mathematics 228 (Springer, 2005), covering Chapters 1–9. Chapter and exercise numbers refer to that book; the questions and examples here are written for this page. Exercises from the book appear at the end of each module, with their numbers from the book and their statements restated in our own words.

Step-throughDiamond–Shurman, Ch. 1: Modular Forms, Elliptic Curves, and Modular Curves

SL₂(ℤ) and its fundamental domain

Everything in this subject starts with one group acting on one space. SL2(Z) moves the points of the upper half-plane by fractional linear maps, and a modular form is a function that transforms in a fixed way under every one of those moves. Before studying such functions you need a map of the orbits, and that map is the fundamental domain.

The idea

The action. SL2(Z) is the group of integer matrices γ=(abcd) with ad−bc=1. It acts on the upper half-plane H={τ:Im⁡τ>0} by γτ=aτ+bcτ+d. The one identity to remember is
Im⁡(γτ)=Im⁡τ|cτ+d|2.

The matrices γ and −γ act the same way, so the group that really acts is PSL2(Z)=SL2(Z)/{±I}. It is generated by

S=(0−110): τ↦−1τ,T=(1101): τ↦τ+1.
Fundamental domain. Let D={τ∈H:|Re⁡τ|≤12, |τ|≥1}. Every point of H is SL2(Z)-equivalent to a point of D. Two different points of D can be equivalent only if both lie on its boundary: the two vertical edges are matched by T and the two halves of the arc by S. The only points of D with a nontrivial stabiliser in PSL2(Z) are i (stabiliser of order 2, generated by S) and ρ=e2πi/3, ρ+1=eπi/3 (order 3).

The proof is an algorithm, and it is what the explorer runs. If |Re⁡τ|>12, translate by a power of T. If |τ|<1, apply S: then Im⁡(−1/τ)=Im⁡τ/|τ|2 is strictly larger. Repeat. It stops because, for a fixed τ, only finitely many pairs (c,d) have |cτ+d|<1, so the imaginary part can only grow finitely often.

Modular form of weight k. A holomorphic f:H→C with f(γτ)=(cτ+d)kf(τ) for every γ∈SL2(Z), and holomorphic at ∞. Taking γ=T gives f(τ+1)=f(τ), so f(τ)=∑nanqn with q=e2πiτ; holomorphic at ∞ means an=0 for n<0. If also a0=0, f is a cusp form. The spaces are Mk(SL2(Z))⊇Sk(SL2(Z)).

Explore

Start at
Click or drag anywhere to choose a starting point τ0. the domain D the path so far. Each tile is γD for one γ∈PSL2(Z).

Worked example

Reduce τ0=7+i25 into D, and find a matrix γ with γτ0∈D. (It is the first preset above, so you can check each step.)

  1. Re⁡τ0=0.28 is already in the strip. Should you apply S? What do you get, and how much does the imaginary part grow?

    |τ0|2=50/625=2/25<1, so yes. −1/τ0=−25/(7+i)=−25(7−i)/50=(−7+i)/2. The imaginary part goes from 1/25 to 1/2, a factor of 1/|τ0|2=12.5.

  2. Continue from (−7+i)/2=−3.5+0.5i.

    Translate by T3: −12+12i. Its absolute value squared is 12<1, so apply S: −1/(−1+i2)=−2−1+i=1+i. Then translate by T−1 to reach i, which is in D (on the arc).

  3. Multiply the steps together to get γ, and check it with the imaginary-part formula.

    The last step goes on the left:

    γ=T−1ST3S=(−413−1).

    Here 3τ0−1=(−4+3i)/25, so |3τ0−1|2=1/25 and Im⁡γτ0=(1/25)/(1/25)=1, which is Im⁡i.

  4. Is γ the only matrix with γτ0=i?

    No. If γ′τ0=i too, then γ′γ−1 fixes i, so it is ±I or ±S. Up to sign the answers are γ and Sγ=(−31−41). The extra solution exists because i is an elliptic point.

Check your understanding

The algorithm is at τ=0.3+0.5i and applies S. By what factor does the imaginary part grow?

  1. 0.34That would make it shrink. S divides the imaginary part by |τ|2, and |τ|2=0.34<1.
  2. 1/0.34≈2.94
  3. 1/|τ|≈1.71The formula has |cτ+d|2, squared. For S, cτ+d=τ.
Im⁡(Sτ)=Im⁡τ/|τ|2=0.5/0.34≈1.47. The growth is exactly why the algorithm only applies S when |τ|<1.

Why is every modular form of odd weight for SL2(Z) identically zero?

  1. Because the q-expansion can only contain even powers of q.Nothing forces that: periodicity f(τ+1)=f(τ) allows every integer power.
  2. Because S has order 4.Applying the law four times along S is consistent for every k. The obstruction comes from a different element.
  3. Because −I∈SL2(Z) acts trivially but contributes the factor (−1)k.
With γ=−I we get γτ=τ and cτ+d=−1, so f(τ)=(−1)kf(τ). For odd k this forces f=0. Smaller groups that do not contain −I, such as Γ1(N) for N≥3, do have forms of odd weight.

Let f∈M6(SL2(Z)). What can you say about f(i)?

  1. f(i)=0.
  2. Nothing: i is a point like any other.i is fixed by S. Put γ=S and τ=i into the transformation law.
  3. f(i)=f(ρ).i and ρ are not equivalent (both lie in D, not matched by the boundary identifications), so there is no reason for this.
f(i)=f(Si)=i6f(i)=−f(i). The same argument gives f(i)=0 for every weight k≡2(mod4). For example, the Eisenstein series E6 vanishes at i.

Practice

The algorithm terminatesFiniteness of small denominators

Fix τ=x+iy∈H. Show that only finitely many coprime pairs (c,d) satisfy |cτ+d|<1. Deduce that Im⁡(γτ) takes a largest value as γ runs over SL2(Z), and that if γ achieves it then a translate Tnγτ lies in D.

Hint

Expand |cτ+d|2=(cx+d)2+c2y2.

Solution

If |cτ+d|<1 then c2y2<1, so |c|<1/y, and for each such c, |cx+d|<1 leaves at most two values of d. So |cτ+d| takes only finitely many values below 1, and Im⁡γτ=y/|cτ+d|2 takes only finitely many values above y: a maximum exists. Translate the maximising point into the strip; this keeps the imaginary part. If the result τ′ had |τ′|<1, then Sτ′ would have a larger imaginary part, a contradiction. So τ′∈D.

Forced zeros at ρUsing the stabiliser of order 3

Let ρ=e2πi/3 and let f∈Mk(SL2(Z)) with k even and 3∤k. Show that f(ρ)=0. Which Eisenstein series must vanish at ρ?

Hint

Find a matrix with cτ+d=τ+1 that fixes ρ.

Solution

ST=(0−111) sends τ to −1/(τ+1), and ρ+1=eπi/3, so −1/(ρ+1)=−e−πi/3=e2πi/3=ρ. The law gives f(ρ)=(ρ+1)kf(ρ)=eπik/3f(ρ). For even k with 3∤k, eπik/3≠1, so f(ρ)=0. In particular E4(ρ)=0, E8(ρ)=0 and E10(ρ)=0.

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 1.1.1T and S generate SL2(Z)

Let Γ be the subgroup generated by T=(1101) and S=(0−110). For α=(abcd)∈SL2(Z), use αTn=(ana+bcnc+d) and αS=(b−ad−c) to show α∈Γ.

Hint

Right multiplication by Tn changes d by multiples of c; by S it swaps the bottom row (up to sign). Run the Euclidean algorithm on (c,d).

Solution

If c≠0, choose n so that d′=nc+d has |d′|≤|c|/2. Then multiply by S: the new bottom row is (d′,−c), whose first entry is smaller in absolute value than c. Repeating, |c| strictly decreases, so after finitely many steps we reach αγ with γ∈Γ and bottom row (0,d).

Then ad=1 forces d=±1. Since S2=−I, we may multiply by S2 to get d=1, and then a=1, so αγ=(1b01)=Tb∈Γ. Hence α∈Γ.

Exercise 1.1.2Basic identities for Möbius transformations

For γ=(abcd)∈SL2(Z) and τ∈H, show (a) Imγ(τ)=Imτ/|cτ+d|2; (b) (γγ′)(τ)=γ(γ′(τ)); (c) ddτγ(τ)=(cτ+d)−2.

Hint

For (a), multiply numerator and denominator by cτ+d―.

Solution

(a) γ(τ)=(aτ+b)(cτ¯+d)|cτ+d|2. The imaginary part of the numerator is (ad−bc)Imτ=Imτ.

(b) Write γ(τ) as the ratio of the coordinates of γ(τ1). Then γ(γ′(τ1))=(γγ′)(τ1), and rescaling a vector doesn't change the ratio.

(c) a(cτ+d)−c(aτ+b)(cτ+d)2=ad−bc(cτ+d)2=1(cτ+d)2.

InteractiveDiamond–Shurman, Ch. 1: Modular Forms, Elliptic Curves, and Modular Curves

Lattices, tori and the j-invariant

A lattice in C gives a complex torus, and up to scaling every lattice is Zτ⊕Z for some τ in the upper half-plane. Two values of τ give the same torus exactly when they are related by SL2(Z). So the fundamental domain is also a catalogue of complex tori, and the j-invariant is a coordinate on that catalogue.

The idea

Lattices and tori. A lattice is Λ=ω1Z⊕ω2Z with ω1,ω2 linearly independent over R. The quotient C/Λ is a complex torus: a compact Riemann surface of genus 1 that is also an abelian group.
Classification. C/Λ≅C/Λ′ (holomorphically, as groups) exactly when Λ′=mΛ for some m∈C×. Every lattice is homothetic to some Λτ=τZ⊕Z with τ∈H, and Λτ, Λτ′ are homothetic exactly when τ′=γτ for some γ∈SL2(Z).

The reason is a change of basis. If γ=(abcd), then aτ+b and cτ+d are another basis of Λτ (the matrix has determinant 1), so

Λτ=Z(aτ+b)⊕Z(cτ+d)=(cτ+d)Λγτ.
Invariants of a lattice. For even k≥4, Gk(Λ)=∑ω∈Λ∖0ω−k, so Gk(mΛ)=m−kGk(Λ). Put g2=60G4, g3=140G6. The Weierstrass function ℘ of Λ satisfies (℘′)2=4℘3−g2℘−g3, and z↦(℘(z),℘′(z)) identifies C/Λ with the cubic curve y2=4x3−g2x−g3 (plus a point at infinity). Its discriminant Δ=g23−27g32 is never 0.
The j-invariant. j(Λ)=1728g23/Δ. Scaling Λ multiplies g23 and Δ by the same factor m−12, so j depends only on the torus. As a function of τ, j(γτ)=j(τ), and j gives a bijection from SL2(Z)\H onto C. In terms of Eisenstein series (next modules), g2(Λτ)=4π43E4(τ), g3(Λτ)=8π627E6(τ), and
j(τ)=1728E4(τ)3E4(τ)3−E6(τ)2=1q+744+196884q+⋯.

Explore

Jump to
Drag τ. τ its reduction τ′=γτ∈D
The lattice Λτ. basis 1,τ basis cτ+d, aτ+b. Gluing opposite edges of either cell gives the same torus.

Worked example

Compute j for the square lattice Λi=Zi⊕Z and the hexagonal lattice Λρ, ρ=e2πi/3, without summing any series. Then find where j is real.

  1. Show that iΛi=Λi and use it to compute G6(Λi).

    i(mi+n)=−m+ni, so multiplication by i permutes Λi. Then G6(Λi)=G6(iΛi)=i−6G6(Λi)=−G6(Λi), so G6=0 and g3=0.

  2. What is j(i)?

    With g3=0, Δ=g23 (and g2≠0 because Δ≠0), so j(i)=1728g23/g23=1728.

  3. Do the same for Λρ. Which invariant vanishes?

    ρ2=−1−ρ, so ρΛρ=Λρ. Then G4(Λρ)=ρ−4G4(Λρ)=ρ2G4(Λρ), and ρ2≠1, so g2=0 and j(ρ)=0.

  4. For which τ∈D is j(τ) real? Try dragging τ along the edges of D above first.

    The q-expansion of j has real coefficients, and −τ¯ has q-parameter q¯, so j(−τ¯)=j(τ)―. If −τ¯ is equivalent to τ, then j(τ) is real. That happens on the imaginary axis (−τ¯=τ), on the edges Re⁡τ=±12 (−τ¯=τ∓1) and on the arc (−τ¯=−1/τ). Since j is injective on the interior of D, these are the only real values: exactly the lattices with a reflection symmetry.

Check your understanding

Do τ and τ′=ττ+1 give isomorphic complex tori?

  1. Yes: τ′=γτ with γ=(1011)∈SL2(Z).
  2. No: the map τ↦τ/(τ+1) is neither a translation nor S.Any element of SL2(Z) works, not only the generators. Check the determinant.
  3. Only if τ lies in D.The classification holds for every τ∈H; D is just a convenient set of representatives.
det(1011)=1, so Λτ=(τ+1)Λτ′. In the explorer, τ and τ′ reduce to the same point of D and show the same j.

Which of these is unchanged when Λ is replaced by 2Λ?

  1. g2(Λ)g2 is a multiple of G4, and G4(2Λ)=2−4G4(Λ).
  2. Δ(Λ)Δ scales by 2−12.
  3. j(Λ)
  4. The area of a fundamental parallelogramIt is multiplied by 4. The torus is isomorphic, but a lattice is more than its torus.
g23 and Δ both scale by m−12, so their ratio is a function of the torus alone. That is the point of j.

C/Λτ and C/Λγτ are the same torus. Why is g2(Λτ), as a function of τ, not SL2(Z)-invariant?

  1. Because Λγτ=(cτ+d)−1Λτ is a rescaled lattice, and g2 sees the scale: g2(Λγτ)=(cτ+d)4g2(Λτ).
  2. Because g2 is not holomorphic in τ.It is holomorphic: it is a multiple of E4. The issue is how it transforms.
  3. Because the sum defining G4 converges only on D.It converges absolutely for every lattice.
This rule g2(γτ)=(cτ+d)4g2(τ) is exactly the statement that g2 is a modular form of weight 4. Modular forms are functions on lattices that are homogeneous under scaling; j has degree 0, so it is invariant.

Practice

The generators act on latticesTranslation and inversion

Show directly that Λτ+1=Λτ and Λ−1/τ=τ−1Λτ. Conclude that j(τ+1)=j(τ) and j(−1/τ)=j(τ), and why this proves j(γτ)=j(τ) for all γ.

Solution

Z(τ+1)⊕Z contains τ=(τ+1)−1, so it equals Zτ⊕Z. And τΛ−1/τ=Z(−1)⊕Zτ=Λτ. Since j depends only on the lattice up to scaling, j is invariant under T and S, and these generate SL2(Z).

Every real number at least 1728An intermediate value argument

Show that j(iy) is real for y>0, and that every real number ≥1728 equals j(iy) for some y≥1.

Hint

On the imaginary axis q=e−2πy is a positive real number. What does the q-expansion do as y→∞?

Solution

j=1/q+744+∑n≥1cnqn with real cn, so j(iy) is real and continuous in y. At y=1 it is 1728, and as y→∞, q→0+ and j(iy)→+∞. By the intermediate value theorem every value in [1728,∞) is taken on [1,∞). (The explorer's preset τ=2i gives j=287496=663.)

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 1.4.3The square and hexagonal lattices

Let Λ=Z+Zi. Using ℘(iz)=−℘(z), show ℘(1+i2)=0, so this is the only zero of ℘ on C/Λ (a double one). Show ℘(12) is real and positive and ℘(i2)=−℘(12). For which m does C/mΛ correspond to y2=4x(x−1)(x+1)? Do the same with Λ=Z+Zμ3 and the curve y2=4(x−1)(x−μ3)(x−μ32).

Hint

℘mΛ(mz)=m−2℘Λ(z), so scaling the lattice by m scales the roots ej by m−2.

Solution

Square lattice. i⋅1+i2=i−12≡1+i2(modΛ), so ℘(1+i2)=−℘(1+i2)=0. Since ℘′ also vanishes there and ℘ has degree 2, it is a double zero and the only zero. Because Λ¯=Λ, ℘(z)―=℘(z¯), so ℘(12) is real; and ℘(i2)=−℘(12). In ℘(12)=4+∑ω≠0((12−ω)−2−ω−2), the terms from ω=0,±1,±i already sum to about 7.5 (4, then 3 and −59 from ±1, and about 1.04 from ±i), and the remaining terms are small, so e1=℘(12)>0. The curve is y2=4x(x−e1)(x+e1). To get e1=1, take m=℘Λ(1/2).

Hexagonal lattice. μ3Λ=Λ gives ℘(μ3z)=μ3−2℘(z)=μ3℘(z). The points (2+μ3)/3 and (1+2μ3)/3 are fixed by multiplication by μ3 mod Λ, so ℘ vanishes at both; these are its two zeros. Again Λ¯=Λ, so e1=℘(12) is real, and the other roots are ℘(μ3/2)=μ3e1 and ℘(μ32/2)=μ32e1. So the curve is y2=4(x3−e13), and m=℘Λ(1/2) gives the roots 1,μ3,μ32.

Exercise 1.4.4The discriminant is Δ

For pτ(x)=4x3−g2(τ)x−g3(τ), show the discriminant of pτ is a constant multiple of Δ(τ)=g23−27g32.

Hint

Use the formula for the discriminant of ax3+bx2+cx+d.

Solution

disc=18abcd−4b3d+b2c2−4ac3−27a2d2. With a=4, b=0, c=−g2, d=−g3, this is −4⋅4(−g2)3−27⋅16g32=16(g23−27g32)=16Δ.

Exercise 1.4.5The degenerate cases of uniformisation

In the statement that every pair (a2,a3) with a23−27a32≠0 is (g2(Λ),g3(Λ)) for some lattice, prove the case a2=0 using Λ=mΛμ3, and the case a3=0 similarly.

Hint

g2(mΛ)=m−4g2(Λ), g3(mΛ)=m−6g3(Λ), and symmetric lattices force one of them to vanish.

Solution

a2=0. μ3Λμ3=Λμ3 gives g2=μ3−4g2; since μ3−4≠1, g2(Λμ3)=0. Then g3(Λμ3)≠0, since Δ≠0 for a lattice. Choose m with m−6=a3/g3(Λμ3) (possible since a3≠0). Then g2(mΛμ3)=0=a2 and g3=a3.

a3=0. iΛi=Λi gives g3=i−6g3=−g3, so g3(Λi)=0 and g2(Λi)≠0. Choose m with m−4=a2/g2(Λi).

InteractiveDiamond–Shurman, Ch. 2: Modular Curves as Riemann Surfaces

Congruence subgroups, cusps and elliptic points

The forms attached to elliptic curves are modular only for smaller groups, cut out of SL2(Z) by congruences mod N. The quotient of H by such a group is a modular curve. To make it a compact Riemann surface you have to understand two kinds of special point: elliptic points, where the group has extra stabilisers, and cusps, the rational points added at the boundary.

The idea

Congruence subgroups. For N≥1,
Γ(N)={γ≡(1001)}⊆Γ1(N)={γ≡(1∗01)}⊆Γ0(N)={γ≡(∗∗0∗)},

congruences taken mod N in SL2(Z). A congruence subgroup is any subgroup containing some Γ(N); it has finite index. For example [SL2(Z):Γ0(N)]=N∏p∣N(1+1/p).

Modular curves. Y(Γ)=Γ\H, and X(Γ)=Γ\(H∪P1(Q)), where P1(Q)=Q∪{∞}. The Γ-orbits in P1(Q) are the cusps. With suitable charts X(Γ) is a compact Riemann surface.
Elliptic points. A point τ∈H whose stabiliser in ±Γ/{±I} is nontrivial. It is an SL2(Z)-translate of i or of ρ, with stabiliser of order h=2 or 3. A neighbourhood is rotated by 2π/h, so the chart there is "straighten, then raise to the power h".
Width of a cusp. If s=α(∞) with α∈SL2(Z), the width hs is the smallest h>0 with ±αThα−1∈±Γ. Near s the chart is τ↦e2πiα−1(τ)/hs.
Counting with cosets. Write SL2(Z)=⨆j=1d±Γγj. Then the tiles γjD together form a fundamental domain for Γ, and right multiplication permutes the d cosets:
  • cusps correspond to the orbits of T, and the size of each orbit is the width, so the widths add up to d;
  • elliptic points of period 2 correspond to cosets fixed by S, and those of period 3 to cosets fixed by ST. Their numbers are written ε2, ε3, and the number of cusps ε∞.

The explorer builds the domain this way: it starts from D, keeps attaching neighbouring tiles γSD, γT±1D, and adds a tile only if its coset is new.

Explore

Group
One tile per coset. Cusps on the real line share a colour when they are Γ-equivalent. elliptic point of period 2 period 3

Worked example

Work out the index, cusps and elliptic points of Γ0(2). Then set the explorer to Γ0(2) and compare.

  1. Two matrices lie in the same coset Γ0(N)γ exactly when their bottom rows agree in P1(Z/NZ), up to a unit. How many cosets are there for N=2?

    P1(Z/2Z)={(0:1),(1:0),(1:1)}, so the index is 3, with representatives I, S, ST. This agrees with 2(1+12)=3.

  2. Find the cusps and their widths.

    A cusp a/c in lowest terms is equivalent to ∞ if c is even and to 0 if c is odd, so there are two. T∈Γ0(2), so ∞ has width 1. The stabiliser of 0 in SL2(Z) is ±(10k1), which lies in Γ0(2) only for even k: width 2. Check: 1+2=3.

  3. Find an elliptic point of period 2.

    An element of order 4 in SL2(Z) has trace 0. Try γ=(1−12−1)∈Γ0(2). Its fixed point solves 2τ2−2τ+1=0, so τ=(1+i)/2.

  4. Why are there no elliptic points of period 3?

    They would need an element of trace ±1. In Γ0(2), c is even, so ad≡1(mod2): a and d are odd and a+d is even. So ε3=0, ε2=1, ε∞=2, and in the next module these give genus 0.

Check your understanding

What is the width of the cusp 0 for Γ0(N)?

  1. 1, like the cusp ∞.Width is not the same at every cusp. Conjugate the stabiliser of 0 and see which powers land in Γ0(N).
  2. N
  3. [SL2(Z):Γ0(N)]That is the sum of all the widths, over all cusps.
0=S(∞), and SThS−1=(10−h1), which lies in Γ0(N) exactly when N∣h. The explorer's note lists the cusp 0 with width N for every level you try.

How many cusps does Γ0(p) have, for p prime?

  1. p+1That is the index. Cusps are orbits of T on the cosets, and one orbit can contain many cosets.
  2. 2
  3. 10 and ∞ are not equivalent: Γ0(p) preserves whether the denominator of a cusp is divisible by p.
∞ (width 1) and 0 (width p), and 1+p is the index. Any a/c with p∤c is equivalent to 0, and any with p∣c to ∞.

How many elliptic points does Γ0(4) have?

  1. One of period 2, as for Γ0(2).It would need an element of trace 0 with 4∣c. Then −a2≡ad−bc=1(mod4). Is −1 a square mod 4?
  2. None.
  3. One of each period.Period 3 needs trace ±1, but a, d are odd when 4∣c, so the trace is even.
Period 2 would need a2≡−1(mod4) and period 3 an odd trace; both are impossible. A subgroup of Γ0(2) can lose elliptic points: here the elliptic point of Γ0(2) is not fixed by anything in the smaller group.

Practice

The index of Γ₀(p)Cosets and the projective line

Show that Γ0(p)γ↦(c:d)∈P1(Z/pZ), where (c,d) is the bottom row of γ, is a well-defined bijection. Deduce [SL2(Z):Γ0(p)]=p+1.

Hint

Compute the bottom row of hγ for h∈Γ0(p). For surjectivity, lift a pair (c,d) to coprime integers.

Solution

If h=(xypzw), the bottom row of hγ is pz(a,b)+w(c,d)≡w(c,d), and w is a unit mod p. So the map is well defined. If γ, γ′ have proportional bottom rows mod p, then γ′γ−1 has bottom-left entry c′d−d′c≡0, so it lies in Γ0(p): the map is injective. Every (c:d) lifts to a coprime pair, which is the bottom row of some matrix in SL2(Z). So the index is |P1(Fp)|=p+1.

The cusps of Γ₀(6)An invariant and some widths

Show that gcd(c,N), for a cusp a/c in lowest terms, is unchanged by Γ0(N). Use it to show that ∞,0,12,13 are inequivalent for Γ0(6), and find their widths. Why are there no other cusps?

Hint

For the widths, conjugate Th by α=(10k1), which sends ∞ to 1/k.

Solution

A matrix (xyNzw) sends a/c to a fraction (still in lowest terms) with denominator Nza+wc≡wc(modN), and w is a unit mod N, so gcd with N is kept. The four cusps have gcd(c,6)=6,1,2,3. The computation αThα−1=(1−khh−k2h1+kh) shows the width at 1/k is the least h with 6∣k2h: 6 at 0 (k=1), 3 at 12, 2 at 13, and 1 at ∞. The widths add to 1+6+3+2=12=6⋅32⋅43, the index, so there is no room for another cusp.

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 1.2.3Orders and indices

(a) Show |SL2(Z/peZ)|=p3e(1−1/p2). (b) Deduce |SL2(Z/NZ)|=N3∏p∣N(1−1/p2)=[SL2(Z):Γ(N)]. (c) Show (abcd)↦b maps Γ1(N) onto Z/NZ with kernel Γ(N). (d) Show (abcd)↦d maps Γ0(N) onto (Z/NZ)∗ with kernel Γ1(N). (e) Show [SL2(Z):Γ0(N)]=N∏p∣N(1+1/p).

Hint

Induct on e via the kernel of reduction mod pe. Use that SL2(Z)→SL2(Z/NZ) is onto.

Solution

(a) e=1: |GL2(Fp)|=(p2−1)(p2−p), and det is onto Fp∗, so |SL2|=p(p2−1)=p3(1−p−2). Reduction SL2(Z/pe+1)→SL2(Z/pe) is onto, with kernel {I+peA}, Amodp, with det=1+petrA≡1, i.e. trA≡0: p3 elements. Each step multiplies the order by p3.

(b) By the Chinese remainder theorem SL2(Z/N)≅∏SL2(Z/pep). Since SL2(Z)→SL2(Z/N) is onto with kernel Γ(N), this is the index.

(c) Mod N the elements of Γ1(N) are (1b01), and these multiply by adding b. So the map is a homomorphism, onto (use Tb), with kernel Γ(N).

(d) Mod N, Γ0(N) is upper triangular and d is multiplicative. It's onto because diag(d−1,d) lifts to SL2(Z). The kernel has d≡1, hence a≡1: that's Γ1(N).

(e) [SL2(Z):Γ0(N)]=|SL2(Z/N)|/|B|, where B is the upper triangular subgroup of order Nφ(N). So the index is N3∏(1−p−2)N2∏(1−p−1)=N∏(1+p−1).

Exercise 2.3.7When congruence subgroups have no elliptic points

Prove there are no elliptic points for (a) Γ(N), N>1; (b) Γ1(N), N>3 (and find the elliptic point of Γ1(2) and of Γ1(3)); (c) Γ0(N) when N is divisible by a prime p≡−1(mod12). Also show that if −I∉Γ, then Γ has no elliptic points of period 2.

Hint

A non-scalar element of SL2(Z) fixing a point of H has trace 0 or ±1.

Solution

(a) γ≡±I(modN) has trace ≡±2. Trace ±1 needs N∣3 or N∣1, and trace 0 needs N∣2. For N=2, trace 0 with a≡d≡1, b≡c≡0mod2 would mean a2+bc=−1 with a odd and 4∣bc, but then a2+bc≡1(mod4). For N=3, a+d=−1 with 9∣bc makes a,d roots of x2+x+1+bc, whose discriminant −3−4bc≡6(mod9) is not a square mod 9.

(b) γ≡(1∗01) has trace ≡2(modN), which is never 0,±1 when N>3. Γ1(2) has (1−12−1) (trace 0) fixing τ=(1+i)/2. Γ1(3) has (1−13−2) (trace −1) fixing τ=12+i23.

(c) In Γ0(N), p∣c, so ad≡1(modp). Trace 0 gives a2≡−1, impossible as p≡3(mod4). Trace ±1 gives a2∓a+1≡0, which needs −3 to be a square mod p, impossible as p≡2(mod3).

Finally, a period-2 elliptic point has isotropy generated by an element γ of order 4 in SL2(Z), and γ2=−I, so −I∈Γ.

Exercise 3.8.3Cusps of level 4

Make a table counting the cusps of Γ(4), Γ1(4) and Γ0(4).

Hint

Cusps of Γ0(N) correspond to ∑d∣Nφ(gcd(d,N/d)). For Γ(N), N≥3, there are N22∏p∣N(1−p−2). Check against the index using widths.

Solution
GroupCuspsRepresentatives (widths)
Γ(4)6∞,0,1,2,3,12, each of width 4
Γ1(4)3∞ (1), 0 (4), 12 (1)
Γ0(4)3∞ (1), 0 (4), 12 (1)

Checks: Γ0(4) has index 6 and the widths sum to 1+4+1=6. ±Γ1(4)=Γ0(4) (index 2, and −I∉Γ1(4)), so the cusps are the same, though 12 is irregular for Γ1(4). ±Γ(4) has index 48/2=24=6⋅4.

CalculatorDiamond–Shurman, Ch. 3: Dimension Formulas

Genus and dimension formulas

Riemann–Hurwitz turns the counts from the last module into the genus of X(Γ), and Riemann–Roch turns the genus into the dimension of every space of modular forms. These formulas tell you, before computing anything, that weight 12 is the first weight with a cusp form for SL2(Z), and that 11 is the first level with a weight-2 cusp form for Γ0(N).

The idea

Genus. Let d=[PSL2(Z):±Γ/{±I}]. The projection X(Γ)→X(1) has degree d and ramifies only over the images of i, ρ and ∞. Riemann–Hurwitz gives
g(X(Γ))=1+d12−ε24−ε33−ε∞2.

Where it comes from: 2g−2=−2d+∑(ex−1). Over i the d−ε2 non-elliptic sheets pair up, contributing (d−ε2)/2; over ρ they come in threes, contributing 2(d−ε3)/3; over ∞ each cusp of width h contributes h−1, in total d−ε∞.

Dimensions, k≥2 even. With g,ε2,ε3,ε∞ as above,
dim⁡Mk(Γ)=(k−1)(g−1)+⌊k4⌋ε2+⌊k3⌋ε3+k2ε∞,
dim⁡Sk(Γ)=(k−1)(g−1)+⌊k4⌋ε2+⌊k3⌋ε3+(k2−1)ε∞(k≥4),

while in weight 2, dim⁡S2(Γ)=g and dim⁡M2(Γ)=g+ε∞−1. The idea of the proof: f(τ)(dτ)k/2 is a meromorphic differential on X(Γ), and its order at an elliptic point of period h is fractional, which is where the floors come from. The gap dim⁡Mk−dim⁡Sk is ε∞ for k≥4: one Eisenstein series for each cusp.

Level 1. For SL2(Z), g=0 and ε2=ε3=ε∞=1, so dim⁡Mk=⌊k/12⌋ if k≡2(mod12) and ⌊k/12⌋+1 otherwise. In fact M(SL2(Z))=C[E4,E6].

Odd weights need more care: if −I∈Γ there is nothing, and otherwise cusps split into regular and irregular ones. The calculator covers even k.

Explore

Group
dim⁡Sk(Γ) against the level N, at the chosen weight. the chosen level

Worked example

Compute the genus of X0(11) and the dimensions of S2(Γ0(11)), M2(Γ0(11)) and S4(Γ0(11)). For a prime p, ε2(Γ0(p)) is the number of solutions of x2≡−1(modp) and ε3(Γ0(p)) the number of solutions of x2−x+1≡0(modp).

  1. Find d, ε2, ε3 and ε∞.

    d=12. Since 11≡3(mod4), −1 is not a square mod 11: ε2=0. Since 11≡2(mod3), x2−x+1 has no roots mod 11: ε3=0. And ε∞=2.

  2. Compute the genus.

    g=1+1212−0−0−22=1.

    X0(11) is a torus. Module 7 shows which one.

  3. Now the weight-2 dimensions.

    dim⁡S2=g=1 and dim⁡M2=g+ε∞−1=2: one cusp form and one Eisenstein series.

  4. And dim⁡S4(Γ0(11))?

    (4−1)(1−1)+⌊4/4⌋⋅0+⌊4/3⌋⋅0+(2−1)⋅2=2. Check it in the calculator with N=11, k=4.

Check your understanding

For which of these levels is S2(Γ0(N))=0?

  1. N=11The worked example gives genus 1.
  2. N=13
  3. N=14d=24, ε2=ε3=0, ε∞=4: genus 1.
  4. N=15d=24, ε2=ε3=0, ε∞=4: genus 1.
For N=13: d=14, and 13≡1 mod both 4 and 3, so ε2=ε3=2, ε∞=2. Then g=1+1412−24−23−1=0. Primes with many elliptic points have smaller genus.

Γ′⊆Γ are congruence subgroups. Which statement always holds?

  1. g(X(Γ′))=[Γ:Γ′]⋅g(X(Γ))That ignores ramification and the −2 in 2g−2. For Γ0(11)⊆SL2(Z) it would give 12⋅0=0, not 1.
  2. g(X(Γ′))≥g(X(Γ))
  3. g(X(Γ′))≤g(X(Γ))A smaller group gives a larger curve, which covers the other one.
X(Γ′)→X(Γ) is a holomorphic map of degree n≥1, so Riemann–Hurwitz gives 2g′−2≥n(2g−2). If g≥1 this is at least 2g−2; if g=0 there is nothing to prove.

For k≥4 even, dim⁡Mk(SL2(Z))−dim⁡Sk(SL2(Z))=1. Why 1?

  1. Because SL2(Z) has one cusp, and the complement of the cusp forms has one Eisenstein series per cusp.
  2. Because dim⁡Mk(SL2(Z))=1 for all k≥4.dim⁡M12=2 and dim⁡M24=3.
  3. Because Δ is the only cusp form.There are more: ΔE4 has weight 16, and S24 is 2-dimensional. The difference counts the non-cusp part.
A form is a cusp form when it vanishes at every cusp, which is one linear condition per cusp; the conditions are independent once k≥4. Try Γ0(N) in the calculator: dim⁡Mk−dim⁡Sk equals the number of cusps.

Practice

Level one, every weightFrom the general formula

Use the formula for dim⁡Mk with g=0, ε2=ε3=ε∞=1 to prove the level-one rule: ⌊k/12⌋ if k≡2(mod12), and ⌊k/12⌋+1 otherwise (k≥2 even).

Hint

Write k=12m+r with r∈{0,2,4,6,8,10} and evaluate the floors.

Solution

The formula reads 1−k+⌊k/4⌋+⌊k/3⌋+k/2. With k=12m+r the floors are 3m+⌊r/4⌋ and 4m+⌊r/3⌋, and 1−12m−r+3m+4m+6m=1+m−r. So the dimension is m+1−r+⌊r/4⌋+⌊r/3⌋+r/2. For r=0,2,4,6,8,10 the correction −r+⌊r/4⌋+⌊r/3⌋+r/2 is 0,−1,0,0,0,0. So the answer is m+1, except m when r=2.

The genus of X₀(37)A curve of genus 2

Compute g(X0(37)) and dim⁡S2(Γ0(37)).

Solution

d=38. Since 37≡1(mod4) and 37≡1(mod3), ε2=ε3=2; ε∞=2. So g=1+3812−12−23−1=38−6−812=2, and dim⁡S2(Γ0(37))=2. Module 7 returns to this example.

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 3.1.4The modular curve X0(p)

For a prime p, with αj=(10j1) (0≤j<p) and α∞=(1−110): (a) show SL2(Z)=⨆jΓ0(p)αj; (b) show X0(p) has exactly two cusps; (c) show the period-2 elliptic points correspond to solutions of x2+1≡0(modp); (d) show the period-3 elliptic points correspond to solutions of x2−x+1≡0(modp); (e) show the genus with k=p+1 is ⌊k/12⌋−1 if k≡2(mod12) and ⌊k/12⌋ otherwise.

Hint

The cosets Γ0(p)\SL2(Z) correspond to bottom rows up to scaling, i.e. points of P1(Fp). Then use g=1+d12−ε24−ε33−ε∞2.

Solution

(a) Γ0(p)γ=Γ0(p)γ′ iff the bottom rows of γ,γ′ agree in P1(Fp). The αj have bottom rows (j:1) and α∞ has (1:0): all p+1 points.

(b) A cusp a/c in lowest terms is Γ0(p)-equivalent to ∞ if p∣c, and to 0 otherwise. ∞ and 0 are not equivalent. So there are two cusps.

(c), (d) γαj(i)=αj(i) iff αj−1γαj fixes i, i.e. is ±S. So γ=±αjSαj−1, and this lies in Γ0(p) iff its lower-left entry j2+1≡0(modp). The same computation with the stabiliser of μ3 gives j2−j+1≡0. The counts are ε2=1+(−1p) and ε3=1+(−3p) for p>3, with ε2(2)=1, ε3(3)=1.

(e) With d=p+1 and ε∞=2: g=p+112−ε24−ε33. Since ε2 and ε3 depend only on pmod12, check each residue class. For example, p≡11: ε2=ε3=0 and k≡0, so g=k/12. p≡1: ε2=ε3=2 and k≡2, so g=k12−12−23=k−1412=⌊k/12⌋−1. The classes 5 and 7 give ⌊k/12⌋ similarly, and p=2,3 give g=0.

Exercise 3.5.3Dimensions and bases for level one

Prove that dim⁡Mk(SL2(Z)) is ⌊k/12⌋+1 for even k≥0 with k≢2(mod12), ⌊k/12⌋ for k≡2(mod12), and 0 for odd or negative k. Give bases for k≤24 as polynomials in E4,E6.

Hint

Multiplication by Δ is an isomorphism Mk→Sk+12, and Mk=Sk⊕CEk for k≥4. Handle k≤10 with the valence formula.

Solution

The valence formula v∞(f)+12vi(f)+13vμ3(f)+∑vτ(f)=k/12 shows Mk=0 for k<0 and for k=2, M0=C, and dim⁡Mk=1 for k=4,6,8,10 (spanned by E4,E6,E42,E4E6). Also Δ has no zeros on H and a simple zero at ∞, so f↦f/Δ maps Sk isomorphically onto Mk−12. Hence dim⁡Mk=1+dim⁡Mk−12 for k≥4, and induction gives the formula. Odd k give 0 because −I acts by (−1)k.

Bases (monomials E4aE6b with 4a+6b=k): k=4: E4; 6: E6; 8: E42; 10: E4E6; 12: E43,E62; 14: E42E6; 16: E44,E4E62; 18: E43E6,E63; 20: E45,E42E62; 22: E44E6,E4E63; 24: E46,E43E62,E64. The count of monomials matches the dimension, and they are independent (look at the orders of vanishing at i and μ3).

Exercise 3.9.5Which X(N) have genus 0 or 1?

For which N is g(X(N)) equal to 0? To 1?

Hint

For N≥3, g(X(N))=1+(N−6)N224∏p∣N(1−p−2).

Solution

The formula comes from Riemann–Hurwitz with ε2=ε3=0 and N2∏(1−p−2)/2 cusps of width N. The sign of N−6 decides: g=0 for N=3,4,5 (check: N=5 gives 1−2524⋅2425=0); g=1 for N=6; g≥2 for N≥7 (N=7 gives 3). Also X(1) and X(2) have genus 0. So genus 0 exactly for N≤5, and genus 1 exactly for N=6.

Coefficient labDiamond–Shurman, Ch. 4: Eisenstein Series

Eisenstein series and q-expansions

The first modular forms anyone writes down are Eisenstein series: sum (cτ+d)−k over all pairs of integers. Their q-expansions have divisor sums as coefficients. Because the spaces Mk are so small, matching two q-expansions proves identities between divisor sums that are hard to see directly.

The idea

Eisenstein series. For even k≥4, Gk(τ)=∑(c,d)≠(0,0)(cτ+d)−k converges absolutely and lies in Mk(SL2(Z)). Its q-expansion is Gk=2ζ(k)Ek, where
Ek(τ)=1−2kBk∑n≥1σk−1(n)qn,σk−1(n)=∑d∣ndk−1,

and the Bernoulli numbers come from t/(et−1)=∑Bktk/k!. So E4=1+240∑σ3(n)qn, E6=1−504∑σ5(n)qn, E8=1+480∑σ7(n)qn, and E12=1+65520691∑σ11(n)qn.

The discriminant. Δ=(E43−E62)/1728=q∏n≥1(1−qn)24=∑τ(n)qn is a cusp form of weight 12; it spans S12(SL2(Z)).
Weight 2. E2=1−24∑σ1(n)qn is holomorphic and periodic but not modular: E2(−1/τ)=τ2E2(τ)+12τ2πi. The defining double sum does not converge absolutely, which is why the usual argument fails. Combinations such as E2(τ)−NE2(Nτ) are modular of weight 2 for Γ0(N).
Four squares. θ(τ)=∑m∈Zqm2 satisfies θ4∈M2(Γ0(4)), a space of dimension 2 spanned by Eisenstein series. Comparing two coefficients gives θ4=13(4E2(4τ)−E2(τ)), so the number of ways to write n as a sum of four squares is
r4(n)=8∑d∣n, 4∤dd.

The explorer computes these series exactly, with integer arithmetic, and checks each identity coefficient by coefficient. The log–log plot shows a second fact: Eisenstein coefficients grow like nk−1, while cusp form coefficients grow much more slowly, like n(k−1)/2 up to small factors (Deligne's bound).

Explore

Series
log⁡|an| against log⁡n. |an| slope k−1 slope (k−1)/2, both through n=1

Worked example

Prove that for every n≥1,

σ7(n)=σ3(n)+120∑m=1n−1σ3(m)σ3(n−m).
  1. Why must E42=E8?

    Both lie in M8(SL2(Z)), which has dimension ⌊8/12⌋+1=1. So E42=cE8, and comparing constant terms (both 1) gives c=1.

  2. Check the coefficient of q on both sides.

    E42=1+2⋅240q+⋯=1+480q+⋯, and E8=1+480σ7(1)q+⋯. They agree.

  3. Write down the coefficient of qn on each side and solve for σ7(n).

    On the left: 2⋅240σ3(n)+2402∑m=1n−1σ3(m)σ3(n−m). On the right: 480σ7(n). Divide by 480 to get the identity.

  4. Test it at n=2.

    σ7(2)=1+128=129, and σ3(2)+120σ3(1)2=9+120=129. The explorer's "E₄² = E₈?" check does this for every n≤120.

Check your understanding

Why can E2=1−24∑σ1(n)qn not be a modular form for SL2(Z)?

  1. M2(SL2(Z))=0, but E2 has constant term 1.
  2. Its coefficients are negative.E6 has negative coefficients and is a modular form.
  3. It is not holomorphic on H.The q-series converges for |q|<1, so it is holomorphic. The problem is the transformation law.
The dimension formula gives dim⁡M2=0 for level 1, so a nonzero weight-2 form is impossible. The correction term 12τ/(2πi) in its transformation law records exactly how it fails.

Write f∈M12(SL2(Z)) as f=cE12+c′Δ. You know that an(f)=O(n6). What is c?

  1. c=0
  2. c=1Then an(f) would include 65520691σ11(n)≥65520691n11, far bigger than n6.
  3. It cannot be determined from growth alone.Compare the growth of the two pieces: n11 against roughly n11/2.
σ11(n)≥n11, while |τ(n)| grows like n11/2 up to a divisor-count factor. Any nonzero Eisenstein component would dominate. Compare E₄ and Δ in the plot: one hugs the slope k−1 line, the other the slope (k−1)/2 line.

Why is r4(n) given exactly by a divisor sum, with no "error term"?

  1. Because θ4 is a modular form for SL2(Z).M2(SL2(Z))=0. θ4 is modular only for the smaller group Γ0(4).
  2. Because X0(4) has genus 0, so S2(Γ0(4))=0 and M2(Γ0(4)) consists of Eisenstein series.
  3. Because every modular form of weight 2 is an Eisenstein series.S2(Γ0(11)) is 1-dimensional, so weight 2 has cusp forms in general.
dim⁡M2(Γ0(4))=g+ε∞−1=0+3−1=2, all Eisenstein. For eight squares a similar argument works; for many quadratic forms in more variables, a cusp form appears and the divisor-sum formula is only the main term.

Practice

τ(2) from E₄ and E₆Two coefficients by hand

Using E4=1+240q+2160q2+⋯ and E6=1−504q−16632q2+⋯, compute the first two coefficients of (E43−E62)/1728.

Solution

Coefficient of q: 3⋅240−2⋅(−504)=720+1008=1728, giving τ(1)=1. Coefficient of q2: for E43, 3⋅2160+3⋅2402=179280; for E62, 2⋅(−16632)+5042=220752. The difference is −41472=−24⋅1728, so τ(2)=−24.

Four squares at a primeJacobi's formula

Show that r4(p)=8(p+1) for an odd prime p, and check it by listing the representations of 3.

Solution

The divisors of p are 1 and p, neither divisible by 4, so r4(p)=8(1+p). For p=3: 3=(±1)2+(±1)2+(±1)2+02, with 4 places for the zero and 23 choices of signs, giving 32=8⋅4.

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 1.1.7Bernoulli numbers and ζ(2k)

With t/(et−1)=∑Bktk/k!: (a) show B2=1/6, B4=−1/30, B6=1/42. (b) Using πτcot⁡πτ=1−2∑k≥1ζ(2k)τ2k=πiτ+∑kBk(2πiτ)k/k!, show 2ζ(k)=−(2πi)kk!Bk for even k≥2, and deduce ζ(2),ζ(4),ζ(6).

Hint

(a) The recursion ∑k=0n−1(nk)Bk=0 for n≥2, with B0=1. (b) Compare coefficients of τk.

Solution

(a) n=2: 1+2B1=0, B1=−12. n=3: 1+3B1+3B2=0, B2=16. n=5: 1+5B1+10B2+10B3+5B4=0 with B3=0 gives B4=−130. n=7 similarly gives B6=142.

(b) The k=1 term B1(2πiτ)=−πiτ cancels πiτ. For even k≥2, comparing coefficients of τk: −2ζ(k)=Bk(2πi)k/k!. So ζ(2)=−(2πi)22⋅2⋅16=π26, ζ(4)=−(2π)42⋅24⋅(−130)=π490, and ζ(6)=(2π)62⋅720⋅42=π6945.

Exercise 1.2.8The weight-2 Eisenstein series

(a) Verify the Fourier expansion G2(τ)=2ζ(2)−8π2∑σ1(n)qn. (b) If G2 satisfies (G2[γ]2)(τ)=G2(τ)−2πiccτ+d for γ1,γ2, show it does for γ1γ2 and γ1−1. (c) Prove it for S by reordering the double sum.

Hint

(a) Lipschitz: ∑d(τ+d)−2=(2πi)2∑m≥1mqm. (b) The correction term behaves like a cocycle. (c) Subtract the telescoping sum ∑1(cτ+d)(cτ+d+1).

Solution

(a) G2=2ζ(2)+∑c≠0∑d(cτ+d)−2=2ζ(2)+2∑c≥1(2πi)2∑mmqcm. Collecting qn gives −8π2σ1(n).

(b) Write δγ(τ)=2πiccτ+d=2πiddτlog⁡j(γ,τ). The cocycle rule j(γ1γ2,τ)=j(γ1,γ2τ)j(γ2,τ) gives δγ1γ2(τ)=δγ1(γ2τ)j(γ2,τ)−2+δγ2(τ). The slash operator satisfies G[γ1γ2]=(G[γ1])[γ2], so applying the identity twice gives it for γ1γ2. For the inverse, apply the product case to γ1γ1−1=I and solve.

(c) τ−2G2(−1/τ)=∑c∑d(cτ+d)−2, the same terms summed in the other order. The telescoping series ∑c≠0∑d1(cτ+d)(cτ+d+1) is 0 when summed over d first. Subtracting it makes the double sum absolutely convergent, so it can be reordered. Summing over c first, the same telescoping sum equals 2πi/τ. The result is (G2[S]2)(τ)=G2(τ)−2πi/τ, the claimed identity with c=1, d=0.

Coefficient labDiamond–Shurman, Ch. 5: Hecke Operators

Hecke operators and eigenforms

Hecke operators are linear maps on each space of modular forms. On q-expansions they act by a simple rule, they commute with one another, and their common eigenvectors have multiplicative coefficients. This is why τ(mn)=τ(m)τ(n) whenever m and n are coprime.

The idea

Tp. For f∈Mk(Γ0(N)) and a prime p∤N,
(Tpf)(τ)=1p∑j=0p−1f(τ+jp)+pk−1f(pτ),an(Tpf)=apn(f)+pk−1an/p(f),

where an/p=0 if p∤n. The p+1 points (τ+j)/p and pτ correspond to the p+1 sublattices of index p in Λτ, so Tp is an average over sublattices. For p∣N only the first part survives: an(Upf)=apn(f).

Eigenforms. The Tp commute, and for p∤N they are self-adjoint for the Petersson inner product ⟨f,g⟩=∫Γ0(N)\Hfg¯ykdxdyy2. So Sk(Γ0(N)) has a basis of simultaneous eigenforms. If f is an eigenform for all Tn with a1=1, then Tpf=apf, amn=aman for gcd(m,n)=1, and apr+1=apapr−pk−1apr−1 for p∤N.
L-functions. For such f, L(f,s)=∑ann−s=∏p∣N(1−app−s)−1∏p∤N(1−app−s+pk−1−2s)−1. For f∈Sk(SL2(Z)), Λ(f,s)=(2π)−sΓ(s)L(f,s) continues to all of C and satisfies Λ(f,k−s)=(−1)k/2Λ(f,s).
Old and new. If g∈Sk(Γ0(M)) and dM∣N, then g(dτ)∈Sk(Γ0(N)); these span the oldforms. Normalised eigenforms in their orthogonal complement are newforms, and a newform is determined by its ap for all but finitely many p.

Explore

Form f
Prime p
The ratio an(Tpf)/an(f) for 1≤n≤30 (skipping an(f)=0). An eigenform gives a flat line at its eigenvalue.

Worked example

Given only τ(1)=1, τ(2)=−24, τ(3)=252 and the fact that Δ spans S12(SL2(Z)), compute τ(4) and τ(6).

  1. Why is Δ an eigenform of T2, and what is the eigenvalue?

    T2 maps S12 to itself and that space is 1-dimensional, so T2Δ=λΔ. The coefficient of q gives λ=a1(T2Δ)=τ(2)+0=−24.

  2. Compare coefficients of q2 in T2Δ=−24Δ.

    a2(T2Δ)=τ(4)+211τ(1), and this equals −24τ(2)=576. So τ(4)=576−2048=−1472.

  3. Now compare coefficients of q3.

    a3(T2Δ)=τ(6)+0 (since 2∤3), and this equals −24τ(3). So τ(6)=−24⋅252=−6048=τ(2)τ(3). Multiplicativity appears without being assumed.

  4. Confirm in the explorer: choose Δ and p=2. What does the table show?

    Every row has ratio exactly −24: an(T2Δ)=−24τ(n) for each n listed, including n=2 and n=3 used above.

Check your understanding

f=∑anqn is a cusp form with a1=1 and Tpf=λf. What is λ?

  1. pk−1That is the factor in front of f(pτ), not the eigenvalue.
  2. ap
  3. ap+pk−1The second term contributes pk−1a1/p, and a1/p=0.
Compare the coefficient of q: a1(Tpf)=ap+pk−1a1/p=ap, while a1(λf)=λ. This is why the coefficients of a normalised eigenform are its eigenvalues.

E4 is an eigenform for every Tp. Is E43?

  1. Yes: a product of eigenforms is an eigenform.Tp is linear, not multiplicative. Choose E₄³ in the explorer and look at the ratios.
  2. No: E43=E12+432000691Δ, a sum of two eigenforms with different eigenvalues.
  3. Yes, with eigenvalue (1+p3)3.For p=2 that is 729, but the ratio at n=1 is 249.
TpE12=(1+p11)E12 and TpΔ=τ(p)Δ, and 1+p11≠τ(p). The ratios in the explorer drift toward 1+p11 as n grows, because the Eisenstein part dominates large coefficients.

f is the newform in S2(Γ0(11)) and g(τ)=f(2τ)∈S2(Γ0(22)). Is g a newform of level 22?

  1. Yes, because it has level 22.Being modular for Γ0(22) is not enough; newforms must be orthogonal to everything coming from lower levels.
  2. No, it is an oldform: it comes from level 11. (Also a1(g)=0, so it cannot be normalised.)
  3. It is not even in S2(Γ0(22)).If γ∈Γ0(22) then conjugating by diag(2,1) gives an element of Γ0(11), so f(2τ) is modular for Γ0(22).
f(τ) and f(2τ) span a 2-dimensional space of oldforms in S2(Γ0(22)), which has dimension g(X0(22))=2. So level 22 has no newforms of weight 2 at all.

Practice

τ(8)The prime-power recursion

Use apr+1=apapr−pk−1apr−1 to compute τ(8) from τ(2)=−24 and τ(4)=−1472.

Solution

τ(8)=τ(2)τ(4)−211τ(2)=(−24)(−1472)+2048⋅24=35328+49152=84480. Check it with the explorer's T2 table: the row n=4 needs τ(8).

Eisenstein series are eigenformsA divisor-sum identity

Show that TpEk=σk−1(p)Ek=(1+pk−1)Ek for every prime p.

Hint

You need σ(pn)+pk−1σ(n/p)=(1+pk−1)σ(n) with σ=σk−1. Write n=prm with p∤m and use multiplicativity of σ.

Solution

Constant term: a0(TpEk)=a0+pk−1a0=(1+pk−1)a0. For n≥1, put x=pk−1, so σ(pr)=1+x+⋯+xr. The identity becomes σ(m)[(1+⋯+xr+1)+x(1+⋯+xr−1)]=σ(m)(1+x)(1+⋯+xr), which is true term by term (for r=0 the second bracket is empty). Every coefficient of Ek is a multiple of σk−1(n), so TpEk=(1+pk−1)Ek.

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 5.3.3Tn on q-expansions at n=p

Check that the formula am(Tnf)=∑d∣(m,n)χ(d)dk−1amn/d2(f) (Proposition 5.3.1) reduces to am(Tpf)=amp(f)+χ(p)pk−1am/p(f) when n=p is prime.

Hint

List the divisors of (m,p).

Solution

(m,p) is 1 if p∤m and p if p∣m. The divisor d=1 gives amp(f). The divisor d=p appears only when p∣m and gives χ(p)pk−1am/p(f). With the convention am/p=0 when p∤m, this is formula (5.4).

Exercise 5.8.3A space without an eigenbasis

Let f∈S2(Γ0(11)) be the normalised eigenform. (a) Show a2(f)=−2. (b) With f1=f(2τ), f2=f(4τ), f3=f(8τ), show β={f,f1,f2,f3} is linearly independent in S2(Γ0(88)). (c) Show V=spanβ is Hecke-stable and find the matrices [Tp]β. (d) Show V contains exactly three normalised eigenforms.

Hint

f=q∏(1−qn)2(1−q11n)2. At level 88, T2 is U2:∑anqn↦∑a2nqn.

Solution

(a) The coefficient of q2 in f is the coefficient of q in ∏(1−qn)2⋯, which is −2.

(b) The leading terms are q,q2,q4,q8, so the four forms are independent. Each lies in S2(Γ0(88)), since g(dτ)∈S2(Γ0(11d)).

(c) For p≠2, Tp commutes with τ↦2iτ and Tpf=ap(f)f (for p=11, a11=1), so [Tp]β=ap(f)I. For p=2: U2f3=f2, U2f2=f1, U2f1=f. At level 11, T2f=−2f means a2n+2an/2=−2an, so U2f=−2f−2f1. With columns the images of f,f1,f2,f3:

[T2]β=(−2100−201000010000).

(d) Eigenforms are eigenvectors of U2 with a1=1. On span(f,f1) the characteristic polynomial is x2+2x+2, with eigenvectors f+(1±i)f1 for λ=−1±i. The eigenvalue 0 has algebraic multiplicity 2 but only the eigenvector f+2f1+2f2 (solve U2v=0). So there are exactly three normalised eigenforms and no eigenbasis.

Exercise 5.9.3The L-function of an Eisenstein series

Prove L(s,Ekψ,φ/2)=L(s,ψ)L(s−k+1,φ). What is a half plane of convergence?

Hint

The n-th coefficient of Ekψ,φ/2 is σk−1ψ,φ(n)=∑d∣nψ(n/d)φ(d)dk−1.

Solution
∑n∑de=nψ(e)φ(d)dk−1ns=(∑eψ(e)es)(∑dφ(d)ds−k+1)=L(s,ψ)L(s−k+1,φ),

the Dirichlet convolution of the two series. Both converge absolutely for Res>k (the second needs Re(s−k+1)>1), so the identity holds there.

InteractiveDiamond–Shurman, Ch. 6: Jacobians and Abelian Varieties

Periods, Jacobians and an elliptic curve

A weight-2 cusp form is the same thing as a holomorphic differential on the modular curve. Integrating it along closed loops gives a lattice of periods, and C modulo that lattice is an elliptic curve. At level 11 you can watch it happen: the periods of a single cusp form land on a lattice whose j-invariant is that of y2+y=x3−x2−10x−20.

The idea

Forms are differentials. For f∈S2(Γ) and γ∈Γ, d(γτ)=dτ/(cτ+d)2, so f(γτ)d(γτ)=f(τ)dτ. The differential f(τ)dτ descends to X(Γ), and it is holomorphic there exactly because f is a cusp form. This gives S2(Γ)≅Ωhol1(X(Γ)), of dimension g.
Jacobian. For a compact Riemann surface X of genus g, integration over loops embeds H1(X,Z) as a lattice in Ωhol1(X)∧≅Cg, and Jac(X)=Cg/H1(X,Z) is a complex torus of dimension g. For X0(N) this is J0(N), and Hecke operators act on it.
The period map. For f=∑anqn∈S2(Γ0(N)) put φ(τ)=2πi∫i∞τf(z)dz=∑n≥1annqn. Then
P(γ)=φ(γτ)−φ(τ),γ∈Γ0(N),

does not depend on τ, and P:Γ0(N)→C is a homomorphism that vanishes on parabolic elements and on elements of finite order. Its image Λf is the set of periods of 2πif(τ)dτ.

Elliptic curves from forms. If f is a newform with rational coefficients, Λf is a lattice and τ↦φ(τ)modΛf defines a surjective holomorphic map X0(N)→C/Λf. More generally each newform f gives an abelian variety Af, a quotient of J0(N) of dimension equal to the degree of the field generated by its coefficients. Modularity, in the form stated in this chapter: for every complex elliptic curve E with j(E)∈Q there are an N and a surjective holomorphic map X0(N)→E.

At level 11 the genus is 1, so J0(11) is X0(11) itself, and S2(Γ0(11)) is spanned by f=q∏n≥1(1−qn)2(1−q11n)2=q−2q2−q3+2q4+q5+⋯.

Explore

Pick γ∈Γ0(11) by its bottom row (c,d); each pick adds its period
Near the real axis: the tiles of a domain for Γ0(11). Drag τ; P(γ) should not change. τ γτ
Periods found so far, in C. periods a reduced basis of the lattice they generate

Worked example

Justify the claims about the period map for f∈S2(Γ0(11)), the ones the explorer lets you test.

  1. Show that P(γ)=φ(γτ)−φ(τ) does not depend on τ.

    Differentiate: ddτφ(γτ)=2πif(γτ)(cτ+d)−2=2πif(τ)=φ′(τ), using the weight-2 law. So the difference has derivative 0 on the connected set H.

  2. Show that P is a homomorphism.

    P(γδ)=[φ(γ(δτ))−φ(δτ)]+[φ(δτ)−φ(τ)]=P(γ)+P(δ), evaluating the first bracket at the point δτ.

  3. Why is P(γ)=0 for γ=(10111)?

    γ is parabolic and fixes the cusp 0. Because f is a cusp form, φ extends continuously to the cusps, so letting τ→0 gives P(γ)=φ(0)−φ(0)=0. The first button in the explorer confirms it numerically.

  4. Choose (c,d)=(11,2) and then (11,4) in the explorer. What do the two periods generate, and what is j?

    The periods are ω1≈−1.26921 and ω2≈0.63460+1.45882i (up to sign). They are independent, the lattice they generate already contains every other period you add, and j(Zω1⊕Zω2)≈−757.6726, which matches j=−122023936/161051 of y2+y=x3−x2−10x−20.

Check your understanding

Which γ∈Γ0(11) certainly has P(γ)=0, without computing?

  1. (1101)
  2. (61112)Its trace is 8, so it is hyperbolic, neither parabolic nor of finite order. The explorer shows its period is a basis vector of the lattice.
  3. Every γ, since φ is Γ0(11)-invariant.φ is only invariant up to periods; that is the whole point of P.
φ(τ+1)=φ(τ) because φ is a power series in q. In general P kills parabolic elements, elements of finite order and commutators, so it factors through H1(X0(11),Z).

What is the dimension of J0(23)?

  1. 1That would need genus 1. Compute g(X0(23)) with d=24, ε2=ε3=0, ε∞=2.
  2. 2
  3. 23The dimension is the genus, not the level.
g=1+2−0−0−1=2, so J0(23) is a 2-dimensional complex torus, isomorphic to C2 modulo the periods of the two-dimensional space S2(Γ0(23)).

The periods you have found generate a lattice Λ′⊊Λf of index 4. How is C/Λ′ related to E=C/Λf?

  1. They are isomorphic, since the lattices are commensurable.Isomorphic needs Λ′=mΛf. Commensurable lattices usually have different j; the explorer shows this when you pick only (33,−7) and (33,−10).
  2. z↦z induces a surjective homomorphism C/Λ′→E with kernel Λf/Λ′ of order 4: an isogeny of degree 4.
  3. There is no holomorphic map between them.The identity of C descends, because Λ′⊆Λf.
Isogenous curves need not be isomorphic. To identify E you need all of Λf, which is why the explorer keeps adding periods until the generated lattice stops growing.

Practice

What the period map forgetsTorsion and commutators

Show that P(γ)=0 if γ has finite order, and that P(γδγ−1δ−1)=0 for all γ,δ.

Solution

P is a homomorphism to the torsion-free abelian group C. If γn=±I then nP(γ)=P(±I)=0 (±I acts trivially), so P(γ)=0. And P(γδγ−1δ−1)=P(γ)+P(δ)−P(γ)−P(δ)=0.

J₀(37) up to isogenyCounting newforms

S2(Γ0(37)) is 2-dimensional (module 4) and is spanned by two newforms with rational coefficients, with a2=−2 and a2=0. What does this say about J0(37)?

Solution

Each newform fi gives a 1-dimensional quotient Afi=Ei, an elliptic curve, and J0(37) is isogenous to E1×E2. The two curves are not isogenous to each other: isogenous curves have the same ap, and here a2 differs.

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 6.1.3No degree-one functions in positive genus

Use the Riemann–Hurwitz formula to show that if X has genus g>0, there is no f∈C(X) of degree 1.

Hint

A degree-1 map X→P1(C) is unramified.

Solution

If f:X→P1(C) has degree 1, every ramification index is 1, and Riemann–Hurwitz gives 2g−2=1⋅(2⋅0−2)+0=−2, so g=0.

Exercise 6.6.3Isogenies of complex tori

(a) Show that φ(z+Λg)=Mz+Λh, with M∈Mh,g(C) and MΛg⊂Λh, is an isogeny when h=g and M is invertible. (b) Show isogeny is an equivalence relation.

Hint

The kernel is M−1Λh/Λg. For symmetry, if MΛg has index n in Λh, then nΛh⊂MΛg.

Solution

(a) φ is a well-defined holomorphic homomorphism, onto because M is onto Cg. Its kernel is M−1Λh/Λg, a quotient of two lattices in Cg (M−1Λh is a lattice containing Λg), hence finite. So φ is an isogeny.

(b) Reflexive: the identity. Transitive: compose; kernels stay finite. Symmetric: let n=[Λh:MΛg]. Then nΛh⊂MΛg, so N=nM−1 satisfies NΛh⊂Λg and defines an isogeny back, with φ∘ψ=[n].

Animated lessonDiamond–Shurman, Ch. 7: Modular Curves as Algebraic Curves

Elliptic curves as cubics: the group law

Chapter 7 moves from complex analysis to algebra. An elliptic curve becomes a cubic equation, its group law becomes the geometry of lines, and modular curves turn out to be algebraic curves with equations over Q. The animation shows the group law; you can drag both points and change the curve.

The idea

Weierstrass equation. Over a field of characteristic not 2 or 3, E:y2=x3+ax+b with 4a3+27b2≠0 (so the curve has no singular point), together with one point O at infinity, where all vertical lines meet.
Group law. Three points on a line add to zero: P+Q+R=O. So P+Q is the reflection of the third intersection point of the line PQ, and −(x,y)=(x,−y). In coordinates, with λ the slope of the chord (or tangent, if P=Q),
λ=yQ−yPxQ−xP (or 3xP2+a2yP),xP+Q=λ2−xP−xQ,yP+Q=−(yP+λ(xP+Q−xP)).

Over C nothing new happens: for E=C/Λ, the map z↦(℘(z),℘′(z)) is a group isomorphism onto y2=4x3−g2x−g3, so the chord rule is just addition in C/Λ. The point of the algebraic version is that it makes sense over Q and over Fp, which the next two modules need.

Modular curves over Q. The function field of X0(N) is C(j,jN) with jN(τ)=j(Nτ), and jN satisfies a polynomial ΦN(j,jN)=0 with integer coefficients (the modular polynomial). So X0(N) has a model over Q, and so does the map X0(N)→E from the last module. Hecke operators and isogenies have algebraic descriptions too.

Watch

y2=x3+ax+b. Drag P and Q along the curve. line third point P+Q 2P
  1. The curve and two points P, Q on it.
  2. Draw the line through P and Q.
  3. A cubic meets a line three times: the third point is R, and P+Q+R=O.
  4. Reflect R in the x-axis. That is P+Q.
  5. The same rule with the tangent at P gives 2P. If the line is vertical, the third point is O.

Worked example

On E:y2=x3−x+1 (the default curve above), take P=(0,1) and Q=(1,1). Compute P+Q and 2P.

  1. Find the line through P and Q and all its intersections with E.

    The line is y=1. Substituting, x3−x+1=1, so x3−x=0 and x∈{0,1,−1}. The third point is R=(−1,1).

  2. What is P+Q? Check it against the formula.

    P+Q=−R=(−1,−1). With λ=0: x=0−0−1=−1 and y=−(1+0)=−1.

  3. Compute 2P with the tangent at P.

    λ=(3⋅02−1)/(2⋅1)=−12. Then x2P=14−0=14 and y2P=−(1−12⋅14)=−78.

  4. Verify that 2P lies on E.

    (14)3−14+1=1−16+6464=4964=(78)2. The coordinates stay rational: E(Q) is a group, and the chord rule is how you compute in it.

Check your understanding

Why is P+Q defined as the reflection of the third point R, rather than R itself?

  1. To keep the y-coordinate positive.P+Q can have either sign of y. The reason is structural.
  2. The operation (P,Q)↦R has no identity element; with O as identity and P+Q+R=O, the reflection is what makes a group.
  3. Because the line through P and Q meets E twice more.A line meets a cubic in three points counted with multiplicity: P, Q and exactly one more.
If P∗Q denotes the third point, then P∗O=−P, not P. Defining P+Q=O∗(P∗Q) fixes this, and associativity is then a real theorem (one proof: over C it is addition in C/Λ).

Which points P≠O on y2=x3+ax+b satisfy 2P=O?

  1. Exactly the points with y=0.
  2. Points where the tangent is horizontal.A horizontal tangent meets E again at a finite point. You need the tangent to pass through O.
  3. None: only O has order dividing 2.Over C, E[2]≅(Z/2)2 has three nonzero points.
2P=O means P=−P, so (x,y)=(x,−y) and y=0: the roots of the cubic. Over R you can see one or three of them, depending on the sign of 4a3+27b2.

Set a=b=0 in the explorer. Why is y2=x3 not an elliptic curve?

  1. Because it has no rational points.(1,1) and (4,8) are on it.
  2. 4a3+27b2=0: the curve is singular at (0,0), where both partial derivatives vanish and there is no tangent line.
  3. Because it is symmetric about the x-axis.Every curve y2=x3+ax+b is.
At a singular point the chord-tangent rule breaks down. The same happens on reductions mod p for the finitely many primes dividing the discriminant, the bad primes of the next module.

Practice

The 2-torsionThree roots, one group

Let E:y2=(x−e1)(x−e2)(x−e3) with distinct ei. Show that {O,(e1,0),(e2,0),(e3,0)} is a subgroup isomorphic to (Z/2Z)2.

Solution

Each (ei,0) equals its own negative, so it has order 2. The three points lie on the line y=0, so they add to O, giving (e1,0)+(e2,0)=−(e3,0)=(e3,0). The set is closed under addition, every element has order at most 2, and it has 4 elements: it is (Z/2)2.

A point of order 6Repeated doubling

On y2=x3+1, show that P=(2,3) has order 6.

Solution

Tangent at P: λ=3⋅4/6=2, so x2P=4−4=0, y2P=−(3+2(0−2))=1: 2P=(0,1). Tangent at (0,1) has slope 0, so 4P=(0,−1)=−2P, hence 6P=O. Also 3P=P+2P: λ=(1−3)/(0−2)=1, x=1−2−0=−1, y=−(3+1⋅(−3))=0, so 3P=(−1,0)≠O, and 2P≠O. The order is 6.

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 7.1.4The group law, algebraically

For E:y2=4x3−g2x−g3: (a) show the casewise λ,μ give the secant through P,Q (P≠Q) or the tangent at P=Q; (b) show the algebraic addition formula matches the geometric description; (c) find a rational point on y2=4x3−7 other than (2,±5).

Hint

Substitute y=λx+μ into the cubic and use the sum of the roots.

Solution

(a) For xP≠xQ, λ=yQ−yPxQ−xP is the secant slope. For P=Q, implicit differentiation gives λ=12xP2−g22yP. In both cases μ=yP−λxP.

(b) Substituting, 4x3−λ2x2−⋯=0 has roots xP,xQ,xR (with multiplicity for tangency), so xR=λ2/4−xP−xQ and yR=λxR+μ. Geometrically P+Q+R=0, so P+Q=(xR,−yR), which is the algebraic formula.

(c) Double P=(2,5): λ=48/10=24/5, x=14425−4=4425, μ=5−485=−235, yR=245⋅4425−235=481125. So 2P=(4425,−481125). Check: 4(4425)3−7=23136115625=(481125)2.

Exercise 7.1.52- and 3-torsion

(a) Confirm that x([2]P)=xP amounts to 48x4−24g2x2−48g3x−g22=0. (b) Compute E[2] and E[3] for y2=4x3−4x.

Hint

x([2]P)=λ2/4−2x with λ2=(12x2−g2)24(4x3−g2x−g3).

Solution

(a) λ2/4=3x becomes (12x2−g2)2=48x(4x3−g2x−g3). Expanding: 144x4−24g2x2+g22=192x4−48g2x2−48g3x, i.e. 48x4−24g2x2−48g3x−g22=0. Its roots are the x-coordinates of the nonzero 3-torsion points.

(b) g2=4, g3=0. E[2]={O,(0,0),(1,0),(−1,0)}. For E[3]: 48x4−96x2−16=0, i.e. 3x4−6x2−1=0, so x2=1±23. That gives four values x=±1+2/3, ±i2/3−1, each with two values y=±4x(x2−1). Together with O that's 9 points, as expected.

InteractiveDiamond–Shurman, Ch. 8: The Eichler–Shimura Relation and L-functions

Counting points mod p

Reduce an elliptic curve over Q modulo a prime p and count its points. The defect ap=p+1−#E(Fp) looks random, but for each curve below it equals the p-th coefficient of one weight-2 newform, for every prime. The Eichler–Shimura relation explains why, and the Modularity Theorem says it happens for every elliptic curve over Q.

The idea

Reduction. Take a minimal integral Weierstrass equation for E/Q, y2+a1xy+a3y=x3+a2x2+a4x+a6, and reduce its coefficients mod p. Define ap(E)=p+1−#E~(Fp), counting all solutions in Fp2 plus the point at infinity. If the reduced curve is nonsingular, p is a prime of good reduction; this fails for the finitely many p dividing the discriminant.
Hasse's bound. At good primes, |ap(E)|≤2p. At bad primes, ap∈{0,±1}: 1 or −1 for a node (split or non-split multiplicative reduction), 0 for a cusp (additive).
Conductor and L-function. The conductor N is divisible exactly by the bad primes, to the first power for multiplicative reduction and to a higher power for additive. L(E,s)=∏p∣N(1−app−s)−1∏p∤N(1−app−s+p1−2s)−1.
Eichler–Shimura. On the reduction of X0(N) mod p∤N, the Hecke correspondence Tp decomposes as Frobenius plus its transpose. As a consequence, if f∈S2(Γ0(N)) is a newform with rational coefficients and Ef is the curve from module 7 (which has a model over Q), then ap(Ef)=ap(f) for all p∤N.
Modularity. For every elliptic curve E/Q of conductor N there is a newform f∈S2(Γ0(N)) with ap(f)=ap(E) for all primes p. Equivalently L(E,s)=L(f,s).

The explorer counts points by brute force and computes f as an eta product, independently, and compares.

Explore

Curve and its newform
Solutions (x,y)∈Fp2, with 0≤x,y<p. the singular point, at a bad prime
ap for p<200. from counting (rings) from the newform (dots) ±2p

Worked example

E:y2=x3−x has conductor 32, and its newform is f=q∏n≥1(1−q4n)2(1−q8n)2=q−2q5−3q9+6q13+⋯. Check a5 and a3 by hand, then explain the zeros.

  1. Count E(F5).

    x3−x for x=0,1,2,3,4 is 0,0,1,4,0 mod 5. The value 0 gives one y; the squares 1 and 4 give two each. So 1+1+2+2+1=7 affine points, 8 with O, and a5=5+1−8=−2, the coefficient of q5.

  2. Count E(F3).

    x3≡x for every x∈F3, so each x gives only y=0: 3 affine points, 4 in all, and a3=0. The q3 coefficient of f is also 0.

  3. Show that ap=0 for every prime p≡3(mod4).

    g(x)=x3−x is odd, and −1 is not a square mod p. For each pair {x,−x} with g(x)≠0, exactly one of g(x), g(−x)=−g(x) is a square, so the pair contributes 2 points. The three roots 0,±1 contribute 1 each. Total 3+(p−3)=p affine points, so ap=0.

  4. What does the formula for f say about ap for p≡3(mod4)?

    f is q times a series in q4, so only exponents ≡1(mod4) appear: an=0 for n≡3(mod4). Point counting and the modular form agree for a structural reason (the curve has complex multiplication by Z[i]); in the explorer they agree at every p<200.

Check your understanding

An elliptic curve has good reduction at p=101. What is the largest possible value of #E(F101)?

  1. 101⋅101+1That counts every point of the plane. Each x gives at most two values of y.
  2. 122
  3. 2⋅101+1=203That is a trivial bound (two y per x, plus O). Hasse is much sharper.
#E=p+1−ap≤p+1+2p=102+20.1…, so at most 122. On average about half the values of x3+ax+b are squares, which is why the count stays near p+1.

The curve 11a has a11=1. What does this say about its reduction at 11?

  1. Good reduction.11 divides the discriminant: it is the conductor.
  2. Additive reduction (a cusp).Then the count would be p+1 and ap=0.
  3. Split multiplicative reduction: a node with tangent directions defined over F11.
At a split node the nonsingular points form a group isomorphic to Fp×, so there are p−1 of them, plus the singular point: p in all, and ap=1. Choose 11a and p=11 in the explorer to see the singular point.

y2+y=x3 and y2+y=x3−7 have the same ap for every prime. Does that contradict the fact that a newform determines its elliptic curve?

  1. Yes: one of the two curves cannot be modular.Every elliptic curve over Q is modular.
  2. No: a newform determines its curve only up to isogeny, and these two curves are isogenous.
  3. No: the equal ap are a coincidence of small primes.They agree at every prime, which is no coincidence.
Isogenous curves have the same L-function. By Faltings' isogeny theorem the converse holds: equal ap for all p forces an isogeny. Both curves have conductor 27 and newform q∏(1−q3n)2(1−q9n)2.

Practice

Count by hand at p = 7The curve y² = x³ + 1

Count E(F7) for E:y2=x3+1, and compare with the coefficient of q7 in η(6τ)4=q∏(1−q6n)4.

Solution

Cubes mod 7 are 0,1,6: x=0 gives x3+1=1 (2 points); x=1,2,4 give 2, a square (32=9≡2), so 2 points each; x=3,5,6 give 0, 1 point each. Total 2+6+3=11, so #E=12 and a7=−4. The product is q(1−4q6+⋯), whose q7 coefficient is −4.

A rational point of order 5A congruence for every good prime

The point (5,5) on E:y2+y=x3−x2−10x−20 has order 5. Use the fact that reduction mod a good prime p is injective on the torsion of order prime to p to show that ap≡p+1(mod5) for p∤55. Check p=2,3,7.

Solution

The subgroup generated by (5,5) maps injectively into E~(Fp), so 5 divides #E~(Fp)=p+1−ap. Check: a2=−2 and 3≡−2; a3=−1 and 4≡−1; a7=−2 and 8≡−2(mod5). Module 10 reinterprets this as a statement about a Galois representation.

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 8.3.6Reduction types of y2=x3−1 and y2=x3−x

(a) Show E:y2=x3−1 is globally minimal with good reduction at all p>3; find its reduction type at 2 and 3. (b) For p≡2(mod3), show |E(Fp)|=p+1, so the reduction is supersingular. (c) For E:y2=f(x) over Fp, show |E(Fp)|≡1−c(modp), where c is the coefficient of xp−1 in f(p−1)/2. (d) For p≡1(mod3), deduce |E(Fp)|≡1−(−1)(p−1)/6((p−1)/2(p−1)/3)≢1, so the reduction is ordinary. (e) Do the same analysis for y2=x3−x.

Hint

Δ=−16(4a3+27b2) and c4=−48a for y2=x3+ax+b. Use ∑x∈Fpxi=−1 if (p−1)∣i>0, and 0 otherwise.

Solution

(a) Δ=−432=−2433, whose valuations are <12, so the model is minimal, with good reduction for p>3. c4=0, so at 2 and 3 the reduction is additive (a cusp).

(b) gcd(3,p−1)=1, so x↦x3 and hence x↦x3−1 are bijections of Fp. So |E|=1+∑t(1+χ(t))=1+p, and ap=0.

(c) Each x contributes 1+f(x)(p−1)/2 points, read in {0,1,2}. Summing and reducing mod p, only monomials xi with i>0 and (p−1)∣i survive. Since deg⁡f(p−1)/2=3(p−1)/2<2(p−1), the only one is xp−1, contributing −c.

(d) (x3−1)(p−1)/2 has an xp−1 term from 3j=p−1, with coefficient ((p−1)/2(p−1)/3)(−1)(p−1)/2−(p−1)/3. The binomial coefficient is nonzero mod p because its entries are less than p. So ap≢0 and the reduction is ordinary.

(e) Δ=64=26, minimal, with bad reduction only at 2, and c4=48≡0(mod2), so additive. For p≡3(mod4), f is odd and χ(−1)=−1, so the contributions of x and −x cancel: ap=0, supersingular. For p≡1(mod4), the xp−1 coefficient of (x3−x)(p−1)/2 is ±((p−1)/2(p−1)/4)≠0, so the reduction is ordinary.

Exercise 8.3.7A minimal model with two bad primes

Show y2+xy=x3+x2+44x+55 is in global minimal form, and find the primes of good, multiplicative and additive reduction.

Hint

Compute b2,b4,b6,b8, then Δ and c4. A model is non-minimal at p only if vp(Δ)≥12 and vp(c4)≥4.

Solution

b2=5, b4=88, b6=220, b8=−1661. This gives Δ=−312⋅11 and c4=b22−24b4=−2087, a prime not divisible by 3. At 3, v3(Δ)=12 but v3(c4)=0, so the model is minimal there; it is minimal everywhere else since vp(Δ)<12. Bad reduction occurs only at 3 and 11. Since p∤c4 at both, both are multiplicative. All other primes are good.

SimulationDiamond–Shurman, Ch. 9: Galois Representations

Galois representations and Frobenius

The absolute Galois group of Q acts on the torsion points of an elliptic curve, giving 2-by-2 matrix representations, and the strongest form of Modularity says these come from modular forms. The smallest case, 2-torsion, is already concrete: Frobenius at p is the way p permutes the roots of a cubic, and that permutation knows ap mod 2.

The idea

Frobenius. Let F/Q be a Galois number field unramified at p. For a prime p of F over p there is a unique σ∈Gal(F/Q) with σ(x)≡xp(modp) for all algebraic integers x of F. Changing p conjugates σ, so p determines a conjugacy class Frobp.
Chebotarev density. For each conjugacy class C⊆G=Gal(F/Q), the proportion of primes p with Frobp=C is |C|/|G|.
Representations from E. GQ=Gal(Q―/Q) acts on E[ℓ]≅(Z/ℓ)2, giving ρ¯E,ℓ:GQ→GL2(Fℓ), and on the Tate module lim←⁡E[ℓn]≅Zℓ2, giving ρE,ℓ:GQ→GL2(Zℓ).
Characteristic polynomial. For p∤ℓN, ρE,ℓ is unramified at p and ρE,ℓ(Frobp) has characteristic polynomial x2−ap(E)x+p. A newform f of weight 2 has representations ρf,ℓ with the same property for ap(f). Modularity, Galois version: ρE,ℓ≅ρf,ℓ for some newform f.

The case ℓ=2. For E:y2=g(x) with g a cubic, E[2]={O,(e1,0),(e2,0),(e3,0)} where the ei are the roots of g, and GL2(F2)≅S3 is the group of permutations of the three nonzero points. For p odd and good, the number of roots of g mod p tells you the cycle type of Frobp:

  • 3 roots: the identity, trace 0 in F2;
  • 1 root: a transposition, trace 0;
  • 0 roots: a 3-cycle, trace 1.

So ap is odd exactly when g has no root mod p. The simulation tests this, and Chebotarev, prime by prime.

A famous congruence. τ(n)≡σ11(n)(mod691) for all n. In the language of this chapter, the mod-691 representation attached to Δ is reducible, with the same traces as 1⊕χ11 where χ is the mod-691 cyclotomic character.

Explore

Curve y2=g(x) with g a cubic
How often each Frobenius class occurs among good primes up to the bound. observed Chebotarev's |C|/|G|

Worked example

For E:y2=x3−2, find Frobp in GL2(F2) for p=5,7,31, predict the parity of ap, and check it.

  1. How many roots does x3−2 have mod 5?

    Since gcd(3,4)=1, cubing is a bijection of F5, so there is exactly one cube root of 2 (namely 3, as 27≡2). One root: Frob5 is a transposition, trace 0, so a5 should be even. Counting gives a5=0.

  2. Now p=7.

    The cubes mod 7 are 0,1,6, so 2 is not a cube: no roots, Frob7 is a 3-cycle with trace 1, and a7 should be odd. Counting: x=0 gives −2≡5, not a square; x3=1 gives 6, not a square; x3=6 (three values of x) gives 4, a square, 2 points each. So #E=6+1=7 and a7=1.

  3. Now p=31.

    43=64≡2(mod31), and since 31≡1(mod3) there are three cube roots of unity, so three roots (4,7,20). Frob31 is the identity, and a31=4 is even.

  4. What proportions should the simulation show for this curve?

    The splitting field Q(23,e2πi/3) has Galois group S3: identity 1/6, transpositions 3/6, 3-cycles 2/6. Choose x3−2 and raise the bound to watch the bars approach these heights.

Check your understanding

For p∤ℓN, what is detρ¯E,ℓ(Frobp)?

  1. apmodℓThat is the trace.
  2. pmodℓ
  3. 1The image need not lie in SL2. The Weil pairing identifies det with the action on ℓ-th roots of unity.
The characteristic polynomial is x2−apx+p. The determinant is the mod-ℓ cyclotomic character, because the Weil pairing E[ℓ]×E[ℓ]→μℓ is Galois-equivariant, and Frobp acts on μℓ by ζ↦ζp.

E has a rational point of order ℓ. What follows for ρ¯E,ℓ?

  1. It is trivial.Only the line through the rational point is fixed pointwise; the rest of E[ℓ] can move.
  2. It is reducible, of the form (1∗0χ), so ap≡1+p(modℓ).
  3. Nothing: rational points say nothing about Galois actions.A rational point is exactly a point fixed by every element of GQ.
The rational point spans a Galois-stable line on which GQ acts trivially. The other diagonal entry is then forced by the determinant, χ(Frobp)=p. Trace: 1+p. This is the congruence from the last module's practice problem.

For y2=x3+1, in what proportion of primes does x3+1 split into three linear factors mod p?

  1. 1/2
  2. 1/6That is the answer for Galois group S3. Here −1 is always a root, so the group is smaller.
  3. 1/3The other roots come from x2−x+1, whose splitting field is Q(−3), of degree 2.
G=Gal(Q(−3)/Q) has order 2, so Frobenius is trivial (3 roots) for half the primes, those ≡1(mod3), and a transposition (1 root) for the other half. The simulation shows bars at 1/2, 1/2, 0.

Practice

Ramanujan's congruence at small primesCheck before you believe

Check τ(p)≡1+p11(mod691) for p=2 and p=3, using τ(2)=−24 and τ(3)=252.

Solution

1+211=2049 and 2049−(−24)=2073=3⋅691. 1+311=177148 and 177148−252=176896=256⋅691.

Parity of a_p from 2-torsionWhy the simulation always agrees

Let E:y2=g(x) with g a cubic, and p an odd prime of good reduction. Show directly that #E(Fp) is even if and only if g has a root in Fp, and conclude that ap is odd exactly when g has no root mod p.

Hint

Pair each point with its negative.

Solution

(x,y)↦(x,−y) pairs off the points with y≠0. The points left over are O and the points (e,0) with g(e)=0. So #E≡1+r(mod2), where r∈{0,1,3} is the number of roots. #E is even iff r is odd iff r≥1. Since ap=p+1−#E and p+1 is even, ap is odd iff r=0, matching the trace of a 3-cycle in GL2(F2).

From Diamond and Shurman, A First Course in Modular Forms (Springer GTM 228, 2005)

Numbers match the book. Each question is restated in our own words; the hints and solutions are written for this page.

Exercise 9.1.1Splitting in Q(d1/3,μ3)

Let F=Q(d1/3,μ3). Granting that the factorisation of p∤3d in Q(d1/3) follows that of x3−dmodp, find the factorisation of p in F.

Hint

F/Q is Galois of degree 6, so all primes over p have the same residue degree f, and fg=6 (unramified). Combine with Q(μ3), where p splits iff p≡1(mod3).

Solution
  • p≡1(mod3), d a cube mod p: x3−d splits into three linear factors, and p splits in Q(μ3). So f=1, and p splits completely into 6 primes.
  • p≡1(mod3), d not a cube: x3−d is irreducible mod p, so 3∣f, and f=3, g=2.
  • p≡2(mod3): cubing is a bijection, so x3−d=(linear)(irreducible quadratic) mod p, and p is inert in Q(μ3). So 2∣f, and since a degree-1 prime exists in Q(d1/3), f=2, g=3.
Exercise 9.4.3Isogenous curves have equivalent Galois representations

If E,E′ are isogenous over Q, show Vℓ(E) and Vℓ(E′) are equivalent representations of GQ.

Hint

An isogeny defined over Q commutes with Galois, and it has a dual isogeny with φ^φ=[n].

Solution

Let φ:E→E′ be an isogeny over Q of degree n. It maps E[ℓm]→E′[ℓm] compatibly with GQ and with the inverse system, so it induces a GQ-equivariant Zℓ-linear map TℓE→TℓE′. Since φ^φ=[n] and [n] is invertible on Vℓ=Tℓ⊗Qℓ, the map VℓE→VℓE′ is a GQ-equivariant isomorphism.

Exercise 9.4.4Mod ℓ representations

(a) For E of conductor N and p∤ℓN, explain why ρE,ℓ(Frobp) has characteristic polynomial x2−ap(E)x+p over Fℓ. (b) For y2=x3−d and ℓ=2, show Q(E[2])=Q(d1/3,μ3) and describe ap(E)mod2. (c) If E has a rational point of order ℓ, show the characteristic polynomial of Frobp is (x−1)(x−p), and explain why E[ℓ] can't be entirely rational for ℓ>2.

Hint

(a) Reduce the ℓ-adic statement on TℓE. (b) The 2-torsion points are (x,0) with x3=d, and the traces in GL2(F2)≅S3 are 1 on 3-cycles and 0 otherwise. (c) Use the Weil pairing: detρ is the cyclotomic character.

Solution

(a) On TℓE, Frobp has characteristic polynomial x2−apx+p∈Zℓ[x] (Eichler–Shimura / point counting over Fp). Reducing mod ℓ gives the action on E[ℓ]=TℓE/ℓTℓE.

(b) E[2]∖O consists of (d1/3μ3j,0), so Q(E[2])=F with Galois group S3≅GL2(F2). In GL2(F2), elements of order 3 have characteristic polynomial x2+x+1 (trace 1), and the others have trace 0. Frobp has order 3 exactly when p≡1(mod3) and d is not a cube mod p (Exercise 9.1.1). So ap is odd in that case and even otherwise, consistent with ap=0 for p≡2(mod3).

(c) In a basis P,Q with P rational, ρ(σ)=(1∗0χℓ(σ)), where detρ=χℓ is the mod-ℓ cyclotomic character (Weil pairing). So Frobp has characteristic polynomial (x−1)(x−p). If all of E[ℓ] were rational, ρ would be trivial and χℓ trivial, i.e. μℓ⊂Q, false for ℓ>2.