81

According to WolframAlpha, $i^i=e^{-\pi/2}$ but I don't know how I can prove it.

Martin Sleziak
  • 50,316
  • 18
  • 169
  • 342
Isaac
  • 1,049
  • 1
  • 9
  • 15
  • 1
    To add to the answer below, the morals of the story is that once you represent $i$ as a point on [the unit circle](http://en.wikipedia.org/wiki/Unit_circle#Forms_of_unit_circle_points), then you can add $\pm 2\pi$ as many times as you like, and still get the same point, (i.e. revolve around as many complete cycles as you like). –  Sep 05 '12 at 18:12
  • 45
    Do you know the *definition* of $i^i$? –  Sep 05 '12 at 18:22
  • 3
    A pedantic point: is a complex number with a 0 imaginary part the same as a real number? – James Sep 06 '12 at 12:11
  • @Jack: I didn't, but this answer helped me a little bit: http://math.stackexchange.com/a/191574/4051 – Isaac Sep 06 '12 at 16:36
  • 12
    @James: Unless you know some secret that I don't, yes it is. – Cameron Buie Sep 06 '12 at 20:58
  • 3
    @CameronBuie I agree for most practical purposes you don't need to distinguish but formally, since complex numbers and reals have different properties, do you have to do an intermediate conversion? For instance, can you assert $1+0i < 2+0i$ in the same way you can assert $1 < 2$? – James Sep 07 '12 at 07:42
  • 5
    @James Yes, if you interpret $<$ to be by lexicographical order. It suffices to be an order relation on the set $\{a+bi \mid a \in \Bbb R, b = 0\} \subset \Bbb C$. – Emily Sep 07 '12 at 13:41

6 Answers6

180

Here's a proof that I absolutely do not believe: take its complex conjugate, which is $\bigl({\bar i}\bigr)^{\bar i}=(1/i)^{-i}=i^i$. Since complex conjugation leaves it fixed, it’s real!

EDIT: In answer to @Isaac’s comment, I think that to justify the formula above, you have to go through exactly the same arguments that most of the other answerers did. For complex numbers $u$ and $v$, we define $u^v=\exp(v\log u)$. Now, the exponential and the logarithm are defined by series with all real coefficients; alternatively you can say that they are analytic, sending reals to reals. Thus $\overline{\exp u}=\exp(\bar u)$ and $\overline{\log(u)}=\log\bar u$. The result follows, always sweeping under the rug the fact that the logarithm is not well defined.

wythagoras
  • 24,314
  • 6
  • 55
  • 112
Lubin
  • 59,621
  • 5
  • 66
  • 132
  • 24
    It's... it's beautiful! Just a question: Does complex conjugate of $(a+ib)^{(c+id)}$ equal $(a-ib)^{(c-id)}$? – Isaac Sep 06 '12 at 16:28
93

Write $i=e^{\frac{\pi}{2}i}$, then $i^i=(e^{\frac{\pi}{2}i})^i = e^{-\frac{\pi}{2}} \in \mathbb{R}$. Be careful though, taking complex powers is more... complex... than it may appear on first sight $-$ see here for more info.

In particular, it's not well-defined (until we make some choice that makes it well-defined); we could just have well written $i=e^{\frac{5\pi}{2}i}$ and obtained $i^i=e^{-\frac{5\pi}{2}}$. But $i^i$ can't be equal to both $e^{-\frac{\pi}{2}}$ and $e^{-\frac{5\pi}{2}}$ can it?

Despite the lack-of-well-defined-ness, though, $i^i$ is always real, no matter which '$i^{\text{th}}$ power of $i$' we decide to take.


More depth: If $z,\alpha \in \mathbb{C}$ then we can define $$z^{\alpha} = \exp(\alpha \log z)$$ where $\exp w$ is defined in some independent manner, e.g. by its power series. The complex logarithm is defined by $$\log z = \log \left| z \right| + i\arg z$$ and therefore depends on our choice of range of argument. If we fix a range of argument, though, then $z^{\alpha}$ becomes well-defined.

Now, here, $z=i$ and so $\log i = i\arg i$, so $$i^i = \exp (i \cdot i\arg i) = \exp (-\arg i)$$ so no matter what we choose for our range of argument, we always have $i^i \in \mathbb{R}$.

Fun stuff, eh?

ComFreek
  • 1,411
  • 1
  • 9
  • 17
Clive Newstead
  • 62,292
  • 4
  • 91
  • 158
  • 1
    I am going to choose this answer as accepted answer, but there are some other answers that are very insightful and worth to take a look. – Isaac Sep 12 '13 at 19:48
  • Relevant: http://tauday.com/tau-manifesto –  Feb 22 '16 at 07:48
  • For your shorter version, how can you be sure that exponentiation rules apply for complex powers? Specifically, how do you know that (e^a)^i=e^(ia)? – Patrick Cook Apr 21 '18 at 22:23
  • @PatrickCook: You prove it ;) It's an immediate consequence of the more general fact that $\exp(zw) = \exp(z)^w$, which isn't too difficult to prove using exponential series. – Clive Newstead Apr 21 '18 at 22:30
  • @CliveNewstead For z,w in the real numbers sure. But is it really true that (z^i)(w^i)=(zw)^i? Which would be a consequence of what you're saying here. The reason I ask is because I am dealing with (i^i)^4 = i^(4i) = (i^(2))^(2i) = ((-1)^(2))^i = 1^i = 1. So the problem here is then if i^i = e^(-pi/2) and (i^i)^4=1, then e^(-2pi)=1 which is obviously untrue. – Patrick Cook Apr 22 '18 at 00:50
