1
$\begingroup$

This question already has an answer here:

I have been staring at this integral for a while and I don't quite know how to take the first step. Is there some trick that I have to use to manipulate the function first?

Integral in question:

$$\int^{2\pi}_0 \frac{dx}{a + \cos x}$$

Any help/hints/insights is deeply appreciated.

$\endgroup$

marked as duplicate by kennytm, Community Mar 21 '17 at 3:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2
$\begingroup$

Hint this can be rewritten as

$$\int_{|z|=1}\frac{\frac{dz}{iz}}{a+\left(z+z^{-1} \right)/2} = -2i\int_{|z|=1}\frac{dz}{z^2+2az+1} $$

Now you need to look at the roots of $z^2+2az+1 =0$ and some conditions on $a$ to see if the poles lie inside the circle or outside.

$\endgroup$
0
$\begingroup$

A possible way to do this: Let $t= tan(x/2)$ and the integral will be transformed to $2 \int \frac{dt}{((a-1)t^2+(a+1))}$. Then use the Newton-Leibniz formula with a careful discussion at $x= \pi$

$\endgroup$
  • $\begingroup$ You have to divide the interval before doing the substitution otherwise you will get the wrong result. $\endgroup$ – Zaid Alyafeai Mar 21 '17 at 3:51
  • $\begingroup$ @Zaid AlyafeaI Yes. And your way is more enlightening than mine. $\endgroup$ – Johnny Mar 21 '17 at 4:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.