Questions: Evaluating Real Integrals Using Residues
5 questions to test your understanding
Score: 0 / 5
Question 1 Multiple Choice
To evaluate ∫_{-∞}^{∞} dx/(x²+4) using a semicircular contour in the upper half-plane, the integrand f(z) = 1/(z²+4) has poles at z = 2i and z = −2i. Which poles do you include when applying the residue theorem?
ABoth z = 2i and z = −2i, since both are poles of f(z)
BOnly the residue at z = 2i, since it is the only pole with positive imaginary part lying inside the upper half-plane contour
COnly the residue at z = −2i, since it lies on the 'correct' side for the closing semicircle
DNeither pole — the degree condition deg(q) ≥ deg(p) + 2 is not satisfied, so the method fails
The residue theorem sums only the residues at poles *inside* the closed contour. The semicircular contour encloses the upper half-plane (Im(z) > 0), so only z = 2i qualifies. The pole at z = −2i is in the lower half-plane, outside the contour, and contributes nothing. Including both residues is the most common error — it produces a wrong answer because the residue theorem specifically counts poles inside the contour, not all poles of the function. Note also that deg(q) = 2 ≥ deg(p) + 2 = 0 + 2 = 2, so the degree condition is satisfied and the method works.
Question 2 Multiple Choice
When closing the contour with a large semicircular arc C_R of radius R in the upper half-plane, why does the integral over C_R tend to zero as R → ∞ for a rational integrand f(z) = p(z)/q(z) with deg(q) ≥ deg(p) + 2?
AThe semicircle has zero length in the limit, so any bounded integrand contributes nothing
BThe residue theorem guarantees that curved contour segments always contribute zero to the integral
CThe ML estimate gives |f(z)| ≤ M/R² on C_R while the arc length is πR, bounding the arc integral by πM/R → 0 as R → ∞
DThe imaginary parts of the integrand cancel along the semicircle due to the contour's symmetry about the imaginary axis
The ML estimate (also called the estimation lemma) bounds a contour integral by the maximum of |f| on the contour times the contour's length: |∫_{C_R} f(z)dz| ≤ M_R · πR. For a rational function with deg(q) ≥ deg(p) + 2, we have |f(z)| = O(1/|z|²), so M_R ≤ K/R² for some constant K, giving the bound K·πR/R² = Kπ/R → 0. Option A is wrong — the arc length πR grows without bound, so zero length is not the reason. Option B is false — curved arcs do not automatically contribute zero. This vanishing is condition (c) that makes the entire method work.
Question 3 True / False
When evaluating ∫_{-∞}^{∞} p(x)/q(x) dx using the upper half-plane semicircular contour, you should sum the residues at nearly every pole of p(z)/q(z) in the entire complex plane.
TTrue
FFalse
Answer: False
The residue theorem counts only the residues at poles *inside* the closed contour. For the upper half-plane semicircle, this means only poles with strictly positive imaginary part (Im(z) > 0). Poles in the lower half-plane are outside the contour and do not appear in the calculation. Poles on the real axis lie on the contour itself and require special treatment (an indented contour that bypasses them). Summing all poles in the plane is a common error that yields a wrong answer — typically twice the correct answer if the function has symmetric poles above and below the real axis.
Question 4 True / False
For a trigonometric integral ∫₀^{2π} R(cosθ, sinθ) dθ evaluated via the substitution z = e^{iθ}, you sum the residues at all poles of the resulting function inside the unit circle |z| < 1.
TTrue
FFalse
Answer: True
After substituting z = e^{iθ}, dθ = dz/(iz), cosθ = (z + z⁻¹)/2, sinθ = (z − z⁻¹)/(2i), the integral over [0, 2π] becomes a counterclockwise contour integral around the unit circle |z| = 1. The residue theorem then sums residues at poles strictly inside this contour — i.e., poles with |z| < 1. Poles outside the unit disk (|z| > 1) are outside the contour and don't contribute. This is the exact analogue of the upper half-plane condition: the choice of contour determines which poles count.
Question 5 Short Answer
Describe the three conditions that must hold for the standard upper half-plane semicircular contour method to successfully evaluate ∫_{-∞}^{∞} f(x) dx, and explain what goes wrong if each condition fails.
Think about your answer, then reveal below.
Model answer: Condition 1: The contour must include the real integral as a segment. The contour runs along the real axis from −R to R, becoming the desired integral as R → ∞. Failure: if f has poles on the real axis, they lie on the contour itself — the residue theorem requires poles to be strictly inside. The fix is an indented contour that detours around real-axis poles via small semicircles, picking up half-residues.
Condition 2: The closed contour must enclose identifiable poles with computable residues. The residue theorem applies only if f is meromorphic inside the contour with finitely many poles. Failure: infinitely many poles inside (e.g., f(z) = 1/sin(z)) makes the sum unmanageable and the method impractical.
Condition 3: The integral over the large semicircular arc C_R must vanish as R → ∞. For rational f with deg(q) ≥ deg(p) + 2, the ML estimate guarantees this. Failure: if deg(q) = deg(p) + 1, the arc integral may not vanish. Jordan's lemma provides a workaround: for integrands of the form e^{iaz}·g(z) where g(z) → 0 uniformly as |z| → ∞ (a > 0), the arc integral still vanishes — enabling evaluation of Fourier-type integrals that the basic degree condition misses.
Understanding these three conditions is what separates mechanical pattern-matching from genuine command of the technique. When a new integral resists the standard approach, diagnosing which condition fails points directly to the appropriate fix: indented contour for real-axis poles, a different contour geometry for slow decay, or Jordan's lemma for oscillatory integrands.