Find the Laurent series of $\frac{e^z}{z^2 -1}$ about $z = 1$.
Here is my solution: Factor denominator $\frac{e^z}{(z-1)(z+1)}$
let $w = z - 1$, and so $z = w + 1$, substitute in $\frac{e^{w+1}}{w(w+2)}$
Do partial fraction decomposition to get rid of the exponential in numerator
$\frac{e^{w+1}}{w(w+2)}$ = $\frac{A}{w} + \frac{B}{w+2}$
$e^{w+1} = A(w+2) + Bw$
If $w=0$, $e=2A$, $A = e/2$. If $w = -2$, $\frac{1}{e} = -2B$, $B = \frac{-1} {2e}$
Thus our new equation is $\frac{e}{2w} + \frac{-1}{2e(w+2)}$
Because the first term $\frac{e}{2w}$ is already in terms of $w = (z-1), we leave it be. The second term we can expand using geometric series expansion
$\frac{-1}{4e} \cdot \frac{1}{1 - (\frac{-w}{2})}$
and so the Laurent series we get is
$$\frac{e}{2w} - \frac{1}{4e} \cdot \{1 - \frac{w}{2} + \frac{w^2}{4} - \frac{w^3}{8} ... \} $$
However, the textbook solution has same terms, but no negative sign. Where did I go wrong?