The class number formula is one of the beautiful results in number theory. It connects the arithmetic of a number field with the behavior of an analytic function at . On the arithmetic side stand the class number, the units, the regulator, the discriminant, and the roots of unity. On the analytic side stands the Dedekind zeta function, a Dirichlet series counting ideals by norm. The theorem says that the failure of unique factorization is visible in the residue of a zeta function.
For a number field , let
be its ring of integers. The Dedekind zeta function of
is defined by
where the sum is over nonzero integral ideals of . If the number of ideals of norm
is
then
Thus is an ideal-counting function. Its pole at
measures the main term in the growth of the number of ideals of bounded norm. The analytic class number formula states that this residue is
Here is the number of real embeddings of
,
is the number of pairs of complex embeddings,
is the class number,
is the regulator,
is the number of roots of unity in
, and
is the discriminant.
The formula becomes much clearer for quadratic fields. There the Dedekind zeta function factors into the ordinary Riemann zeta function and a Dirichlet -function. The class number formula then becomes a formula for
, where
is a quadratic character.
We will prove the formula in classical language.
Quadratic Fields
Let where
is squarefree and
. The ring of integers is
The discriminant is
This is a fundamental discriminant. Attached to it is the quadratic Dirichlet character
where the symbol is the Kronecker symbol. For a rational prime , the value of
determines how
behaves in
:
If , then
ramifies and
. Thus
records the splitting of primes in the quadratic field.
For a quadratic field, the Dedekind zeta function factors as
where the Dirichlet L-function is given
Let us prove this directly from Euler factors. For , the Dedekind zeta function has an Euler product over prime ideals:
Now group the prime ideals lying above each rational prime
.
If splits, then
So the local Euler factor is
In this case , and the local Euler factor of
is
If is inert, then
So the local Euler factor is
In this case , and
If ramifies, then
So the local Euler factor is
In this case , and the local factor of
is again
Thus every Euler factor agrees, and therefore
Since has residue
at
, it follows that
So in a quadratic field, the class number formula is equivalent to a formula for the value .
Imaginary Quadratic Fields
Suppose first that Then
is imaginary quadratic. It has no real embeddings and one pair of complex embeddings. That is
The unit group is finite. The number of roots of unity is
The regulator is by convention.
The general class number formula becomes
Since , we get Dirichlet’s class number formula for imaginary quadratic fields:
Equivalently,
The same formula appears in classical treatments of Dirichlet’s formula for imaginary quadratic fields. We now prove this formula directly using partial zeta functions for the ideal classes.
Let be the ideal class group. Its order is the class number:
For an ideal class
, define the partial zeta function
where the sum is over integral ideals in the class
.
Then
The proof of the class number formula reduces to proving that every partial zeta function has the same residue at .
In the imaginary quadratic case, the claim is
for every ideal class . Summing over
classes gives
So the essential point is the residue of one partial zeta function.
Fix an ideal class . Choose an integral ideal
representing the inverse class
. If
is an integral ideal in the class
, then
is principal, because
. Thus
for some nonzero . Conversely, if
, then
is an integral ideal in the class
. The norm relation is
However, the same ideal is obtained from all unit multiples of
. Since the imaginary quadratic unit group is finite of size
, each ideal is represented exactly
times.
Therefore
Now choose a -basis
of
. Every
has the form
Define the quadratic form
In the imaginary quadratic case, is a positive definite integral binary quadratic form of discriminant
. Therefore
Thus the partial zeta function is, up to the factor , the Epstein zeta function of a positive definite binary quadratic form. So the residue calculation becomes a lattice point problem for positive definite quadratic forms.
Let be positive definite, with discriminant
We need the behavior near
of
Let The region
is an ellipse. Its area is
This follows from diagonalizing the quadratic form. The matrix of has determinant
The area of
is therefore
and scaling gives the factor .
By elementary lattice point counting,
The exact error term is not important for the residue. What matters is the main term which equals the area of the region, the error term is bounded by the perimeter of the region.
Now use partial summation. If then
has a simple pole at
with residue
. Indeed,
and integration by parts gives
up to an entire or harmless bounded initial term. Substituting shows
so the singular part is
Therefore
Since we get
This proves the imaginary quadratic class number formula:
Norm form on the ideals gives positive definite quadratic forms which define ellipses, lattice point counting gives area as the main terms, and this area essentially gives the residue.
The formula is analytic, but we can make it very explicit. Let
be a primitive character modulo
. For
we have the Fourier series
Suppose is real and odd, so
. This is the case for
when
. The Gauss sum is
For primitive ,
Thus
Therefore
Since is odd, the real cosine parts cancel and the sine parts remain. Hence
Using the Fourier series,
Since , this becomes
For the quadratic character with
, one has
with the usual choice of the square root. Thus
Combining this with
gives the finite sum formula
This is a very concrete form of Dirichlet’s class number formula. It says that the class number is a weighted imbalance of quadratic residues and nonresidues modulo .
Example:
Let Then
The character
is
The -value is
The class number formula gives
Thus has class number
. This is a analytic proof of unique factorization in the Gaussian integers.
Let Then
The character
modulo
has the values
with value when
.
Compute
The finite class number formula gives
Therefore
This agrees with the classical failure of unique factorization:
The analytic formula measures exactly this defect. The failure of unique factorization is encoded in a finite weighted character sum.
Real quadratic fields
Now suppose Then
is real quadratic. There are two real embeddings and no complex embeddings:
The unit group is infinite. By Dirichlet’s unit theorem, it has the form
where is a fundamental unit. The regulator is
Also , because the only roots of unity in a real quadratic field are
.
The general class number formula becomes
Since , we get
Equivalently,
The new feature is the factor . In the imaginary case, the unit group was finite, so no logarithmic correction appeared. In the real case, infinitely many units generate infinitely many representatives of the same principal ideal. The regulator measures the spacing of these repetitions.
We now prove the real quadratic formula by the same partial-zeta method, but this time the quadratic forms are indefinite and the unit group is infinite.
Fix an ideal class and choose an integral ideal
in the inverse class
. As before, ideals
correspond to elements
modulo units, with
Embed into
by its two real embeddings:
The ideal becomes a lattice in
. Its covolume is
The norm is
Thus the condition becomes
Let The inequality is
If we counted all lattice points satisfying this inequality, the region would have infinite area, because the hyperbola stretches infinitely along the axes. The infinite unit group is exactly what removes this infinite overcounting.
Let be a fundamental unit. Under the two embeddings, multiplication by
acts as
where
Therefore multiplication by preserves
. Introduce logarithmic coordinates
Then
Multiplication by
sends
So it translates the difference by
A fundamental strip for the unit action is therefore given by requiring
to lie in an interval of length
Now compute the volume. In one quadrant, put
Then in absolute value. The condition is
, and a fundamental interval for
has length
. Therefore the area in one quadrant is
There are four quadrants, so the total area in a fundamental region is
Divide by the lattice covolume . This gives the number of lattice points up to the unit action, before correcting for roots of unity:
Finally divide by , because
and
generate the same principal ideal. Thus the number of ideals in the class
of norm at most
is asymptotic to
Hence the partial zeta function has residue
Summing over the ideal classes,
So we conclude that
This proves the real quadratic class number formula.
The proof has the same structure as the imaginary case, but the geometry is different. In the imaginary case we counted lattice points in ellipses. In the real case we count lattice points in hyperbolic regions, but only after cutting by a fundamental strip for the unit group. That fundamental strip has width , and that is why the regulator appears.
For , the character
is even:
For a primitive even character
modulo
, one uses the Fourier identity
As before,
When is even, the sine parts cancel and the cosine parts remain. Hence
For the real quadratic character , one has
Therefore
Combining this with
gives
This is the real quadratic analogue of the finite sum formula. In the imaginary case, the formula is a weighted arithmetic sum. In the real case, it is a weighted logarithmic trigonometric sum. This is exactly what one should expect: real quadratic fields have infinite units, and units are measured by logarithms.
Example:
Let Then
A fundamental unit is
The character modulo is
Compute
Using we get
Thus
But
Therefore
The formula gives
But the class number formula says
Therefore So
has class number
.
General Number Fields
We now prove the general analytic class number formula by the same method. The main idea is still simple:
- Split the Dedekind zeta function into partial zeta functions, one for each ideal class.
- For one ideal class, choose an inverse ideal
.
- Ideals in that class correspond to elements of
modulo units.
- Embed
as a lattice in Euclidean space.
- Count lattice points in a norm-bounded region, modulo the unit lattice.
- The volume calculation gives the residue.
This is the classical proof. It is the same proof as in the quadratic cases, but in higher-dimensional language.
Let be a number field of degree
Let
be the number of real embeddings, and let
be the number of pairs of complex embeddings. Then
Choose embeddings
and one embedding from each complex conjugate pair,
The Minkowski embedding is
given by
The absolute norm of is
If is a nonzero integral ideal, then
is a lattice in
.
Under the Minkowski embedding, becomes a lattice whose fundamental volume is controlled by the embedding determinant; this determinant is essentially
, with a factor
from replacing complex conjugate coordinates by real and imaginary parts. Since an ideal
has index
, its lattice is
times sparser, So the covolume is
The unit group acts on
by multiplication and therefore acts on the Minkowski space.
The logarithmic map is
defined by
The product formula says that
Thus lies in the hyperplane
Dirichlet’s unit theorem says that the image of the unit group modulo roots of unity is a lattice in this hyperplane of rank The covolume of this lattice is the regulator
.
More concretely, choose fundamental units
Form the matrix of logarithms
with the complex embeddings counted using . Delete one row, take the absolute value of the determinant, and obtain
with the standard normalization. This is the multiplicative lattice part of the proof. The ring of integers gives an additive lattice in Minkowski space. The units give a multiplicative lattice after taking logarithms. The class number formula is obtained by comparing these two lattices.
Let be an ideal class. Define
Then
Choose an integral ideal representing the inverse class
.
As before, integral ideals correspond to nonzero elements
modulo multiplication by units, through
The norm relation is
Thus the counting function
is the number of nonzero elements , modulo units, satisfying
Therefore, to estimate , we count lattice points of
in the region
but only one representative modulo the action of the infinite unit group.
Let For each real coordinate, write
For each complex coordinate, write
Then the absolute norm condition becomes
The volume element contributes a factor
from real signs and complex angular integration. Indeed, each real coordinate has two signs, while in a complex coordinate , the area element satisfies
Thus after passing to the positive variables , the Euclidean volume is
Now take logarithms:
Then the product condition becomes
The unit group acts by translation in the hyperplane
Choose a fundamental parallelepiped for the unit lattice in . Its volume is the regulator
. Therefore, after quotienting by the free part of the unit group, the logarithmic directions contribute the factor
The remaining radial variable is
Since the measure contains in this radial direction, integration over
contributes
Thus the volume of a fundamental region for the unit action inside the norm-bounded region is
Now divide by the lattice covolume
This gives
Finally, divide by , the number of roots of unity, because multiplying by a root of unity does not change the generated principal ideal. Therefore
This is the central asymptotic estimate for one ideal class. Summing over all the ideal classes gives
Therefore
This is the analytic class number formula.
The formula is not a collection of mysterious constants. Each factor has a precise origin. The factor appears because the Dedekind zeta function is the sum of
partial zeta functions, one for each ideal class. The factor
appears because
and its ideals are lattices under the Minkowski embedding, and their covolumes are governed by the discriminant. The factor
appears because the infinite unit group causes infinitely many elements to generate the same principal ideal. Taking logarithms turns the units into a lattice, and the regulator is the volume of a fundamental region for that lattice. The factor
appears because roots of unity give finite repetitions. If
is a root of unity, then
and
generate the same ideal. The factor
comes from real signs. Each real embedding gives a coordinate that can be positive or negative. The factor
comes from complex embeddings. Each complex embedding contributes angular integration in the complex plane. Thus the formula is an exact accounting of all the ways elements represent ideals.
The proof can be summarized as follows.
The Dedekind zeta function counts ideals:
Splitting by ideal class gives
For one ideal class , choose an inverse ideal
. Ideals in
correspond to elements of
modulo units. Thus the partial zeta function is controlled by counting elements in a lattice, modulo a unit lattice.
The additive lattice has covolume involving . The multiplicative unit lattice has covolume
. The roots of unity have order
. The number of ideal classes is
. The archimedean coordinates supply
.
Therefore the residue must be
This is why the class number formula is so natural. It is the equality obtained by counting the same arithmetic objects in two languages: ideals through their norms; elements through lattice points modulo units.