I am trying to solve a question which gives me a random variable with the distribution function below
$$ F(x) = 1 - \left(\frac{\mu}{x}\right)^{2n} $$
where $0 < \mu \le x < \infty$
I differentiate this to obtain the PDF
$$ f(x) = 2n \mu^{2n} x^{-2n-1} $$
At this point, I notice that the integral over the PDF does not sum to 1
$$ \int_{-\infty}^\infty f(x) dx = \int_{-\infty}^\infty 2n \mu^{2n} x^{-2n-1} dx = 2n\mu^{2n} \left[ \frac{x^{-2n}}{-2n} \right]_{-\infty}^\infty = \mu^{2n} \left[ x^{-2n} \right]_{-\infty}^\infty = 0 $$
Have I gone wrong somewhere above? This is part of a bigger question but the CDF is stated in the question as above.