# Prove that $i^i$ is a real number

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

• Do you know the definition of $i^i$? – Jack Sep 5 '12 at 18:22
• A pedantic point: is a complex number with a 0 imaginary part the same as a real number? – James Sep 6 '12 at 12:11
• @James: Unless you know some secret that I don't, yes it is. – Cameron Buie Sep 6 '12 at 20:58
• @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 7 '12 at 7:42
• @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 7 '12 at 13:41

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?

• 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: tauday.com/tau-manifesto – user117644 Feb 22 '16 at 7: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 0:50

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.

• It's... it's beautiful! Just a question: Does complex conjugate of $(a+ib)^{(c+id)}$ equal $(a-ib)^{(c-id)}$? – Isaac Sep 6 '12 at 16:28
• excellent answer. I just loved it – Why Feb 2 '19 at 14:01

$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.

• All of those are real – Henry Sep 5 '12 at 22:26
• 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
• @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
• @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 1 '13 at 12:56
• 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 5 '13 at 13:53

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.

• How is it determined that $(e^{i\pi/2})^i=e^{i^2\pi/2}$? – Jonas Meyer Feb 12 '17 at 5:29

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.

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.

I feel most answers are too complicated or overkill or assume the value and then prove it. We do not need calculus or conjugates.

Note I do respect the other answers but I feel simple questions require simple answers.

Anyways

Let $$t = i^i$$

Take both sides to the power $$1/i$$

Then $$t^{(1/i)} = i^1 = i$$

Therefore $$t^{-i} = i$$

Take the multiplicative inverse on both sides ;

$$t^i = -i$$

Now take the log on both sides

$$i \ln(t) = - \frac{\pi}{2} i$$

Divide both parts by $$i$$

$$\ln(t) = - \pi/2$$

So

$$t = e^{-\pi/2}$$

Qed.

Notice analogues for other log branches give the other real solutions but the principal value must give this value.

No calculus or conjugates , just plain simple algebra , isn’t that nice ?

• Taking the logarithms of complex numbers isn't so simple, as we are dealing with multivalued functions. For example, $e^{2\pi i}=1$, but if we take the logarithm of both sides we can get a false statement such as $2\pi i=0$ – Moko19 Aug 31 '20 at 12:35
• Taking the logaritm of a root of unity seems simple to me. Anyone who understand log should be able to do it easily . Just take the main branch , the one that gives ln(2) a real value !! No offense my friend :) – mick Sep 3 '20 at 22:39