All you have to do is show that f(z) is analytic inside your closed contour (which it is, because the only singularity is outside the contour). Then you simply quote the Cauchy-Goursat theorem, and you're done.
I must apply Cauchy-Goursat theorem to show that where and .
So what I wrote was "f is analytic over " therefore according to C-G's theorem the line integral is worth 0 since the singularity of f isn't inside the enclosed (by C) domain. Yet I don't feel I've "showed" anything. Do you think it's enough?
So I even tried to directly show that . I parametrized the unit circle as for . I came up with that this integral is worth . Then I've used Euler's formula and couldn't show anything. (I get a very long and ugly impossible thing). How would you show that the integral is worth 0 using only the definition of a line integral?
Setting the integral becomes...
(1)
Now because is...
(2)
... so that is...
(3)
But any term of the series (3) is equal to 0 so that is...
(4)
Kind regards