For the integral

you have to do the substitution before you can use the logarithm rule. That is, and the integral becomes

And yes, this post does belong in Differential Equations, despite being taught in Calc II. This forum is more organized around subject matter than courses. Report your own post, and a mod will move it for you.

Cheers.