In Depth
See Also

Exponentiation

Exponentiation is a mathematical Mathematics

Mathematics is the discipline that deals with concepts such as quantity [i], structure [i], space [i] a ... 

 operation, written a'n, involving two numbers, the base a and the exponent n. When n is a whole number, exponentiation is repeated multiplication: just as multiplication by a whole number is repeated addition Addition

Addition is the mathematical operation [i] of increasing one amount by another. ... 

: Exponentiation is also known as raising the number a to the power n, or a to the n'th power, and can also be defined for exponents that are not whole numbers, as explained below. The exponent is usually shown as a superscript to the right of the base.

Discussions

  Discussion Features

   Ask a question about 'Exponentiation'

   Start a new discussion about 'Exponentiation'

   Answer questions about 'Exponentiation'

   'Exponentiation' discussion forum


Encyclopedia

Exponentiation is a mathematical Mathematics

Mathematics is the discipline that deals with concepts such as quantity [i], structure [i], space [i] a ... 

 operation, written an, involving two numbers, the base a and the exponent n. When n is a whole number, exponentiation is repeated multiplication:

just as multiplication by a whole number is repeated addition Addition

Addition is the mathematical operation [i] of increasing one amount by another. ... 

:

Exponentiation is also known as raising the number a to the power n, or a to the nth power, and can also be defined for exponents that are not whole numbers, as explained below.



The exponent is usually shown as a superscript to the right of the base. Exponentiation is a basic mathematical tool that is used pervasively in many other fields as well, including economics, biology, chemistry, physics, and computer science, with applications such as compound interest, population growth Population growth

Population growth is change in population [i] over time, and can be quantified as the change in the numb ... 

, chemical reaction kinetics Chemical kinetics

In physical chemistry [i], chemical kinetics or reaction kinetics study reaction rate [i]s in a chemical reaction [i] ... 

, wave Wave

