Theorem
Ring of integers of an imaginary quadratic field
The explicit integral basis according to the square-free parameter modulo four.
Statement
For the imaginary quadratic field , where is square-free, the ring of integers is
Square-freeness excludes .
Why the half-integer occurs
An element of a quadratic field is integral exactly when its trace and norm are integers. Write it as . These conditions force and . Either both are even, or both are odd and . This gives precisely the displayed rings.
Examples
For this is the Gaussian integer ring. For it is the Eisenstein integer ring, which can equally be written .
References
- J. S. Milne, Algebraic Number Theory, v3.08. Author’s text, Introduction and §2, Remark 2.12.