Factor the cubic denominator as . Substitution givesThere 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 isand 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 isThe large inverse-transform arcs vanish: the rational factor is , while the exponential is bounded on the appropriate closure.
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.
Set . The unit circle is traversed counterclockwise once, , and . ThusThe function is regular at zero. Its only enclosed pole is from part (b), and its residue isBy the residue theorem, . ThereforeAs a sign and scale check, this is positive and behaves as for large , in agreement with expanding the integrand and integrating its first nonzero, , term.
For a positively oriented simple closed contour, the residue theorem states that the integral of a function holomorphic on and inside the contour except at finitely many isolated interior singularities is times the sum of its residues. There must be no singularity on the contour.
Factor the denominator as . For , the upper semicircle encloses the two simple polesThe other two poles are in the lower half-plane. Since ,Writing and using , , their numerator difference simplifies toThus for every the closed-contour integral isTo remove the arc, on we have and . For sufficiently large , the complex line integral estimate givesThe real-line integral is absolutely convergent. Its imaginary part is zero by oddness of . Therefore
For , put , so and the poles are . Closing in the upper half-plane for again includes both simple poles. The residue theorem givesThis overdamped response has no oscillation. Its slow tail is , and it tends to zero because .
For , close the inverse-transform contour in the upper half-plane. There ; the rational factor is , so the arc integral vanishes. For , write . The two simple poles are , and the residue theorem yieldsThis causal Green function of a damped oscillator has damped oscillations with envelope and tends to zero as .
For the simple-contour form of the residue theorem, let be a positively oriented, simple, closed, piecewise smooth contour. Assume is holomorphic on a neighbourhood of and its interior except at finitely many isolated singularities , all strictly inside , with none on . ThenThe more general version weights each residue by the contour's winding number, with the usual requirement that the contour be homologous to zero in the domain of analyticity containing it and the nonsingular region.
For the requested application, assume is holomorphic on a neighbourhood of the contour and its closed interior, and is strictly inside it. Its Taylor series showsOnly the second term contributes a residue. The residue theorem therefore proves the derivative form of the Cauchy integral formula:
Use , so and . The unit circle is traversed anticlockwise, and the integral becomesOnly the simple pole lies inside the contour. Its residue isHence the residue theorem gives
Close the real segment by an anticlockwise semicircle in the upper half-plane. For , the contour integral over the arc is : its length is , whereas and . The enclosed simple poles are and , with residuesLetting in the residue theorem yields
If is analytic on and inside a positively oriented simple closed contour except for finitely many isolated poles strictly inside it, then the residue theorem statesThere must be no singularity on the contour. More generally each residue is multiplied by the contour's winding number about its point.
Put , so . For the complex exponentiation , choose : the branch cut is the negative imaginary axis. Integrate around the upper half-plane semicircle, with a small semicircular indentation excluding the origin. The only enclosed simple pole is , with residueThe large arc is and the small arc is , so both vanish. On the negative real segment, ; accounting for the direction of traversal, the two real segments therefore sum to , where is the desired positive-axis integral. The residue theorem givesSince ,The endpoint estimates also prove convergence. More generally the same calculation is the fractional-power integral from an upper-half-plane contour, valid for .
Set . Then and , so the requested integral isThe denominator factors asFor , its two inner roots are , , and the other two roots have modulus . There is also a simple pole at zero. Their residues areThe latter values follow by differentiating the quadratic product, or from the supplied hint. The sum of the enclosed residues isThe residue theorem therefore givesAt the angles where the tangent is undefined, the original reciprocal has a removable zero limit. Its continuous extension gives the same integral; the transformed rational integrand has no pole on the unit circle.
For this real integral choose , so the upper bank of the positive real axis has . Use a counterclockwise keyhole contour with inner radius and outer radius , enclosing . The upper-bank contribution tends to . On the lower bank, , and the reversed orientation makes its contribution .
The large arc is because , while the small arc is . Both vanish, givingThe residues on this branch areThe residue theorem yieldsThereforeThe branch cut in (a) was arbitrary; here placing it on the integration axis makes the bank contributions directly proportional to the desired positive-real integral.
A simple pole at means that is holomorphic in a punctured neighbourhood and extends holomorphically to a nonzero value at . Equivalently its Laurent series begins with and has no higher negative powers. The residue isIn particular, if with , and , this becomes . The associated residue theorem isfor a positively oriented simple contour with no poles on it.
Use the counterclockwise rectangular contour with vertices . It encloses just the simple pole , whose residue is . Let . The identitymakes the top edge, traversed right to left, contribute . On either vertical edge,Thus the sum of the vertical integrals tends to zero, with absolute value at most . The residue theorem and now giveThe argument works for every fixed real , including zero and negative values, and gives the Fourier transform of the hyperbolic secant with the convention .
Let . For , integrate over the upper semicircle. Jordan's lemma removes the arc, and the residue theorem at givesTaking the real part and using evenness in both and yieldsThe case follows directly from an inverse tangent primitive. The complex exponential is essential on the contour: the cosine alone has a growing exponential component.
For , differentiation under the integral sign gives . This derivative is a conditionally convergent improper integral; the Dirichlet test makes its tails uniform on compact subintervals of , justifying the differentiation. Setting givesFinally let . Its differentiated integrand is absolutely integrable, so and . HenceIf , and diverge at the origin, whereas is the corresponding Dirichlet integral.
For fixed , integratecounterclockwise around the specified square of half-side , choosing . The integer poles inside it are , and their residues are because has residue one at each integer.
The two other possible poles are and . Their residues are each , hence sum to . This formula still applies when the numerator vanishes and a possible pole is removable. The residue theorem givesOn the square, , its perimeter is , and the supplied cotangent bound givesThe series converges absolutely by part (b), so its symmetric partial sums have the same limit as the full sum. ThereforeAt half-integers the cotangent form makes the value zero explicit; the reciprocal-tangent notation is understood by its continuous extension there. The cotangent contour summation rests on the contour estimate, not only on formally matching poles.
The residue is the coefficient of in the Laurent series at the isolated singularity. Equivalently it is times the integral around a sufficiently small counterclockwise circle enclosing .
The residue theorem states that if is holomorphic on a neighborhood of a positively oriented simple closed contour and its interior except for finitely many isolated singularities inside, thenNo singularity may lie on the integration contour. A more general contour weights each residue by its winding number.
For , integratealong the contour consisting of and the upper semicircle, with positive orientation of a contour and . Its enclosed simple poles are and , with residuesOn the upper semicircle, . The reverse triangle inequality gives and , so the estimation lemma givesThe integral along the real axis is absolutely convergent: the denominator stays nonzero on bounded real intervals, and the integrand is at infinity. The residue theorem therefore givesTake real parts. The real integrand is an even function, so
To include , fix and let . For , the absolute value of the integrand is bounded byan integrable function on . The dominated convergence theorem justifies passing the limit under the integral. If , then , andHence
Use the principal logarithm with , whose branch cut is the negative real axis. For this choice,has three simple poles away from the cut: , , and . The pole at , caused by , must be included.
Choose and , and use a positively oriented keyhole contour around the negative real axis: the large circle is traversed counterclockwise, the upper bank from to , the small circle clockwise, and the lower bank from to . Formally, use radial segments at arguments , then let with fixed. The function has continuous limiting values on each compact bank, which justifies this limit.
Put . The residues areThe first follows from ; the other two follow from the simple zeros of . Their sum isThese expressions are valid also for , since never vanish for real .
On the outer circle, for and . On the inner circle, and . Thus the estimation lemma bounds the two arc integrals byrespectively, as and .
On the upper bank, gives ; on the lower bank it gives . Accounting for the opposite orientations, their combined integral isThe real improper integral converges: its integrand is bounded near zero by and at infinity by . Taking the arc limits in the residue theorem gives , henceThe final subtraction is exactly the contribution of the pole at .

