1

From school I know that

$\sqrt{x^2} = |x|$.

But if we rewrite the above equation in another way

$\sqrt{x^2} = (x^2)^{\frac{1}{2}} = x^{\frac{2}{2}} = x^1 = x$

then we get another answer.

How is it possible that rewritting an equation changes the answer? And which answer is right, $x$ or $|x|$?

  • 6
    The equality $x^{m/n}=(x^m)^{1/n}$ for arbitrary positive integers $m$ and $n$ can only be guaranteed true if $x$ is a nonnegative real number (here I assume you intend $a^{1/n}$ to denote the nonnegative root). In other cases, the expressions may be multi-valued. – MPW Apr 29 '19 at 14:04
  • @MPW Do you want to put that as an answer? – John Doe Apr 29 '19 at 14:15
  • @JohnDoe : Done – MPW Apr 29 '19 at 14:20

3 Answers3

3

[Converted from comment to answer]

The equality $x^{m/n}=(x^m)^{1/n}$ for arbitrary positive integers $m$ and $n$ can only be guaranteed true if $x$ is a nonnegative real number (here I assume you intend $a^{1/n}$ to denote the nonnegative root). In other cases, the expressions may be multi-valued.

MPW
  • 43,638
1

There is a problem in your second approach. The second writing is not correct because variable x is not guaranteed to be positive. The properties you used are available only if the variable is positive

Kira02
  • 45
0

Let x be a positive number.

So the square of x is $x^2$

Also the square of -x is $(-x)^2 = (-1)^2 x^2 = x^2$.

So we have, $x^2 = (\pm x)^2$

Hence, $\sqrt{x^2} = \sqrt{(\pm x)^2 } = |x|$. As x is positive, |x| = x and as -x is negative |-x| = -(-x) = x

This is simply x because we know in prior that, x is positive.

Now what if x is negative? Then there exists a number x' = -x > 0,

such that $\sqrt{x^2} = \sqrt{(-x')^2} = \sqrt{x'^2}= x' = -x = |x|$.(From the formal case)

Thus in general,$\sqrt{x^2} = |x|$

19aksh
  • 12,768