We have,
I=∫2(1−x)(1+x2)dx
I=∫(11−x+x+11+x2)dx
I=−∫(1x−1)dx+12∫(2x1+x2)dx+∫(11+x2)dx
I=−ln(x−1)+12ln(x2+1)+tan−1x+C
Hence, this is the answer.
Integrate the rational functions. ∫2(1−x)(1+x2)dx