Exponentiation



Exponentiation is a mathematical operation, written as, involving two numbers, the base and the exponent or power. When is a positive integer, exponentiation corresponds to repeated multiplication of the base: that is, is the product of multiplying bases:
The exponent [|is usually shown] as a superscript to the right of the base. In that case, is called "b raised to the n-th power", "b raised to the power of n", "the n-th power of b", "b to the n-th", or most briefly as "b to the n".
One has, and, for any positive integers and, one has. To extend this property to non-positive integer exponents, is defined to be, and with a positive integer and not zero is defined as. In particular, is equal to, the reciprocal of.
The definition of exponentiation can be extended to allow any real or complex exponent. Exponentiation by integer exponents can also be defined for a wide variety of algebraic structures, including matrices.
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.

History of the notation

The term power is a mistranslation of the ancient Greek δύναμις used by the Greek mathematician Euclid for the square of a line, following Hippocrates of Chios. Archimedes discovered and proved the law of exponents,, necessary to manipulate powers of. In the 9th century, the Persian mathematician Muhammad ibn Mūsā al-Khwārizmī used the terms مَال 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 كَعْبَة for a cube, which later Islamic mathematicians represented in mathematical notation as the letters mīm and kāf, respectively, by the 15th century, as seen in the work of Abū al-Hasan ibn Alī al-Qalasādī.
In the late 16th century, Jost Bürgi used Roman numerals for exponents.
Nicolas Chuquet used a form of exponential notation in the 15th century, which was later used by Henricus Grammateus and Michael Stifel in the 16th century. The word exponent was coined in 1544 by Michael Stifel. Samuel Jeake introduced the term indices in 1696. In the 16th century Robert Recorde used the terms square, cube, zenzizenzic, sursolid, zenzicube, second sursolid, and zenzizenzizenzic. Biquadrate has been used to refer to the fourth power as well.
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.
Some mathematicians used exponents only for powers greater than two, preferring to represent squares as repeated multiplication. Thus they would write polynomials, for example, as.
Another historical synonym, involution, is now rare and should not be confused with its more common meaning.
In 1748 Leonhard Euler wrote "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." With this introduction of transcendental functions, Euler laid the foundation for the modern introduction of natural logarithm as the inverse function for the natural exponential function,.

Terminology

The expression is called "the square of b" or "b squared" because the area of a square with side-length is.
The expression is called "the cube of b" or "b cubed" because the volume of a cube with side-length is.
When it is a positive integer, the exponent indicates how many copies of the base are multiplied together. For example,. The base appears times in the repeated multiplication, because the exponent is. Here, is the base, is the exponent, and 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 can also be read "3 to the 5th" or "3 to the 5". Therefore, the exponentiation can be expressed as "b to the power of n", "b to the nth power", "b to the nth", or most briefly as "b to the n".

Integer exponents

The exponentiation operation with integer exponents may be defined directly from elementary arithmetic operations.

Positive exponents

Powers with positive integer exponents may be defined by the base case
and the recurrence relation
The associativity of multiplication implies that for any positive integers and,

Zero exponent

Any nonzero number raised to the power is :
One interpretation of such a power is as an empty product.
The case of is more complicated, and the choice of whether to assign it a value and what value to assign may depend on context.

Negative exponents

The following identity holds for any integer and nonzero :
Raising 0 to a negative exponent is undefined, but in some circumstances, it may be interpreted as infinity.
The identity above may be derived through a definition aimed at extending the range of exponents to negative integers.
For non-zero and positive, the recurrence relation above can be rewritten as
By defining this relation as valid for all integer and nonzero, it follows that
and more generally for any nonzero and any nonnegative integer,
This is then readily shown to be true for every integer.

Identities and properties

The following identities hold for all integer exponents, provided that the base is non-zero:
Unlike addition and multiplication:

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 belong to a structure that is commutative, or, at least if. Otherwise, for example if and are 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 for exponentiation with non-commuting bases, which is then called non-commutative exponentiation.

Combinatorial interpretation

For nonnegative integers and, the value of is the number of functions from a set of elements to a set of elements. Such functions can be represented as -tuples from an -element set. Some examples for particular values of and are given in the following table:

