e(ho0n3
- 1,349
- 0
[SOLVED] Checking an Integral
I evaluated the integral below using Cauchy's Formula but I get a different answer than what the book has. The integral is
\int_0^{2\pi} \frac{d\theta}{a + b\cos \theta}
where a > b > 0. Here's what I did: I make the subsitution z = e^{i\theta} so that a + b\cos\theta = a +b/2(z + z^{-1}) and d\theta = dz/(iz). Thus the integral becomes
\int_{|z|=1} \frac{2 dz}{ibz^2 + i2az +ib}
which I can rewrite as
\int_{|z|=1} \frac{2 dz}{(z - p)(z - q)}
where p = -a/b + \sqrt{b^2 - a^2}/(ib) and q = -a/b - \sqrt{b^2 - a^2}/(ib). Now I can apply Cauchy's Formula by letting f(z) = 2/(z - p) so that the above integral equals 2\pi i f(q) = 2\pi b / \sqrt{b^2 - a^2}. Now according to the book, the answer \pi/\sqrt{a^2 - b^2}. I rechecked my algebra and I don't see anything wrong. Is the book wrong?
I evaluated the integral below using Cauchy's Formula but I get a different answer than what the book has. The integral is
\int_0^{2\pi} \frac{d\theta}{a + b\cos \theta}
where a > b > 0. Here's what I did: I make the subsitution z = e^{i\theta} so that a + b\cos\theta = a +b/2(z + z^{-1}) and d\theta = dz/(iz). Thus the integral becomes
\int_{|z|=1} \frac{2 dz}{ibz^2 + i2az +ib}
which I can rewrite as
\int_{|z|=1} \frac{2 dz}{(z - p)(z - q)}
where p = -a/b + \sqrt{b^2 - a^2}/(ib) and q = -a/b - \sqrt{b^2 - a^2}/(ib). Now I can apply Cauchy's Formula by letting f(z) = 2/(z - p) so that the above integral equals 2\pi i f(q) = 2\pi b / \sqrt{b^2 - a^2}. Now according to the book, the answer \pi/\sqrt{a^2 - b^2}. I rechecked my algebra and I don't see anything wrong. Is the book wrong?