Today I was thinking about imaginary numbers and hypothesized the graph of $i^x$ would be sinusoidal based on the simple exponent rules of i. I think this can be explained with logarithms, which I've never studied in depth so cannot be sure.
I tried graphing real and imaginary parts of $i^x$ with sympy (a python symbolic maths package) and did end up with this sinusoidal curve.
I'm wondering if someone here can comment on this curve - if there is some formula involving a trigonometric function that is equal to $i^x$, how one would find the derivative of $i^x$, and any other related ideas. Also, links to relevant literature would also be great.
Update: I was encouraged to define $Re(i^x)$ which would make the answer clear to me.
$$\operatorname{Re}(i^x)=\operatorname{sign}(i^x)^x$$
Additionally, according to sympy, $\frac{d}{dx}[i^x]=\frac{i \pi}{2} i^{x}$. This just leads to more questions.
Where can I read more about these issues?
While I invite all criticism, please take into account that I'm in 10th grade and haven't any serious formal math schooling and so am prone to make beginners mistakes. Asking these questions is my attempt to simulate the rigorous education in math I hope to receive in college