I'm trying to calculate the integral (which is a function of a):

, where is a positive integer and

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

which is no easier to solve.

What's the best way to go about this?