Let us say I want Mathematica to compute the integral
$$\int dx \, \text{sign} (x) \, \frac{1}{1+x^2} = 0 \, .$$
Indeed
Integrate[Sign[x] 1/(1+x^2), {x, -Infinity, Infinity}] gives the answer 0. I am however interested in computing the integral in the Fourier space, i.e. in the (equivalent) form
$$\int dt \, \mathcal{F} \big[ \text{sign} (x) \big] (t) \, \mathcal{F} \bigg[ \frac{1}{1+x^2} \bigg] (t) \, ,$$
where $\mathcal{F}[f(x)](t)$ is the Fourier transform of $f(x)$. In our case this is
$$\int dt \, \frac{i}{t} \, e^{- |t|} \, .$$
But now
Integrate[Exp[-Abs[t]] I/t, {t, -Infinity, Infinity}] gives Integrate::idiv: Integral of (I E^-Abs[t])/t does not converge on {-\[Infinity],\[Infinity]}. Why? Is there something I can tell Integrate to give me the right answer in this kind of situations?
InverseFourierTransform[Convolve[Exp[-Abs[t]], I/t, t, y], y, t]returns the input. $\endgroup$