Can someone please help me solve $i^x=x$?
So far I have:
$$i^x=x$$ $$\frac{\ln(x)}{\ln(i)}=x$$ $$e^{i\pi}=-1$$ $$e^{i\pi/2}=i$$ $$\frac{\ln(x)}{\frac{i\pi}{2}}=x$$ $$\ln(x)=\frac{i x \pi}{2}$$ $$2\ln(x)=i x \pi$$ $$e^{2ln(x)}=e^{ix\pi}$$
But from here, I don't know where to go (Also if I have any mistakes so far please let me know as well). Thank you very much.
The Lambert W-function is a function $W(z)$ which solves $z=W(z)e^{W(z)}$. It is a multi-valued function.
In this case, you are trying to solve:
$$e^{x\pi i/2} = x$$
of:
$$\frac{-\pi i}{2}=\frac{-x\pi i}{2}e^{-x\pi i/2} $$
So
$$x\frac{-\pi i}{2} = W(-\pi i/2)$$ or
$$x =\frac{2i}{\pi} W\left(\frac{-\pi i}{2}\right)$$
I don't think you can do better than this, and even then, this in only using one particular value for $i^x$ - you could also use $i^x=e^{5x\pi i/2}$.
This sort of problem is not even easy to solve when $i$ is replaced by a real number in $(0,1)$. For example:
$$\left(\frac{1}{2}\right)^x = x$$ clearly has a real solution in $(0,1)$, but no closed form without the $W$ function.