Singularities and residues of a complex function, the shortcuts for computing residues at simple and higher-order poles, the residue theorem for closed contours, and its use for real integrals, as GATE asks them.
The higher-order pole formula for residues is the derivative form of Cauchy's integral formula.
Concept notes
1. Singularities and the residue
A point is an isolated singularity of if is analytic in a punctured disc but not at . There has a Laurent series
The second sum is the principal part. Its shape classifies the singularity:
Type
Principal part
Example at
Removable
none
Pole of order
finite, last term
(order 3)
Essential
infinitely many terms
,
A pole of order 1 is a simple pole. For with , a zero of order of at is a pole of order of . If too, cancel the common factor first: has a removable singularity at .
The residue of at is the coefficient of :
where is a small circle around enclosing no other singular point. It is the only Laurent coefficient that survives integration, because for every integer .
At a removable singularity the residue is 0. A pole can still have residue 0 (for example at 0).
2. Computing residues quickly
Situation
Residue at
Simple pole
, , ,
Pole of order
Essential singularity
Read from the Laurent series
Removable singularity
Worked shortcuts:
at : .
at (order 2): .
at : .
at : , so the residue is 1.
at 0: , so the residue is (only a simple pole, despite the ).
When the numerator also vanishes at , expand in series instead of trusting the apparent order of the pole.
3. The residue theorem
Residue theorem. If is analytic on and inside a simple closed contour except at finitely many points inside , then, with anticlockwise,
It follows from deforming onto small circles around each (Cauchy's theorem) and the definition of the residue. Cauchy's theorem is the special case with no singular points inside, and Cauchy's integral formula is the case of one simple or higher-order pole.
Procedure:
Find all singular points of .
Keep only those strictly inside (for : ). A pole on makes the integral improper; GATE avoids this.
Find each residue, add, multiply by . Use for a clockwise contour.
Residue at infinity. The sum of the residues at all finite singular points plus the residue at is zero. When the contour encloses all finite singular points and with , the integral is therefore zero. When , the sum of finite residues is the ratio of leading coefficients.
Left: only poles inside the contour contribute. Right: the closed upper semicircle used for real integrals from minus to plus infinity.
4. Real integrals by residues
Type 1: . Put on the unit circle:
The integral becomes a contour integral over ; add the residues at poles inside the unit circle. A standard result:
(the same holds with in place of ).
Type 2: , with having no real zeros and . Close the real axis with a large semicircle in the upper half-plane. The integral over the arc goes to zero as (ML inequality), so
Example: for .
The result of a real integral must be real. If your answer has an left over, a residue or the factor is wrong.
Formulas to remember
Residue theoremSum over singular points inside , anticlockwise
Simple pole
Simple pole of p/q
Pole of order m
Trigonometric integral
Rational integral over the real line, no real zeros of
Substitution for type 1
Common mistakes
Adding residues of poles that lie outside the contour; check each pole's distance from the circle's centre.
Using the simple-pole formula at a pole of order 2 or more; use the derivative formula or a series.
Judging the order of a pole from the denominator alone when the numerator also vanishes there, as in (1 - cos z)/z^3.
For integrals over the whole real line, including lower half-plane poles or forgetting the condition deg Q >= deg P + 2.
In the z = e^(i theta) substitution, dropping the 1/(iz) factor from d theta.
Ending a real integral with an imaginary answer; it signals a lost factor of i.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Two simple poles inside the contour
numerical
Evaluate (anticlockwise).
Step 1: Locate the poles.
Try it on paper first.
Example 2: A double pole
numerical
Evaluate (anticlockwise).
Step 1: Identify the singularity.
Try it on paper first.
Example 3: A real integral over the whole line
numerical
Evaluate .
Step 1: Check the degree condition and find the upper half-plane poles.
Try it on paper first.
Example 4: A trigonometric integral on the unit circle
numerical
Evaluate using residues.
Step 1: Substitute $z = e^{i\theta}$.
Try it on paper first.
Previous year questions
1 official GATE EC question on this topic, newest first.
9 questions: up to 1 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.