Why is $\sqrt{x^2}=|x|$ instead of $\pm x$?

118 Views Asked by At

$\sqrt{a}=\pm a$ for any $a$. $x^2$ always removes the negative, meaning that it will result in a positive number for $a$, but that doesn’t change the ambiguity of the square root operation. Thus I would think that $\sqrt{x^2}=\pm x$, where you select which output to use based on the problem in question, or leave it ambiguous if there is not enough information.

Yet in usage, it seems like the positive root is assumed if $a$ can be written as the square of something (ie $y=\sqrt{x^2+4x+4}=\sqrt{(x+2)^2}$ is assumed to have range $y\ge 0$). This would seem to contradict the definition, since ANY $a$, be it an equation or a number, can be considered the square of something and thus any use of the square root could be considered to be acting on a square.

What is going on here?

1

There are 1 best solutions below

1
On

If $x\in\mathbb{R};x\ge 0$, then $\sqrt{x}$ is defined as "the non-negative real number which, when squared, equals to $x$.

Saying this is correct:

$\sqrt{x^2}=|x|=\begin{cases}x, \text{if }x\ge 0\\-x, \text{if }x\le 0\end{cases}$

I will give you another example first before considering your question:

$x^2-1=0\Leftrightarrow x^2=1\Leftrightarrow x=\pm 1$

For this case, $x=1$ and $x=-1$ are both true for the equation.

However:

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

$\sqrt{x^2}=|x|$ is true, however $|x|=\pm x$ is not true, because $|x|=x$ is only true if $x\ge 0$ and $|x|=-x$ is only true if $x\le 0$, they cannot both be correct at the same time (except for $x=0$, but saying $|0|=\pm{0}=0$ is quite pointless).