User:Sam Derbyshire/Test
From Wikipedia, the free encyclopedia

z5 − z4 + 2z3 − 2z2 + z − 1 = (z2 + 1)2(z − 1) = (z − i)2(z + i)2(z − 1)
And 
As such,
has a pole of order 1 at z = 1 and two poles of order two at z = i and z = -i.
Let γ be some Jordan curve around all these three poles : for example, the curve parametrized by 2eit with
.
Then
by the residue theorem.

But the residue of a function f(z) at a simple pole c is given by
.
Thus
.
Then 
.
This time, the pole is of second order, thus its residue is given by the formula :
, where n is the order of the pole.
Thus,
.
.
Following the same procedure :
.
So 

