We can use partial fraction decomposition to break this into chunks that we can deal with. The denominator has a repeated linear factor, so it can be decomposed as the sum of constants divided by powers of that factor.
(x+1)33x2+4x+6⇒ 3x2+4x+6So, by matching coefficients:Therefore:(x+1)33x2+4x+6 Now, the integration is easy, with a substitution of u=x+1 and du=dx:∫(x+1)33x2+4x+6dx=x+1A+(x+1)2B+(x+1)3C=(x+1)3A(x+1)2+B(x+1)+C=A(x+1)2+B(x+1)+C=Ax2+(2A+B)x+(A+B+C)A=3, 2A+B=4, and A+B+C=6A=3, B=−2, C=5=x+13+(x+1)2−2+(x+1)35=∫(x+13+(x+1)2−2+(x+1)35)dx=∫(3u−1−2u−2+5u−3)du=3log∣u∣+2u−1−25u−2+C=3log∣x+1∣+x+12−2(x+1)25+C