How might one go about computing the residue of $\frac {z^2 + 3z - 1}{z+2}$? I understand it has a pole at -2 and that we should then expand the numerator in powers of 2, but the book seems to do it by inspection. How does it look when done methodically?
EDIT: I should clarify - I understand I can just plug -2 into the numerator but I do not know why.