Show that $\int_0^{2\pi} \frac{\sin^2\theta}{a+b\cos\theta}\,d\theta = \frac{2\pi}{b^2}\{a-\sqrt{a^2-b^2}\}, a>b>0.$
Shoham Teberiwal, AIR 77, 2023
To show
we know $\sin^2\theta = \frac{1-\cos 2\theta}{2}$
Consider (or)
Consider contour $C: |z| = 1$ $\Rightarrow z = e^{i\theta}$ $dz = i e^{i\theta}\,d\theta$ $\cos\theta = \frac{z+\frac{1}{z}}{2} = \frac{z^2+1}{2z}$
roots of $z^2+\frac{2a}{b}z+1=0$
if $a>b>0$
thus $z_1$ lies within C (to form a pole)
$\because z_1 z_2 = 1$
$\therefore \frac{1}{ib}\int f(z)\,dz = \frac{1}{ib}\,2\pi i\,(\text{Res}(z=z_1))$
Now R.P. (real part) of $\int \frac{1-e^{i2\theta}\,d\theta}{2(a+b\cos\theta)} = \frac{2\pi}{b^2}(a - \sqrt{a^2-b^2})$
Hence $\int_0^{2\pi} \frac{\sin^2\theta}{a+b\cos\theta} = \frac{2\pi}{b^2}(a - \sqrt{a^2-b^2})$