MissMoneypenny
- 17
- 0
Homework Statement
Compute the real integral
\int\frac{dθ}{2+sin(θ)}, where the limits of integration are from 0 to 2π
by writing the sine function in terms of the exponential function and making the substitution z=e^{iθ} to turn the real integral into a complex integral.
Homework Equations
sin(z)=\frac{e^{iz}-e^{-iz}}{2i}
Cauchy's integral formula.
The Attempt at a Solution
I wrote sin(θ)=\frac{e^{iθ}-e^{-iθ}}{2i} and plugged that into the integral. The integrand then simplifies to \frac{2i}{4i+e^{iθ}+e^{-iθ}}. Letting z=e^{iθ} gives dθ=\frac{dz}{iz}. However, plugging this substitution back into the integral gives
\int\frac{2dz}{-4z+iz^{2}-1}
That's where I get stuck. I'm not sure where to go from here. I thought about using partial fractions, but that seems like it may be a nastier approach than necessary. Any help will be much appreciated.
Last edited: