Skip to main content
25-Diamond I
March 22, 2017
Question

Symbolical derivative - is it a bug?

  • March 22, 2017
  • 2 replies
  • 2328 views

Is it a bug or is there any reasonable explanation for this effect?

I am aware of the different ways that third root of x and x^(1/3) are implemented for negative arguments

and those negative values sure are the reason for the error because all works OK when I "assume, x>0". Nevertheless I don't clearly see a reason why the symbolical evaluation after der derivative should make the numerics fail.

2 replies

23-Emerald IV
March 22, 2017

Here is what Mathcad 11 makes of it:

I guess it's a bug.

Potentially caused by, or related to the feature that roots are shown as roots (instead of as powers) since Mupad is the symbolic engine, and that I was very jealous about

until today.

Luc

Werner_E25-Diamond IAuthor
25-Diamond I
March 22, 2017

Thanks!

> I guess it's a bug.

Yes, probably kind of.

From the plots it looks that in MC11 also the numeric evaluation of the third root of -1 yields a non-real result and so nothing is plotted for negative abscissa values.

So obviously the distinction between third root and ^(1/3) was introduced later because people complained about the third root of a negative number not being a negative real. I am not sure if it has something to do with muPad - numeric evaluation treats root and exponentiation differently, too.

> that I was very jealous about until today.

So everything has a positive side, too - even a bug

21-Topaz II
March 22, 2017

Sometimes I like to think that the truth is this: it is preferred to distribute a poor software rather than a perfect, when it is not known, to those who is sold. Nowadays, we have fierce enemies, and provide them, in some way, something very powerful, it would be to our disadvantage. I, therefore, think that these errors that occasionally come out, are made on purpose.

Werner_E25-Diamond IAuthor
25-Diamond I
March 22, 2017

Speculations about conspiracy theories are new in this forum.

So, looking at the development of Prime, PTC should not be seen as incapable but should rather be praised as protector of the free world?

21-Topaz II
March 22, 2017

it's so indeed, even if it goes against the interests of PTC, which, however, is paradoxical when you consider that the producer is only concerned to make big gains and be quoted on the stock exchange. The mathematical CAD is a tool that goes beyond, way beyond any other CAD. With the "queen of the sciences" you can design whatever you want ... and in the hands of certain individuals, would not be as noble as it is viewed. We have already experienced the last century ... This suggests that the entire scientific world is against the spread of this software.