Fact-checked by Grok 2 weeks ago

Quadratic field

In algebraic number theory, a quadratic field is a finite field extension of the rational numbers \mathbb{Q} of degree two, obtained by adjoining a square root of a d \neq 1 to \mathbb{Q} and denoted K = \mathbb{Q}(\sqrt{d}) = \{ x + y \sqrt{d} : x, y \in \mathbb{Q} \}. These fields are the simplest nontrivial examples of number fields and form the foundation for studying more advanced extensions. Quadratic fields are classified into two types based on the sign of d: real quadratic fields when d > 0, which embed into the real numbers, and imaginary quadratic fields when d < 0, which do not. The ring of integers \mathcal{O}_K of such a field K, consisting of the algebraic integers in K, has a explicit description that depends on d modulo 4: if d \equiv 2 or $3 \pmod{4}, then \mathcal{O}_K = \mathbb{Z}[\sqrt{d}]; if d \equiv 1 \pmod{4}, then \mathcal{O}_K = \mathbb{Z}\left[\frac{1 + \sqrt{d}}{2}\right]. This ring is a Dedekind domain, meaning that every nonzero ideal factors uniquely into prime ideals, even though elements may not factor uniquely—a phenomenon quantified by the finite ideal class group \mathrm{Cl}(K), whose order is the class number h(K). Key arithmetic features of quadratic fields include the norm N(\alpha) = \alpha \overline{\alpha} for \alpha \in K, where \overline{\cdot} denotes the nontrivial automorphism (conjugation), and the trace \mathrm{Tr}_{K/\mathbb{Q}}(\alpha) = \alpha + \overline{\alpha}, which facilitate the study of factorization and ramification of primes from \mathbb{Z} in \mathcal{O}_K. Primes p \in \mathbb{Z} may remain inert, split into two distinct prime ideals, or ramify (factor as a square of a prime ideal) in \mathcal{O}_K, depending on the Legendre symbol \left( \frac{d}{p} \right). The group of units \mathcal{O}_K^\times = \{ \alpha \in \mathcal{O}_K : N(\alpha) = \pm 1 \} is finite for imaginary quadratic fields (typically \{ \pm 1 \}, except for d = -1, -3) but infinite for real quadratic fields, generated by \pm 1 and a fundamental unit solving a Pell equation. Quadratic fields play a central role in algebraic number theory as concrete models for broader phenomena, including the failure of unique factorization, Dirichlet's unit theorem, and the class number problem; for imaginary quadratic fields, the class number is tied to the via an explicit formula involving the discriminant and L-functions. They also connect to quadratic forms, continued fractions, and modular forms, with applications in cryptography, Diophantine equations, and the distribution of primes.

Fundamentals

Definition

In algebraic number theory, a quadratic field is defined as a finite field extension K of the rational numbers \mathbb{Q} having degree 2. Explicitly, every quadratic field can be expressed as K = \mathbb{Q}(\sqrt{d}), where d is a square-free integer not equal to 0 or 1; the elements of K are thus all expressions of the form a + b\sqrt{d} with a, b \in \mathbb{Q}. This construction ensures that adjoining \sqrt{d} to \mathbb{Q} yields a proper extension, as d being square-free guarantees the irreducibility of the relevant polynomial over \mathbb{Q}. The degree of the extension [\mathbb{Q}(\sqrt{d}) : \mathbb{Q}] = 2 follows from the fact that the minimal polynomial of \sqrt{d} over \mathbb{Q} is x^2 - d. This monic polynomial is irreducible over \mathbb{Q} precisely because d is square-free and not 0 or 1, as otherwise \sqrt{d} would already lie in \mathbb{Q}. As a vector space over \mathbb{Q}, K admits the basis \{1, \sqrt{d}\}, which spans K and is linearly independent over \mathbb{Q}. Quadratic fields are classified into two types depending on the sign of d: if d > 0, then K is a real quadratic field, embedded into numbers \mathbb{R} via two distinct real embeddings; if d < 0, then K is an imaginary quadratic field, with no real embeddings but two complex conjugate embeddings into \mathbb{C}.

Examples

The quadratic field \mathbb{Q}(\sqrt{2}) arises naturally in geometry, for instance, as the field generated by the length of the diagonal of a unit square. Elements of this field take the form a + b\sqrt{2} with a, b \in \mathbb{Q}, and basic arithmetic operations follow from distributing over the basis \{1, \sqrt{2}\}; for example, addition yields (1 + \sqrt{2}) + (3 - \sqrt{2}) = 4, while multiplication gives (1 + \sqrt{2})( \sqrt{2} - 1) = (\sqrt{2} - 1 + 2 - \sqrt{2}) = 1. Another real quadratic field is \mathbb{Q}(\sqrt{5}), which contains the golden ratio (1 + \sqrt{5})/2 and appears in problems involving pentagons and Fibonacci sequences. Imaginary quadratic fields provide examples with complex elements. The field \mathbb{Q}(i) = \mathbb{Q}(\sqrt{-1}), known as the Gaussian rationals, consists of elements a + bi with a, b \in \mathbb{Q}. Similarly, \mathbb{Q}(\sqrt{-3}), the Eisenstein rationals, includes elements of the form a + b \sqrt{-3} with a, b \in \mathbb{Q}, and is notable for its connections to equilateral triangles and cubic residues. Early studies of specific quadratic fields, such as \mathbb{Q}(\sqrt{-1}), were pursued by Pierre de Fermat and Leonhard Euler in the context of sums of two squares; Fermat stated that an odd prime p is a sum of two squares if and only if p \equiv 1 \pmod{4}, a result later proved by Euler using infinite descent and linked to factorization in Gaussian integers. Fermat also challenged contemporaries with Pell equations like x^2 - 2y^2 = \pm 1, tied to units in real quadratic fields such as \mathbb{Q}(\sqrt{2}), though the general solution method was developed later. These examples illustrate the distinction between real quadratic fields, which embed into the reals, and imaginary ones, which do not; their discriminants, such as 8 for \mathbb{Q}(\sqrt{2}) and -4 for \mathbb{Q}(i), are detailed subsequently.

