I will show two solutions of this problem.
First solution :
$$\sum_{n=1}^\infty \frac{1}{n(2n-1)}=\sum_{n=1}^\infty \left(\frac{2}{2n-1}-\frac{1}{n}\right)$$
$$=\sum_{n=1}^\infty \left(\int_0^1 (2x^{2n-2}-x^{n-1})dx\right)$$ $$=\int_0^1 \left( \sum_{n=1}^\infty(2x^{2n-2}-x^{n-1})\right)dx$$ $$=\int_0^1 \left( \frac{2}{1-x^2}-\frac{1}{1-x} \right) dx $$ $$=\int_0^1 \frac{1}{1+x}dx $$ $$=\ln 2$$
Second solution :
$$\sum_{n=1}^\infty \frac{1}{n(2n-1)}=\sum_{n=1}^\infty \left(\frac{2}{2n-1}-\frac{1}{n}\right)$$
$$=\sum_{n=1}^\infty \left(\int_0^1 (2x^{2n-2}-2x^{2n-1})dx\right)$$ $$=\int_0^1 \left( \sum_{n=1}^\infty(2x^{2n-2}-2x^{2n-1})\right)dx$$ $$=\int_0^1 \left( \frac{2}{1-x^2}-\frac{2x}{1-x^2} \right) dx $$ $$=\int_0^1 \frac{2}{1+x}dx $$ $$=2\ln 2$$
In fact, $\displaystyle\sum_{n=1}^\infty \frac{1}{n(2n-1)}=2\ln 2$.
Why the first solution is false but the second is true ?
I have known that uniformly convergent series can be integrated term by term.
Is this mean that $\sum_{n=1}^\infty(2x^{2n-2}-2x^{2n-1})$ ; second solution, is uniformly convergent but $\sum_{n=1}^\infty(2x^{2n-2}-x^{n-1})$ ; first solution, is not ?