First, we decompose the integrand into partial fractions. We want to find constants A, B, and C such that:
(x−1)(x2+1)2x+1=x−1A+x2+1Bx+C Multiplying both sides by (x−1)(x2+1), we have: 2x+1=A(x2+1)+(Bx+C)(x−1) 2x+1=Ax2+A+Bx2−Bx+Cx−C 2x+1=(A+B)x2+(C−B)x+(A−C) Equating coefficients, we get the following system of equations:
From the first equation, B=−A. Substituting into the second equation, C+A=2. Adding this to the third equation, A−C=1, we get 2A=3, so A=23. Then B=−A=−23. And C=A−1=23−1=21. Therefore,
(x−1)(x2+1)2x+1=x−123+x2+1−23x+21=2(x−1)3+2(x2+1)−3x+1 Now we can integrate:
∫(x−1)(x2+1)2x+1dx=∫(2(x−1)3+2(x2+1)−3x+1)dx =23∫x−11dx−23∫x2+1xdx+21∫x2+11dx The first integral is 23ln∣x−1∣. For the second integral, we can use the substitution u=x2+1, so du=2xdx, and xdx=21du. ∫x2+1xdx=∫2u1du=21ln∣u∣=21ln(x2+1) (Note that we don't need absolute values here since x2+1>0). So, −23∫x2+1xdx=−23⋅21ln(x2+1)=−43ln(x2+1). The third integral is 21∫x2+11dx=21arctan(x). Therefore,
∫(x−1)(x2+1)2x+1dx=23ln∣x−1∣−43ln(x2+1)+21arctan(x)+C =23ln∣x−1∣−21(23ln(x2+1))+21arctan(x)+C Comparing with the answer options, note that arctan(x)=tan−1(x). Also note that 43ln(x2+1)=21⋅23ln(x2+1), so D looks most promising.