I want to find the expression for the following integral
$$\int_0^\infty\text{d}x\frac{e^{i k x}}{x}$$
I have tried deriving with respect to $k$, transforming into an integral over the whole real line... with no luck. Would anyone give me a hint or the actual steps to take? Thank you so much.
EDIT: Following @Dr. MV's advice I used the Convolution Theorem $\mathcal{F}[f\cdot g]=\mathcal{F}[f]*\mathcal{F}[g]$ to arrive to the following expression
$$\mathcal{F}\left[\frac{1}{x}\Theta(x)\right]=-i\pi^2\text{sign}(k)+\pi\int_{-\infty}^{\infty}\text{d}t\frac{\text{sign}(t)}{t-k}$$
So now the problem is this last integral, which diverges in both extremes and in $t=k$. Interpreting $\text{sign}(t)$ as a distribution, I can perform the change of variables $y=t-k$, which gives me
$$f(k)=\int_{-\infty}^{\infty}\text{d}y\frac{\text{sign}(y+k)}{y}$$
Now deriving with respect to $k$ gives me
$$\frac{df(k)}{dk}=2\int_{-\infty}^\infty\text{d}y\frac{\delta(y+k)}{y}=\frac{2}{-k}$$
And now integrating gives me $f(k)=-2\log(k)$, so
$$\mathcal{F}\left[\frac{1}{x}\Theta(x)\right]=-i\pi^2\text{sign}(k)-2\pi\log(k)$$
My question now is, is this reasoning valid for all values of $k$? In particular, I am thinking of $k<0$.