TOPICS
Search

Real Quadratic Field


A real quadratic field is a quadratic field K=Q(sqrt(D)) with D>1 a squarefree integer. The two embeddings of K send sqrt(D) to sqrt(D) and -sqrt(D). Both have image in R, so K is a totally real field. For an imaginary quadratic field, the two embeddings instead send the square root to a pair of nonreal complex conjugates.

The ring of integers is O_K=Z[(1+sqrt(D))/2] if D=1  (mod4) and O_K=Z[sqrt(D)] otherwise. The number field discriminant is D in the first case and 4D in the second (Conrad, Quadratic Integer Rings). For z=a+bsqrt(D) with a,b in Q, the field norm is

 N_(K/Q)(z)=(a+bsqrt(D))(a-bsqrt(D))=a^2-Db^2.

Unlike the ring of integers of an imaginary quadratic field, O_K has infinitely many units. Under the embedding with sqrt(D)>0, there is a unique fundamental unit epsilon>1 such that every unit is of the form +/-epsilon^n for n in Z (Sutherland 2025). The units in Z[sqrt(D)] correspond to integer solutions of

 x^2-Dy^2=+/-1.

The positive sign gives the Pell equation. When D=1  (mod4), the full ring of integers also admits elements of the form (x+ysqrt(D))/2 with x and y odd, so solving the equation in Z[sqrt(D)] can miss the fundamental unit (Conrad, Generalized Pell Equation).

For example, the fundamental unit of Q(sqrt(5)) is the golden ratio epsilon=(1+sqrt(5))/2, which has field norm -1. Its cube 2+sqrt(5) is a unit in Z[sqrt(5)].

Jaswal (2026) reports that the ordinary integers are Diophantine in every real quadratic field K: membership in Z can be expressed by the existence of a solution over K to a polynomial equation with integer coefficients and the element as a parameter. This implies undecidability of Hilbert's tenth problem over K.


See also

Field Norm, Fundamental Unit, Imaginary Quadratic Field, Number Field Discriminant, Pell Equation, Quadratic Field, Ring of Integers, Totally Real Field

Explore with Wolfram|Alpha

References

Conrad, K. "Generalized Pell Equation." https://virtualmath1.stanford.edu/~conrad/154Page/handouts/genpell.pdf.Conrad, K. "Quadratic Integer Rings." https://math.stanford.edu/~conrad/210BPage/handouts/quadint.pdf.Sutherland, A. 18.785 Number Theory I. Dec. 19, 2025. https://www.mit.edu/~anser/files/18_785.pdf.Jaswal, M. "Z Is Diophantine in Every Real Quadratic Field." Hexagon, 2026. https://hexagonmath.org/2611.01263v1.

Referenced on Wolfram|Alpha

Real Quadratic Field

Cite this as:

Weisstein, Eric W. "Real Quadratic Field." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/RealQuadraticField.html

Subject classifications