Integral Structure

Ring of Integers

In a quadratic field K = \mathbb{Q}(\sqrt{d}), where d is a square-free integer not equal to 0 or 1, the ring of integers \mathcal{O}_K is defined as the integral closure of \mathbb{Z} in K, consisting of all elements in K that are roots of monic polynomials with coefficients in \mathbb{Z}. This ring serves as the maximal order in K, meaning it is the largest subring of K that is finitely generated as a \mathbb{Z}-module and integrally closed in K. The explicit form of \mathcal{O}_K depends on the congruence class of d modulo 4. If d \equiv 2 or $3 \pmod{4}, then \mathcal{O}_K = \mathbb{Z}[\sqrt{d}] = \{ a + b\sqrt{d} \mid a, b \in \mathbb{Z} \}. If d \equiv 1 \pmod{4}, then \mathcal{O}_K = \mathbb{Z}\left[\frac{1 + \sqrt{d}}{2}\right] = \left\{ a + b \frac{1 + \sqrt{d}}{2} \mid a, b \in \mathbb{Z} \right\}. To establish this form, consider the basis elements. For d \equiv 2 or $3 \pmod{4}, \sqrt{d} satisfies the minimal polynomial X^2 - d = 0, which is monic with integer coefficients, so \sqrt{d} is integral over \mathbb{Z}, and \mathbb{Z}[\sqrt{d}] is the full integral closure. For d \equiv 1 \pmod{4}, the element \rho = \frac{1 + \sqrt{d}}{2} satisfies the minimal polynomial X^2 - X + \frac{1 - d}{4} = 0; since d \equiv 1 \pmod{4}, \frac{1 - d}{4} is an integer, making the polynomial monic with integer coefficients, hence \rho is integral over \mathbb{Z}. This polynomial is irreducible over \mathbb{Q} because its discriminant d is square-free (hence not a perfect square), ensuring \mathbb{Z}[\rho] generates the full ring. Any larger ring would contradict the \mathbb{Z}-rank 2 of \mathcal{O}_K. As a ring of integers in a number field, \mathcal{O}_K is a Dedekind domain, meaning every nonzero prime ideal is maximal and ideals factor uniquely into primes. It is a principal ideal domain (and thus a unique factorization domain) if and only if the class number of K is 1, which occurs for specific values of d, such as the imaginary quadratic fields with d = -1, -2, -3, -7, -11, -19, -43, -67, -163. For other d, like d = -5, \mathcal{O}_K = \mathbb{Z}[\sqrt{-5}] fails to be a PID due to non-unique factorization of elements like 6. Non-maximal orders, such as \mathbb{Z}[\sqrt{d}] when d \equiv 1 \pmod{4}, are subrings of \mathcal{O}_K with finite index; the conductor of such an order measures this index and relates to how ideals factor differently in the order versus \mathcal{O}_K.

Discriminant

The discriminant \Delta_K of the ring of integers \mathcal{O}_K in a quadratic field K = \mathbb{Q}(\sqrt{d}), where d is a square-free integer not equal to or 1, is defined as the determinant of the trace form matrix with respect to a \mathbb{Z}-basis of \mathcal{O}_K. Specifically, if \{e_1, \dots, e_n\} is such a basis, then \Delta_K = \det(\operatorname{Tr}_{K/\mathbb{Q}}(e_i e_j)), where \operatorname{Tr}_{K/\mathbb{Q}} denotes the field trace. The computation of \Delta_K depends on the congruence class of d modulo 4. If d \equiv 1 \pmod{4}, then \mathcal{O}_K = \mathbb{Z}\left[\frac{1 + \sqrt{d}}{2}\right] and \Delta_K = d; otherwise, \mathcal{O}_K = \mathbb{Z}[\sqrt{d}] and \Delta_K = 4d. Here, d is taken to be the square-free part defining the field, making \Delta_K the fundamental discriminant associated to K. Key properties of \Delta_K include its congruence modulo 4: \Delta_K \equiv 0 \pmod{4} or \Delta_K \equiv 1 \pmod{4}, reflecting the structure of the ring of integers. The sign of \Delta_K distinguishes real quadratic fields (where d > 0, so \Delta_K > 0) from imaginary quadratic fields (where d < 0, so \Delta_K < 0). The discriminant relates to the different ideal \mathfrak{D}_K, whose norm equals |\Delta_K|, providing a measure of ramification in the extension K/\mathbb{Q}. In quadratic fields, the prime ideals dividing \mathfrak{D}_K are precisely the ramified primes, with the exponent in the factorization indicating the ramification index minus one. For example, in K = \mathbb{Q}(\sqrt{2}), where d = 2 \equiv 2 \pmod{4}, the discriminant is \Delta_K = 4 \cdot 2 = 8. In K = \mathbb{Q}(\sqrt{-3}), where d = -3 \equiv 1 \pmod{4}, the discriminant is \Delta_K = -3.

Arithmetic Properties

Norm and Trace

