In mathematics, an algebraic number is a number that is a root of a non-zero polynomial in one variable with integer (or, equivalently, rational) coefficients. For example, the golden ratio formula_1 is an algebraic number, because it is a root of the polynomial formula_2, i.e., a solution of the equation formula_3, and the complex number formula_4 is algebraic as a root of formula_5. Algebraic numbers include all integers, rational numbers, and "n"-th roots of integers. Algebraic complex numbers are closed under addition, subtraction, multiplication and division, and hence form a field, denoted formula_6. The set of algebraic real numbers formula_7 is also a field. Numbers which are not algebraic are called transcendental and include and . There are countably many algebraic numbers, hence almost all real (or complex) numbers (in the sense of Lebesgue measure) are transcendental. Properties. Degree of simple extensions of the rationals as a criterion to algebraicity. For any , the simple extension of the rationals by , denoted by formula_11 (whose elements are the formula_12 for formula_13 a rational function with rational coefficients which is defined at formula_14), is of finite degree if and only if is an algebraic number. The condition of finite degree means that there is a finite set formula_15 in formula_11 such that formula_17; that is, every member in formula_11 can be written as formula_19 for some rational numbers formula_20 (note that the set formula_21 is fixed). Indeed, since the formula_22 are themselves members of formula_11, each can be expressed as sums of products of rational numbers and powers of , and therefore this condition is equivalent to the requirement that for some finite formula_24, formula_25. The latter condition is equivalent to formula_26, itself a member of formula_11, being expressible as formula_28 for some rationals formula_29, so formula_30 or, equivalently, is a root of formula_31; that is, an algebraic number with a minimal polynomial of degree not larger than formula_32. It can similarly be proven that for any finite set of algebraic numbers formula_33, formula_34... formula_35, the field extension formula_36 has a finite degree. Field. The sum, difference, product, and quotient (if the denominator is nonzero) of two algebraic numbers is again algebraic: For any two algebraic numbers , , this follows directly from the fact that the simple extension formula_37, for formula_38 being either formula_39, formula_40, formula_41 or (for formula_42) formula_43, is a linear subspace of the finite-degree field extension formula_44, and therefore has a finite degree itself, from which it follows (as shown above) that formula_38 is algebraic. An alternative way of showing this is constructively, by using the resultant. Algebraic numbers thus form a field formula_46 (sometimes denoted by formula_47, but that usually denotes the adele ring). Algebraic closure. Every root of a polynomial equation whose coefficients are "algebraic numbers" is again algebraic. That 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 so it is called the algebraic closure of the rationals. That the field of algebraic numbers is algebraically closed can be proven as follows: Let be a root of a polynomial formula_48 with coefficients that are algebraic numbers formula_49, formula_33, formula_34... formula_35. The field extension formula_53 then has a finite degree with respect to formula_54. The simple extension formula_55 then has a finite degree with respect to formula_56 (since all powers of can be expressed by powers of up to formula_57). Therefore, formula_58 also has a finite degree with respect to formula_54. Since formula_60 is a linear subspace of formula_55, it must also have a finite degree with respect to formula_54, so must be an algebraic number. Related fields. Numbers defined by radicals. Any number that can be obtained from the integers using a finite number of additions, subtractions, multiplications, divisions, and taking (possibly complex) th roots where is a positive integer are algebraic. The converse, however, is not true: there are algebraic numbers that cannot be obtained in this manner. These numbers are roots of polynomials of degree 5 or higher, a result of Galois theory (see Quintic equations and the Abel–Ruffini theorem). For example, the equation: formula_63 has a unique real root, ≈ 1.1673, that cannot be expressed in terms of only radicals and arithmetic operations. 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 all algebraic numbers, but does include some simple transcendental numbers such as or ln 2. Algebraic integers. 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 formula_64 formula_65 and formula_66 Therefore, the algebraic integers constitute a proper superset of the integers, as the latter are the roots of monic polynomials for all formula_67. 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 is a number field, its ring of integers is the subring of algebraic integers in , and is frequently denoted as . These are the prototypical examples of Dedekind domains.