Particular bases

Powers of ten

In the base ten number system, integer powers of are written as the digit followed or preceded by a number of zeroes determined by the sign and magnitude of the exponent. For example, and.
Exponentiation with base 10 | is used in scientific notation to denote large or small numbers. For instance, can be written as and then approximated as.
SI prefixes based on powers of are also used to describe small or large quantities. For example, the prefix kilo means, so a kilometre is.

Powers of two

The first negative powers of are commonly used, and have special names, e.g.: half and quarter.
Powers of appear in set theory, since a set with members has a power set, the set of all of its subsets, which has members.
Integer powers of are important in computer science. The positive integer powers give the number of possible values for an -bit integer binary number; for example, a byte may take different values. The binary number system expresses any number as a sum of powers of, and denotes it as a sequence of and, separated by a binary point, where indicates a power of that appears in the sum; the exponent is determined by the place of this : the nonnegative exponents are the rank of the on the left of the point, and the negative exponents are determined by the rank on the right of the point.

Powers of one

The powers of one are all one:.

Powers of zero

If the exponent is positive, the th power of zero is zero:.
If the exponent is negative, the th power of zero is undefined, because it must equal with, and this would be according to above.
The expression is either defined as 1, or it is left undefined.

Powers of negative one

If is an even integer, then.
If is an odd integer, then.
Because of this, powers of are useful for expressing alternating sequences. For a similar discussion of powers of the complex number, see.

Large exponents

The limit of a sequence of powers of a number greater than one diverges; in other words, the sequence grows without bound:
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:
Any power of one is always one:
Powers of alternate between and as alternates between even and odd, and thus do not tend to any limit as grows.
If,, alternates between larger and larger positive and negative numbers as alternates between even and odd, and thus does not tend to any limit as grows.
If the exponentiated number varies while tending to as the exponent tends to infinity, then the limit is not necessarily one of those above. A particularly important case is
See [|below].
Other limits, in particular those of expressions that take on an indeterminate form, are described in below.

Power functions

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.

List of whole-number powers

Rational exponents

An nth root of a number b is a number x such that.
If b is a positive real number and n is a positive integer, then there is exactly one positive real solution to. This solution is called the principal nth root of b. It is denoted, where is the radical symbol; alternatively, the principal root may be written b1/n. For example: and.
The fact that solves follows from noting that
If n is even and b is positive, then has two real solutions, which are the positive and negative nth roots of b, that is, and
If n is even and b is negative, the equation has no solution in real numbers.
If n is odd, then has exactly one real solution, which is positive if b is positive and negative if b is negative.
Taking a positive real number b to a rational exponent u/v, where u is an integer and v is a positive integer, and considering principal roots only, yields
Taking a negative real number b to a rational power u/v, where u/v is in lowest terms, yields a positive real result if u is even, and hence v is odd, because then bu is positive; and yields a negative real result, if u and v are both odd, because then bu is negative. The case of even v cannot be treated this way within the reals, since there is no real number x such that, the value of bu/v in this case must use the imaginary unit i, as described more fully in the section § Powers of complex numbers.
Thus we have and. The number 4 has two 3/2 powers, namely 8 and −8; however, by convention the notation 43/2 employs the principal root, and results in 8. For employing the v-th root the u/v-th power is also called the v/u-th root, and for even v the term principal root denotes also the positive result.
This sign ambiguity needs to be taken care of when applying the power identities. For instance:
is clearly wrong. The problem starts already in the first equality by introducing a standard notation for an inherently ambiguous situation –asking for an even root– and simply relying wrongly on only one, the conventional or principal interpretation. The same problem occurs also with an inappropriately introduced surd-notation, inherently enforcing a positive result:
instead of
In general the same sort of problems occur for complex numbers as described in the section.

Real exponents

Exponentiation to real powers of positive real numbers can be defined either by extending the rational powers to reals by continuity, or more usually as given in below. The result is always a positive real number, and the [|identities and properties] shown above for integer exponents are true for positive real bases with non-integer exponents as well.
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 an identity such as
is true; see. Therefore, exponentiation with a basis that is not a positive real number is generally viewed as a multivalued function.

