What happens here (Mathematica version 8.x):
NIntegrate[Log[1/2 + Sqrt[1/4 - 1/(4 x^2)]]/x, {x, 1, Infinity}] --> -0.171007 Integrate[Log[1/2 + Sqrt[1/4 - 1/(4 x^2)]]/x, {x, 1, Infinity}]
The value of NIntegrate[] correct. I ran into problems with the PrincipalValue choices before a) they were fixed in mma8 and b) this integral does not have, or at least should not have poles in the field of integration.
EDIT: Thanks to people offering solutions to this problem, a common solution would be, for example, to use NIntegrate exclusively. However, I am interested to know why this is happening, and therefore this error is predictable.
Timo source share