THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS

Similar documents
THE UNIT GROUP OF A REAL QUADRATIC FIELD

6]. (10) (i) Determine the units in the rings Z[i] and Z[ 10]. If n is a squarefree

Lemma 1.1. The field K embeds as a subfield of Q(ζ D ).

1, for s = σ + it where σ, t R and σ > 1

Part II. Number Theory. Year

SPRING 2006 PRELIMINARY EXAMINATION SOLUTIONS

18. Cyclotomic polynomials II

Dirichlet s Theorem. Martin Orr. August 21, The aim of this article is to prove Dirichlet s theorem on primes in arithmetic progressions:

(January 14, 2009) q n 1 q d 1. D = q n = q + d

Factorization of zeta-functions, reciprocity laws, non-vanishing

RINGS: SUMMARY OF MATERIAL

Continuing the pre/review of the simple (!?) case...

Dirichlet s Theorem and Algebraic Number Fields. Pedro Sousa Vieira

Gaussian integers. 1 = a 2 + b 2 = c 2 + d 2.

Some algebraic number theory and the reciprocity map

THE DIFFERENT IDEAL. Then R n = V V, V = V, and V 1 V 2 V KEITH CONRAD 2 V

QUADRATIC RINGS PETE L. CLARK

GEOMETRIC CONSTRUCTIONS AND ALGEBRAIC FIELD EXTENSIONS

Algebraic number theory

1. Factorization Divisibility in Z.

Algebraic number theory Revision exercises

Algebraic Number Theory

ORAL QUALIFYING EXAM QUESTIONS. 1. Algebra

Solutions to odd-numbered exercises Peter J. Cameron, Introduction to Algebra, Chapter 2

Math 429/581 (Advanced) Group Theory. Summary of Definitions, Examples, and Theorems by Stefan Gille

MINKOWSKI THEORY AND THE CLASS NUMBER

TEST CODE: PMB SYLLABUS

SPECIAL CASES OF THE CLASS NUMBER FORMULA

FACTORING IN QUADRATIC FIELDS. 1. Introduction

Computations/Applications

COUNTING MOD l SOLUTIONS VIA MODULAR FORMS

Congruent Number Problem and Elliptic curves

(1) A frac = b : a, b A, b 0. We can define addition and multiplication of fractions as we normally would. a b + c d

IUPUI Qualifying Exam Abstract Algebra

Honors Algebra 4, MATH 371 Winter 2010 Assignment 3 Due Friday, February 5 at 08:35

CSIR - Algebra Problems

Algebraic Number Theory and Representation Theory

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Algebra Exam Fall Alexander J. Wertheim Last Updated: October 26, Groups Problem Problem Problem 3...

A BRIEF INTRODUCTION TO LOCAL FIELDS

φ(xy) = (xy) n = x n y n = φ(x)φ(y)

FINITE GROUPS AND EQUATIONS OVER FINITE FIELDS A PROBLEM SET FOR ARIZONA WINTER SCHOOL 2016

MA4H9 Modular Forms: Problem Sheet 2 Solutions

1 Introduction. or equivalently f(z) =

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space

THE JOHNS HOPKINS UNIVERSITY Faculty of Arts and Sciences FINAL EXAM - SPRING SESSION ADVANCED ALGEBRA II.

8. Prime Factorization and Primary Decompositions

Homework 4 Solutions

1. Group Theory Permutations.

FACTORIZATION OF IDEALS

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

MATH 361: NUMBER THEORY TWELFTH LECTURE. 2 The subjects of this lecture are the arithmetic of the ring

Classification of root systems

NOTES ON FINITE FIELDS

Chapter 8. P-adic numbers. 8.1 Absolute values

Problem 1A. Suppose that f is a continuous real function on [0, 1]. Prove that

Algebra Qualifying Exam Solutions. Thomas Goller

Eighth Homework Solutions

EXERCISES IN MODULAR FORMS I (MATH 726) (2) Prove that a lattice L is integral if and only if its Gram matrix has integer coefficients.

Course 2316 Sample Paper 1

18 The analytic class number formula

SPECIAL VALUES OF j-function WHICH ARE ALGEBRAIC

Galois theory (Part II)( ) Example Sheet 1

Algebra Exam Syllabus

A connection between number theory and linear algebra

FORMAL GROUPS OF CERTAIN Q-CURVES OVER QUADRATIC FIELDS

Explicit Methods in Algebraic Number Theory

Factorization in Integral Domains II

IRREDUCIBILITY TESTS IN Q[T ]

Elementary linear algebra

Factorization in Polynomial Rings

TOPICS IN NUMBER THEORY - EXERCISE SHEET I. École Polytechnique Fédérale de Lausanne

Thus, the integral closure A i of A in F i is a finitely generated (and torsion-free) A-module. It is not a priori clear if the A i s are locally

Ohio State University Department of Mathematics Algebra Qualifier Exam Solutions. Timothy All Michael Belfanti

32 Divisibility Theory in Integral Domains

PRACTICE FINAL MATH , MIT, SPRING 13. You have three hours. This test is closed book, closed notes, no calculators.

CHAPTER I. Rings. Definition A ring R is a set with two binary operations, addition + and

Representation of prime numbers by quadratic forms

THE JOHNS HOPKINS UNIVERSITY Faculty of Arts and Sciences FINAL EXAM - FALL SESSION ADVANCED ALGEBRA I.

A PROOF OF BURNSIDE S p a q b THEOREM

Public-key Cryptography: Theory and Practice

Solutions of exercise sheet 6

Introduction to Arithmetic Geometry Fall 2013 Lecture #7 09/26/2013

CHAPTER 0 PRELIMINARY MATERIAL. Paul Vojta. University of California, Berkeley. 18 February 1998

CYCLOTOMIC POLYNOMIALS

L(C G (x) 0 ) c g (x). Proof. Recall C G (x) = {g G xgx 1 = g} and c g (x) = {X g Ad xx = X}. In general, it is obvious that

Galois Representations

14 Ordinary and supersingular elliptic curves

Math 121 Homework 5: Notes on Selected Problems

5 Dedekind extensions

Just like the ring of Gaussian integers, the ring of Eisenstein integers is a Unique Factorization Domain.

