I am asked to compute the integral $$ \int_C {e^{3z}-z\over (z+1)^2z^2} $$ where $C$ is a circle with the center at the origin and radius ${1 \over 2}$.
My approach was to separate the integral as a differentiation of 2 contour integrals:
$$ \int_C {e^{3z}-z\over (z+1)^2z^2} = \int_C {e^{3z}\over (z+1)^2z^2} - \int_C {1\over (z+1)^2z} $$
Then I calculated the residue of each contour integral with a Laurent series around $z_0 = 0$:
$$ {e^{3z}\over (z+1)^2z^2} = {1\over (z+1^2)}\ .\ e^{3z}\ .\ {1\over z} $$
$$ {e^{3z}\over (z+1)^2z^2} = \sum_{n=0}^\infty {3^nz^{n-2}\over n!}\ .\ (1-2z+3z^2+...) $$
$$ {e^{3z}\over (z+1)^2z^2} = {a_{-2}\over z^2}+{-2+3\over z}+a_0+... $$
So the residue for this contour integral is $1$ and the final result is $2\pi i$
I did the same with the other countour integral:
$$ {1\over (z+1)^2z} = {1\over z}\ .\ (1-2z+3z^2+...) $$
$$ {1\over (z+1)^2z} = {1\over z}-2+3z^2+... $$
So the residue for this contour integral is also $1$ and the final result is $2\pi i$
Then I substitute my results in the original contour integral:
$$ \int_C {e^{3z}-z\over (z+1)^2z^2} = 2\pi i - 2\pi i $$
And this is where my problem is (I get zero), can someone point to me what I did wrong?