I came across an integral of this form:
$$\int_{0}^{a}\frac{dx}{(a^{n}-x^{n})^{1/n}}$$ How do I solve this integral? I tried using this substitution: $x=asin^{2}(x)$ in order to reduce this to a beta form integral, but I a man getting the value $\frac{B(0,1)}{2}$. This happens to tending towards minus infinity as $B(0,1)=\frac{\Gamma{(0)}\Gamma{(1)}}{\Gamma{(1)}}\rightarrow-\infty$
Any help is appreciated.
Calculation:
inserting ansatz, the new integral obtained is: $$\int_{0}^{\frac{\pi}{2}}\frac{2acos(\theta)sin(\theta)d\theta}{a^{n/n}(1-sin^{2n}(\theta))^{1/n}}$$ This further reduces to:
$$\int_{0}^{\frac{\pi}{2}}{2(cos(\theta))^{-1}(sin(\theta))^{1}d\theta}$$ Comparing this to the standard Beta integral we get p to be 0 and q to be 1 and thus the integral tends towards minus infinity.