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


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

Re: Calculating derivate in Mathematica 9 giving wrong result

Started byBill Rowe <readnews@sbcglobal.net>
First post2013-07-08 03:17 +0000
Last post2013-07-08 03:17 +0000
Articles 1 — 1 participant

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


Contents

  Re: Calculating derivate in Mathematica 9 giving wrong result Bill Rowe <readnews@sbcglobal.net> - 2013-07-08 03:17 +0000

#15140 — Re: Calculating derivate in Mathematica 9 giving wrong result

FromBill Rowe <readnews@sbcglobal.net>
Date2013-07-08 03:17 +0000
SubjectRe: Calculating derivate in Mathematica 9 giving wrong result
Message-ID<krdb0b$epg$1@smc.vnet.net>
On 7/3/13 at 5:01 AM, jhlawley@gmail.com (James) wrote:

>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.

You asked Mathematica to solve a different problem than what you
asked WolframAlpha to solve

Notice in the numerator of your In[5] above is x^2 - 2 while the
numerator of what you sent to WolframAlpha is x^2 + x - 2

That is:

In[2]:= D[((x^2 + x - 2)/(x^3 + 6)), x] // Together

Out[2]= (-x^4 - 2*x^3 + 6*x^2 + 12*x + 6)/(x^3 + 6)^2

[toc] | [standalone]


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


csiph-web