Wikipedia:Reference desk/Archives/Mathematics/2016 November 30

Mathematics desk
< November 29 << Oct | November | Dec >> Current desk >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


November 30 edit

Wolfram Alpha indefinite integral edit

According to Wolfram Alpha,  . Numerically and algebraically this doesn't seem right (I don't think the differential of the right hand side simplifies to the left). Does Mathematica also give this result? If this is wrong, is there a nice closed form, or what is WA doing here? 24.255.17.182 (talk) 04:58, 30 November 2016 (UTC)[reply]

  • Convenience links: [1], [2]. It does not look right, but I have no idea what is happening. TigraanClick here to contact me 08:14, 30 November 2016 (UTC)[reply]
  • What it's doing is clearly applying the standard rule for integrating polynomials ( ) and then substituting   without realizing that this is itself a function of x. This is presumably wrong. As far as I can tell, there is no closed form solution. Otherwise, by making the substitution  , you could rewrite it as  , which when you ignore the constants is effectively  , and this definitely has no closed solution. Smurrayinchester 09:35, 30 November 2016 (UTC)[reply]
Mathematica does not have this error. Evaluating Integrate[x^Sqrt[x], x] simply gives no results, which strongly indicates that there is no elementary solution. And yes, it does seem that in this case WA treats the   as a constant even though it's obviously not.
I have submitted a bug report to Wolfram about this. I wouldn't keep my hopes up though, there is a different bug report I've submitted a year ago which still hasn't been resolved.
I'm a big fan of Mathematica but things like this are rather disappointing. -- Meni Rosenfeld (talk) 09:58, 30 November 2016 (UTC)[reply]
So I haven't seen an actual refutation yet. The tempting error looks suspect, but there are things like that — see sophomore's dream.
But if I haven't made a mistake, it's not hard to refute numerically. Letting
 
then applying logarithmic differentiation, we get
 
 
which I plugged into a spreadsheet to compare with the integrand, and they are not the same. For example, for x=0.0001, I get dz/dx=0.8659568231, but the integrand is 0.9120108394. I could have made a mistake of course. Someone could check me. --Trovatore (talk) 21:07, 30 November 2016 (UTC)[reply]
Numeric refutation is the most direct, but is not easy to share. I did my own numeric evaluation before moving further, but it's not like I was going to actually post the entire calculation here. Perhaps I should have written something to the effect of "I have refuted it numerically", but it seemed too obvious.
Furthermore, there were actually two refutations here: The link by Tigraan that shows the derivative of the result is quite different from the original function; and Smurrayinchester's proof that if the function did have an elementary antiderivative, a different function would also have one which I believe is known to have none. -- Meni Rosenfeld (talk) 23:01, 30 November 2016 (UTC)[reply]
Well, checking whether two complicated expressions are equal is a hard problem, I believe undecidable in general. And even if we know that there is no elementary antiderivative of xx, it's not immediate that there's none for x3x. --Trovatore (talk) 23:34, 30 November 2016 (UTC)[reply]