68

$i^i$ takes infinitely many values:

$$i^i = e^{i \log i} = e^{i(i\pi/2 + 2 \pi i m)} = e^{-\pi/2}e^{-2 \pi m},$$

where $m$ is an integer.

J. M. ain't a mathematician
  • 71,951
  • 6
  • 191
  • 335
N.U.
  • 2,898
  • 2
  • 19
  • 26
  • 16
    All of those are real – Henry Sep 05 '12 at 22:26
  • 1
    No, it can't possibly take on multiple values, its not a multi-function (its merely A number). You are introducing a "magical" step much in the way one may prove that 1=-1. – Squirtle Sep 12 '12 at 06:27
  • 2
    How is it possible that a wrong answer got 7 (now 6) upvotes?! I think this is quite insulting for all the high-quality answers to "low-profile" questions that can hope to reach 2 or 3 upvotes at most. – Giovanni De Gaetano Oct 24 '12 at 11:24
  • 9
    @GiovanniDeGaetano Then please tell me what is wrong. This is straight out of "Complex Analysis" by Gamelin (page 24). Are you thinking about the principal value? – N.U. Oct 24 '12 at 15:32
  • 8
    @GiovanniDeGaetano, dustanalysis, actually, this is the best answer out of the lot. It's somewhat embarrassing for the site that it has so *few* votes. – Stephen Apr 01 '13 at 12:56
  • 11
    Wooops! You are perfectly right. I cannot justify my comment in any way, it would have been enough to stop and reflect before downvoting. I can only apologize with the community and specifically with N.U. for it, and thank Steve for tagging me here. Unfortunately now it's too late to remove the downvote. – Giovanni De Gaetano Apr 05 '13 at 13:53
  • Saw this in a lecture last week, it's beautiful. – Benjamin R Jun 03 '15 at 01:46
60

Using the representation that $i = e^{i \pi/2}$, we have $i^i = \left(e^{i\pi/2}\right)^i = e^{i^2\pi/2} = e^{-\pi/2}$.

$i = e^{i\pi/2}$ comes from the representation that $e^{i\theta} = \cos(\theta)+i\sin(\theta)$, which for $\theta = \pi/2$ gives us $e^{i\pi/2} = \cos \pi/2 + i \sin \pi/2 = 0+i\cdot 1 = i$.