Problem 1A. Find the volume of the solid given by x 2 + z 2 1, y 2 + z 2 1. (Hint: 1. Solution: The volume is 1. Problem 2A.

Solutions of exercise sheet 11

Integral Extensions. Chapter Integral Elements Definitions and Comments Lemma

Real Analysis Prelim Questions Day 1 August 27, 2013

ABSTRACT ALGEBRA 2 SOLUTIONS TO THE PRACTICE EXAM AND HOMEWORK

Primes of the form X² + ny² in function fields

c ij x i x j c ij x i y j

CYCLOTOMIC FIELDS CARL ERICKSON

Solutions of exercise sheet 8

Transcription:

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 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 that in some sense measures the extent to which unique factorization fails in environments such as Z[ 5]. The large-scale methodology deserves immediate note, before the reader is immersed in a long succession of smaller attention-filling specifics: algebra lets us define a group that measures the failure of unique factorization, 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 exposition quotes results from algebra and complex analysis even though elementary arguments are possible in this context. For a more fleshed out and elementary presentation, 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. Part 1. ALGEBRA: QUADRATIC NUMBER FIELDS This part of these notes discusses quadratic number fields (fields like Q( 5)) and their rings of integers (rings like Z[ 5]). The ideals of the ring factor uniquely even though the elements of the ring may not. A group called the ideal class group measures the extent to which ideals fail to correspond to ring elements, thus measuring the extent to which unique factorization of elements fails. 1. Quadratic Fields and Their Integers Definition 1.1. A quadratic number field is a field F (inside C) such that F has dimension 2 as a vector space over Q. Such a field takes the form F = Q( n) = {a + b n : a, b Q}, n Z {0, 1} squarefree. If n is positive then F is a real quadratic number field, and if n is negative then F is an imaginary quadratic number field. 1

2 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 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) = a 2 b 2 n. If F is imaginary quadratic then the norm is positive on F. Because conjugation is an involution, it has no effect on trace and norm, i.e., tr(α) = tr(α) for all α F and N(α) = N(α) for all α F. Definition 1.2. An element of F is an integer if its minimal monic polynomial over Q in fact has coefficients in Z. Thus the integers of F Q (the rational integers of F ) are Z. An element α of F Q has quadratic minimal polynomial (X α)(x α) = X 2 tr(α)x + N(α), and so α = a + b n is an algebraic integer if and only if its trace 2a and its norm a 2 b 2 n are rational integers. Inspection shows that consequently, Proposition 1.3. The integers of the quadratic field F = Q( n) are { 1+ n O F = Z[g], g = 2 if n = 1 (mod 4), n if n = 2, 3 (mod 4). The integers of F form a ring. The minimal monic polynomial in Z[X] satisfied by the generator g of the integers (see the previous proposition) is quadratic, { X 2 X n 1 f(x) = 4 if n = 1 (mod 4), X 2 n if n = 2, 3 (mod 4). Thus, as an abelian group the integer ring is in fact O F = gz Z.

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 3 The discriminant of the quadratic polynomial (the quantity b 2 4ac that goes under the square root in the quadratic formula) is therefore n if n = 1 (mod 4) and 4n if n = 2, 3 (mod 4). This quantity, an invariant of the quadratic field F, plays a significant role in the structure of F ; in the present writeup it will manifest itself in the class number formula. Definition 1.4. The discriminant of F is { n if n = 1 (mod 4), D F = 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, O F = Z[r], r = D F + D F, 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 D F X + D F (D F 1)/4, whose discriminant is indeed D F. 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 O F = gz Z as before), although g itself involves cases, and [ 1 g D F = (det 1 g ] ) 2 [ tr(1 1) tr(1 g) D F = det tr(g 1) tr(g g) ]. 2. The Units of a Quadratic Field Definition 2.1. A unit of F is an invertible element of the integer ring O F. The unit group of F is the multiplicative group O F. Proposition 2.2. An element α of O F is a unit if and only if N(α) = ±1. Proof. If α O F is multiplicatively invertible by β O F then 1 = N(1) = N(αβ) = N(α)N(β), so that N(α) = ±1 since both norms are integers. Conversely, if N(α) = ±1 then α is invertible by ±α O F since ±αα = ±N(α) = 1. If K = Q( n) is imaginary quadratic then all norms a 2 b 2 n are nonnegative, and inspection shows that the unit group is {±1, ±i} if n = 1, O F = {±1, ±ζ 3, ±ζ3} 2 if n = 3 (where ζ 3 = ( 1 + 3)/2), {±1} otherwise. If K = Q( n) is real quadratic then the unit group takes the form O F = {±un : n Z} (Z/2Z) Z

4 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS where u > 1 is the so-called fundamental unit. Finding the fundamental unit is the not-immediate matter of solving (the misnamed) Pell s Equation, x 2 ny 2 = 1. Definition 2.3. The symbol 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. For imaginary quadratic fields F the number w(f ) completely describes the unit group. For real quadratic fields the fundamental unit u is necessary for a full description. The more complicated unit group structure for real quadratic fields is the reason that the class number formula is easier in the imaginary case. 3. The Ideals of a Quadratic Field Definition 3.1. An ideal of O F is a subset a O F (excluding a = {0}) that forms an abelian group and is closed under multiplication by O F. Thus an ideal is a particular kind of subring. The ideals of any ring are special among subrings similarly to how the normal subgroups of any group are special among subgroups: the quotient of the ring by an ideal again has a ring structure, whereas the quotient of the ring by a subring in general need not. The subset {0} O F does form an abelian group and it is closed under multiplication by O F, so often it is considered an ideal of O F as well. However, the zero ideal has aberrational qualities, and our concern here is with the unique factorization of nonzero ideals, so it is tidier to exclude {0} from the discussion. Definition 3.2. The sum of two ideals of O F is the ideal generated by the sums of the elements and similarly for the product, a + a = x + x : x a, x a, aa = xx : x a, x a. In fact the ideal sum consists of exactly the generating element-sums, but the ideal product consists of all finite sums of the generating element-products. Note that the product aa is a subset of a and of a. The addition and multiplication of ideals is commutative and associative and distributive. If the zero ideal {0} were allowed then it would be the additive identity, and the integer ring O F is the multiplicative identity. However, nonzero ideals do not have additive inverses. Again, our concern here is with the multiplicative structure of ideals, so the absence of an additive identity or additive inverses is of no concern. Before long we will remedy the absence of multiplicative inverses by enlarging our notion of ideal. Definition 3.3. Let a be an ideal of O F, and let a = {x : x a}, another ideal of O F. The norm of a, denoted N(a), is characterized by the conditions aa = N(a)O F, N(a) Z +.

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 5 The existence of the ideal norm is not immediate, but we will establish it soon. Granting the ideal norm s existence, its characterizing conditions show that it is a multiplicative function of ideals, N(aa ) = N(a)N(a ) for all ideals a, a of O F. Continuing to grant its existence, the ideal norm lets us prove a cancellation law for ideals of O F. Suppose that aa = aa. Then N(a)a = aaa = aaa = N(a)a, so that a = a. Definition 3.4. An ideal is principal if it takes the form a = xo F for some x O F. A principal ideal is denoted by its generator in angle brackets, x = xo F. The relation between the element norm from earlier and the ideal norm just introduced is: For a principal ideal a = x, N(a) = N(x). If all ideals were principal then the theory of ideals would introduce nothing new to the study of quadratic integer rings. We will see in the next section that the ideals of a quadratic integer ring factor uniquely, whereas we know by example that the elements of the ring may not. Thus the possible failure of all ideals to be principal is related to the possible failure of unique factorization of elements. We end the section by showing that the ideal norm exists. Proposition 3.5. Let a be an ideal of O F. Then aa = do F for some d Z +. Proof. The product aa contains elements xx = N(x) where x a, and these elements are nonzero rational integers. The product is closed under negation, so it contains positive rational integers. Let d be the smallest such positive rational integer. The ideal properties of aa show that aa Z = dz. Since the product aa is an ideal, it contains do F. That is, aa do F. For the other containment, it suffices to show that for any x, y a the product xy lies in do F. 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 O F, i.e., xy do F. This gives the other containment aa do F, completing the proof. The argument that the norm exists made heavy use of the particulars of the ring O F. 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.

6 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 4. Unique Factorization of Ideals Proposition 4.1 (To Contain is to Divide). Let a and a be ideals of O F. Then a a a a. Proof. If a a then a = a a for some a and so a a. Conversely, if a a then aa a a = N(a )O F and thus aa /N(a ) is an ideal of O F. Since a aa /N(a ) = a, indeed a a. One direction in the preceding proof made use of the ideal norm, although the other direction was general. Thus the ensuing arguments that use the to contain is to divide principle are particular to rings having an ideal norm. Definition 4.2. An ideal a of O F that is a proper subset of O F is prime if: For all ideals a, a of O F, a a a = a a or a a. An ideal a of O F that is a proper subset of O F is irreducible if: For all ideals a, a of O F, a a = a = a = a or a = a. So prime means doesn t decompose as a divisor and irreducible means doesn t decompose as a product. An exercise shows that the definition of prime ideal given here is equivalent to For all nonzero elements a, a of O F, a a a = a a or a a, and furthermore, because every ideal contains 0, the word nonzero can be removed from the previous display. This reproduces the usual definition of a prime ideal in terms of elements rather than in terms of ideals. Proposition 4.3. Prime ideals of O F are irreducible. Proof. Consider any prime ideal a of O F. If a = a a then a a and (without loss of generality) a a. Thus a a and a a, and so a = a. Since to contain is to divide, irreducible ideals are maximal. (But, again, to contains is to divide relies on the ideal norm.) Thus the previous proposition has shown that prime ideals of O F are maximal. In a general commutative ring with 1, prime ideals certainly need not be maximal, since essentially by definition the quotient of a ring by a prime ideal is an integral domain whereas the quotient of a ring by a maximal ideal is a field, but maximal ideals certainly are prime for the same reason. The fact that maximal ideals are prime because fields are integral domains proves the next proposition immediately, but we prove it in more elementary terms as well. To streamline the proof, we use the definition of maximality in place of the definition of irreducibility: For all ideals a of O F, a a = a = a or a = O F. Proposition 4.4. Irreducible ideals of O F are prime. Proof. Consider any irreducible ideal a of O F. Suppose that a a a and a a. The containment a + a a is proper, so a + a = O F, and so x + x = 1 for some x a and x a. Consequently, using the condition a a a for the last equality in the next display, That is, a a and we are done. a = (x + x )a = xa + x a a + a a = a.

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 7 Theorem 4.5. Any ideal a of O F factors uniquely into prime ideals. Proof. Let a be an ideal of O F. Then a factors as a finite product of irreducibles via a process that must terminate by induction on N(a). The fact that irreducibles are prime makes the factorization unique, since if where all p i and p j are irreducible, then a = p e1 1 pes s = p f1 1 pft t p 1 p f1 1 pfs s so that since p 1 is prime we have (after reindexing if necessary) p 1 p 1, and thus p 1 = p 1. Repeat the argument from here starting from (by cancellation) p e1 1 1 p es s = p f1 1 1 p ft t. By induction on the norm, the two factorizations in the previous display are equal, and hence so are the two factorizations of a. 5. The Character of a Quadratic Field We review the completion of the quadratic reciprocity law at 2. The characters of (Z/8Z) are shown in the following table: χ 0 χ 1 χ 2 χ 3 1 1 1 1 1 3 1 1 1 1 5 1 1 1 1 7 1 1 1 1 The character group is the (2, 2) abelian group, so for example χ 1 χ 2 = χ 3 and χ 2 i = χ 0 for all i. Note that χ 1 can be defined modulo 4, but χ 2 and χ 3 are primitive modulo 8, and note that χ 2 is even. (More specifically, χ 1 (p) = ( 1/p) and χ 2 (p) = (2/p) and χ 3 (p) = ( 2/p) for odd primes p.) Consider two co-prime nonzero integers, at least one of them positive, { P = 2 a P, P } odd Q = 2 b Q, Q, at least one of P, Q positive. odd Thus a, b Z 0 with min{a, b} = 0, and P, Q are coprime, not both negative. (The results to follow are off by a sign when both P and Q are negative.) We want to establish the general Jacobi symbol reciprocity formula (P/Q) (Q/P ) = ( 1) P 1 2 Q 1 2. Recall that (P/Q) = (P/ Q ) here because P is positive if Q is negative, and similarly for (Q/P ). At issue is the possible presence of powers of 2 in one of P and Q. As a special case of the desired formula, set P = P and Q = 2 (thus Q = 1) to get (P /2) (2/P ) = 1. So the only possibility is to define (P /2) = (2/P ) for odd P. To see that this definition does work, and to understand it better, we think with reference to the

8 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS mod-8 character group. Indeed, two of the characters figure in established reciprocity formulas, (P /Q ) (Q /P ) = ( 1) P 1 2 Q 1 2, ( 1/Q ) = χ 1 (Q ) for Q > 0, (2/Q ) = χ 2 (Q ). And naturally the extended Jacobi symbol is to be bimultiplicative, recalling again that (a/( 1)) = 1 for positive a. The bimultiplicativity and the second auxiliary formula give (P/Q) = χ 2 (Q ) a (P /2) b (P /Q ), (Q/P ) = χ 2 (P ) b (Q /2) a (Q /P ), from which the desired formula is (χ 2 (P ) (P /2)) b (χ 2 (Q ) (Q /2)) a = 1. This shows that defining ( /2) = χ 2 does indeed work. So in sum, we obtain the boxed identity by defining (P /2) = χ 2 (P ), P odd. Now return to a quadratic field F = Q( n) where n 1 is squarefree. Recall that the field s discriminant is defined as { n if n = 1 (mod 4), D F = 4n if n = 2, 3 (mod 4). Definition 5.1. Let F be a quadratic field with discriminant D F. The quadratic character of F is ( ) χ F : Z + DF C, χ F (m) =. m Proposition 5.2. Let F = Q( n) be a quadratic field with discriminant D F. Then the quadratic character χ F has period D F. Proof. Introduce the notation D F = 2 a δ, m = 2 b µ (δ and µ odd, µ > 0). The general Jacobi symbol reciprocity formula and the positivity of m combine to give χ F (m) = ( 1) δ 1 2 µ 1 2 (m/ D F ) if gcd(m, D F ) = 1. Note that δ = { 1 (mod 4) if n = 1 (mod 4) or n = 2 (mod 8), 3 (mod 4) if n = 3 (mod 4) or n = 6 (mod 8). Equivalently, the two cases are n = 1, 2, 5 (mod 8) and n = 3, 6, 7 (mod 8), and in the second case D F is always even so that µ = m when gcd(m, D F ) = 1. So now we have χ F (m) = { (m/ D F ) if n = 1, 2, 5 (mod 8), χ 1 (m) (m/ D F ) if n = 3, 6, 7 (mod 8) if gcd(m, D F ) = 1.

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 9 More explicitly, (m/ n ) if n = 1 (mod 4), χ 1 (m) (m/ n ) if n = 3 (mod 4), χ F (m) = χ 2 (m) (m/ n/2 ) if n = 2 (mod 8), χ 3 (m) (m/ n/2 ) if n = 6 (mod 8) if gcd(m, D F ) = 1. Since χ 1 has period 4 while χ 2 and χ 3 are primitive modulo 8, the respective conductors are n if n = 1 (mod 4), 4 n if n = 3 (mod 4), 8 n/2 if n = 2 (mod 4), which is to say that the proposition is proved: χ F has conductor D F in all cases. In light of the proposition we may view the quadratic character of F = Q( n) as a true Dirichlet character, a homomorphism χ F : (Z/ D F Z) C, defined by (m/ n ) if n = 1 (mod 4), χ 1 (m) (m/ n ) if n = 3 (mod 4), χ F (m + D F Z) = χ 2 (m) (m/ n/2 ) if n = 2 (mod 8), χ 3 (m) (m/ n/2 ) if n = 6 (mod 8). As usual, we extend the definition to Z/ D F Z, χ F (m + D F Z) = 0 if gcd(m, D F ) > 1. It is an exercise to check, using the penultimate display, that { 1 if F is real quadratic, χ F ( 1 + D F Z) = 1 if F is imaginary quadratic. In general, a Dirichlet character that takes 1 to 1 is called even and a Dirichlet character that takes 1 to 1 is called odd. That is, the character of a real quadratic field is even and the character of an imaginary quadratic field is odd. For example, if F = Q(i), so that O F = Z[i] is the ring of Gaussian integers, then the quadratic character is χ F : (Z/4Z) C, χ F (m) = ( 1) (m 1)/2. Similarly, if F = Q( 3), so that O F = Z[ζ 3 ] is the ring of Eisenstein integers, then the quadratic character is χ F : (Z/3Z) C, χ F (m) = (m/3). If F = Q( 5), so that O F = Z[ 5], then the quadratic character is χ F : (Z/20Z) C, χ F (m) = ( 1) (m 1)/2 (m/5).

10 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 6. Decomposition of Rational Primes Now we can see the importance of the discriminant. It is the crux of the quadratic character, which in turn describes the decomposition of rational primes in F as follows: Theorem 6.1. Let p be a rational prime. The decomposition of p in O F is pq where N(p) = N(q) = p if χ F (p) = 1, po F = p where N(p) = p 2 if χ F (p) = 1, p 2 where N(p) = p if χ F (p) = 0. Thus the decomposition of p in O F depends only on p (mod D F ). Proof. (Sketch.) Recall that O F = Z[r] where r = D F + D F 2, and that the polynomial of r is f(x) = X 2 D F X + D F (D F 1)/4, with discriminant D F. Thus Z[r] Z[X]/ f(x), g(r) g(x) + f(x). Let F p = Z/pZ and let an overbar denote reduction modulo p. There is a natural isomorphism of quotients, whose details will be reviewed below, Z[r]/pZ[r] F p [X]/ f(x), g(r) + pz[r] g(x) + f(x). And the quotient on the right side has overring F p [X] but with respect to the quotient by the polynomial of r rather than by p. The diagram is as follows: Z[r] Z[r]/pZ[r] F p [X] F p [X]/ f(x) We seek the prime ideals of Z[r] that contain pz[r]. 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. Thus, finding the prime ideals of Z[r] that contain pz[r] reduces to finding the prime ideals of Z[r]/pZ[r], which in turn reduces to finding the prime ideals of F p [X]/ f(x), which reduces to finding the prime ideals of F p [X] that contain f(x). But F p [X] is Euclidean, hence a PID, so our task reduces to factoring f(x) in F p [X]. The quadratic character value χ F (p) = (D F /p) describes how f(x) factors modulo p, although the case p = 2 needs to be checked separately, so we are done other than writing the details. Specifically, (X α)(x β) if χ F (p) = 1, f(x) = f(x) if χ F (p) = 1, (X α) 2 if χ F (p) = 0. Here α, β Z and α β. Thus the prime ideals of F p [X] that contain f(x) are X α, X β if χ F (p) = 1, f(x) if χ F (p) = 1, X α if χ F (p) = 0,

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 11 and consequently the prime ideals of F p [X]/ f(x) are X α + f(x), X β + f(x) if χ F (p) = 1, 0 if χ F (p) = 1, X α + f(x) if χ F (p) = 0. Passing back through the isomorphism Z[r]/pZ[r] F p [X]/ f(x) given by g(r) + pz[r] g(x) + f(x) yields the prime ideals of Z[r]/pZ[r], r α + pz[r], r β + pz[r] if χ F (p) = 1, 0 if χ F (p) = 1, r α + pz[r] if χ F (p) = 0, and consequently the prime ideals of O F = Z[r] that contain po F = pz[r] are p = r α, p, q = r β, p if χ F (p) = 1, p = po F if χ F (p) = 1, p = r α, p if χ F (p) = 0. Because po F has norm p 2, the ideals in the first and third cases have norm p. Because the zero ideal manifests as a prime in the proof, we must allow it in this context. Strictly speaking, we should allow the zero ideal all through this writeup and add the word nonzero as needed in its earlier pages. As for the natural isomorphism in the proof, the idea is that we may quotient by f and p in either order because we are quotienting by them both. The general isomorphism that captures this idea is Now start again from (A/C) / (B/(B C)) A/(B + C) (A/B) / (C/(C B)). Z[r] Z[X]/ f(x), g(r) g(x) + f(x). From this isomorphism, then the general isomorphism, and then the isomorphism Z[X]/pZ[X] F p [X], Z[r]/pZ[r] ( Z[X]/ f(x) ) / ( pz[x]/(pz[x] f(x) ) ) ( Z[X]/pZ[X] ) / ( f(x) /( f(x) pz[x]) ) F p [X]/ f(x). Thus we have the isomorphism in the proof, Z[r]/pZ[r] F p [X]/ f(x), g(r) + pz[r] g(x) + f(x). 7. Fractional Ideals and the Ideal Class Group Definition 7.1. A fractional ideal of F is b = αa, α F, a is an ideal of O F. Sometimes ordinary ideals are called integral ideals to distinguish them from properly fractional ideals.

12 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS Any fractional ideal forms an abelian group and is closed under multiplication by elements of O F, but a fractional ideal is not closed under multiplication by elements of F. Since multiplication is defined for ideals of O F, it is also defined for fractional ideals of F, αa α a = αα aa. The multiplication of fractional ideals is commutative and associative. The integer ring O F is the multiplicative identity. And unlike ordinary ideals, fractional ideals are invertible. Specifically, if b = αa then the calculation αa (αn(a)) 1 a = O F shows that b 1 = (αn(a)) 1 a. A fractional ideal is principal if it takes the form b = α (x), (x) is a principal ideal of O F. Equivalently, b = βo F where β F. The product of principal fractional ideals is again principal, and the inverse of a principal fractional ideal is again principal. Thus the principal fractional ideals form a subgroup of the multiplicative group of fractional ideals of the quadratic field F. Definition 7.2. The ideal class group of F is the quotient group Cl(F ) = {fractional ideals of F }/{principal fractional ideals of F }. The order of the ideal class group is the ideal class number, denoted h(f ). Thus an element of the ideal class group is an ideal class, a set of ideals, C(b) = {αb : α F /O F } and the multiplication of the ideal class group is C(b)C(b ) = C(bb ). 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 O F 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 reference only to integral ideals. Define two integral ideals a and a to be equivalent if αa = α a for some nonzero α, α O F. 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 quotient group, and the greater immediacy of the fact that the class group measures the failure of unique factorization.

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 13 8. Abelian Group Structure of Ideals The next result is preparation for the pending transition from algebra to geometry in the second part of these notes. Proposition 8.1. Let b be a fractional ideal of F. Then b takes the form b = αz βz, where α and β are nonzero elements of F and α/β / Q. Proof. Since the fractional ideal takes the form b = αa where α F and a is an ideal of O F, it suffices to prove the result for integral ideals a. Since aa = N(a)O F, we have N(a)O F a O F. Recall that F = Q( n) where n Z is squarefree, and that O F = rz Z where r = D F + D F 2. The previously displayed containments are N(a)rZ N(a)Z a rz Z. Because the abelian group a sits between two free abelian groups of rank 2, it is free of rank 2 as well. This point is just a matter of linear algebra over Q. Part 2. GEOMETRY: COMPLEX LATTICES If the quadratic field F is imaginary then its ideals can be interpreted as lattices in the complex plane having a special property called complex multiplication. Complex geometry shows that the ideal class group of F is finite. Its order, denoted h, is the ideal class number of F. The goal of these notes is a formula for h. 9. Complex Lattices and Homothety Definition 9.1. A complex lattice is a rank-2 abelian subgroup of C, Λ = λ 1 Z λ 2 Z, λ 1, λ 2 C, λ 1 /λ 2 / R. Note that in particular, any fractional ideal of an imaginary quadratic field is a complex lattice. (Proposition 8.1 does the bulk of the work of supporting this observation the only loose end is that an imaginary quadratic field contains no irrational real numbers.) In the previous definition, the Z-basis {λ 1, λ 2 } determines the lattice Λ, but not conversely. We adopt the convention that lattice bases are ordered and that furthermore they are always ordered so that Im(λ 1 /λ 2 ) > 0. Then (exercise) Proposition 9.2. The ordered pairs of nonzero complex numbers (λ 1, λ 2 ) and (λ 1, λ 2) are bases for the same lattice Λ if and only if [ ] [ ] [ ] [ ] λ 1 a b λ1 a b = for some SL c d λ 2 c d 2 (Z). λ 2 (Here SL 2 (Z) is the group of 2-by-2 matrices having integer entries and determinant 1.) It follows that if Λ is a lattice and (λ 1, λ 2 ) is a basis of Λ then the area of the parallelogram P (λ 1, λ 2 ) = {t 1 λ 1 + t 2 λ 2 : t 1, t 2 [0, 1]} where (λ 1, λ 2 ) is a basis of Λ

14 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS depends only Λ, not on the choice of basis. This is because if (λ 1, λ 2 ) and (λ 1, λ 2) are bases then the linear map taking λ i to λ i for i = 1, 2 preserves area because it has determinant 1. Definition 9.3. Two lattices Λ and Λ are homothetic if Λ = cλ for some c C. Homothety is clearly an equivalence relation. It preserves the geometry of any lattice up to dilation and rotation. We now find a canonical representative of any equivalence class of lattices under homothety. Lemma 9.4. Let Λ be a complex lattice. Then Λ has nonzero elements of least modulus. Proof. First we show that the lattice point 0 is isolated, meaning that it has a C- neighborhood containing no other lattice point. This property is preserved under homothety, so we may assume that our lattice is Λ = τz Z where Im(τ) > 0. The ball about 0 of radius r = min{im(τ), 1} contains no other lattice point. The group structure of the lattice shows that same radius works for a similar ball about any lattice point. Consequently any bounded subset of the lattice is finite. The result follows. Now let a lattice Λ be given. After applying a homothety, we may assume that one of its nonzero elements of least modulus is 1. Let τ Λ be an element of Λ Z having least modulus; we may assume that Im(τ) > 0. Then τ 1, and also Re(τ) 1/2, else some τ + n (where n Z) has smaller modulus. Thus τ lies in the fundamental domain, D = {τ C : Im(τ) > 0, Re(τ) 1/2, τ 1}. And so every lattice is homothetic to a lattice Λ τ = τz Z, τ D. Furthermore, τ is essentially unique. One type of exception to uniqueness is easy to find: if Re(τ) = 1/2 then also Λ = (τ + 1)Z Z with τ + 1 D. That is, the two vertical sides of the fundamental domain should be identified. A second kind of uniqueness is slightly more subtle: if τ = 1 then (writing for homothety) Λ τ = τ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(τ) > 0, 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 c F be the reciprocal of a least-norm nonzero element

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 15 of b. The ideal cb lies in the class of b and it contains 1 as a least-norm nonzero element. Hence it is normalized. Any other c F that is the reciprocal of a least-norm nonzero element of b differs multiplicatively from c by a unit, and so cb is unique. The next section will show that the normalized ideal cb in the ideal class of b has a further property that allows only finitely many ideal classes altogether. 10. Complex Multiplication For any lattice Λ and any integer m we have mλ Λ, the lattice dilating back into itself or collapsing to 0. But some lattices spiral back into themselves under other multiplications as well. Definition 10.1. Let Λ be a lattice. If mλ Λ for some m C Z then Λ has complex multiplication (CM) by m. The property of having complex multiplication by m is preserved by homothety, so we may restrict our attention to lattices Λ τ. To study which such CM-values m are possible for which lattices Λ τ, assume that Λ τ has CM by m. Thus [ ] [ ] [ ] [ ] τ a b τ a b m = for some M 1 c d 1 c d 2 (Z). Thus m is an eigenvalue of the matrix, and [ τ 1 ] is an eigenvector. Since we are assuming that m / Z, the condition m R is impossible, e.g., it would force m = d. So m is an imaginary quadratic algebraic integer. Furthermore, since m = cτ + d (with c 0), the lattice basis element τ = m d c lies in the same imaginary quadratic field as m. The field takes the form F = Q( n) where n Z <0 is squarefree. Recall that the integer ring O F is O F = Z[r], r = D F + D F 2, D F = { n if n = 1 (mod 4), 4n if n = 2, 3 (mod 4). The key ideas connecting the previous part of this writeup to the present part are: Fractional ideals of F are complex lattices with CM by the generator r of the integer ring O F. To find all normalized lattices Λ τ F having complex multiplication by r is precisely to find a set of representatives of the ideal class group of F. Recall that normalized means that τ satisfies the three bullets at the end of the previous section. The condition for CM by r is [ ] [ ] τ r a b ker for some a, b, c, d Z. 1 c r d Thus [τ 1] is orthogonal to the bottom row and the matrix has determinant 0, and r is given just above, and r 2 tr(r)r + N(r) = 0, and so τ = r d c = D F 2d + D F 2c, c, d Z,

16 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS subject to the conditions 0 < c D F /3, (D F c)/2 d < (D F + c)/2, 4c 2 < (D F 2d) 2 D F if D F < 2d, 4c 2 (D F 2d) 2 D F if D F 2d, c N(r d). For the last condition, 0 = r 2 (a + d)r + ad bc = tr(r)r N(r) (a + d)r + ad bc, so r a = (r d) and so the determinant condition is [ ] r a b 0 = det = N(r d) bc = 0. c r d We have shown that there exist only finitely suitable τ-values, easy to find by hand if D F is small and easy to find by algorithm in any case. This shows that the class number is finite. Again, ideal class representatives are b = 1, τ where τ = (r d)/c with c and d satisfying the four conditions in the bullet list just above. Integral representatives are a = c, r d. 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 O F = Λ r works. 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 these notes, in addition to the algebra of the first part and the geometry of the second. The following proposition will be cited in the course of the analysis. Proposition 10.3. Let F be an imaginary quadratic field, let D F be the discriminant of F, and let r = D F + D F 2. Consider an integral ideal class representative a = c, r d with c and d as just above, and let α denote the area of the parallelogram spanned by c and r d. Then N(a) α = 2 DF. 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. Proof. The parallelogram area is α = c D F /2, so we need to show that N(a) = c. Let q = N(r d)/c. Because aa = N(a)O F and aa = c 2, c(r d), c(r d), N(r d) = c c, r d, r d, q, it suffices to show that c, r d, r d, q contains 1. It contains the element g = gcd(c, tr(r) 2d, q). To show that g = 1, note that the quantities tr(r) 2d = tr(r d) and cq = N(r d) are the coefficients of the polynomial of r d, which should have the same

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 17 discriminant D F as the 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 4cq = (tr(r) 2d) 2 4N(r d) = tr(r) 2 4tr(r)d + 4d 2 4N(r) + 4tr(r)d 4d 2 = tr(r) 2 4N(r) = D 2 F D F (D F 1) = D F. Recall that our quadratic field is F = Q( n) with n a squarefree negative integer. If n = 1 (mod 4) then D F = n is squarefree, and so g = 1 and we are done. On the other hand, if n = 2, 3 (mod 4) then D F = 4n and so g could equal 1 or 2. To show that g = 1 in this case as well, note that cq = N(r d) expands as cq = N(r) tr(r)d + d 2 = D F (D F 1) D F d + d 2 = n(4n 1) 4nd + d 2. 4 Thus cq = d 2 n (mod 4), and this is not 0 (mod 4) because d 2 = 0, 1 (mod 4) and n = 2, 3 (mod 4). So 4 cq, and this shows that at least one of c, q is odd, disallowing the possibility that gcd(c, tr(r) 2d, q) = g could be 2. Part 3. ANALYSIS: ZETA AND L-FUNCTIONS OF AN IMAGINARY QUADRATIC FIELD To obtain the class number formula, we encode information about the imaginary quadratic field F in Dirichlet series, series of the form f(s) = n s, s C. n Z + a n The various Dirichlet series in question the Euler Riemann zeta function, the quadratic L-function of F, and the Dedekind zeta function of F have useful complex analytic properties that combine with the number theoretic information that they encode to give the class number formula. 11. Summation by Parts Let {a n } n 1 and {b n } n 1 be complex sequences. Define n A n = a k for n 0 (including A 0 = 0), so that Also define k=1 a n = A n A n 1 for n 1. b n = b n+1 b n for n 1. Then for any 1 m n, the summation by parts formula is n 1 k=m The formula is easy to verify since a k b k = A n 1 b n A m 1 b m n 1 k=m a k b k + A k b k = A k b k+1 A k 1 b k. A k b k.

18 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS Proposition 11.1. Let {a n } n 1 be a complex sequence such that for some positive numbers C and r, n a k Cn r for all large enough n. k=1 Then the Dirichlet series f(s) = n s, n Z + a n s C is complex analytic on the open right half plane {Re(s) > r}. If furthermore {a n } is a nonnegative real sequence then f(s) converges absolutely on {Re(s) > r}. Proof. Let {b n } = {n s }. Then summation by parts gives for 1 m n, n 1 k=m Introduce the notation a k k s = A n 1 n s A m 1 m s s = σ + it, n 1 k=m ( 1 A k (k + 1) s 1 k s σ > r (so that x s = x σ for all x R + ), and estimate that 1 (k + 1) s 1 k+1 k s = s t s 1 dt s k s k=m k k+1 k ). t σ 1 dt < s k σ 1. We are given that A k 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 a k C 1 n σ r + 1 n 1 m σ r + s 1 k σ r+1. k s k=m k=m Recall that σ > r. Let n to see that for all large enough m 1, ( a ) k C 1 m σ r + s 1 k σ r+1. 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 on min{σ : σ + it K} and max{ s : s K}, and thus the Dirichlet series f(s) = n Z a nn 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 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 a n 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 a n a n = n s n σ, k=m And so f(s) converges absolutely because f(σ) converges.

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 19 A slogan-encapsulation of Proposition 11.1 is n ak = O(n r ) = a n n s is well-behaved on {Re(s) > r}. 12. The Euler Riemann zeta function Definition 12.1. The Euler Riemann zeta function is formally ζ(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, p p P(1 s ) 1 = (p ep ) s = n s. p P e p 0 n Z + Proposition 12.2 (Properties of the Euler Riemann Zeta Function). The function ζ(s) is complex analytic on the open right half plane {Re(s) > 1}, where the formal equality of the sum and product expressions of ζ(s) is analytically valid. The function ζ(s) extends meromorphically to the open right half plane {Re(s) > 0}, and the extension has only a simple pole at s = 1 with residue 1. That is, where ψ is analytic. ζ(s) = 1 + ψ(s), Re(s) > 0 s 1 Proof. The fact that ζ(s) is complex analytic on Re(s) > 1 follows from Proposition 11.1 with C = r = 1 since {a i } is the sequence {1, 1, 1, }. For any bound B > 0 we have the identity n s = (1 p s ) 1, n= p<b pep p<b using the condition Re(s) > 1 to rearrange the terms since the sum converges absolutely. As B the sum converges to ζ(s) since 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 1 n+1 n+1 s 1 = t s dt = t s dt = ζ(s) + (t s n s ) dt. 1 n=1 Call the sum ψ(s). Since for all t [n, n + 1] we have t s n s = s it follows that t n n x s 1 dx s n+1 n t n n=1 n x σ 1 dx s n σ 1 (t n) s n σ 1, (t s n s ) dt s n σ+1, and so ψ(s) converges to an analytic function on {Re(s) > 0} by the convergence properties of s n n σ 1.

20 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 13. The L-Function of a Quadratic Field Recall the quadratic character of a quadratic field F, defined using the discriminant of F and the extended Jacobi symbol, ( ) χ F : Z + DF Z, χ F (n) =. n (Because the symbol D F subsumes the information formerly contained in the symbol n for describing the quadratic field F, we have liberated n for the previous display and the sequel.) Definition 13.1. Let F be a quadratic field with discriminant D F. The quadratic L-function of F is formally L(χ F, s) = χ F (n)n s = (1 χ F (p)p s ) 1. n Z + p P The formal equality of the sum and the product follows similarly to the Euler Riemann zeta function because χ is multiplicative. Since the quadratic character encodes the decomposition of rational primes in O F (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 Proposition 5.2, χ F (n) depends only on n (mod D F )). n o Z +, n o+ n=n o χ F (n) = 0, So for any since we are summing the nontrivial character χ F over the group (Z/ D F Z). It follows that for all n 1, n χ F (k) < C. k=1 Now Proposition 11.1 shows that L(χ F, s) is analytic on {Re(s) > 0}. The argument 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 ( D F 1)-fold sum of values weighted by the quadratic character. The values are logarithms of sines if F is real quadratic and they are very simple if F is imaginary quadratic. The value L(χ F, 1) will figure in the class number formula. Proposition 13.3 (Special Value of the Quadratic L-Function). For a real quadratic field F, L(χ F, 1) = 1 χ D F 1/2 F (r) log(sin(πr/ D F )).

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 21 For an imaginary quadratic field F, L(χ F, 1) = π D F 3/2 χ F (r)r. Proof. Recall that χ F has period D F. Compute that for Re(s) > 1 (so that we may rearrange the terms), The inner sum is n Z + n=t ( D F ) L(χ, s) = n s = n Z + χ F (n)n s = n Z + a n (t)n s t=0 χ F (t) where a n (t) = n Z + n=t ( D F ) n s. { 1 if n = t (mod D F ), 0 if n t (mod D F ), and the casewise coefficient has a uniform description as a character sum, a n (t) = 1 ζ (t n)r D F D F, where ζ DF = e 2πi/ D F. Thus we have for Re(s) > 1, r=0 L(χ F, s) = t=0 = 1 D F χ F (t) n Z + 1 D F r=0 t=0 r=0 χ F (t)ζ rt ζ (t n)r D F n s D F ζ nr D F n s. n Z + Let τ r (χ F ) and τ(χ F ) respectively denote the variant Gauss sum of χ F appeared in the calculation and the basic Gauss sum of χ F, that has τ r (χ F ) = t=0 χ F (t)ζ rt D F, τ(χ F ) = τ 1 (χ F ). The rth variant Gauss sum is the character value at r times the basic Gauss sum, τ r (χ F ) = χ F (r)τ(χ F ). When gcd(r, D F ) = 1 this equality follows from a quick substitution, but when gcd(r, D F ) > 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 D F. 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 as arises from an imaginary quadratic field, then the basic Gauss sum of a quadratic character is τ(χ F ) = i δ D F 1/2.

22 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS Returning to our computed value, no longer bothering to sum over r = 0, let s 1 + to get L(χ F, s) = 1 τ r (χ) D F L(χ F, 1) = = τ(χ F ) D F = ζ nr D F n s n Z + χ F (r) i δ χ D F 1/2 F (r) ζ nr D F n s n Z + ζ nr D F n s, n Z + i δ χ D F 1/2 F (r) log(1 ζ r D F ) 1. Let S denote the sum in the previous display, (1) S = χ F (r) log(1 ζ r D F ). A small exercise in geometry shows that Also 1 ζ r D F Consequently, 1 ζ r D F = 2 sin(πr/ D F )e i(π/2 πr/ D F ). is the complex conjugate of 1 ζ r D F. Thus log(1 ζ r D F ) = log(2 sin(πr/ D F ) ± i(π/2 πr/ D F ). log(1 ζ r D F ) ± log(1 ζr D F ) = { 2 log(2 sin(πr/ D F ) for +, 2i(π/2 πr/ D F ) for. If F is real quadratic then χ F is even, and so substituting D F r for r in (1) gives that also S = χ F (r) log(1 ζ D r F ). Add the values of S shown in (1) and in the previous display to get S = χ F (r) log(2 sin(πr/ D F ). We may drop the 2 from the input to the logarithm because r χ F (r) = 0. And so in the real quadratic case, we have the claimed result, L(χ F, 1) = 1 χ D F 1/2 F (r) log(sin(πr/ D F ). If F is imaginary quadratic then χ F is odd, and so substituting D F r for r in (1) gives that also S = χ F (r) log(1 ζ r D F ).

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 23 Add the values of S shown in (1) and in the previous display to get S = χ F (r)i(πr/ D F π/2) = πi χ F (r)r. D F And so in the imaginary quadratic case, we have the claimed result as well, L(χ F, 1) = π D F 3/2 χ F (r)r. 14. The Dedekind Zeta Function of a Quadratic Field The symbol a connotes an integral ideal throughout this section, as compared to a nonintegral fractional ideal. Definition 14.1. Let F be a quadratic field. The Dedekind zeta function of F is formally (summing over ideals of O F and multiplying over irreducible ideals of O F ) ζ F (s) = a N(a) s = p (1 N(p) s ) 1. The formal equality of the sum and the product follows similarly to the Euler Riemann zeta function, this time since integral ideals factor uniquely and since the norm is multiplicative. The Dedekind zeta function rearranges as a Dirichlet series, ζ F (s) = n s, a n = #{a : N(a) = n}. n Z + a n Thus to analyze ζ F (s) we need to define n A n = a k = #{a : N(a) n}, n 1, k=1 and estimate A n. To carry out the estimate, we will define for each of the finitely many ideal classes C of F A n (C) = #{a C : N(a) n}, n 1, so that A n = C A n(c). The problem of estimating each A n (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 ) = {t 1 λ 1 + t 2 λ 2 : t 1, t 2 [0, 1]} where (λ 1, λ 2 ) is a basis of Λ. (As shown just after Proposition 9.2, α is well defined.) For any r > 0 let B r denote the closed complex ball of radius r. Then for some positive constant C, #((Λ 0) B r) πr2 α Cr for all r 1.

24 THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS Proof. Fix a fundamental parallelogram P, and for any λ C let P λ denote the λ-translate of P. For any r 0 let n 1 (r) = #{λ Λ : P λ B r }, n 2 (r) = #{λ Λ : P λ B r }. Then n 1 (r) #(Λ B r ) n 2 (r). Let δ > 0 be the length of the longer diagonal of P. Then for any r δ, and dividing by α gives π(r δ) 2 n 1 (r)α πr 2 n 2 (r)α π(r + δ) 2, π(r δ) 2 n 1 (r) πr2 α α n π(r + δ)2 2(r). α Thus #(Λ B r ) and πr 2 /α both lie in [π(r δ) 2 /α, π(r + δ) 2 /α]. Consequently the absolute value of their difference is at most the interval length, ( ) #(Λ B r) πr2 4πδ α r for all r δ. α The function f(r) = #(Λ B r ) πr 2 /α /r is bounded on [1, δ], and so in fact #(Λ B r) πr2 α Cr for all r 1. Finally, excluding 0 from Λ B r changes the left side by at most r since 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 ζ F (s) = n s, a n = #{a : N(a) = n}. n Z + a n As we did for the Euler Riemann zeta function and for the quadratic L-function, we want to estimate the absolute values of the sums n A n = a k = #{a : N(a) n}. k=1 Proposition 14.3. Let F be an imaginary quadratic field. Let D F denote the discriminant of F, let w denote the number of roots of unity in F, and let h denote the ideal class number of F. Then A n 2πhn w D F < C n, n 1. Note the presence of the ideal class number in Proposition 14.3. Proof. Let C be any ideal class of F, and let a o C 1 be any integral ideal in the inverse class of C. Then the map b a o 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 a : a o a and N(a ) n N(a o )}.

THE DIRICHLET CLASS NUMBER FORMULA FOR IMAGINARY QUADRATIC FIELDS 25 Equivalently, since to contain is to divide and since the ideal norm is the absolute value of the element norm, which is the square of the element absolute value, {a C : N(a) n} {(x) a o : x 0, x n N(a o )}. As in the discussion leading into Lemma 14.2, define A n (C) = #{a C : N(a) n}, n 1. Since associate elements generate the same ideal, and since all units of O F are roots of unity because F is imaginary quadratic, the previous set bijection gives ( # (a o 0) B ) n N(a o) (2) A n (C) =. w Now specifically take a o = c, r d as in Proposition 10.3, and let α o denote the area of the parallelogram spanned by c and r d. By (2) and Proposition 10.3 (which says that 2/ D F = N(a o )/α o ), and then by Lemma 14.2, A n(c) 2πn w D F = 1 w ((a # o 0) B ) πn N(a o) n N(a o) α o < C n. The constant C in the previous display depends on the ideal class C. Finally, since A n = A n (C), n 1, C Cl(F ) sum over ideal classes and use the triangle inequality to get A n 2πhn w D F C n, where now the constant C is independent of ideal classes. Proposition 14.4 (Properties of the Dedekind Zeta Function). Let F be in imaginary quadratic field. The Dedekind zeta function ζ F (s) is analytic on {Re(s) > 1}, where the formal equality of the sum and product expressions of ζ F (s) is analytically valid. Furthermore, the Dedekind zeta function of F is the product of the Euler Riemann zeta function and the quadratic L-function of F. ζ F (s) = ζ(s)l(χ F, s), Re(s) > 1. The function ζ F (s) extends meromorphically to the open right half plane {s > 0}, and the extension has only a simple pole at s = 1 with residue L(χ F, 1). That is, ζ F (s) = L(χ F, 1) + ψ(s), Re(s) > 0 s 1 where ψ is analytic. Thus lim (s 1)ζ F (s) = L(χ F, 1). s 1 Proof. Compute that by Proposition 14.3, A n 2πhn w D F A n 2πhn w D F C n, so that A n Cn. The analyticity of ζ F (s) on {Re(s) > 1} follows from Proposition 11.1.