In quadratic fields, the trace and norm are fundamental linear and multiplicative maps from the field K = \mathbb{Q}(\sqrt{d}) to the base field \mathbb{Q}, where d is a square-free integer. These maps arise from the structure of K as a degree-2 extension of \mathbb{Q} and play a central role in the arithmetic of elements in K. They can be defined using the two embeddings of K into \mathbb{C}, which send \sqrt{d} to \pm \sqrt{d} (assuming d > 0) or to \pm i\sqrt{|d|} (if d < 0); the trace is the sum of the images under these embeddings, while the norm is their product. For an element \alpha = a + b\sqrt{d} with a, b \in \mathbb{Q}, the trace is given by \operatorname{Tr}_{K/\mathbb{Q}}(\alpha) = 2a, which is the sum of \alpha and its Galois conjugate \overline{\alpha} = a - b\sqrt{d}. This map is \mathbb{Q}-linear and equals the trace of the matrix representing multiplication by \alpha on the basis \{1, \sqrt{d}\}. The norm is N_{K/\mathbb{Q}}(\alpha) = a^2 - d b^2 = \alpha \overline{\alpha}, the product of \alpha and its conjugate, or equivalently the determinant of the same multiplication matrix. Unlike the trace, the norm is multiplicative: N_{K/\mathbb{Q}}(\alpha \beta) = N_{K/\mathbb{Q}}(\alpha) N_{K/\mathbb{Q}}(\beta) for all \alpha, \beta \in K. For example, in K = \mathbb{Q}(\sqrt{2}), N_{K/\mathbb{Q}}(1 + \sqrt{2}) = 1^2 - 2 \cdot 1^2 = -1. Elements \varepsilon \in K with N_{K/\mathbb{Q}}(\varepsilon) = \pm 1 are units in the ring of integers of K. The norm extends to ideals in the ring of integers \mathcal{O}_K: for a principal ideal (\alpha), the ideal norm N((\alpha)) equals |N_{K/\mathbb{Q}}(\alpha)|, which counts the index [\mathcal{O}_K : (\alpha)]. This ideal norm is completely multiplicative over ideal multiplication and positive for nonzero ideals.

Units

In quadratic number fields, the structure of the unit group of the ring of integers is governed by Dirichlet's unit theorem, which asserts that the group is finitely generated with rank equal to the number of real embeddings plus half the number of complex embeddings minus one. For imaginary quadratic fields \mathbb{Q}(\sqrt{d}) with d < 0 square-free, there are no real embeddings, yielding rank zero; thus, the unit group is finite and torsion, consisting solely of roots of unity in the field. In most cases, these units are simply \{\pm 1\}. However, exceptions occur for d = -1 and d = -3: in \mathbb{Q}(\sqrt{-1}), the ring of integers is \mathbb{Z} and the units are \{\pm 1, \pm i\}, the fourth roots of unity; in \mathbb{Q}(\sqrt{-3}), the ring of integers is \mathbb{Z}\left[\frac{-1 + \sqrt{-3}}{2}\right] and the units are the six sixth roots of unity \{\pm 1, \pm \omega, \pm \omega^2\}, where \omega = \frac{-1 + \sqrt{-3}}{2}. For real quadratic fields \mathbb{Q}(\sqrt{d}) with d > 0 square-free, there are two real embeddings, yielding rank one; the unit group is therefore isomorphic to \mathbb{Z} \times \{\pm 1\}, generated by -1 and a fundamental unit \varepsilon > 1. This fundamental unit \varepsilon is the smallest element greater than 1 with also in the , and it satisfies a Pell equation of the form x^2 - d y^2 = \pm 1 (or \pm 4 if the ring basis involves halves). The full unit group is then \{\pm \varepsilon^n \mid n \in \mathbb{Z}\}. A representative example is \mathbb{Q}(\sqrt{2}), where the is \mathbb{Z}[\sqrt{2}] and the fundamental unit is \varepsilon = 1 + \sqrt{2}, satisfying x^2 - 2 y^2 = -1. Units in quadratic fields are precisely the elements of \pm 1. Algorithms for computing the fundamental unit in real quadratic fields rely on the expansion of \sqrt{d}, which is purely ic with length related to the of the unit group. The expansion \sqrt{d} = [a_0; \overline{a_1, \dots, a_\ell}] produces convergents p_k / q_k; the fundamental unit arises from the convergent immediately preceding the repetition, where p_k^2 - d q_k^2 = \pm 1 yields the minimal solution to the Pell equation. This method efficiently bounds the search by the length \ell, often small for small d, and underpins tools for unit groups.

Embeddings and Galois Theory

Embeddings

