15

I asked a student I tutor what $\sqrt{x^2}$ was so I could show him why the solution is $|x|$ instead of just $x$. He ended up changing the problem to $(x^2)^{1/2}$ and then multiplied the exponents to get $x^{2/2}=x^1=x$. Now I'm well aware why the answer to the problem I gave him is $|x|$ and explained it, and the answer to $(x^2)^{1/2}$ is likewise $|x|$ but I wasn't able to give a real good explanation why he couldn't use the rule $\sqrt[n]{a^m}=a^{m/n}$.

JRN
  • 10,796
  • 2
  • 37
  • 80
Brendan
  • 253
  • 1
  • 4
  • 12
    because that rule only applies without qualification to non-negative $a$. – James S. Cook Feb 01 '16 at 01:02
  • Well actually now that I think about it, he never actually tried applying that last rule with but just tried multiplying the exponents. – Brendan Feb 01 '16 at 01:06
  • 12
    my favorite: $1 = \sqrt{1 \cdot 1} = \sqrt{(-1)(-1)} = \sqrt{-1}\sqrt{-1} = -1$. Oh noes. – James S. Cook Feb 01 '16 at 03:22
  • 1
    This whole business is a "gotcha"... I don't like to dwell on it. – paul garrett Feb 02 '16 at 03:17
  • 1
    Part of the issue is that most students learn formulas or rules without context. As the answers below indicate, the issue is that a manipulation $(a^m)^n = a^{mn}$ is not always valid, particularly when $a^m$ is undefined. But this requires paying attention to subtlety and carefully thinking through the logic of what you are doing -- almost the exact opposite mindset of most students who are trying to rush through the problem as quickly as possible to produce a "correct" answer (where "correct" is not tied to logical necessity but to approval from the person in charge of grading). – Michael Joyce Feb 02 '16 at 13:39
  • 1
    @MichaelJoyce: The problem is even trickier that; in this case, $a^m$ actually is defined, it's $a^n$ that is not. – Daniel R. Collins Feb 03 '16 at 19:17
  • @DanielR.Collins: Good point! – Michael Joyce Feb 03 '16 at 19:57
  • 1
    @paulgarrett: Agreed, such things are (usually) nuisances and seem to rarely show up when someone is trying to do something useful (I'm thinking here of contests for most obfuscated, deliberately and overly tricksy/cutesy code that is for showcasing/exhibition more than it is for content). I used to get penalised for writing $\log x$ or $\log -x$ for the antiderivative of $x \mapsto 1/x$ even though that was the only relevant domain (and someone who had written $|x|$ would have had to rewrite it, as usual, when the time came to work with it) -- – Vandermonde Feb 04 '16 at 07:12
  • and anyone would damn well know to pay special attention/suspicion if something were to involve crossing the singularity. Also, in all the productive uses of exponentiation (by which I exclude specific/definition-related questions about such) I can remember, either the base was positive real or the exponent was just an integer; – Vandermonde Feb 04 '16 at 07:13
  • and despite the 'importance' attached by a book to the composition of general relations (not just functions), I don't remember how to do so (though I can fairly confidently guess how to reconstruct it) and most importantly have never had reason to. Maybe the people who devote substantial time to this are well-intentioned when they say 'look what I can do', maybe they're not trying to be misunderstood or legalistic, but they can keep their slightly added generality and such to themselves. – Vandermonde Feb 04 '16 at 07:13
  • 2
    This shows up in some standard Calc I problems. E.g., finding $\lim_{x\to -\infty} \frac{\sqrt{x^2+7}}{2x+3}$. Like most things taught in algebra and precalculus, I imagine this was made a big deal of because of problems like these. – ncr Feb 06 '16 at 07:05

4 Answers4

11

This is a surprisingly tricky issue, and the exact answer "why" depends on the context (real or complex numbers?) and definitions in play (varies by textbook). I'm looking for a good general answer to effectively the same issue on this question here.

Restricting the discussion purely to real numbers, the most popular and straightforward response seems to be that the identity $(a^r)^s = a^{rs}$ requires some additional restriction on it, for example, that both $a^r$ and $a^s$ be defined in real numbers. Observing that restriction, the student's simplification is invalid for negative $x$, because then $x^\frac{1}{2}$ is undefined in real numbers. It's possible that may only be implied (not explicitly stated) in a given textbook that you might use.

For some exposition of the complex-valued case, consider the Wikipedia article here.

Edit: Note that as defined in complex numbers, $(z^m)^\frac{1}{n} = (z^\frac{1}{n})^m$ will be true if and only if $m$ and $n$ are relatively prime (assumes $n$, $z$ nonzero; Silverman, 1975).

Daniel R. Collins
  • 25,342
  • 70
  • 121
7

The identity $(x^m)^n=x^{mn}$ is true for real numbers $m,n$ and $x\ge 0$. It is not necessarily true otherwise.

An $n$th root of $b$ (where $n$ is a positive integer and $b$ is a real number) is a value of $x$ such that $x^n=b$. Note that if $b\ne 0$, then there are $n$ distinct values of $x$, some of which may be complex.

Although the expression $x^n=b$ implies many possible values for $x$, the notation $x=\sqrt[n]{b}$ implies only one value of $x$, the principal $n$th root of $b$. This is the unique positive real value of $x$ (if it exists), or the unique negative real value of $x$ otherwise (if it exists). (In my experience, the use of the notation $x=\sqrt[n]{b}$ to denote a unique value of $x$ is often done in primary and secondary education.)

For example, if $x^2=4$, then this means that either $x=2$ or $x=-2$. But $x=\sqrt{4}$ means that $x=2$ (and not $x=-2$). If $x^3=-8$, then there are three solutions (only one of which is real), but the notation $x=\sqrt[3]{-8}$ means $x=-2$ (and no other values).

The equation $x^2=b$ (where $b>0$) means that either $x=\sqrt{b}$ or $x=-\sqrt{b}$. If it is the former, then $\sqrt{x^2}=x$ but if it is the latter then $\sqrt{x^2}=-x$. So one cannot claim that, in general, $\sqrt{x^2}=x$. However, $\sqrt{x^2}=|x|$ holds for either case, so it is, in general, true.

JRN
  • 10,796
  • 2
  • 37
  • 80
  • The case where none of the $n$ roots of $b$ are real numbers is interesting. For example, what is the principal square root of $-1$? – JRN Feb 01 '16 at 01:27
  • 1
    So because the student had a fractional exponent for $n$ he cannot apply the identity, since it requires both $m$ and $n$ to be integers, correct? On a similar note, I've argued with many teachers why $\sqrt{49}$ is just 7, when they insist it is both 7 and -7. The teachers often don't seem to grasp that solving $x^2=49$ is different than simplifying $\sqrt{49}$ – Brendan Feb 01 '16 at 01:29
  • 1
    Yes, that's why it's important to understand the correct terminology (principal $n$th root of $b$) and the correct notation ($\sqrt[n]{b}$). – JRN Feb 01 '16 at 01:35
  • 2
    I hope my latest edit fixes things. – JRN Feb 01 '16 at 03:27
7

The identity $(x^m)^n = x^{mn}$ is only true if $x>0$. In fact pretty much all identities involving exponents are only true for positive bases -- another example that often trips students up is $x^r \cdot y^r = (xy)^r$.

There are several ways to explain why these formulas are only true for positive bases, but at a fundamental level it has to do with the question of how we even define $x^r$ when $r$ is a real number. The conventional definition is that we define $$x^r = \exp \left(r \ln x \right) $$ (although in order to make this definition non-circular we have to have some way of defining what $\exp$ and $\ln$ are without invoking exponents.)

Based on the above definition it can be shown (for positive $x$) that $x^{r+s}=x^r x^s$. From this it can further be deduced that if the exponent $r$ is some integer $n$ then the definition above is consistent the more elementary notions based on "repeated multiplication." It further follows that $x^{1/n}$ is the unique positive $n^{th}$ root of $x$, and we can likewise prove that $(x^r)^s = x^{rs}$ for any real $r$ and $s$. But all of these provable properties hinge on how exactly we define $x^r$, and note that the definition given above only makes sense for $x>0$, because $\ln x$ is not defined (or, more precisely, is not single-valued) for negative values of $x$.

Update: Actually, the situation is more complicated than what I have written above; see https://math.stackexchange.com/a/2085269/124095, and scroll down to the second update, for more information regarding the question of in which contexts the various exponent rules apply.

mweiss
  • 17,341
  • 1
  • 41
  • 89
  • You can have (-8)^(1/3) = -2. – Dan Christensen Feb 01 '16 at 04:47
  • 2
    @mweiss I like the contributions you gave to Joel's answer below that resulted in his edit. I don't see anything wrong with this answer and it makes sense, but I would imagine the student being even more confused if I defined $a^x = \exp \left(r \ln a \right)$ since they have not yet learned about logarithms or what $\exp$ means, and will be confused whether $x^2$ is of the form $a^x$ – Brendan Feb 01 '16 at 14:11
  • @Brendan: Just so you know, the stance that mweiss takes here would be the natural perspective for someone working in the field of complex analysis. – Daniel R. Collins Feb 01 '16 at 17:26
  • 1
    @DanielR.Collins Thanks for the heads up. I do plan on pursuing a PhD. in Mathematics, and I have no disagreements with his answer. I understand the answer and it has helped me personally understand the student's error in an in-depth way that will make me a better instructor. I do thank mweiss for his very helpful input. If my comment sounded like I didn't appreciate his answer, I apologize. I was trying to say that if I were to use such an explanation while tutoring a student in Algebra I who is already struggling, it might end up confusing the student even more. – Brendan Feb 01 '16 at 17:34
  • @Brendan: Right, I agree with all that. – Daniel R. Collins Feb 01 '16 at 18:51
  • @Brendan: Yeah, you might not want to use $a^x$ as the generic equation if in the specific case, a=x and x=2... – James S. Apr 03 '18 at 07:22
  • 1
    @JamesS. Good point! I've edited throughout to make $x$ the base and used $r, s$ for real exponents. – mweiss Apr 03 '18 at 14:43
  • @mweiss yeah, that's now a lot easier to follow in the context of the original problem. – James S. Apr 04 '18 at 18:38
1

Other answers have concentrated on the base, but the problem can also be ascribed to the exponents. $(x^m)^n=x^{mn}$ is true for any base, as long as m and n are integers. This follows simply from the definition of exponentiation as repeated multiplication. $x^m$ is m copies of x multiplied together. $(x^m)^n$ is n copies of (m copies of x multiplied together) multiplied together, and so is mn copies of x multiplied together. This works for any base, integer, rational, irrational, positive, negative, complex. In fact, it works in any ring.

The problem comes when we try to extend the concept of exponents to non-integers. If we want to define $y = x^{\frac{1}{n}}$, we can take $y^n$ and extend the rule to say $y^n = (x^{\frac{1}{n}})^n =x^{\frac{1}{n}n}=x$. With this extension, y is a number such that $y^n$ = x. This is a description of y, but it's not a definition of y, as it not does unique specify y. Thus, when we take $(x^2)^{\frac{1}{2}}$, we are finding a number that when squared is equal to $x^2$. And while it's tempting to look at the phrase "a number that when squared is equal to $x^2$" and say "Well, that's a rather complicated way of saying 'x' ", x isn't the only number that satisfies this description. Thus, we have to make qualifications such as "$x^{\frac{1}{n}}$ is the principal nth root of x", and its those qualifications that cause the rule to fail with negative numbers.

Thus, while we can save this rule by saying "x has to be a positive number", we can also save it by saying "m and have to be integers". Or combine these qualifications and say "This works for non-integers only when we have positive numbers".

Acccumulation
  • 1,440
  • 7
  • 6