In algebraic number theory, an **algebraic integer** is a complex number that is a root of some monic polynomial (a polynomial whose leading coefficient is 1) with coefficients in **ℤ** (the set of integers). The set of all algebraic integers, A, is closed under addition, subtraction and multiplication and therefore is a commutative subring of the complex numbers. The ring A is the integral closure of regular integers **ℤ** in complex numbers.

The ring of integers of a number field K, denoted by O_{K}, is the intersection of K and A: it can also be characterised as the maximal order of the field K. Each algebraic integer belongs to the ring of integers of some number field. A number α is an algebraic integer if and only if the ring **ℤ**[*α*] is finitely generated as an Abelian group, which is to say, as a **ℤ**-module.

## Definitions

The following are equivalent definitions of an algebraic integer. Let K be a number field (i.e., a finite extension of **ℚ**, the set of rational numbers), in other words, *K* = **ℚ**(*θ*) for some algebraic number *θ* ∈ **ℂ** by the primitive element theorem.

*α*∈*K*is an algebraic integer if there exists a monic polynomial*f*(*x*) ∈**ℤ**[*x*] such that*f*(*α*) = 0.*α*∈*K*is an algebraic integer if the minimal monic polynomial of α over**ℚ**is in**ℤ**[*x*].*α*∈*K*is an algebraic integer if**ℤ**[*α*] is a finitely generated**ℤ**-module.*α*∈*K*is an algebraic integer if there exists a non-zero finitely generated**ℤ**-submodule*M*⊂**ℂ**such that*αM*⊆*M*.

Algebraic integers are a special case of integral elements of a ring extension. In particular, an algebraic integer is an integral element of a finite extension *K*/**ℚ**.

## Examples

- The only algebraic integers which are found in the set of rational numbers are the integers. In other words, the intersection of
**ℚ**and A is exactly**ℤ**. The rational number*a*/*b*is not an algebraic integer unless b divides a. Note that the leading coefficient of the polynomial*bx*−*a*is the integer b. As another special case, the square root √*n*of a nonnegative integer n is an algebraic integer, but is irrational unless n is a perfect square.

- If d is a square-free integer then the extension
*K*=**ℚ**(√*d*) is a quadratic field of rational numbers. The ring of algebraic integers O_{K}contains √*d*since this is a root of the monic polynomial*x*^{2}−*d*. Moreover, if*d*≡ 1 mod 4, then the element 1/2(1 + √*d*) is also an algebraic integer. It satisfies the polynomial*x*^{2}−*x*+ 1/4(1 −*d*) where the constant term 1/4(1 −*d*) is an integer. The full ring of integers is generated by √*d*or 1/2(1 + √*d*) respectively. See quadratic integers for more.

- The ring of integers of the field
*F*=**ℚ**[*α*],*α*=^{3}√*m*, has the following integral basis, writing*m*=*hk*^{2}for two square-free coprime integers h and k:^{[1]}

- If ζ
_{n}is a primitive nth root of unity, then the ring of integers of the cyclotomic field**ℚ**(*ζ*) is precisely_{n}**ℤ**[*ζ*]._{n}

- If α is an algebraic integer then
*β*=^{n}√*α*is another algebraic integer. A polynomial for β is obtained by substituting*x*in the polynomial for α.^{n}

## Non-example

- If
*P*(*x*) is a primitive polynomial which has integer coefficients but is not monic, and P is irreducible over**ℚ**, then none of the roots of P are algebraic integers (but*are*algebraic numbers). Here*primitive*is used in the sense that the highest common factor of the set of coefficients of P is 1; this is weaker than requiring the coefficients to be pairwise relatively prime.

## Facts

- The sum, difference and product of two algebraic integers is an algebraic integer. In general their quotient is not. The monic polynomial involved is generally of higher degree than those of the original algebraic integers, and can be found by taking resultants and factoring. For example, if
*x*^{2}−*x*− 1,*y*^{3}−*y*− 1 and*z*=*xy*, then eliminating x and y from*z*−*xy*and the polynomials satisfied by x and y using the resultant gives*z*^{6}− 3*z*^{4}− 4*z*^{3}+*z*^{2}+*z*− 1, which is irreducible, and is the monic polynomial satisfied by the product. (To see that the xy is a root of the x-resultant of*z*−*xy*and*x*^{2}−*x*− 1, one might use the fact that the resultant is contained in the ideal generated by its two input polynomials.) - Any number constructible out of the integers with roots, addition, and multiplication is therefore an algebraic integer; but not all algebraic integers are so constructible: in a naïve sense, most roots of irreducible quintics are not. This is the Abel–Ruffini theorem.
- Every root of a monic polynomial whose coefficients are algebraic integers is itself an algebraic integer. In other words, the algebraic integers form a ring which is integrally closed in any of its extensions.
- The ring of algebraic integers is a Bézout domain, as a consequence of the principal ideal theorem.
- If the monic polynomial associated with an algebraic integer has constant term 1 or -1, then the reciprocal of that algebraic integer is also an algebraic integer, and is a unit, an element of the group of units of the ring of algebraic integers.

## See also

- Integral element
- Gaussian integer
- Eisenstein integer
- Root of unity
- Dirichlet's unit theorem
- Fundamental units

## References

**^**Marcus, Daniel A. (1977).*Number Fields*(3rd ed.). Berlin, New York: Springer-Verlag. ch. 2, p. 38 and ex. 41. ISBN 978-0-387-90279-1.

- Stein, W.
*Algebraic Number Theory: A Computational Approach*(PDF).