We know that $$\int{e^{ax} }\cos bx\,\mathrm{d}x=\frac{e^{ax}}{a^2+b^2}\left(a\cos \left(bx\right)+b\sin \left(bx\right)\right)+C$$ for $a,b\in\mathbb{R}$. I'm interested in solving the following related improper integral, $$I=\int_{0}^{\infty}\frac{{e^{-tx} }}{x}(\cos ax-\cos bx)\,\mathrm{d}x$$ with $t\gt 0$ and $a,\,b,\,t\in\mathbb{R}$.
Where should I begin?
Hint- Take the Laplace transform of $\cos ax$ $$\mathcal{L}\{\cos ax\}=\frac s{s^2+a^2}$$ And also note that if $\mathcal{L}\{f(x)\}=F(s)$ then: $$\mathcal{L}\{\frac {f(x)}x\}=\int_s^\infty F(\sigma)d\sigma$$