MathGroup Archive 2006

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

Search the Archive

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


It appears that you mean (-1)^(2/5)

(-1)^(2/5)//ComplexExpand

-(1/4) + Sqrt[5]/4 + (1/2)*I*Sqrt[(1/2)*(5 + Sqrt[5])]

(-1)^(2/5)//N

0.30901699437494745 + 0.9510565162951536*I

Plot[{Re[x^(2/5)],Im[x^(2/5)]},{x,-2,0},
    PlotStyle->{Blue,Red}];

Plot[{Re[(-1)^x],Im[(-1)^x]},{x,0,1},
    PlotStyle->{Blue,Red}];


Bob Hanlon

---- Ben <ben.carbery at spam.me> 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
> 


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