Originally Posted by

**21st Century Schizoid Man**
I think what is going on here is we are seeing some loss of accuracy, given that computers only represent numbers to a finite level of precision. The imaginary part has to be zero, since the integrand is real, and the variable of integration takes values on a real interval.

Original problem (after rearranging the integrand a bit),

.

Split the integral into two,

.

Making the substitution

,

.

Evaluating the integrals,

.

Makes total sense! I wonder if the purchased version of wolframalpha would have done things correctly?

The moment an instant lasted forever, we were destined for the leading edge of eternity.