While playing around with Mathematica, I decided to try plotting the function $(-1)^x$, and realized the imaginary part plotted along the x-axis, $f(x)=Im((-1)^x)$, looks like a sine wave. So I plotted $g(x)=\sin(\pi x)$, and wouldn't you know it they seem to match. I went on to test values, and sure enough they had equivalent evaluations at the sampled points.
With all that being said, I decided to try proving they equal for the fun of it, and realized I didn't know how to. I attempted to rework Euler's identity $e^{i*\theta} = \cos(\theta)+i*\sin(\theta)$, but to no success.
Thus to explicitly state: How do you prove (or disprove) the following equality:
$$f(x)=g(x) \quad \forall x \in \mathbb{R}$$
First lets transform $\Im((-1)^x) \to \ \Im(e^{\ln((-1)^x)}) \to \Im(e^{x\ln(-1)}) \to \Im(e^{x\pi i}) \to \Im(i\sin(\pi x)+\cos(\pi x)) \to \sin(\pi x) \\ since \ (\Im(ai+b)=a)$
So therefore $sin(\pi x)=\Im((-1)^x)$