![Exponentiation](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly91cGxvYWQud2lraW1lZGlhLm9yZy93aWtpcGVkaWEvY29tbW9ucy90aHVtYi9lL2U1L0V4cG8wMi5zdmcvMTYwMHB4LUV4cG8wMi5zdmcucG5n.png )
In mathematics, exponentiation, denoted bn, is an operation involving two numbers: the base, b, and the exponent or power, n. When n is a positive integer, exponentiation corresponds to repeated multiplication of the base: that is, bn is the product of multiplying n bases:In particular, .
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpOWxMMlUxTDBWNGNHOHdNaTV6ZG1jdk16RTFjSGd0Ulhod2J6QXlMbk4yWnk1d2JtYz0ucG5n.png)
The exponent is usually shown as a superscript to the right of the base as bn or in computer code as b^n
. This binary operation is often read as "b to the power n"; it may also be called "b raised to the nth power", "the nth power of b", or most briefly "b to the n".
The above definition of immediately implies several properties, in particular the multiplication rule:
That is, when multiplying a base raised to one power times the same base raised to another power, the powers add. Extending this rule to the power zero gives , and dividing both sides by gives . That is, the multiplication rule implies the definition A similar argument implies the definition for negative integer powers: That is, extending the multiplication rule gives . Dividing both sides by gives . This also implies the definition for fractional powers: For example, , meaning , which is the definition of square root: .
The definition of exponentiation can be extended in a natural way (preserving the multiplication rule) to define for any positive real base and any real number exponent . More involved definitions allow complex base and exponent, as well as certain types of matrices as base or exponent.
Exponentiation is used extensively in many fields, including economics, biology, chemistry, physics, and computer science, with applications such as compound interest, population growth, chemical reaction kinetics, wave behavior, and public-key cryptography.
Etymology
The term exponent originates from the Latin exponentem, the present participle of exponere, meaning "to put forth". The term power (Latin: potentia, potestas, dignitas) is a mistranslation of the ancient Greek δύναμις (dúnamis, here: "amplification") used by the Greek mathematician Euclid for the square of a line, following Hippocrates of Chios.
History
Antiquity
The Sand Reckoner
In The Sand Reckoner, Archimedes proved the law of exponents, 10a · 10b = 10a+b, necessary to manipulate powers of 10. He then used powers of 10 to estimate the number of grains of sand that can be contained in the universe.
Islamic Golden Age
Māl and kaʿbah ("square" and "cube")
In the 9th century, the Persian mathematician Al-Khwarizmi used the terms مَال (māl, "possessions", "property") for a square—the Muslims, "like most mathematicians of those and earlier times, thought of a squared number as a depiction of an area, especially of land, hence property"—and كَعْبَة (Kaʿbah, "cube") for a cube, which later Islamic mathematicians represented in mathematical notation as the letters mīm (m) and kāf (k), respectively, by the 15th century, as seen in the work of Abu'l-Hasan ibn Ali al-Qalasadi.
15th–18th century
Introducing exponents
Nicolas Chuquet used a form of exponential notation in the 15th century, for example 122 to represent 12x2. This was later used by Henricus Grammateus and Michael Stifel in the 16th century. In the late 16th century, Jost Bürgi would use Roman numerals for exponents in a way similar to that of Chuquet, for example for 4x3.
"Exponent"; "square" and "cube"
The word exponent was coined in 1544 by Michael Stifel. In the 16th century, Robert Recorde used the terms "square", "cube", "zenzizenzic" (fourth power), "sursolid" (fifth), "zenzicube" (sixth), "second sursolid" (seventh), and "zenzizenzizenzic" (eighth). "Biquadrate" has been used to refer to the fourth power as well.
Modern exponential notation
In 1636, James Hume used in essence modern notation, when in L'algèbre de Viète he wrote Aiii for A3. Early in the 17th century, the first form of our modern exponential notation was introduced by René Descartes in his text titled La Géométrie; there, the notation is introduced in Book I.
I designate ... aa, or a2 in multiplying a by itself; and a3 in multiplying it once more again by a, and thus to infinity.
— René Descartes, La Géométrie
Some mathematicians (such as Descartes) used exponents only for powers greater than two, preferring to represent squares as repeated multiplication. Thus they would write polynomials, for example, as ax + bxx + cx3 + d.
"Indices"
Samuel Jeake introduced the term indices in 1696. The term involution was used synonymously with the term indices, but had declined in usage and should not be confused with its more common meaning.
Variable exponents, non-integer exponents
In 1748, Leonhard Euler introduced variable exponents, and, implicitly, non-integer exponents by writing:
Consider exponentials or powers in which the exponent itself is a variable. It is clear that quantities of this kind are not algebraic functions, since in those the exponents must be constant.
20th century
As calculation was mechanized, notation was adapted to numerical capacity by conventions in exponential notation. For example Konrad Zuse introduced floating point arithmetic in his 1938 computer Z1. One register contained representation of leading digits, and a second contained representation of the exponent of 10. Earlier Leonardo Torres Quevedo contributed Essays on Automation (1914) which had suggested the floating-point representation of numbers. The more flexible decimal floating-point representation was introduced in 1946 with a Bell Laboratories computer. Eventually educators and engineers adopted scientific notation of numbers, consistent with common reference to order of magnitude in a ratio scale.
For instance, in 1961 the School Mathematics Study Group developed the notation in connection with units used in the metric system.
Exponents also came to be used to describe units of measurement and quantity dimensions. For instance, since force is mass times acceleration, it is measured in kg m/sec2. Using M for mass, L for length, and T for time, the expression M L T–2 is used in dimensional analysis to describe force.
Terminology
The expression b2 = b · b is called "the square of b" or "b squared", because the area of a square with side-length b is b2. (It is true that it could also be called "b to the second power", but "the square of b" and "b squared" are more traditional)
Similarly, the expression b3 = b · b · b is called "the cube of b" or "b cubed", because the volume of a cube with side-length b is b3.
When an exponent is a positive integer, that exponent indicates how many copies of the base are multiplied together. For example, 35 = 3 · 3 · 3 · 3 · 3 = 243. The base 3 appears 5 times in the multiplication, because the exponent is 5. Here, 243 is the 5th power of 3, or 3 raised to the 5th power.
The word "raised" is usually omitted, and sometimes "power" as well, so 35 can be simply read "3 to the 5th", or "3 to the 5".
Integer exponents
The exponentiation operation with integer exponents may be defined directly from elementary arithmetic operations.
Positive exponents
The definition of the exponentiation as an iterated multiplication can be formalized by using induction, and this definition can be used as soon as one has an associative multiplication:
The base case is
and the recurrence is
The associativity of multiplication implies that for any positive integers m and n,
and
Zero exponent
As mentioned earlier, a (nonzero) number raised to the 0 power is 1:
This value is also obtained by the empty product convention, which may be used in every algebraic structure with a multiplication that has an identity. This way the formula
also holds for .
The case of 00 is controversial. In contexts where only integer powers are considered, the value 1 is generally assigned to 00 but, otherwise, the choice of whether to assign it a value and what value to assign may depend on context.
Negative exponents
Exponentiation with negative exponents is defined by the following identity, which holds for any integer n and nonzero b:
.
Raising 0 to a negative exponent is undefined but, in some circumstances, it may be interpreted as infinity ().
This definition of exponentiation with negative exponents is the only one that allows extending the identity to negative exponents (consider the case
).
The same definition applies to invertible elements in a multiplicative monoid, that is, an algebraic structure, with an associative multiplication and a multiplicative identity denoted 1 (for example, the square matrices of a given dimension). In particular, in such a structure, the inverse of an invertible element x is standardly denoted
Identities and properties
The following identities, often called exponent rules, hold for all integer exponents, provided that the base is non-zero:
Unlike addition and multiplication, exponentiation is not commutative: for example, , but reversing the operands gives the different value
. Also unlike addition and multiplication, exponentiation is not associative: for example, (23)2 = 82 = 64, whereas 2(32) = 29 = 512. Without parentheses, the conventional order of operations for serial exponentiation in superscript notation is top-down (or right-associative), not bottom-up (or left-associative). That is,
which, in general, is different from
Powers of a sum
The powers of a sum can normally be computed from the powers of the summands by the binomial formula
However, this formula is true only if the summands commute (i.e. that ab = ba), which is implied if they belong to a structure that is commutative. Otherwise, if a and b are, say, square matrices of the same size, this formula cannot be used. It follows that in computer algebra, many algorithms involving integer exponents must be changed when the exponentiation bases do not commute. Some general purpose computer algebra systems use a different notation (sometimes ^^ instead of ^) for exponentiation with non-commuting bases, which is then called non-commutative exponentiation.
Combinatorial interpretation
For nonnegative integers n and m, the value of nm is the number of functions from a set of m elements to a set of n elements (see cardinal exponentiation). Such functions can be represented as m-tuples from an n-element set (or as m-letter words from an n-letter alphabet). Some examples for particular values of m and n are given in the following table:
nm | The nm possible m-tuples of elements from the set {1, ..., n} |
---|---|
05 = 0 | none |
14 = 1 | (1, 1, 1, 1) |
23 = 8 | (1, 1, 1), (1, 1, 2), (1, 2, 1), (1, 2, 2), (2, 1, 1), (2, 1, 2), (2, 2, 1), (2, 2, 2) |
32 = 9 | (1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3) |
41 = 4 | (1), (2), (3), (4) |
50 = 1 | () |
Particular bases
Powers of ten
In the base ten (decimal) number system, integer powers of 10 are written as the digit 1 followed or preceded by a number of zeroes determined by the sign and magnitude of the exponent. For example, 103 = 1000 and 10−4 = 0.0001.
Exponentiation with base 10 is used in scientific notation to denote large or small numbers. For instance, 299792458 m/s (the speed of light in vacuum, in metres per second) can be written as 2.99792458×108 m/s and then approximated as 2.998×108 m/s.
SI prefixes based on powers of 10 are also used to describe small or large quantities. For example, the prefix kilo means 103 = 1000, so a kilometre is 1000 m.
Powers of two
The first negative powers of 2 have special names: is a half;
is a quarter.
Powers of 2 appear in set theory, since a set with n members has a power set, the set of all of its subsets, which has 2n members.
Integer powers of 2 are important in computer science. The positive integer powers 2n give the number of possible values for an n-bit integer binary number; for example, a byte may take 28 = 256 different values. The binary number system expresses any number as a sum of powers of 2, and denotes it as a sequence of 0 and 1, separated by a binary point, where 1 indicates a power of 2 that appears in the sum; the exponent is determined by the place of this 1: the nonnegative exponents are the rank of the 1 on the left of the point (starting from 0), and the negative exponents are determined by the rank on the right of the point.
Powers of one
Every power of one equals: 1n = 1.
Powers of zero
For a positive exponent n > 0, the nth power of zero is zero: 0n = 0. For a negative\ exponent, is undefined.
The expression 00 is either defined as , or it is left undefined.
Powers of negative one
Since a negative number times another negative is positive, we have:
Because of this, powers of −1 are useful for expressing alternating sequences. For a similar discussion of powers of the complex number i, see § nth roots of a complex number.
Large exponents
The limit of a sequence of powers of a number greater than one diverges; in other words, the sequence grows without bound:
- bn → ∞ as n → ∞ when b > 1
This can be read as "b to the power of n tends to +∞ as n tends to infinity when b is greater than one".
Powers of a number with absolute value less than one tend to zero:
- bn → 0 as n → ∞ when |b| < 1
Any power of one is always one:
- bn = 1 for all n for b = 1
Powers of a negative number alternate between positive and negative as n alternates between even and odd, and thus do not tend to any limit as n grows.
If the exponentiated number varies while tending to 1 as the exponent tends to infinity, then the limit is not necessarily one of those above. A particularly important case is
- (1 + 1/n)n → e as n → ∞
See § Exponential function below.
Other limits, in particular those of expressions that take on an indeterminate form, are described in § Limits of powers below.
Power functions
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpOHhMekU1TDFCdmRHVnVjM05wWHpGZk0xODFMbk4yWnk4eU1qQndlQzFRYjNSbGJuTnphVjh4WHpOZk5TNXpkbWN1Y0c1bi5wbmc=.png)
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpODNMemMxTDFCdmRHVnVjM05wWHpKZk5GODJMbk4yWnk4eU1qQndlQzFRYjNSbGJuTnphVjh5WHpSZk5pNXpkbWN1Y0c1bi5wbmc=.png)
Real functions of the form , where
, are sometimes called power functions. When
is an integer and
, two primary families exist: for
even, and for
odd. In general for
, when
is even
will tend towards positive infinity with increasing
, and also towards positive infinity with decreasing
. All graphs from the family of even power functions have the general shape of
, flattening more in the middle as
increases. Functions with this kind of symmetry (
) are called even functions.
When is odd,
's asymptotic behavior reverses from positive
to negative
. For
,
will also tend towards positive infinity with increasing
, but towards negative infinity with decreasing
. All graphs from the family of odd power functions have the general shape of
, flattening more in the middle as
increases and losing all flatness there in the straight line for
. Functions with this kind of symmetry (
) are called odd functions.
For , the opposite asymptotic behavior is true in each case.
Table of powers of decimal digits
n | n2 | n3 | n4 | n5 | n6 | n7 | n8 | n9 | n10 |
---|---|---|---|---|---|---|---|---|---|
1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 |
3 | 9 | 27 | 81 | 243 | 729 | 2187 | 6561 | 19683 | 59049 |
4 | 16 | 64 | 256 | 1024 | 4096 | 16384 | 65536 | 262144 | 1048576 |
5 | 25 | 125 | 625 | 3125 | 15625 | 78125 | 390625 | 1953125 | 9765625 |
6 | 36 | 216 | 1296 | 7776 | 46656 | 279936 | 1679616 | 10077696 | 60466176 |
7 | 49 | 343 | 2401 | 16807 | 117649 | 823543 | 5764801 | 40353607 | 282475249 |
8 | 64 | 512 | 4096 | 32768 | 262144 | 2097152 | 16777216 | 134217728 | 1073741824 |
9 | 81 | 729 | 6561 | 59049 | 531441 | 4782969 | 43046721 | 387420489 | 3486784401 |
10 | 100 | 1000 | 10000 | 100000 | 1000000 | 10000000 | 100000000 | 1000000000 | 10000000000 |
Rational exponents
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpODJMell4TDAxd2JIZHdYM0p2YjNSelh6QXhMbk4yWnk4ek1EQndlQzFOY0d4M2NGOXliMjkwYzE4d01TNXpkbWN1Y0c1bi5wbmc=.png)
If x is a nonnegative real number, and n is a positive integer, or
denotes the unique nonnegative real nth root of x, that is, the unique nonnegative real number y such that
If x is a positive real number, and is a rational number, with p and q > 0 integers, then
is defined as
The equality on the right may be derived by setting and writing
If r is a positive rational number, 0r = 0, by definition.
All these definitions are required for extending the identity to rational exponents.
On the other hand, there are problems with the extension of these definitions to bases that are not positive real numbers. For example, a negative real number has a real nth root, which is negative, if n is odd, and no real root if n is even. In the latter case, whichever complex nth root one chooses for the identity
cannot be satisfied. For example,
See § Real exponents and § Non-integer powers of complex numbers for details on the way these problems may be handled.
Real exponents
For positive real numbers, exponentiation to real powers can be defined in two equivalent ways, either by extending the rational powers to reals by continuity (§ Limits of rational exponents, below), or in terms of the logarithm of the base and the exponential function (§ Powers via logarithms, below). The result is always a positive real number, and the identities and properties shown above for integer exponents remain true with these definitions for real exponents. The second definition is more commonly used, since it generalizes straightforwardly to complex exponents.
On the other hand, exponentiation to a real power of a negative real number is much more difficult to define consistently, as it may be non-real and have several values. One may choose one of these values, called the principal value, but there is no choice of the principal value for which the identity
is true; see § Failure of power and logarithm identities. Therefore, exponentiation with a basis that is not a positive real number is generally viewed as a multivalued function.
Limits of rational exponents
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpOWlMMkpsTDBOdmJuUnBiblZwZEhsZmIyWmZkR2hsWDBWNGNHOXVaVzUwYVdGc1gyRjBYekF1YzNabkx6SXlNSEI0TFVOdmJuUnBiblZwZEhsZmIyWmZkR2hsWDBWNGNHOXVaVzUwYVdGc1gyRjBYekF1YzNabkxuQnVadz09LnBuZw==.png)
Since any irrational number can be expressed as the limit of a sequence of rational numbers, exponentiation of a positive real number b with an arbitrary real exponent x can be defined by continuity with the rule
where the limit is taken over rational values of r only. This limit exists for every positive b and every real x.
For example, if x = π, the non-terminating decimal representation π = 3.14159... and the monotonicity of the rational powers can be used to obtain intervals bounded by rational powers that are as small as desired, and must contain
So, the upper bounds and the lower bounds of the intervals form two sequences that have the same limit, denoted
This defines for every positive b and real x as a continuous function of b and x. See also Well-defined expression.
Exponential function
The exponential function may be defined as where
is Euler's number, but to avoid circular reasoning, this definition cannot be used here. Rather, we give an independent definition of the exponential function
and of
, relying only on positive integer powers (repeated multiplication). Then we sketch the proof that this agrees with the previous definition:
There are many equivalent ways to define the exponential function, one of them being
One has and the exponential identity (or multiplication rule)
holds as well, since
and the second-order term does not affect the limit, yielding
.
Euler's number can be defined as . It follows from the preceding equations that
when x is an integer (this results from the repeated-multiplication definition of the exponentiation). If x is real,
results from the definitions given in preceding sections, by using the exponential identity if x is rational, and the continuity of the exponential function otherwise.
The limit that defines the exponential function converges for every complex value of x, and therefore it can be used to extend the definition of , and thus
from the real numbers to any complex argument z. This extended exponential function still satisfies the exponential identity, and is commonly used for defining exponentiation for complex base and exponent.
Powers via logarithms
The definition of ex as the exponential function allows defining bx for every positive real numbers b, in terms of exponential and logarithm function. Specifically, the fact that the natural logarithm ln(x) is the inverse of the exponential function ex means that one has
for every b > 0. For preserving the identity one must have
So, can be used as an alternative definition of bx for any positive real b. This agrees with the definition given above using rational exponents and continuity, with the advantage to extend straightforwardly to any complex exponent.
Complex exponents with a positive real base
If b is a positive real number, exponentiation with base b and complex exponent z is defined by means of the exponential function with complex argument (see the end of § Exponential function, above) as
where denotes the natural logarithm of b.
This satisfies the identity
In general, is not defined, since bz is not a real number. If a meaning is given to the exponentiation of a complex number (see § Non-integer powers of complex numbers, below), one has, in general,
unless z is real or t is an integer.
Euler's formula,
allows expressing the polar form of in terms of the real and imaginary parts of z, namely
where the absolute value of the trigonometric factor is one. This results from
Non-integer exponents with a complex base
In the preceding sections, exponentiation with non-integer exponents has been defined for positive real bases only. For other bases, difficulties appear already with the apparently simple case of nth roots, that is, of exponents where n is a positive integer. Although the general theory of exponentiation with non-integer exponents applies to nth roots, this case deserves to be considered first, since it does not need to use complex logarithms, and is therefore easier to understand.
nth roots of a complex number
Every nonzero complex number z may be written in polar form as
where is the absolute value of z, and
is its argument. The argument is defined up to an integer multiple of 2π; this means that, if
is the argument of a complex number, then
is also an argument of the same complex number for every integer
.
The polar form of the product of two complex numbers is obtained by multiplying the absolute values and adding the arguments. It follows that the polar form of an nth root of a complex number can be obtained by taking the nth root of the absolute value and dividing its argument by n:
If is added to
, the complex number is not changed, but this adds
to the argument of the nth root, and provides a new nth root. This can be done n times, and provides the n nth roots of the complex number.
It is usual to choose one of the n nth root as the principal root. The common choice is to choose the nth root for which that is, the nth root that has the largest real part, and, if there are two, the one with positive imaginary part. This makes the principal nth root a continuous function in the whole complex plane, except for negative real values of the radicand. This function equals the usual nth root for positive real radicands. For negative real radicands, and odd exponents, the principal nth root is not real, although the usual nth root is real. Analytic continuation shows that the principal nth root is the unique complex differentiable function that extends the usual nth root to the complex plane without the nonpositive real numbers.
If the complex number is moved around zero by increasing its argument, after an increment of the complex number comes back to its initial position, and its nth roots are permuted circularly (they are multiplied by
). This shows that it is not possible to define a nth root function that is continuous in the whole complex plane.
Roots of unity
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpODJMell6TDA5dVpUTlNiMjkwTG5OMlp5OHlNakJ3ZUMxUGJtVXpVbTl2ZEM1emRtY3VjRzVuLnBuZw==.png)
The nth roots of unity are the n complex numbers such that wn = 1, where n is a positive integer. They arise in various areas of mathematics, such as in discrete Fourier transform or algebraic solutions of algebraic equations (Lagrange resolvent).
The n nth roots of unity are the n first powers of , that is
The nth roots of unity that have this generating property are called primitive nth roots of unity; they have the form
with k coprime with n. The unique primitive square root of unity is
the primitive fourth roots of unity are
and
The nth roots of unity allow expressing all nth roots of a complex number z as the n products of a given nth roots of z with a nth root of unity.
Geometrically, the nth roots of unity lie on the unit circle of the complex plane at the vertices of a regular n-gon with one vertex on the real number 1.
As the number is the primitive nth root of unity with the smallest positive argument, it is called the principal primitive nth root of unity, sometimes shortened as principal nth root of unity, although this terminology can be confused with the principal value of
, which is 1.
Complex exponentiation
Defining exponentiation with complex bases leads to difficulties that are similar to those described in the preceding section, except that there are, in general, infinitely many possible values for . So, either a principal value is defined, which is not continuous for the values of z that are real and nonpositive, or
is defined as a multivalued function.
In all cases, the complex logarithm is used to define complex exponentiation as
where is the variant of the complex logarithm that is used, which is a function or a multivalued function such that
for every z in its domain of definition.
Principal value
The principal value of the complex logarithm is the unique continuous function, commonly denoted such that, for every nonzero complex number z,
and the argument of z satisfies
The principal value of the complex logarithm is not defined for it is discontinuous at negative real values of z, and it is holomorphic (that is, complex differentiable) elsewhere. If z is real and positive, the principal value of the complex logarithm is the natural logarithm:
The principal value of is defined as
where
is the principal value of the logarithm.
The function is holomorphic except in the neighbourhood of the points where z is real and nonpositive.
If z is real and positive, the principal value of equals its usual value defined above. If
where n is an integer, this principal value is the same as the one defined above.
Multivalued function
In some contexts, there is a problem with the discontinuity of the principal values of and
at the negative real values of z. In this case, it is useful to consider these functions as multivalued functions.
If denotes one of the values of the multivalued logarithm (typically its principal value), the other values are
where k is any integer. Similarly, if
is one value of the exponentiation, then the other values are given by
where k is any integer.
Different values of k give different values of unless w is a rational number, that is, there is an integer d such that dw is an integer. This results from the periodicity of the exponential function, more specifically, that
if and only if
is an integer multiple of
If is a rational number with m and n coprime integers with
then
has exactly n values. In the case
these values are the same as those described in § nth roots of a complex number. If w is an integer, there is only one value that agrees with that of § Integer exponents.
The multivalued exponentiation is holomorphic for in the sense that its graph consists of several sheets that define each a holomorphic function in the neighborhood of every point. If z varies continuously along a circle around 0, then, after a turn, the value of
has changed of sheet.
Computation
The canonical form of
can be computed from the canonical form of z and w. Although this can be described by a single formula, it is clearer to split the computation in several steps.
- Polar form of z. If
is the canonical form of z (a and b being real), then its polar form is
with
and
, where
is the two-argument arctangent function.
- Logarithm of z. The principal value of this logarithm is
where
denotes the natural logarithm. The other values of the logarithm are obtained by adding
for any integer k.
- Canonical form of
If
with c and d real, the values of
are
the principal value corresponding to
- Final result. Using the identities
and
one gets
with
for the principal value.
Examples
The polar form of i isand the values of
are thus
It follows that
So, all values of
are real, the principal one being
Similarly, the polar form of −2 isSo, the above described method gives the values
In this case, all the values have the same argument
and different absolute values.
In both examples, all values of have the same argument. More generally, this is true if and only if the real part of w is an integer.
Failure of power and logarithm identities
Some identities for powers and logarithms for positive real numbers will fail for complex numbers, no matter how complex powers and complex logarithms are defined as single-valued functions. For example:
- The identity log(bx) = x ⋅ log b holds whenever b is a positive real number and x is a real number. But for the principal branch of the complex logarithm one has
Regardless of which branch of the logarithm is used, a similar failure of the identity will exist. The best that can be said (if only using this result) is that:
This identity does not hold even when considering log as a multivalued function. The possible values of log(wz) contain those of z ⋅ log w as a proper subset. Using Log(w) for the principal value of log(w) and m, n as any integers the possible values of both sides are:
- The identities (bc)x = bxcx and (b/c)x = bx/cx are valid when b and c are positive real numbers and x is a real number. But, for the principal values, one has
and
On the other hand, when x is an integer, the identities are valid for all nonzero complex numbers. If exponentiation is considered as a multivalued function then the possible values of (−1 ⋅ −1)1/2 are {1, −1}. The identity holds, but saying {1} = {(−1 ⋅ −1)1/2} is incorrect.
- The identity (ex)y = exy holds for real numbers x and y, but assuming its truth for complex numbers leads to the following paradox, discovered in 1827 by Clausen: For any integer n, we have:
(taking the
-th power of both sides)
(using
and expanding the exponent)
(using
)
(dividing by e)
is a notation for
a true function, and
is a notation for
which is a multi-valued function. Thus the notation is ambiguous when x = e. Here, before expanding the exponent, the second line should be
Therefore, when expanding the exponent, one has implicitly supposed that
for complex values of z, which is wrong, as the complex logarithm is multivalued. In other words, the wrong identity (ex)y = exy must be replaced by the identity
which is a true identity between multivalued functions.
Irrationality and transcendence
If b is a positive real algebraic number, and x is a rational number, then bx is an algebraic number. This results from the theory of algebraic extensions. This remains true if b is any algebraic number, in which case, all values of bx (as a multivalued function) are algebraic. If x is irrational (that is, not rational), and both b and x are algebraic, Gelfond–Schneider theorem asserts that all values of bx are transcendental (that is, not algebraic), except if b equals 0 or 1.
In other words, if x is irrational and then at least one of b, x and bx is transcendental.
Integer powers in algebra
The definition of exponentiation with positive integer exponents as repeated multiplication may apply to any associative operation denoted as a multiplication. The definition of x0 requires further the existence of a multiplicative identity.
An algebraic structure consisting of a set together with an associative operation denoted multiplicatively, and a multiplicative identity denoted by 1 is a monoid. In such a monoid, exponentiation of an element x is defined inductively by
for every nonnegative integer n.
If n is a negative integer, is defined only if x has a multiplicative inverse. In this case, the inverse of x is denoted x−1, and xn is defined as
Exponentiation with integer exponents obeys the following laws, for x and y in the algebraic structure, and m and n integers:
These definitions are widely used in many areas of mathematics, notably for groups, rings, fields, square matrices (which form a ring). They apply also to functions from a set to itself, which form a monoid under function composition. This includes, as specific instances, geometric transformations, and endomorphisms of any mathematical structure.
When there are several operations that may be repeated, it is common to indicate the repeated operation by placing its symbol in the superscript, before the exponent. For example, if f is a real function whose valued can be multiplied, denotes the exponentiation with respect of multiplication, and
may denote exponentiation with respect of function composition. That is,
and
Commonly, is denoted
while
is denoted
In a group
A multiplicative group is a set with as associative operation denoted as multiplication, that has an identity element, and such that every element has an inverse.
So, if G is a group, is defined for every
and every integer n.
The set of all powers of an element of a group form a subgroup. A group (or subgroup) that consists of all powers of a specific element x is the cyclic group generated by x. If all the powers of x are distinct, the group is isomorphic to the additive group of the integers. Otherwise, the cyclic group is finite (it has a finite number of elements), and its number of elements is the order of x. If the order of x is n, then
and the cyclic group generated by x consists of the n first powers of x (starting indifferently from the exponent 0 or 1).
Order of elements play a fundamental role in group theory. For example, the order of an element in a finite group is always a divisor of the number of elements of the group (the order of the group). The possible orders of group elements are important in the study of the structure of a group (see Sylow theorems), and in the classification of finite simple groups.
Superscript notation is also used for conjugation; that is, gh = h−1gh, where g and h are elements of a group. This notation cannot be confused with exponentiation, since the superscript is not an integer. The motivation of this notation is that conjugation obeys some of the laws of exponentiation, namely and
In a ring
In a ring, it may occur that some nonzero elements satisfy for some integer n. Such an element is said to be nilpotent. In a commutative ring, the nilpotent elements form an ideal, called the nilradical of the ring.
If the nilradical is reduced to the zero ideal (that is, if implies
for every positive integer n), the commutative ring is said to be reduced. Reduced rings are important in algebraic geometry, since the coordinate ring of an affine algebraic set is always a reduced ring.
More generally, given an ideal I in a commutative ring R, the set of the elements of R that have a power in I is an ideal, called the radical of I. The nilradical is the radical of the zero ideal. A radical ideal is an ideal that equals its own radical. In a polynomial ring over a field k, an ideal is radical if and only if it is the set of all polynomials that are zero on an affine algebraic set (this is a consequence of Hilbert's Nullstellensatz).
Matrices and linear operators
If A is a square matrix, then the product of A with itself n times is called the matrix power. Also is defined to be the identity matrix, and if A is invertible, then
.
Matrix powers appear often in the context of discrete dynamical systems, where the matrix A expresses a transition from a state vector x of some system to the next state Ax of the system. This is the standard interpretation of a Markov chain, for example. Then is the state of the system after two time steps, and so forth:
is the state of the system after n time steps. The matrix power
is the transition matrix between the state now and the state at a time n steps in the future. So computing matrix powers is equivalent to solving the evolution of the dynamical system. In many cases, matrix powers can be expediently computed by using eigenvalues and eigenvectors.
Apart from matrices, more general linear operators can also be exponentiated. An example is the derivative operator of calculus, , which is a linear operator acting on functions
to give a new function
. The nth power of the differentiation operator is the nth derivative:
These examples are for discrete exponents of linear operators, but in many circumstances it is also desirable to define powers of such operators with continuous exponents. This is the starting point of the mathematical theory of semigroups. Just as computing matrix powers with discrete exponents solves discrete dynamical systems, so does computing matrix powers with continuous exponents solve systems with continuous dynamics. Examples include approaches to solving the heat equation, Schrödinger equation, wave equation, and other partial differential equations including a time evolution. The special case of exponentiating the derivative operator to a non-integer power is called the fractional derivative which, together with the fractional integral, is one of the basic operations of the fractional calculus.
Finite fields
A field is an algebraic structure in which multiplication, addition, subtraction, and division are defined and satisfy the properties that multiplication is associative and every nonzero element has a multiplicative inverse. This implies that exponentiation with integer exponents is well-defined, except for nonpositive powers of 0. Common examples are the field of complex numbers, the real numbers and the rational numbers, considered earlier in this article, which are all infinite.
A finite field is a field with a finite number of elements. This number of elements is either a prime number or a prime power; that is, it has the form where p is a prime number, and k is a positive integer. For every such q, there are fields with q elements. The fields with q elements are all isomorphic, which allows, in general, working as if there were only one field with q elements, denoted
One has
for every
A primitive element in is an element g such that the set of the q − 1 first powers of g (that is,
) equals the set of the nonzero elements of
There are
primitive elements in
where
is Euler's totient function.
In the freshman's dream identity
is true for the exponent p. As in
It follows that the map
In mathematics exponentiation denoted bn is an operation involving two numbers the base b and the exponent or power n When n is a positive integer exponentiation corresponds to repeated multiplication of the base that is bn is the product of multiplying n bases bn b b b b n times displaystyle b n underbrace b times b times dots times b times b n text times In particular b1 b displaystyle b 1 b Graphs of y bx for various bases b base 10 base e base 2 base 1 2 Each curve passes through the point 0 1 because any nonzero number raised to the power of 0 is 1 At x 1 the value of y equals the base because any number raised to the power of 1 is the number itself The exponent is usually shown as a superscript to the right of the base as bn or in computer code as b n This binary operation is often read as b to the power n it may also be called b raised to the nth power the nth power of b or most briefly b to the n The above definition of bn displaystyle b n immediately implies several properties in particular the multiplication rule bn bm b b n times b b m times b b n m times bn m displaystyle begin aligned b n times b m amp underbrace b times dots times b n text times times underbrace b times dots times b m text times 1ex amp underbrace b times dots times b n m text times b n m end aligned That is when multiplying a base raised to one power times the same base raised to another power the powers add Extending this rule to the power zero gives b0 bn b0 n bn displaystyle b 0 times b n b 0 n b n and dividing both sides by bn displaystyle b n gives b0 bn bn 1 displaystyle b 0 b n b n 1 That is the multiplication rule implies the definition b0 1 displaystyle b 0 1 A similar argument implies the definition for negative integer powers b n 1 bn displaystyle b n 1 b n That is extending the multiplication rule gives b n bn b n n b0 1 displaystyle b n times b n b n n b 0 1 Dividing both sides by bn displaystyle b n gives b n 1 bn displaystyle b n 1 b n This also implies the definition for fractional powers bn m bnm displaystyle b n m sqrt m b n For example b1 2 b1 2 b1 2 1 2 b1 b displaystyle b 1 2 times b 1 2 b 1 2 1 2 b 1 b meaning b1 2 2 b displaystyle b 1 2 2 b which is the definition of square root b1 2 b displaystyle b 1 2 sqrt b The definition of exponentiation can be extended in a natural way preserving the multiplication rule to define bx displaystyle b x for any positive real base b displaystyle b and any real number exponent x displaystyle x More involved definitions allow complex base and exponent as well as certain types of matrices as base or exponent Exponentiation is used extensively in many fields including economics biology chemistry physics and computer science with applications such as compound interest population growth chemical reaction kinetics wave behavior and public key cryptography EtymologyThe term exponent originates from the Latin exponentem the present participle of exponere meaning to put forth The term power Latin potentia potestas dignitas is a mistranslation of the ancient Greek dynamis dunamis here amplification used by the Greek mathematician Euclid for the square of a line following Hippocrates of Chios HistoryAntiquity The Sand Reckoner In The Sand Reckoner Archimedes proved the law of exponents 10a 10b 10a b necessary to manipulate powers of 10 He then used powers of 10 to estimate the number of grains of sand that can be contained in the universe Islamic Golden Age Mal and kaʿbah square and cube In the 9th century the Persian mathematician Al Khwarizmi used the terms م ال mal possessions property for a square the Muslims like most mathematicians of those and earlier times thought of a squared number as a depiction of an area especially of land hence property and ك ع ب ة Kaʿbah cube for a cube which later Islamic mathematicians represented in mathematical notation as the letters mim m and kaf k respectively by the 15th century as seen in the work of Abu l Hasan ibn Ali al Qalasadi 15th 18th century Introducing exponents Nicolas Chuquet used a form of exponential notation in the 15th century for example 122 to represent 12x2 This was later used by Henricus Grammateus and Michael Stifel in the 16th century In the late 16th century Jost Burgi would use Roman numerals for exponents in a way similar to that of Chuquet for example iii 4 for 4x3 Exponent square and cube The word exponent was coined in 1544 by Michael Stifel In the 16th century Robert Recorde used the terms square cube zenzizenzic fourth power sursolid fifth zenzicube sixth second sursolid seventh and zenzizenzizenzic eighth Biquadrate has been used to refer to the fourth power as well Modern exponential notation In 1636 James Hume used in essence modern notation when in L algebre de Viete he wrote Aiii for A3 Early in the 17th century the first form of our modern exponential notation was introduced by Rene Descartes in his text titled La Geometrie there the notation is introduced in Book I I designate aa or a2 in multiplying a by itself and a3 in multiplying it once more again by a and thus to infinity Rene Descartes La Geometrie Some mathematicians such as Descartes used exponents only for powers greater than two preferring to represent squares as repeated multiplication Thus they would write polynomials for example as ax bxx cx3 d Indices Samuel Jeake introduced the term indices in 1696 The term involution was used synonymously with the term indices but had declined in usage and should not be confused with its more common meaning Variable exponents non integer exponents In 1748 Leonhard Euler introduced variable exponents and implicitly non integer exponents by writing Consider exponentials or powers in which the exponent itself is a variable It is clear that quantities of this kind are not algebraic functions since in those the exponents must be constant 20th century As calculation was mechanized notation was adapted to numerical capacity by conventions in exponential notation For example Konrad Zuse introduced floating point arithmetic in his 1938 computer Z1 One register contained representation of leading digits and a second contained representation of the exponent of 10 Earlier Leonardo Torres Quevedo contributed Essays on Automation 1914 which had suggested the floating point representation of numbers The more flexible decimal floating point representation was introduced in 1946 with a Bell Laboratories computer Eventually educators and engineers adopted scientific notation of numbers consistent with common reference to order of magnitude in a ratio scale For instance in 1961 the School Mathematics Study Group developed the notation in connection with units used in the metric system Exponents also came to be used to describe units of measurement and quantity dimensions For instance since force is mass times acceleration it is measured in kg m sec2 Using M for mass L for length and T for time the expression M L T 2 is used in dimensional analysis to describe force TerminologyThe expression b2 b b is called the square of b or b squared because the area of a square with side length b is b2 It is true that it could also be called b to the second power but the square of b and b squared are more traditional Similarly the expression b3 b b b is called the cube of b or b cubed because the volume of a cube with side length b is b3 When an exponent is a positive integer that exponent indicates how many copies of the base are multiplied together For example 35 3 3 3 3 3 243 The base 3 appears 5 times in the multiplication because the exponent is 5 Here 243 is the 5th power of 3 or 3 raised to the 5th power The word raised is usually omitted and sometimes power as well so 35 can be simply read 3 to the 5th or 3 to the 5 Integer exponentsThe exponentiation operation with integer exponents may be defined directly from elementary arithmetic operations Positive exponents The definition of the exponentiation as an iterated multiplication can be formalized by using induction and this definition can be used as soon as one has an associative multiplication The base case is b1 b displaystyle b 1 b and the recurrence is bn 1 bn b displaystyle b n 1 b n cdot b The associativity of multiplication implies that for any positive integers m and n bm n bm bn displaystyle b m n b m cdot b n and bm n bmn displaystyle b m n b mn Zero exponent As mentioned earlier a nonzero number raised to the 0 power is 1 b0 1 displaystyle b 0 1 This value is also obtained by the empty product convention which may be used in every algebraic structure with a multiplication that has an identity This way the formula bm n bm bn displaystyle b m n b m cdot b n also holds for n 0 displaystyle n 0 The case of 00 is controversial In contexts where only integer powers are considered the value 1 is generally assigned to 00 but otherwise the choice of whether to assign it a value and what value to assign may depend on context For more details see Zero to the power of zero Negative exponents Exponentiation with negative exponents is defined by the following identity which holds for any integer n and nonzero b b n 1bn displaystyle b n frac 1 b n Raising 0 to a negative exponent is undefined but in some circumstances it may be interpreted as infinity displaystyle infty This definition of exponentiation with negative exponents is the only one that allows extending the identity bm n bm bn displaystyle b m n b m cdot b n to negative exponents consider the case m n displaystyle m n The same definition applies to invertible elements in a multiplicative monoid that is an algebraic structure with an associative multiplication and a multiplicative identity denoted 1 for example the square matrices of a given dimension In particular in such a structure the inverse of an invertible element x is standardly denoted x 1 displaystyle x 1 Identities and properties The following identities often called exponent rules hold for all integer exponents provided that the base is non zero bm bn bm n bm n bm nbn cn b c n displaystyle begin aligned b m cdot b n amp b m n left b m right n amp b m cdot n b n cdot c n amp b cdot c n end aligned Unlike addition and multiplication exponentiation is not commutative for example 23 8 displaystyle 2 3 8 but reversing the operands gives the different value 32 9 displaystyle 3 2 9 Also unlike addition and multiplication exponentiation is not associative for example 23 2 82 64 whereas 2 32 29 512 Without parentheses the conventional order of operations for serial exponentiation in superscript notation is top down or right associative not bottom up or left associative That is bpq b pq displaystyle b p q b left p q right which in general is different from bp q bpq displaystyle left b p right q b pq Powers of a sum The powers of a sum can normally be computed from the powers of the summands by the binomial formula a b n i 0n ni aibn i i 0nn i n i aibn i displaystyle a b n sum i 0 n binom n i a i b n i sum i 0 n frac n i n i a i b n i However this formula is true only if the summands commute i e that ab ba which is implied if they belong to a structure that is commutative Otherwise if a and b are say square matrices of the same size this formula cannot be used It follows that in computer algebra many algorithms involving integer exponents must be changed when the exponentiation bases do not commute Some general purpose computer algebra systems use a different notation sometimes instead of for exponentiation with non commuting bases which is then called non commutative exponentiation Combinatorial interpretation For nonnegative integers n and m the value of nm is the number of functions from a set of m elements to a set of n elements see cardinal exponentiation Such functions can be represented as m tuples from an n element set or as m letter words from an n letter alphabet Some examples for particular values of m and n are given in the following table nm The nm possible m tuples of elements from the set 1 n 05 0 none14 1 1 1 1 1 23 8 1 1 1 1 1 2 1 2 1 1 2 2 2 1 1 2 1 2 2 2 1 2 2 2 32 9 1 1 1 2 1 3 2 1 2 2 2 3 3 1 3 2 3 3 41 4 1 2 3 4 50 1 Particular bases Powers of ten In the base ten decimal number system integer powers of 10 are written as the digit 1 followed or preceded by a number of zeroes determined by the sign and magnitude of the exponent For example 103 1000 and 10 4 0 0001 Exponentiation with base 10 is used in scientific notation to denote large or small numbers For instance 299792 458 m s the speed of light in vacuum in metres per second can be written as 2 997924 58 108 m s and then approximated as 2 998 108 m s SI prefixes based on powers of 10 are also used to describe small or large quantities For example the prefix kilo means 103 1000 so a kilometre is 1000 m Powers of two The first negative powers of 2 have special names 2 1 displaystyle 2 1 is a half 2 2 displaystyle 2 2 is a quarter Powers of 2 appear in set theory since a set with n members has a power set the set of all of its subsets which has 2n members Integer powers of 2 are important in computer science The positive integer powers 2n give the number of possible values for an n bit integer binary number for example a byte may take 28 256 different values The binary number system expresses any number as a sum of powers of 2 and denotes it as a sequence of 0 and 1 separated by a binary point where 1 indicates a power of 2 that appears in the sum the exponent is determined by the place of this 1 the nonnegative exponents are the rank of the 1 on the left of the point starting from 0 and the negative exponents are determined by the rank on the right of the point Powers of one Every power of one equals 1n 1 Powers of zero For a positive exponent n gt 0 the n th power of zero is zero 0n 0 For a negative exponent 0 n 1 0n 1 0 displaystyle 0 n 1 0 n 1 0 is undefined The expression 00 is either defined as limx 0xx 1 displaystyle lim x to 0 x x 1 or it is left undefined Powers of negative one Since a negative number times another negative is positive we have 1 n 1for even n 1for odd n displaystyle 1 n left begin array rl 1 amp text for even n 1 amp text for odd n end array right Because of this powers of 1 are useful for expressing alternating sequences For a similar discussion of powers of the complex number i see nth roots of a complex number Large exponents The limit of a sequence of powers of a number greater than one diverges in other words the sequence grows without bound bn as n when b gt 1 This can be read as b to the power of n tends to as n tends to infinity when b is greater than one Powers of a number with absolute value less than one tend to zero bn 0 as n when b lt 1 Any power of one is always one bn 1 for all n for b 1 Powers of a negative number b 1 displaystyle b leq 1 alternate between positive and negative as n alternates between even and odd and thus do not tend to any limit as n grows If the exponentiated number varies while tending to 1 as the exponent tends to infinity then the limit is not necessarily one of those above A particularly important case is 1 1 n n e as n See Exponential function below Other limits in particular those of expressions that take on an indeterminate form are described in Limits of powers below Power functions Power functions for n 1 3 5Power functions for n 2 4 6 Real functions of the form f x cxn displaystyle f x cx n where c 0 displaystyle c neq 0 are sometimes called power functions When n displaystyle n is an integer and n 1 displaystyle n geq 1 two primary families exist for n displaystyle n even and for n displaystyle n odd In general for c gt 0 displaystyle c gt 0 when n displaystyle n is even f x cxn displaystyle f x cx n will tend towards positive infinity with increasing x displaystyle x and also towards positive infinity with decreasing x displaystyle x All graphs from the family of even power functions have the general shape of y cx2 displaystyle y cx 2 flattening more in the middle as n displaystyle n increases Functions with this kind of symmetry f x f x displaystyle f x f x are called even functions When n displaystyle n is odd f x displaystyle f x s asymptotic behavior reverses from positive x displaystyle x to negative x displaystyle x For c gt 0 displaystyle c gt 0 f x cxn displaystyle f x cx n will also tend towards positive infinity with increasing x displaystyle x but towards negative infinity with decreasing x displaystyle x All graphs from the family of odd power functions have the general shape of y cx3 displaystyle y cx 3 flattening more in the middle as n displaystyle n increases and losing all flatness there in the straight line for n 1 displaystyle n 1 Functions with this kind of symmetry f x f x displaystyle f x f x are called odd functions For c lt 0 displaystyle c lt 0 the opposite asymptotic behavior is true in each case Table of powers of decimal digits n n2 n3 n4 n5 n6 n7 n8 n9 n101 1 1 1 1 1 1 1 1 12 4 8 16 32 64 128 256 512 10243 9 27 81 243 729 2187 6561 19683 590494 16 64 256 1024 4096 16384 65536 262144 1048 5765 25 125 625 3125 15625 78125 390625 1953 125 9765 6256 36 216 1296 7776 46656 279936 1679 616 10077 696 60466 1767 49 343 2401 16807 117649 823543 5764 801 40353 607 282475 2498 64 512 4096 32768 262144 2097 152 16777 216 134217 728 1073 741 8249 81 729 6561 59049 531441 4782 969 43046 721 387420 489 3486 784 40110 100 1000 10000 100000 1000 000 10000 000 100000 000 1000 000 000 10000 000 000Rational exponentsFrom top to bottom x1 8 x1 4 x1 2 x1 x2 x4 x8 If x is a nonnegative real number and n is a positive integer x1 n displaystyle x 1 n or xn displaystyle sqrt n x denotes the unique nonnegative real n th root of x that is the unique nonnegative real number y such that yn x displaystyle y n x If x is a positive real number and pq displaystyle frac p q is a rational number with p and q gt 0 integers then xp q textstyle x p q is defined as xpq xp 1q x1q p displaystyle x frac p q left x p right frac 1 q x frac 1 q p The equality on the right may be derived by setting y x1q displaystyle y x frac 1 q and writing x1q p yp yp q 1q yq p 1q xp 1q displaystyle x frac 1 q p y p left y p q right frac 1 q left y q p right frac 1 q x p frac 1 q If r is a positive rational number 0r 0 by definition All these definitions are required for extending the identity xr s xrs displaystyle x r s x rs to rational exponents On the other hand there are problems with the extension of these definitions to bases that are not positive real numbers For example a negative real number has a real n th root which is negative if n is odd and no real root if n is even In the latter case whichever complex n th root one chooses for x1n displaystyle x frac 1 n the identity xa b xab displaystyle x a b x ab cannot be satisfied For example 1 2 12 112 1 1 2 12 1 1 1 displaystyle left 1 2 right frac 1 2 1 frac 1 2 1 neq 1 2 cdot frac 1 2 1 1 1 See Real exponents and Non integer powers of complex numbers for details on the way these problems may be handled Real exponentsFor positive real numbers exponentiation to real powers can be defined in two equivalent ways either by extending the rational powers to reals by continuity Limits of rational exponents below or in terms of the logarithm of the base and the exponential function Powers via logarithms below The result is always a positive real number and the identities and properties shown above for integer exponents remain true with these definitions for real exponents The second definition is more commonly used since it generalizes straightforwardly to complex exponents On the other hand exponentiation to a real power of a negative real number is much more difficult to define consistently as it may be non real and have several values One may choose one of these values called the principal value but there is no choice of the principal value for which the identity br s brs displaystyle left b r right s b rs is true see Failure of power and logarithm identities Therefore exponentiation with a basis that is not a positive real number is generally viewed as a multivalued function Limits of rational exponents The limit of e1 n is e0 1 when n tends to the infinity Since any irrational number can be expressed as the limit of a sequence of rational numbers exponentiation of a positive real number b with an arbitrary real exponent x can be defined by continuity with the rule bx limr Q xbr b R x R displaystyle b x lim r in mathbb Q to x b r quad b in mathbb R x in mathbb R where the limit is taken over rational values of r only This limit exists for every positive b and every real x For example if x p the non terminating decimal representation p 3 14159 and the monotonicity of the rational powers can be used to obtain intervals bounded by rational powers that are as small as desired and must contain bp displaystyle b pi b3 b4 b3 1 b3 2 b3 14 b3 15 b3 141 b3 142 b3 1415 b3 1416 b3 14159 b3 14160 displaystyle left b 3 b 4 right left b 3 1 b 3 2 right left b 3 14 b 3 15 right left b 3 141 b 3 142 right left b 3 1415 b 3 1416 right left b 3 14159 b 3 14160 right ldots So the upper bounds and the lower bounds of the intervals form two sequences that have the same limit denoted bp displaystyle b pi This defines bx displaystyle b x for every positive b and real x as a continuous function of b and x See also Well defined expression Exponential function The exponential function may be defined as x ex displaystyle x mapsto e x where e 2 718 displaystyle e approx 2 718 is Euler s number but to avoid circular reasoning this definition cannot be used here Rather we give an independent definition of the exponential function exp x displaystyle exp x and of e exp 1 displaystyle e exp 1 relying only on positive integer powers repeated multiplication Then we sketch the proof that this agrees with the previous definition exp x ex displaystyle exp x e x There are many equivalent ways to define the exponential function one of them being exp x limn 1 xn n displaystyle exp x lim n rightarrow infty left 1 frac x n right n One has exp 0 1 displaystyle exp 0 1 and the exponential identity or multiplication rule exp x exp y exp x y displaystyle exp x exp y exp x y holds as well since exp x exp y limn 1 xn n 1 yn n limn 1 x yn xyn2 n displaystyle exp x exp y lim n rightarrow infty left 1 frac x n right n left 1 frac y n right n lim n rightarrow infty left 1 frac x y n frac xy n 2 right n and the second order term xyn2 displaystyle frac xy n 2 does not affect the limit yielding exp x exp y exp x y displaystyle exp x exp y exp x y Euler s number can be defined as e exp 1 displaystyle e exp 1 It follows from the preceding equations that exp x ex displaystyle exp x e x when x is an integer this results from the repeated multiplication definition of the exponentiation If x is real exp x ex displaystyle exp x e x results from the definitions given in preceding sections by using the exponential identity if x is rational and the continuity of the exponential function otherwise The limit that defines the exponential function converges for every complex value of x and therefore it can be used to extend the definition of exp z displaystyle exp z and thus ez displaystyle e z from the real numbers to any complex argument z This extended exponential function still satisfies the exponential identity and is commonly used for defining exponentiation for complex base and exponent Powers via logarithms The definition of ex as the exponential function allows defining bx for every positive real numbers b in terms of exponential and logarithm function Specifically the fact that the natural logarithm ln x is the inverse of the exponential function ex means that one has b exp ln b eln b displaystyle b exp ln b e ln b for every b gt 0 For preserving the identity ex y exy displaystyle e x y e xy one must have bx eln b x exln b displaystyle b x left e ln b right x e x ln b So exln b displaystyle e x ln b can be used as an alternative definition of bx for any positive real b This agrees with the definition given above using rational exponents and continuity with the advantage to extend straightforwardly to any complex exponent Complex exponents with a positive real baseIf b is a positive real number exponentiation with base b and complex exponent z is defined by means of the exponential function with complex argument see the end of Exponential function above as bz e zln b displaystyle b z e z ln b where ln b displaystyle ln b denotes the natural logarithm of b This satisfies the identity bz t bzbt displaystyle b z t b z b t In general bz t textstyle left b z right t is not defined since bz is not a real number If a meaning is given to the exponentiation of a complex number see Non integer powers of complex numbers below one has in general bz t bzt displaystyle left b z right t neq b zt unless z is real or t is an integer Euler s formula eiy cos y isin y displaystyle e iy cos y i sin y allows expressing the polar form of bz displaystyle b z in terms of the real and imaginary parts of z namely bx iy bx cos yln b isin yln b displaystyle b x iy b x cos y ln b i sin y ln b where the absolute value of the trigonometric factor is one This results from bx iy bxbiy bxeiyln b bx cos yln b isin yln b displaystyle b x iy b x b iy b x e iy ln b b x cos y ln b i sin y ln b Non integer exponents with a complex baseIn the preceding sections exponentiation with non integer exponents has been defined for positive real bases only For other bases difficulties appear already with the apparently simple case of n th roots that is of exponents 1 n displaystyle 1 n where n is a positive integer Although the general theory of exponentiation with non integer exponents applies to n th roots this case deserves to be considered first since it does not need to use complex logarithms and is therefore easier to understand n th roots of a complex number Every nonzero complex number z may be written in polar form as z rei8 r cos 8 isin 8 displaystyle z rho e i theta rho cos theta i sin theta where r displaystyle rho is the absolute value of z and 8 displaystyle theta is its argument The argument is defined up to an integer multiple of 2p this means that if 8 displaystyle theta is the argument of a complex number then 8 2kp displaystyle theta 2k pi is also an argument of the same complex number for every integer k displaystyle k The polar form of the product of two complex numbers is obtained by multiplying the absolute values and adding the arguments It follows that the polar form of an n th root of a complex number can be obtained by taking the n th root of the absolute value and dividing its argument by n rei8 1n rnei8n displaystyle left rho e i theta right frac 1 n sqrt n rho e frac i theta n If 2p displaystyle 2 pi is added to 8 displaystyle theta the complex number is not changed but this adds 2ip n displaystyle 2i pi n to the argument of the n th root and provides a new n th root This can be done n times and provides the n n th roots of the complex number It is usual to choose one of the n n th root as the principal root The common choice is to choose the n th root for which p lt 8 p displaystyle pi lt theta leq pi that is the n th root that has the largest real part and if there are two the one with positive imaginary part This makes the principal n th root a continuous function in the whole complex plane except for negative real values of the radicand This function equals the usual n th root for positive real radicands For negative real radicands and odd exponents the principal n th root is not real although the usual n th root is real Analytic continuation shows that the principal n th root is the unique complex differentiable function that extends the usual n th root to the complex plane without the nonpositive real numbers If the complex number is moved around zero by increasing its argument after an increment of 2p displaystyle 2 pi the complex number comes back to its initial position and its n th roots are permuted circularly they are multiplied by e2ip ne 2i pi n This shows that it is not possible to define a n th root function that is continuous in the whole complex plane Roots of unity The three third roots of 1 The n th roots of unity are the n complex numbers such that wn 1 where n is a positive integer They arise in various areas of mathematics such as in discrete Fourier transform or algebraic solutions of algebraic equations Lagrange resolvent The n n th roots of unity are the n first powers of w e2pin displaystyle omega e frac 2 pi i n that is 1 w0 wn w w1 w2 wn 1 displaystyle 1 omega 0 omega n omega omega 1 omega 2 omega n 1 The n th roots of unity that have this generating property are called primitive n th roots of unity they have the form wk e2kpin displaystyle omega k e frac 2k pi i n with k coprime with n The unique primitive square root of unity is 1 displaystyle 1 the primitive fourth roots of unity are i displaystyle i and i displaystyle i The n th roots of unity allow expressing all n th roots of a complex number z as the n products of a given n th roots of z with a n th root of unity Geometrically the n th roots of unity lie on the unit circle of the complex plane at the vertices of a regular n gon with one vertex on the real number 1 As the number e2kpin displaystyle e frac 2k pi i n is the primitive n th root of unity with the smallest positive argument it is called the principal primitive n th root of unity sometimes shortened as principal n th root of unity although this terminology can be confused with the principal value of 11 n displaystyle 1 1 n which is 1 Complex exponentiation Defining exponentiation with complex bases leads to difficulties that are similar to those described in the preceding section except that there are in general infinitely many possible values for zwz w So either a principal value is defined which is not continuous for the values of z that are real and nonpositive or zwz w is defined as a multivalued function In all cases the complex logarithm is used to define complex exponentiation as zw ewlog z displaystyle z w e w log z where log z displaystyle log z is the variant of the complex logarithm that is used which is a function or a multivalued function such that elog z z displaystyle e log z z for every z in its domain of definition Principal value The principal value of the complex logarithm is the unique continuous function commonly denoted log displaystyle log such that for every nonzero complex number z elog z z displaystyle e log z z and the argument of z satisfies p lt Arg z p displaystyle pi lt operatorname Arg z leq pi The principal value of the complex logarithm is not defined for z 0 displaystyle z 0 it is discontinuous at negative real values of z and it is holomorphic that is complex differentiable elsewhere If z is real and positive the principal value of the complex logarithm is the natural logarithm log z ln z displaystyle log z ln z The principal value of zw displaystyle z w is defined as zw ewlog z displaystyle z w e w log z where log z displaystyle log z is the principal value of the logarithm The function z w zw displaystyle z w to z w is holomorphic except in the neighbourhood of the points where z is real and nonpositive If z is real and positive the principal value of zw displaystyle z w equals its usual value defined above If w 1 n displaystyle w 1 n where n is an integer this principal value is the same as the one defined above Multivalued function In some contexts there is a problem with the discontinuity of the principal values of log z displaystyle log z and zw displaystyle z w at the negative real values of z In this case it is useful to consider these functions as multivalued functions If log z displaystyle log z denotes one of the values of the multivalued logarithm typically its principal value the other values are 2ikp log z displaystyle 2ik pi log z where k is any integer Similarly if zw displaystyle z w is one value of the exponentiation then the other values are given by ew 2ikp log z zwe2ikpw displaystyle e w 2ik pi log z z w e 2ik pi w where k is any integer Different values of k give different values of zw displaystyle z w unless w is a rational number that is there is an integer d such that dw is an integer This results from the periodicity of the exponential function more specifically that ea eb displaystyle e a e b if and only if a b displaystyle a b is an integer multiple of 2pi displaystyle 2 pi i If w mn displaystyle w frac m n is a rational number with m and n coprime integers with n gt 0 displaystyle n gt 0 then zw displaystyle z w has exactly n values In the case m 1 displaystyle m 1 these values are the same as those described in n th roots of a complex number If w is an integer there is only one value that agrees with that of Integer exponents The multivalued exponentiation is holomorphic for z 0 displaystyle z neq 0 in the sense that its graph consists of several sheets that define each a holomorphic function in the neighborhood of every point If z varies continuously along a circle around 0 then after a turn the value of zw displaystyle z w has changed of sheet Computation The canonical form x iy displaystyle x iy of zw displaystyle z w can be computed from the canonical form of z and w Although this can be described by a single formula it is clearer to split the computation in several steps Polar form of z If z a ib displaystyle z a ib is the canonical form of z a and b being real then its polar form is z rei8 r cos 8 isin 8 displaystyle z rho e i theta rho cos theta i sin theta with r a2 b2 textstyle rho sqrt a 2 b 2 and 8 atan2 b a displaystyle theta operatorname atan2 b a where atan2 displaystyle operatorname atan2 is the two argument arctangent function Logarithm of z The principal value of this logarithm is log z ln r i8 displaystyle log z ln rho i theta where ln displaystyle ln denotes the natural logarithm The other values of the logarithm are obtained by adding 2ikp displaystyle 2ik pi for any integer k Canonical form of wlog z displaystyle w log z If w c di displaystyle w c di with c and d real the values of wlog z displaystyle w log z are wlog z cln r d8 2dkp i dln r c8 2ckp displaystyle w log z c ln rho d theta 2dk pi i d ln rho c theta 2ck pi the principal value corresponding to k 0 displaystyle k 0 Final result Using the identities ex y exey displaystyle e x y e x e y and eyln x xy displaystyle e y ln x x y one gets zw rce d 8 2kp cos dln r c8 2ckp isin dln r c8 2ckp displaystyle z w rho c e d theta 2k pi left cos d ln rho c theta 2ck pi i sin d ln rho c theta 2ck pi right with k 0 displaystyle k 0 for the principal value Examples ii displaystyle i i The polar form of i is i eip 2 displaystyle i e i pi 2 and the values of log i displaystyle log i are thus log i i p2 2kp displaystyle log i i left frac pi 2 2k pi right It follows that ii eilog i e p2e 2kp displaystyle i i e i log i e frac pi 2 e 2k pi So all values of ii displaystyle i i are real the principal one being e p2 0 2079 displaystyle e frac pi 2 approx 0 2079 2 3 4i displaystyle 2 3 4i Similarly the polar form of 2 is 2 2eip displaystyle 2 2e i pi So the above described method gives the values 2 3 4i 23e 4 p 2kp cos 4ln 2 3 p 2kp isin 4ln 2 3 p 2kp 23e 4 p 2kp cos 4ln 2 isin 4ln 2 displaystyle begin aligned 2 3 4i amp 2 3 e 4 pi 2k pi cos 4 ln 2 3 pi 2k pi i sin 4 ln 2 3 pi 2k pi amp 2 3 e 4 pi 2k pi cos 4 ln 2 i sin 4 ln 2 end aligned In this case all the values have the same argument 4ln 2 displaystyle 4 ln 2 and different absolute values In both examples all values of zw displaystyle z w have the same argument More generally this is true if and only if the real part of w is an integer Failure of power and logarithm identities Some identities for powers and logarithms for positive real numbers will fail for complex numbers no matter how complex powers and complex logarithms are defined as single valued functions For example The identity log bx x log b holds whenever b is a positive real number and x is a real number But for the principal branch of the complex logarithm one has log i 2 log 1 ip 2log i 2log e ip 2 2 ip2 ip displaystyle log i 2 log 1 i pi neq 2 log i 2 log e i pi 2 2 frac i pi 2 i pi Regardless of which branch of the logarithm is used a similar failure of the identity will exist The best that can be said if only using this result is that log wz zlog w mod2pi displaystyle log w z equiv z log w pmod 2 pi i This identity does not hold even when considering log as a multivalued function The possible values of log wz contain those of z log w as a proper subset Using Log w for the principal value of log w and m n as any integers the possible values of both sides are log wz z Log w z 2pin 2pim m n Z zlog w zLog w z 2pin n Z displaystyle begin aligned left log w z right amp left z cdot operatorname Log w z cdot 2 pi in 2 pi im mid m n in mathbb Z right left z log w right amp left z operatorname Log w z cdot 2 pi in mid n in mathbb Z right end aligned The identities bc x bxcx and b c x bx cx are valid when b and c are positive real numbers and x is a real number But for the principal values one has 1 1 12 1 1 12 1 12 i i i2 1 displaystyle 1 cdot 1 frac 1 2 1 neq 1 frac 1 2 1 frac 1 2 i cdot i i 2 1 and 1 1 12 1 12 i 112 1 12 1i i displaystyle left frac 1 1 right frac 1 2 1 frac 1 2 i neq frac 1 frac 1 2 1 frac 1 2 frac 1 i i On the other hand when x is an integer the identities are valid for all nonzero complex numbers If exponentiation is considered as a multivalued function then the possible values of 1 1 1 2 are 1 1 The identity holds but saying 1 1 1 1 2 is incorrect The identity ex y exy holds for real numbers x and y but assuming its truth for complex numbers leads to the following paradox discovered in 1827 by Clausen For any integer n we have e1 2pin e1e2pin e 1 e displaystyle e 1 2 pi in e 1 e 2 pi in e cdot 1 e e1 2pin 1 2pin e displaystyle left e 1 2 pi in right 1 2 pi in e qquad taking the 1 2pin displaystyle 1 2 pi in th power of both sides e1 4pin 4p2n2 e displaystyle e 1 4 pi in 4 pi 2 n 2 e qquad using ex y exy displaystyle left e x right y e xy and expanding the exponent e1e4pine 4p2n2 e displaystyle e 1 e 4 pi in e 4 pi 2 n 2 e qquad using ex y exey displaystyle e x y e x e y e 4p2n2 1 displaystyle e 4 pi 2 n 2 1 qquad dividing by e but this is false when the integer n is nonzero The error is the following by definition ey displaystyle e y is a notation for exp y displaystyle exp y a true function and xy displaystyle x y is a notation for exp ylog x displaystyle exp y log x which is a multi valued function Thus the notation is ambiguous when x e Here before expanding the exponent the second line should be exp 1 2pin log exp 1 2pin exp 1 2pin displaystyle exp left 1 2 pi in log exp 1 2 pi in right exp 1 2 pi in Therefore when expanding the exponent one has implicitly supposed that log exp z z displaystyle log exp z z for complex values of z which is wrong as the complex logarithm is multivalued In other words the wrong identity ex y exy must be replaced by the identity ex y eylog ex displaystyle left e x right y e y log e x which is a true identity between multivalued functions Irrationality and transcendenceIf b is a positive real algebraic number and x is a rational number then bx is an algebraic number This results from the theory of algebraic extensions This remains true if b is any algebraic number in which case all values of bx as a multivalued function are algebraic If x is irrational that is not rational and both b and x are algebraic Gelfond Schneider theorem asserts that all values of bx are transcendental that is not algebraic except if b equals 0 or 1 In other words if x is irrational and b 0 1 displaystyle b not in 0 1 then at least one of b x and bx is transcendental Integer powers in algebraThe definition of exponentiation with positive integer exponents as repeated multiplication may apply to any associative operation denoted as a multiplication The definition of x0 requires further the existence of a multiplicative identity An algebraic structure consisting of a set together with an associative operation denoted multiplicatively and a multiplicative identity denoted by 1 is a monoid In such a monoid exponentiation of an element x is defined inductively by x0 1 displaystyle x 0 1 xn 1 xxn displaystyle x n 1 xx n for every nonnegative integer n If n is a negative integer xn displaystyle x n is defined only if x has a multiplicative inverse In this case the inverse of x is denoted x 1 and xn is defined as x 1 n displaystyle left x 1 right n Exponentiation with integer exponents obeys the following laws for x and y in the algebraic structure and m and n integers x0 1xm n xmxn xm n xmn xy n xnynif xy yx and in particular if the multiplication is commutative displaystyle begin aligned x 0 amp 1 x m n amp x m x n x m n amp x mn xy n amp x n y n quad text if xy yx text and in particular if the multiplication is commutative end aligned These definitions are widely used in many areas of mathematics notably for groups rings fields square matrices which form a ring They apply also to functions from a set to itself which form a monoid under function composition This includes as specific instances geometric transformations and endomorphisms of any mathematical structure When there are several operations that may be repeated it is common to indicate the repeated operation by placing its symbol in the superscript before the exponent For example if f is a real function whose valued can be multiplied fn displaystyle f n denotes the exponentiation with respect of multiplication and f n displaystyle f circ n may denote exponentiation with respect of function composition That is fn x f x n f x f x f x displaystyle f n x f x n f x f x cdots f x and f n x f f f f x displaystyle f circ n x f f cdots f f x cdots Commonly fn x displaystyle f n x is denoted f x n displaystyle f x n while f n x displaystyle f circ n x is denoted fn x displaystyle f n x In a group A multiplicative group is a set with as associative operation denoted as multiplication that has an identity element and such that every element has an inverse So if G is a group xn displaystyle x n is defined for every x G displaystyle x in G and every integer n The set of all powers of an element of a group form a subgroup A group or subgroup that consists of all powers of a specific element x is the cyclic group generated by x If all the powers of x are distinct the group is isomorphic to the additive group Z displaystyle mathbb Z of the integers Otherwise the cyclic group is finite it has a finite number of elements and its number of elements is the order of x If the order of x is n then xn x0 1 displaystyle x n x 0 1 and the cyclic group generated by x consists of the n first powers of x starting indifferently from the exponent 0 or 1 Order of elements play a fundamental role in group theory For example the order of an element in a finite group is always a divisor of the number of elements of the group the order of the group The possible orders of group elements are important in the study of the structure of a group see Sylow theorems and in the classification of finite simple groups Superscript notation is also used for conjugation that is gh h 1gh where g and h are elements of a group This notation cannot be confused with exponentiation since the superscript is not an integer The motivation of this notation is that conjugation obeys some of the laws of exponentiation namely gh k ghk displaystyle g h k g hk and gh k gkhk displaystyle gh k g k h k In a ring In a ring it may occur that some nonzero elements satisfy xn 0 displaystyle x n 0 for some integer n Such an element is said to be nilpotent In a commutative ring the nilpotent elements form an ideal called the nilradical of the ring If the nilradical is reduced to the zero ideal that is if x 0 displaystyle x neq 0 implies xn 0 displaystyle x n neq 0 for every positive integer n the commutative ring is said to be reduced Reduced rings are important in algebraic geometry since the coordinate ring of an affine algebraic set is always a reduced ring More generally given an ideal I in a commutative ring R the set of the elements of R that have a power in I is an ideal called the radical of I The nilradical is the radical of the zero ideal A radical ideal is an ideal that equals its own radical In a polynomial ring k x1 xn displaystyle k x 1 ldots x n over a field k an ideal is radical if and only if it is the set of all polynomials that are zero on an affine algebraic set this is a consequence of Hilbert s Nullstellensatz Matrices and linear operators If A is a square matrix then the product of A with itself n times is called the matrix power Also A0 displaystyle A 0 is defined to be the identity matrix and if A is invertible then A n A 1 n displaystyle A n left A 1 right n Matrix powers appear often in the context of discrete dynamical systems where the matrix A expresses a transition from a state vector x of some system to the next state Ax of the system This is the standard interpretation of a Markov chain for example Then A2x displaystyle A 2 x is the state of the system after two time steps and so forth Anx displaystyle A n x is the state of the system after n time steps The matrix power An displaystyle A n is the transition matrix between the state now and the state at a time n steps in the future So computing matrix powers is equivalent to solving the evolution of the dynamical system In many cases matrix powers can be expediently computed by using eigenvalues and eigenvectors Apart from matrices more general linear operators can also be exponentiated An example is the derivative operator of calculus d dx displaystyle d dx which is a linear operator acting on functions f x displaystyle f x to give a new function d dx f x f x displaystyle d dx f x f x The n th power of the differentiation operator is the n th derivative ddx nf x dndxnf x f n x displaystyle left frac d dx right n f x frac d n dx n f x f n x These examples are for discrete exponents of linear operators but in many circumstances it is also desirable to define powers of such operators with continuous exponents This is the starting point of the mathematical theory of semigroups Just as computing matrix powers with discrete exponents solves discrete dynamical systems so does computing matrix powers with continuous exponents solve systems with continuous dynamics Examples include approaches to solving the heat equation Schrodinger equation wave equation and other partial differential equations including a time evolution The special case of exponentiating the derivative operator to a non integer power is called the fractional derivative which together with the fractional integral is one of the basic operations of the fractional calculus Finite fields A field is an algebraic structure in which multiplication addition subtraction and division are defined and satisfy the properties that multiplication is associative and every nonzero element has a multiplicative inverse This implies that exponentiation with integer exponents is well defined except for nonpositive powers of 0 Common examples are the field of complex numbers the real numbers and the rational numbers considered earlier in this article which are all infinite A finite field is a field with a finite number of elements This number of elements is either a prime number or a prime power that is it has the form q pk displaystyle q p k where p is a prime number and k is a positive integer For every such q there are fields with q elements The fields with q elements are all isomorphic which allows in general working as if there were only one field with q elements denoted Fq displaystyle mathbb F q One has xq x displaystyle x q x for every x Fq displaystyle x in mathbb F q A primitive element in Fq displaystyle mathbb F q is an element g such that the set of the q 1 first powers of g that is g1 g g2 gp 1 g0 1 displaystyle g 1 g g 2 ldots g p 1 g 0 1 equals the set of the nonzero elements of Fq displaystyle mathbb F q There are f p 1 displaystyle varphi p 1 primitive elements in Fq displaystyle mathbb F q where f displaystyle varphi is Euler s totient function In Fq displaystyle mathbb F q the freshman s dream identity x y p xp yp displaystyle x y p x p y p is true for the exponent p As xp x displaystyle x p x in Fq displaystyle mathbb F q It follows that the map F