Edit: To add to the other fantastic answers/comments, this is the result on the principal branch. Others have commented that you can equivalently represent $i = e^{i(2k+1/2)\pi}$ and obtain other real-valued answers for $i^i$. Wolfram Alpha gives you $e^{-\pi/2}$ because its default setting is to return the principal value.

Edit again:

It may seem weird that we resort to this "out of nowhere" polar representation of complex numbers, but it is a powerful tool.

Over the reals, the concept that "exponentiation = repeated multiplication" breaks down when you have non-integer exponents, so you have to start defining exponentiation using suprema of sets, which exploits the ordered field nature of the reals.

The complex field is not an ordered field, so the equivalent notion of a supremum doesn't exist. So how do we take any number to the power $i$, let alone a complex number? The polar representation allows us to deal with this issue in a rather clever fashion.

Anixx
  • 7,543
  • 1
  • 25
  • 46
Emily
  • 34,328
  • 6
  • 89
  • 135
4

Let say: $f(z) = z^\theta $
We know Euler's formula: $e^{i \theta} = \cos(\theta) + i \sin(\theta)$
Using it we will get: $$z^\theta = e^{\theta \ln(z)} = e^{\theta (\ln\|z\| + i\arg (z))} = e^{\theta \ln\|z\| }e^{ i \theta \arg (z))}= e^{\theta \ln\|z\| }{(\cos(\theta\arg (z)) + i \sin(\theta\arg (z)))} z \in C$$

So if $$z = i \wedge \theta = i \implies$$ $$ z^\theta = i^i = e^{i \ln(i)} = e^{i (\ln\|i\| + i\arg (i))} = e^{i \ln\|i\| }e^{ i i \arg (i))}= e^{i \ln(1) }e^{- \frac{\pi}{2}+2\pi k}= e^0 e^{- \frac{\pi}{2}+2\pi k}=e^{- \frac{\pi}{2}+2\pi k} $$ which is a bunch of Real numbers depending $k \in \mathbb Z$

So it is already proved that $i^i$ is a real number.

IremadzeArchil19910311
  • 1,570
  • 2
  • 15
  • 30
4

This would come right from Euler's formula. Let's derive it first. There are many ways to derive it though, the Taylor series method being the most popular; here I’ll go through a different proof. Let the polar form of the complex number be equal to $z$ . $$\implies z = \cos x + i\sin x$$ Differentiating on both sides we get,

$$\implies \dfrac{dz}{dx} = -\sin x + i\cos x$$

$$\implies dz = (-\sin x + i\cos x)dx$$ Integrating on both sides,

$$\implies \displaystyle \int \frac{dz}{z} = i \int dx$$ $$\implies \log_e z = ix + K$$ Since $K = 0$, (Set $x = 0$ in the equation), we have, $$\implies z = e^{ix}$$ $$\implies e^{ix} = \cos x + i\sin x$$ The most famous example of a completely real number being equal to a real raised to an imaginary is $$\implies e^{i\pi} = -1$$ which is Euler’s identity. To find $i$ to the power $i$ we would have to put $ x = \frac{\pi}2$ in Euler's formula. We would get $$e^{i\frac{\pi}2} = \cos \frac{\pi}2 + i\sin \frac{\pi}2$$ $$e^{i\frac{\pi}2} = i$$ $${(e^{i\frac{\pi}2})}^{i} = i^{i}$$ $$i^{i} = {e^{i^{2}\frac{\pi}2}} = {e^{-\frac{\pi}2}}$$ $$i^{i} = {e^{-\frac{\pi}2}} = 0.20787957635$$ This value of $i$ to the power $i$ is derived from the principal values of $\sin$ and $\cos$ which would satisfy this equation. There are infinite angles through which this can be evaluated; since $\sin$ and $\cos$ are periodic functions.

vs_292
  • 217
  • 1
  • 6