Solving the Integral ∫dx/(1-x)

  • Thread starter Thread starter Fernando Rios
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
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
Physics news on Phys.org
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