MHB Integral challenge ∫ln2(1+x^(−1))dx

lfdahl
Gold Member
MHB
Messages
747
Reaction score
0
Evaluate the definite integral

$$\int_{0}^{1} \ln^2(1+x^{-1}) \,dx$$
 
Mathematics news on Phys.org
Starting with integration by parts, we have:

$\begin{aligned}\displaystyle \mathcal{I} & = \int_{0}^{1} \ln^2(1+x^{-1}) \,dx \\& = \int_{0}^{1} (x)'\ln^2(1+x^{-1}) \,dx \\&= x \ln^2(1+x^{-1})\bigg|_{x=0}^{1}+2\int_0^{1}\frac{ \ln(1+1/x)}{1+x}\,{dx} \\& = \ln^2(2)+2\int_0^{1}\frac{ \ln(1+x)}{1+x}\,{dx}-2\int_0^{1}\frac{ \ln(x)}{1+x}\,{dx} \\& = \ln^2(2)+\ln^2(1+x)\bigg|_{x=0}^{1}-2\int_0^{1}\frac{\ln(x)}{1+x}\,{dx} \\& = 2\ln^2(2)-2 \int_0^{1}\frac{\ln(x)}{1+x}\,{dx}\end{aligned}$​

It remains to calculate the last integral. Let $x \mapsto 1-x$ which maps

$\displaystyle 2\int_0^{1}\frac{\ln(x)}{1+x}\,{dx} \mapsto \int_0^{1}\frac{\ln(1-x)}{x}\,{dx} $​

Then using the Maclaurin expansion of $\ln(1-x)$ we have

$\begin{aligned}2\int_0^{1}\frac{\ln(x)}{1+x}\,{dx} & = \int_0^{1}\frac{\ln(1-x)}{x}\,{dx} \\& = -\int_0^{1} \sum_{k \ge 0}\frac{x^{k}}{k+1} \,{dx} \\& = -\sum_{k \ge 0}\int_0^{1} \frac{x^{k}}{k+1}\,{dx} \\& = -\sum_{k \ge 0}\frac{1}{(k+1)^2} \\& = - \frac{\pi^2}{6}\end{aligned}$​

Therefore we have $\displaystyle \mathcal{I} = 2\ln^2(2)+\frac{\pi^2}{6}. $
 
June29 said:
Starting with integration by parts, we have:

$\begin{aligned}\displaystyle \mathcal{I} & = \int_{0}^{1} \ln^2(1+x^{-1}) \,dx \\& = \int_{0}^{1} (x)'\ln^2(1+x^{-1}) \,dx \\&= x \ln^2(1+x^{-1})\bigg|_{x=0}^{1}+2\int_0^{1}\frac{ \ln(1+1/x)}{1+x}\,{dx} \\& = \ln^2(2)+2\int_0^{1}\frac{ \ln(1+x)}{1+x}\,{dx}-2\int_0^{1}\frac{ \ln(x)}{1+x}\,{dx} \\& = \ln^2(2)+\ln^2(1+x)\bigg|_{x=0}^{1}-2\int_0^{1}\frac{\ln(x)}{1+x}\,{dx} \\& = 2\ln^2(2)-2 \int_0^{1}\frac{\ln(x)}{1+x}\,{dx}\end{aligned}$​

It remains to calculate the last integral. Let $x \mapsto 1-x$ which maps

$\displaystyle 2\int_0^{1}\frac{\ln(x)}{1+x}\,{dx} \mapsto \int_0^{1}\frac{\ln(1-x)}{x}\,{dx} $​

Then using the Maclaurin expansion of $\ln(1-x)$ we have

$\begin{aligned}2\int_0^{1}\frac{\ln(x)}{1+x}\,{dx} & = \int_0^{1}\frac{\ln(1-x)}{x}\,{dx} \\& = -\int_0^{1} \sum_{k \ge 0}\frac{x^{k}}{k+1} \,{dx} \\& = -\sum_{k \ge 0}\int_0^{1} \frac{x^{k}}{k+1}\,{dx} \\& = -\sum_{k \ge 0}\frac{1}{(k+1)^2} \\& = - \frac{\pi^2}{6}\end{aligned}$​

Therefore we have $\displaystyle \mathcal{I} = 2\ln^2(2)+\frac{\pi^2}{6}. $

Thankyou for your participation and a correct result, June29! Good job!(Happy)

Would you please explain the following step? Thankyou in advance!:

\[x \mapsto 1-x \Rightarrow 2\int_{0}^{1}\frac{\ln x}{1+x}dx \mapsto \int_{0}^{1}\frac{\ln (1-x)}{x}dx\]

I have a problem understanding the change of the denominator of the integrand:
- from $1+x$ to $x$. I´d expect: from $1+x$ to $2-x$?
 
lfdahl said:
Thankyou for your participation and a correct result, June29! Good job!(Happy)

Would you please explain the following step? Thankyou in advance!:

\[x \mapsto 1-x \Rightarrow 2\int_{0}^{1}\frac{\ln x}{1+x}dx \mapsto \int_{0}^{1}\frac{\ln (1-x)}{x}dx\]

I have a problem understanding the change of the denominator of the integrand:
- from $1+x$ to $x$. I´d expect: from $1+x$ to $2-x$?
You're right! I wrote down the wrong map (Rofl) I've since spotted a different way by using

$\displaystyle \int_0^1 x^k \ln(x) \,{dx} = -\frac{1}{(1+k)^2}$ (which can be proven by integration by parts for example).

$\displaystyle \int_0^{1} \frac{\ln(x)}{1+x}\,{dx} = \int_0^{1}\ln(x)\sum_{k \ge 0}(-1)^kx^{k}\,{dx} = \sum_{k\ge0} (-1)^k\int_0^{1}x^k\ln(x)\,{dx} = -\sum_{k \ge 0}\frac{(-1)^k}{(1+k)^2}$

$= \displaystyle - \left(1-\frac{1}{2}\right)\sum_{k \ge 0} \frac{1}{(k+1)^2} = -\frac{\pi^2}{12}$ giving us $\displaystyle \mathcal{I} = 2\ln^2(2) -
2\left(-\frac{\pi^2}{12}\right) = 2\ln^2(2)+\frac{\pi^2}{6}.$
 
June29 said:
You're right! I wrote down the wrong map (Rofl) I've since spotted a different way by using

$\displaystyle \int_0^1 x^k \ln(x) \,{dx} = -\frac{1}{(1+k)^2}$ (which can be proven by integration by parts for example).

$\displaystyle \int_0^{1} \frac{\ln(x)}{1+x}\,{dx} = \int_0^{1}\ln(x)\sum_{k \ge 0}(-1)^kx^{k}\,{dx} = \sum_{k\ge0} (-1)^k\int_0^{1}x^k\ln(x)\,{dx} = -\sum_{k \ge 0}\frac{(-1)^k}{(1+k)^2}$

$= \displaystyle - \left(1-\frac{1}{2}\right)\sum_{k \ge 0} \frac{1}{(k+1)^2} = -\frac{\pi^2}{12}$ giving us $\displaystyle \mathcal{I} = 2\ln^2(2) -
2\left(-\frac{\pi^2}{12}\right) = 2\ln^2(2)+\frac{\pi^2}{6}.$
A fine solution path indeed! Thankyou June29!
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top