<s>[INST] Laurent series of a trigonometric function Find the Laurent Serie(and residue) aroud $z_0=0$ of the function
$f(z) = \frac{1}{1-\cos z}$.
Progress:
It looks very trivial but it seems to get complicated so I'll only try with 3-4 terms:
We can use that $\cos z = 1- \frac{z^2}{2!}+\frac{z^4}{4!}-\frac{z^6}{6!}+...+\sum_{0}^{\infty}\frac{(-1)^k z^{2k}}{(2k)!}$ and hence
$f(z) = \frac{1}{1-\cos z} = \frac{1}{1-(1- \frac{z^2}{2!}+\frac{z^4}{4!}-\frac{z^6}{6!}+...+\sum_{0}^{\infty}\frac{(-1)^k z^{2k}}{(2k)!})} \Rightarrow f(z)= \frac{1}{\frac{z^2}{2!}-\frac{z^4}{4!}+\frac{z^6}{6!}}
$
This is not correct apparently so I tried to factor out $z^2$ and$\frac{z^2}{2!}$ but I was unable to proceed. I suspect that I'll arrive to a nestled sum.
 [/INST] Factor out a $z^2/2!$ from the denominator to get
$$\begin{align}\frac{1}{1-\cos{z}} &= \frac{2}{z^2} \frac{1}{\displaystyle1-2 \sum_{k=1}^{\infty} (-1)^{k+1}\frac{z^{2 k}}{(2 (k+1))!}}\\ &= \frac{2}{z^2} + \frac{4}{z^2} \sum_{k=1}^{\infty} (-1)^{k+1}\frac{z^{2 k}}{(2 (k+1))!} + \frac{2}{z^2} \left ( \sum_{k=1}^{\infty} (-1)^{k+1}\frac{z^{2 k}}{(2 (k+1))!}\right )^2+\cdots  \\ &\approx \frac{2}{z^2} +\frac{1}{6} +\cdots\end{align}$$
The residue at $z=0$ is the coefficient of $1/z$ and is thus zero.
</s>