How to evaluate the following integral?
$$\int \frac {\ln(3x+7)}{x^2}\,\mathrm dx$$
I tried substituting both $u = 3x+7$ and $u = \ln(3x+7)$, but the resulting integral seems to be much more complex. I also considered integration by parts, but didn't start because it seemed useless in this case.
The substitution $t = -\dfrac 1x$ was promising, because I could get rid of $\dfrac 1{x^2}$ and remained with $\ln\left(-\dfrac3t+7\right)$, but then I did not know how to proceed.
Let $x = \frac{1}{t}$
$$I = -\int \log(3 + 7t) - \log(t) dt$$
The rest is simple.
Your first thought was actually good.