Discrepancy in Integration of 1/x by Parts

  • Thread starter Thread starter Gear300
  • Start date Start date
  • Tags Tags
    Integration
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 2K views
Gear300
Messages
1,212
Reaction score
10
If we were to integrate 1/x by parts using u = 1/x and dv = 1dx, then it would end up as:
Int(dx/x) = 1 + Int(dx/x), ending up with 1 = 0. Why was there a discrepancy in the integration?
--Int() refers to integral
 
Physics news on Phys.org
[tex]\int\frac{1}{x}dx=uv -\int vdu= \frac{x+c}{x} - \int \frac{-(x+c)}{x^{2}}dx = etc...[/tex]
[tex]u=\frac{1}{x}[/tex]
[tex]du=\frac{-1}{x^{2}}[/tex]
[tex]dv=1dx[/tex]
[tex]v=x+c[/tex]

Please tell me if I am wrong.

Regardless, you are looking for the result to be ln|x|+c.
 
exk said:
[tex]v=x+c[/tex]
I don't think there should be a '+ c' in this intermediate step. Anyway, integrating
1/x gives ln(x) + c by definition. Some books actually define ln(x) to be the anti-derivative of that.