Let I=∫−∞∞1+x2xsin(x)dx.
Let f(x)=1+x2xsin(x).
We can check if f(x) is an odd function.
f(−x)=1+(.
Since f(x) is an even function, we have
I=∫−∞∞.
However, we can also consider the integral in the complex plane.
Let f(z)=1+z2zsin(z).
We can integrate f(z) over a semicircle in the upper half plane with radius R.
The poles of f(z) are at z=±i. Only z=i is in the upper half plane.
The residue at z=i is
.
Since sin(i)=2ie, we have
Res(f(z),i)=4ie.
By the residue theorem,
∫−∞∞.
However, the integral must be real, so there is an error.
Let's consider the integral ∫−∞∞1+x2.
Let , then .
When , . When , .
Then .
Let , then , so .
When , . When , .
Then .
This doesn't seem to help.
Let f(x)=1+x2xsin(x). Then .
So is an even function.
.
Since , the integral is not 0.
Consider the integral ∫−∞∞1+x2. This is an odd function, so the integral is 0.
Consider the integral . This is an odd function, so the integral is 0.
Let I=∫−∞∞1+x.
We can use the fact that .
In our case, , so .
Final Answer: The final answer is 2eπ