I was messing around with the graphs of $\cos(\ln(x))$ and $\sin(\ln(x))$ in Desmos because I had noticed that for any $a^i$, where $i=\sqrt{-1}$, we can rewrite it as$$a^i=e^{i\ln(a)}=\cos(\ln(a))+i\sin(\ln(a))$$ and noticed some stuff. For example:
- It appears that $\displaystyle\lim_{x\to0^+}x^i=0$ (you can see this by rewriting the two equations in Desmos as $\cos(h\ln(x))$ and $\sin(h\ln(x))$ for very small $h$.
- $\displaystyle\lim_{x\to1}x^i=1$
- There appear to be other values for $x$ where $x^i=1+0i$, such as $x\approx4.81\text{ and }x\approx519$, however I decided to not look for any other values of $x$ where $x^i=1+0i$ since $\cos(\ln(x))$ and $\sin(\ln(x))$ starts to oscillate very slowly after around that.
However, my question is based off of (3). Is there a way I could find all of the values of $x$ on $x\in(0,\infty)$ where $x^i=1+0i$ without having to approximate solutions?
I have tried using the definition of $\cos(x)$, that being$$\dfrac12e^{-ix}+\dfrac12e^{ix}$$and then doing the transformation $x\to\ln(x)$ after setting it equal to $1$ and using the quadratic formula approach to get a general solution, but I just ended up getting$$x^i=1\implies x=\sqrt[\large e^{i\pi/2+2i\pi k}]1,k\in\mathbb Z$$which of course has to evaluate to just $1$.
I also tried using the definition of $\sin(x)$, that being$$\dfrac i2e^{-ix}-\dfrac i2e^{ix}$$but this time, after I do the transformation $x\to\ln(x)$, I set it equal to $0$ and attempted again to use the quadratic formula approach, but I ended up getting$$x^{2i}-1=0$$which can be factored as$$(x^i-1)(x^i+1)=0\implies x^i+1=0\text{ or }x^i-1=0$$which of course gets$$x=1\text{ or }e^{\pi+2\pi k}$$the only problem being$$\cos\left(\ln\left(e^{\pi+2\pi k}\right)\right)+i\sin\left(\ln\left(e^{\pi+2\pi k}\right)\right)=\color\red-1+0i$$instead of $1+0i$ like I want.