Define the signum function, $\text{sgn}(x)$, by
$$\text{sgn}(x)=\begin{cases} 1, & x>0\\0, & x=0\\-1, & x<0 \end{cases}$$
Establish the identity
$$\dfrac{2}{\pi}\int_0^ \infty \dfrac{\sin(xt)}{t}dt=\text{sgn}(x)$$
There is a hint that we can make a change of variables $\omega = xt$
Here is my work: Since it's an odd function, we have $A(\omega)=0$, and
$$B(\omega ) = \frac{2}{\pi} \int_{- \infty }^ \infty \sin( \omega t) \,dt$$
I stuck here since $B(\omega)$ does not converge. Can someone help me please? Thank you very much!