A quadratic number field is a number field of degree of a field extension two, necessarily of the form for a square-free integer . Its two field embeddings send to . If , both images lie in the real numbers, giving a totally real number field; if , they form a pair related by complex conjugation, giving an imaginary quadratic field. The ring of integers of a quadratic field depends on modulo four.[ref]
The ring of integers is , its class number is two, and its units are for . Factoring a norm-six principal ideal above 2 and 3 gives all solutions
Restriction to nonnegative gives only the positive-coordinate branch up to simultaneous sign. For example, is a norm-six element requiring ; adding conjugates repairs a nonnegative-index presentation.
An imaginary quadratic field is a quadratic number field with no real embedding. Its two complex embeddings are interchanged by complex conjugation. The endomorphism ring of an elliptic curve in characteristic zero, when larger than the integers, is an order in such a field; this is complex multiplication.
A fundamental discriminant is an integer that occurs as the field discriminant of a quadratic number field. For square-free , it is when and otherwise.

Articles by others on the same topic (1)

A quadratic field is a specific type of number field that is generated by adjoining a square root of a rational number to the field of rational numbers, \(\mathbb{Q}\). More formally, a quadratic field can be expressed in the form: \[ K = \mathbb{Q}(\sqrt{d}) \] where \(d\) is a square-free integer (an integer not divisible by a perfect square greater than 1).