[i], often transferring [[energy]... 

 behavior, and public key cryptography Public-key cryptography

Public key cryptography is a form of cryptography [i] which generally allows users to communicate secure ... 

.

Exponentiation with integer exponents


The exponentiation operation with integer exponents only requires basic algebra.

Positive integer exponents


The simplest case involves a positive integer exponent. The exponent then says how many times the base is to be multiplied. For example, 35 = 3 × 3 × 3 × 3 × 3 = 243.
Here, 3 is the base, 5 is the exponent, and 243 is 3 raised to the fifth power or 3 raised to the power 5.

Notice that the base 3 appears 5 times in the repeated multiplication, because the exponent is 5.

Traditionally a2 = a×a is called the square and a3 = a×a×a is called the cube Cube

A cube is a three-dimensional [i] Platonic solid [i] composed of six square [i] ... 

. 32 is pronounced "three squared," and 33 is "three cubed."

Formally, powers with positive integer exponents can be defined by the initial condition a0 = 1 and the recurrence relation  an+1 = a·an .

Exponents one and zero


The meaning of 35 may also be viewed as 1 × 3 × 3 × 3 × 3 × 3:
the starting value 1
is multiplied by the base as many times as indicated by the exponent.
With this definition in mind, it is easy to see how to generalize exponentiation
to exponents one and zero:

  • Any number to the power 1 is itself.

a1 = a


  • Any number to the power 0 is 1.

a0 = 1

Example:
a0= a2-2= a2/a2 = 1,
.

Negative integer exponents

Raising a nonzero number to the -1 power produces its reciprocal.
a−1 = 1/a


Thus:
an = −1 = 1/an

Raising 0 to a negative power would imply division by 0, and so is undefined.

A negative integer exponent can also be seen as repeated division by the base.
Thus 3−5 = 1 ÷ 3 ÷ 3 ÷ 3 ÷ 3 ÷ 3 = 1/243 = 1/35.

Identities and properties


The most important identity satisfied by integer exponentiation is:
It has the following consequences:

Whereas addition or multiplication are commutative , exponentiation is not commutative:
23 = 8 while 32 = 9.
Similarly, whereas addition or multiplication are associative Associativity

In mathematics [i], associativity is a property that a binary operation [i] can have. ... 

 , exponentiation is not associative either:
23 to the 4th power is 84 or 4096, while 2 to the 34 power is
281 or 2,417,851,639,229,258,349,412,352.

Powers of ten


Powers of 10 are trivial to compute in the base ten number system: for example 106 = 1 million, which is 1 followed by 6 zeros.
Exponentiation with base 10 is often used in the physical sciences to describe large or small numbers in scientific notation; for example, 299792458 can be written as 2.99792458 × 108 and then approximated as 2.998 × 108 if this is useful.
SI prefixes are also used to describe small or large quantities, and these are also based on powers of 10; for example, the prefix kilo means 103 = 1000, so a kilometre is 1000 metre Metre

The metre, or meter , is a measure of length [i]. ... 

s.

Powers of two


The positive powers of 2 are important in computer science because there are 2n possible values for a n bit variable. See Binary numeral system Binary numeral system

The binary numeral system [i] represents numeric values using two symbols, typically 0 [i] and 1 [i] ... 

.

The negative powers of 2 are commonly used, and the first two have special names: half and quarter.

Powers of zero

If the exponent is positive, the power of zero is zero: 0n = 0, where n > 0.

If the exponent is negative, the power of zero is undefined, because division by zero is implied.

If the exponent is zero, the power of zero is one: 00 = 1.

Powers of minus one

The powers of minus one are useful for expressing alternating sequences.

If the exponent is odd, the power of minus one is minus one: 2n+1 = −1.

If the exponent is even, the power of minus one is one: 2n+2 = 1.

Powers of i

The powers of i are useful for expressing sequences of period 4.
i4n+1 = i
i4n+2 = −1
i4n+3 = −i
i4n+4 = 1

Powers of e E

The letter E is the fifth letter in the Latin alphabet [i]. ... 

The number e E

The letter E is the fifth letter in the Latin alphabet [i]. ... 

  is the limit of a sequence of integer powers

Approximately

A non-zero integer power of e is

.

The right hand side generalizes the meaning of ex so that x does not have to be a non-zero integer but can be zero, a fraction, a real number, a complex number Complex number

In mathematics [i], a complex number is a number [i] of the form
... 

, or a square matrix Square Matrix

Sorry, no overview for this topic 

.

Real powers of positive real numbers

Raising a positive real number to a power that is not an integer can also be explained in other ways:
  • Defining fractional Fraction (mathematics)

    In mathematics [i], a fraction is a way of expressing a quantity based on an amount that is divided into ... 

      exponents in terms of nth roots. This method is perhaps the way most widely taught in schools.
  • Defining the natural logarithm Natural logarithm

    The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm [i] to the base e [i]... 

     as the area under the curve 1/x.


The identities and properties shown above are true for non-integer exponents as well.

Fractional exponent


For a given exponent, the inverse of exponentiation is extracting a root.

If is a positive real number, and n is a positive integer, then the positive real solution to the equation
is called the nth root of

For example: 81/3 = 2.

Exponentiation with a rational exponent can now be defined as
For example: 82/3 = 4.

Since any real number can be approximated by rational numbers, exponentiation to an arbitrary real exponent can be defined by continuity. For example, if
we can assume

Logarithm method

For a given base, the inverse of exponentiation is taking a logarithm Logarithm

The logarithm is the mathematical [i] operation that is the inverse [i] of ... 

.

If a and b are positive real numbers, then the real solution x to the equation
bx = a

is called the logarithm of a, base b.
x = logb

So, exponentiation is sometimes called the antilogarithm.

Define the natural logarithm Natural logarithm

The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm [i] to the base e [i]... 

, ln, of a positive real number, a, as the area under the curve 1/x between from x = 1 to x = a. . In terms of integral calculus Integral

In calculus [i], the integral of a function [i] is an extension of the concept of a sum. ... 

:

The exponential function ex is the inverse function  to the natural logarithm.
a = eln

Exponentiation in any positive real base, b, can be expressed as:
bx = ex ln

Complex powers of complex numbers


Summary

Integer powers of complex numbers was defined recursively above:
z0 = 1
zn+1 = z·zn
zn = 1/zn .


Complex powers of e was defined above.

Complex powers of a complex number:
az = ebz

if
a = eb

Trigonometry

From Euler's formula Euler's formula

Euler's formula, named after Leonhard Euler [i], is a mathematical [i] formula in complex analysis [i]... 

, the purely imaginary powers of e define the real trigonometric functions Trigonometric function

In mathematics [i], the trigonometric functions are function [i]s of an angle [i]; they are im ... 

 cosine and sine:
such that

Primitive and principal logarithms of unity

There exists a positive real number, p Pi

The mathematical constant [i] p is an irrational [i] real number [i], approximately eq ... 

, such that any solution to the equation: ez = 1
is of the form z = 2pi·n where n is some integer.
The number 2pi = 2pi·1 is a primitive logarithm of unity, , while the number 0 = 2pi·0 is the principal logarithm of unity.
e2pi = e0 = 1.

Root of unity

e2pi is a primitive n-th root of unity, while e2pi is the principal n-th root of unity.

Multivalued logarithm

The equation, ex=a, where a is a nonzero complex number, has an infinity of solutions. Let x be any of them, then any of them has the form x+2pi·n where n is some integer.
ex+2pi·n = ex·e2pi·n = ex·n = ex·1n = ex·1 = ex


So the logarithm is a Multivalued function Multivalued function

In mathematics [i], a multivalued function is a total relation [i]; i.e. ... 

.

Singlevalued logarithm

If a is a positive real number, then one of the solutions to the equation, ex=a, is a real number. It is natural to select this solution as the principal value of the logarithm. In the general case the principal value of the logarithm is more arbitrarily defined as the value having imaginary part in the interval

Multivalued power

If eb = a, then ex are the values of ax.
For example, 41/2 = . .

Singlevalued power

If eb = a, and b is the principal value, then ebx is the principal value of ax.
For example, the principal value of 41/2 is +2.

Polar form

The typical approach is to write the complex number in polar form: any complex number can be written as:

for a positive real magnitude and a real angle , where for the right-most equation we have used Euler's formula Euler's formula

Euler's formula, named after Leonhard Euler [i], is a mathematical [i] formula in complex analysis [i]... 

 for . Then, exponentiation can be written as:

For real , is handled as above. For complex , we use Euler's formula a second time as explained below.

As for real numbers, above, any non-integer exponent implies that the answer is not uniquely determined. In particular, we could change to for any integer without changing the formula for , since by Euler's formula. Different values of may change the exponential, however, since in general. For a rational real x, the number of possible values is given by the lowest common denominator of x , while for other real or complex x there are infinitely many possible values.

By convention, this multi-valuedness is resolved by defining as the principal value, as for real exponentials above, unless otherwise noted. This means that the angle is conventionally chosen to lie in the interval  above, we didn't explain how to handle one important case: how do we compute the exponential when is complex? In particular, we now have to take the complex exponential of a positive real number . is purely real and is the same as above, so we only need to understand .

Here, we can once again exploit Euler's formula, since it tells us how to take imaginary powers of one real number e E

The letter E is the fifth letter in the Latin alphabet [i]. ... 

: . Therefore, we just need to rewrite in terms of a power of e:

Here, as we did above for real exponents, we used the natural logarithm Natural logarithm

The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm [i] to the base e [i]... 

 function ln to write .

So, we can finally write:

where we have written the final expression in polar form as a real magnitude multiplied by a complex phase, and have used the fact that .
Examples


This is the principal value of . One could also write for any integer n, resulting in an infinite set of possible definitions

However, according to standard conventions the expression denotes the principal value unless otherwise specified.

In the same way, one can define exponentiation of negative real numbers, since any negative real number can be written:

and thus the principal value of the exponent is .

Solving polynomial equations


It was once conjectured that the roots of any polynomial Polynomial

In mathematics [i], a polynomial is an expression [i] in which a finite number of constants ... 

 could be expressed in terms of exponentiation with fractional exponents. .

That this is not true in general is the assertion of the Abel-Ruffini theorem.

For example, the solutions of the equation x5 = x+1 cannot be expressed in terms of fractional exponents.

For solving any equation of the nth degree, see the Durand-Kerner method.

Advanced topics


Efficiently computing exponents

It may seem that computing an requires n−1 multiplications, but this can be reduced using exponentiation by squaring or addition-chain exponentiation, both of which are types of dynamic programming Dynamic programming

In computer science [i], dynamic programming is a method for reducing the runtime of algorithm [i]s exhi ... 

.

Exponents on function names


When the name or symbol of a function is given an integer superscript, as if being raised to a power,
this commonly refers to repeated function composition Function composition

In mathematics [i], a composite function, formed by the composition of one function [i] o ... 

 rather than repeated multiplication.
Thus f3 may mean f;
in particular, f -1 usually denotes fs inverse function.

A special syntax applies to the trigonometric functions Trigonometric function

In mathematics [i], the trigonometric functions are function [i]s of an angle [i]; they are im ... 

: a positive exponent applied to the function's abbreviation means that the result is raised to that power, while an exponent of -1 indicates the inverse function.
That is, sin2
x is just a shorthand way to write 2 without using parentheses,
whereas sin-1
x refers to the inverse function of the sine, also called arcsin x.
There is no need for a shorthand for the reciprocals of trigonometric
functions since each has its own name and abbreviation, for example
-1 is normally just written as csc 
x.

Exponentiation in abstract algebra


Exponentiation can also be understood purely in terms of abstract algebra, if we limit the exponents to integers.

Specifically, suppose that
X is a set Set

In mathematics [i], a set can be thought of as any collection [i] of distinct things considered as a who ... 

 with a power-associative binary operation, which we will write multiplicatively.
In this very general situation, we can define
xn
for any element x of X and any nonzero natural number n, by simply multiplying x by itself n times; by definition, power associativity means that it doesn't matter in which order we perform the multiplications.

Now additionally suppose that the operation has an identity element 1.
Then we can define
x0 to be equal to 1 for any x.
Now
xn
is defined for any natural number n, including 0.

Finally, suppose that the operation has inverses, and that the multiplication is associative .
Then we can define
xn
to be the inverse of xn
when n is a natural number.
Now
xn
is defined for any integer n.

Exponentiation in this purely algebraic sense satisfies the following laws :


Here, we use a division slash to indicate multiplying by an inverse, in order to reserve the symbol
x−1 for raising x to the power −1, rather than the inverse of x.
However, as one of the laws above states,
x−1 is always equal to the inverse of x, so the notation doesn't matter in the end.

If in addition the multiplication operation is commutative , then we have some additional laws:
  • n = xnyn
  • n = xn/yn


It is necessary to let 00 be 1, just like every other case of
x0.
For example, expanding
n
by the binomial theorem, it is necessary to take 00 = 1.

If we take this whole theory of exponentiation in an algebraic context but write the binary operation additively, then "exponentiation is repeated multiplication" can be reinterpreted as "multiplication is repeated addition Addition

Addition is the mathematical operation [i] of increasing one amount by another. ... 

".
Thus, each of the laws of exponentiation above has an analogue Analogy

Analogy is either the cognitive [i] process of transferring information [i] from a particular... 

 among laws of multiplication.

When one has several operations around, any of which might be repeated using exponentiation, 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.

Exponential notation is also used, especially in group theory, to indicate conjugation.
That is, gh = h-1gh, 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.

Exponentiation over sets


The above algebraic treatment of exponentiation builds a finitary operation out of a binary operation.
In more general contexts, one may be able to define an infinitary operation directly on an indexed set.

For example, in the arithmetic of cardinal number Cardinal number

In mathematics [i], cardinal numbers, or cardinals for short, are a generalized kind of number [i] ... 

s, it makes sense to consider the product


for any indexed family of cardinal numbers, i in N.
By taking ki = k for every i, this can be interpreted as a repeated product, and the result is kN.
In fact, this result depends only on the cardinality of N, so we can define exponentiation of cardinal numbers so that kn is kN for any set N whose cardinality is n.

This can be done even for operations on sets or 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 Euclidean space Rn.

If the base of the exponentiation operation is a set, then by default we assume the operation to be the Cartesian product.
In that case, SN becomes simply the set of all functions from N to S.
This fits in with the exponentiation of cardinal numbers once gain, in the sense that |SN| = |S||N|, where |X| is the cardinality of X.
When N=2=, we have |2X| = 2|X|, where 2X, usually denoted by PX, is the power set of X.

Note that exponentiation of cardinal numbers doesn't match up with exponentiation of ordinal number Ordinal number

Commonly, ordinal numbers, or ordinals for short, are numbers used to denote the position in an ordered [i]... 

s, which is defined by a limit process.
In the ordinal numbers, ab is the smallest ordinal number greater than ac for c < b when b is a limit ordinal, and of course ab+1 := aba.

In category theory Category theory

In mathematics [i], category theory deals in an abstract way with mathematical structures and relationsh ... 

, we learn to raise any object in a wide variety of categories to the power of a set, or even to raise an object to the power of an object, using the exponential.

Exponentiation in programming languages

The mathematical notation xy is neat for handwriting but awkward on typewriters and computers. So the programming language Programming language

A programming language is an artificial language [i] that can be used to control [i] ... 

s have other ways of expressing exponentiation:
  • x ? y: Algol, Commodore BASIC
  • x ^ y: BASIC BASIC

    In computer programming [i], BASIC refers to a family of high-level programming language [i]s.... 

    , Matlab MATLAB

    MATLAB is a numerical computing [i] environment and programming language [i]. ... 

    , J programming language, Microsoft Excel Microsoft Excel

    Microsoft Excel is a spreadsheet [i] program written and distributed by Microsoft [i] for computers us ... 

    , and most computer algebra systems
  • x ** y: Fortran Fortran

    FORTRAN is a general-purpose [i], procedural [i] ... 

    , Perl Perl

    Perl, also Practical Extraction and Report Language is a dynamic [i] ... 

    , Python Python

    Python is the common name for a group of non-venomous [i] constricting snake [i]s, specifically t ... 

    , Ruby Ruby

    Ruby is a red [i] gemstone [i], a variety of the mineral [i] corundum [i] . ... 

    , Ada , FoxPro, SAS programming language SAS System

    The SAS System, originally Statistical Analysis System, is an integrated system of... 

  • x * y: APL programming language APL programming language

    APL is an array programming [i] language based on a notation invented in 1957 [i] by Kenneth E. Iverson [i] ... 

  • Power: Excel, Pascal programming language Pascal (programming language)

    Pascal is an imperative [i] computer [i] programming language [i] ... 

  • pow: C programming language C (programming language)

    The C programming language is a general-purpose, procedural [i], imperative [i] ... 

    , C++ C++

    C++ is a general-purpose, high-level [i] programming language [i] with low-level [i] facilities. ... 

    , PHP PHP

    * Paamayim Nekudotayim [i]
  • Standard PHP Library [i]

... 


  • Math.pow: Java programming language Java (programming language)

    Java is an object-oriented [i] programming language [i] developed by James Gosling [i] ... 

    , JavaScript, Modula-3
  • Math.Pow: C# C Sharp

    C# is an object-oriented [i] programming language [i] developed by Microsoft [i] ... 

  • : Common Lisp


In C, C++, C#, Java and JavaScript, the symbol ^ represents bitwise XOR Exclusive disjunction

Exclusive disjunction, also known as exclusive or and symbolized by XOR or EOR, is a logical operation [i] ... 

. In Pascal, it represents indirection.

Table of powers


Table of kn, with k on the left and n at the top.

>>
 n
 12345678910
k^111111111111
22481632641282565121,0242
33927812437292,1876,56119,68359,0493
4416642561,0244,09616,38465,536262,1441,048,5764
55251256253,12515,62578,125390,6251,953,1259,765,6255
66362161,2967,77646,656279,9361,679,61610,077,69660,466,1766
77493432,40116,807117,649823,5435,764,80140,353,607282,475,2497
88645124,09632,768262,1442,097,15216,777,216134,217,7281,073,741,8248
99817296,56159,049531,4414,782,96943,046,721387,420,4893,486,784,4019
10101001,00010,000100,0001,000,00010,000,000100,000,0001,000,000,00010,000,000,00010
 12345678910
 n

Generalization

The next generalized operation after multiplication and exponentiation is sometimes called tetration Tetration

Tetration is iterated exponentiation, the first hyper operator [i] after exponentiation. ... 

; repeating this process leads to the Ackermann function.

See also

  • List of exponential topics
  • Exponential growth Exponential growth

    In mathematics [i], a quantity that grows exponentially is one whose growth rate is always proportional [i] ... 

  • Exponential decay Exponential decay

    A quantity is said to be subject to exponential decay if it decreases at a rate proportional to its valu... 

  • Exponentiating by squaring
  • Logarithm Logarithm

    The logarithm is the mathematical [i] operation that is the inverse [i] of ... 

  • Modular exponentiation
  • Addition chain exponentiation using an addition chain
  • Tetration Tetration

    Tetration is iterated exponentiation, the first hyper operator [i] after exponentiation. ... 



External links

  • * with derivation and examples