Post Reply 
sqrt question
04-07-2017, 10:54 PM (This post was last modified: 04-07-2017 10:57 PM by Han.)
Post: #12
RE: sqrt question
(04-07-2017 09:15 PM)Claudio L. Wrote:  
(04-07-2017 04:48 PM)Han Wrote:  So if we want the operation to behave as a function, there cannot be multiple answers. On the other hand, if this is not an issue, then both 6 and -6 are "correct" answers.

We visited this subject in the past (gave me a big headache!):

http://www.hpmuseum.org/forum/thread-6165.html

Assuming clear and consistent conventions (like always choosing the positive root for sqrt(), even if complex), the most trivial algebraic operations may switch you to the other branch (against your will):

sqrt(x) = sqrt((-1)*(-1)*x) = sqrt( -x*i^2) = i*sqrt(-x)

Not so equal!

Is this due to the sqrt() function, though? This seems like a consequence of assuming factorization properties of 1 and -1 that may not still hold true for complex numbers.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
sqrt question - KeithB - 04-06-2017, 03:25 PM
RE: sqrt question - pier4r - 04-06-2017, 04:01 PM
RE: sqrt question - Namir - 04-06-2017, 04:02 PM
RE: sqrt question - KeithB - 04-06-2017, 04:51 PM
RE: sqrt question - Han - 04-06-2017, 05:46 PM
RE: sqrt question - pier4r - 04-06-2017, 05:15 PM
RE: sqrt question - KeithB - 04-06-2017, 06:03 PM
RE: sqrt question - Han - 04-06-2017, 06:18 PM
RE: sqrt question - Claudio L. - 04-07-2017, 01:23 PM
RE: sqrt question - Han - 04-07-2017, 04:48 PM
RE: sqrt question - Claudio L. - 04-07-2017, 09:15 PM
RE: sqrt question - Han - 04-07-2017 10:54 PM
RE: sqrt question - Claudio L. - 04-09-2017, 03:59 AM
RE: sqrt question - David Hayden - 04-24-2017, 09:36 PM
RE: sqrt question - Claudio L. - 04-26-2017, 03:08 AM
RE: sqrt question - Han - 04-28-2017, 06:09 PM
RE: sqrt question - nsg - 04-07-2017, 11:34 PM
RE: sqrt question - Vtile - 04-09-2017, 10:41 AM
RE: sqrt question - nsg - 04-09-2017, 05:26 PM
RE: sqrt question - Vtile - 04-09-2017, 11:07 PM
RE: sqrt question - nsg - 04-10-2017, 01:44 AM
RE: sqrt question - Vtile - 04-25-2017, 11:38 PM



User(s) browsing this thread: 4 Guest(s)