Answer
$\int\frac{x+1}{x+2}dx=x-\ln|x+2|+C$
Work Step by Step
Substitution:
$u=x+2$
$x+1=u-1$
$dx=du$
$\int\frac{x+1}{x+2}dx=\int\frac{u-1}{u}du=\int(1-u^{-1})du=\int du-\int\frac{1}{u}du=u-\ln|u|+C=x+2-\ln|x+2|+C=x-\ln|x+2|+C$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.