A quadratic field K = \mathbb{Q}(\sqrt{d}), where d is a not equal to 0 or 1, admits exactly two distinct embeddings into the complex numbers \mathbb{C}, as the degree of the extension is 2. These embeddings are homomorphisms \sigma: K \to \mathbb{C} that fix \mathbb{Q} pointwise and are determined by the image of \sqrt{d}. Specifically, the two embeddings send \sqrt{d} to the two roots of the minimal polynomial x^2 - d = 0 in \mathbb{C}, namely \pm \sqrt{d}, where \sqrt{d} denotes the principal in \mathbb{C} (the non-negative real value if d > 0, or i times the positive real square root of |d| if d < 0). The nature of these embeddings depends on the sign of d. For real quadratic fields, where d > 0, both embeddings are real, meaning \sigma_1 and \sigma_2 map K into \mathbb{R} \subseteq \mathbb{C}. Thus, there are two real embeddings, corresponding to two archimedean (infinite) places of K, each of which is a real place. In contrast, for imaginary quadratic fields, where d < 0, \sqrt{d} = i \sqrt{|d|} with i = \sqrt{-1}, so both embeddings are non-real complex embeddings that form a conjugate pair under complex conjugation. Here, there are no real embeddings, and the two complex embeddings contribute to a single complex infinite place. These embeddings encode key arithmetic invariants of elements in K. For \alpha \in K, the trace \operatorname{Tr}_{K/\mathbb{Q}}(\alpha) is the sum of the images under the two embeddings, \operatorname{Tr}_{K/\mathbb{Q}}(\alpha) = \sigma_1(\alpha) + \sigma_2(\alpha), while the norm N_{K/\mathbb{Q}}(\alpha) is their product, N_{K/\mathbb{Q}}(\alpha) = \sigma_1(\alpha) \sigma_2(\alpha). For example, in the basis \{1, \sqrt{d}\}, the trace of a + b \sqrt{d} is $2a and the norm is a^2 - d b^2. The infinite places of K thus decompose into r_1 = 2 real places and r_2 = 0 complex places for real quadratic fields, or r_1 = 0 real places and r_2 = 1 complex place for imaginary quadratic fields, where the total number of infinite places is r_1 + r_2.

Galois Group

A quadratic extension K = \mathbb{Q}(\sqrt{d}) of the rationals, where d is a square-free integer not equal to 0 or 1, is a Galois extension because it is the splitting field of the separable irreducible polynomial x^2 - d \in \mathbb{Q} (assuming characteristic not 2). Thus, its Galois closure over \mathbb{Q} is K itself, as the extension is both separable and normal of degree 2. The Galois group \Gal(K/\mathbb{Q}) is isomorphic to \mathbb{Z}/2\mathbb{Z}, the cyclic group of order 2. It is generated by the unique non-trivial automorphism \sigma, known as the conjugation map, which sends \sqrt{d} to -\sqrt{d} and fixes \mathbb{Q} pointwise. This action corresponds to the two embeddings of K into \mathbb{C}, where \sigma swaps the real and complex conjugates if applicable. By the fundamental theorem of Galois theory, the fixed field of \Gal(K/\mathbb{Q}) is precisely \mathbb{Q}, as there are no proper subfields between \mathbb{Q} and K. Quadratic fields provide prototypical examples of abelian extensions of \mathbb{Q}, with the Galois group being abelian. In the context of class field theory, Artin reciprocity describes such extensions, associating the Galois group to a quotient of the idele class group modulo the norms from K. The discriminant of K plays a key role in the conductor-discriminant formula for abelian extensions, where the conductor equals the absolute value of the discriminant, linking ramification to the extension's structure.

Ideal Theory

Prime Ideal Factorization

In quadratic fields, the factorization of a rational prime ideal (p) into prime ideals in the ring of integers \mathcal{O}_K is determined by the behavior of the minimal polynomial of a primitive element modulo p, leading to three possibilities: splitting, inertia, or ramification. For an odd prime p, this behavior is governed by the Legendre symbol \left( \frac{\Delta_K}{p} \right), where \Delta_K is the discriminant of K. Specifically, (p) splits into two distinct prime ideals if \left( \frac{\Delta_K}{p} \right) = 1 (the prime splits completely), remains prime (inert) if \left( \frac{\Delta_K}{p} \right) = -1, and ramifies as a square of a prime ideal if \left( \frac{\Delta_K}{p} \right) = 0, i.e., if p divides \Delta_K. In formula terms, for an odd prime p, (p) = \mathfrak{p} \mathfrak{q}, \quad \mathfrak{p}^2, \quad \text{or remains prime}, respectively, where \mathfrak{p} and \mathfrak{q} are distinct prime ideals of norm p, and \mathfrak{p} has norm p in the ramified case. The case p = 2 requires special treatment due to the possible forms of \mathcal{O}_K. If \Delta_K \equiv 0 \pmod{4}, then $2 ramifies as (2) = \mathfrak{p}^2 for some prime ideal \mathfrak{p}; if \Delta_K \equiv 1 \pmod{8}, then $2 splits as (2) = \mathfrak{p} \mathfrak{q}; and if \Delta_K \equiv 5 \pmod{8}, then $2 remains inert. These conditions can be unified using the Kronecker symbol \left( \frac{\Delta_K}{2} \right), which extends the Legendre symbol and yields $1 for splitting, -1 for inertia, and $0 for ramification. The ramified primes are precisely those dividing the discriminant \Delta_K, which for quadratic fields K = \mathbb{Q}(\sqrt{d}) (with d square-free) are the primes dividing d if d \equiv 1 \pmod{4}, or dividing $4d otherwise. For example, in K = \mathbb{Q}(\sqrt{-5}) with \Delta_K = -20, the prime $2 ramifies as (2) = \mathfrak{p}^2 where \mathfrak{p} = (2, 1 + \sqrt{-5}), the prime $5 ramifies as (5) = \mathfrak{q}^2 where \mathfrak{q} = (5, \sqrt{-5}), and the prime $3 splits as (3) = \mathfrak{p}_3 \mathfrak{q}_3 where \mathfrak{p}_3 = (3, 1 + \sqrt{-5}) and \mathfrak{q}_3 = (3, 1 - \sqrt{-5}). This factorization is explicitly given by Dedekind's theorem: for K = \mathbb{Q}(\alpha) with minimal polynomial f(T) \in \mathbb{Z}[T] and prime p not dividing the index [\mathcal{O}_K : \mathbb{Z}[\alpha]], if f(T) \equiv \prod_i \pi_i(T)^{e_i} \pmod{p} into distinct monic irreducibles \pi_i(T) over \mathbb{F}_p, then (p) = \prod_i \mathfrak{p}_i^{e_i} where \mathfrak{p}_i = (p, \pi_i(\alpha)) and each \mathfrak{p}_i is prime with residue degree \deg \pi_i. In quadratic fields, f(T) is quadratic, so the factorization modulo p directly yields linear factors (splitting), a repeated linear factor (ramification), or irreducibility (inertia).

