I want to integrate 1/x(1-ax) wrt to x. It can be done using the substitution u=1/x

the answer is y=C-ln|(1/x)-a| where C is an arbitrary constant.

I can't seem to bash it out though.

u=1/x

du/dx=-1/x^2

when I try to substitute it all goes to pot.

I need the method before moving onto the real work!

Thanks

TF