An algebraic number is any complex number that is a root of a non-zero polynomial in one variable with rational coefficients (or equivalently – by clearing denominators – with integer coefficients). All integers and rational numbers are algebraic, as are all roots of integers. The same is not true for all real and complex numbers because they also include transcendental numbers such as π and e. Almost all real and complex numbers are transcendental.
The sum, difference, product and quotient (if the denominator is nonzero) of two algebraic numbers is again algebraic (this fact can be demonstrated using the resultant), and the algebraic numbers therefore form a field Q (sometimes denoted by A, though this usually denotes the adele ring). 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.
The set of real algebraic numbers itself forms a field.
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 (i.e., radical expressions) are algebraic. The converse, however, is not true: there are algebraic numbers that cannot be obtained in this manner. All of these numbers are roots of 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 x5 − x − 1 (which is approximately 1.167304).