Excel calculating exponential of negative number

Anonymous
2017-12-18T13:47:07+00:00

Using Excel 2010 I get (-8)^(1/3)=-2 but cannot calculate (-8)^(2/3)

The later returns #NUM! while mathematically I see it as (-8)^(1/3)^(2)=4 or (-8)^2^(1/3)=4

Can someone give me some insight?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

11 answers

Sort by: Most helpful
  1. Anonymous
    2017-12-18T14:51:59+00:00

    This is intriguing.

    Why can Excel find (-8)^(1/3) but not (-8)^(2/3) ?

    And to make matter worse this also fails =(-8)^0.33333333333333  (14 decimals)

    while this works                                     =(-8)^0.333333333333333 (15 decimals)

    Perhaps someone on the Excel team can explain the algorithm used

    Anyway here are a couple of workarounds

    best wishes

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2017-12-18T17:39:30+00:00

    Thanks for your input, Bernard Liengme

    For the issue with the number of decimals, from my point of view, Excel rounded the one with 15 decimals off to 1/3, then the calculation returns the cube root of -8 which is -2 (we recall here the maths applied to calculate power of 1/n with n odd).

    On the other hand the one with 14 decimal is left to be a decimal number, hence the result of the formula is an imaginary number which can't be calculated by the ^ operator.

    Those are my guess, left to some experts to confirm.

    What most intriguing to me is that Excel cannot return the m/n power if m is not 1. Does it means it has a test to tell in which case the exponent is rounded off, and only 1/n passes that test?

    Best regards,

    1 person found this answer helpful.
    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Anonymous
    2017-12-19T04:35:45+00:00

    You may get some insight from below link:

    http://mathforum.org/library/drmath/view/62979.html

    Regards,

    Amit Tandon

    www.globaliconnect.com

    0 comments No comments
  5. Anonymous
    2017-12-19T16:53:47+00:00

    Hi Dana,

    Thank you very much for your reply, especially for the interesting formula and the way Excel's interpreter reads formula.

    When I said =(-8)^(1/3)^(2) I really meant ((-8)^(1/3))^(2)

    To me it seems inconsistent when =POWER(-8;1/3) is able to get the true and real root of the equation x^3=-8 while =POWER(-8;2/3) failed to get the square of that x.

    In other words the fact that =((-8)^(1/3))^2 and =((-8)^(2*1/3)) don't give the same result irritated me, because mathematically they do. I'll much appreciate if you could give me an idea about the reason behind this inconsistency.

    Best regards,

    0 comments No comments