How would I go about evaluating this integral? \int_0^{\infty}\frac{\ln(x^2+1)}{x^2+1}dx

Irvin Dukes

Irvin Dukes

Answered question

2022-01-02

How would I go about evaluating this integral?
0ln(x2+1)x2+1dx

Answer & Explanation

Anzante2m

Anzante2m

Beginner2022-01-03Added 34 answers

Use xtanθ and dx=sec2θdθ. The integral becomes
0π22ln(secθ)dθ
Which is
0π2ln(cosθ)dθ
And can be solved
Let
I=0π2ln(sinθ)dθ
I=0π2ln(cosθ)dθ
Adding both.
2I=0π2ln(sinθ×cosθ)dθ
2I=0π2ln(2sinθ×cosθ)ln2dθ
2I=0π2ln(sin2θ)dθ=I
So,
I=0π2ln2dθ
I=πln22
And your integral comes out to be
πln2
Lakisha Archer

Lakisha Archer

Beginner2022-01-04Added 39 answers

One way to solve this problem is to use parametric integrals. Let
I(α)=0ln(αx2+1)x2+1dx
Then
I(α)=0x2(αx2+1)(x2+1)dx
=0(1α11αx2+1+1α11x2+1)dx
=1α11απ2+1α1π2
=π2α1α(α1)
=π2(1α1α+1)
Thus,
I(α)=πln(α+1)+C
But I(0)=0 implies C=0. So I(1)=πln2
Vasquez

Vasquez

Expert2022-01-09Added 669 answers

Hints As RandomVariable suggested, use log(x2+1)=log(x+i)+log(xi), choosing the branches of the logarithm carefully. It's generally best to isolate unpleasant singular things.
Then write
0=12
and make use of the above splitting to integrate the two parts on different contours, each time avoiding enclosing the singularity of the logarithm. The part on the semicircle vanishes.
Answer The UHP pole gives log(i+i)/2i×2πi. The LHP pole gives log(ii)/(2i)×2πi. Summing and halving gives the answer
π2(log(2i)+log(2i))
so all that remains is choosing the right logarithm. This is easy enough, actually, and the answer is what you expect:
πln2

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?