Why Does My Integration by Parts Result Differ?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
12 replies · 2K views
greg_rack
Gold Member
Messages
361
Reaction score
79
Homework Statement
$$\int \frac{lnx}{(x+1)^2} dx$$
Relevant Equations
none
Hi guys,

I've attempted to integrate this function by parts, which seemed to be the most appropriate method... but apparently, I'm getting something wrong since the result doesn't match the right one.
Everything looks good to me, but there must be something silly missing :)
My attempt:
Schermata 2021-03-02 alle 09.16.06.png
 
  • Like
Likes   Reactions: PhDeezNutz
Physics news on Phys.org
PeroK said:
You seem to have gone wrong at the end. There is nothing you can do with ##\frac{\ln x}{x+1}##.
You mean I have gone wrong by collecting ##lnx## at the very end?
 
PeroK said:
Yes, the last three steps seem unnecessary and you've lost the term ##\ln|x +1|## somehow.
Got it, that's actually taking me to nowhere... but still, I can't understand how to reach the solution
$$\frac{xlnx}{x+1}-ln(x+1)+c$$ provided by my textbook.
Is it just a simplification(that apparently I can't see) far from what I've got, or have I got something wrong in integrating?
 
greg_rack said:
Got it, that's actually taking me to nowhere... but still, I can't understand how to reach the solution
$$\frac{xlnx}{x+1}-ln(x+1)+c$$ provided by my textbook.
Is it just a simplification(that apparently I can't see) far from what I've got, or have I got something wrong in integrating?
That combines the two terms you have in ##\ln x##.

PS Although it looks like they got the sign wrong.
 
PeroK said:
That combines the two terms you have in ##\ln x##.
Uhm, but how? I could add the two terms in ##\ln x##, and still end up with a useless simplification
 
PeroK said:
PS You can always check an indefinite integral by differentiating, of course. That's something everyone should know!
And indeed, differentiating my result, the integration appears to be incorrect, while the book's one is right... where did I get it wrong?🧐
 
greg_rack said:
And indeed, differentiating my result, the integration appears to be incorrect, while the book's one is right... where did I get it wrong?🧐
You got the sign wrong, then! Right at the start.
 
  • Like
Likes   Reactions: greg_rack
Instead of integration by parts I suggest making the substitution ##u=\frac{1}{x+1}##, ##du=\frac{-dx}{(x+1)^2}##.
 
  • Informative
Likes   Reactions: greg_rack
PeroK said:
You got the sign wrong, then! Right at the start.
Yes, got it!
Thanks a lot @PeroK :)