I couldn't quite leave this integral alone yet, because when I first graphed the function [
http://usera.imagecave.com/dynamicsolo/PFpix/integral0608a.jpg ], I was curious about what the area under the curve would turn out to be. Of course, because it is a function with even symmetry, we expect
<br />
\int_{-\infty}^{\infty} \frac{x^2-1}{(x^2+1) \sqrt{x^4+1} }\ \mbox{d}x = 0<br /> .
But once we had the general anti-derivative, it looked like it might also be the case that
<br />
\int_{0}^{\infty} \frac{x^2-1}{(x^2+1) \sqrt{x^4+1} }\ \mbox{d}x = 0<br /> ,
since the values of either form of the antiderivative are the same at zero and (in the limit at) infinity.
I originally looked at this because I thought there was some strange "kink" about the substitutions that were used that was going to require a sign change in the antiderivative in certain intervals. This turned out not to be the case... Here's a graph [
http://usera.imagecave.com/dynamicsolo/PFpix/integral0608b.jpg ] illustrating the substitutions that were used:
t = x + 1/x and t = \sqrt{2} sec\theta .
The curious thing about the transformation is that the entire right half of the x-axis gets mapped into [ \frac{\pi}{4} , \frac{\pi}{2} ) for theta, and the mapping folds back on itself. This leads to an interesting result for the improper integral.
When you graph the arguments for the inverse trig functions that are the antiderivatives found, you get a similar sort of folding:
for arctan[ \sqrt{\frac{x^4 + 1}{2x^2} } ] --
http://usera.imagecave.com/dynamicsolo/PFpix/integral0608c.jpg
for arcsin[ {\frac{\sqrt{x^4 + 1} }{x^2 + 1} } ] --
http://usera.imagecave.com/dynamicsolo/PFpix/integral0608d.jpg
Using either form of the antiderivative, we find that
<br />
\int_{0}^{1} \frac{x^2-1}{(x^2+1) \sqrt{x^4+1} }\ \mbox{d}x = <br />
<br />
\frac{1}{\sqrt{2}} [ \frac{\pi}{4} - \frac{\pi}{2} ] = -\frac{\pi\sqrt{2}}{8}<br />
and
<br />
\int_{1}^{\infty} \frac{x^2-1}{(x^2+1) \sqrt{x^4+1} }\ \mbox{d}x = <br />
<br />
\frac{1}{\sqrt{2}} [ \frac{\pi}{2} - \frac{\pi}{4} ] = \frac{\pi\sqrt{2}}{8}<br /> .
Thus the region of negative signed area between x = 0 and x = 1 exactly cancels the positive signed area for x > 1 . The two slim infinite wings of the integrand have the same area as the large bulge below the x-axis.
As a check for the credibility of the value of the area obtained here, I have marked in the close-up graph of the integrand (lower part of first graph) a red line from the minimum at (0, -1) to the zero at (1, 0). The area of the triangle formed by that segment and the coordinate axis is, of course, 1/2 , while the absolute value of the area of the "bulge" from x = 0 to x = 1 is \frac{\pi\sqrt{2}}{8} \approx 0.5554 , which looks believable on the graph.