Originally posted by: Eeezee
Simple u substitution should do the job. It's one of the most useful and easy to use integration tools. You can make up a variable (u) that equals whatever you want! I usually use it to eliminate the denominator. Once you get good at using it, you can do these integrals in your head (I can hear the undergrads screaming 'impossible!' but it's not hard if you're willing to try).
u = x-1, dx = du, x = u+1
Then you get (2 - (u + 1))/u = (1-u) / u = (1/u) - 1
That's a ln(u) - u + C
ie the answer ln(x-1) - x + 1 + C
If you're not completely sure, it's always good to check your answer. Take the derivative of what we've found and you get
(1/(x-1)) - 1
= (1/(x-1)) - ((x-1)/(x-1))
= (1 - x + 1) / (x-1)
= (2-x) / (x-1)
Sweet, we got the argument back, so the answer is
ln(x-1) - x + 1 + C
I'm getting my PhD in physics, I want to become a teacher