Main article: Quadratic integer
For a nonzero square free integer d {\displaystyle d} , the discriminant of the quadratic field K = Q ( d ) {\displaystyle K=\mathbf {Q} ({\sqrt {d}})} is d {\displaystyle d} if d {\displaystyle d} is congruent to 1 {\displaystyle 1} modulo 4 {\displaystyle 4} , and otherwise 4 d {\displaystyle 4d} . For example, if d {\displaystyle d} is − 1 {\displaystyle -1} , then K {\displaystyle K} is the field of Gaussian rationals and the discriminant is − 4 {\displaystyle -4} . The reason for such a distinction is that the ring of integers of K {\displaystyle K} is generated by ( 1 + d ) / 2 {\displaystyle (1+{\sqrt {d}})/2} in the first case and by d {\displaystyle {\sqrt {d}}} in the second case.
The set of discriminants of quadratic fields is exactly the set of fundamental discriminants (apart from 1 {\displaystyle 1} , which is a fundamental discriminant but not the discriminant of a quadratic field).
Any prime number p {\displaystyle p} gives rise to an ideal p O K {\displaystyle p{\mathcal {O}}_{K}} in the ring of integers O K {\displaystyle {\mathcal {O}}_{K}} of a quadratic field K {\displaystyle K} . In line with general theory of splitting of prime ideals in Galois extensions, this may be1
The third case happens if and only if p {\displaystyle p} divides the discriminant D {\displaystyle D} . The first and second cases occur when the Kronecker symbol ( D / p ) {\displaystyle (D/p)} equals − 1 {\displaystyle -1} and + 1 {\displaystyle +1} , respectively. For example, if p {\displaystyle p} is an odd prime not dividing D {\displaystyle D} , then p {\displaystyle p} splits if and only if D {\displaystyle D} is congruent to a square modulo p {\displaystyle p} . The first two cases are, in a certain sense, equally likely to occur as p {\displaystyle p} runs through the primes—see Chebotarev density theorem.2
The law of quadratic reciprocity implies that the splitting behaviour of a prime p {\displaystyle p} in a quadratic field depends only on p {\displaystyle p} modulo D {\displaystyle D} , where D {\displaystyle D} is the field discriminant.
Determining the class group of a quadratic field extension can be accomplished using Minkowski's bound and the Kronecker symbol because of the finiteness of the class group.3 A quadratic field K = Q ( d ) {\displaystyle K=\mathbf {Q} ({\sqrt {d}})} has discriminant Δ K = { d d ≡ 1 ( mod 4 ) 4 d d ≡ 2 , 3 ( mod 4 ) ; {\displaystyle \Delta _{K}={\begin{cases}d&d\equiv 1{\pmod {4}}\\4d&d\equiv 2,3{\pmod {4}};\end{cases}}} so the Minkowski bound is4 M K = { 2 | Δ | / π d < 0 | Δ | / 2 d > 0. {\displaystyle M_{K}={\begin{cases}2{\sqrt {|\Delta |}}/\pi &d<0\\{\sqrt {|\Delta |}}/2&d>0.\end{cases}}}
Then, the ideal class group is generated by the prime ideals whose norm is less than M K {\displaystyle M_{K}} . This can be done by looking at the decomposition of the ideals ( p ) {\displaystyle (p)} for p ∈ Z {\displaystyle p\in \mathbf {Z} } prime where | p | < M k . {\displaystyle |p|<M_{k}.} 5 page 72 These decompositions can be found using the Dedekind–Kummer theorem.
A classical example of the construction of a quadratic field is to take the unique quadratic field inside the cyclotomic field generated by a primitive p {\displaystyle p} th root of unity, with p {\displaystyle p} an odd prime number. The uniqueness is a consequence of Galois theory, there being a unique subgroup of index 2 {\displaystyle 2} in the Galois group over Q {\displaystyle \mathbf {Q} } . As explained at Gaussian period, the discriminant of the quadratic field is p {\displaystyle p} for p = 4 n + 1 {\displaystyle p=4n+1} and − p {\displaystyle -p} for p = 4 n + 3 {\displaystyle p=4n+3} . This can also be predicted from enough ramification theory. In fact, p {\displaystyle p} is the only prime that ramifies in the cyclotomic field, so p {\displaystyle p} is the only prime that can divide the quadratic field discriminant. That rules out the 'other' discriminants − 4 p {\displaystyle -4p} and 4 p {\displaystyle 4p} in the respective cases.
If one takes the other cyclotomic fields, they have Galois groups with extra 2 {\displaystyle 2} -torsion, so contain at least three quadratic fields. In general a quadratic field of field discriminant D {\displaystyle D} can be obtained as a subfield of a cyclotomic field of D {\displaystyle D} -th roots of unity. This expresses the fact that the conductor of a quadratic field is the absolute value of its discriminant, a special case of the conductor-discriminant formula.
The following table shows some orders of small discriminant of quadratic fields. The maximal order of an algebraic number field is its ring of integers, and the discriminant of the maximal order is the discriminant of the field. The discriminant of a non-maximal order is the product of the discriminant of the corresponding maximal order by the square of the determinant of the matrix that expresses a basis of the non-maximal order over a basis of the maximal order. All these discriminants may be defined by the formula of Discriminant of an algebraic number field § Definition.
For real quadratic integer rings, the ideal class number, which measures the failure of unique factorization, is given in OEIS A003649; for the imaginary case, they are given in OEIS A000924.
Some of these examples are listed in Artin, Algebra (2nd ed.), §13.8.
Stevenhagen. "Number Rings" (PDF). p. 36. http://websites.math.leidenuniv.nl/algebra/ant.pdf ↩
Samuel 1972, pp. 76f - Samuel, Pierre (1972), Algebraic Theory of Numbers (Hardcover ed.), Paris / Boston: Hermann / Houghton Mifflin Company, ISBN 978-0-901-66506-5 ↩
Stein, William. "Algebraic Number Theory, A Computational Approach" (PDF). pp. 77–86. https://wstein.org/books/ant/ant.pdf ↩
Conrad, Keith. "CLASS GROUP CALCULATIONS" (PDF). https://kconrad.math.uconn.edu/blurbs/gradnumthy/classgpex.pdf ↩