Poles and residues: Zero, singularities, Poles and Residues, Types of singular points, Calculus of residues