Evaluation of $\displaystyle \int\frac{1}{(a^2-\tan^2 x)\sqrt{b^2-\tan^2 x}}dx\;,$ Where $a>b$
$\bf{My\; Try::}$ Let $b^2-\tan^2 x= t^2\;,$ Then $-2\tan x \sec^2 xdx = 2tdt$
So integral convert into $\displaystyle I = -\int\frac{1}{(a^2+b^2-t^2)\cdot t}\times \frac{t}{(1+b^2-t^2)}\times \frac{1}{\sqrt{b^2-t^2}}dt$
Now how can i solve it, Help required, Thanks
I have an idea.
Substitute $u=\tan x $ to get $$I =\int \frac {1}{\sqrt {b^2-u^2}(u^2+1)(a^2-u^2)} \mathrm {d}u$$ Now substituting $u = b\sin v $, we get, $$I = \int \frac {1}{(b^2\sin ^2 v+1)(a^2-b^2\sin^2 v)}\mathrm {d}v $$ We then substitute for $w =\tan v $, to get, $$I =\int \frac {w^2+1}{((a^2-b^2)w^2+a^2)((b^2+1)w^2+1)} \mathrm {d}w $$ Now we do a partial fraction decomposition which I am unable to get right. Hope you can take it from here.