Class Group

In quadratic fields, the ideal class group Cl_K of a number field K = \mathbb{Q}(\sqrt{d}) is the group of fractional ideals of the ring of integers \mathcal{O}_K modulo the principal fractional ideals, forming a finite abelian group whose order is the class number h_K. The finiteness of Cl_K follows from Minkowski's geometry of numbers, which bounds the norms of ideals representing each class. Specifically, every class contains an ideal of norm at most the Minkowski bound, approximately \frac{\sqrt{|\Delta_K|}}{2} for real quadratic fields and \frac{2}{\pi} \sqrt{|\Delta_K|} for imaginary ones, where \Delta_K is the discriminant. The class number h_K equals 1 if and only if \mathcal{O}_K is a principal ideal domain (and hence a unique factorization domain). To compute Cl_K, one generates candidate ideals as prime ideals of norm below the , factors rational primes into these using the prime ideal factorization in quadratic fields, and determines relations among them to find the group structure. Gauss's further aids computation by determining the 2-rank of Cl_K, which equals the number of distinct prime factors of the discriminant minus one (for odd primes) plus adjustments for the ramified 2-adic part. Class number formulas differ for real and imaginary quadratic fields, both involving Dirichlet L-functions L(s, \chi) associated to the Kronecker symbol \chi modulo |\Delta_K|. For imaginary quadratic fields, the formula is h_K = \frac{w \sqrt{|\Delta_K|}}{2\pi} L(1, \chi), where w is the number of roots of unity in K (typically 2, 4, or 6). For real quadratic fields, it becomes h_K R_K = \sqrt{\Delta_K} L(1, \chi), with R_K the regulator from the unit group. These express h_K analytically, highlighting growth like \sqrt{|\Delta_K|}. The Baker-Heegner-Stark theorem identifies all imaginary with h_K = 1: those with discriminants \Delta_K = -3, -4, -7, -8, -11, -19, -43, -67, -163. For small |\Delta_K|, class numbers remain modest; the table below lists examples for fundamental discriminants up to 100.
Discriminant \Delta_KField TypeClass Number h_K
-3Imaginary1
-4Imaginary1
-7Imaginary1
-8Imaginary1
-11Imaginary1
-15Imaginary2
-19Imaginary1
-20Imaginary2
-23Imaginary3
-24Imaginary2
5Real1
8Real1
12Real1
13Real1
17Real1
21Real1
29Real1
33Real1
37Real1
41Real1
These values illustrate the rarity of h_K = 1 and the typical small size of h_K for low discriminants.

Special Constructions

Quadratic Subfields of Prime Cyclotomic Fields

For an odd prime p, the p-th cyclotomic field \mathbb{Q}(\zeta_p), where \zeta_p is a primitive p-th root of unity, contains a unique quadratic subfield K. This subfield arises as the fixed field of the unique subgroup of index 2 in the Galois group \mathrm{Gal}(\mathbb{Q}(\zeta_p)/\mathbb{Q}) \cong (\mathbb{Z}/p\mathbb{Z})^\times. Explicitly, K = \mathbb{Q}\left(\sqrt{(-1)^{(p-1)/2} p}\right). When p \equiv 1 \pmod{4}, this yields the real quadratic field \mathbb{Q}(\sqrt{p}); when p \equiv 3 \pmod{4}, it yields the imaginary quadratic field \mathbb{Q}(\sqrt{-p}). The discriminant \Delta_K of K is (-1)^{(p-1)/2} p, as the square-free part is congruent to 1 modulo 4. The square root of the discriminant admits an explicit construction via the quadratic Gauss sum g = \sum_{k=0}^{p-1} \left( \frac{k}{p} \right) \zeta_p^k, where \left( \frac{\cdot}{p} \right) denotes the Legendre symbol; this sum satisfies g^2 = (-1)^{(p-1)/2} p, and thus \mathbb{Q}(g) = K. Representative examples include p=5, where K = \mathbb{Q}(\sqrt{5}) with \Delta_K = 5, and p=7, where K = \mathbb{Q}(\sqrt{-7}) with \Delta_K = -7. Historically, Carl Friedrich Gauss employed the quadratic subfield \mathbb{Q}(\sqrt{17}) of the 17th cyclotomic field in his 1796 proof of the constructibility of the regular 17-gon using ruler and compass.

Quadratic Subfields of Other Cyclotomic Fields

