In mathematics, the ring of integers is the set of integers made an algebraic structureZ with the operations of integer addition, negation, and multiplication. It is a commutative ring, and is the prototypical such by virtue of satisfying only those equations holding of all commutative rings with identity; indeed it is the initial commutative ring, as well as being the initial ring.
Using this notation, we can write Z = OQ since Z as above is the ring of integers of the fieldQ of rational numbers. And indeed, in algebraic number theory the elements of Z are often called the "rational integers" because of this.
An alternative term is maximal order, since the ring of integers of a number field is indeed the unique maximal order in the field.
The ring of integers OK is a Z-module; what is not nearly so obvious is that it is a freeZ-module, and thus has an integral basis; by this we mean that there exist b1,...,bn ∈ OK (the integral basis) such that each element x in OK can uniquely be represented as
with ai ∈ Z.
Examples
If ζ is a pth root of unity and K=Q(ζ) is the corresponding cyclotomic field, then an integral basis of OK is given by (1,ζ,ζ2,...,ζp-2).
If d is a square-free integer and K=Q(d1/2) is the corresponding quadratic field, then an integral basis of OK is given by (1,(1+d1/2)/2) if d≡1 (mod 4) and by (1,d1/2) if d≡2 or 3 (mod 4).