Today in maths class something occurred to me. How can this be:
$\sqrt{(-5)^2} = ((-5)^2)^{1/2} = (-5)^{2(1/2)} = (-5)^1 = -5$
$\sqrt{(-5)^2} = ((-5)^2)^{1/2} = 25^{1/2} = 5$
This could theoretically prove that $5$ equals $-5$.
Is there any logical reason to explain this?