The following improper integral converges:
Solution. Setting x=tantx={\tan t}, we have dxdt=sec2t=x2+1,\frac{dx}{dt}={\sec^{2}t=x^{2}+1,} so
and similarly for ∫-∞0dx1+x2\int_{-\infty}^{0}\frac{dx}{1+x^{2}}.