- 2,802
- 605
In the process of calculating the integral \int_0^{2\pi}\frac{\sin{x} \cos{x}}{\sin{x}+\cos{x}}dx by contour integration,I got the following:
<br /> -\frac{1}{2}[ \LARGE{\oint} \large{\frac{z^2}{(1-i)z^2+i+1}}dz-\LARGE{\oint}\large{\frac{z^{-2}}{(1-i)z^2+i+1}}dz]
Where the contour of integration for both integrals is the unit circle centered at the origin. The poles are at z=\pm i \sqrt{i}=\pm \frac{\sqrt{2}}{2}(1-i). As you can see, |z|=1 and so they're on the contour.
My question is,how should I treat such poles?
Should I exclude them and calculate the integrals as \pi i \sum_i r_i or should include them and use 2 \pi i \sum_i r_i ?
How should I decide with what sign each of the residues should appear in the calculation of integrals?
Thanks
<br /> -\frac{1}{2}[ \LARGE{\oint} \large{\frac{z^2}{(1-i)z^2+i+1}}dz-\LARGE{\oint}\large{\frac{z^{-2}}{(1-i)z^2+i+1}}dz]
Where the contour of integration for both integrals is the unit circle centered at the origin. The poles are at z=\pm i \sqrt{i}=\pm \frac{\sqrt{2}}{2}(1-i). As you can see, |z|=1 and so they're on the contour.
My question is,how should I treat such poles?
Should I exclude them and calculate the integrals as \pi i \sum_i r_i or should include them and use 2 \pi i \sum_i r_i ?
How should I decide with what sign each of the residues should appear in the calculation of integrals?
Thanks