Choose the correct answer in each of the question.
∫x(x−1)(x−2)dx equals
(a)log∣∣∣(x−1)2x−2∣∣∣+C(b)log∣∣∣(x−2)2x−1∣∣∣+C(c)log∣∣(x−1x−2)2∣∣(d)log|((x−1)(x−2))|+C
Let x(x−1)(x−2)=A(x−1)+B(x−2)
⇒x=A(x−2)+B(x−1)........(i)
On substituting x=1 and 2 in Eq. (i), we get A =-1 and B =2
∴x(x−1)(x−2)=−1(x−1)+2(x−2)∴∫x(x−1)(x−2)dx=∫(−1)x−1dx+∫2x−2dx=−log|x−1|+2log|x−2|+C=−log|x−1|+log|x−2|2+C=log∣∣∣(x−2)2x−1∣∣∣+C[∵logb−loga=logba]
So, the option (b) is correct.