Step 1: Overview:
This question involves evaluating four complex contour integrals using complex analysis techniques like Cauchy's Integral Formula, parameterization, and the Residue Theorem.
Step 2: Detailed Solutions:
A. The integral \( \int_{\gamma} \frac{1}{z-a} dz \) is evaluated over a simple closed contour \(|z-a|=r\) enclosing \(a\). Applying Cauchy's Integral Formula with \(f(z) = 1\): \( \int_{\gamma} \frac{f(z)}{z-a} dz = 2\pi i f(a) \).\[ \int_{\gamma} \frac{1}{z-a} dz = 2\pi i \cdot (1) = 2i\pi \]Thus, A corresponds to III.
B. The contour is a semi-circle; thus, parameterization is needed. Let \( z = 2e^{it} \), so \( dz = 2ie^{it} dt \), with \( t \in [0, \pi] \).\[ \int_{\gamma} \frac{z+2}{z} dz = \int_{\gamma} \left(1 + \frac{2}{z}\right) dz = \int_{0}^{\pi} \left(1 + \frac{2}{2e^{it}}\right) (2ie^{it}) dt = \int_{0}^{\pi} (1 + e^{-it}) (2ie^{it}) dt \]\[ = \int_{0}^{\pi} (2ie^{it} + 2i) dt = \left[ \frac{2ie^{it}}{i} + 2it \right]_{0}^{\pi} = \left[ 2e^{it} + 2it \right]_{0}^{\pi} \]\[ = (2e^{i\pi} + 2i\pi) - (2e^{i0} + 0) = (2(-1) + 2i\pi) - 2 = -4 + 2i\pi \]Therefore, B matches I.
C. The contour is \(|z|=3\), enclosing poles at \(z=1\) and \(z=2\). The Residue Theorem is applied with \( f(z) = \frac{e^{2z}}{(z-1)(z-2)} \).\[ \text{Res}(f, 1) = \lim_{z \to 1} (z-1)f(z) = \lim_{z \to 1} \frac{e^{2z}}{z-2} = \frac{e^2}{1-2} = -e^2 \]\[ \text{Res}(f, 2) = \lim_{z \to 2} (z-2)f(z) = \lim_{z \to 2} \frac{e^{2z}}{z-1} = \frac{e^4}{2-1} = e^4 \]By the Residue Theorem, the integral evaluates to \( 2\pi i (\text{Sum of residues}) = 2\pi i (-e^2 + e^4) = 2i\pi(e^4 - e^2) \).Therefore, C matches II.
D. The contour \(|z|=2\) encloses the pole at \(z=1\). Applying Cauchy's Integral Formula.\[ \int_{\gamma} \frac{z^2-z+1}{2(z-1)} dz = \frac{1}{2} \int_{\gamma} \frac{z^2-z+1}{z-1} dz \]Let \(g(z) = z^2 - z + 1\). The integral becomes \( \frac{1}{2} [2\pi i \cdot g(1)] \).\[ = \pi i \cdot (1^2 - 1 + 1) = i\pi \]Therefore, D matches IV.
Step 3: Final Answer:
The correct matching is A-III, B-I, C-II, D-IV, which corresponds to option (C).