# Why does $\sqrt{x^2}$ seem to equal $x$ and not $|x|$ when you multiply the exponents?

I understand that $\sqrt{x^2} = |x|$ because the principal square root is positive.

But since $\sqrt x = x^{\frac{1}{2}}$ shouldn't $\sqrt{x^2} = (x^2)^{\frac{1}{2}} = x^{\frac{2}{2}} = x$ because of the exponents multiplying together?

Also, doesn't $(\sqrt{x})^2$ preserve the sign of $x$? But shouldn't $(\sqrt{x})^2 = (\sqrt{x})(\sqrt{x}) = \sqrt{x^2}$?

How do I reconcile all this? What rules am I not aware of?

Edit: Since someone voted to close my question, I should probably explain the difference between my question and Proving square root of a square is the same as absolute value, regardless of how much I think the difference should be obvious to anyone who reads the questions. Cole Johnson was asking if there's any way to prove that $\sqrt{x^2} = |x|$. I am not asking that; I already accept the equation as fact. I'm asking how to resolve some apparent contradictions that arise when considering square roots of squares, and how I should approach these types of problems. (Cameron, please read.)

• The issue is that $x^{\frac{1}{2}}$ and $\sqrt{x}$ are not the same thing. $x^{\frac{1}{2}}$ is the set of all $y$ such that $y^2 = x$. $\sqrt{x}$ is the set of all $y$ such that $y^2 = x$ and $y \ge 0$. $(x^{\frac{1}{2}})^2$ should really be interpreted as: square all of the values $y$ such that $y^2 = x$, but this is the same thing as $\{y^2: y^2 = x\}$, which is just $x$. – Cameron Williams Dec 11 '15 at 1:45
• Because the so-called "rule" $a^x a^y = a^{x+y}$ is only for positive numbers $a$. – GEdgar Dec 11 '15 at 1:58
• @KyleDelaney Have you dealt with $i=\sqrt{-1}$? – Simply Beautiful Art Dec 11 '15 at 2:18
• "Whenever one learns a new mathematical operation, it is imperative also to learn the limitations under which the operation may be performed. Lack of this additional knowledge can lead to the employment of the new operation in a blindly formal manner in situations where the operation is not properly applicable, perhaps resulting in absurd and paradoxical conclusions." -- Howard Eves, Great Moments in Mathematics. – Daniel R. Collins Dec 19 '15 at 18:26
• Possible duplicate of Proving square root of a square is the same as absolute value – Cameron Williams Oct 6 '16 at 19:37

A common source of confusion or "paradoxes" comes from not paying close attention to the (perhaps rarely exercised) restrictions or boundary conditions. These restrictions are necessary to ensure that paradoxes like you're considering do not arise (i.e., otherwise the definitions would fail to be well-defined). For example, here's a proper definition of rational exponents from Michael Sullivan's College Algebra:

Note that we only consider real numbers here. Now, to answer your questions:

But since $\sqrt{x} = x^{\frac{1}{2}}$ shouldn't $\sqrt{x^2} = (x^2)^{\frac{1}{2}} = x^{\frac{2}{2}} = x$ because of the exponents multiplying together?

The first assertion is not generally true; $\sqrt{x} = x^{\frac{1}{2}}$ only provided that $\sqrt{x}$ exists (that is, not for negative $x$). In your chained equality, the second equality is false, because the exponent in $x^{\frac{2}{2}}$ contains common factors (i.e., is not in lowest terms). These statements would, however, be true if $x$ was restricted to positive real numbers only.

Also, doesn't $(\sqrt{x})^2$ preserve the sign of $x$? But shouldn't $(\sqrt{x})^2 = (\sqrt{x})(\sqrt{x}) = \sqrt{x^2}$?

