I'm honestly a bit lost. So, consider this: $$x^2 = k$$ for some generic k. Then take square root giving: $$x = ±\sqrt k$$ And consider this: $$\sqrt x = k$$ Square both sides so: $$x=k^2$$ Right? Showing root cancels square and square cancels root. But now consider: $$ ∣x∣ = \sqrt{x^2}$$ thus: $$ ∣x∣ =(x^{1/2})^2$$ $$ ∣x∣ = x^{2/2}$$ $$ ∣x∣ = x^1$$ $$ ∣x∣ = x$$ But this does not make sense as modulus is always positive so i'm having a hard time grasping why the square and root do not cancel. If anyone could explain the specifics behind the restrictions of roots and powers canceling it would be much appreciated.
I've read that for root to cancel by square radicand must be ≥ 0. But this leads to a huge variety of questions of how are radical equations solved? As one of the first steps is eliminating root by raising to exponent = index of radical (cube root -> third power, nth root -> nth power). And the problem for me arises in the fact that in general math x is assumed to element of reals not ≥ 0 making radical equations impossible as wouldn't it be wrong to assume the domain of x to be [0,infinity)