For $\int_{C}\frac{\sin(z)}{(z^2 + 2z - 3)^2} dz$, where $C = \{|z|=2\}$, we have singularities are $z = -3$, $z = 1$. So only $z = 1$ is contained within the contour. This singularity has order $m=2$ right? The $\sin(1) \neq 0 $ so that means we don't need to apply the taylor series for the numerator. The only way for the function to continue being analytic is by multiplying $f(z)$ by $(z-1)^2$.
Is this correct?
I'm still not very sure of $\textit{why}$ when the numerator is $0$ at the singularity point, that means we can simplify the function via Taylor series / Laurent Series.
For example,
$$\frac{e^z - 1}{z^6}$$ has a singularity at $z=0$. Initially, I thought this pole would have order $6$, but it is actually order $5$. Note that at $z=0$, the numerator is $0$. This hints at simplifying via TS/LS. Why?
The Taylor Series of $e^z - 1$ is: $z + \frac{z^2}{2} + \frac{z^3}{3!}+\cdots$ Since we define the residue of a function to be the $a^{-1}$ coefficient term of the laurent series of the function, we look for for what will give a $z^{-1}$ term after dividing by $z^6$ in the expansion of $e^z -1$. This of course is $z^5$ which leads us to find that $\frac{1}{5!}$ is the corresponding residue.
Now, why is this all the Laurent Series of our function? With non-negative powers, are the Laurent and Taylor series the same?