### Integrate x dx/(1-x). I have proceeded thus-

Int xdx/(1-x)=int -(x-1+1)/(x-1) =-Int[1+ 1/(x-1)]dx =-Int dx-Int dx/(x-1) =-x-log(x-1). On differentiating, we get original expression- d/dx[-x-log(x-1)]=-1-1/(x-1)=-x/(x-1)=x/(1-x). However, the answer in the