Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 What does this equal to?
Index -> Off Topic
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
SJ




PostPosted: Fri Apr 17, 2009 4:16 pm   Post subject: What does this equal to?

(-1) ^ (2/3)

interesting enough, when i asked 2 friends today, they responded simultaneously, one said "1" and one said "undefined".

so is it ( (-1) ^ (2) ) ^ (1/3) or ( (-1) ^ (1/3) ) ^ 2 ?
Sponsor
Sponsor
Sponsor
sponsor
OneOffDriveByPoster




PostPosted: Fri Apr 17, 2009 4:25 pm   Post subject: Re: What does this equal to?

SJ @ Fri Apr 17, 2009 4:16 pm wrote:
so is it ( (-1) ^ (2) ) ^ (1/3) or ( (-1) ^ (1/3) ) ^ 2 ?
It doesn't matter:
( (-1) ^ 2 ) ^ (1/3)
= 1 ^ (1/3)
= 1

( (-1) ^ (1/3) ) ^ 2
= (-1) ^ 2
= 1
[Gandalf]




PostPosted: Fri Apr 17, 2009 4:36 pm   Post subject: RE:What does this equal to?

For negative numbers you'll only run into trouble with even roots. Besides (-1)^(1/2) is defined, as i. Smile
endless




PostPosted: Fri Apr 17, 2009 4:39 pm   Post subject: RE:What does this equal to?

http://www.google.ca/search?hl=en&safe=off&q=%28-1%29%5E%282%2F3%29&btnG=Search&meta=
SJ




PostPosted: Fri Apr 17, 2009 6:03 pm   Post subject: RE:What does this equal to?

ahh ok. thanks, i get it now. when i plug it into my calculator it gives me an error, so i guess it doesnt support imaginary numbers. though, i found out that if i graph y=x^(2/3) on graphmatica it's a cusp graph thats defined on both positive and negative sides.
saltpro15




PostPosted: Fri Apr 17, 2009 6:13 pm   Post subject: RE:What does this equal to?

well, we can't argue with our Google overlords, that must be the correct solution!
Brightguy




PostPosted: Fri Apr 17, 2009 6:38 pm   Post subject: Re: What does this equal to?

OneOffDriveByPoster @ Fri Apr 17, 2009 4:25 pm wrote:
It doesn't matter:
( (-1) ^ 2 ) ^ (1/3)
= 1 ^ (1/3)
= 1

( (-1) ^ (1/3) ) ^ 2
= (-1) ^ 2
= 1

This isn't using the principal value, though; Google is correct if you want that. This came up two years ago [my post is basically unreadable since LaTeX broke Mad].
zero-impact




PostPosted: Fri Apr 17, 2009 6:42 pm   Post subject: RE:What does this equal to?

On a similiar note. Today I was playing with imaginary numbers and came up with this
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Where did I go horribly wrong??
Sponsor
Sponsor
Sponsor
sponsor
apomb




PostPosted: Fri Apr 17, 2009 8:03 pm   Post subject: Re: RE:What does this equal to?

zero-impact @ Fri Apr 17, 2009 6:42 pm wrote:
On a similiar note. Today I was playing with imaginary numbers and came up with this
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Where did I go horribly wrong??


because (-1)(-1) ≠ √1

well... maybe i guess it does
CodeMonkey2000




PostPosted: Fri Apr 17, 2009 8:35 pm   Post subject: RE:What does this equal to?

√1 =+/- 1

There are 2 answers.
zero-impact




PostPosted: Fri Apr 17, 2009 9:22 pm   Post subject: RE:What does this equal to?

does that not still mean that 1 can equal -1 or +1?
CodeMonkey2000




PostPosted: Fri Apr 17, 2009 9:24 pm   Post subject: RE:What does this equal to?

What? How did you come to that conclusion?

√1 =+/- 1

You ignored the second root in your series of equations, so the whole thing is flawed.
zero-impact




PostPosted: Fri Apr 17, 2009 10:04 pm   Post subject: RE:What does this equal to?

I understand what you are saying now. I knew it was flawed, I was simply asking how. Thank you.
Brightguy




PostPosted: Sat Apr 18, 2009 12:23 am   Post subject: Re: What does this equal to?

CodeMonkey2000 @ Fri Apr 17, 2009 8:35 pm wrote:
There are 2 answers.

This also came up before. Any nonzero number has two distinct square roots, but the standard is √ denotes a function, so it is single-valued and defined to be the principal square root.

The real problem is that (a*b)^c = (a^c)*(b^c) doesn't always hold. It does hold when a, b have positive real part or when c is an integer (of course ab must be nonzero). Again we are using the principal value (otherwise a^b for irrational b would have an infinite number of values, for example).
endless




PostPosted: Sat Apr 18, 2009 7:00 am   Post subject: Re: What does this equal to?

Brightguy @ Sat Apr 18, 2009 12:23 am wrote:
CodeMonkey2000 @ Fri Apr 17, 2009 8:35 pm wrote:
There are 2 answers.

This also came up before.


ha, reading through that thread is hilarious.
Display posts from previous:   
   Index -> Off Topic
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 15 Posts ]
Jump to:   


Style:  
Search: