How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
The Residue Theorem and the Evaluation of Real Integrals — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Analyticity of Holomorphic Functions; Liouville and Morera
- Arc Length and Rectifiable Curves
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Variation and the Riemann–Stieltjes Integral
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Differentiability and the Cauchy–Riemann Equations
- Complex Power Series and Analytic Functions
- Connectedness
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Contour Integration
- Convexity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Determinants of Matrices over a Commutative Ring
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Function Space Topologies and the Exponential Law
- Fundamental Trigonometric Identities
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Goursat's Theorem and Cauchy's Theorem in a Convex Domain
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Isolated Singularities and Laurent Series
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Line Integrals and the Gradient Theorem
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Partitions of Unity and Paracompactness
- pi: the Equivalent Characterizations
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Subspaces, Products, and Quotients
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Fundamental Theorems of Calculus
- The Identity Theorem, the Maximum Principle and the Open Mapping Theorem
- The Inverse and Implicit Function Theorems
- The Logarithm and General Powers
- The Residue Theorem and the Evaluation of Real Integrals
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The Winding Number and the Global Cauchy Theorem
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
The integral of 1 / (1 + x^2) over the real line is pi
Example
Facts & Assumptions
Given: The rational function .
A rational function with no real poles and a two-degree denominator gap is evaluated by the residues of its upper-half-plane poles (Rational improper integrals without real poles are upper-half-plane residue sums).
Verification
The only pole of in the upper half-plane is , and it is simple with
Applying [L1] gives
The integral of 1 / (1 + x^4) over the real line is pi over sqrt(2)
Example
Facts & Assumptions
Given: The rational function .
The rational residue theorem evaluates the real integral by the upper-half-plane residues (Rational improper integrals without real poles are upper-half-plane residue sums).
Verification
The poles of in the upper half-plane are and , and they are simple. Since ,
Their sum is
Therefore [L1] gives
The integral of cos x / (1 + x^2) over the real line is pi / e
Example
Facts & Assumptions
Given: The rational function .
For , the Fourier integral of is the residue sum of in the upper half-plane (Rational Fourier integrals are evaluated by residues and Jordan's lemma).
Verification
Apply [L1] with . The only upper-half-plane pole is , and
Hence The value is real, so taking real parts yields
The whole-line principal value of sin x / x is pi, so the half-line integral is pi / 2
Example
The principal value identity
implies the classical half-line formula
Facts & Assumptions
Given: The rational function with an upper indentation at the origin.
The residue theorem applies to the upper semicircle contour with a small upper indentation at the simple pole (The residue theorem for a null-homologous cycle, Standard semicircle, rectangle, keyhole, indentation, and sector contours).
The upper indentation contributes times the residue (An indented arc around a simple singularity contributes the expected residue fraction).
Principal value on the whole line is the symmetric truncation from Cauchy principal values at a finite singularity and on the real line.
A twice-differentiable function with nonnegative second derivative is convex (A twice-differentiable function on an open interval is convex if and only if its second derivative is nonnegative).
Verification
On the upper semicircle one has . Convexity of on gives there, and symmetry gives the corresponding bound on the other half. Hence so the outer arc tends to .
Apply [L1] to the upper contour of radius with an upper indentation of radius at . The contour encloses no pole, while the residue of at is . Therefore the sum of the two punctured straight integrals, the indentation, and the outer arc is . Letting in this coupled symmetric truncation, then , [L2] and step 1.1 give
The imaginary integrand has the removable value at and is locally integrable on the real line, so the imaginary part of step 2.1 is exactly the whole-line principal value in [L3]. Hence Since is even, the symmetric principal value is twice the half-line integral, so .
The integral of 1 / (a + cos theta) over [0, 2 pi]
Example
For a real parameter with , In particular, for the value is .
Facts & Assumptions
Given: A real number with .
The unit-circle substitution converts the trigonometric integral into a contour integral on (Trigonometric integrals become contour integrals by the unit-circle substitution).
Verification
By [L1], The quadratic factors as
Since , exactly one root lies inside the unit circle. It is . The residue there is Therefore
The integral of x^(alpha-1) / (1 + x) over (0, infinity) is pi / sin(pi alpha)
Example
For ,
Facts & Assumptions
Given: The keyhole integrand with .
If the rational factor has no pole on , the Mellin integral converges, and the inner and outer keyhole circles vanish, then for the branch with (Keyhole contours evaluate Mellin-type rational integrals).
Verification
The factor has no pole on . Since , the absolute value of the real integrand is near and at infinity, so the improper integral converges. On the inner keyhole circle the arc integral is , and on the outer circle it is ; both tend to . Thus every hypothesis of [L1] holds.
The only pole away from the positive real axis is the simple pole at . On the chosen branch, , so .
Applying [L1] using step 1.1 and substituting the residue from step 1.2 gives Since , division yields .
A rectangle contour evaluates the Gaussian cosine integral
Example
For every real ,
Facts & Assumptions
Given: A real number and the entire function .
An entire function has zero integral on every rectangle contour (The residue theorem for a null-homologous cycle).
The Gaussian integral is (The Gaussian integral ).
Verification
Integrate around the rectangle with vertices [given, L1] . Since is entire, makes the total integral . The vertical sides vanish as because and therefore decays like there.
The top horizontal side is traversed from to and therefore contributes Hence step 1.1 gives
Letting and using [L2] yields Taking real parts and then using the evenness of gives the half-line formula.
The residue theorem gives the Basel sum
Example
The residue computation of The Basel sum is pi squared over six by a residue computation gives
Facts & Assumptions
Given: The bilateral residue identity from The Basel sum is pi squared over six by a residue computation.
Verification
The corollary already proves that
Dividing by yields the usual one-sided Basel sum
The sine integral converges conditionally but not absolutely
Statement refuted
Refuted claim: if converges, then must also converge.
Facts & Assumptions
Given: The function on .
Dirichlet's test makes converge (Dirichlet's test for improper integrals).
A uniform positive amount of absolute mass on infinitely many disjoint tails forces divergence of the absolute integral (Uniform oscillatory tail mass forces failure of absolute convergence).
Counterexample
By, the oscillatory integral of converges on , [L1] so the half-line sine integral is conditionally convergent.
On each interval [L2, algebra] one has , while . Therefore The lower bounds have divergent harmonic sum, so implies .
Thus gives a convergent improper integral whose absolute-value integral diverges.
The function 1 / z makes the large-semicircle shortcut fail
Statement refuted
Refuted claim: the pointwise decay of along larger and larger upper semicircles is enough to force the arc integral to vanish.
Facts & Assumptions
Given: The function and the upper semicircles .
Counterexample
On the upper semicircle one has
So the arc integral is constant, not vanishing, even though is pointwise on the arc. This is the concrete witness behind FALSE: pointwise decay alone makes every large semicircle integral vanish.
Treating a double pole as simple gives the wrong answer
Statement refuted
Refuted claim: the simple-pole residue rule can be used unchanged at a pole of order two.
Facts & Assumptions
Given: The function .
A simple pole has residue (At a simple pole the residue is the limit of (z-a)f(z)).
A pole of order has residue (Residue formula for a pole of order m).
Counterexample
The point is a pole of order of , and [L2] gives the correct residue
If one incorrectly applies the simple-pole rule from [L1], one obtains which does not exist as a finite complex number. So the simple-pole rule does not recover the residue at a double pole.
Sources
- R. Howell and J. Mathews, Complex Analysis, Ch. 8 §8.3
- E. Stein and R. Shakarchi, Complex Analysis, Ch. 3 §2.1
- R. Howell and J. Mathews, Complex Analysis, Ch. 8 §8.5
- R. Howell and J. Mathews, Complex Analysis, Ch. 8 §8.2
- R. Howell and J. Mathews, Complex Analysis, Ch. 8 §8.6
- L. V. Ahlfors, Complex Analysis, 3rd ed., Ch. 4 §5.3
- W. F. Trench, Introduction to Real Analysis, Section 3.4
- Jeremy Orloff, MIT 18.04 Topic 7: Taylor and Laurent Series