KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesQuadratic Field Discriminants and Integral BasesEngineering · Engineering MathematicsLesson 801/884← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin Joginquadratic fielddiscriminantintegral basisfundamental discriminant
On this page

Ask about this page

KEVOS AIQuadratic Field Discriminants and Integral Bases

KEVOS knowledge first · trusted web sources when needed

Quadratic Fields

Quadratic Field Discriminants and Integral Bases

Discriminants and integral bases of quadratic fields, given by closed formulas with no computation required.

Engineering / MathematicsQuadratic Fields2 min readKV-MATH-0599

Quadratic fields are the one family where every structural question has a closed-form answer. No maximal order algorithm is needed; the integral basis is given by a case split on a congruence.

Presentation

Every quadratic field is generated by the square root of a squarefree integer, positive for a real field and negative for an imaginary one.

K = Q(sqrt(m)), m squarefree, m not equal to 0 or 1Real if m is positive, imaginary if negative.

Discriminant and integral basis

Closed formulas for quadratic fields
Condition on mDiscriminantIntegral basis
m congruent to 1 modulo 4m1 and (1 + sqrt(m))/2
Otherwise4m1 and sqrt(m)

Key point

The case split arises because when m is one modulo four the element with a denominator of two is already an algebraic integer — its minimal polynomial has integer coefficients. Missing this case gives a non-maximal order and every downstream result is wrong.

Fundamental discriminants

Fundamental discriminant
An integer that is the discriminant of some quadratic field: either one modulo four and squarefree, or four times a squarefree number that is two or three modulo four.
Non-fundamental discriminant
The discriminant of a non-maximal order. Valid for form theory but not a field discriminant.
Conductor
The factor relating a general discriminant to the fundamental one beneath it.

Pitfall

Binary quadratic form theory works with arbitrary discriminants, including non-fundamental ones. Ideal class group theory requires fundamental discriminants. Conflating the two gives ring class groups where ideal class groups were intended — a real difference, not a technicality.

Signature and unit rank

The two families behave very differently
FieldSignatureUnit rankRoots of unity
Imaginary quadraticr1 = 0, r2 = 10Usually plus and minus one; more for the discriminants minus three and minus four
Real quadraticr1 = 2, r2 = 01Plus and minus one only

Key point

This table explains why the two families need different algorithms throughout. Imaginary fields have no units to find and a class number that grows; real fields have a trivial-looking class number and a fundamental unit that can be enormous.

Why they are the right place to start

Every general phenomenon — class groups, units, regulators, reduction theory, sub-exponential methods — appears here in a setting concrete enough to compute by hand. See the quadratic pathway.

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 5.1. 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

  • Legendre, Jacobi and Kronecker Symbol Computation
  • Discriminants and Integral Bases
  • Prime Decomposition in Quadratic Fields

Continue learning

Class Group and Unit Computation: the Computational ProblemArticle · Engineering MathematicsNEXT LESSON →Prime Decomposition in Quadratic FieldsArticle · Engineering MathematicsMinkowski and Bach BoundsArticle · Engineering MathematicsBinary Quadratic Forms and the Ideal CorrespondenceArticle · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®