Evaluate the following integral:

  • Thread starter Thread starter Synchronised
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around evaluating the integral \(\int_{0}^{1}\frac{\ln(1+x)}{1+x^{2}}dx\) using the substitution \(u=\frac{1-x}{1+x}\). Participants explore various substitution methods and their effectiveness in solving the integral.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Some participants attempt to use the suggested substitution but express difficulty in evaluating the integral. Others successfully use a different substitution, \(u=\tan^{-1}x\), and share their results, raising questions about the necessity of the original substitution.

Discussion Status

Participants are actively discussing the merits of different substitutions and their implications for solving the integral. Some suggest that the original substitution may not be the most effective, while others are trying to reconcile their approaches with the requirement to use the given substitution.

Contextual Notes

There is an ongoing debate about whether the original integral contains a typo, as some participants find the suggested substitution less intuitive. Additionally, there are concerns about achieving full marks in an exam setting by adhering to the specified substitution.

Synchronised
Messages
47
Reaction score
0

Homework Statement



Evaluate the following integral using the substitution [tex]u=\frac{1-x}{1+x}[/tex]

Homework Equations



[tex]\int_{0}^{1}\frac{ln(1+x)}{1+x^{2}}dx[/tex]

The Attempt at a Solution



I tried using the given substitution but couldn't do the integral but I did it using [tex]u=tan^{-1}x[/tex] and got the answer = [tex]\frac{\pi ln2}{8}[/tex] so how can I do it with the given substitution?
 
Last edited:
Physics news on Phys.org
Synchronised said:

Homework Statement



Evaluate the following integral using the substitution [tex]u=\frac{1-x}{1+x}[/tex]

Homework Equations

[tex]\int_{0}^{1}\frac{ln(1+x)}{1+x^{2}}dx[/tex]

The Attempt at a Solution



I tried using the given substitution but couldn't do the integral but I did it using [tex]u=tan^{-1}x[/tex] and got the answer = [tex]\frac{\pi ln2}{8}[/tex] very easily so how can I do it with the given substitution?
Using your substitution, u=tan-1(x), what did you do with the ln(1+x) ?I suspect that there is a typo in that integral . The suggested substitution, [itex]\displaystyle \ \ u=\frac{1-x}{1+x},\ \[/itex] works quite well to evaluate the integral, [itex]\displaystyle \ \ \int_{0}^{1}\frac{\ln(1+x)}{(1+x)^{2}}\,dx\ .[/itex]
 
SammyS said:
Using your substitution, u=tan-1(x), what did you do with the ln(1+x) ?I suspect that there is a typo in that integral . The suggested substitution, [itex]\displaystyle \ \ u=\frac{1-x}{1+x},\ \[/itex] works quite well to evaluate the integral, [itex]\displaystyle \ \ \int_{0}^{1}\frac{\ln(1+x)}{(1+x)^{2}}\,dx\ .[/itex]

No, I am sure there is no typo in the integral.
The way I did it was: [tex]Let u=tan^{-1}x\therefore dx=(1+x^{2})du\therefore\int_{0}^{\frac{\pi }{4}}ln(1+tanu)du=\int_{0}^{\frac{\pi }{4}}ln(1+tanx)dx=\int_{0}^{\frac{\pi }{4}}ln(1+tan(\frac{\pi }{4}-x))dx=[/tex]
[tex]\int_{0}^{\frac{\pi }{4}}ln(1+\frac{tan\frac{\pi }{4}-tanx}{1+tan\frac{\pi }{4}tanx})dx=\int_{0}^{\frac{\pi }{4}}ln(1+\frac{1-tanx}{1+tanx})dx=[/tex]
[tex]\int_{0}^{\frac{\pi }{4}}ln(\frac{2}{1+tanx})dx=\int_{0}^{\frac{\pi }{4}}ln(2)dx-\int_{0}^{\frac{\pi }{4}}ln(1+tanx)dx[/tex]
[tex]\therefore 2\int_{0}^{\frac{\pi }{4}}ln(1+tanx)dx=\int_{0}^{\frac{\pi }{4}}ln(2)dx[/tex]
[tex]\therefore \int_{0}^{\frac{\pi }{4}}ln(1+tanx)dx=\frac{\pi ln2}{8}[/tex]
 
