My question is:
Is it possible to compute the integral $$\int_{0}^{\infty} \frac{\cos x}{1+x^2} \mathrm{d}x$$ using ODE?
My trial: Let $$ I(a,b) = \int_{0}^{\infty} e^{-bx}\frac{\cos ax}{1+x^2} \mathrm{d}x $$ then by Dominant Convergence theorem, $I(a,b)$ is continuous on $[0,2] \times [0,1]$. So we only need to compute $I(1,0)$. Fix any $b\in (0,1]$, we can get the following ODE: $$ I(a,b)-I^{''}_{aa}(a,b) = \int_{0}^{\infty} e^{-bx}\cos ax \mathrm{d}x=\frac{b}{a^2 + b^2} $$ I have difficulty to proceed. It seems hard to solve this second order ODE. Or any other method using ODE to compute this?
Thank you!