Recently I saw an explanation on why $ e ^ {\pi i} = -1 $, and having the reason in mind I came to the idea that $ e ^ {n \pi i} $ is also equal to -1 if n is odd. Then I remembered something I learned at school, that if the base of two equal numbers are the same, their exponents must also be the same, with the exception that the base is not 0 and not 1 or -1, I think that was it.
But we can see that
- $ e^{\pi i} = e^{3\pi i} $
- $ \pi i \neq 3\pi i $
in this example, even though the bases are equal, the exponents are not, so my question is:
Is the rule only true if the exponents are not complex numbers, and/or does it have more restrictions?