So I am asked to find the residue for each pole such as $$ f(z) = \frac{z}{1-\cos(2z)} $$ I understand pole of order 2 with $z= 2\pi k$ excluding zero.
I also understand that residue equals to cauchy integral over the curve with integrand f(z)
I am not sure how to apply it because I am not given the radius and
only used to using short cut formula for residue and simple poles.
From my understanding I know the generalized cauchy formula with denominator of integrand
of power of $(k+1)$ derives $f^{(k)}(z_0)$ and I also know that when there is pole of order two you
can get the residue right away by evaluating the holomorphic function inside the integrand
and multiply $\pi/2$ but this is infinite amount of poles so I am not sure how I could
do this. Can someone explain me why integral over the curve of f(z) is residue?
I mean integral over entirely analytic function on domain D is 0 and residue therefore
equals 0 but this is all the knowledge I know.
It doesn't matter as long as there's only one singularity enclosed by the curve.
I don't think I understand this question. This is just a definition.
There are some easier ways to calculate residues when the singularity is a pole. If $z_0$ is a pole of order $n$ of $f$, then: $$ \operatorname{res}_{z_0}f = \frac{1}{(n-1)!} \lim_{z\to z_0}\left(\frac{d}{dz}\right)^{n-1} ((z-z_0)^nf(z)) $$