Evaluate the integral,
$$ \int_{0}^{1} \ln(x)\ln(1-x)\,dx$$
I solved this problem, by writing power series and then calculating the series and found the answer to be $ 2 -\zeta(2) $, but I don't think that it is best solution to this problem. I want to know if it can be solved by any other nice/elegant method.
Integrating by parts,
$$ \int \ln(x) \ln(1-x) \, dx = x \ln(x) \ln(1-x) - x \ln(1-x)+ \int \frac{x \ln (x)}{1-x} \, dx - \int \frac{x}{1-x} \, dx$$
where
$$ \int \frac{x}{1-x} \, dx = - \int \ dx + \int \frac{1}{1-x} \, dx = -x - \ln(1-x) + C_{1}$$
and $$ \begin{align} \int \frac{x \ln (x)}{1-x} \, dx &= -x \ln (x) - \ln(x) \ln(1-x) + \int dx + \int \frac{\ln (1-x)}{x} \, dx \\ &= -x \ln (x) - \ln(x) \ln(1-x) + x - \text{Li}_{2}(x) + C_{2}. \end{align}$$
$\text{Li}_{2}(x)$ is the dilogarithm function.
So we have $$ \begin{align} \int \ln(x) \ln(1-x) \, dx &= x \ln(x) \ln(1-x) - x \ln(1-x) - x \ln(x) - \ln(x) \ln(1-x) + 2x \\ &- \text{Li}_{2}(x) + \ln(1-x) + C . \end{align} $$
Therefore,
$$ \int_{0}^{1} \ln(x) \ln(1-x) \ dx = \lim_{x \to 1} \left[-x \ln(1-x)+\ln(1-x) \right] + 2 - \text{Li}_{2}(1) = 2 - \zeta(2) .$$