Introduction
For a few months I have been using calculations of imaginative powers and I have come across the equation that most of you are familiar with by now being:
$$x^{\left(y\cdot i\right)}=\cos \left(y\cdot \ln \left(x\right)\right)+i\cdot \sin \left(y\cdot \ln \left(x\right)\right)$$
$x$ and $y$ are both considered as variables in this instance.
Question
How is this equation come about, I have a feeling it is something to do with $e$ being the derivative of itself, however, I haven't done any calculus yet at my school (since in the United Kingdom, Calculus isn't until A level).
I was wondering if anyone would be able to give a helpful explanation of why this is true, not that I'm doubting it, just looking for some more knowledge.
I have actually created a desmos graph for any of you who are interested, it uses real numbers and maps them onto an imaginary plane. Here is the link:
$x^{\left(y\cdot i\right)}$ graph
Hope that you like the graph and hopefully you can help me out with this question.