I'd like some help solving the integral
$$ \int_{-\infty}^{\infty} e^{-2 \, \alpha \, |x|} \cdot \cos^2(x) \; \, dx $$
with $\alpha > 0$
I just assumed 'integration-by-parts' was the way to go, but the first part of the product alone ($e^{-2\alpha|x|}$) gets quite confusing. Is there any trick to making it stay manageable?
The absolute-value in the exponent is confusing me, too - do I have to differentiate between cases every time?