I am trying to figure out a closed form solutions of the following integral:
$$ \operatorname{I}\left(p,q\right) = \int_{0}^{\infty}\ln\left(x\right)\sin\left(px\right){\rm e}^{-qx}\,{\rm d}x\,, \quad p,q>0 $$
It is taken from "Table of Integrals, Series, and Products" $7_{\rm th}$ ed. by Gradshteyn and Ryzhik, where they state that on pg $599$, \begin{align} & \int_{0}^{\infty}{\rm e}^{-qx}\sin\left(px\right) \ln\left(x\right){\rm d}x \\[2mm] = & \ \frac{1}{p^{2} + q^{2}} \left[q\arctan\left(\frac{p}{q}\right) -pC -\frac{p}{c}\,\ln\left(p^{2} - q^{2}\right)\right] \end{align} without telling us about the constant $C$.
- The integral satisfies $$ \frac{\partial^{2}\operatorname{I}}{\partial p^{2}} = -p^{2}\operatorname{I}\quad\mbox{and}\quad \frac{\partial\operatorname{I}} {\partial q} = -q\operatorname{I} $$ but, without any inital conditions, these equations were not helpful.
Is there a way to verify this result and figure out the constant $C$ ?.