Bug introduced in 7.0 or earlier, fixed as of 11.3
A question with the same title has been asked many times, but I can't find the solution of my problem in their answers. The integral I am trying to calculate is
Integrate[Sin[q ]^2 / Sinh[q]^2, {q, 0, ∞}]
which gives me
1/4 (-1 + 2 π Coth[π])
The correct result is
1/4 (-2 + 2 π Coth[π])
This is a tabulated integral, see for instance Gradshteyn and Ryzhik, 3.982.3
Why is Mathematica wrong here? Most issues I have seen were due to variables in the integral, which I don't have (at least not in this example, in the actual integral that I am computing I have variables).
GenerateConditions -> False
, gives correct answer, makes you feel ucky... $\endgroup$GenerateConditions -> False
change the result (or even the algorithm behind it) if there are no parameters that possibly could cause conditions? $\endgroup$Mathematica
developers. $\endgroup$