In my textbook, I have this example:
$$f(z) = \frac{9z+i}{z^3+z}.$$ Find the residue.
So the book says it has a simple pole at $i$ but doesn't it also have a simple pole at $-i$?
I can see the denominator is $z(z^2 + 1) = z(z+i)(z-i)$ so doesn't it have three simple poles: $z = 0, z = i, z = -i$?
The residue that the book gives is:
$$\operatorname{Res}_{z=i} \frac{9z+i}{z(z^2+1)} = \lim_{z \to i} (z-i) \frac{9z+i}{z(z+i)(z-i)} = \frac{9z+i}{z(z+i)}\bigg|_{z=i} = \frac{10i}{-2} = -5i$$
But aren't there other poles?