To evaluate the integral
∫−∞∞1+x2xsinxdx,
we begin by analyzing the symmetry of the integrand. Let’s define the function:
f(x)=1+x2xsinx.
We check whether f(x) is even, odd, or neither. A function is even if f(−x)=f(x), and odd if f(−x)=−f(x). Substituting −x into f(x):
f(−x)=1+(−x)2(−x)sin(−x)=1+x2(−x)(−sinx)=1+x2xsinx=f(x).
Thus, f(x) is an even function. Therefore, the integral over the symmetric interval [−∞,∞] becomes:
∫−∞∞1+x2xsinxdx=2∫0∞1+x2xsinxdx.
This confirms that the integral is not zero, contradicting the initial intuition that it might be zero due to symmetry. Instead, it evaluates to a positive value.
Complex Analysis Approach
To compute the integral rigorously, we use complex analysis. Consider the complex function:
f(z)=z2+1zeiz.
We are interested in the imaginary part of the integral of f(z) along the real axis:
∫−∞∞1+x2xsinxdx=Im(∫−∞∞1+x2xeixdx).
We evaluate this using a contour integral in the complex plane. The function has simple poles at z=i and z=−i. Since eiz decays in the upper half-plane (as Im(z)>0), we close the contour in the upper half-plane, enclosing only the pole at z=i.
By the Residue Theorem, the integral over the closed contour is:
∮Cz2+1zeizdz=2πi⋅Resz=i(z2+1zeiz).
We compute the residue at z=i:
Resz=i(z2+1zeiz)=z→ilim(z+i)zeiz=2iiei(i)=2iie−1=2e1.
So the contour integral becomes:
2πi⋅2e1=eπi.
Taking the imaginary part:
Im(eπi)=eπ.
Thus, the original real integral is:
∫−∞∞1+x2xsinxdx=eπ.
Final Answer
eπ