Limits of rational exponents

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 as r gets close to x is taken only over rational values of r. This limit only exists for positive b. The -definition of limit is used; this involves showing that for any desired accuracy of the result bx one can choose a sufficiently small interval around so all the rational powers in the interval are within the desired accuracy.
For example, if, the nonterminating decimal representation can be used to obtain the intervals bounded by rational powers
The bounded intervals converge to a unique real number, denoted by. This technique can be used to obtain the power of a positive real number b for any irrational exponent. The function is thus defined for any real number x.

The exponential function

The important mathematical constant E |, sometimes called Euler's number, is approximately equal to 2.718 and is the base of the natural logarithm. Although exponentiation of e could, in principle, be treated the same as exponentiation of any other real number, such exponentials turn out to have particularly elegant and useful properties. Among other things, these properties allow exponentials of e to be generalized in a natural way to other types of exponents, such as complex numbers or even matrices, while coinciding with the familiar meaning of exponentiation with rational exponents.
As a consequence, the notation ex usually denotes a generalized exponentiation definition called the exponential function, exp, which can be defined in many equivalent ways, for example, by
Among other properties, exp satisfies the exponential identity
The exponential function is defined for all integer, fractional, real, and complex values of x. In fact, the matrix exponential is well-defined for square matrices and is useful for solving systems of linear differential equations.
Since exp is equal to e, and exp satisfies this exponential identity, it immediately follows that exp coincides with the repeated-multiplication definition of ex for integer x, and it also follows that rational powers denote roots as usual, so exp coincides with the ex definitions in the previous section for all real x by continuity.

Powers via logarithms

When is defined as the exponential function, can be defined, for other positive real numbers, in terms of. Specifically, the natural logarithm is the inverse of the exponential function. It is defined for, and satisfies
If bx is to preserve the logarithm and exponent rules, then one must have
for each real number.
This can be used as an alternative definition of the real-number power and agrees with the definition given above using rational exponents and continuity. The definition of exponentiation using logarithms is more common in the context of complex numbers, as discussed below.

Real exponents with negative bases

Powers of a positive real number are always positive real numbers. The solution of x2 = 4, however, can be either 2 or −2. The principal value of 41/2 is 2, but −2 is also a valid square root. If the definition of exponentiation of real numbers is extended to allow negative results then the result is no longer well-behaved.
Neither the logarithm method nor the rational exponent method can be used to define br as a real number for a negative real number b and an arbitrary real number r. Indeed, er is positive for every real number r, so ln is not defined as a real number for.
The rational exponent method cannot be used for negative values of b because it relies on continuity. The function has a unique continuous extension from the rational numbers to the real numbers for each. But when, the function f is not even continuous on the set of rational numbers r for which it is defined.
For example, consider. The nth root of −1 is −1 for every odd natural number n. So if n is an odd positive integer, if m is odd, and if m is even. Thus the set of rational numbers q for which is dense in the rational numbers, as is the set of q for which. This means that the function q is not continuous at any rational number q where it is defined.
On the other hand, arbitrary [|complex powers] of negative numbers b can be defined by choosing a complex logarithm of b.

Irrational exponents

If b is a positive real algebraic number, and x is a rational number, it has been shown above that bx is an algebraic number. This remains true even if one accepts any algebraic number for b, with the only difference that bx may take several values, which are all algebraic. The Gelfond–Schneider theorem provides some information on the nature of bx when x is irrational. It states:

Complex exponents with a positive real base

If is a positive real number, and is any complex number, the power is defined as
where is the unique real solution to the equation, and the complex power of is defined by the exponential function, which is the unique function of a complex variable that is equal to its derivative and takes the value 1 for.
As, in general, is not a real number, an expression such as is not defined by the previous definition. It must be interpreted via the rules for [|powers of complex numbers], and, unless is real or is integer, does not generally equal, as one might expect.
There are various definitions of the exponential function but they extend compatibly to complex numbers and satisfy the exponential property. For any complex numbers z and w, the exponential function satisfies. In particular, for any complex number
The second term has a value given by Euler's formula
This formula links problems in trigonometry and algebra.
Therefore, for any complex number
Because of the Pythagorean trigonometric identity, the absolute value of is. Therefore, the real factor is the absolute value of and the imaginary part of the exponent identifies the argument of the complex number.

