Where is the error in the following statement: $i^2=(i^2)^{\frac{4}{4}}=(i^4)^{\frac{2}{4}}=(1)^{\frac{1}{2}}=1$?
I feel the error is in the first equality, because $(i^2)^{\frac{4}{4}}$ is in fact $((i^2)^4)^{\frac{1}{4}}$ which is 1, but what is the mathematical reason so that raising a number to the $4/4$th power is not necessarily the number itself? Is it because the fourth root of a fourth power of a number $x$, may be either $x$ or $-x$, depending upon which is positive? I think I need a rigorous explanation.
Thanks for your time.