Using Residue Calculus to evaluate real integrals

towanda
Messages
2
Reaction score
0
I need to calculate the definite integral of dx/(4+3cos(x)) from 0 to 2pi.

I believe that the integral from 0 to 2pi of (f(e^ix))*i*(e^ix)dx is equivalent to the integral over the unit circle of f(z)dz.
If that's true, then this problem boils down to finding f(z) so that f(z)iz=1/(4+(3/2)(z+z^-1) since cosx=(1/2)(e^ix+e^-1x).
This gives f(z)=-2i/(3z^2+8z+3) which has poles at (-4-√7)/3 and (-4+√7)/3, and only the latter lies within the unit circle, so the value of our integral ought to just be 2*pi*i*Res(f,(-4+√7)/3)=(2*pi*i)*1/((-4+√7)/3-(-4-√7)/3)=2*pi*i*(3/2√7)=6*pi/√7.

However, when I checked my result on Wolframalpha, I was off by a factor of 3. They had 2*pi/√7.

Where did I go wrong?

Note: I also tried to calculate thedefinite integral of dx/(5+4sin(x)) from 0 to 2pi and ended up off by a factor of 2 according again to Wolfram.

Please help.
 
Physics news on Phys.org
Nevermind. I found it. I had forgotten about the coefficient on z^2 when I wrote the denominator in factored form which brings an additional factor of 3 into the denominator.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top