Ring of integers

In mathematics, the ring of integers of an algebraic number field is the ring of all algebraic integers contained in .[1] An algebraic integer is a root of a monic polynomial with integer coefficients: .[2] This ring is often denoted by or . Since any integer belongs to and is an integral element of , the ring is always a subring of .

The ring of integers is the simplest possible ring of integers.[a] Namely, where is the field of rational numbers.[3] And indeed, in algebraic number theory the elements of are often called the "rational integers" because of this.

The next simplest example is the ring of Gaussian integers , consisting of complex numbers whose real and imaginary parts are integers. It is the ring of integers in the number field of Gaussian rationals, consisting of complex numbers whose real and imaginary parts are rational numbers. Like the rational integers, is a Euclidean domain.

The ring of integers of an algebraic number field is the unique maximal order in the field. It is always a Dedekind domain.[4]


The ring of integers OK is a finitely-generated Z-module. Indeed, it is a free Z-module, and thus has an integral basis, that is a basis b1, ... , bn ∈ OK of the Q-vector space K such that each element x in OK can be uniquely represented as


with aiZ.[5] The rank n of OK as a free Z-module is equal to the degree of K over Q.


Computational toolEdit

A useful tool for computing the integral close of the ring of integers in an algebraic field K/Q is using the discriminant. If K is of degree n over Q, and   form a basis of K over Q, set  . Then,   is a submodule of the Z-module spanned by  [6] pg. 33. In fact, if d is square-free, then this forms an integral basis for  [6] pg. 35.

Cyclotomic extensionsEdit

If p is a prime, ζ is a pth root of unity and K = Q(ζ) is the corresponding cyclotomic field, then an integral basis of OK = Z[ζ] is given by (1, ζ, ζ2, ... , ζp−2).[7]

Quadratic extensionsEdit

If   is a square-free integer and   is the corresponding quadratic field, then   is a ring of quadratic integers and its integral basis is given by (1, (1 + d)/2) if d ≡ 1 (mod 4) and by (1, d) if d ≡ 2, 3 (mod 4).[8] This can be found by computing the minimal polynomial of an arbitrary element   where  .

Multiplicative structureEdit

In a ring of integers, every element has a factorization into irreducible elements, but the ring need not have the property of unique factorization: for example, in the ring of integers Z[−5], the element 6 has two essentially different factorizations into irreducibles:[4][9]


A ring of integers is always a Dedekind domain, and so has unique factorization of ideals into prime ideals.[10]

The units of a ring of integers OK is a finitely generated abelian group by Dirichlet's unit theorem. The torsion subgroup consists of the roots of unity of K. A set of torsion-free generators is called a set of fundamental units.[11]


One defines the ring of integers of a non-archimedean local field F as the set of all elements of F with absolute value ≤ 1; this is a ring because of the strong triangle inequality.[12] If F is the completion of an algebraic number field, its ring of integers is the completion of the latter's ring of integers. The ring of integers of an algebraic number field may be characterised as the elements which are integers in every non-archimedean completion.[3]

For example, the p-adic integers Zp are the ring of integers of the p-adic numbers Qp.

See alsoEdit


  1. ^ The ring of integers, without specifying the field, refers to the ring   of "ordinary" integers, the prototypical object for all those rings. It is a consequence of the ambiguity of the word "integer" in abstract algebra.


  1. ^ Alaca & Williams 2003, p. 110, Defs. 6.1.2-3.
  2. ^ Alaca & Williams 2003, p. 74, Defs. 4.1.1-2.
  3. ^ a b Cassels 1986, p. 192.
  4. ^ a b Samuel 1972, p. 49.
  5. ^ Cassels (1986) p. 193
  6. ^ a b Baker. "Algebraic Number Theory" (PDF). pp. 33–35.
  7. ^ Samuel 1972, p. 43.
  8. ^ Samuel 1972, p. 35.
  9. ^ Artin, Michael (2011). Algebra. Prentice Hall. p. 360. ISBN 978-0-13-241377-0.
  10. ^ Samuel 1972, p. 50.
  11. ^ Samuel 1972, pp. 59–62.
  12. ^ Cassels 1986, p. 41.