Exponentiation is a mathematical operation, written as b^{n}, 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, b^{n} is the product of multiplying n bases:
The exponent is usually shown as a superscript to the right of the base. In that case, b^{n} is called "b raised to the nth power", "b raised to the power of n", "the nth power of b", "b to the nth", or most briefly as "b to the n".
For any positive integers m and n, one has b^{n} ⋅ b^{m} = b^{n+m}. To extend this property to nonpositive integer exponents, b^{0} is defined to be 1, and b^{−n} with n a positive integer and b not zero is defined as 1/b^{n}. In particular, b^{−1} is equal to 1/b, the reciprocal of b.
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 publickey cryptography.
The term power was used by the Greek mathematician Euclid for the square of a line,^{[1]} following Hippocrates of Chios.^{[2]} Archimedes discovered and proved the law of exponents, 10^{a} ⋅ 10^{b} = 10^{a+b}, necessary to manipulate powers of 10.^{[3]} In the 9th century, the Persian mathematician Muhammad ibn Mūsā alKhwārizmī used the terms mal for a square and kahb for a cube, which later Islamic mathematicians represented in mathematical notation as m and k, respectively, by the 15th century, as seen in the work of Abū alHasan ibn Alī alQalasādī.^{[4]}
In the late 16th century, Jost Bürgi used Roman numerals for exponents.^{[5]}
Early in the 17th century, the first form of our modern exponential notation was introduced by Rene Descartes in his text titled La Géométrie; there, the notation is introduced in Book I.^{[6]}
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.^{[7]} Samuel Jeake introduced the term indices in 1696.^{[1]} In the 16th century Robert Recorde used the terms square, cube, zenzizenzic (fourth power), sursolid (fifth), zenzicube (sixth), second sursolid (seventh), and zenzizenzizenzic (eighth).^{[8]} Biquadrate has been used to refer to the fourth power as well.
Some mathematicians (e.g., Isaac Newton) 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 + cx^{3} + d.
Another historical synonym, involution,^{[9]} 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."^{[10]} 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, f(x) = e^{x}.
The expression b^{2} = b ⋅ b is called "the square of b" or "b squared" because the area of a square with sidelength b is b^{2}.
The expression b^{3} = b ⋅ b ⋅ b is called "the cube of b" or "b cubed" because the volume of a cube with sidelength b is b^{3}.
When it is a positive integer, the exponent indicates how many copies of the base are multiplied together. For example, 3^{5} = 3 ⋅ 3 ⋅ 3 ⋅ 3 ⋅ 3 = 243. The base 3 appears 5 times in the repeated multiplication, because the exponent is 5. Here, 3 is the base, 5 is the exponent, and 243 is the power or, more specifically, 3 raised to the 5th power.
The word "raised" is usually omitted, and sometimes "power" as well, so 3^{5} can also be read "3 to the 5th" or "3 to the 5". Therefore, the exponentiation b^{n} 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".
The exponentiation operation with integer exponents may be defined directly from elementary arithmetic operations.
Formally, powers with positive integer exponents may be defined by the initial condition^{[11]}
and the recurrence relation
From the associativity of multiplication, it follows that for any positive integers m and n,
Any nonzero number raised to the 0 power is 1:^{[12]}
One interpretation of such a power is as an empty product.
The case of 0^{0} is more complicated, and the choice of whether to assign it a value and what value to assign may depend on context.
The following identity holds for an arbitrary integer n and nonzero b:
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 nonzero b and positive n, the recurrence relation above can be rewritten as
By defining this relation as valid for all integer n and nonzero b, it follows that
and more generally for any nonzero b and any nonnegative integer n,
This is then readily shown to be true for every integer n.
The following identities hold for all integer exponents, provided that the base is nonzero:
Unlike addition and multiplication:
which, in general, is different from
For nonnegative integers n and m, the value of n^{m} 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 mtuples from an nelement set (or as mletter words from an nletter alphabet). Some examples for particular values of m and n are given in the following table:
n^{m}  The n^{m} possible mtuples of elements from the set {1, ..., n} 

none  
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, 10^{3} = 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×10^{8} m/s and then approximated as 2.998×10^{8} m/s.
SI prefixes based on powers of 10 are also used to describe small or large quantities. For example, the prefix kilo means 10^{3} = 1000, so a kilometre is 1000 m.
The first negative powers of 2 are commonly used, and have special names, e.g.: half and 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 2^{n} members.
Integer powers of 2 are important in computer science. The positive integer powers 2^{n} give the number of possible values for an nbit integer binary number; for example, a byte may take 2^{8} = 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.
The powers of one are all one: 1^{n} = 1.
If the exponent n is positive (n > 0), the nth power of zero is zero: 0^{n} = 0.
If the exponent n is negative (n < 0), the nth power of zero 0^{n} is undefined, because it must equal with n > 0, and this would be according to above.
The expression 0^{0} is either defined as 1, or it is left undefined (see Zero to the power of zero).
If n is an even integer, then (−1)^{n} = 1.
If n is an odd integer, then (−1)^{n} = −1.
Because of this, powers of −1 are useful for expressing alternating sequences. For a similar discussion of powers of the complex number i, see § Powers of complex numbers.
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 –1 alternate between 1 and –1 as n alternates between even and odd, and thus do not tend to any limit as n grows.
If b < –1, b^{n}, alternates between larger and larger positive and negative numbers as n alternates between even and odd, and thus does 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
See § The exponential function below.
Other limits, in particular those of expressions that take on an indeterminate form, are described in § Limits of powers below.
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.^{[15]} 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.^{[16]}
n  n^{2}  n^{3}  n^{4}  n^{5}  n^{6}  n^{7}  n^{8}  n^{9}  n^{10} 

