The residue formula is pivotal in residue calculus. For a function \[ f(z) = \frac{g(z)}{h(z)} \] with a simple pole at \( z_0 \), the residue \text{Res}(f, z_0) \ is calculated by: \[ \text {Res}(f, \ z_0) = \frac{g(z_0)}{h'(z_0)} \]
In our example, for \ f(z) = \frac{e^{2z}}{1+e^z} \, we identify \ g(z) = e^{2z} \ and \ h(z) = 1 + e^z \, with a simple pole at \ z = i \pi \. Substituting in, we compute:
- \ g(i \pi) = e^{2i \pi} = 1 \
- \ h'(z) = e^z \ so \ h'(i \pi) = e^{i \pi} = -1 \
Applying the residue formula, we get: \[ \text{Res} \left\( \frac{e^{2z}}{1+e^z} , i \pi \right\) = \frac{1}{-1} = -1 \] This confirms the residue at \ z = i \pi \ is \ -1 \. To double-check, using computational tools can verify the manual calculation, ensuring accuracy and understanding.