Home » Community » Forums » Math and Physics » Square root
  Intel sponsors gamedev.net search:   
[Control Panel] [Register] [Bookmarks] [Who's Online] [Active Topics] [Stats] [FAQ] [Search]

Add Forum to Favorites |  Send Topic To a Friend | View Forum FAQ | Track this topic

Page:   1 2 3 »»

 Last Thread Next Thread 
 Square root
Post New Topic  Post Reply 
Hello everybody!

Can you tell me please if a square root of a natural number may be negative?

Thanx.


 User Rating: 988   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

No, if you take the sqrt of a negative, it's an irrational number, but never negative.

 User Rating: 1053   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Actually, yes... every natural number has two square roots... the positive and negative "version" if you will. For instance, the square roots of 4 ar +2 and -2.

The square root of a negative number is imaginary, not irrational. Irrational just means that the decimal part is neither terminating nor repeating.

 User Rating: 1015    Report this Post to a Moderator | Link

quote:
Original post by Anonymous Poster
Actually, yes... every natural number has two square roots... the positive and negative "version" if you will. For instance, the square roots of 4 ar +2 and -2.

The square root of a negative number is imaginary, not irrational. Irrational just means that the decimal part is neither terminating nor repeating.


Beep, wrong. A square root is defined to be positive.

 User Rating: 1017   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

I think you might be mis-interpreting the question. The orginal poster is asking about the square root of a natural number which is inherently positive. Of course you have a number that is both positive and negative. Remember solving quadratic equations where you used the formula and got 2 possible choices?

 User Rating: 1163   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

quote:
Original post by Painless
quote:
Original post by Anonymous Poster
Actually, yes... every natural number has two square roots... the positive and negative "version" if you will. For instance, the square roots of 4 ar +2 and -2.

The square root of a negative number is imaginary, not irrational. Irrational just means that the decimal part is neither terminating nor repeating.


Beep, wrong. A square root is defined to be positive.


No beep you.

MathWorld

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction.

 User Rating: 1215   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

quote:
Original post by Painless
Beep, wrong. A square root is defined to be positive.


Anonymous is right, it can be negative. It's just the number you're taking the square root OF that has to be positive. If you take -2 * -2, you get 4, so it works. You can get different solutions to problems by working it twice, once with the positive sqrt and once with the negative, and they'll still work in the original equation.

EDIT: Ack, 2 replies while I was typing that^_^;

[edited by - dekutree64 on June 29, 2003 5:45:53 PM]

 User Rating: 1141   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

quote:
Original post by Painless
quote:
Original post by Anonymous Poster
Actually, yes... every natural number has two square roots... the positive and negative "version" if you will. For instance, the square roots of 4 ar +2 and -2.

The square root of a negative number is imaginary, not irrational. Irrational just means that the decimal part is neither terminating nor repeating.


Beep, wrong. A square root is defined to be positive.



No, you're wrong. "The" square root, represented by the radical symbol, is defined as the positive second root. However, all numbers have two solutions to the equation x*x = n, and therefore two second roots: x = +- sqrt(n).


 User Rating: 1955   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

There is a slight difference between the analytical square root function, and the plain ol' square root. It depends on which one OP was asking about, but chances are he doesn't really know.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

No, a square root can be negative. The square root of a positive number has two roots. These are called the positive square root and the negative square root. (imaginitive, i know) The square root of a negative number is imaginary. The number i is defined such that i*i = -1. Therefore the square root of 16 is -4 and +4, and the square root of -16 is 4i.

 User Rating: 1015    Report this Post to a Moderator | Link

Does it really matter? Why not wait for more information from the OP?

quote:
Original post by vanillacoke
but chances are he doesn't really know.

Such tact

 User Rating: 1039   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

It is really sad to see the number of people that don't know that the square root function is indeed DEFINED to always to be positive. So the sqrt(4) is always 2. It is only when you do a symbolic sqrt that you get 2 possible answers. Go ahead, try it. Load up Maple, or Mathematic and try solving for the sqrt of 4. It'll only give you 2 as the answer. Try the sqrt(x*x) and then you'll get -x and +x.

 User Rating: 1438   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

quote:
Original post by Anonymous Poster
Therefore the square root of 16 is -4 and +4, and the square root of -16 is 4i.


In fact the square root of -16 is 4i or -4i (the complex conjugate roots).



 User Rating: 1263   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

quote:
Original post by Mastaba
It is really sad to see the number of people that don't know that the square root function is indeed DEFINED to always to be positive. So the sqrt(4) is always 2. It is only when you do a symbolic sqrt that you get 2 possible answers. Go ahead, try it. Load up Maple, or Mathematic and try solving for the sqrt of 4. It'll only give you 2 as the answer. Try the sqrt(x*x) and then you'll get -x and +x.

Grrr... Read the MathWorld link. As vanillacoke said, a number may have multiple square roots ("symbolic" doesn't have anything to do with it). BUT, the square root FUNCTION is defined to be only the positive value (at least, in the reals).

Of course, a function is a one-to-one mapping. It can't have multiple images for a given value.

Cédric

 User Rating: 1039   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Cedricl, you took the words right out of my mouth.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Nyahaha! Fear the Gamedever who has nothing to do but click Refresh!

 User Rating: 1039   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

I'm afraid, all right.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

"Can you tell me please if a square root of a natural number may be negative?"

No mention of a FUNCTION defined anywhare in MATHEMATICA or anywhere else is referred to by the question.

So, the answer to the question that was actually asked is YES.

You may define what you like in your software tools, but mathematical questions deserve mathematical answers.



Stevie

Don't follow me, I'm lost.

 User Rating: 1030   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

So... What I understand from this discussion is:
The square roots of 4 are -sqrt(4), sqrt(4). So square root is always positive. If I'm wrong tell me where my mistake is?

[edited by - idinkin on June 30, 2003 1:00:31 PM]

 User Rating: 988   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

idinkin you are correct. The square root of 4 for instance is sqrt(4) and -sqrt(4) with answers 2 and -2. Therefore it is a combination of two functions just like for example graphing a circle with x^2+y^2=r^2. It would like like a parabola placed on its side.

[edited by - nervo on June 30, 2003 1:11:31 PM]

 User Rating: 1163   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

OK. Thanx!

 User Rating: 988   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

quote:
Original post by idinkin
So... What I understand from this discussion is:
The square roots of 4 are -sqrt(4), sqrt(4). So square root is always positive. If I'm wrong tell me where my mistake is?



Not quite, but let me try to end this silly thread.

"square root": The following statement can be accepted as true:
    The square roots of a positive number n are sqrt(n) and -sqrt(n).  
Anyone that doesn't accept that statement is just quibbling over the meanings of some terms. If you (or anyone else) accept that statement, then you must agree with this statement:
    There are two square roots of a positve number - one is positive, one is negative.  


sqrt(), the C function: According to the C standard, sqrt() return a positive value or 0 if the parameter is not negative.

The square root symbol: As far as I know, the sign of the value of the square root symbol depends on the context. I've seen it written with "+/-" and without. Generally, when it doesn't have "+/-", the author assumes you know whether he means both roots or just the positive root. I don't know if there is a notation standard for it, but that is what I've seen.

I hope that answers your question, once and for all. If the definition of the term "square root" is really what you want then look it up in an authoritative source and ignore anyone here that does not quote directly from an authoritative source.

 User Rating: 1839   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

It isn't really quibling. It is a fact. The square root of 4 is 2. Plain and simple. However taking the equation X^2-4=0, and solving that for x requires you to take the square root of AN UNKNOWN. That is why you get 2 answers here. Because you don't know which answer is the correct answer (they may both be correct, or maybe only one is correct in a given context).

 User Rating: 1438   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

quote:
Original post by Mastaba
It isn't really quibling. It is a fact. The square root of 4 is 2. Plain and simple.

/me tries to make a joke about religion and mathematics.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

quote:
Original post by Mastaba
It isn't really quibling. It is a fact. The square root of 4 is 2. Plain and simple.


I can't believe I'm responding...

So what you are saying is that -2 is not a square root of 4 and thus (-2)*(-2) is not 4. If you aren't saying that, then we are definitely quibling over the definition of "square root".

Here is my definition of square root:
    If y = x2, then x is a square root of y. 
This seems like a reasonable and effective definition, but you say it is wrong. Please tell me where I can find out what the correct definition of "square root" is, rather than just taking your word for it.

 User Rating: 1839   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link
Page:   1 2 3 »»
All times are ET (US)

Post Reply
 Last Thread Next Thread 
Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: