This paradox is directly ripped off of this video by the youtube channel "Mathologer 2". There, he presents a paradox with the following steps:
$$e^{i \pi}=-1$$ $$(e^{i \pi})^2=(-1)^2$$ $$(e^{i \pi})^2=1$$ $$e^{2i \pi}=1 $$ $$e^{2i \pi +1}=e$$ $$\text{Substitute $e$ for $e^{2i \pi +1}$}$$ $$(e^{2i \pi +1})^{2i \pi +1}=e$$ $$e^{(2i \pi +1)^2}=e$$ $$e^{-4 \pi ^2+4 \pi i+1}=e$$ $$e^{-4 \pi ^2}e^{4 \pi i}e=e$$ $$e^{-4 \pi ^2}e^{4 \pi i}=1$$ $$\text{Substitute $e^{4 \pi i}$ for 1}$$ $$e^{-4 \pi ^2}=1$$ $$\ln(e^{-4 \pi ^2})=\ln(1)$$ $$-4 \pi ^2=0$$ I tried to extract some reasoning from the youtube comments, however they all conficted with each other; the error seems to come from one of these reasons:
- $(a^b)^c = a^{bc}$ is only true for real bases and exponents (in refernce to $(e^{2i \pi +1})^{2i \pi +1}=e^{(2i \pi +1)^2}$)
- This paradox is similar to the false assumption that $\sin(0)=\sin(\pi) \implies 0=\pi$ which is incorrect here as $\sin(x)$ is not bejective and the same goes for $e^{i\theta}$ since it is equal to $\cos(\theta)+i\sin(\theta)$
- Here the "$\pi$" represents radians, not the actual constant "$\pi$", similar to how 360 always has a degree sign always following it, so $2\pi$ can equal $0$ just like $360^{\circ}=0^{\circ}$
Reasons 1 and 2 both seem correct to me, but I don't understand why the power rule suddenly stops being correct for complex numbers (I seem to remember that $(ab)^z \neq a^zb^z$ when the exponent is imaginary as well). Which of these reasons are actually valid/invalid, and why?