utkarshakash said:
Homework Statement
$$ \displaystyle \int_0^{\infty} e^{-x} \dfrac{a\sin ax - \cos ax}{1+a^2} da $$
Homework Equations
The Attempt at a Solution
Evaluating this using integration by parts will be a cumbersome process and I don't even think that would give me the answer. Substitutions aren't going to make this problem easier. What other methods should I apply?
I looked at your profile, and so cannot believe this is a homework problem you have been given in a course. For that reason, I am going to chance giving you a complete solution, a practice I normally avoid.
Let's change your unfortunate and rather horrible notation. What you call 'x' I will call 'b', and what you call 'a' I will call 'w'. So, you want to perform the integration
\int_0^{\infty} e^{-b} \frac{w \sin(b w) - \cos(bw)}{1+w^2} \, dw
First: the constant ##e^{-b}## plays no role, so omit it; you can just do the integral without it, then put it back again in the final answer.
Second: the integrand is an even function of ##w##, so ##\int_0^{\infty} = \frac{1}{2} \int_{-\infty}^{\infty}##, a fact that proves convenient later.
OK, so we want the integral
\int_{-\infty}^{\infty} \frac{ w \sin(bw) - \cos(bw)}{1+w^2} \, dw
WLOG, assume b > 0. We have ##w \sin(bw) = w \text{Re}[-i e^{ibw}]## and ##-\cos(bw) = \text{Re}[-e^{ibw}]##, so the integrand is the real part of
F = \frac{-(1+iw) e^{ibw}}{1+w^2} = \frac{-(1+iw) e^{ibw}}{(1+iw)(1-iw)} =-i \frac{e^{ibw} }{w+i}.
Thus, it is enough to compute
J = \int_{-\infty}^{\infty} \frac{e^{ibw}}{w+i} \, dwThis is an improper integral, so let's replace it by
K_r = \int_{-\infty}^{\infty} e^{-r w^2} \frac{e^{ibw}}{w+i} \, dw
and then take the limit as ## r \to 0+##.
The integrand of ##K_r## has a simple pole in the complex w-plane at the point ##w = -i##. For ##b > 0## we may complete the contour in the upper half w-plane, to get
K_r = \lim_{R \to \infty} \int_{-R}^{R} e^{-r w^2} \frac{e^{ibw}}{w+i} \, dw<br />
= \lim_{R \to \infty} \oint_{\Gamma} e^{-r w^2} \frac{e^{ibw}}{w+i} \, dw,
where ##\Gamma## is the contour that goes along the real w-axis from ##w = -R+i0## to ##w = +R+i0##, then goes counterclockwise from ##R + i0## to ##-R + i0## along the semicircle of radius ##R## in upper half of the complex ##w##-plane. But the contour integral = 0 because the integrand is analytic inside ##\Gamma##. Thus, ##K_r = \lim_{R \to \infty} 0 = 0##, and this holds for all ##r > 0##. Taking the limit we have
\int_{-\infty}^{\infty} \frac{e^{ibw}}{w+i} \, dw = \lim_{r \to 0} K_r = \lim_{r \to 0} 0 = 0.
Thus, we obtain
\int_{-\infty}^{\infty} \frac{ w \sin(bw) - \cos(bw)}{w^2+1} \, dw = 0,
provided that we regard it as the limit where ##r \to 0+##.