i got this weird question about integration from infinity to infinity.
$$\int_{-\infty}^{\infty} \frac{1}{z^2+25}$$
First idea was to take the factor out to get $(z+5)(z-5)$ but that really did not achieve anything.
Then i tried let $x= z^2$ and the $\frac{dx}{dz}= 2z$ then dz = 1/2z but that also went nowhere
Then i tried..... $x=z$, $\frac{dx}{dz}= 1$ hence $dz = dx$
$$\int_{-\infty}^{\infty} \frac{dx}{x^2+25}$$ which has not achieved anything. Please help!
Wait i just remember how this applies to partial fractions. But still confused how to grom infinity to infinity.
So start wit $$\frac{1}{z^2+25}=\frac{1}{(z+5)(z-5)}$$ $$\frac{1}{(z+5)(z-5)}=\frac{A}{x+5}+\frac{B}{x-5}$$ $$1=A(x-5)+B(x+5)$$ At x = 5 $1=10B$ hence $B=0.1
At x=-5 $A=1/-10$
But i'm not sure where to go from there
$$ \int \frac{dz}{z^2+25} = \frac 1 5\int \frac{dz/5}{(z/5)^2+1} = \frac 1 5 \int \frac{du}{u^2+1} = \frac 1 5 \arctan u + C. $$ As $z\to\pm\infty$ then $u\to\pm\infty$, so recall from trigonometry that $\arctan u\to\pm\dfrac\pi2$ as $u\to\pm\infty$.
$$ \frac 1 5 \left( \frac\pi2 - \frac{-\pi}{2} \right) = \frac \pi 5. $$