I am evaluating a complex integral that utilises the Cauchy Integral Formula and its properties.
In the book I'm reading, they give examples of evaluating integrals using CIT by graphing them, which really does help to see if points of a function is analytic in a certain domain.
For example, in evaluating this integral - how would I be able to plot the function shown in this integral, where C is a circle $|z|=1$ traversed once counter clockwise. $$\int_{C}\frac{z+i}{z^3+2z^2}$$
Thanks.
The idea is that you only need to know where the function is singular
In your case it is at $z= 0$ and $z = -2$, but the second point is outside the region of integration, so we do not care about it
$$ \oint_C \frac{z + i}{z^2(z + 2)} {\rm d}z= \oint_C \frac{f(z)}{z^2}{\rm d}z $$
where the function
$$ f(z) = \frac{z + i}{z + 2} $$
is well behaved in the region $|z| \leq 1$. The problem is at $z = 0$, where you have second order singularity, so you can use Cauchy's integral form
$$ \left.\frac{{\rm d}^n f}{{\rm d}z^n}\right|_{z = 0} = \frac{n!}{2\pi i}\oint_C \frac{f(z)}{z^{n + 1}}{\rm d}z $$
with $n = 1$ which yields
$$ \oint_C\frac{z + i}{z^2(z + 2)} = 2 \pi i \frac{{\rm d}}{{\rm d}z}\left(\frac{z + i}{z + 2}\right)_{z = 0} = 2\pi i \left(\frac{1}{2} - \frac{i}{4} \right) $$