The simple zero assumption gives the local factorization
where is holomorphic. In a small disc stays nonzero, so is holomorphic there. Expanding to first order,
The residue is therefore
If , the quotient has a removable singularity rather than a simple pole, and the same formula correctly gives zero. This is the residue formula for a quotient at a simple denominator zero.