Last edited:
The integration shown above is correct. I also verified it using Mathematica just in case.

The given substitution does not seem very well to me. Your substitution, to be honest, would be my first try.
 
But the question says use the given substitution so I don't think I can get full marks if any by using a different substitution in the exam. Maybe the given substitution has something to do with [tex]\int_{0}^{\frac{\pi }{4}}ln(1+\frac{1-tanx}{1+tanx})dx[/tex] ? they look similar.
 
SammyS said:
You should break that long line further.

That looks better :)
 
Last edited:
Synchronised said:
But the question says use the given substitution so I don't think I can get full marks if any by using a different substitution in the exam. Maybe the given substitution has something to do with [tex]\int_{0}^{\frac{\pi }{4}}ln(1+\frac{1-tanx}{1+tanx})dx[/tex] ? they look similar.

To use the given substitution, just solve u=(1-x)/(1+x) for x. Then substitute that into ln(1+x). Yes, it does look pretty similar.
 
Dick said:
To use the given substitution, just solve u=(1-x)/(1+x) for x. Then substitute that into ln(1+x). Yes, it does look pretty similar.

Ok, thank you :)

[tex]Letu=tan^{-1}x\therefore dx=(1+x^{2})du\therefore\int_{0}^{\frac{\pi }{4}}ln(1+x)du[/tex]
[tex]Let u=\frac{1-x}{1+x}\therefore x=\frac{1-u}{1+u}\therefore \int_{0}^{\frac{\pi }{4}}ln(1+\frac{1-u}{1+u})du...[/tex]
 
Last edited:
The suggested substitution works perfectly well, when used right at the outset.

Your method has a curious step ...

[itex]\displaystyle \int_{0}^{\pi /4}\ln(1+tanx)dx=\int_{0}^{\pi /4}\ln(1+tan(\frac{\pi }{4}-x))dx[/itex]

Of course, [itex]\displaystyle \ \tan(x)\ne\tan(\pi/4-x)\,,\[/itex] so what gives? This step can be shown to be valid by using the substitution, t = π/4 - x, then changing to variable of integration back to x.
 
  • #10
SammyS said:
The suggested substitution works perfectly well, when used right at the outset.

Your method has a curious step ...

[itex]\displaystyle \int_{0}^{\pi /4}\ln(1+tanx)dx=\int_{0}^{\pi /4}\ln(1+tan(\frac{\pi }{4}-x))dx[/itex]

Of course, [itex]\displaystyle \ \tan(x)\ne\tan(\pi/4-x)\,,\[/itex] so what gives? This step can be shown to be valid by using the substitution, t = π/4 - x, then changing to variable of integration back to x.


It looks like the sort of trick you might pull to evaluate a definite integral when there is no easy antiderivative. Integrate backwards and apply a trig identity. It's just being clever. Too clever. The given substitution gives you an indefinite integral without the need to resort to tricks like that.
 
  • #11
SammyS said:
The suggested substitution works perfectly well, when used right at the outset.

Your method has a curious step ...

[itex]\displaystyle \int_{0}^{\pi /4}\ln(1+tanx)dx=\int_{0}^{\pi /4}\ln(1+tan(\frac{\pi }{4}-x))dx[/itex]

Of course, [itex]\displaystyle \ \tan(x)\ne\tan(\pi/4-x)\,,\[/itex] so what gives? This step can be shown to be valid by using the substitution, t = π/4 - x, then changing to variable of integration back to x.


It's just a method to evaluate definite integrals. [tex]\int_{0}^{a}f(x)dx=\int_{0}^{a}f(a-x)dx[/tex] to prove it you just need to use a dummy variable let u=a-x. therefore x=a-u and du=-dx [tex]\therefore \int_{0}^{a}f(x)dx=\int_{a}^{0}f(a-u)(-du)=\int_{0}^{a}f(a-u)(du)=\int_{0}^{a}f(a-x)(dx)[/tex]
 
Last edited:
  • #12
Synchronised said:
[tex]u=\frac{1-x}{1+x}\therefore x=\frac{1-u}{1+u}\therefore \int_{0}^{\frac{\pi }{4}}ln(1+\frac{1-u}{1+u})du...[/tex]
I don't get that. I get a factor 1/u in the integrand.
dx = -2(1+u)-2du; (1+x2)-1 = (1+u)2/(4u); (1+x2)-1dx = -du/(2u).
 
  • #13
