Message Boards Message Boards

0
|
10693 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Problem with Plot function

Posted 11 years ago
POSTED BY: Bob Freeman
4 Replies

This is presumably due to the fact that the Power function (which is what is being used in the form of the expression in the second example) is defined with a particular convention for a branch cut. From the documentation for Power:

Power[x,y] has a branch cut discontinuity for non-integer y running from -[Infinity] to 0 in the complex x plane.

FullForm[1/((x^2 - 1)^4)^(1/5)]

gives

Power[Power[Plus[-1,Power[x,2]],4],Rational[-1,5]]

whereas

FullForm[1/(x^2 - 1)^(4/5)]

gives

Power[Plus[-1, Power[x, 2]], Rational[-4, 5]]
POSTED BY: David Reiss
Posted 11 years ago
POSTED BY: Bob Freeman
POSTED BY: David Reiss

I teach my students that raising a negative number to a noninteger power is very dangerous, because all algebraic rules stop working. For example,

x^(n/m)==(x^n)^(1/m)==(x^(1/m))^n

is true if x>0, but it is trouble if x<0. I think Mathematica does the right thing in this instance. Try

N[(-2)^(4/5)]
N[((-2)^4)^(1/5)]
N[((-2)^(1/5))^4]
POSTED BY: Gianluca Gorni
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