Problem:find the residue Res$(f(z),\infty)$ for $f(z)$ as follows
$f(z)=\frac{e^z}{z^2-1}$
I tried two methods to solve the problem,but obtained two different results.
The first method was like this:
Because Res$(f(z),\infty)$+Res$(f(z),1)$+Res$(f(z),-1)$=0,then I get the answer:
Res$(f(z),\infty)=-\sinh1$
The second method was like this:
Res$(f(z),\infty)$=-Res$(\frac{1}{z^2}f(1/z),0)$ $$ \frac{1}{z^2}f(1/z)=\frac{e^{1/z}}{1-z^2}=(1+z^2+z^4+z^6+...)(1+1/z+1/(2!z^2)+1/(3!z^3)+...) $$
Then $b_1=1$
so Res$(f(z),\infty)=-1$
I don't know where went wrong? I would appreciate it if you could help me find the reason.Thank you!