Series definition

The exponential function being equal to its derivative and satisfying its Taylor series must be
This infinite series, which is often taken as the definition of the exponential function for arbitrary complex exponents, is absolutely convergent for all complex numbers
When z is purely imaginary, that is, z = iy for a real number y, the series above becomes
which may be reordered to
The real and the imaginary parts of this expression are Taylor expansions of cosine and sine respectively, centered at zero, implying Euler's formula:

Limit definition

Another characterization of the exponential function is as the limit of, as n approaches infinity. By thinking of the nth power in this definition as repeated multiplication in polar form, it can be used to visually illustrate Euler's formula. Any complex number can be represented in polar form as, where r is the absolute value and θ is its argument. The product of two complex numbers and is.
Consider the right triangle in the complex plane which has,, and as vertices. For large values of n, the triangle is almost a circular sector with a radius of 1 and a small central angle equal to radians. 1 + may then be approximated by the number with polar form. So, in the limit as n approaches infinity, approaches, the point on the unit circle whose angle from the positive real axis is x radians. The Cartesian coordinates of this point are, so ; this is again Euler's formula, allowing the same connections to the trigonometric functions as elaborated with the series definition.

Periodicity

The solutions to the equation are the integer multiples of :
Thus, if is a complex number such that, then every that also satisfies can be obtained from, i.e., by adding an arbitrary integer multiple of to :
That is, the complex exponential function for any integer is a periodic function with period.

Examples

Powers of complex numbers

Integer powers of nonzero complex numbers are defined by repeated multiplication or division as above. If i is the imaginary unit and n is an integer, then in equals 1, i, −1, or −i, according to whether the integer n is congruent to 0, 1, 2, or 3 modulo 4. Because of this, the powers of i are useful for expressing sequences of period 4.
Complex powers of positive reals are defined via ex as in section [|Complex exponents with positive real bases] above. These are continuous functions.
Trying to extend these functions to the general case of noninteger powers of complex numbers that are not positive reals leads to difficulties. Either we define discontinuous functions or multivalued functions. Neither of these options is entirely satisfactory.
The rational power of a complex number must be the solution to an algebraic equation. Therefore, it always has a finite number of possible values. For example, must be a solution to the equation. But if w is a solution, then so is −w, because. A unique but somewhat arbitrary solution called the principal value can be chosen using a general rule which also applies for nonrational powers.
Complex powers and logarithms are more naturally handled as single valued functions on a Riemann surface. Single valued versions are defined by choosing a sheet. The value has a discontinuity along a branch cut. Choosing one out of many solutions as the principal value leaves us with functions that are not continuous, and the usual rules for manipulating powers can lead us astray.
Any nonrational power of a complex number has an infinite number of possible values because of the multi-valued nature of the complex logarithm. The principal value is a single value chosen from these by a rule which, amongst its other properties, ensures powers of complex numbers with a positive real part and zero imaginary part give the same value as does the rule defined above for the corresponding real base.
Exponentiating a real number to a complex power is formally a different operation from that for the corresponding complex number. However, in the common case of a positive real number the principal value is the same.
The powers of negative real numbers are not always defined and are discontinuous even where defined. In fact, they are only defined when the exponent is a rational number with the denominator being an odd integer. When dealing with complex numbers the complex number operation is normally used instead.

Complex exponents with complex bases

For complex numbers w and z with, the notation wz is ambiguous in the same sense that log w is.
To obtain a value of wz, first choose a logarithm of w; call it. Such a choice may be the principal value , or perhaps a value given by some other branch of log w fixed in advance. Then, using the complex exponential function one defines
because this agrees with the [|earlier definition] in the case where w is a positive real number and the principal value of is used.
If z is an integer, then the value of wz is independent of the choice of, and it agrees with the [|earlier definition of exponentiation with an integer exponent].
If z is a rational number m/n in lowest terms with, then the countably infinitely many choices of yield only n different values for wz; these values are the n complex solutions s to the equation.
If z is an irrational number, then the countably infinitely many choices of lead to infinitely many distinct values for wz.
The computation of complex powers is facilitated by converting the base w to polar form, as described in detail below.
A similar construction is employed in quaternions.

