Is there a simple way of proving the following identity:
\begin{eqnarray} \int \log(x) \log(x^2 + (x + W)^2) dx = \\ 2 x + \left(1 - \log(x)\right) \left(\log(e^{-\pi/2} W) W + 2 x + W \arctan(\frac{x+W}{x}) - (\frac{W}{2} + x)\log(x^2 + (x+ W)^2) \right) + \frac{W}{2} Re\left[(1-\imath) Li_2\left(-\frac{(1+\imath) x}{W}\right)\right) \end{eqnarray}
I have obtained it by typing the integral into Mathematica and tediously simplified by hand the multitude of different terms that Mathematica produced. Then I differentiated the result and checked that it was correct.I was wondering whether there was some other , faster and more legant way to obtain the result.