In the cyclotomic field \mathbb{Q}(\zeta_n), where n > 2 is composite or a higher , the quadratic subfields are the fixed fields of the index 2 subgroups of the \mathrm{Gal}(\mathbb{Q}(\zeta_n)/\mathbb{Q}) \cong (\mathbb{Z}/n\mathbb{Z})^\times. These subgroups exist whenever the order \phi(n) is even, which holds for all n > 2, and the number of distinct quadratic subfields equals the number of such subgroups, potentially exceeding one when \phi(n)/2 > 1. For n = p^k with odd prime p and k > 1, the Galois group is cyclic of order p^{k-1}(p-1), admitting a unique index 2 subgroup and thus a unique quadratic subfield, identical to that of \mathbb{Q}(\zeta_p). Specifically, when p \equiv 3 \pmod{4}, this subfield is \mathbb{Q}(\sqrt{-p}). For p = 2 and k = 2, \mathbb{Q}(\zeta_4) = \mathbb{Q}(i) = \mathbb{Q}(\sqrt{-1}), which is itself quadratic. For n = 3, \mathbb{Q}(\zeta_3) = \mathbb{Q}(\sqrt{-3}). When n has multiple distinct prime factors, such as n = 12 = 2^2 \cdot 3, the \mathrm{Gal}(\mathbb{Q}(\zeta_{12})/\mathbb{Q}) is isomorphic to C_2 \times C_2, yielding three index 2 subgroups and thus three subfields: \mathbb{Q}(\sqrt{-1}), \mathbb{Q}(\sqrt{3}), and \mathbb{Q}(\sqrt{-3}). Similarly, for n = 15 = 3 \cdot 5, \mathbb{Q}(\zeta_{15}) contains the three subfields \mathbb{Q}(\sqrt{5}), \mathbb{Q}(\sqrt{-3}), and \mathbb{Q}(\sqrt{-15}), including both real (like \mathbb{Q}(\sqrt{5})) and imaginary examples. These arise as the composita of the subfields from the prime power components, with multiple possibilities when \phi(n)/2 > 1. By the Kronecker-Weber theorem, every quadratic field \mathbb{Q}(\sqrt{d}) (for d) embeds as a quadratic subfield of some \mathbb{Q}(\zeta_m), where m is chosen based on the of \mathbb{Q}(\sqrt{d}). For instance, the minimal such m is the of the when it is congruent to 0 or 1 modulo 4. In cases where a quadratic subfield arises as the compositum-derived field from distinct prime factors, such as \mathbb{Q}(\sqrt{-15}) from the factors 3 and 5 in n=[15](/page/15), its is the product of the individual prime discriminants (up to units in the ), reflecting the ramification at those primes.

Non-Maximal Orders

Orders of Small Discriminant

In quadratic fields, non-maximal orders provide important examples where arithmetic properties, such as unique factorization, deviate further from those of compared to the maximal . An \mathcal{O} in a quadratic field K is defined as a subring of the \mathcal{O}_K that contains \mathbb{Z} and is finitely generated as a \mathbb{Z}-module of rank equal to [K:\mathbb{Q}]. Every such admits a unique expression \mathcal{O} = \mathbb{Z} + f \mathcal{O}_K for a positive integer f \geq 1, where f is the conductor of \mathcal{O}. The index [\mathcal{O}_K : \mathcal{O}] equals f, and the of \mathcal{O} is given by f^2 \Delta_K, where \Delta_K is the of K. The structure \mathcal{O} = \mathbb{Z} + f \mathcal{O}_K implies that \mathcal{O} is generated over \mathbb{Z} by f times a basis for \mathcal{O}_K. For imaginary fields, the unit group \mathcal{O}^\times consists of the units of \mathcal{O}_K that are congruent to $1 modulo f \mathcal{O}_K, resulting in a proper of \mathcal{O}_K^\times when f > 1. Thus, non-maximal orders have strictly smaller unit groups than the maximal order. In real fields, the situation is analogous, though the infinite units lead to a Dirichlet unit theorem adapted to the , yielding fewer fundamental units. The of a non-maximal , known as the ring class group, extends the of \mathcal{O}_K and incorporates the f through the ring class field, an abelian extension of K whose is isomorphic to the ring class group. This group fits into an relating it to the class group of \mathcal{O}_K, the units modulo f, and the ray class group modulo f in \mathcal{O}_K. Computations for small conductors often reveal larger class numbers than in the maximal case, highlighting obstructions to unique factorization. Non-maximal orders arise naturally in examples illustrating the failure of unique factorization. In the imaginary quadratic field \mathbb{Q}(\sqrt{-5}) with \Delta_K = -20, the suborder \mathcal{O} = \mathbb{Z}[2\sqrt{-5}] of conductor f=2 has discriminant -80. Here, elements like $21 = 3 \cdot 7 = (1 + 2\sqrt{-5})(1 - 2\sqrt{-5}) (up to units) demonstrate non-unique factorization, extending the known failure in the maximal order \mathcal{O}_K = \mathbb{Z}[\sqrt{-5}]. Similar phenomena occur in other small-discriminant fields, where suborders amplify arithmetic complexities. The following table presents representative non-maximal orders in quadratic fields with small field discriminants |\Delta_K| < 30, focusing on conductors f=2 to keep order discriminants |\operatorname{disc}(\mathcal{O})| < 100. These examples illustrate the scaling of discriminants and typical generators for the orders.
Field K\Delta_KConductor fOrder \mathcal{O}\operatorname{disc}(\mathcal{O})
\mathbb{Q}(i)-42\mathbb{Z}[2i]-16
\mathbb{Q}(\sqrt{-3})-32\mathbb{Z}[\sqrt{-3}]-12
\mathbb{Q}(\sqrt{-2})-82\mathbb{Z}[2\sqrt{-2}]-32
\mathbb{Q}(\sqrt{-7})-72\mathbb{Z}[\sqrt{-7}]-28
\mathbb{Q}(\sqrt{5})52\mathbb{Z}[1 + \sqrt{5}]20
\mathbb{Q}(\sqrt{-5})-202\mathbb{Z}[2\sqrt{-5}]-80
These orders are standard in the literature on quadratic arithmetic and serve as building blocks for studying and modular forms associated to non-maximal rings.

