Message Boards Message Boards

0
|
10089 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Is this a bug? root/sqrt only appears to take principle root

Posted 10 years ago

Given x = sqrt(-x), I get the result x = 0.

wolfram alpha output

However, x could also be -1. Explicitly entering -1 = root(1) comes up false.

root of -1

Yet given root(1), I get 1 and -1 as expected

root 1

It appears that only the principle root is being considered here. Perhaps this is the root (no pun intended) cause of the original issue?

POSTED BY: Joshua Gerrard
2 Replies

Hi,

we can give WolframAlpha a helping hand:

http://www.wolframalpha.com/input/?i=Solve%5Bx+%3D%3D+I+Sqrt%5Bx%5D%2C+x%5D

Best wishes,

Marco

POSTED BY: Marco Thiel
Posted 10 years ago

Thanks!

Would you agree that -1 should appear by default, rather than having to know this extra syntax?

POSTED BY: Joshua Gerrard
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract