I am looking for a way to solve :
$$\int_{-\infty}^{\infty} \frac{x\sin(3x)}{x^4+1}\,dx $$
without making use of complex integration.
What I tried was making use of integration by parts, but that didn't reach any conclusive result. (i.e. I integrated $\sin(3x)$ and differentiated the rest)
I can't see a clear starting point to solve this question. Any help appreciated.
This problem is posted by Vilakshan Gupta on Brilliant.
I only write the key step for central issue, let for a>0 (this makes problem easy to deal without abs function) $$ f(a) = \int_{0}^{\infty} \frac{\sin(ax)}{x(x^4+1)} \,\mathrm{d}x $$ then you have ODE $$ f^{(4)}(a) + f(a) = \int_{0}^{\infty} \frac{\sin(ax)}{x} \,\mathrm{d}x =\frac{\pi}{2} $$ with boundary value $f(0)=f^{(2)}(0)=0$, $f^{(1)}(0)=\pi/2\sqrt2$, $f^{(3)}(0)=-\pi/2\sqrt2$ solved as $$ f(a) = \frac{\pi}{2}\left(1-e^{-a/\sqrt2}\cos\left(\tfrac{a}{\sqrt2}\right)\right) $$ then you just need to find $-f^{(2)}(3)$ to obtain the final answer.