The problem is to show that the improper integral $I = \int_0^{\infty} \frac{x^2}{e^x-1} dx$ converges to $2\sum_1^{\infty} \frac1{n^3}$.
Previously, I computed the following integral:
$$f(x) = -\int_0^x\frac{\log(1-t)}{t}dt = \sum_1^{\infty} \frac{x^n}{n^2}$$
which holds for $-1 \le x \le 1$. From this, I deduce the following:
$$g(x) = \int_0^x \frac{f(t)}{t}dt = \sum_1^{\infty} \frac{x^n}{n^3}$$
which also holds for $-1 \le x \le 1$. I am attempting to show that $I = g(1)$.
The first thing I do with $I$ is make the substitution $t = 1 - e^{-x}$, which yields:
$$I = \int_0^1 \frac{\log^2(1-t)}{t} dt$$
Then I attempt to integrate by parts, differentiating $\log(1-t)$ and integrating $\frac{\log(1-t)}{t}$, which yields:
$$I = -\log(1-t)f(t)|_0^1-\int_0^1\frac{f(t)}{1-t}dt $$
That doesn't work. The first term doesn't converge. The upper bound evaluates to $-\log(0)\frac{pi^2}6$ and the second term is not g(1). The denominator needs to be $t$, not $t-1$. So I am not sure what to do next.