The question is when the following integral converges or diverges:
$\int_{-1}^{0} x^{-p}$ for $p > 0$.
I am stuck at the case where $0 < p < 1$, where I end up with
$$\frac{1}{1-p} - \frac{(-1)^{1-p}}{1-p}$$
I am not sure how to split this funciton. should it be from 0 < p < 1 or p <= 1. I cant tell what to do at the value '1'.