I am trying to find the definite integral of $\frac{1}{a^2cos^2x+b^2sin^2x}$ over $0$ to $2\pi$.
I used the substitution $tan\ x=t$ but I am getting answer in terms of $tan^{-1}$, and that function over the given limits will be zero. But when I plotted the function to check for area, it is some positive value. I need help with such situations where substitutions and limits give zero answer.