haruspex said:
I don't get that. I get a factor 1/u in the integrand.
dx = -2(1+u)-2du; (1+x2)-1 = (1+u)2/(4u); (1+x2)-1dx = -du/(2u).

yeah you're right, i still can't evaluate the integral using the given sub from the start...
 
  • #14
Synchronised said:
Ok, thank you :)

[tex]Let\ u=tan^{-1}x\therefore dx=(1+x^{2})du\therefore\int_{0}^{\frac{\pi }{4}}ln(1+x)du[/tex]
[tex]Let\ u=\frac{1-x}{1+x}\therefore x=\frac{1-u}{1+u}\therefore \int_{0}^{\frac{\pi }{4}}ln(1+\frac{1-u}{1+u})du...[/tex]
I overlooked the above post earlier.

I hope you didn't mean that your original integral was equivalent to [itex]\displaystyle \ \int_{0}^{\frac{\pi }{4}}ln(1+\frac{1-u}{1+u})du\ .[/itex]

Those are two different substitutions.

Synchronised said:
..., i still can't evaluate the integral using the given sub from the start...

Using the suggested substitution:

[itex]\displaystyle x=\frac{1-u}{1+u}=\frac{2}{1+u}-1\ \[/itex] so that [itex]\displaystyle \ \ x+1=\frac{2}{1+u}\ .[/itex]

Also, [itex]\displaystyle \ \ 1+x^2=1+\left(\frac{1-u}{1+u}\right)^2=\frac{1+u^2}{(1+u)^2}\ .[/itex]

Put that together with what haruspex gave you for dx & see where that all leads you.

Added in Edit:

There is a mistake in my last line. It should be:

[itex]\displaystyle \ \ 1+x^2=1+\left(\frac{1-u}{1+u}\right)^2=2\frac{1+u^2}{(1+u)^2}\ .[/itex]
 
Last edited:
  • #15
SammyS said:
I overlooked the above post earlier.

I hope you didn't mean that your original integral was equivalent to [itex]\displaystyle \ \int_{0}^{\frac{\pi }{4}}ln(1+\frac{1-u}{1+u})du\ .[/itex]

Those are two different substitutions.
Using the suggested substitution:

[itex]\displaystyle x=\frac{1-u}{1+u}=\frac{2}{1+u}-1\ \[/itex] so that [itex]\displaystyle \ \ x+1=\frac{2}{1+u}\ .[/itex]

Also, [itex]\displaystyle \ \ 1+x^2=1+\left(\frac{1-u}{1+u}\right)^2=\frac{1+u^2}{(1+u)^2}\ .[/itex]

Put that together with what haruspex gave you for dx & see where that all leads you.

I get [tex]2\int_{0}^{1}\frac{ln(\frac{2}{1+u})}{1+u^{2}}du[/tex]
So where do I go from here?
 
Last edited:
  • #16
Synchronised said:
I get [tex]-2\int_{0}^{1}\frac{ln(\frac{2}{1+u})}{1+u^{2}}du[/tex]
So where do I go from here?
You can write ln(2/(1+u)) a little differently. Then you'll see that one part of the integral looks very like what you started with, but with a constant multiplier.
 
  • #17
haruspex said:
You can write ln(2/(1+u)) a little differently. Then you'll see that one part of the integral looks very like what you started with, but with a constant multiplier.

I almost got it, I get [tex]\int_{0}^{1}\frac{ln(1+x)}{1+x^{2}}dx=\frac{2ln2}{3}\int_{0}^{1}\frac{dx}{1+x^{2}} =\frac{\pi ln2}{6}[/tex] so I made a mistake somewhere :(
 
  • #18
I think you got a sign wrong, leading to the divisor of 3.
 
  • #19
what should the divisor be? I keep getting 3.

Edit: It should be 4 but I really can't see the mistake, I checked the signs and everything...
 
Last edited:
  • #20
Synchronised said:
I get [tex]2\int_{0}^{1}\frac{ln(\frac{2}{1+u})}{1+u^{2}}du[/tex]
So where do I go from here?
I edited post #14, so divide the above by 2.

That should give you the same answer you originally got.
 
  • #21
Finally got it! Thank you so much guys :)
 

Similar threads

Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
10
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K