(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

Given C is the unit circle, evaluate [tex]\int_C \frac{1}{z^2 + 4} dz[/tex]

2. Relevant equations

unit circle: [itex]z = e^{iθ}[/itex]

The problem doesn't specify how many times to go around the unit circle or which way, so I'm going to assume once and counterclockwise.

3. The attempt at a solution

[tex]z = e^{iθ} \ \ , \ θ \in [0, 2\pi][/tex]

[tex]dz = ie^{iθ}dθ[/tex]

[tex]\int_C \frac{1}{z^2 + 4} dz = \int_0^{2\pi} \frac{1}{(e^{iθ})^2 + 4} ie^{iθ}dθ[/tex]

[tex] = \frac{1}{2} \arctan{\left(\frac{e^{iθ}}{2}\right)} \Big|_0^{2\pi} [/tex]

[tex] = \frac{1}{2} \arctan{\left(\frac{e^{0i}}{2}\right)} - \frac{1}{2} \arctan{\left(\frac{e^{2\pi i}}{2}\right)} [/tex]

[tex] = \frac{1}{2} \arctan{\left(\frac{1}{2}\right)} - \frac{1}{2} \arctan{\left(\frac{1}{2}\right)} = 0[/tex]

I'm pretty confident about it, but I'm always wary of numerical problems that turn out so nicely. Is this correct, or did I royally screw it up?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Did I do this (complex) integration correctly?

**Physics Forums | Science Articles, Homework Help, Discussion**