KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesClass Numbers from Analytic Class Number FormulasEngineering · Engineering MathematicsLesson 807/884← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin Joginanalytic class number formulaL-functionDirichlet characterzeta function
On this page

Ask about this page

KEVOS AIClass Numbers from Analytic Class Number Formulas

KEVOS knowledge first · trusted web sources when needed

Quadratic Fields

Class Numbers from Analytic Class Number Formulas

Using L-functions and the analytic class number formula to compute or verify class numbers and regulators.

Engineering / MathematicsQuadratic Fields2 min readKV-MATH-0605

The analytic class number formula relates class number and regulator to a value of an L-function. It provides an independent route to these invariants and, more importantly, an independent check on results obtained algebraically.

The formula for quadratic fields

For a quadratic field, the class number is expressed in terms of the value at one of the Dirichlet L-function attached to the discriminant character.

h (times R for real fields) = (constant) sqrt(|D|) L(1, chi)The constant depends on the signature and the roots of unity.

Key point

For imaginary fields the regulator is one, so the formula gives the class number directly. For real fields it gives only the product of class number and regulator, and the two cannot be separated by this route alone.

Computing the L-value

Evaluating the L-function at one

  1. Compute the characterKronecker symbols of the discriminant at successive integers — see symbol computation.
  2. Sum the seriesThe naive Dirichlet series converges far too slowly for direct use.
  3. AccelerateUse a rapidly convergent expression involving an incomplete gamma factor, or a class number formula expressed as a finite character sum.
  4. Bound the errorTruncation error must be small enough to identify the integer answer.

Pitfall

The naive Dirichlet series converges so slowly as to be useless. Accelerated expressions are essential, and the truncation error must be bounded rigorously if the result is to be used as a proof rather than an indication.

Use as verification

What the analytic formula settles
Field typeWhat the formula givesHow it is used
Imaginary quadraticThe class number directlyUnconditional verification of an algebraic computation
Real quadraticThe product of class number and regulatorVerifies the pair jointly, not individually
General number fieldThe product of class number and regulator, via the Dedekind zeta functionSame joint verification

Caution

Because the formula controls only the product for real fields, an error that halves the class number and doubles the regulator passes the check undetected. The class group structure should be confirmed separately — see verification.

Direct computation

For small discriminants the formula is a practical computation method, not merely a check. It becomes expensive as the precision requirement grows with the discriminant, at which point algebraic methods dominate — but the check remains available and remains worth running.

Related L-functions

The same analytic machinery in the elliptic curve setting gives the conjectural formula relating the L-function to rank — see L-functions and BSD.

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 5.3.3. Structural reference unverified: the source file was not available during authoring; chapter and section numbers are taken from the published edition and have not been checked against a physical copy.

Related pages

  • Verifying Class Group and Regulator Results
  • L-Functions and the Birch-Swinnerton-Dyer Conjecture
  • Imaginary Quadratic Class Numbers by Counting Reduced Forms
  • Reduction of Indefinite Forms and the Cycle Structure

Continue learning

Imaginary Quadratic Class Numbers by Counting Reduced FormsArticle · Engineering MathematicsNEXT LESSON →Reduction of Indefinite Forms and the Cycle StructureArticle · Engineering MathematicsComposition of Binary Quadratic FormsArticle · Engineering MathematicsThe Fundamental Unit of a Real Quadratic FieldArticle · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®