All of these equalities are false for negative $x$, because in that case the expression $\sqrt{x}$ does not exist in real numbers (i.e., it's undefined). Likewise, if you look carefully at the rule for multiplying radicals, then you'll see the same restriction against square roots of negative numbers.

Edit: Added text from Precalculus: a right triangle approach by Ratti & McWaters. Hopefully this clarifies the rule for products of square roots (namely that only positive radicands can be generally combined or separated). Also, note the warning from the section on complex numbers that doing so in that case is illegitimate.

• The proper definition in the photo says $a$ need only be a real number, implying that it can be negative. It doesn't say $\sqrt a$ needs to be a real number. So using that definition, the paradox seems to apply. Supposing that $\sqrt x = x^\frac 1 2$ only provided that $\sqrt x$ exists, what does $x^\frac 1 2$ equal if $x$ is negative? Why should the equalities be false for negative $x$ because $\sqrt x$ is imaginary? As soon as the two imaginary numbers multiply together they become a real number. – Kyle Delaney Dec 12 '15 at 4:33
• No, this whole definition is only in the context of real numbers; the clause "provided that $\sqrt[n]{a}$ exists" is in fact saying that it must be a real number (otherwise it would be an empty statement). And again, multiplying radicals is only ever defined if at least one radicand is nonnegative. Seriously, you need to read the definitions carefully. – Daniel R. Collins Dec 12 '15 at 5:25
• Edited to add more clarifying text from the Ratti & McWaters Precalculus text. – Daniel R. Collins Dec 12 '15 at 6:03

The rule $(x^a)^b = x^{ab}$ is only true for positive values of $x$. With negative values, you need to be much more careful.

For example, $\sqrt x \sqrt x = \sqrt{x\cdot x}$ is only true for positive values of $x$, because for negative values, the left side is not defined.

• I thought the square roots of negative values are imaginary. Are imaginary numbers not defined? – Kyle Delaney Dec 11 '15 at 1:54
• @KyleDelaney $i$ is defined as "The solution to $z^2=-1$" which is not the same as "The square root of $-1$". The $\sqrt{}$ fucntion is not well defined on the whole real line (you have to specify the branch cut you use!) – 5xum Dec 11 '15 at 1:55
• @MoebiusCorzer But positive numbers also have two square roots. The symbol $\sqrt{}$ means principal square root. – Kyle Delaney Dec 11 '15 at 2:18
• @KyleDelaney I mean, if you talk about $\sqrt{\cdot}$ as a function, any positive real number has one and only one square root. Actually, with what you're saying, the complex number $1$ would have $4$ complex square roots. We usually talk about the principal square root, unless I'm mistaken. – MoebiusCorzer Dec 11 '15 at 2:20
• @MoebiusCorzer: Every non-zero complex number has exactly two square roots in the complex numbers (whereas zero has exactly one square root, namely itself). The statement that $1$ has four square roots in the complex numbers is incorrect. – Zev Chonoles Dec 12 '15 at 6:06

First of all, $\sqrt{a}\sqrt{b} = \sqrt{ab}$ only when $a$ and $b$ are non-negative. $\sqrt{a}$ and $a^{\frac{1}{2}}$ are not the same function, as Cameron Williams points out in the comments above. Secondly, we can break your square of square root up. For positive values, $\sqrt{x^2} = x$, as one would expect. However, since $\sqrt{(-x)^2} = \sqrt{x^2}$, we notice that we get a positive answer from a negative value, getting $x$ from $-x$. We can represent this as flipping the function over the $x$-axis, or in other-words throwing a negative sign out front (For example, $y=-(x^2+5x)$ flips $y=x^2+5x$ across the $x$-axis). Thus, we get $$\sqrt{\gamma^2}=\begin{cases}\gamma & \gamma\geq 0\\-\gamma & \gamma<0,\end{cases}$$ And this is the definition of the absolute value function

Consider the following:$$1^{\frac1n}$$Look up roots of unity.

The nth root of a number produces n different answers, creating a regular n-sided shape with a "radius" of 1 on the complex plane.

But what does this mean? Well, you could consider this...

The nth root of a positive number in general.

This removes all of the other possible answers, leaving us with only one answer. Among the answers removed was the original answer, but because real-life math usually can ignore this, we're all good.

Now signs, as you may imagine, have been messed up. We, as a general society, have decided that it be positive. This has made math much easier for younger pupils still learning math. And as we take more roots, we pretty much lose signs. We end up with $i$'s, plusses, and minuses. It is not that you have messed up anywhere, it was just a simple decision made to make the square root function positive.

In many maths, you will find that we will say the n-th root of a number does indeed produce n amount of answers, but for lower level math, we stick with the positive answer, or the result of no positive answer.

I mean, think about it, what does $\sqrt1=-1,1$ do for us in real life? Not much, as it turns out. When we need both the positive and negative answers, it is known that that is what we are finding. But it doesn't have much application to real life.

So the rule is that square roots are positive, and just keep a spot in the back of your mind remembering that this is not the only answer.

• No, that's not what I'm asking. I'm well aware that the principal square root is not the inverse of squaring. My question implies my understanding of this when I say that the principal square root is positive. – Kyle Delaney Dec 11 '15 at 2:15
• Oops, you wrote a completely different answer and now my comment makes no sense. – Kyle Delaney Dec 12 '15 at 4:39