MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Is -1^(2/5) really undefined in R?


On Aug 29, 2006, at 4:47 AM, Ben wrote:

> Is -1^(2/5) really undefined in R?
>
> Mathematica seems to think so, I guess since it looks like a  
> negative square root, but
>
> -1^(2/5) = (-1^2)^(1/5) = 1^(1/5) = 1
>
> Is this correct mathematically?
>
> cheers,
>
> BC


On my machine:

In[1]:=
-1^(2/5)
Out[1]=
-1

In[6]:=
(-1)^(2/5)
Out[6]=
(-1)^(2/5)

I think your first equal sign is incorrect.  it should be -(1)^2^ 
(1/5), but hey, I was never good in mathematics :)


János


  • Prev by Date: Re: restart?
  • Next by Date: Re: General--Using FindRoot
  • Previous by thread: Is -1^(2/5) really undefined in R?
  • Next by thread: Re: Is -1^(2/5) really undefined in R?