52

I was messing with the identity $e^{i\pi}=-1$ and I got that $i = \sqrt{e^{\pi\sqrt{e^{\pi\sqrt\ldots}}}}$ and on. I plugged it in to a calculator and it was infinite. It grew very fast. Does that make $i$ solvable?

jimjim
  • 9,675

3 Answers3

83

I'm assuming to reach that conclusion, you took the square root of both sides and got: $$\sqrt{e^{i\pi}}=i$$ which is correct. Then, on the left hand side, you substituted for $i$ using this equality to get $$\sqrt{e^{\pi\sqrt{e^{i\pi}}}}=i$$ which is still okay - and then you tried doing this infinitely often, and lo and behold, it broke!

The main issue is that, suppose we let $$f(x)=\sqrt{e^{\pi x}}.$$ What's you've shown amount to the fact that $f$ has what is called a fixed-point at $i$ - that is $$f(i)=i.$$ And this implies things like $$f(f(i))=i$$ $$f(f(f(i)))=i$$ or, where we let $f^n(i)$ be $f$ applied to $i$ repeatedly $n$ times, we get $$f^n(i)=i.$$ So far so good. However, if we wanted to make sense of an expression which is basically an infinite nest of the function $f$ with no starting value, it would be that, no matter what $x$ we started with, the sequence $$(x,f(x),f^2(x),f^3(x),\ldots)$$ - called the orbit of $x$ under $f$ - would always converge to $i$ - and as you see, this is not the case.

A simple example of the difference between "has a fixed point" and "converges to something" would be if we took $$f(x)=2x$$ which has a fixed point at $x=0$. If we wished to think of the expression $$2\cdot (2\cdot (2\cdots)))$$ we would hope that $f$ would have that $(x,f(x),f^2(x),\ldots)$ converged for any $x$ - but it only converges for $x=0$ - otherwise, the sequence has $f^n(x)=2^nx$ which diverges. Your function acts similarly, but it is harder to visualize, as it takes place on the complex plane. So, in fact, you cannot "compute" $i$ using this method - the series will simply diverge. However, for any finite number of applications, your identity is correct.

user26486
  • 11,331
Milo Brandt
  • 60,888
  • For getting to the converging place is it possible to make an equation that represents the sequence and then go negatively because then it will approach a certain number instead of spreading. – user2888499 Nov 06 '14 at 03:07
  • 1
    Like, if we instead of going $(x,f(x),f^2(x),\ldots)$ went backwards? Yes, it is possible; we'd use the inverse of $f$, which happens to be: $$f^{-1}(x)=\frac{2}{\pi}\log(x).$$ Though this is not true in general, it does seem that iterating this function on a given argument always yields $i$ - and that sort of makes sense, given that $\log(x)$ is going to take big things and make them close to zero and - though you have to be careful about logs on the complex plane - notice that $e^{2\pi i n}=1$ for any $n\in\mathbb{Z}$, which makes defining $\log(1)$ (or anything else) nontrivial. – Milo Brandt Nov 06 '14 at 03:17
  • 1
    I disagree with your "which is correct": the square root operator is defined for positive numbers. For negative numbers, or more generally for complex numbers, it's ambiguous (thus not defined): they have two square roots, none of which is more natural than the other. That's a mistake that leads sometimes to prove that $1=-1$, for example. – Jean-Claude Arbaut Nov 06 '14 at 16:51
  • 2
    @Jean In this case the principal value works - but even better is that, if we let $\sqrt{-1}=x$ (i.e. choose $i$ or $-i$ arbitrarily but be consistent), then the identity $e^{\pi x}=-1$ holds and $\sqrt{e^{\pi x}}=\sqrt{-1}=x$ holds. Moreover, defining $f[X]={k:k^2=e^{\pi x},x\in X}$ - that is, taking the set of both roots to the equation - yields that ${i}$ and ${-i}$ iterate to ${i,-i}$, which is a fixed point. So there's some nice symmetry built into the problem which lets us avoid any nastiness with square roots. – Milo Brandt Nov 06 '14 at 22:04
  • 7
    I VERY much like the $f(x)=2x$ example at the end. That is a wonderful example of how orbits can fail to converge which is simple and concise. Chalk up one more answer for "infinite recursion of functions do awkward things when you least expect them to!" – Cort Ammon Nov 09 '14 at 19:57
  • I tried finding the inverse and i got a different one. It was f-1(x) = ln(x^2)/pi. Does this work too? – user2888499 Nov 16 '14 at 02:22
  • Also once I reached one I found a value for one which was -e^pisqrt(e^pie.... When I applied the inverse to it I used that value becuase 1^2 = 1. From there I got -i and if -i = i does i have to equal zero or is it just imaginary? It also seems to keep leading back to zero. – user2888499 Nov 16 '14 at 02:35
  • $f^{-1}(x)=\frac{\ln(x^2)}{\pi}$ works just as well; I just exchanged $\ln(x^2)$ for $2\ln(x)$ (and I generally write $\log$ to mean the natural log). Also, yes, some starting points (like $1$) do lead to $0$ under the inverse - but most starting values don't. And $-i\neq i$, but that simply represents a difficulty in the method: $e^{\pi x}=x$ has two solutions, $i$ and $-i$ and this follows from $e^{\pi x}$ being real for all real $x$ and $i$ and $-i$ being conjugates of each other, which means you could get either one from your method – Milo Brandt Nov 16 '14 at 03:25
3

If you take $$\exp(i\pi)=-1=i^2\implies i=\sqrt{\exp(i\pi)}=\sqrt{\exp(\pi\sqrt{\exp(i\pi)})}$$ So the correct identity should be: $$i=\sqrt{\exp(\pi\sqrt{\exp(\pi\sqrt{\exp(\pi\ldots)})})}$$ You can't evaluate from left to right, you need to evaluate it from right to left. Note that last term in an case would be $\exp(i\pi)$ which normals calculators can't evaluate.

RE60K
  • 17,716
0

$$e^{i\pi}=-1=i^2$$

Replace $i$ with $x$.

$$e^{x\pi}=x^2$$

where $x=\pm i$

$$x=\pm\sqrt{e^{x\pi}}$$

Here $i$ satisfies $x=+\sqrt{e^{x\pi}}$.

$$i=\sqrt{e^{i\pi}}=\sqrt{e^{\pi\sqrt{e^{i\pi}}}}=\sqrt{e^{\pi\sqrt{e^{\pi\sqrt{...}}}}}$$

Hence proved.