$\displaystyle \int\frac{x+2}{(x+3)^2(x+1)}$
Thanks for the quick reply. What's a CAS?
Darn, my first time using Latex and I forgot to put in the limits which was 3 and 0. Anyhow my partial fractions matches yours, but my answer(ln 8) after integrating doesn't match the answer page of my book.
$\displaystyle \int\frac{x+2}{(x+3)^2(x+1)}dx = \frac{1}{2}\int\frac{(x+3) +(x+1)}{(x+3)^2(x+1)} dx = $ $\displaystyle \frac{1}{2} \int \frac{1}{(x+3)(x+1)} dx + \frac{1}{2} \int \frac{1}{(x+3)^2} \,dx $ $\displaystyle = \frac{1}{4} \int \frac{(x+3)-(x+1)}{(x+3)(x+1)} dx + \frac{1}{2} \int \frac{1}{(x+3)^2} \,dx $
$\displaystyle
= \frac{1}{4} \int \frac{dx}{x+1} - \frac{1}{4} \int \frac{dx}{x+4} + \frac{1}{2} \int \frac{dx}{(x+3)^2}
$
Computer Algebra System (CAS)