On the graph of $f(x)=i^x$ being sinusoidal: reasons, related ideas, and relevant literature 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

$$
\begin{array}{c|r}
x & i^x \\
\hline
0 & 1 \\
1 & i \\
2 & -1 \\
3 & -i \\
4 & 1 \\
5 & i \\
6 & -1 \\
7 & -i \\
8 & 1 \\
\vdots & \vdots
\end{array}
$$
It goes around in circles.  If you want a well-behaved function extending this to $x\in\mathbb R$, you just need something that goes around in circles at that same rate, thus
$$
x\mapsto \cos\left(\frac \pi 2 x\right) + i \sin\left( \frac \pi 2 x \right) = e^{i(\pi/2)x} = e^{i\pi x/2}.
$$
