Use Cauchy formula to solve $$\int _0^{2\pi} \frac{dt}{a \cos t+ b \sin t +c} $$ Given $\sqrt{(a^2+b^2)}=1<c$. I tried a variable substitution, but nothing elegant. Can anyone solve it using Cauchy formula?
Edit: there are simpler solutions, but the challenge is to solve it with complex analysis.
This can be done without taking the help of integration limits too.
I don't know what Cauchy's formula you are talking about. But here is a nice way to do it.
Since $\sin t=\frac{2\tan(\frac x2)}{1+\tan^2(\frac x2)},\cos t=\frac{1-\tan^2(\frac x2)}{1+\tan^2(\frac x2)}$, we can write it as(You may stop and try it yourself at this point) \begin{align*} &\Rightarrow\int \frac{\sec^2(\frac x2)dt}{a(1-\tan^2(\frac x2))+2b\tan(\frac x2)+c(1+\tan^2(\frac x2))}\\ &=\int\frac{2du}{a(1-u^2)+2bu+c(1+u^2)}\\ &=\frac2{c-a}\int\frac{du}{\left(u+\frac{b}{c-a}\right)^2+\frac{c+a}{c-a}-\frac{b^2}{(c-a)^2}}\\ &=\frac2{c-a}\int\frac{du}{\left(u+\frac{b}{c-a}\right)^2+\frac{c^2-(a^2+b^2)}{(c-a)^2}}\\ &=\frac2{c-a}\int\frac{du}{\left(u+\frac{b}{c-a}\right)^2+K^2}\\ &=\frac2{(c-a)K^2}\int\frac{du}{\left(\frac{u+\frac{b}{c-a}}{K}\right)^2+1}\\ \end{align*} Can you make the substitution and finish it?