# Finding the Residue of a Holomorphic Function

I'm trying to find the residue at $0$ of the function

$$f(z)=\frac{1+iz-e^{iz}}{z^3}$$

on $\mathbb{C} - \{0\}$.

I think it's a double pole at the origin, but I'm not entirely sure. I'm wondering if it's best to try and find the Laurent expansion of the function on a suitable annulus, or whether there's a neater trick to find the residue.

$e^{i z} = 1+i z-\tfrac{z^2}{2} + O(z^3)$. – WimC May 27 '12 at 18:16
Wim's hint is huge: you can use MacClaurin's series for the exponential function and write $$\frac{1+iz-e^{iz}}{z^3}=\frac{1}{z^3}+\frac{i}{z^2}-\frac{1}{z^3}\left(1+iz+\frac{(iz)^2}{2!}+...\right)=\frac{1}{2z}+...$$