# Algebraic number

In mathematics, an algebraic number is a number that is a root of a finite,[1] non-zero polynomial in one variable with rational coefficients (or equivalently — by clearing denominators — with integer coefficients). Numbers such as π that are not algebraic are said to be transcendental. Almost all real and complex numbers are transcendental. (Here "almost all" has the sense "all but a countable set"; see Properties.)

## Examples

• The rational numbers, expressed as the quotient of two integers a and b, b not equal to zero, satisfy the above definition because $x=a/b$ is the root of $bx-a$.[2]
• The quadratic surds (irrational roots of a quadratic polynomial $ax^2 + bx + c$ with integer coefficients $a$, $b$, and $c$) are algebraic numbers. If the quadratic polynomial is monic $(a = 1)$ then the roots are quadratic integers.
• The constructible numbers are those numbers that can be constructed from a given unit length using straightedge and compass and their opposites. These include all quadratic surds, all rational numbers, and all numbers that can be formed from these using the basic arithmetic operations and the extraction of square roots. (Note that by designating cardinal directions for 1, −1, $i$, and $-i$, complex numbers such as $3+\sqrt{2}i$ are considered constructible.)
• Any expression formed using any combination of the basic arithmetic operations and extraction of nth roots gives an algebraic number.
• Polynomial roots that cannot be expressed in terms of the basic arithmetic operations and extraction of nth roots (such as the roots of $x^5 - x + 1$). This happens with many, but not all, polynomials of degree 5 or higher.
• Gaussian integers: those complex numbers $a+bi$ where both $a$ and $b$ are integers are also quadratic integers.
• Trigonometric functions of rational multiples of $\pi$ (except when undefined). For example, each of $\cos(\pi/7)$, $\cos(3\pi/7)$, $\cos(5\pi/7)$ satisfies $8x^3 - 4x^2 - 4x + 1 = 0$. This polynomial is irreducible over the rationals, and so these three cosines are conjugate algebraic numbers. Likewise, $\tan(3\pi/16)$, $\tan(7\pi/16)$, $\tan(11\pi/16)$, $\tan(15\pi/16)$ all satisfy the irreducible polynomial $x^4 - 4x^3 - 6x^2 + 4x + 1$, and so are conjugate algebraic integers.

## Properties

Algebraic numbers on the complex plane colored by degree. (red=1, green=2, blue=3, yellow=4)

## The field of algebraic numbers

Algebraic numbers colored by degree (blue=4, cyan=3, red=2, green=1). The unit circle in black.

The sum, difference, product and quotient of two algebraic numbers is again algebraic (this fact can be demonstrated using the resultant), and the algebraic numbers therefore form a field, sometimes denoted by A (which may also denote the adele ring) or Q. Every root of a polynomial equation whose coefficients are algebraic numbers is again algebraic. This can be rephrased by saying that the field of algebraic numbers is algebraically closed. In fact, it is the smallest algebraically closed field containing the rationals, and is therefore called the algebraic closure of the rationals.

## Related fields

All numbers that can be obtained from the integers using a finite number of integer additions, subtractions, multiplications, divisions, and taking nth roots (where n is a positive integer) are algebraic. The converse, however, is not true: there are algebraic numbers that cannot be obtained in this manner. All of these numbers are solutions to polynomials of degree ≥5. This is a result of Galois theory (see Quintic equations and the Abel–Ruffini theorem). An example of such a number is the unique real root of the polynomial x5x − 1 (which is approximately 1.167304).

### Closed-form number

Main article: Closed-form number

Algebraic numbers are all numbers that can be defined explicitly or implicitly in terms of polynomials, starting from the rational numbers. One may generalize this to "closed-form numbers", which may be defined in various ways. Most broadly, all numbers that can be defined explicitly or implicitly in terms of polynomials, exponentials, and logarithms are called "elementary numbers", and these include the algebraic numbers, plus some transcendental numbers. Most narrowly, one may consider numbers explicitly defined in terms of polynomials, exponentials, and logarithms – this does not include algebraic numbers, but does include some simple transcendental numbers such as e or log(2).

## Algebraic integers

Main article: Algebraic integer
Algebraic numbers colored by leading coefficient (red signifies 1 for an algebraic integer).

An algebraic integer is an algebraic number that is a root of a polynomial with integer coefficients with leading coefficient 1 (a monic polynomial). Examples of algebraic integers are 5 + 13√2, 2 − 6i, and 12(1 + i3). Note, therefore, that the algebraic integers constitute a proper superset of the integers, as the latter are the roots of monic polynomials xk for all kZ. In this sense, algebraic integers are to algebraic numbers what integers are to rational numbers.

The sum, difference and product of algebraic integers are again algebraic integers, which means that the algebraic integers form a ring. The name algebraic integer comes from the fact that the only rational numbers that are algebraic integers are the integers, and because the algebraic integers in any number field are in many ways analogous to the integers. If K is a number field, its ring of integers is the subring of algebraic integers in K, and is frequently denoted as OK. These are the prototypical examples of Dedekind domains.

## Notes

1. ^ In order for a number to be algebraic, it has to be the root of a finite, non-zero polynomial. Pi, commonly known to be transcendental, is a root of sin(x) which is analytic (meaning that it is equal to its infinite Taylor series). Thus transcendental numbers can be roots of polynomials, but only if those polynomials are infinite.
2. ^ Some of the following examples come from Hardy and Wright 1972:159–160 and pp. 178–179
3. ^ Also Liouville's theorem can be used to "produce as many examples of transcendentals numbers as we please," cf Hardy and Wright p. 161ff
4. ^ Hardy and Wright 1972:160 / 2008:205