I’m given the question:
If:
$\displaystyle \int_0^{\infty}f(x)\sin(\alpha x)\,dx=-\displaystyle \int_0^{\infty}xf(x)\cos(\alpha x)\,dx$
and $f(1)=1$, then find $f$.
My attempt:
To me, if we add $\int_0^{\infty}xf(x)\cos(\alpha x)\,dx$ to both sides then we get:
$\displaystyle \int_0^{\infty}(f(x)\sin(\alpha x)+xf(x)\cos(\alpha x ))\,dx=0$
Now the above integral is the Fourier integral of $0$.
Therefore:
$f(x)=\dfrac{1}{\pi}\displaystyle \int_{-\infty}^{\infty}0\cdot\sin(\alpha x)\,d\alpha=0$
which is not in line with original assumptions of the question.
Where am I wrong?
Hint: Take $$I(\alpha) =\int_0^\infty f(x) \sin (\alpha x).$$ Your hypothesis is that $I'(\alpha)=-I(\alpha) $, so the solution is $I(\alpha)=Ce^{-\alpha}.$