Why Do Squaring and Square Rooting Lead to Confusion About Number Signs?

  • Context: High School 
  • Thread starter Thread starter BruceW
  • Start date Start date
  • Tags Tags
    Behavior Numbers
Click For Summary

Discussion Overview

The discussion revolves around the confusion arising from squaring and square rooting numbers, particularly concerning the signs of the results. Participants explore the implications of these operations in both real and complex number contexts, examining the conditions under which certain outcomes occur and the definitions of square roots.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants note that squaring a number and then taking the square root results in both positive and negative outcomes, leading to apparent contradictions in mathematical expressions.
  • Others argue that the square root function is defined to return only the positive root, which means that when taking the square root of a squared number, the result is the modulus of the number, not the original number itself.
  • There is a discussion about the non-commutativity of the operations involved, with some participants asserting that squaring and then square rooting does not yield the original number due to loss of sign information.
  • Some participants introduce complex numbers as a way to resolve the confusion regarding square roots of negative numbers, suggesting that every square root yields two outcomes in the complex plane.
  • Concerns are raised about calculators and their limitations when dealing with square roots of negative numbers, emphasizing that calculators often operate within the realm of real numbers.
  • Participants express differing views on the implications of these operations, particularly in relation to the definitions and properties of square roots in real versus complex number systems.

Areas of Agreement / Disagreement

Participants do not reach a consensus; multiple competing views remain regarding the interpretation of square roots and the implications of squaring and square rooting numbers. The discussion highlights both the definitions of mathematical functions and the nuances of their application in different number systems.

Contextual Notes

Limitations include the dependence on definitions of square roots, the distinction between real and complex numbers, and the implications of using calculators that may not handle negative square roots appropriately.

BruceW
Science Advisor
Messages
3,611
Reaction score
121
I understand the basics of raising numbers to powers of whatever, but I've been wondering:

When you square a number then square root it, you end up with plus or minus the original number. (i.e. 5 times 5 gets 25, then root gets 5 or -5). But using the rules of raising numbers to powers of other numbers:
(5^2)^0.5=5^1
And i would assume 5^1=just 5, not -5. But the left-hand-side of the equation gives 5 or -5.

Another example: 2^2=2^(4/2)=(2^4)^0.5=16^0.5= 4 or -4
But surely 2^2=4 and not -4

So there seems to be a contradiction. Is there some rule that defines when there is an uncertainy in the sign of the number?
 
Mathematics news on Phys.org
(2)^2=4 and (-2)^2=(-2)(-2)=4

\therefore if x^2=4, x can be \pm 2
 
When you square a number then square root it, you end up with plus or minus the original number.

No you don't: you end up with the modulus of the number:

\sqrt{x^2}=\left|x\right|

By the way, these operations don't commute:

\left(\sqrt{x}\right)^2=x

You are confusing the square roots of a number with the function f\left(x\right)=\sqrt{x}=x^{0.5}, so 16^{0.5}=4, not 4 or -4.
 
@JSuarez: So the function f(x) equals the positive root, so why don't the operations x and (x^0.5)^2 commute? They both have all the same answers for any given input. And (x^2)^0.5 would also commute, since we are saying the function equals the positive root only.
ps thanks for your help :)
 
BruceW said:
@JSuarez: So the function f(x) equals the positive root, so why don't the operations x and (x^0.5)^2 commute? They both have all the same answers for any given input. And (x^2)^0.5 would also commute, since we are saying the function equals the positive root only.
ps thanks for your help :)

x and (x^\frac{1}{2})^2 are the same. Take some positive x, you'll end up back at x after sqrt root then squaring. For some negative, you'll have a complex number then square it to get the negative back again.

However, when you square x first, you lose information as to whether x was positive or negative before squaring, so when you take the root it's not exactly x, but rather |x|.

When you square root x first, for x positive, you have some result positive (by the way, this is how square rooting has been defined, only as the positive square root, not plus/minus), but for x negative you have a complex number. You don't lose information in this case.

It's somewhat like taking the derivative of a function. Doing the inverse (integrating) means you lose the info as to what the constant was.
 
so why don't the operations x and (x^0.5)^2 commute?

When I said "commute", I meant that, given functions f(x) e g(x):

f\left(x\right)=\sqrt{x}

g\left(x\right)=x^2

Then f\circ g\left(x\right)=\left|x\right| \neq g\circ f\left(x\right)=x.
 
Mentallic said:
x and (x^\frac{1}{2})^2 are the same.
No, they are not. As a counterexample, -2 \neq ((-2)^{1/2})^2
 
