Menu

#2390 Incorrect diff result (minus sign)

closed
nobody
5
2012-04-03
2012-04-03
Uldis
No

Evaluating:

diff(3*x^2/(1-x),x);

gives:
3x/(1-x)^2 + 6x/(1-x)
insted of:
-3x/(1-x)^2 +6x/(1-x)
(note the minus sign in the begining).

Version is 5.26.0.

Discussion

  • Raymond Toy

    Raymond Toy - 2012-04-03

    Why should there be a minus sign?

    plot2d(3*x^2/(1-x),[x,0,.9]) appears to be an increasing function in that interval, but your derivative is negative at, say, x=3/4.

     
  • Uldis

    Uldis - 2012-04-03

    Ehh.. found my own mistake. Bug closed.

    The strange part is that i checked this result before submitting in wolframaplha and it seems that either i'm totaly incompetent today or wolframalpha gives the incorrect results.

     
  • Raymond Toy

    Raymond Toy - 2012-04-03
    • status: open --> closed
     
  • Raymond Toy

    Raymond Toy - 2012-04-03

    It does look like at least one of the alternate forms in wolframalpha is wrong.

    Setting status to closed now.

     

Log in to post a comment.

MongoDB Logo MongoDB