In the preceding sections, exponentiation with non-integer exponents has been defined for positive real bases only. For other bases, difficulties appear already with the apparently simple case of th roots, that is, of exponents 1/n, where is a positive integer. Although the general theory of exponentiation with non-integer exponents applies to th roots, this case deserves to be considered first, since it does not need to use
complex logarithms, and is therefore easier to understand.
th roots of a complex number Every nonzero complex number may be written in
polar form as :z=\rho e^{i\theta}=\rho(\cos \theta +i \sin \theta), where \rho is the
absolute value of , and \theta is its
argument. The argument is defined
up to an integer multiple of ; this means that, if \theta is the argument of a complex number, then \theta +2k\pi is also an argument of the same complex number for every integer k. The polar form of the product of two complex numbers is obtained by multiplying the absolute values and adding the arguments. It follows that the polar form of an th root of a complex number can be obtained by taking the th root of the absolute value and dividing its argument by : : \left(\rho e^{i\theta}\right)^\frac 1n=\sqrt[n]\rho \,e^\frac{i\theta}n. If 2\pi is added to \theta, the complex number is not changed, but this adds 2i\pi/n to the argument of the th root, and provides a new th root. This can be done times (k=0,1,...,n-1), and provides the th roots of the complex number: : \left(\rho e^{i(\theta+2k\pi)}\right)^\frac 1n=\sqrt[n]\rho \,e^\frac{i(\theta+2k\pi)}n. It is usual to choose one of the th roots as the
principal root. The common choice is to choose the th root for which -\pi that is, the th root that has the largest real part, and, if there are two, the one with positive imaginary part. This makes the principal th root a
continuous function in the whole complex plane, except for negative real values of the
radicand. This function equals the usual th root for positive real radicands. For negative real radicands, and odd exponents, the principal th root is not real, although the usual th root is real.
Analytic continuation shows that the principal th root is the unique
complex differentiable function that extends the usual th root to the complex plane without the nonpositive real numbers. If the complex number is moved around zero by increasing its argument, after an increment of 2\pi, the complex number comes back to its initial position, and its th roots are
permuted circularly (they are multiplied by e^{2i\pi/n}). This shows that it is not possible to define a th root function that is continuous in the whole complex plane.
Roots of unity The th roots of unity are the complex numbers such that , where is a positive integer. They arise in various areas of mathematics, such as in
discrete Fourier transform or algebraic solutions of algebraic equations (
Lagrange resolvent). The th roots of unity are the first powers of \omega =e^{2\pi i/n}, that is , , , ..., {{tmath|\omega^{n-1} }}. The th roots of unity that have this generating property are called
primitive th roots of unity; they have the form \omega^k=e^{2k\pi i/n} with
coprime with . The unique primitive square root of unity is -1; the primitive fourth roots of unity are i and . The th roots of unity allow expressing all th roots of a complex number as the products of a given th roots of with a th root of unity. Geometrically, the th roots of unity lie on the
unit circle of the
complex plane at the vertices of a
regular -gon with one vertex on the real number 1. As the number e^{2k\pi i/n} is the primitive th root of unity with the smallest positive
argument, it is called the
principal primitive th root of unity, sometimes shortened as
principal th root of unity, although this terminology can be confused with the
principal value of 1^{1/n}, which is 1.
Complex exponentiation Defining exponentiation with complex bases leads to difficulties that are similar to those described in the preceding section, except that there are, in general, infinitely many possible values for z^w. So, either a
principal value is defined, which is not continuous for the values of that are real and nonpositive, or z^w is defined as a
multivalued function. In all cases, the
complex logarithm is used to define complex exponentiation as : z^w=e^{w\log z}, where \log z is the variant of the complex logarithm that is used, which is a function or a
multivalued function such that : e^{\log z}=z for every in its
domain of definition.
Principal value The
principal value of the
complex logarithm is the unique continuous function, commonly denoted \log, such that, for every nonzero complex number , : e^{\log z}=z, and the
argument of satisfies : -\pi The principal value of the complex logarithm is not defined for z=0, it is
discontinuous at negative real values of , and it is
holomorphic (that is, complex differentiable) elsewhere. If is real and positive, the principal value of the complex logarithm is the natural logarithm: \log z=\ln z. The principal value of z^w is defined as z^w=e^{w\log z}, where \log z is the principal value of the logarithm. The function (z,w)\to z^w is holomorphic except in the neighbourhood of the points where is real and nonpositive. If is real and positive, the principal value of z^w equals its usual value defined above. If w=1/n, where is an integer, this principal value is the same as the one defined above.
Multivalued function In some contexts, there is a problem with the discontinuity of the principal values of \log z and z^w at the negative real values of . In this case, it is useful to consider these functions as
multivalued functions. If \log z denotes one of the values of the multivalued logarithm (typically its principal value), the other values are 2ik\pi +\log z, where is any integer. Similarly, if z^w is one value of the exponentiation, then the other values are given by : e^{w(2ik\pi +\log z)} = z^we^{2ik\pi w}, where is any integer. Different values of give different values of z^w unless is a
rational number, that is, there is an integer such that is an integer. This results from the
periodicity of the exponential function, more specifically, that e^a=e^b if and only if a-b is an integer multiple of 2\pi i. If w=\frac mn is a rational number with and
coprime integers with n>0, then z^w has exactly values. In the case m=1, these values are the same as those described in
§ th roots of a complex number. If is an integer, there is only one value that agrees with that of . The multivalued exponentiation is holomorphic for z\ne 0, in the sense that its
graph consists of several sheets that define each a holomorphic function in the neighborhood of every point. If varies continuously along a circle around , then, after a turn, the value of z^w has changed of sheet.
Computation The
canonical form x+iy of z^w can be computed from the canonical form of and . Although this can be described by a single formula, it is clearer to split the computation in several steps. •
Polar form of . If z=a+ib is the canonical form of ( and being real), then its polar form is z=\rho e^{i\theta}= \rho (\cos\theta + i \sin\theta), with \rho=\sqrt{a^2+b^2} and \theta=\operatorname{atan2}(b,a), where {{tmath|\operatorname{atan2} }} is the
two-argument arctangent function. •
Logarithm of . The
principal value of this logarithm is \log z=\ln \rho+i\theta, where \ln denotes the
natural logarithm. The other values of the logarithm are obtained by adding 2ik\pi for any integer . •
Canonical form of w\log z. If w=c+di with and real, the values of w\log z are w\log z = (c\ln \rho - d\theta-2dk\pi) +i (d\ln \rho + c\theta+2ck\pi), the principal value corresponding to k=0. •
Final result. Using the identities e^{x+y}=e^xe^y and e^{y\ln x} = x^y, one gets z^w=\rho^c e^{-d(\theta+2k\pi)} \left(\cos (d\ln \rho + c\theta+2ck\pi) +i\sin(d\ln \rho + c\theta+2ck\pi)\right), with k=0 for the principal value.
Examples • i^i The polar form of is i=e^{i\pi/2}, and the values of \log i are thus \log i=i\left(\frac \pi 2 +2k\pi\right). It follows that i^i=e^{i\log i}=e^{-\frac \pi 2} e^{-2k\pi}.So, all values of i^i are real, the principal one being e^{-\frac \pi 2} \approx 0.2079. • (-2)^{3+4i}Similarly, the polar form of is -2 = 2e^{i \pi}. So, the above described method gives the values \begin{align} (-2)^{3 + 4i} &= 2^3 e^{-4(\pi+2k\pi)} (\cos(4\ln 2 + 3(\pi +2k\pi)) +i\sin(4\ln 2 + 3(\pi+2k\pi)))\\ &=-2^3 e^{-4(\pi+2k\pi)}(\cos(4\ln 2) +i\sin(4\ln 2)). \end{align}In this case, all the values have the same argument 4\ln 2, and different absolute values. In both examples, all values of z^w have the same argument. More generally, this is true if and only if the
real part of is an integer.
Failure of power and logarithm identities Some identities for powers and logarithms for positive real numbers will fail for complex numbers, no matter how complex powers and complex logarithms are defined
as single-valued functions. For example: {{bulleted list \log((-i)^2) = \log(-1) = i\pi \neq 2\log(-i) = 2\log(e^{-i\pi/2})=2\,\frac{-i\pi}{2} = -i\pi Regardless of which branch of the logarithm is used, a similar failure of the identity will exist. The best that can be said (if only using this result) is that: \log w^z \equiv z \log w \pmod{2 \pi i} This identity does not hold even when considering log as a multivalued function. The possible values of contain those of as a
proper subset. Using for the principal value of and , as any integers the possible values of both sides are: \begin{align} \left\{\log w^z \right\} &= \left\{ z \cdot \operatorname{Log} w + z \cdot 2 \pi i n + 2 \pi i m \mid m,n\in\Z\right\} \\ \left\{z \log w \right\} &= \left\{ z \operatorname{Log} w + z \cdot 2 \pi i n \mid n\in \Z\right\} \end{align} (-1 \cdot -1)^\frac{1}{2} =1 \neq (-1)^\frac{1}{2} (-1)^\frac{1}{2} =i \cdot i=i^2 =-1 and \left(\frac{1}{-1}\right)^\frac{1}{2} = (-1)^\frac{1}{2} = i \neq \frac{1^\frac{1}{2}}{(-1)^\frac{1}{2}} = \frac{1}{i} = -i On the other hand, when 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 are . The identity holds, but saying {{math|1={1} = }} is incorrect. For any integer , we have: • e^{1 + 2 \pi i n} = e^1 e^{2 \pi i n} = e \cdot 1 = e • \left(e^{1 + 2\pi i n}\right)^{1 + 2 \pi i n} = e\qquad (taking the (1 + 2 \pi i n)-th power of both sides) • e^{1 + 4 \pi i n - 4 \pi^2 n^2} = e\qquad (using \left(e^x\right)^y = e^{xy} and expanding the exponent) • e^1 e^{4 \pi i n} e^{-4 \pi^2 n^2} = e\qquad (using e^{x+y} = e^x e^y) • e^{-4 \pi^2 n^2} = 1\qquad (dividing by ) but this is false when the integer is nonzero. The error is the following: by definition, e^y is a notation for \exp(y), a true function, and x^y is a notation for \exp(y\log x), which is a multi-valued function. Thus the notation is ambiguous when . Here, before expanding the exponent, the second line should be \exp\left((1 + 2\pi i n)\log \exp(1 + 2\pi i n)\right) = \exp(1 + 2\pi i n). Therefore, when expanding the exponent, one has implicitly supposed that \log \exp z =z for complex values of , which is wrong, as the complex logarithm is multivalued. In other words, the wrong identity must be replaced by the identity \left(e^x\right)^y = e^{y\log e^x}, which is a true identity between multivalued functions. }} ==Irrationality and transcendence==