A pole of order at has extending holomorphically to a nonzero value there. Its residue is the coefficient of in the Laurent series. The Cauchy integral theorem gives for a closed contour in a simply connected domain of holomorphicity. The residue theorem replaces zero by times the enclosed residues for a positively oriented simple contour avoiding finitely many poles.
For the first integral, use the upper-half-plane semicircle, with a small clockwise upper semicircle excluding the origin. Near zero,
There are no poles inside the indented contour. The large arc vanishes because and the integrand there is ; the small arc tends to . Therefore the real-axis complex principal value is . Taking real parts gives the ordinary convergent cosine-difference inverse-square integral
The real numerator cancels to second order at zero, so this final real integral itself needs no principal-value convention.
For , the simple poles are , . Differentiating the denominator gives
Integrate around the rectangle with vertices . It contains only . On the top side , and reversed traversal therefore contributes times the bottom integral. The vertical sides vanish for . The residue theorem gives , so the exponential moment of the hyperbolic secant is
Figure 1.
Indented semicircle and height-one rectangle for the two real integrals
. Original contour diagrams. The left contour excludes the origin with a clockwise indentation; the right encloses only the pole . Other hyperbolic-secant poles are shown outside the rectangle. Details.
For a pole of order at , the residue is . For the rational integral, close the real-axis contour with an upper semicircle. The poles are double at and simple at , with
The arc integral vanishes as . By the residue theorem the whole real-axis integral is , and evenness gives
For the second calculation, reciprocal expansion of the sine gives . Multiplying by yields . Therefore
At every nonzero integer , has a simple pole with residue one, giving residue after division by .
The cotangent contour summation uses the positively oriented square of half-side . Its length is and on its boundary. The supplied cotangent bound implies . Its enclosed residues sum to . The residue theorem therefore proves the Basel problem value
Figure 1.
Upper-half-plane and square contours for the rational integral and the Basel sum
. Original contour diagrams. Both are counterclockwise. The upper semicircle encloses poles at and ; the example square has half-side , enclosing the integer poles from to . Details.
The residue theorem states that the contour integral of a meromorphic function around a positively oriented simple closed contour equals times the sum of its enclosed residues, provided there are no singularities on the contour. The roots of are , . They are simple poles, with residues .
Use the sector contour of angle , running outward along the positive axis and inward along the rotated ray. It encloses only . The large-arc contribution is , hence vanishes. With , the two ray contributions give
Since ,
For the second integral, use on a branch continuous across the sector away from zero, with a small inner arc of radius . Its large arc is and its small arc is , both vanishing for . On the rotated ray, changes by , so the two radial contributions add rather than subtract. The enclosed residue is . Consequently
Both answers are instances of the Mellin integral of a reciprocal binomial. The direct contour argument also tracks the branch needed when is odd.
Figure 1.
A sector encloses exactly one root of the denominator
. An original illustrative contour for , with outward and inward rays, an outer arc, and the inner indentation needed for a fractional power. Only the root at angle is enclosed. Details.
For a simple pole, the residue is , the coefficient of its Laurent series. On an anticlockwise circle , integration of each Laurent term is zero except , whose integral is . This proves the stated single-pole residue theorem.
For , the only pole inside the rectangle of height is , with residue . The residue theorem therefore gives . The upper edge is traversed from right to left and satisfies , so the two horizontal contributions sum to .
On the right edge the modulus is bounded by , and on the left by . Multiplying by the fixed edge length shows that both contributions tend to zero because . Thus
Using yields
This rectangular contour for an exponential beta integral also gives the ordinary beta integral after the substitution .
Use . Jordan's lemma says that for , if a function has maximum modulus on upper semicircles, then ; a bound is . For use lower semicircles instead. The rational factors here meet this decay condition, so the residue theorem evaluates their inverse transforms.
For , only the upper half-plane contains a pole, at . Its residue after multiplication by is . The lower contour encloses no pole. Therefore
Here is the Heaviside step function, with midpoint value for symmetric Fourier inversion.
For , the upper-pole residue is when , while the clockwise lower contour gives the matching expression for . Thus
The final rational factor has double poles at . At the upper pole,
The upper inverse integral is times that residue. The lower contour for negative supplies , and the value at zero is zero. Consequently
Put and . The denominator of the complex rational function becomes
The quadratic formula gives its two zeros, hence the two poles:
Their product is , so . To locate them one also needs to exclude the possibility of both lying on the unit circle. Here their moduli are explicit:
Both are simple poles: takes the nonzero values and at them. In particular their residues are and .
For the real integral, use the change of variables . As runs from to , this traverses the unit circle once counterclockwise, and
Thus . Only is enclosed. The residue theorem, or Cauchy integral formula after subtracting its simple-pole part, gives
The real denominator is positive because . As an independent check, write ; a period shift reduces the answer to the existing reciprocal affine sine integral.
For a positively oriented simple closed contour , with no pole on and with holomorphic inside except at finitely many poles, the residue theorem states
For a more general closed contour, each residue is multiplied by its winding number about the pole.
The powers must be defined using the same branch of the complex logarithm as the numerator. A branch suitable for both requested calculations is
The branch cut is a ray just below the positive real axis, and . Since , the displayed choice of is possible. It includes the required upper half-plane and the sector used below. The origin remains an excluded branch point.
In , all zeros of are
Each is a simple pole, since . Its residue is
The strict inequality matters if a root lies on the negative real axis, which is outside the specified region.
To evaluate the two improper integrals, write them as for the logarithmic numerator and for numerator one, and set , . Use a counterclockwise annular sector with and . It encloses precisely . The outward positive-axis segment contributes in the limit. On the inward segment , the logarithm is and , so that segment contributes .
The small arc is , and the large arc is ; both vanish. These estimates follow from the arc lengths and . The real integrals also converge absolutely at both endpoints for . The residue theorem now gives
After division by , the real and imaginary parts are
Since , . Hence the logarithmic beta integral from a sector contour yields
For the sector angle exceeds . This is why choosing the principal complex logarithm on the whole sector would be invalid; the displaced cut above handles that range as well as .
First prove the convolution theorem with the stated negative-exponential Fourier transform. Assuming absolute integrability sufficient for Fubini's theorem, change variables :
For the differential equation, integration by parts gives
The boundary terms vanish by the assumed decay of . As with the convolution step, the transforms can first be justified for integrable functions and derivatives; the resulting kernel gives the desired decaying response. Thus
The convolution theorem and Fourier inversion theorem imply .
For the inverse transform of , use
The poles are at . For , close the inverse-transform contour above; the residues of there are and . The inverse-transform factor makes the answer times their sum. For , close below, enclosing no poles. The large arcs vanish: the complete rational factor is and the exponential is bounded on the appropriate semicircle. Therefore the causal Green function of an overdamped oscillator is
It is continuous, with and , so . The response can also be written .
For the bilateral exponential forcing, split the real integral at zero:
Consequently
For negative time the lower half-plane contains only . The residue of there is . Clockwise closure makes the inverse transform times that residue. For positive time the three upper residues, at respectively, are
Multiplication of their sum by gives the bilateral exponential forcing of an overdamped oscillator:
Both expressions have . This verifies the matching that prevents an extra Dirac delta function at zero. Direct substitution gives the forcing on either side, and all terms decay at their corresponding infinities. A causal Green function does not imply zero response before when the forcing has already been acting at negative times. The assumptions avoid repeated poles; their limiting cases would contain polynomial times exponential terms.
For , use . The interval traverses once counterclockwise, , and . Thus
Put . The two simple poles are
Their moduli are and , so exactly is enclosed, for either sign of . Its residue is
The residue theorem yields
This also follows from the reciprocal affine sine integral after an angular shift. At , the original integral is directly , agreeing with the boxed formula. The displayed two-pole formulas require : at zero the contour integrand reduces to with a single pole. Thus the source's claim of two simple poles has this removable special-case exception.
The integrand has simple poles at and . Only the first is inside the upper contour, and its residue is
The residue theorem therefore gives, for every ,
On the upper semicircle, and . The estimation lemma bounds the arc contribution by . Hence the real-axis integral has the same limit, and taking its real part gives
The imaginary part vanishes independently because is odd. The real integral converges absolutely, since the denominator grows quadratically.
The only possible singularity of inside the contour is at , with residue . It is at most a simple pole; when , it is removable. Thus the residue theorem gives the Cauchy integral formula,
for a counterclockwise simple contour containing once, with analytic on a neighbourhood of the contour and its interior. More generally the answer is , where the winding number accounts for multiple turns or reversed orientation. A clockwise simple contour has the opposite sign.
Use the principal branch of the complex logarithm for . Its branch cut is the ray , , lying below the real axis. Thus it is analytic in the upper half-plane, where the only pole of the integrand is .
Close the real interval by a large upper semicircle. The estimation lemma bounds the arc integral by , so it vanishes. The simple-pole residue is
The residue theorem then gives
For real , . Taking real parts and then using evenness of the real integrand yields
Both endpoints converge: the integrand is near zero and at infinity. This also agrees with the logarithmic parameter integral with Cauchy weight at parameter one.
Put . The two roots are
Since , their moduli are and . Thus exactly one root is inside the unit circle, and neither lies on it.
For the real integral use , so and . The change of variables gives
The contour is counterclockwise. At its single interior simple pole, the residue is
By the residue theorem, the reciprocal affine sine integral is therefore
The condition also makes the real denominator strictly positive, consistent with the positive answer and the absence of contour poles on the unit circle.
Close the interval with an upper semicircle, traversed counterclockwise. On its large arc,
so the estimation lemma bounds the arc integral by . The enclosed residues are those at and , whose sum is . The residue theorem therefore gives
The positive sign agrees with the nonnegative real integrand.
The denominator vanishes at the four roots of , namely for . They are simple poles, since is nonzero at each root and the numerator does not vanish there. The simple-pole residue formula gives
Explicitly,
There are no branch points or other finite singularities. At infinity the function is , so infinity is removable rather than a pole.
Let be meromorphic on and inside a positively oriented simple closed contour , with finitely many isolated poles inside and none on . The residue theorem states
The positive orientation is counterclockwise. A clockwise contour reverses the sign, and the residue is the coefficient of in the local Laurent series.
Substitution gives
The inverse Fourier transform is . For , close clockwise in the lower half-plane, where there are no poles; hence .
For , close counterclockwise in the upper half-plane. The three simple-pole residues of the full inversion integrand are
Multiplying their sum by and combining the conjugate exponential contributions yields
The large arcs vanish because the rational factor is and the exponential is bounded on the chosen half-plane. At zero, the right-hand value and first derivative are both zero, matching the negative-time branch, so no unwanted delta or delta derivative appears in the second-order equation.
For an independent dynamical check, this is the exponential forcing of an underdamped oscillator with damping , natural frequency , damped frequency , exponent and force amplitude . For positive time its substitution gives .
Use the branch from part (i) and close the real-axis path with a large upper semicircle, indenting clockwise around and . On the segment between them, take the upper-bank value of the branch cut. This is an instance of square-root endpoint integrals by an upper-half-plane contour.
Figure 1.
Upper-half-plane contour, clockwise endpoint indentations, and the two enclosed poles; indentation sizes are exaggerated
. Details.
The contributions can be controlled separately. Since , the large arc contributes . Near either branch point, , so an arc of length contributes . On the upper bank of ,
which is odd in , so its integral is zero. On the exterior real intervals , while the rational numerator is odd. Hence and the two exterior contributions sum to .
The enclosed residues use and :
The residue theorem gives . Therefore
As an independent check, converts the integral to
which yields the same value. This check also confirms the branch signs and the factor of two in the contour argument.
The inverse Fourier transform is
For , close in the upper half-plane, where decays. The single enclosed pole has residue , so counterclockwise integration gives . For , close clockwise in the lower half-plane; there is no enclosed pole and the result is zero. Thus
Here is the Heaviside step function. At the jump, symmetric Fourier inversion gives , the average of the one-sided limits. The transform itself cannot fix a function’s value at a single point, so this is the conventional representative rather than extra frequency information.
A direct check is . Distributionally, .
Factor the cubic denominator as . Substitution gives
There is a double pole at and simple poles at . For , close the inverse-transform contour counterclockwise in the upper half-plane. The residue at the double pole is
and the residue at is . Multiplication by from the residue theorem therefore gives .
For , the clockwise lower closure encloses only , with residue . The orientation supplies , giving . Hence the continuous solution is
The large inverse-transform arcs vanish: the rational factor is , while the exponential is bounded on the appropriate closure.
Figure 1.
The two-sided decaying Fourier solution; it and its first derivative are continuous at zero
. Details.
The graph tends to zero from below as , passes through with slope , reaches a small negative minimum after zero, then crosses the axis, reaches a positive maximum and tends to zero from above. The positive-time stationary points solve , and the crossing solves ; these equations determine the sketch without guessing signs.
For a distributional check, and are continuous, while . The jump conditions for a third-order Green function therefore produce the delta in , and each smooth branch satisfies the remaining equation. The nonzero solution for is consistent with the stipulated decay at both temporal infinities. Those are two-sided conditions, not a causality assumption: this is the setting of a decaying two-sided Green function of a constant-coefficient ordinary differential equation and causality versus stability of a Green function.