Every such quadratic field is some where is a (uniquely defined)square-free integer different from and. If, the corresponding quadratic field is called areal quadratic field, and, if, it is called animaginary quadratic field or acomplex quadratic field, corresponding to whether or not it is asubfield of the field of thereal numbers.
Quadratic fields have been studied in great depth, initially as part of the theory ofbinary quadratic forms. There remain some unsolved problems. Theclass number problem is particularly important.
For a nonzero square free integer, thediscriminant of the quadratic field is if is congruent to modulo, and otherwise. For example, if is, then is the field ofGaussian rationals and the discriminant is. The reason for such a distinction is that thering of integers of is generated by in the first case and by in the second case.
The set of discriminants of quadratic fields is exactly the set offundamental discriminants (apart from, which is a fundamental discriminant but not the discriminant of a quadratic field).
The quotient ring is thefinite field with elements:.
splits
is a product of two distinct prime ideals of.
The quotient ring is the product.
isramified
is the square of a prime ideal of.
The quotient ring contains non-zeronilpotent elements.
The third case happens if and only if divides the discriminant. The first and second cases occur when theKronecker symbol equals and, respectively. For example, if is an odd prime not dividing, then splits if and only if is congruent to a square modulo. The first two cases are, in a certain sense, equally likely to occur as runs through the primes—seeChebotarev density theorem.[2]
The law ofquadratic reciprocity implies that the splitting behaviour of a prime in a quadratic field depends only on modulo, where is the field discriminant.
Then, the ideal class group is generated by the prime ideals whose norm is less than. This can be done by looking at the decomposition of the ideals for prime where[1]page 72 These decompositions can be found using theDedekind–Kummer theorem.
A classical example of the construction of a quadratic field is to take the unique quadratic field inside thecyclotomic field generated by a primitiveth root of unity, with an odd prime number. The uniqueness is a consequence ofGalois theory, there being a unique subgroup ofindex in the Galois group over. As explained atGaussian period, the discriminant of the quadratic field is for and for. This can also be predicted from enoughramification theory. In fact, is the only prime that ramifies in the cyclotomic field, so is the only prime that can divide the quadratic field discriminant. That rules out the 'other' discriminants and in the respective cases.
If one takes the other cyclotomic fields, they have Galois groups with extra-torsion, so contain at least three quadratic fields. In general a quadratic field of field discriminant can be obtained as a subfield of a cyclotomic field of-th roots of unity. This expresses the fact that theconductor of a quadratic field is the absolute value of its discriminant, a special case of theconductor-discriminant formula.
Orders of quadratic number fields of small discriminant
The following table shows someorders of small discriminant of quadratic fields. Themaximal order of an algebraic number field is itsring 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 ofDiscriminant of an algebraic number field § Definition.
For real quadratic integer rings, theideal class number, which measures the failure of unique factorization, is given inOEIS A003649; for the imaginary case, they are given inOEIS A000924.