Complex roots of unity

A complex number w such that for a positive integer n is an 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.
If but for all natural numbers k such that, then w is called a primitive nth root of unity. The negative unit −1 is the only primitive square root of unity. The imaginary unit i is one of the two primitive 4th roots of unity; the other one is −i.
The number e is the primitive nth root of unity with the smallest positive argument.
The other nth roots of unity are given by
for.

Roots of arbitrary complex numbers

Although there are infinitely many possible values for a general complex logarithm, there are only a finite number of values for the power in the important special case where and is a positive integer. These are the th roots of ; they are solutions of the equation. As with real roots, a second root is also called a square root and a third root is also called a cube root.
It is usual in mathematics to define as the principal value of the root, which is, conventionally, the th root whose argument has the smallest absolute value. When is a positive real number, this is coherent with the usual convention of defining as the unique positive real th root. On the other hand, when is a negative real number, and is an odd integer, the unique real th root is not one of the two th roots whose argument has the smallest absolute value. In this case, the meaning of may depend on the context, and some care may be needed for avoiding errors.
The set of th roots of a complex number is obtained by multiplying the principal value by each of the th roots of unity. For example, the fourth roots of 16 are 2, −2, 2, and −2, because the principal value of the fourth root of 16 is 2 and the fourth roots of unity are 1, −1,, and −.

Computing complex powers

It is often easier to compute complex powers by writing the number to be exponentiated in polar form. Every complex number z can be written in the polar form
where r is a nonnegative real number and θ is the argument of z. The polar form has a simple geometric interpretation: if a complex number is thought of as representing a point in the complex plane using Cartesian coordinates, then is the same point in polar coordinates. That is, r is the "radius" and θ is the "angle". The polar angle θ is ambiguous since any integer multiple of 2π could be added to θ without changing the location of the point. Each choice of θ gives in general a different possible value of the power. A branch cut can be used to choose a specific value. The principal value, corresponds to θ chosen in the interval. For complex numbers with a positive real part and zero imaginary part using the principal value gives the same result as using the corresponding real number.
In order to compute the complex power wz, write w in polar form:
Then
and thus
If z is decomposed as, then the formula for wz can be written more explicitly as
This final formula allows complex powers to be computed easily from decompositions of the base into polar form and the exponent into Cartesian form. It is shown here both in polar form and in Cartesian form.
The following examples use the principal value, the branch cut which causes θ to be in the interval. To compute ii, write i in polar and Cartesian forms:
Then the formula above, with,,, and, yields
Similarly, to find, compute the polar form of −2:
and use the formula above to compute
The value of a complex power depends on the branch used. For example, if the polar form is used to compute ii, the power is found to be e−5π/2; the principal value of ii, computed above, is e−π/2. The set of all possible values for ii is given by
So there is an infinity of values that are possible candidates for the value of ii, one for each integer k. All of them have a zero imaginary part, so one can say ii has an infinity of valid real values.

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:

Generalizations

Monoids

Exponentiation with integer exponents can be defined in any multiplicative monoid. A monoid is an algebraic structure consisting of a set X together with a rule for composition satisfying an associative law and a multiplicative identity, denoted by 1. Exponentiation is defined inductively by
Monoids include many structures of importance in mathematics, including groups and rings, with more specific examples of the latter being matrix rings and fields.

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 n-th power of the differentiation operator is the n-th 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 all well-defined and satisfy their familiar properties. The real numbers, for example, form a field, as do the complex numbers and rational numbers. Unlike these familiar examples of fields, which are all infinite sets, some fields have only finitely many elements. The simplest example is the field with two elements with addition defined by and, and multiplication and.
Exponentiation in finite fields has applications in public key cryptography. For example, the Diffie–Hellman key exchange uses the fact that exponentiation is computationally inexpensive in finite fields, whereas the discrete logarithm is computationally expensive.
Any finite field F has the property that there is a unique prime number p such that for all x in F; that is, x added to itself p times is zero. For example, in, the prime number has this property. This prime number is called the characteristic of the field. Suppose that F is a field of characteristic p, and consider the function that raises each element of F to the power p. This is called the Frobenius automorphism of F. It is an automorphism of the field because of the Freshman's dream identity. The Frobenius automorphism is important in number theory because it generates the Galois group of F over its prime subfield.

