Solution
Let
(x−1)(x−2)(x−3)x=x−1A+x−2B+x−3C
Multiplying by (x−1)(x−2)(x−3),
x=A(x−2)(x−3)+B(x−1)(x−3)+C(x−1)(x−2)
Putting x=1,
1=2A
Therefore,
A=21
Putting x=2,
2=−B
Therefore,
B=−2
Putting x=3,
3=2C
Therefore,
C=23
Hence,
(x−1)(x−2)(x−3)x=2(x−1)1−x−22+2(x−3)3
Integrating,
∫(x−1)(x−2)(x−3)xdx=21log∣x−1∣−2log∣x−2∣+23log∣x−3∣+C