For , the zero residue contributes zero. Multiplication by any nonzero permutes the nonzero residues, so the sum satisfies in . If , choose a primitive root ; then , forcing . If , every nonzero term equals one, so in the field.
The printed display also mentions , although its introductory assumption is . For that extra case the sum of the integer values for is , so that branch is consistent too. The result is
Each nonzero quadratic residue is attained twice as for . Therefore twice the sum of those residues is , which is zero modulo by (ii), since . As two is invertible modulo , the sum of the residues is zero. The sum of all nonzero residues is , so subtracting gives the same result for the nonresidues. Hence .
The circle theorem says that if a complex potential has no singularities on or inside (and has the required analytic continuation there), then
adds image singularities inside the circle and makes it a streamline. On the circle , so is real and its imaginary part is constant. This gives zero normal velocity. The reflected term is holomorphic where defined, as follows from its power series in , and its singularities are precisely the reflected ones; the external original singularities are retained. This proves the construction, with an additive constant and any independently prescribed circulation handled separately.
For the fluid vortex use . Reflecting gives an opposite image at and also a term , up to constants. The zero-circulation circle-theorem construction has both these terms. To impose the specified circulation about the obstacle, add , canceling the central term. Thus
It has the stated circulation and the same impermeable boundary, since the added central-fluid vortex streamfunction is constant on the circle.
For the given Blasius integral take the obstacle contour counterclockwise. Inside it the sole singularity of
is at . Its residue is , from the cross term. The residue theorem then gives
Therefore . The force on the obstacle points toward the external fluid vortex.
Expanding the exponential function produces the Laurent series
In particular its residue is .
If , then and its residue at zero is . The circle encloses zero and no other finite singularity. Thus the residue theorem gives
for positive orientation.
Put , so , and . The contour integral is
The enclosed poles are and . For the rational function displayed without the prefactor , the residue at zero is and the two other residues sum to . Therefore the residue theorem gives
A useful independent check is the Fourier series ; only its constant and third Fourier coefficients survive.
Assume positive, counterclockwise orientation of a contour. Factor the polynomial denominator as
Only lie inside the unit circle. These are simple poles. Writing the denominator as , their residues are
The residue theorem therefore gives
Reversing orientation of a contour changes the sign.
Let be holomorphic on a neighbourhood of a positively oriented, piecewise smooth simple closed curve and its interior except at finitely many isolated singularities strictly inside. The residue theorem states
The residue is the coefficient of in the local Laurent series. No singularity may lie on the contour. For more general closed contours, each residue is multiplied by the corresponding winding number.
The poles are the four roots of . The upper half-plane contains and , both enclosed when . At a simple pole ,
The sum of the two residues is
The residue theorem, with the real segment traversed from to and the upper arc from to , yields
Singularities and cuts. There are four simple poles , , because the roots of are simple and do not coincide with . At , the local behavior is a nonzero constant times : these are square-root branch points. Infinity is not a branch point; on either branch , so it extends there with a zero of order five. Three valid choices of branch cuts are the segment , the two rays joined through infinity, or a semicircular arc joining to and avoiding the poles. A circuit about either endpoint changes the sign, while a circuit about both endpoints does not.
Branch and residues. On , let be the branch with at infinity, and define . Its upper boundary value on is positive. The residue at a simple pole is
For fully explicit values, put
In counterclockwise order , the values of are . Since , substitution yields
A branch point has no ordinary residue, since it has no single-valued Laurent series on a punctured neighborhood. At infinity the residue is zero.
Contour evaluation. The original contour goes counterclockwise around a large circle and clockwise round the slit, with its upper lip directed to the right. The large-circle contribution is . Small endpoint arcs contribute . The artificial slit extension from to has equal boundary values on both sides, so its contributions cancel. On the two boundary values of are opposite. Thus, with denoting the requested real integral, the residue theorem gives
Therefore
If , then and its residue at zero is . The circle encloses zero and no other finite singularity. Thus the residue theorem gives
for positive orientation.
Put , so , and . The contour integral is
The enclosed poles are and . For the rational function displayed without the prefactor , the residue at zero is and the two other residues sum to . Therefore the residue theorem gives
A useful independent check is the Fourier series ; only its constant and third Fourier coefficients survive.
For , close the real-axis contour in the upper half-plane: supplies decay. The only enclosed simple pole is , with residue . Thus .
For , close downwards. The clockwise orientation contributes times the residue at , giving
At , direct integration of gives , consistent with the continuous extension. The large arc tends to zero by Jordan's lemma for nonzero , or the denominator estimate when .
Let denote the requested integral. Symmetry and the period of make the corresponding integral over equal to . With , this becomes
The denominator factors as . The two poles inside the unit circle are . Each residue is , because the derivative of the polynomial denominator there is . The residue theorem gives , so
The simple poles occur at , , since the derivative of the sine there is . Thus
There is also a double pole at zero, not included in that list because . Its residue, needed for the next contour calculation, is the derivative of at zero, namely .
On the square, . The identity bounds the sine away from zero on the vertical sides because ; on horizontal sides it grows exponentially. Therefore the whole contour integral is or smaller and vanishes. The residue theorem then gives
which proves . Absolute convergence justifies the limiting residue sum.
Set . The integral becomes
The roots are , only lying inside. The derivative of the quadratic at is two, so the residue is . Consequently . The denominator is positive since , so no principal-value qualification is required.
Cauchy's theorem says that a holomorphic function integrates to zero around a closed contour homologous to zero in its domain. Thus deforming one contour into another without crossing a singularity preserves the integral. More generally for a meromorphic , the exact condition is
Equal winding numbers about every singularity are sufficient. They are not necessary for one particular function because residues can cancel; even arbitrary contours have equal integrals for . A topological deformation criterion must not be confused with a necessary condition for accidental equality.
The large circle contributes and the small circle contributes , so both disappear. The enclosed simple poles are and , with logarithms and . Their residues are and . The positive orientation of the keyhole therefore gives
The upper bank runs outward and the lower bank inward. Their logarithms differ by ; keeping that orientation is essential for the sign.