Knowing that $f(x)f(-x)=1$ for all $x$, evaluate the following integral:
$$\int_{-\pi\over4}^{\pi\over4} {1\over{(1+2\sin^2x)(1+f(x))}} $$
Also, I found similar integrals of the form $\int_{-a}^{a} {1\over{(1+g(x))(1+f(x))}}$ where $g$ is even and $f$ satisfies the property above. I wonder if there's a nice trick for solving all integrals of that type, using general properties like the one saying that the integral of an odd function between $-a$ and $a$ is 0.
Thank you in advance for any solutions or hints.