Mark44 said:
No, they are not. As a counterexample, -2 \neq ((-2)^{1/2})^2

(-2)^{1/2}=\sqrt{2}i

(\sqrt{2}i)^2=-2

Please explain why you're claiming they're not equivalent.
 
Mark44 would not have made such a mistake- it must be a typo.

I suspect he meant to say that ((-2)^2)^{1/2}\ne -2.
 
  • #10
It wasn't a typo. I was thinking in terms of the square root function defined on the nonnegative reals, but I didn't add this qualification. If you attempt to take the square root of a negative number on a calculator, the operation is undefined -- that's the sense of the square root I had in mind. Sorry I didn't make myself clearer.
 
Last edited:
  • #11
BruceW said:
I understand the basics of raising numbers to powers of whatever, but I've been wondering:

When you square a number then square root it, you end up with plus or minus the original number. (i.e. 5 times 5 gets 25, then root gets 5 or -5). But using the rules of raising numbers to powers of other numbers:
(5^2)^0.5=5^1
And i would assume 5^1=just 5, not -5. But the left-hand-side of the equation gives 5 or -5.

Another example: 2^2=2^(4/2)=(2^4)^0.5=16^0.5= 4 or -4
But surely 2^2=4 and not -4

So there seems to be a contradiction. Is there some rule that defines when there is an uncertainy in the sign of the number?

Yes there's a way to solve this uncertainty, but using what's called "Complex numbers", where there's nothing called "not possible", like taking the square-root of a negative number.

If you would like to learn how this contradiction is solved, you have to learn the De Moivre's theorem, you can find details about it on wikipedia:

http://en.wikipedia.org/wiki/De_Moivre's_formula

In this theorem, every square-root gives you 2 outcomes, and every cube-root gives 3 outcomes, and every quad-rood gives 4 outcomes, and so on! So the number of outcomes depends on the power of the root you're applying. Those outcomes are not always nice and "symmetric" as they are for square-roots, positive and negative. They are sloppy somewhat and need graphical representation to make sense.

So the square-root of 1 is (1,-1). But the bad news is, that the cube-root of 1 is not only 1, but there are another two complex numbers, namely: cos(120) + i sin(120), and cos(240) + i sin(240). And "1", which is the first outcome we mentioned may be calculated with the same rule: cos(0) + i sin(0) = 1.

i is the kernel of the of the complex numbers, basically it's defined as the square-root of -1.

Sorry for complicating things, but this is why mathematics is nice, everything is symmetric, and everything has an answer, even if it doesn't make sense in the first sight :D

Hope this helps, any questions are welcome!

Ciao!
 
  • #12
Mark44 said:
It wasn't a typo. I was thinking in terms of the square root function defined on the nonnegative reals, but I didn't add this qualification. If you attempt to take the square root of a negative number on a calculator, the operation is undefined -- that's the sense of the square root I had in mind. Sorry I didn't make myself clearer.
I also gave a mention to square roots of negatives, mainly:
Mentallic said:
x and (x^\frac{1}{2})^2 are the same. Take some positive x, you'll end up back at x after sqrt root then squaring. For some negative, you'll have a complex number then square it to get the negative back again.

Calculators are not a nice way of disclaiming a fact.

For example, if you want to calculate the cotangent of a number that is equal to zero, most calculators don't have a cot function ready, so you need to take the reciprocal of the tangent function, but this leads to 1 divided by (undefined), but we know this is equal to 0:
\frac{1}{tan\left(\frac{\pi}{2}\right)}=0

The calculator unsurprisingly gives us a math error since it tries to calculate tan(\pi/2).

Similarly for the square root of a negative, just because the calculator gives us an undefined answer, doesn't mean it is undefined in the real sense.
 
  • #13
@ JSuarez:
Cool, that does make sense to me. So basically i just have to take care in the order in which i take those two functions.
Thanks, that's pretty much the answer i was looking for :)
 
  • #14
Mentallic said:
Similarly for the square root of a negative, just because the calculator gives us an undefined answer, doesn't mean it is undefined in the real sense.

Mentallic, you're correct if you're working in the field of complex numbers, but if you're working strictly in the field of real numbers, then (\sqrt{x})^2 \neq x since negative reals have no square roots. I believe that this is Mark44's point when he is talking about calculators because most calculators work exclusively with real numbers.
 

Similar threads

  • · Replies 68 ·
3
Replies
68
Views
12K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
908
  • · Replies 16 ·
Replies
16
Views
4K