Imaginary Quadratic Class Number
Imaginary Quadratic Class Number
QUADRATIC FIELD
The factorizations
√ √
6 = 2 · 3 = (1 + −5)(1 − −5)
show that unique factorization fails in the ring
√ √
Z[ −5] = {a + b −5 : a, b ∈ Z},
√
because 2, 3, and 1 ± −5 are irreducible and nonassociate.
These notes present a formula, due to Dirichlet, that in some sense
√ measures the
extent to which unique factorization fails in settings such as Z[ −5]. The large-
scale methodology deserves immediate note, before the reader is immersed in a long
succession of smaller attention-demanding specifics:
• algebra lets us define a group that measures the failure of unique factoriza-
tion,
• geometry shows that the group is finite and gives an algorithm to find a set
of group element representatives in any specific instance,
• and analysis yields the formula for the group’s order.
To move forward through the main storyline without bogging down, the expo-
sition quotes results from algebra and complex analysis even though elementary
arguments are possible in this context. For a more fleshed out and elementary pre-
sentation, see Tom Weston’s online notes for the 2004 Ross mathematics program,
www.math.umass.edu/~weston/oldpapers/cnf.pdf
The class number formula in general is discussed in many number theory books,
such as the books by Marcus and by Borevich and Shafarevich.
Contents
From now on in this writeup the symbol F denotes a quadratic number field,
and quadratic number field is freely shortened to quadratic field .
The conjugation function of F is
√ √
: F −→ F, a + b n = a − b n.
Conjugation is a ring homomorphism, meaning that
x+y =x+y and xy = x y for all x, y ∈ F .
And conjugation is an involution, meaning that
x = x for all x ∈ F .
Thus conjugation is an automorphism of F . The only other automorphism of F is
the identity map, and so the group of automorphisms of F has order 2, generated
by conjugation.
The trace function of F is the additive homomorphism
tr : F −→ Q, tr(α) = α + α.
Specifically,
√ √ √
tr(a + b n) = a + b n + a + b n = 2a.
The norm function of F is the multiplicative homomorphism
N : F × −→ Q× , N(α) = α α.
Specifically,
√ √ √
N(a + b n) = (a + b n)(a + b n) = a2 − b2 n.
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 3
The discriminant of the quadratic polynomial f (X) (the quantity b2 −4ac that goes
under the square root in the quadratic formula) is n if n = 1 (mod 4) and 4n if
n = 2, 3 (mod 4). This quantity, a structure constant of the quadratic field F , will
appear in the class number formula.
Definition 1.4. The discriminant of F is
(
n if n = 1 (mod 4)
DF =
4n if n = 2, 3 (mod 4).
The cases built into the definition of the discriminant allow it to give a uniform
description of the integers,
√
DF + DF
OF = Z[r], r= ,
2
and similarly we will see that the discriminant gives uniform descriptions of various
phenomena associated with F . The minimal polynomial of r is
f (X) = X 2 − DF X + DF (DF − 1)/4,
whose coefficients are rational integers and whose discriminant is indeed DF .
One can think of the casewise formula for the discriminant as the result of a
calculation rather than as a definition. Other definitions of the discriminant are
case-free in terms of g (where OF = gZ ⊕ Z as before), although g itself involves
cases,
1 g 2
DF = (det )
1 g
and
tr(1 · 1) tr(1 · g)
DF = det .
tr(g · 1) tr(g · g)
Further examination quickly shows that these groups are cyclic, but also we know
that any finite subgroup of the multiplicative group of any field is cyclic, so this is
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 5
√
only a confirmation. If F = Q( n) is real quadratic then nontrivially there exists
a so-called fundamental unit u > 1 in OF× such that the unit group is
OF× = {±un : n ∈ Z} ≈ Z/2Z × Z.
Finding the fundamental unit amounts to solving Pell’s Equation, x2 − ny 2 = 1.
Definition 2.3. The symbol w = w(F ) denotes the number of roots of unity in F ,
i.e., the number of complex numbers in F having absolute value 1. Thus
4 if F = Q(i)
√
w(F ) = 6 if F = Q( −3)
2 otherwise.
Thus w is a second structure constant of the field F , along with the discrimi-
nant DF . For imaginary quadratic fields F the number w completely describes the
unit group. For real quadratic fields the fundamental unit u is a further structure
constant necessary for a full description. The more complicated unit group struc-
ture for real quadratic fields is one reason that the class number formula is easier
in the imaginary case.
Because the product aa is an ideal, it contains dOF . That is, we have the
containment aa ⊃ dOF , and to complete the proof we need the other containment.
It suffices to show that for any x, y ∈ a the product xy lies in dOF . The quantities
tr(xy) = xy + xy, N(x) = xx, N(y) = yy
all lie in aa ∩ Z = dZ, and so it follows that
tr(xy/d) = tr(xy)/d ∈ Z and N(xy/d) = N(x)/d · N(y)/d ∈ Z.
Thus xy/d ∈ OF , i.e., xy ∈ dOF . This completes the proof.
The argument that the norm exists made heavy use of the particulars of the
ring OF . In fact, any number ring has an ideal norm, where a number ring is the
ring of integers in any number field , which in turn is any subfield K of C that has
finite dimension as a vector space over Q. However, a norm does not exist for a
general commutative ring.
χ2 (p) = (2/p) and χ−2 (p) = (−2/p) for odd primes p, and trivially so for χ1 as
well.
Define m
= χ2 (m), m odd,
2
with χ2 understood to be lifted from (Z/8Z)× to Z. Recall also the definition
m
= sgn m, m nonzero.
−1
For any odd prime p we have (p/2)(2/p) = 1 because (p/2) = (2/p). Also we
have (−1/2)(2/−1) = 1 because both (−1/2) and (2/−1) are 1. It follows that
(m/2)(2/m) = 1 for all odd integers m.
The Jacobi/Kronecker symbol (P/Q) for coprime nonzero integers now can be
defined totally multiplicatively in its numerator and denominator. Consider two
coprime nonzero integers,
P = 2a P 0 , P 0 odd
( )
.
Q = 2b Q0 , Q0 odd
Thus a, b ∈ Z≥0 with min{a, b} = 0, and P 0 , Q0 are coprime. The general Ja-
cobi/Kronecker symbol reciprocity formula is
1 if at least one of P, Q is positive
P 0 −1 Q0 −1
(P/Q) · (Q/P ) = (−1) 2 · 2 · .
−1 if both P, Q are negative
It follows that uniformly across the four cases of (sgn P, sgn Q),
P 0 −1 Q0 −1
· 2
(1) (P/Q) = (−1) 2 (Q/|P |), P , Q coprime and nonzero.
We will use this formula (1) several times below, rather than the boxed formula
immediately preceding it.
√
Now return to a quadratic field F = Q( n) where n 6= 0, 1 is squarefree. Recall
that the field’s discriminant is defined as
(
n if n = 1 (mod 4)
DF =
4n if n = −1, 2 (mod 4).
Definition 5.1. Let F be a quadratic field with discriminant DF . The quadratic
character of F is
DF
χF : Z6=0 −→ C, χF (m) = .
m
Especially, χF (−1) = sgn(DF ).
√
Theorem 5.2. Let F = Q( n) be a quadratic field with discriminant DF . Then
the quadratic character χF has period |DF |.
Proof. Introduce the notation
DF = 2a δ, m = 2b µ (δ and µ odd).
As in (1) above, the Jacobi/Kronecker symbol reciprocity formula gives
δ−1 µ−1
· 2 m
χF (m) = (−1) 2 if gcd(m, DF ) = 1.
|DF |
10 THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD
There is no need to write the trivial term χ1 (m) in the first case of this formula,
but we did so for uniformity. Because χ1 is trivial and χ−1 has conductor 4 while
χ±2 are primitive modulo 8, and because (·/N ) has period N for squarefree odd
positive N , the respective periods are
|n|
if n = 1 (mod 4)
4|n| if n = −1 (mod 4)
8|n/2| if n = ±2 (mod 8).
We establish the half-period skew periodicity, to be used later in this writeup. The
decomposition
(
× (Z/4Z)× × (Z/|n|Z)× if n = 3 (mod 4),
(Z/|DF |Z) =
(Z/8Z)× × (Z/(|n|/2)Z)× if n = 2 (mod 4)
shows via the Sun Ze theorem that a Dirichlet character of full period modulo |DF |
is naturally viewed as the product of a pair of Dirichlet characters of full period
modulo 4 and |n|, or modulo 8 and |n|/2. (We leave the specifics of showing this to
the reader.) For n = 3 (mod 4), r+|DF |/2 = r+2|n| = r+2 (mod 4). The Dirichlet
character of full period modulo 4 satisfies χ(r + |DF |/2) = χ(r + 2) = −χ(r), and
every Dirichlet character modulo |n| = |DF |/4 satisfies χ(r + |DF |/2) = χ(r);
together these give χF (r + |DF |/2) = −χF (r). Similarly for n = 2 (mod 4),
r + |DF |/2 = r + 2|n| = r + 4 (mod 8), and because the two Dirichlet characters
of full period modulo 8 (these are χ±2 from the beginning of this section) satisfy
χ(r + 4) = −χ(r) it follows again that χF (r + |DF |/2) = −χF (r).
Z[r]/pZ[r] o / Fp [X]/hf (X)i
We seek the prime ideals of Z[r] that contain pZ[r]. Meanwhile, Fp [X] is a Euclidean
ring, hence a PID, so working there is easy. Thus the idea of the proof is to move
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 13
the question from the upper left corner Z[r] of the diagram to the upper right
corner Fp [X].
A basic fact from commutative ring theory is that the prime ideals of a ring R
that contain a given ideal J correspond bijectively in the natural way with the prime
ideals of the quotient R/J; here if J is prime in R then the corresponding prime ideal
of R/J is the zero ideal, so we must admit the zero ideal into consideration. Thus,
finding the prime ideals of Z[r] that contain pZ[r], in the upper left corner of the
diagram, reduces to finding the prime ideals of Z[r]/pZ[r], in the lower left corner
of the diagram, which in turn reduces to finding the prime ideals of Fp [X]/hf (X)i,
in the lower right corner of the diagram, which reduces to finding the prime ideals
of Fp [X] that contain hf (X)i, in the upper right corner of the diagram. Because
Fp [X] is a PID this amounts to factoring f (X) in Fp [X], and the quadratic character
value χF (p) = (DF /p) describes the factorization; here the case p = 2 needs to
be checked separately, its three subcases DF = 1 mod 8, DF = 5 mod 8, DF =
0 mod 4 giving quadratic character values χF (2) = 1, −1, 0 and giving f (X) ∈ F2
with 2, 0, 1 roots. So we are done other than writing the specifics.
To do so, start from
(X − α)(X − β) if χF (p) = 1
f (X) = f (X) if χF (p) = −1
2
(X − α) if χF (p) = 0.
Pass the ideal generators back through the isomorphism Z[r]/pZ[r] ≈ Fp [X]/hf (X)i
given by ϕ(r) + pZ[r] ←→ ϕ(X) + hf (X)i to get that the prime ideals of Z[r]/pZ[r]
are
hr − α + pZ[r]i, hr − β + pZ[r]i if χF (p) = 1
pZ[r] (the zero ideal) if χF (p) = −1
hr − α + pZ[r]i if χF (p) = 0.
√
satisfied by n has discriminant 4n, which is 4DF if n = 1 (mod 4) and is DF if
n = 2, 3 (mod 4). The reader can check that the factorization of f2 (X) modulo p
describes the decomposition of p in OF for any odd prime p, but not necessarily
2 2
for p = 2. For example,√ the reduction X − 5 = (X − 1) modulo 2 seems to suggest
that 2 ramifies in Q( 5), but in fact 2 is inert because X 2 − 5X + 5 is irreducible
modulo 2. In general, when r lies in OF and f (X) is the polynomial of r, the
factorization of f (X) modulo p describes the decomposition of p as a product of
ideals in OF if p does not divide the index [OF : Z[r]]. A sufficient condition for
this is that p2 not divide the discriminant of f (X), and so even when we don’t know
how much bigger OF is than Z[r], we do know that the factorization describes the
decomposition
√ for all p whose squares don’t divide the discriminant. For example,
if F = Q( 3 n) where n > 1 is a cubefree integer then the factorization of X 3 − n
modulo p determines the decomposition of p in OF for all p - 3n, because X 3 − n
has discriminant −27n2 .
Thus an element of the ideal class group is an ideal class, a set of ideals,
C(b) = {αb : α ∈ F × /OF× }
and the multiplication of the ideal class group is
C(b)C(b0 ) = C(bb0 ).
We will see that the ideal class number is finite. The point here is that
All fractional ideals are principal if and only if all integral ideals are
principal, in which case nonzero elements of OF factor uniquely up
to units. Thus unique factorization of elements holds if the ideal
class group is trivial, i.e., if the ideal class number is 1.
In fact unique factorization of elements holds only if the ideal class group is trivial,
but this result is beyond our scope.
The ideal class group and the ideal class number can be constructed with refer-
ence only to integral ideals. Define two integral ideals a and a0 to be equivalent if
αa = α0 a0 for some nonzero α, α0 ∈ OF . Then the ideal class group is the set of
equivalence classes. However, the benefits of introducing fractional ideals are the
more naturally-motivated group structure of the ideal class group as a true quo-
tient group, and the greater immediacy of the fact that the class group measures
the failure of unique factorization.
The ideal class number h is another structure constant of the field F .
|Re(τ )| ≤ 1/2, else some τ + n (where n ∈ Z) has smaller modulus. Thus τ lies in
the fundamental domain,
Λτ = τ Z ⊕ Z, τ ∈ D.
Λτ = τ Z ⊕ Z ∼ Z ⊕ τ −1 Z = −τ −1 Z ⊕ Z.
But −τ −1 is also on the circular arc of the boundary of D, being the horizontal
reflection of τ . And so the left and right halves of the semicircular boundary arc
of D should be identified as well. Otherwise, τ is uniquely determined by the
process just described of finding it. To specify unique representatives, we may keep
only the right half of the boundary of D,
√
• Im(τ ) ≥ 3/2,
• −1/2 < Re(τ ) ≤ 1/2,
• |τ | > 1 if Re(τ ) < 0, and |τ | ≥ 1 if Re(τ ) ≥ 0.
A lattice Λτ where τ satisfies the three previous conditions is normalized.
Especially, we show that each ideal class in an imaginary quadratic field has
a unique normalized element. Indeed, let b be a fractional ideal of the imaginary
quadratic field F . Let α ∈ F × be a least-norm nonzero element of b. The ideal α−1 b
lies in the class of b and it contains 1 as a least-norm nonzero element. Hence it is
normalized. Any other α0 ∈ F × that is a least-norm nonzero element of b differs
multiplicatively from α by a unit, and so α−1 b is unique. The next section will
show that the normalized ideal α−1 b in the ideal class of b has a further property
that allows only finitely many ideal classes altogether.
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 19
For the fourth condition, r satisfies the characteristic polynomial of ac db , i.e.,
r2 − (a + d)r + ad − bc = 0, but also r satisfies the unique minimal polynomial
relation r2 − tr(r)r + N(r) = 0; so tr(r) = a + d, which is to say r − a = −(r − d).
Thus the characteristic polynomial condition (r−a)(r−d)−bc = 0 is N(r−d) = −bc.
Conversely, if N(r−d) = −bc for some b, then let a = tr(r−d)+d; it is easy to verify
that = a + d and N(r) = ad − bc, so r satisfies the characteristic polynomial
tr(r)
of ac db .
The four conditions in the bullet list just above show that for a given imaginary
quadratic field F , with its discriminant DF and its integer ring generator r, there
exist only finitely many values τ = (r − d)/c that describe lattices with complex
multiplication. This shows that the class number of F is finite. The τ -values are
easy to find by hand if |DF | is small, and easy to find by algorithm in any case.
Because ideal class representatives are b = hτ, 1i where τ = (r − d)/c with c and d
satisfying the four conditions, integral representatives are a = hr − d, ci. We have
proved
Theorem 10.2. Let F be an imaginary quadratic field. The ideal class number
h(F ) is finite.
We know that there must exist at least one normalized lattice with CM by r,
corresponding to the identity element of the ideal class group. And indeed, the
lattice OF = Λr works. But there may be others.
For example, the reader can use these ideas to show that the integer ring
√ √
OF = Z[ −39+2 −39 ] of the imaginary quadratic field F = Q( −39) gives four
pairs (c, d) = (1, −20), (2, −20), (2, √
−19), (3, −21), and√so its four ideal class
√
repre-
1+ −39 1+ −39 −1+ −39
sentatives hr − d, ci are OF = h 2 , 1i, p1 = h 2 , 2i, p2 = h 2 , 2i,
√ √ √
−3+ −39 1+ −39 1+ −39
and q = h 2 , 3i. Because OF = Z[ 2 ] and the polynomial of 2
is X 2 − X + 10, the proof of Theorem 6.1 shows that 2OF = p1 p2 and 3OF = q2 .
Because the classes of p1 and p2 are distinct and each is the other’s inverse, so that
neither class is its own inverse, the ideal class group is cyclic of order 4 rather than
the product of two cyclic groups of order 2 (these are the only possibilities for a
four-element abelian group).
Our goal is a formula for h(F ) to complement the algorithm that we now have
for it. The formula requires elements of analytic number theory, to be presented
in the third part of this writeup, in addition to the algebra of the first part and
the geometry of this part. Its conceptual content beyond the ideal class number
algorithm is that it relates the algebraic structure constants of our quadratic number
field—its discriminant, descriptors of its unit group, and its ideal class number—to
an analytic datum, a special value of the quadratic L-function of the field, to be
explained. The following proposition will be cited in the course of the analysis to
follow.
Proposition 10.3. Let F be √
an imaginary quadratic field, let DF be the discrimi-
DF + DF
nant of F , and let r = 2 . Consider an integral ideal class representative
a = hr − d, ci with c and d as just above,
and let α denote the area of the parallelogram spanned by r − d and c. Then
N(a) 2
=p .
α |DF |
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 21
Note that the right side is independent of c and d. That is, the ideal norm
(an algebraic quantity) is the parallelogram area (a geometric quantity) times a
constant that depends only on the field F .
p
Proof. The parallelogram area is α = c |DF |/2, so we need to show that N(a) = c.
Let b = −N(r − d)/c. Because aa = N(a)OF and
aa = hN(r − d), (r − d)c, (r − d)c, c2 i = chb, r − d, r − d, ci,
it suffices to show that hb, r − d, r − d, ci contains 1. It contains the element
g = gcd(b, tr(r) − 2d, c).
To show that g = 1, note that the quantities tr(r)−2d = tr(r−d) and −bc = N(r−d)
are the coefficients of the polynomial of r − d, which has the same discriminant
DF as the polynomial of r because d is real. Also, g 2 divides both terms of this
discriminant and hence divides the discriminant altogether. In symbols,
g 2 | (tr(r) − 2d)2 + 4bc = (tr(r) − 2d)2 − 4N(r − d)
= tr(r)2 − 4tr(r)d + 4d2 − 4N(r) + 4tr(r)d − 4d2
= tr(r)2 − 4N(r) = DF2 − DF (DF − 1) = DF .
√
Recall that our quadratic field is F = Q( n) with n a squarefree negative integer.
If n = 1 (mod 4) then DF = n is squarefree, and so g = 1 and we are done. On the
other hand, if n = 2, 3 (mod 4) then DF = 4n and so g could equal 1 or 2. To show
that g = 1 in this case as well, note that the equality bc = −N(r) + tr(r)d − d2 in
the calculation just carried out is now
DF (DF − 1)
bc = − + DF d − d2 = −n(4n − 1) + 4nd − d2 = n − d2 (mod 4).
4
Thus bc 6= 0 (mod 4) because n = 2, 3 (mod 4) and d2 = 0, 1 (mod 4). So at least
one of b, c is odd, disallowing the possibility that g = gcd(b, tr(r) − 2d, c) is 2.
Also define
∆bn = bn+1 − bn for n ≥ 1.
Then for any 1 ≤ m ≤ n, the summation by parts formula is
n−1
X n−1
X
ak bk = An−1 bn − Am−1 bm − Ak ∆bk .
k=m k=m
The formula is easy to verify in consequence of
ak bk = Ak bk+1 − Ak−1 bk − Ak ∆bk , k ≥ 1,
noting that the first two terms on the right side telescope when summed.
Proposition 11.1. Let {an }n≥1 be a complex sequence such that for some positive
numbers C and r,
n
X
ak ≤ Cnr for all large enough n.
k=1
Then the Dirichlet series
X an
f (s) = , s∈C
+
ns
n∈Z
is complex analytic on the open right half plane {Re(s) > r}. If furthermore {an }
is a nonnegative real sequence then f (s) converges absolutely on {Re(s) > r}.
Proof. Let
{bn } = {n−s }.
Then summation by parts gives for 1 ≤ m ≤ n,
n−1 n−1
X ak An−1 Am−1 X 1 1
= − − Ak − s .
ks ns ms (k + 1)s k
k=m k=m
Introduce the notation
s = σ + it, σ > r,
s σ +
so that |x | = x for all x ∈ R , and estimate that
Z k+1 Z k+1
1 1 −s−1
− s = −s t dt ≤ |s| t−σ−1 dt < |s|k −σ−1 .
(k + 1)s k k k
We are given that |Ak | ≤ Ck r for all large enough k, and so the summation by
parts from a moment ago says that for all large enough 1 ≤ m ≤ n,
n−1 n−1
!
X ak 1 1 X 1
≤C + σ−r + |s| .
ks nσ−r m k σ−r+1
k=m k=m
Recall that σ > r. Let n → ∞ to see that for all large enough m ≥ 1,
∞ ∞
!
X ak 1 X 1
≤C + |s| .
ks mσ−r k σ−r+1
k=m k=m
Because σ > r, the right side goes to 0 as m → ∞. As s varies through a compact
subset K of the open right half plane {σ > r}, the right side goes to 0 at a rate that
depends only onP min{σ : σ + it ∈ K} and max{|s| : s ∈ K}, and thus the Dirichlet
series f (s) = n∈Z+ an n−s converges uniformly on K. Because the partial sums
of f (s) are analytic on {Re(s) > r}, their uniform convergence on compacta is the
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 23
hypothesis for a standard theorem of complex analysis that then says that f (s) is
analytic on {Re(s) > r} as well.
Now assume that an ∈ R≥0 for all n. Because f (s) converges on {Re(s) > r}, it
converges for any s = σ > r. But for general s = σ + it where σ > r we have
an an
s
= σ,
n n
And so f (s) converges absolutely because f (σ) converges.
A slogan-encapsulation of Proposition 11.1 is
n
X X an
ak = O(nr ) =⇒ is well-behaved on {Re(s) > r}.
ns
12. The Euler–Riemann Zeta Function
Definition 12.1. The Euler–Riemann zeta function is formally
X Y
ζ(s) = n−s = (1 − p−s )−1 .
n∈Z+ p∈P
The formal equality of the sum and the product follows from the geometric series
formula and then the unique factorization of positive integers,
Y Y X X
(1 − p−s )−1 = (pep )s = n−s .
p∈P p∈P ep ≥0 n∈Z+
using the condition Re(s) > 1 to rearrange the terms because the sum converges
absolutely. As B → ∞ the sum converges to ζ(s) because it converges absolutely
and thus the order of summation is irrelevant. Consequently the product converges
to ζ(s) as well. For the last statement, compute that
Z ∞ ∞ Z n+1 ∞ Z n+1
1 X X
= t−s dt = t−s dt = ζ(s) + (t−s − n−s ) dt.
s−1 1 n=1 n n=1 n
it follows that
n+1
|s|
Z
(t−s − n−s ) dt ≤ ,
n nσ+1
and so −ψ(s) converges to an analytic function on {Re(s) > 0} by the convergence
properties of |s| n n−σ−1 .
P
The formal equality of the sum and the product follows similarly to the Euler–
Riemann zeta function because χ is multiplicative. Because the quadratic character
encodes the decomposition of rational primes in OF (Theorem 6.1), so does the
quadratic L-function.
Proposition 13.2 (Properties of the Quadratic L-Function). The quadratic L-
function L(χF , s) is complex analytic on {Re(s) > 0}. The formal equality of the
sum and product expressions of L(χF , s) is analytically valid for Re(s) > 1.
Proof. By Theorem 5.2, χF (n) depends only on n (mod |DF |)). So for any no ∈ Z+ ,
no +|DF |−1
X
χF (n) = 0,
n=no
because we are summing the nontrivial character χF over the group (Z/DF Z)× . It
follows that for all n ≥ 1,
Xn
χF (k) < C.
k=1
Now Proposition 11.1 shows that L(χF , s) is analytic on {Re(s) > 0}. The ar-
gument that the sum and the product are equal is essentially the same as for the
Euler–Riemann zeta function, requiring Re(s) > 1 for absolute convergence so that
terms can be rearranged.
The next result evaluates L(χF , 1) as a constant factor times a roughly |DF |/2-
fold sum of values weighted by the quadratic character. The values are logarithms
of sines if F is real quadratic and they are simply 1 if F is imaginary quadratic.
The value L(χF , 1) will figure in the class number formula.
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 25
Proposition 13.3 (Special Value of the Quadratic L-Function). For a real qua-
dratic field F ,
2 X
L(χF , 1) = − √ χF (r) log(sin(πr/DF )).
DF
1≤r<DF /2
Before proving the proposition, we make two comments. First, the quantity
P|DF |−1
r=1 χF (r)r that arises in the imaginary quadratic case is the first so-called χF -
Bernoulli number , B1,χF , where the χF -Bernoulli numbers in general are defined
by a generating function,
|DF |−1
X χF (r)tert X tk
t
= Bk,χF .
r=1
e −1 k!
k≥0
xt
Indeed, from the definition of the Bernoulli polynomials, etet −1 = k≥0 Bk (x)tk /k!,
P
the left side of the previous display is, after reversing a double sum,
|DF |−1
X χF (r)tert X |DXF |−1
tk
= χF (r)Bk (r) ,
r=1
et − 1 r=1
k!
k≥0
P|DF |−1
so that Bk,χF = r=1 χF (r)Bk (r). In particular, because B1 (r) = r − 1/2
P P|DF |−1
and r χF (r) = 0, we have B1,χF = r=1 χF (r)r as claimed. Of course there
are χ-Bernoulli numbers for any Dirichlet character χ, not only for our particular
character χF .
Second, to get (3) from (2) in the imaginary quadratic case, introduce the nota-
tion
X X X
S= χF (r)r, S1 = χF (r)r, S0 = χF (r);
1≤r<|DF | 1≤r<|DF |/2 1≤r<|DF |/2
and the fact that χF is odd and quadratic give S = 2S1 − |DF |S0 and χ(2)S =
4S1 − |DF |S0 . √These two relations give S = (|DF |/(χ(2) − 2))S0 as desired. If
instead F = Q( n) for negative squarefree n = 2, 3 (mod 4), so that DF = −4n and
26 THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD
now χF (2) = 0, then recall from the end of section 5 that χF (r+|DF |/2) = −χF (r).
Consequently,
X
S= χF (r)r + χF (r + |DF |/2)(r + |DF |/2) = (−|DF |/2)S0 ,
1≤r<|DF |/2
and again we have S = (|DF |/(χ(2) − 2))S0 as desired. Now we proceed to the
proof of Proposition 13.3, needing to establish only (2) in the imaginary quadratic
case.
Proof. Recall that χF has period |DF |. Compute that for Re(s) > 1 (so that we
may rearrange the terms),
|DF |−1
X X X
−s
L(χF , s) = χF (n)n = χF (t) n−s .
n∈Z+ t=0 n∈Z +
n=t (|DF |)
Let τr (χF ) and τ (χF ) respectively denote the variant Gauss sum of χF that has
appeared in the calculation and the basic Gauss sum of χF ,
|DF |−1
X
rt
τr (χF ) = χF (t)ζ|D F|
, τ (χF ) = τ1 (χF ).
t=0
The rth variant Gauss sum is the character value at r times the basic Gauss sum,
τr (χF ) = χF (r)τ (χF ).
When gcd(r, |DF |) = 1 this equality follows from a quick substitution, but when
gcd(r, |DF |) > 1 the equality (which says in this case that τr (χF ) = 0; in particular
τ0 (χ) = 0 and so there is no need to sum over r = 0) relies on the fact that χF
has no period smaller than |DF |. See the handout on continuations and functional
equations for the argument. Furthermore, as shown at the end of the ninth online
lecture for this course, if we set δ = 0 for an even quadratic character, such as arises
from a real quadratic field, and if we set δ = 1 for an odd quadratic character, such
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 27
as arises from an imaginary quadratic field, then the basic Gauss sum of a quadratic
character is
τ (χF ) = iδ |DF |1/2 .
Returning to our computed value, no longer bothering to sum over r = 0,
|DF |−1
1 X X
−nr −s
L(χF , s) = τr (χ) ζ|DF|
n
|DF | r=1 + n∈Z
|DF |−1
τ (χF ) X X
−nr −s
= χF (r) ζ|DF|
n
|DF | r=1 + n∈Z
|DF |−1
iδ X X
−nr −s
= χF (r) ζ|DF|
n ,
|DF |1/2 r=1 + n∈Z
+
let s → 1 to get
|DF |−1
iδ X
−r
L(χF , 1) = 1/2
χF (r) log(1 − ζ|DF|
)−1 .
|DF | r=1
Let S denote the sum in the previous display,
|DF |−1
X
−r
(4) S=− χF (r) log(1 − ζ|DF|
).
r=1
A little algebraic manipulation, or a small exercise in geometry, gives the polar
decomposition
−r
1 − ζ|DF|
= 2 sin(πr/|DF |)ei(π/2−πr/|DF |) .
r −r
Also 1 − ζ|DF|
is the complex conjugate of 1 − ζ|DF|
. Thus, from the general formula
iθ
log(re ) = log(r) + iθ,
∓r
log(1 − ζ|D F|
) = log(2 sin(πr/|DF |)) ± i(π/2 − πr/|DF |).
Consequently,
(
−r r 2 log(2 sin(πr/|DF |)) for “+”
log(1 − ζ|DF|
) ± log(1 − ζ|DF|
) =
2i(π/2 − πr/|DF |) for “−”.
If F is real quadratic then χF is even and DF is positive, and so substituting
DF − r for r in (4) gives that also (repeating (4) in the next display and also giving
a second expression for S)
F −1
DX F −1
DX
−r r
S=− χF (r) log(1 − ζDF
) =− χF (r) log(1 − ζD F
).
r=1 r=1
Add the values of S shown in the previous display, making reference to the penul-
timate display, to get
F −1
DX
S=− χF (r) log(2 sin(πr/DF )).
r=1
P
We may drop the 2 from the input to the logarithm because r χF (r) = 0.
And so in the real quadratic case, we get the claimed result upon multiplying S
28 THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD
√
by 1/ DF and then using the symmetry of the sine function about π/2 and the
value sin(π/2) = 1,
F −1
DX
1
L(χF , 1) = − √ χF (r) log(sin(πr/DF ))
DF r=1
2 X
= −√ χF (r) log(sin(πr/DF )).
DF 1≤r<D /2
F
but now χF is odd, and so substituting |DF |−r for r in (4) gives that also (repeating
(4) in the next display and also giving a second expression for S)
|DF |−1 |DF |−1
X X
−r r
S=− χF (r) log(1 − ζ|DF|
) = χF (r) log(1 − ζ|DF|
).
r=1 r=1
Add the values of S shown in the previous display, making reference to the penul-
timate display, to get
|DF |−1 |DF |−1
X πi X
S= χF (r)i(πr/|DF | − π/2) = χF (r)r.
r=1
|DF | r=1
And so in the imaginary quadratic case, we get the claimed result upon multiply-
ing S by i/|DF |1/2 ,
|DF |−1
π X
L(χF , 1) = − 3/2
χF (r)r.
|DF | r=1
The formal equality of the sum and the product follows similarly to the Euler–
Riemann zeta function, this time because integral ideals factor uniquely and because
the norm is multiplicative.
The Dedekind zeta function rearranges as a Dirichlet series,
X an
ζF (s) = , where an = #{a : N(a) = n}.
+
ns
n∈Z
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 29
and estimate An . To carry out the estimate, we will define for each of the finitely
many ideal classes C of F
An (C) = #{a ∈ C : N(a) ≤ n}, n ≥ 1,
P
so that An = C An (C). The problem of estimating each An (C) can be reduced
to an estimation problem in the principal class. The principal class estimation
problem is a matter of estimating the number of lattice points in a disk. Thus the
following lemma will provide the key result that we need.
Lemma 14.2. Let Λ be a complex lattice, and let α denote the area of any of its
fundamental parallelograms,
P (λ1 , λ2 ) = {t1 λ1 + t2 λ2 : t1 , t2 ∈ [0, 1]} where (λ1 , λ2 ) is a basis of Λ.
As noted just after Proposition 9.2, α is well defined. For any r > 0 let Br denote
the closed complex ball of radius r. Then for some positive constant C,
πr2
#((Λ − 0) ∩ Br ) − ≤ Cr for all r ≥ 1.
α
Proof. The geometric objects in this proof are shown in figure 2. The thick circle
is the boundary of Br . Both #(Λ ∩ Br ) and πr2 /α lie between the number of
light parallelograms and the number of parallelograms altogether. The light par-
allelograms have more area than the inner circle, all the parallelograms less area
30 THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD
than the outer circle. Consecutive circle radii differ by the longer diagonal of the
parallelograms.
Fix a fundamental parallelogram P , and for any λ ∈ C let Pλ denote the λ-
translate of P . For any r ≥ 0 let
n1 (r) = #{λ ∈ Λ : Pλ ⊂ Br },
n2 (r) = #{λ ∈ Λ : Pλ ∩ Br 6= ∅}.
Then
n1 (r) ≤ #(Λ ∩ Br ) ≤ n2 (r).
Let δ > 0 be the length of the longer diagonal of P . Then for any r ≥ δ,
π(r − δ)2 ≤ n1 (r)α ≤ πr2 ≤ n2 (r)α ≤ π(r + δ)2 ,
and dividing by α gives
π(r − δ)2 πr2 π(r + δ)2
≤ n1 (r) ≤ ≤ n2 (r) ≤ .
α α α
Thus #(Λ ∩ Br ) and πr2 /α both lie in [π(r − δ)2 /α, π(r + δ)2 /α]. Consequently
the absolute value of their difference is at most the interval length,
πr2
4πδ
#(Λ ∩ Br ) − ≤ r for all r ≥ δ.
α α
The function f (r) = |#(Λ ∩ Br ) − πr2 /α|/r is bounded on [1, δ], and so in fact
πr2
#(Λ ∩ Br ) − ≤ Cr for all r ≥ 1.
α
Finally, excluding 0 from Λ ∩ Br changes the left side by at most r because r ≥ 1.
The result follows.
Recall that we are interested in the Dedekind zeta function of the imaginary
quadratic field F , whose Dirichlet series is
X an
ζF (s) = , where an = #{a : N(a) = n}.
+
ns
n∈Z
As we did for the Euler–Riemann zeta function and for the quadratic field L-
function, we want to estimate the absolute values of the sums
n
X
An = ak = #{a : N(a) ≤ n}.
k=1
2πhn √
An − p < C n, n ≥ 1.
w |DF |
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 31
Proof. Let C be any ideal class of F , and let ao ∈ C −1 be any integral ideal in the
inverse class of C. Then the map
b 7−→ ao b
is a bijection of the fractional ideals of F . In particular, it restricts to a bijection
between two sets of integral ideals,
∼
{a ∈ C : N(a) ≤ n} −→ {principal a0 : ao | a0 and N(a0 ) ≤ n N(ao )}.
Equivalently, because to contain is to divide and because the ideal norm is the
absolute value of the element norm, which is the square of the element absolute
value,
∼ p
{a ∈ C : N(a) ≤ n} −→ {hxi ⊂ ao : x 6= 0, |x| ≤ n N(ao )}.
As in the discussion leading into Lemma 14.2, define
An (C) = #{a ∈ C : N(a) ≤ n}, n ≥ 1.
Because associate elements generate the same ideal, and because all units of OF
are roots of unity because F is imaginary quadratic, the previous set bijection gives
# (ao − 0) ∩ B√n N(a )
o
(5) An (C) = .
w
Now specifically take ao = hr − d, ci as in Proposition 10.3, and let αo denote the
p of the parallelogram spanned by c and r − d. By (5) and by the relation
area
2/ |DF | = N(ao )/αo from Proposition 10.3, and then by Lemma 14.2,
2πn 1 πn N(a ) √
# (ao − 0) ∩ B√n N(a ) −
o
An (C) − p = < C n.
w |DF | w o αo
The constant C in the previous display depends on the ideal class C. Finally,
because X
An = An (C), n ≥ 1,
C∈Cl(F )
sum over ideal classes and use the triangle inequality to get
2πhn √
An − p ≤ C n,
w |DF |
where now the constant C is independent of ideal classes.
2πhn 2πhn √
An − p ≤ An − p ≤ C n,
w |DF | w |DF |
so that An ≤ Cn. The analyticity of ζF (s) on {Re(s) > 1} follows from Proposi-
tion 11.1.
For the equality of the sum and product expressions of ζF (s), recall yet again
that the terms of the sum rearrange as the Dirichlet series
X an
ζF (s) = , where an = #{a : N(a) = n}.
+
ns
n∈Z
By the last statement of Proposition 11.1, the Dirichlet series converges absolutely
on {Re(s) > 1}. Hence so does its rearrangement a N(a)−s , and now an argument
P
similar to the argument for theQ Euler–Riemann zeta function shows the equality of
this last sum and the product p (1 − N(p)−s )−1 on {Re(s) > 1}.
As for the factorization of ζF (s), because
Y Y
−s −1
ζ F (s) = (1 − N(p) )
p p|pOF
Y , Re(s) > 1,
−s −1 −s −1
ζ(s) L(χ F , s) = (1 − p ) (1 − χ F (p)p )
p
and so
• if χF (p) = 1 then both sides are (1 − p−s )2 ,
• if χF (p) = −1 then both sides are 1 − p−2s ,
• and if χF (p) = 0 then both sides are 1 − p−s .
Finally, the meromorphic continuation of ζF (s) follows from the properties of ζ(s)
and of L(χF , s) because ζF (s) = ζ(s)L(χF , s) for Re(s) > 1.
en = An − 2πhn
A p , n ≥ 1.
w |DF |
Thus the estimate is |Aen | ≤ C √n for n ≥ 1, with the power of n now 1/2 rather
than 1, and so Proposition 11.1 says that the Dirichlet series
X ãn 2πh
f (s) = s
= ζF (s) − p ζ(s)
+
n w |DF |
n∈Z
Conceptually the boxed formula is best left as it is, with the field structure
constants h and w and DF on one side and with the analytic quantity L(χF , 1) on
the other. However, because we haveP
formula (3) (page 25) from Proposition 13.3,
π√
stating that L(χ, 1) = 1≤r<|DF |/2 χF (r), the class number is
(2−χ(2)) |DF |
w/2 X
h= χF (r).
2 − χ(2)
1≤r<|DF |/2
√
As an example, let F = Q( −5), so that DF = −20. We have seen that the
corresponding quadratic character is
(
× 1 if t = 1, 3, 7, 9
χF : (Z/20Z) −→ {±1}, χF (t) =
−1 if t = 11, 13, 17, 19,
and so the sum in the boxed formula for h is 4 and the formua gives
1
h= 4,
2−0
which is to say, √
The class number of Q( −5) is 2.
√
As a second example, let F = Q( −39). The quadratic character on (Z/39Z)×
is (·/3)(·/13), giving
(
1 if t = 1, 2, 4, 5, 8, 10, 11, 16 (and 20, 22, 25, 32)
χF (t) =
−1 if t = 7, 14, 17, 19 (and 23, 28, 29, 31, 34, 35, 37, 38)
(as noted earlier in this writeup, the squares are concentrated more in the left half),
and so the ideal class number is
1
h= (8 − 4),
2−1
which is to say, √
The class number of Q( −39) is 4.
In fact, we have already seen on page 20 that the ideal class group is cyclic of
order 4.
√
As a third example, let F = Q( −163), noting that 163 is prime. The quadratic
character is
−163 r
χF (r) = = .
r 163
One readily checks that 2 is a generator modulo 163 by using fast modular exponen-
tiation or a machine to compute that 281 = −1 (mod 163) and 254 = 104 (mod 163).
Thus the squares modulo 163 are the even powers of 2 reduced modulo 163, and
similarly for the nonsquares. In particular χF (2) = −1, and one can compute by
P81
hand or by machine that r=1 χF (r) = 3. So the class number formula gives
1
h= 3,
2+1
which is say, √
The class number of Q( −163) is 1.
THE IDEAL CLASS NUMBER FORMULA FOR AN IMAGINARY QUADRATIC FIELD 35
It is for reasons related to the class number being 1 that the number
√
eπ 163/3
= 640320.0000000006 . . .
is so nearly an integer.
Recall that for a real quadratic number field F , there is a unique smallest fun-
damental unit u > 1 in the unit group OF× . We end by stating that in this case the
class number theorem is similar to Theorem 15.1 but incorporates the fundamental
unit,
2 log(u)h
√ = L(χF , 1).
DF
Much of the argument is similar to the work in this writeup. The main difference
is that the counterpart of Proposition 14.3 requires a different approach.