Menu

#3806 wrong (?) indefinite integrals involving square root

None
not-a-bug
nobody
5
2021-07-02
2021-06-30
No

I first asked for this issue on Stack Overflow, so I'll send you to it:

https://stackoverflow.com/questions/68178560/wrong-indefinite-integral-results-with-wxmaxima-and-sympy

Robert Dodier already answered to my question.
Thanks for your work!
Paolo

Discussion

  • Robert Dodier

    Robert Dodier - 2021-07-01

    Hi Paolo, thanks for your interest in Maxima. From what you were saying on Stack Overflow, it sounds like Maxima returns a different representation of the antiderivative but it is valid. Is there reason to think Maxima's result is invalid?

     
  • Paolo Durandetto

    Hi Robert,

    actually, by calculating the derivative of the antiderivative and subtracting it to the function itself, as you suggested, it returns zero, after proper simplification. Hence, I would say that Maxima's result is valid. I've been influenced by the results indicated on the table of integrals and obtained with Wolfram Alpha, so I was uncertain about what I got with Maxima, but it was only a different representation. Sorry for not checking the correctness of Maxima results more thoroughly before posting the question on Stack Overflow as well as this bug report.

    Nevertheless, I didn't manage to obtain with Maxima that:

    asin(x/a) = atan(x/sqrt(a^2-x^2))

    but this is a minor issue, in my opinion.

    In addition, referring to my Stack Overflow question, an apparently weird result is obtained also with Sympy (even weirder, actually), though not of your interest as a Maxima developer, I guess. Therefore the post is still open for Sympy users/developers.

    I really thank you for your time.

    Paolo

     
  • Robert Dodier

    Robert Dodier - 2021-07-02
    • labels: integral, wrong result, sqrt --> integral, sqrt
    • status: open --> not-a-bug
     
  • Robert Dodier

    Robert Dodier - 2021-07-02

    Hi Paolo, I've marked this ticket as "not a bug" since the different antiderivatives are not incorrect. Also, ideally Maxima would know the identity about asin and atan but its absence is also not a bug. If you want to follow up specifically about the identity, you could post an item on the feature requests tracker: https://sourceforge.net/p/maxima/feature-requests/

    Thanks again, and all the best. Robert.

     

Log in to post a comment.