Solution
By algebraic division,
x(1−2x)1−x2=21+21(x(1−2x)2−x)
Let
x(1−2x)2−x=xA+1−2xB
Multiplying by x(1−2x),
2−x=A(1−2x)+Bx
Putting x=0,
A=2
Comparing the coefficient of x,
−1=−2A+B
Therefore,
B=3
Hence,
x(1−2x)1−x2=21+x1+2(1−2x)3
Integrating,
∫x(1−2x)1−x2dx=∫21dx+∫x1dx+23∫1−2x1dx=2x+log∣x∣−43log∣1−2x∣+C
Therefore,
∫x(1−2x)1−x2dx=2x+log∣x∣−43log∣1−2x∣+C