Evaluate the integral : $$\int_0^1 \frac{\log(1+x)}{x}dx$$ It is an improper integral & I tried it by substituting $\log(1+x)=z$ . But it does not open any way to evaluate it.
-
2$\begingroup$ Taylor series for $\ln (1+x)$ around $x=0$ is the way to go $\endgroup$– Yuriy SCommented Nov 25, 2016 at 8:35
-
$\begingroup$ The integral can be reduced to gamma functions by substitutions.Contour integral is also another choice $\endgroup$– vidyarthiCommented Nov 25, 2016 at 8:40
-
$\begingroup$ @vidyarthi By which substitution it reduce to gamma function? $\endgroup$– EmptyCommented Nov 25, 2016 at 8:43
-
1$\begingroup$ Just use the Dilogarithm $\operatorname{Li}_2(x)=-\int \frac{\ln(1-x)}{x}dx$ With a substitution you get your (indefinite) integral to be $-\operatorname{Li}_2(-x)$ which has known values at, -1 and 0. $\endgroup$– Anik PatelCommented May 14, 2023 at 1:05
-
1$\begingroup$ $\int_0^1 \frac{\log(1+x)}{x}dx =\frac{\pi^2}{12}$ $\endgroup$– QuantoCommented Jun 7 at 8:00
3 Answers
Since $\log(1+x)=\sum_{j=1}^{\infty}\frac{(-1)^{j+1}x^j}{j}$ we have $$I=\sum_{j=1}^{\infty}\frac{(-1)^{j+1}}{j}\int_0^1x^{j-1}=\sum_{j=1}^{\infty}\frac{(-1)^{j+1}}{j^2}=\frac{\pi^2}{12}$$
where the last summation can be calcualted using the well known summation: $\sum_{j=1}^{\infty}\frac{1}{j^2}=\frac{\pi^2}{6}$.
Let $$I = \int^{1}_{0}\frac{\ln(1+x)}{x}dx = \int^{1}_{0}\ln(1+x)\cdot \frac{1}{x}dx$$
Using By parts, We get
$$I = \left[\ln(1+x)\cdot \ln x\right]^{1}_{0}-\int^{1}_{0}\frac{\ln x}{1+x}dx$$
So $$I=0-\int^{1}_{0}\sum^{\infty}_{n=0}(-x)^{n}\ln xdx = \sum^{\infty}_{n=0}(-1)^n\int^{1}_{0}\ln x \cdot x^ndx$$
Again, Using By parts, We get
$$I = -\sum^{\infty}_{n=0}\bigg[(-1)^n\bigg(\ln x \cdot \frac{x^{n+1}}{n+1}\bigg)^{1}_{0}-(-1)^n\int^{1}_{0}\frac{x^{n}}{(n+1)}dx\bigg]$$
So $$I = -\sum^{\infty}_{n=0}\frac{(-1)^n}{(n+1)^2} = \zeta(2)-\frac{\zeta(2)}{4} = \frac{3}{4}\zeta(2)$$
Let $$I=\int_0^1\frac{\ln(x+1)}x dx$$ and $$J=\int_0^1\frac{\ln(1-x)}xdx=-\zeta(2).$$ Then, $$I+J=\int_0^1\frac{\ln(1-x^2)}xdx\\ \stackrel{x^2=t}{=}\frac12\int_0^1\frac{\ln(1-t)}t dt =\frac12 J.$$ Hence, $$I=-\frac12J=\frac12\zeta(2).$$