## Evaluating integrals by differentiating through integral sign

I'm trying to calculate the integral (which is a function of a):
$\int_0^\infty(x^2+a)^{-n}dx$, where $n$ is a positive integer and $a>1$

The aim of the problem is to do it by differentiating through the integral sign, but i've done that with respect to a, and I've just got
$\int_0^\infty-n(x^2+a)^{-n-1}dx$ which is no easier to solve.