Given question is to check the convergence of $$\int^{b}_{a}\frac{dx}{(x-a)^p}$$
I have managed to solve it till $$\lim_{\epsilon\to0}\frac{(b-a)^{1-p}}{1-p}-\frac{\epsilon^{1-p}}{1-p}$$
According to value of $p$ how to check convergence and divergence of the integral.
Please Guide. Thank You