Continuing from where we left off, to find the residue at ( z = a ), we use the following limit:
[ \text{Res}(f; a) = \lim_{z \to a} \frac{z^2 + 1}{z} ]
Now, we evaluate the limit:
[ \text{Res}(f; a) = \frac{a^2 + 1}{a} ]
Now we have the residues for both singularities inside the unit circle if ( |a| < 1 ). According to the Residue Theorem, the integral around the contour C, which is the unit circle, is given by:
[ \oint_C f(z) , dz = 2\pi i \sum \text{Residues inside C} ]
Now let's consider the two cases for ( a ):
Case 1: ( |a| < 1 )
Both ( z = 0 ) and ( z = a ) are inside the contour. So we sum the residues at these points:
[ \oint_C f(z) , dz = 2\pi i \left( \text{Res}(f; 0) + \text{Res}(f; a) \right) ]
[ \oint_C f(z) , dz = 2\pi i \left( \frac{1}{-a} + \frac{a^2 + 1}{a} \right) ]
[ \oint_C f(z) , dz = 2\pi i \left( \frac{-1 + a^2 + 1}{a} \right) ]
[ \oint_C f(z) , dz = 2\pi i \left( \frac{a^2}{a} \right) ]
[ \oint_C f(z) , dz = 2\pi i \cdot a ]
Case 2: ( |a| > 1 )
Only ( z = 0 ) is inside the contour. So we only consider the residue at this point:
[ \oint_C f(z) , dz = 2\pi i \cdot \text{Res}(f; 0) ]
[ \oint_C f(z) , dz = 2\pi i \left( \frac{1}{-a} \right) ]
[ \oint_C f(z) \