Solving the Integral ∫dx/(1-x)

  • Thread starter Thread starter Fernando Rios
  • Start date Start date
  • Tags Tags
    Integral
Fernando Rios
Messages
96
Reaction score
10
Homework Statement
Solve the following integral
Relevant Equations
∫dx/(1-x)
I solved the integral by two different methods and I get different answers.

Method 1:
∫dx/(1-x) = -∫-dx/(1-x), u=1-x, du=-dx

∫dx/(1-x) = -∫du/u = -ln|u| = -ln|1-x|

Method 2:
∫-dx/(x-1) = -∫dx/(x-1), u=x-1, du=dx

∫-dx/(x-1) = -∫du/u = -ln|u| = -ln|x-1|

What am I doing wrong?
 
  • Like
Likes   Reactions: Delta2
on Phys.org
Try calculating both quantities for, say, ##x=3##.
 
Fernando Rios said:
Homework Statement:: Solve the following integral
Relevant Equations:: ∫dx/(1-x)

I solved the integral by two different methods and I get different answers.

Method 1:
∫dx/(1-x) = -∫-dx/(1-x), u=1-x, du=-dx

∫dx/(1-x) = -∫du/u = -ln|u| = -ln|1-x|

Method 2:
∫-dx/(x-1) = -∫dx/(x-1), u=x-1, du=dx

∫-dx/(x-1) = -∫du/u = -ln|u| = -ln|x-1|

What am I doing wrong?
At heart, your question really isn't about calculus -- it's about a property of the absolute value.
|a - b| = |b - a|, right?
 
  • Like
Likes   Reactions: SammyS, archaic and Delta2
Fernando Rios said:
What am I doing wrong?
Nothing
 
  • Like
Likes   Reactions: vanhees71

Similar threads

Replies
3
Views
2K
Replies
19
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K