I need to calculate the principal part of the Laurent expansion of $f$ around a given $z_0$ in an annulus of the form $\{z\in \mathbb{C}:0<|z-z_0|<r$} and then use this to find $Res(f,z_0)$
i)the first case is $$ f(z)=\frac{z^2}{(z-1)^2} $$ At a first , I see that $f(z)$ can be written as $$ \frac{A}{(z-1)^2}+\frac{B}{(z-1)}+\frac{C}{(z-1)^0} $$ and it's easy to see that $A=1 ,B=2 , C=1$ therefore $$f(z)= \frac{1}{(z-1)^2}+\frac{2}{(z-1)}+1$$ which is in the form of a Laurent expansion at $z_0=1$ , so along with the uniqueness of the Laurent expansion , I conclude that this is it and also $Res(f,1)=2$
Is my approach and justification valid ?
If I'd choose an approach where I'd try to construct a geometric series and end up with a series , would I have to take both cases for $1<|z-1|<2$ and $|z-1|>2 $ ?