2  4  8  16  32  64  128  256  512  1,024 
3  9  27  81  243  729  2,187  6,561  19,683  59,049 
4  16  64  256  1,024  4,096  16,384  65,536  262,144  1,048,576 
5  25  125  625  3,125  15,625  78,125  390,625  1,953,125  9,765,625 
6  36  216  1,296  7,776  46,656  279,936  1,679,616  10,077,696  60,466,176 
7  49  343  2,401  16,807  117,649  823,543  5,764,801  40,353,607  282,475,249 
8  64  512  4,096  32,768  262,144  2,097,152  16,777,216  134,217,728  1,073,741,824 
9  81  729  6,561  59,049  531,441  4,782,969  43,046,721  387,420,489  3,486,784,401 
10  100  1,000  10,000  100,000  1,000,000  10,000,000  100,000,000  1,000,000,000  10,000,000,000 
An nth root of a number b is a number x such that x^{n} = b.
If b is a positive real number and n is a positive integer, then there is exactly one positive real solution to x^{n} = b. This solution is called the principal nth root of b. It is denoted ^{n}√b, where √ is the radical symbol; alternatively, the principal root may be written b^{1/n}. For example: 9^{1/2} = √9 = 3 and 8^{1/3} = ^{3}√8 = 2.
The fact that solves follows from noting that
If n is even and b is positive, then x^{n} = b has two real solutions, which are the positive and negative nth roots of b, that is, b^{1/n} > 0 and −(b^{1/n}) < 0.
If n is even and b is negative, the equation has no solution in real numbers.
If n is odd, then x^{n} = b has exactly one real solution, which is positive if b is positive (b^{1/n} > 0) and negative if b is negative (b^{1/n} < 0).
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 b^{u} is positive; and yields a negative real result, if u and v are both odd, because then b^{u} is negative. The case of even v (and, hence, odd u) cannot be treated this way within the reals, since there is no real number x such that x^{2k} = −1, the value of b^{u/v} in this case must use the imaginary unit i, as described more fully in the section § Powers of complex numbers.
Thus we have (−27)^{1/3} = −3 and (−27)^{2/3} = 9. The number 4 has two 3/2th powers, namely 8 and −8; however, by convention the notation 4^{3/2} employs the principal root, and results in 8. For employing the vth root the u/vth power is also called the u/vth 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 surdnotation, inherently enforcing a positive result:
instead of
In general the same sort of problems occur for complex numbers as described in the section § Failure of power and logarithm identities.
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 § Powers via logarithms 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 noninteger 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 nonreal and have several values (see § Real exponents with negative bases). 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 § 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.
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^{[17]}
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 b^{x} one can choose a sufficiently small interval around x so all the rational powers in the interval are within the desired accuracy.
For example, if x = π, the nonterminating decimal representation π = 3.14159… can be used (based on strict monotonicity of the rational power) 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 f_{b}(x) = b^{x} is thus defined for any real number x.
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 e^{x} usually denotes a generalized exponentiation definition called the exponential function, exp(x), 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 welldefined for square matrices (in which case this exponential identity only holds when x and y commute), and is useful for solving systems of linear differential equations.
Since exp(1) is equal to e and exp(x) satisfies this exponential identity, it immediately follows that exp(x) coincides with the repeatedmultiplication definition of e^{x} for integer x, and it also follows that rational powers denote (positive) roots as usual, so exp(x) coincides with the e^{x} definitions in the previous section for all real x by continuity.
When e^{x} is defined as the exponential function, b^{x} can be defined, for other positive real numbers b, in terms of e^{x}. Specifically, the natural logarithm ln(x) is the inverse of the exponential function e^{x}. It is defined for b > 0, and satisfies
If b^{x} is to preserve the logarithm and exponent rules, then one must have
for each real number x.
This can be used as an alternative definition of the real number power b^{x} 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.
Powers of a positive real number are always positive real numbers. The solution of x^{2} = 4, however, can be either 2 or −2. The principal value of 4^{1/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 wellbehaved.
Neither the logarithm method nor the rational exponent method can be used to define b^{r} as a real number for a negative real number b and an arbitrary real number r. Indeed, e^{r} is positive for every real number r, so ln(b) is not defined as a real number for b ≤ 0.
The rational exponent method cannot be used for negative values of b because it relies on continuity. The function f(r) = b^{r} has a unique continuous extension^{[17]} from the rational numbers to the real numbers for each b > 0. But when b < 0, the function f is not even continuous on the set of rational numbers r for which it is defined.
For example, consider b = −1. The nth root of −1 is −1 for every odd natural number n. So if n is an odd positive integer, (−1)^{(m/n)} = −1 if m is odd, and (−1)^{(m/n)} = 1 if m is even. Thus the set of rational numbers q for which (−1)^{q} = 1 is dense in the rational numbers, as is the set of q for which (−1)^{q} = −1. This means that the function (−1)^{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.
If b is a positive real algebraic number, and x is a rational number, it has been shown above that b^{x} is an algebraic number. This remains true even if one accepts any algebraic number for b, with the only difference that b^{x} may take several values (a finite number, see below), which are all algebraic. The Gelfond–Schneider theorem provides some information on the nature of b^{x} when x is irrational (that is, not rational). It states:
If b is an algebraic number different from 0 and 1, and x an irrational algebraic number, then all values of b^{x} (there are infinitely many) are transcendental (that is, not algebraic).
If b is a positive real number, and z is any complex number, the power b^{z} is defined as
where x = ln(b) is the unique real solution to the equation e^{x} = b, and the complex power of e 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 x = 0.
As, in general, b^{z} is not a real number, an expression such as (b^{z})^{w} is not defined by the previous definition. It must be interpreted via the rules for powers of complex numbers, and, unless z is real or w is integer, does not generally equal b^{zw}, 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 1. Therefore the real factor is the absolute value of and the imaginary part of the exponent identifies the argument (angle) of the complex number .
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 e^{z} for arbitrary complex exponents, is absolutely convergent for all complex numbers z.
When z is purely imaginary, that is, z = iy for a real number y, the series above becomes
which (because it converges absolutely) 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:
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 for the same connections to the trigonometric functions as elaborated with the series definition.
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 k is a periodic function with period .
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 i^{n} 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 e^{x} 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, w = z^{1/2} must be a solution to the equation w^{2} = z. But if w is a solution, then so is −w, because (−1)^{2} = 1. 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 multivalued 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.
For complex numbers w and z with w ≠ 0, the notation w^{z} is ambiguous in the same sense that log w is.
To obtain a value of w^{z}, first choose a logarithm of w; call it log w. Such a choice may be the principal value Log w (the default, if no other specification is given), 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 (real) principal value of log w is used.
If z is an integer, then the value of w^{z} is independent of the choice of log w, 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 z > 0, then the countably infinitely many choices of log w yield only n different values for w^{z}; these values are the n complex solutions s to the equation s^{n} = w^{m}.
If z is an irrational number, then the countably infinitely many choices of log w lead to infinitely many distinct values for w^{z}.
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.
A complex number w such that w^{n} = 1 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 ngon with one vertex on the real number 1.
If w^{n} = 1 but w^{k} ≠ 1 for all natural numbers k such that 0 < k < n, 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^{2πi/n} is the primitive nth root of unity with the smallest positive argument. (It is sometimes called the principal nth root of unity, although this terminology is not universal and should not be confused with the principal value of ^{n}√1, which is 1.^{[18]})
The other nth roots of unity are given by
for 2 ≤ k ≤ n.
Although there are infinitely many possible values for a general complex logarithm, there are only a finite number of values for the power w^{q} in the important special case where q = 1/n and n is a positive integer. These are the nth roots of w; they are solutions of the equation z^{n} = w. 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 w^{1/n} as the principal value of the root, which is, conventionally, the nth root whose argument has the smallest absolute value. When w is a positive real number, this is coherent with the usual convention of defining w^{1/n} as the unique positive real nth root. On the other hand, when w is a negative real number, and n is an odd integer, the unique real nth root is not one of the two nth roots whose argument has the smallest absolute value. In this case, the meaning of w^{1/n} may depend on the context, and some care may be needed for avoiding errors.
The set of nth roots of a complex number w is obtained by multiplying the principal value w^{1/n} by each of the nth roots of unity. For example, the fourth roots of 16 are 2, −2, 2i, and −2i, because the principal value of the fourth root of 16 is 2 and the fourth roots of unity are 1, −1, i, and −i.
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 (real) argument of z. The polar form has a simple geometric interpretation: if a complex number u + iv is thought of as representing a point (u, v) in the complex plane using Cartesian coordinates, then (r, θ) is the same point in polar coordinates. That is, r is the "radius" r^{2} = u^{2} + v^{2} and θ is the "angle" θ = atan2(v, u). 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 (the most common branch cut), 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 w^{z}, write w in polar form:
Then
and thus
If z is decomposed as c + di, then the formula for w^{z} 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 (via Euler's identity).
The following examples use the principal value, the branch cut which causes θ to be in the interval (−π, π]. To compute i^{i}, write i in polar and Cartesian forms:
Then the formula above, with r = 1, θ = π/2, c = 0, and d = 1, yields:
Similarly, to find (−2)^{3 + 4i}, 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 i = 1e^{5πi/2} is used to compute i^{i}, the power is found to be e^{−5π/2}; the principal value of i^{i}, computed above, is e^{−π/2}. The set of all possible values for i^{i} is given by:^{[19]}
So there is an infinity of values which are possible candidates for the value of i^{i}, one for each integer k. All of them have a zero imaginary part so one can say i^{i} has an infinity of valid real values.
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 singlevalued functions. For example:
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(w^{z}) contain those of z ⋅ log w as a subset. Using Log(w) for the principal value of log(w) and m, n as any integers the possible values of both sides are:
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 wrong.Exponentiation with integer exponents can be defined in any multiplicative monoid.^{[21]} A monoid is an algebraic structure consisting of a set X together with a rule for composition ("multiplication") 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 (under multiplication), with more specific examples of the latter being matrix rings and fields.
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,^{[23]} 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.^{[24]} 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.^{[25]} 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 noninteger power is called the fractional derivative which, together with the fractional integral, is one of the basic operations of the fractional calculus.
A field is an algebraic structure in which multiplication, addition, subtraction, and division are all welldefined 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 (the inverse of exponentiation) 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 p = 2 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.
Exponentiation for integer exponents can be defined for quite general structures in abstract algebra.
Let X be a set with a powerassociative binary operation which is written multiplicatively. Then x^{n} 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 twosided identity element 1, then x^{0} is defined to be equal to 1 for any x.
If the operation also has twosided 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 (as for instance in abelian groups), 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 powerassociative 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, x^{∗n} is x ∗ ... ∗ x, while x^{#n} is x # ... # x, whatever the operations ∗ and # might be.
Superscript notation is also used, especially in group theory, to indicate conjugation. That is, g^{h} = h^{−1}gh, 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.
If n is a natural number and A is an arbitrary set, the expression A^{n} is often used to denote the set of ordered ntuples of elements of A. This is equivalent to letting A^{n} denote the set of functions from the set {0, 1, 2, ..., n−1} to the set A; the ntuple (a_{0}, a_{1}, a_{2}, ..., a_{n−1}) represents the function that sends i to a_{i}.
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 V_{i} is a vector space.
Then if V_{i} = V for each i, the resulting direct sum can be written in exponential notation as V^{⊕N}, or simply V^{N} with the understanding that the direct sum is the default. We can again replace the set N with a cardinal number n to get V^{n}, 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 (thought of as a vector space over itself) and n to be some natural number, we get the vector space that is most commonly studied in linear algebra, the real vector space R^{n}.
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 ntuple, which can be represented by a function on a set of appropriate cardinality, S^{N} 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 S^{N} = S^{N}, where X is the cardinality of X. When "2" is defined as {0, 1}, we have 2^{X} = 2^{X}, where 2^{X}, usually denoted by P(X), is the power set of X; each subset Y of X corresponds uniquely to a function on X taking the value 1 for x ∈ Y and 0 for x ∉ Y.
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 0^{0} is isomorphic to any terminal object 1.
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 κ.^{[26]} If κ and λ are finite, then this agrees with the ordinary arithmetic exponential operation. For example, the set of 3tuples of elements from a 2element set has cardinality 8 = 2^{3}. In cardinal arithmetic, κ^{0} is always 1 (even if κ is an infinite cardinal or zero).
Exponentiation of cardinal numbers is distinct from exponentiation of ordinal numbers, which is defined by a limit process involving transfinite induction.
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 hyper4 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 uparrow notation. Just as exponentiation grows faster than multiplication, which is fastergrowing than addition, tetration is fastergrowing than exponentiation. Evaluated at (3, 3), the functions addition, multiplication, exponentiation, and tetration yield 6, 9, 27, and 7625597484987 (= 3^{27} = 3^{33} = ^{3}3) respectively.
Zero to the power of zero gives a number of examples of limits that are of the indeterminate form 0^{0}. The limits in these examples exist, but have different values, showing that the twovariable function x^{y} has no limit at the point (0, 0). One may consider at what points this function does have a limit.
More precisely, consider the function f(x, y) = x^{y} defined on D = {(x, y) ∈ R^{2} : x > 0}. Then D can be viewed as a subset of R^{2} (that is, the set of all pairs (x, y) with x, y belonging to the extended real number line R = [−∞, +∞], endowed with the product topology), which will contain the points at which the function f has a limit.
In fact, f has a limit at all accumulation points of D, except for (0, 0), (+∞, 0), (1, +∞) and (1, −∞).^{[27]} Accordingly, this allows one to define the powers x^{y} by continuity whenever 0 ≤ x ≤ +∞, −∞ ≤ y ≤ +∞, except for 0^{0}, (+∞)^{0}, 1^{+∞} and 1^{−∞}, which remain indeterminate forms.
Under this definition by continuity, we obtain:
These powers are obtained by taking limits of x^{y} for positive values of x. This method does not permit a definition of x^{y} when x < 0, since pairs (x, y) with x < 0 are not accumulation points of D.
On the other hand, when n is an integer, the power x^{n} is already meaningful for all values of x, including negative ones. This may make the definition 0^{n} = +∞ obtained above for negative n problematic when n is odd, since in this case x^{n} → +∞ as x tends to 0 through positive values, but not negative ones.
Computing b^{n} using iterated multiplication requires n − 1 multiplication operations, but it can be computed more efficiently than that, as illustrated by the following example. To compute 2^{100}, note that 100 = 64 + 32 + 4. Compute the following in order:
This series of steps only requires 8 multiplication operations instead of 99 (since the last product above takes 2 multiplications).
In general, the number of multiplication operations required to compute b^{n} can be reduced to Θ(log n) by using exponentiation by squaring or (more generally) additionchain exponentiation. Finding the minimal sequence of multiplications (the minimallength addition chain for the exponent) for b^{n} is a difficult problem for which no efficient algorithms are currently known (see Subset sum problem), but many reasonably efficient heuristic algorithms are available.^{[28]}
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, f^{3}(x) may mean f(f(f(x))); in particular, f^{−1}(x) usually denotes the inverse function of f. 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 f^{1/2}(x).
For historical reasons, this notation applied to the trigonometric and hyperbolic functions has a specific and diverse interpretation: a positive exponent applied to the function's abbreviation means that the result is raised to that power, while an exponent of −1 denotes the inverse function. That is, sin^{2} x is just a shorthand way to write (sin x)^{2} without using parentheses, whereas sin^{−1} x refers to the inverse function of the sine, also called arcsin x. Each trigonometric and hyperbolic has its own name and abbreviation both for the reciprocal; for example, 1/(sin x) = (sin x)^{−1} = csc x, as well as for its inverse, for example cosh^{−1} x = arcosh x. A similar convention applies to logarithms, where log^{2} x usually means (log x)^{2}, not log log x.
Programming languages generally express exponentiation either as an infix operator or as a (prefix) function, as they are linear notations which do not support superscripts:
x ↑ y
: Algol, Commodore BASICx ^ y
: AWK, BASIC, J, MATLAB, Wolfram Language (Mathematica), R, Microsoft Excel, Analytica, TeX (and its derivatives), TIBASIC, bc (for integer exponents), Haskell (for nonnegative integer exponents), Lua and most computer algebra systems. Conflicting uses of the symbol ^
include: XOR (in POSIX Shell arithmetic expansion, AWK, C, C++, C#, D, Go, Java, JavaScript, Perl, PHP, Python, Ruby and Tcl), indirection (Pascal), and string concatenation (OCaml and Standard ML).x ^^ y
: Haskell (for fractional base, integer exponents), Dx ** y
: Ada, Z shell, Korn shell, Bash, COBOL, CoffeeScript, Fortran, FoxPro, Gnuplot, Groovy, JavaScript, OCaml, F#, Perl, PHP, PL/I, Python, Rexx, Ruby, SAS, Seed7, Tcl, ABAP, Mercury, Haskell (for floatingpoint exponents), Turing, VHDLpown x y
: F# (for integer base, integer exponent)x⋆y
: APLMany other programming languages lack syntactic support for exponentiation, but provide library functions:
For certain exponents there are special ways to compute x^{y} much faster than through generic exponentiation. These cases include small positive and negative integers (prefer x*x over x^{2}; prefer 1/x over x^{−1}) and roots (prefer sqrt(x) over x^{0.5}, prefer cbrt(x) over x^{1/3}).
Not all programming languages adhere to the same association convention for exponentiation: while the Wolfram language, Google Search and others use rightassociation (i.e. a^b^c
is evaluated as a^(b^c)
), many computer programs such as Microsoft Office Excel and Matlab associate to the left (i.e. a^b^c
is evaluated as (a^b)^c
)^{[14]} .
In mathematics and computer science, optimal additionchain exponentiation is a method of exponentiation by positive integer powers that requires a minimal number of multiplications. This corresponds to the sequence A003313 on the Online Encyclopedia of Integer Sequences. It works by creating the shortest addition chain that generates the desired exponent. Each exponentiation in the chain can be evaluated by multiplying two of the earlier exponentiation results. More generally, additionchain exponentiation may also refer to exponentiation by nonminimal addition chains constructed by a variety of algorithms (since a shortest addition chain is very difficult to find).
The shortest additionchain algorithm requires no more multiplications than binary exponentiation and usually less. The first example of where it does better is for a^{15}, where the binary method needs six multiplications but a shortest addition chain requires only five:
On the other hand, the determination of a shortest addition chain is hard: no efficient optimal methods are currently known for arbitrary exponents, and the related problem of finding a shortest addition chain for a given set of exponents has been proven NPcomplete. Even given a shortest chain, additionchain exponentiation requires more memory than the binary method, because it must potentially store many previous exponents from the chain. So in practice, shortest additionchain exponentiation is primarily used for small fixed exponents for which a shortest chain can be precomputed and is not too large.
There are also several methods to approximate a shortest addition chain, and which often require fewer multiplications than binary exponentiation; binary exponentiation itself is a suboptimal additionchain algorithm. The optimal algorithm choice depends on the context (such as the relative cost of the multiplication and the number of times a given exponent is reused).
The problem of finding the shortest addition chain cannot be solved by dynamic programming, because it does not satisfy the assumption of optimal substructure. That is, it is not sufficient to decompose the power into smaller powers, each of which is computed minimally, since the addition chains for the smaller powers may be related (to share computations). For example, in the shortest addition chain for a^{15} above, the subproblem for a^{6} must be computed as (a^{3})^{2} since a^{3} is reused (as opposed to, say, a^{6} = a^{2}(a^{2})^{2}, which also requires three multiplies).
Associative propertyIn mathematics, the associative property is a property of some binary operations. In propositional logic, associativity is a valid rule of replacement for expressions in logical proofs.
Within an expression containing two or more occurrences in a row of the same associative operator, the order in which the operations are performed does not matter as long as the sequence of the operands is not changed. That is, (after rewriting the expression with parentheses and in infix notation if necessary) rearranging the parentheses in such an expression will not change its value. Consider the following equations:
Even though the parentheses were rearranged on each line, the values of the expressions were not altered. Since this holds true when performing addition and multiplication on any real numbers, it can be said that "addition and multiplication of real numbers are associative operations".
Associativity is not the same as commutativity, which addresses whether or not the order of two operands changes the result. For example, the order does not matter in the multiplication of real numbers, that is, a × b = b × a, so we say that the multiplication of real numbers is a commutative operation.
Associative operations are abundant in mathematics; in fact, many algebraic structures (such as semigroups and categories) explicitly require their binary operations to be associative.
However, many important and interesting operations are nonassociative; some examples include subtraction, exponentiation, and the vector cross product. In contrast to the theoretical properties of real numbers, the addition of floating point numbers in computer science is not associative, and the choice of how to associate an expression can have a significant effect on rounding error.
Base (exponentiation)In exponentiation, the base is the number b in an expression of the form bn.
Cardinal numberIn mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality (size) of sets. The cardinality of a finite set is a natural number: the number of elements in the set. The transfinite cardinal numbers describe the sizes of infinite sets.
Cardinality is defined in terms of bijective functions. Two sets have the same cardinality if, and only if, there is a onetoone correspondence (bijection) between the elements of the two sets. In the case of finite sets, this agrees with the intuitive notion of size. In the case of infinite sets, the behavior is more complex. A fundamental theorem due to Georg Cantor shows that it is possible for infinite sets to have different cardinalities, and in particular the cardinality of the set of real numbers is greater than the cardinality of the set of natural numbers. It is also possible for a proper subset of an infinite set to have the same cardinality as the original set, something that cannot happen with proper subsets of finite sets.
There is a transfinite sequence of cardinal numbers:
This sequence starts with the natural numbers including zero (finite cardinals), which are followed by the aleph numbers (infinite cardinals of wellordered sets). The aleph numbers are indexed by ordinal numbers. Under the assumption of the axiom of choice, this transfinite sequence includes every cardinal number. If one rejects that axiom, the situation is more complicated, with additional infinite cardinals that are not alephs.
Cardinality is studied for its own sake as part of set theory. It is also a tool used in branches of mathematics including model theory, combinatorics, abstract algebra, and mathematical analysis. In category theory, the cardinal numbers form a skeleton of the category of sets.
CaretThe caret is an inverted Vshaped grapheme. It is the spacing character ^ in ASCII (at code point 5Ehex) and other character sets that may also be called a hat, control, uparrow, or, less frequently, chevron, xor sign, 'to the power of' (exponent), pointer (in Pascal), or wedge. Officially, this character is referred to as circumflex accent in both ASCII and Unicode terminology (because of its historical use in overstrike), whereas caret refers to a similar but lowered Unicode character: U+2038 ‸ CARET. Additionally, there is a lowered variant with a stroke: U+2041 ⁁ CARET INSERTION POINT.The caret and circumflex are not to be confused with other chevronshaped characters, such as U+028C ʌ LATIN SMALL LETTER TURNED V or U+2227 ∧ LOGICAL AND, which may occasionally be called carets, too.
Double exponential functionA double exponential function is a constant raised to the power of an exponential function. The general formula is , which grows much more quickly than an exponential function. For example, if a = b = 10:
Factorials grow more quickly than exponential functions, but much more slowly than doubly exponential functions. However, tetration and the Ackermann function grow faster. See Big O notation for a comparison of the rate of growth of various functions.
The inverse of the double exponential function is the double logarithm ln(ln(x)).
Exponentiation by squaringIn mathematics and computer programming, exponentiating by squaring is a general method for fast computation of large positive integer powers of a number, or more generally of an element of a semigroup, like a polynomial or a square matrix. Some variants are commonly referred to as squareandmultiply algorithms or binary exponentiation. These can be of quite general use, for example in modular arithmetic or powering of matrices. For semigroups for which additive notation is commonly used, like elliptic curves used in cryptography, this method is also referred to as doubleandadd.
Freshman's dreamThe freshman's dream is a name sometimes given to the erroneous equation (x + y)n = xn + yn, where n is a real number (usually a positive integer greater than 1). Beginning students commonly make this error in computing the power of a sum of real numbers, falsely assuming powers distribute over sums. When n = 2, it is easy to see why this is incorrect: (x + y)2 can be correctly computed as x2 + 2xy + y2 using distributivity (commonly known as the FOIL method). For larger positive integer values of n, the correct result is given by the binomial theorem.
The name "freshman's dream" also sometimes refers to the theorem that says that for a prime number p, if x and y are members of a commutative ring of characteristic p, then
(x + y)p = xp + yp. In this more exotic type of arithmetic, the "mistake" actually gives the correct result, since p divides all the binomial coefficients save the first and the last, making all intermediate terms equal to zero.
HyperoperationIn mathematics, the hyperoperation sequence is an infinite sequence of arithmetic operations (called hyperoperations in this context) that starts with a unary operation (the successor function with n = 0). The sequence continues with the binary operations of addition (n = 1), multiplication (n = 2), and exponentiation (n = 3).
After that, the sequence proceeds with further binary operations extending beyond exponentiation, using rightassociativity. For the operations beyond exponentiation, the nth member of this sequence is named by Reuben Goodstein after the Greek prefix of n suffixed with ation (such as tetration (n = 4), pentation (n = 5), hexation (n = 6), etc.) and can be written as using n − 2 arrows in Knuth's uparrow notation. Each hyperoperation may be understood recursively in terms of the previous one by:
It may also be defined according to the recursion rule part of the definition, as in Knuth's uparrow version of the Ackermann function:
This can be used to easily show numbers much larger than those which scientific notation can, such as Skewes' number and googolplexplex (e.g. is much larger than Skewes’ number and googolplexplex), but there are some numbers which even they cannot easily show, such as Graham's number and TREE(3).
This recursion rule is common to many variants of hyperoperations (see below in definition).
KiloKilo is a decimal unit prefix in the metric system denoting multiplication by one thousand (103). It is used in the International System of Units where it has the unit symbol k, in lower case.
The prefix kilo is derived from the Greek word χίλιοι (chilioi), meaning "thousand". It was originally adopted by Antoine Lavoisier's research group in 1795, and introduced into the metric system in France with its establishment in 1799.
In 19th century English it was sometimes spelled chilio, in line with a puristic opinion by Thomas Young
Knuth's uparrow notationIn mathematics, Knuth's uparrow notation is a method of notation for very large integers, introduced by Donald Knuth in 1976. It is closely related to the Ackermann function and especially to the hyperoperation sequence. The idea is based on the fact that multiplication can be viewed as iterated addition and exponentiation as iterated multiplication. Continuing in this manner leads to tetration (iterated exponentiation) and to the remainder of the hyperoperation sequence, which is commonly denoted using Knuth arrow notation. This notation allows for a simple description of numbers far larger than can be explicitly written out.
A single arrow means exponentiation (iterated multiplication); more than one arrow means iterating the operation associated with one fewer arrow.
For example:
The general definition of the notation (by recursion) is as follows (for integer a and nonnegative integers b and n):
Here, ↑^{n} stands for n arrows, so for example
In mathematics, the logarithm is the inverse function to exponentiation (it is an example of a concave function). That means the logarithm of a given number x is the exponent to which another fixed number, the base b, must be raised, to produce that number x. In the simplest case, the logarithm counts repeated multiplication of the same factor; e.g., since 1000 = 10 × 10 × 10 = 10^{3}, the "logarithm to base 10" of 1000 is 3. The logarithm of x to base b is denoted as log_{b} (x) (or, without parentheses, as log_{b} x, or even without explicit base as log x, when no confusion is possible). More generally, exponentiation allows any positive real number to be raised to any real power, always producing a positive result, so the logarithm for any two positive real numbers b and x where b is not equal to 1, is always a unique real number y. More explicitly, the defining relation between exponentiation and logarithm is:
For example, log_{2} 64 = 6, as 2^{6} = 64.
The logarithm to base 10 (that is b = 10) is called the common logarithm and has many applications in science and engineering. The natural logarithm has the number e (that is b ≈ 2.718) as its base; its use is widespread in mathematics and physics, because of its simpler derivative. The binary logarithm uses base 2 (that is b = 2) and is commonly used in computer science.
Logarithms were introduced by John Napier in the early 17th century as a means to simplify calculations. They were rapidly adopted by navigators, scientists, engineers, and others to perform computations more easily, using slide rules and logarithm tables. Tedious multidigit multiplication steps can be replaced by table lookups and simpler addition because of the fact—important in its own right—that the logarithm of a product is the sum of the logarithms of the factors:
provided that b, x and y are all positive and b ≠ 1. The presentday notion of logarithms comes from Leonhard Euler, who connected them to the exponential function in the 18th century.
Logarithmic scales reduce wideranging quantities to tiny scopes. For example, the decibel (dB) is a unit used to express ratio as logarithms, mostly for signal power and amplitude (of which sound pressure is a common example). In chemistry, pH is a logarithmic measure for the acidity of an aqueous solution. Logarithms are commonplace in scientific formulae, and in measurements of the complexity of algorithms and of geometric objects called fractals. They help describing frequency ratios of musical intervals, appear in formulas counting prime numbers or approximating factorials, inform some models in psychophysics, and can aid in forensic accounting.
In the same way as the logarithm reverses exponentiation, the complex logarithm is the inverse function of the exponential function applied to complex numbers. The discrete logarithm is another variant; it has uses in publickey cryptography.
Matrix exponential
In mathematics, the matrix exponential is a matrix function on square matrices analogous to the ordinary exponential function. It is used to solve systems of linear differential equations. In the theory of Lie groups, the matrix exponential gives the connection between a matrix Lie algebra and the corresponding Lie group.
Let X be an n×n real or complex matrix. The exponential of X, denoted by e^{X} or exp(X), is the n×n matrix given by the power series
where is defined to be the identity matrix with the same dimensions as .
The above series always converges, so the exponential of X is welldefined. If X is a 1×1 matrix the matrix exponential of X is a 1×1 matrix whose single element is the ordinary exponential of the single element of X.
MegaMega is a unit prefix in metric systems of units denoting a factor of one million (106 or 1000000). It has the unit symbol M. It was confirmed for use in the International System of Units (SI) in 1960. Mega comes from Ancient Greek: μέγας, translit. megas, lit. 'great'.
Modular exponentiationModular exponentiation is a type of exponentiation performed over a modulus. It is useful in computer science, especially in the field of publickey cryptography.
The operation of modular exponentiation calculates the remainder when an integer b (the base) raised to the eth power (the exponent), be, is divided by a positive integer m (the modulus). In symbols, given base b, exponent e, and modulus m, the modular exponentiation c is: c = be mod m. From the definition of c, it follows that 0 ≤ c < m.
For example, given b = 5, e = 3 and m = 13, the solution c = 8 is the remainder of dividing 53 = 125 by 13.
Modular exponentiation can be performed with a negative exponent e by finding the modular multiplicative inverse d of b modulo m using the extended Euclidean algorithm. That is:
c = be mod m = d−e mod m, where e < 0 and b ⋅ d ≡ 1 (mod m).Modular exponentiation similar to the one described above is considered easy to compute, even when the integers involved are enormous. On the other hand, computing the modular discrete logarithm – that is, the task of finding the exponent e when given b, c, and m – is believed to be difficult. This oneway function behavior makes modular exponentiation a candidate for use in cryptographic algorithms.
Order of operationsIn mathematics and computer programming, the order of operations (or operator precedence) is a collection of rules that reflect conventions about which procedures to perform first in order to evaluate a given mathematical expression.
For example, in mathematics and most computer languages, multiplication is granted a higher precedence than addition, and it has been this way since the introduction of modern algebraic notation. Thus, the expression 2 + 3 × 4 is interpreted to have the value 2 + (3 × 4) = 14, not (2 + 3) × 4 = 20. With the introduction of exponents in the 16th and 17th centuries, they were given precedence over both addition and multiplication and could be placed only as a superscript to the right of their base. Thus 3 + 52 = 28 and 3 × 52 = 75.
These conventions exist to eliminate ambiguity while allowing notation to be as brief as possible. Where it is desired to override the precedence conventions, or even simply to emphasize them, parentheses ( ) (sometimes replaced by brackets [ ] or braces { } for readability) can indicate an alternate order or reinforce the default order to avoid confusion. For example, (2 + 3) × 4 = 20 forces addition to precede multiplication, and (3 + 5)2 = 64 forces addition to precede exponentiation.
Ordinal arithmeticIn the mathematical field of set theory, ordinal arithmetic describes the three usual operations on ordinal numbers: addition, multiplication, and exponentiation. Each can be defined in essentially two different ways: either by constructing an explicit wellordered set which represents the operation or by using transfinite recursion. Cantor normal form provides a standardized way of writing ordinals. In addition to these usual ordinal operations, there are also the "natural" arithmetic of ordinals and the nimber operations.
TetrationIn mathematics, tetration (or hyper4) is iterated, or repeated, exponentiation. It is the next hyperoperation after exponentiation, but before pentation. The word was coined by Reuben Louis Goodstein from tetra (four) and iteration. Tetration is used for the notation of very large numbers. The notation means , which is the application of exponentiation times.
The first four hyperoperations are shown here, with tetration being the fourth of these (in this case, the unary operation succession, , is considered to be the zeroth operation).
Here, succession (a' = a + 1) is the most basic operation; addition (a + n) is a primary operation, though for natural numbers it can be thought of as a chained succession of n successors of a; multiplication () is also a primary operation, though for natural numbers it can be thought of as a chained addition involving n numbers a. Exponentiation () can be thought of as a chained multiplication involving n numbers a, and analogously, tetration () can be thought of as a chained power involving n numbers a. Each of the operations above are defined by iterating the previous one; however, unlike the operations before it, tetration is not an elementary function.
The parameter a may be called the baseparameter in the following, while the parameter n in the following may be called the heightparameter (which is integral in the first approach but may be generalized to fractional, real and complex heights, see below). Tetration is read as "the nth tetration of a".
−1In mathematics, −1 is the additive inverse of 1, that is, the number that when added to 1 gives the additive identity element, 0. It is the negative integer greater than negative two (−2) and less than 0.
Negative one bears relation to Euler's identity since eiπ = −1.
In software development, −1 is a common initial value for integers and is also used to show that a variable contains no useful information.
In programming languages, −1 can be used to index the last (or 2nd last) item of an array, depending on whether 0 or 1 represents the first item.
Negative one has some similar but slightly different properties to positive one.
Primary 


Inverse for left argument  
Inverse for right argument  
Related articles 
This page is based on a Wikipedia article written by authors
(here).
Text is available under the CC BYSA 3.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.