you're fine up until trying to evaluate the definite integral. You can't do algebra with infinities and get usable answers. What you have to do is use the integral test with the harmonic series. Since you know the harmonic series diverges it must be that the integral of 1/x diverges as well.