I've just been looking over some basic calculus and come across the following which I am unable to explain (how the mighty have fallen):
If we integrate $ \ln(2x) $ by parts then we quickly get the correct solution $$ x\ln(2x) - 2x .$$ However when I try to integrate by substitution I proceed as follows: set $ u := 2x \Rightarrow du = 2dx $. Therefore $$ \int\ln(2x)dx = \frac 1 2\int\ln(u)du .$$ This is equal to $$ \frac{1}{2}(u\ln(u)-u) + c = x\ln(2x)-x + c .$$ Where am I going wrong above?