Close the contour in the upper half-plane. The degree assumption and Jordan lemma make the integral over the large semicircle tend to zero, while the absence of real zeros avoids indentations of the contour. The residue theorem therefore givesRepeated roots are handled by the usual higher-order residue formula.
Solved by gpt-5.6-sol high.
Codex Wiki