# Math Help - polynomial long division integral

1. ## polynomial long division integral

After applying polynomial long division, I arrived at the following. Based on what is here, did I do this correctly?

$\int{x^2-2x+4}+\frac{-7}{3x+1}$
$\frac{1}{3}x^3-2*\frac{1}{2}x^2+4x-7\int\frac{1}{3x+1}$
$-7ln|3x+1|+C$

2. Originally Posted by gammaman
After applying polynomial long division, I arrived at the following. Based on what is here, did I do this correctly?

$\int{x^2-2x+4}+\frac{-7}{3x+1}$
$\frac{1}{3}x^3-2*\frac{1}{2}x^2+4x-7\int\frac{1}{3x+1}$
$-7ln|3x+1|+C$
$\int \frac{-7}{3x+1}\,dx = - \frac{7}{3} \ln| 3x+1| + c$