References

  1. [1]
    [PDF] Factoring in quadratic fields - Keith Conrad
    1. Introduction For a squarefree integer d other than 1, let K = Q[ √ d] = {x + y √ d : x, y ∈ Q}. This is called a quadratic field and it has degree 2 over Q. ...
  2. [2]
    [PDF] Contents 0 Algebraic Number Theory - Evan Dummit
    Sep 4, 2024 · field of degree 2 over Q. ◦ For positive D the field Q(. √. D) is a real quadratic field, while for negative D the ...
  3. [3]
    [PDF] A Concrete Example of Prime Behavior in Quadratic Fields
    The goal of this paper is to provide a concise way for undergraduate math- ematics students to learn about how prime numbers behave in quadratic fields.
  4. [4]
    [PDF] Topics in cyclotomic and quadratic fields - UR Scholarship Repository
    Apr 23, 1993 · This paper introduces cyclotomic and quadratic fields and explores some of their properties and applications to problems in number theory.
  5. [5]
    [PDF] Notes for Number Fields | Harvard University
    Apr 26, 2017 · Definition 1.1. A number field is a field K ⊇ Q (therefore ... quadratic field. Solution. Let us first look at multiples of 4: ±{4 ...<|control11|><|separator|>
  6. [6]
    [PDF] Contents 2 Fields and Field Extensions - Evan Dummit
    Example: The minimal polynomial of. √. 2 over Q is x2 −2, and the minimal polynomial of 3. √. 2 over Q is x3 −2. ◦ Both of these observations follow ...
  7. [7]
    [PDF] MAT 7410 (Advanced Algebra II) The Class Number
    May 1, 2020 · Q(. √ d) is called an imaginary quadratic field, and if d > 0, Q(. √ d) is called a real quadratic field. • If F has degree 3 over Q, F is ...
  8. [8]
    [PDF] Math 129: Number Fields
    If K is a number field, the ring of integers OK ⊆ K is the set of all α ∈ K such that there exists a monic polynomial f ∈ Z[X] with f(α) = 0. NB (from Alex Wei): ...
  9. [9]
    Quadratic Forms Beyond Arithmetic - American Mathematical Society
    In the seventeenth century, Fermat stated that an odd prime number 𝑝 can be expressed as a sum of two squares if and only if 𝑝 is congruent to 1 modulo 4.
  10. [10]
    [PDF] Solving the Pell equation - The Library at SLMath
    Euler (1707–1783) mistakenly attributed to Pell a solution method that had in fact been found by another English mathematician, William Brouncker (1620–1684), ...
  11. [11]
    [PDF] ALGEBRAIC NUMBER THEORY Contents Introduction ...
    the ring of integers in the number field, the ideals in ... He also found the correct ...
  12. [12]
    [PDF] Math 210B. Quadratic integer rings 1. Computing the integral ...
    Already with quadratic integer rings one can begin to see some ring-theoretic subtleties emerge. As a basic example, one might wonder: for a finite extension K ...
  13. [13]
    [PDF] the different ideal - keith conrad
    1. Introduction. The discriminant of a number field K is, by definition, the determinant of the matrix (TrK/Q(eiej)), where e1,...,en is an arbitrary Z-basis of ...
  14. [14]
    [PDF] TRACE AND NORM 1. Introduction Let L/K be a finite extension of ...
    We will associate to this extension two important functions L → K, called the trace and the norm. They are related to the trace and determinant of matrices and ...
  15. [15]
    [PDF] notes on introductory algebraic number theory - UChicago Math
    Aug 20, 2013 · Quadratic fields contained in Cyclotomic fields. Proposition 8.7. Every quadratic field is contained in a cyclotomic field. In fact, Q[. √ m] ...
  16. [16]
    [PDF] dirichlet's unit theorem - keith conrad
    Introduction. Dirichlet's unit theorem describes the structure of the unit group of orders in a number field. Theorem 1.1 (Dirichlet, 1846).
  17. [17]
    [PDF] 15 Dirichlet's unit theorem - MIT Mathematics
    Nov 1, 2021 · If K is a real quadratic field with absolute discriminant D and funda- mental unit = x+y. √. D. 2. , then r + s = 2 and the product of the two ...
  18. [18]
    [PDF] the structure of unit groups - UChicago Math
    Aug 29, 2014 · Let O be the ring of algebraic integers of Q(. √ d). There exists a ... The algebraic integers of Q(. √. −3) contains the sixth roots of unity.
  19. [19]
    [PDF] The unit group of a real quadratic field
    While the unit group of an imaginary quadratic field is very simple, the unit group of a real quadratic field has nontrivial structure.
  20. [20]
    [PDF] Chapter 3 Algebraic numbers and algebraic number fields
    If σ is a complex embedding of K, then so is its composition with complex conjugation, σ : x 7→ σ(x). Thus the complex embeddings of K occur in conjugate.
  21. [21]
    [PDF] Algebraic Number Theory
    the quadratic number field K = Q(&). Show that d = D,. ifD=l mod4, d=4D,. ifD=2or3 mod4, and that an integral basis of K -is given by {I 9 fi) in the second ...
  22. [22]
    [PDF] THE GALOIS CORRESPONDENCE 1. Introduction Let L/K be a field ...
    Studying properties of L/K through properties of the group Aut(L/K) is the basic theme of Galois theory. Example 1.1. Two R-automorphisms of C are the identity ...
  23. [23]
    [PDF] 12. The Fundamental Theorem of Galois Theory - UCSD Math
    One gives the identity, the other is complex conjugation. Similarly for any other quadratic extension. Example 12.5. We compute the Galois group of x4 − 2 over ...
  24. [24]
    [PDF] Number Fields
    Neukirch's Algebraic Number Theory [31] is organized this way. It gives an excellent axiomatic treatment of class field theory and in the last chapters the.
  25. [25]
    [PDF] FACTORING AFTER DEDEKIND Let K be a number field and p be a ...
    In the notation of Theorem 1, when pi is the prime ideal corresponding to πi(T) we have the formula pi = (p,Πi(α)) where Πi(T) is any polynomial in Z[T] that.
  26. [26]
    None
    ### Summary of Prime Ideal Factorization in Quadratic Fields
  27. [27]
    [PDF] Math 154. Some quadratic factoring In this handout we work out ...
    In this handout we work out some examples of prime ideal factorization of principal ideals in the ... rational prime p > 0 and general quadratic field K = Q(.
  28. [28]
    [PDF] Class Numbers of Quadratic Fields
    That this ideal class group is a finite group is a famous theorem of Minkowski and his celebrated theory now called the geometry of numbers first arose in ...
  29. [29]
    [PDF] 14 The Minkowski bound and finiteness results - MIT Mathematics
    Oct 25, 2017 · We now use the Minkowski bound to prove that every ideal class [I] ∈ clOK can be represented by an ideal I ⊆ OK of small norm. It will then ...
  30. [30]
    [PDF] class group calculations - Keith Conrad
    The Minkowski bound specializes in the case of quadratic fields to the following formulas: (1/2)p|disc(K)| in the real quadratic case (n = 2, r2 = 0) and (2/π)p ...Missing: theory | Show results with:theory
  31. [31]
    [PDF] The ideal class number formula for an imaginary quadratic field
    A group called the ideal class group measures the extent to which ideals fail to correspond to ring elements, thus measuring the extent to which unique ...
  32. [32]
    [PDF] Gauss' Class Number Problems for Imaginary Quadratic Fields
    It follows that hK = 1 if and only if every ideal of OK is principal, which is to say that OK is a PID and hence a UFD.
  33. [33]
    [PDF] Quadratic Reciprocity via Number Fields - McGill University
    The most important property of Dedekind domains is that any ideal can be uniquely represented as a product of prime ideals. This property generalizes the notion ...<|control11|><|separator|>
  34. [34]
    [PDF] 6.2 Cyclotomic Extensions - UCSB Math
    Nov 23, 2021 · Theorem 6.9 (Quadratic reciprocity). Let p and q be distinct odd primes. Then we have p q q p.
  35. [35]
    [PDF] Quadratic and Cyclotomic fields
    Let us see how the quadratic reciprocity law: (p/q)(q/p)=(−1)(p−1)(q−1)/4 for odd distinct primes p and q gets a natural proof when you compare the ...
  36. [36]
    Discriminant of the quadratic subfield of the cyclotomic number field ...
    Jul 25, 2012 · There are various ways to prove this. Write l∗=±l, the sign chosen so that l∗≡1(mod4). (This is what you call d.) First note that Q(√l∗) is the ...
  37. [37]
    [PDF] Constructing the 17-gon - MIT OpenCourseWare
    This proves that the 17-gon can be constructed by ruler and compass. It isn't too hard to compute the necessary square roots explicitly. First, L1 is the fixed ...
  38. [38]
    [PDF] cyclotomic extensions - keith conrad
    When Tn − 1 and Tm − 1 are separable over K, the composite field K(µm)K(µn) equals. K(µ[m,n]). Indeed, both K(µm) and K(µn) lie in K(µ[m,n]), so their composite ...
  39. [39]
    Computing subfields of $Q(\zeta_{12}) - Mathematics Stack Exchange
    Dec 9, 2019 · As ζ3=i, and ζ4=12(−1+√−3), you have two quadratic extensions. One of the automorphisms of Q(ζ) is complex conjugation, taking ζ to ζ−1.How to find generators for the subfields of $\mathbb{Q}(\zeta_{12})Quadratic subfield of Q(ζ) - Math Stack ExchangeMore results from math.stackexchange.com
  40. [40]
    Is $\Bbb Q(\sqrt{15}) \subset \Bbb Q(\zeta_{15}) - Math Stack Exchange
    Apr 7, 2019 · But show that field is Q(√5). The basic idea is that the three quadratic subfields of Q(ζ15) are Q(√5), Q(√−3), and Q(√−15).Structure of Gal(Q(ζ15)/Q)? - Math Stack Exchangeabstract algebra - How many fields are there between $\mathbb{Q ...More results from math.stackexchange.com
  41. [41]
    1.1 The Kronecker-Weber theorem - Kiran S. Kedlaya
    2 is that every quadratic extension of Q is contained in a cyclotomic field. This was known to Gauss via what we now call Gauss sums , and forms the basis ...
  42. [42]
    [PDF] Math 248A. Quadratic characters associated to quadratic fields
    Since D is either odd or a multiple of 4, it follows that a proper cyclotomic subfield of Q(ζD) is precisely a cyclotomic field of the form Q(ζn) with n a ...
  43. [43]
    [PDF] An Introduction to Orders of Number Fields - Kiran S. Kedlaya
    May 3, 2002 · An order of an algebraic number field K is a subring O⊆OK ... [4] Jürgen Neukirch, Algebraic Number Theory, Springer-Verlag, New York,. 1999.
  44. [44]