In abstract algebra

Exponentiation for integer exponents can be defined for quite general structures in abstract algebra.
Let X be a set with a power-associative binary operation which is written multiplicatively. Then xn is defined for any element x of X and any nonzero natural number n as the product of n copies of x, which is recursively defined by
One has the following properties
If the operation has a two-sided identity element 1, then x0 is defined to be equal to 1 for any x:
If the operation also has two-sided inverses and is associative, then the magma is a group. The inverse of x can be denoted by x−1 and follows all the usual rules for exponents:
If the multiplication operation is commutative, then the following holds:
If the binary operation is written additively, as it often is for abelian groups, then "exponentiation is repeated multiplication" can be reinterpreted as "multiplication is repeated addition". Thus, each of the laws of exponentiation above has an analogue among laws of multiplication.
When there are several power-associative binary operations defined on a set, any of which might be iterated, it is common to indicate which operation is being repeated by placing its symbol in the superscript. Thus, xn is, while x#n is, whatever the operations ∗ and # might be.
Superscript notation is also used, especially in group theory, to indicate conjugation. That is,, where g and h are elements of some group. Although conjugation obeys some of the same laws as exponentiation, it is not an example of repeated multiplication in any sense. A quandle is an algebraic structure in which these laws of conjugation play a central role.

Over sets

If n is a natural number, and A is an arbitrary set, then the expression An is often used to denote the set of ordered n-tuples of elements of A. This is equivalent to letting An denote the set of functions from the set to the set A; the n-tuple represents the function that sends i to ai.
For an infinite cardinal number κ and a set A, the notation Aκ is also used to denote the set of all functions from a set of size κ to A. This is sometimes written κA to distinguish it from cardinal exponentiation, defined below.
This generalized exponential can also be defined for operations on sets or for sets with extra structure. For example, in linear algebra, it makes sense to index direct sums of vector spaces over arbitrary index sets. That is, we can speak of
where each Vi is a vector space.
Then if Vi = V for each i, the resulting direct sum can be written in exponential notation as VN, or simply VN with the understanding that the direct sum is the default. We can again replace the set N with a cardinal number n to get Vn, although without choosing a specific standard set with cardinality n, this is defined only up to isomorphism. Taking V to be the field R of real numbers and n to be some natural number, we get the vector space that is most commonly studied in linear algebra, the real vector space Rn.
If the base of the exponentiation operation is a set, the exponentiation operation is the Cartesian product unless otherwise stated. Since multiple Cartesian products produce an n-tuple, which can be represented by a function on a set of appropriate cardinality, SN becomes simply the set of all functions from N to S in this case:
This fits in with the exponentiation of cardinal numbers, in the sense that, where is the cardinality of X. When "2" is defined as, we have, where 2X, usually denoted by P, is the power set of X; each subset Y of X corresponds uniquely to a function on X taking the value 1 for and 0 for.

In category theory

In a Cartesian closed category, the exponential operation can be used to raise an arbitrary object to the power of another object. This generalizes the Cartesian product in the category of sets. If 0 is an initial object in a Cartesian closed category, then the exponential object 00 is isomorphic to any terminal object 1.

Of cardinal and ordinal numbers

In set theory, there are exponential operations for cardinal and ordinal numbers.
If κ and λ are cardinal numbers, the expression κλ represents the cardinality of the set of functions from any set of cardinality λ to any set of cardinality κ. If κ and λ are finite, then this agrees with the ordinary arithmetic exponential operation. For example, the set of 3-tuples of elements from a 2-element set has cardinality. In cardinal arithmetic, κ0 is always 1.
Exponentiation of cardinal numbers is distinct from exponentiation of ordinal numbers, which is defined by a limit process involving transfinite induction.

