According to index laws, $(a^b)^c=a^{b\cdot c}=(a^c)^b$
However, if for example we have $a=-1, b=4, c=1/2$, then we get the equation:
$$((-1)^4)^{1/2}=(-1)^2=((-1)^{1/2})^4$$
The first equation is equal to $1$, however, the last one is undefined. How is this possible?
P.S. I'm sorry the formatting of the indexes is not ideal, I'm not sure how to do it properly