Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15114 > unrolled thread

Calculating derivate in Mathematica 9 giving wrong result

Started byJames <jhlawley@gmail.com>
First post2013-07-03 08:52 +0000
Last post2013-07-03 22:04 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Calculating derivate in Mathematica 9 giving wrong result James <jhlawley@gmail.com> - 2013-07-03 08:52 +0000
    Re: Calculating derivate in Mathematica 9 giving wrong result "Dr. Wolfgang Hintze" <weh@snafu.de> - 2013-07-03 22:04 +0000

#15114 — Calculating derivate in Mathematica 9 giving wrong result

FromJames <jhlawley@gmail.com>
Date2013-07-03 08:52 +0000
SubjectCalculating derivate in Mathematica 9 giving wrong result
Message-ID<kr0oo9$3eu$1@smc.vnet.net>
In[5]:= D[(x^2 - 2)/(x^3 + 6), x]

Out[5]= -((3 x^2 (-2 + x^2))/(6 + x^3)^2) + (2 x)/(6 + x^3)

That is from Mathematica 9.

The wolfram alpha site and my textbook give this answer:

d/dx((x^2+x-2)/(x^3+6)) = (-x^4-2 x^3+6 x^2+12x+6)/(x^3+6)^2

Please tell me what I am doing wrong.

[toc] | [next] | [standalone]


#15123

From"Dr. Wolfgang Hintze" <weh@snafu.de>
Date2013-07-03 22:04 +0000
Message-ID<kr275o$8uh$1@smc.vnet.net>
In reply to#15114
Am Mittwoch, 3. Juli 2013 10:52:25 UTC+2 schrieb James:
> In[5]:= D[(x^2 - 2)/(x^3 + 6), x]
> 
> 
> 
> Out[5]= -((3 x^2 (-2 + x^2))/(6 + x^3)^2) + (2 x)/(6 + x^3)
> 
> 
> 
> That is from Mathematica 9.
> 
> 
> 
> The wolfram alpha site and my textbook give this answer:
> 
> 
> 
> d/dx((x^2+x-2)/(x^3+6)) = (-x^4-2 x^3+6 x^2+12x+6)/(x^3+6)^2
> 
> 
> 
> Please tell me what I am doing wrong.

Both results are correct. 

But the expressions you try to derive are not identical (in the second one there appears an extra "x").

Regards,
Wolfgang

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web