Repeated exponentiation

Just as exponentiation of natural numbers is motivated by repeated multiplication, it is possible to define an operation based on repeated exponentiation; this operation is sometimes called hyper-4 or tetration. Iterating tetration leads to another operation, and so on, a concept named hyperoperation. This sequence of operations is expressed by the Ackermann function and Knuth's up-arrow notation. Just as exponentiation grows faster than multiplication, which is faster-growing than addition, tetration is faster-growing than exponentiation. Evaluated at, the functions addition, multiplication, exponentiation, and tetration yield 6, 9, 27, and respectively.

Limits of powers

gives a number of examples of limits that are of the indeterminate form 00. The limits in these examples exist, but have different values, showing that the two-variable function has no limit at the point. One may consider at what points this function does have a limit.
More precisely, consider the function defined on Then can be viewed as a subset of , which will contain the points at which the function has a limit.
In fact, has a limit at all accumulation points of, except for,, and. Accordingly, this allows one to define the powers by continuity whenever,, except for 00, 0, 1+∞ and 1−∞, which remain indeterminate forms.
Under this definition by continuity, we obtain:
These powers are obtained by taking limits of for positive values of. This method does not permit a definition of when, since pairs with are not accumulation points of.
On the other hand, when is an integer, the power is already meaningful for all values of, including negative ones. This may make the definition obtained above for negative problematic when is odd, since in this case as tends to through positive values, but not negative ones.

Efficient computation with integer exponents

Computing bn using iterated multiplication requires multiplication operations, but it can be computed more efficiently than that, as illustrated by the following example. To compute 2100, note that. Compute the following in order:
  1. 22 = 4
  2. 2 = 24 = 16.
  3. 2 = 28 = 256.
  4. 2 = 216 =.
  5. 2 = 232 =.
  6. 2 = 264 =.
  7. 264 232 24 = 2100 =.
This series of steps only requires 8 multiplication operations instead of 99.
In general, the number of multiplication operations required to compute bn can be reduced to Θ by using exponentiation by squaring or addition-chain exponentiation. Finding the minimal sequence of multiplications for bn is a difficult problem, for which no efficient algorithms are currently known, but many reasonably efficient heuristic algorithms are available.

Exponential notation for function names

Placing an integer superscript after the name or symbol of a function, as if the function were being raised to a power, commonly refers to repeated function composition rather than repeated multiplication. Thus, may mean ; in particular, usually denotes the inverse function of. Iterated functions are of interest in the study of fractals and dynamical systems. Babbage was the first to study the problem of finding a functional square root.
For distinguising exponentiation from function composition, the common usage is to write the exponential exponent after the parenthesis enclosing the argument of the function; that is, means, and means.
For historical reasons, and because of the ambiguity resulting of not enclosing arguments with parentheses, a superscript after a function name applied specifically to the trigonometric and hyperbolic functions has a deviating meaning: a positive exponent applied to the function's abbreviation means that the result is raised to that power, while an exponent of still denotes the inverse function. That is, is just a shorthand way to write without using parentheses, whereas refers to the inverse function of the sine, also called. Each trigonometric and hyperbolic function has its own name and abbreviation both for the reciprocal, and its inverse. A similar convention applies to logarithms, where usually means, not.
To avoid ambiguity, some mathematicians choose to use to denote the compositional meaning, writing for the -th iterate of the function, as in, for example, meaning.

In programming languages

s generally express exponentiation either as an infix operator or as a function, as they are linear notations which do not support superscripts:
Many other programming languages lack syntactic support for exponentiation, but provide library functions:
For certain exponents there are special ways to compute xy much faster than through generic exponentiation. These cases include small positive and negative integers and roots over x0.5, prefer cbrt.
Not all programming languages adhere to the same association convention for exponentiation: while the Wolfram language, Google Search and others use right-association, many computer programs such as Microsoft Office Excel and Matlab associate to the left.