Evaluate $$\int \ln(2x+3)\mathrm{d}x$$
Set $r = 2x+3 \rightarrow \mathrm{d}r = 2\mathrm{d}x$
So integral becomes $\displaystyle \frac{1}{2}\int \ln(r)\mathrm{d}r$
Set $u=\ln(r)$, $\mathrm{d}v=\mathrm{d}r$, so $\mathrm{d}u = \frac{1}{r}\mathrm{d}r$ and $v=r$
$\implies \displaystyle \frac{1}{2}\int \ln(r)\mathrm{d}r=\frac{1}{2}\int u\, \mathrm{d}v=\frac{1}{2}(uv-\int v\, \mathrm{d}u) = \frac{1}{2}\left(\ln(r)r-\int \mathrm{d}r\right) = \ln(2x+3)\left(x+\frac{3}{2}\right)-\left(x+\frac{3}{2}\right)+C$
But the correct answer is $\ln(2x+3)\left(x+\frac{3}{2}\right)-x+C$
Can somebody show me where my mistake is and also a better way to do the problem? Thanks!
There is no mistake. $C$ is an arbitrary constant and $-\frac 3 2+C$ is just another constant $C'$. And there is no better way to answer this question.