I have to compute$$\int_0^\infty \dfrac{e^{-tx}\cdot \sin(x)}{x}dx$$
This is following a helping problem $$\int_0^\infty e^{-tx}\cdot \sin(x)dx$$ which using IPB two times turned out to be $$\dfrac{1}{1+t^2}$$
I think there must be a substitution to get to the first problem, but I just cannot see it. Any hint appreciated.
Define $$ I = \int \limits_0 ^\infty e^{-tx}\frac{\sin(x)}{x}dx $$ then $$ \dfrac{dI}{dt}=-\int \limits_0 ^\infty e^{-tx}\sin(x)dx = -\frac{1}{1+t^2} $$ hence $$ I = -\arctan(t) + D $$
We fix $D$ using $I(0)=D=\dfrac\pi 2$, easily obtainable through complex analysis.