Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I was trying to (re)calculate a problem of an older Wolfram blog post (Problem 11457, by M. L. Glasser) with Mathematica 9.0.0.0 (on OS X 10.8.2).

Assuming[0 < a < b, Integrate[ArcCos[x/Sqrt[(a + b) x - a b]], {x, a, b}]]

Instead of the expected solution, it just returns the integral unevaluated. Is this a regression?

More details: As pointed out in the commentes, the indefinite integral

Integrate[ArcCos[x/Sqrt[(a + b) x - a b]], x]

still gives the same result in Mathematica 8 and 9.

The next two each returned ConditionalExpression in Mathematica 8 but return unevaluated in Mathematica 9:

Integrate[ArcCos[x/Sqrt[(a + b) x - a b]], {x, a, b}]
Integrate[ArcCos[x/Sqrt[(a + b) x - a b]], {x, a, b}, Assumptions -> 0 <= a <= b]

The actual problem

Integrate[ArcCos[x/Sqrt[(a + b) x - a b]], {x, a, b}, Assumptions -> 0 < a < b]

computes correctly to ((a - b)^2 \[Pi])/(4 (a + b)) in Mathematica 8 but still returns unevaulated in Mathematica 9.

share|improve this question
5  
I can confirm that it does not work in MMA 9 win 7 64 bit, but works in MMA 8.0.1. In MMA8 I get ((a - b)^2 \[Pi])/(4 (a + b)) –  Ajasja Jan 24 '13 at 12:16
2  
The topic is misleading. I thought it was about Regression in Statistics –  asim Jan 24 '13 at 14:35
1  
Mathematica 8 and 9 give the same correct indefinite integral. The difference is in the calculation for the limits of integration. –  Searke Jan 24 '13 at 15:45
1  
Here are another instances of definite integrals which are unevaluated in ver.9 while they are in ver.8 mathematica.stackexchange.com/questions/18327/… –  Artes Jan 24 '13 at 17:18
7  
[I am NOT putting this into a response.] Yes, this appears to be a regression. Investigating... –  Daniel Lichtblau Jan 25 '13 at 1:18

1 Answer 1

up vote 3 down vote accepted

This works in V9.0.1:

Assuming[0 < a < b, 
  Integrate[ArcCos[x/Sqrt[(a + b) x - a b]], {x, a, b}, 
   GenerateConditions -> False]] // Timing
(* {3.835651, ((a - b)^2 π)/(4 (a + b))} *)
share|improve this answer
    
Good catch! Works with v9.0.0.0 also. –  Norbert Fabritius Oct 18 '13 at 11:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.