Closed form for the integral $\int_0^\infty t^s/(1+t^2)$

Hint

Use the general formula

$$\int^\infty_0 \frac {t^{x-1}}{(1+t)^{x+y }}dt =\frac {\Gamma (x)\Gamma (y)}{\Gamma (x+y)}$$

After applying the substitution $t^2 \to t$.

You can also simplify using the Euler reflection formula

$$\Gamma (x)\Gamma (1-x) =\pi \csc \pi x$$


As a proof to Zaid's formula,

Define,

$$B(m,n)=\int_{0}^{1} u^{m-1}(1-u)^{n-1} du$$

Now let $u=\frac{x}{1+x}$. Then $du=\frac{1}{(1+x)^2} dx$. Note $x=-\frac{u}{u-1}$. Now as $u \to 1^-$ then $x \to \infty$.

$$\int_{0}^{\infty} \frac{x^{m-1}}{(1+x)^{m-1}} \frac{1}{(1+x)^{n-1}} \frac{1}{(1+x)^2} dx$$

$$=\int_{0}^{\infty} \frac{x^{m-1}}{(1+x)^{m+n}} dx$$