
Justin R. answered 11/19/20
Ph.D. in Geophysics. Teaching at the university level since 1990.
When doing integration by parts, you choose u to be the function that, if you take enough derivatives, will eventually produce a constant. ln(x) will never do that (dln(x)/dx = 1/x, d(1/x)/dx = -1/x^2 ...)
Now how many derivatives do you need to take x^2 to get a constant value?