Poles and residues. An isolated singularity is a pole of order if its Laurent series has finitely many negative powers, the lowest being a nonzero multiple of . The residue is the coefficient of .
If and , factor , where is holomorphic near and . For ,
The last quotient is holomorphic and nonzero at , proving a simple pole with
The given function. For noninteger , specify a branch of a multivalued function before using . Choose with , a cut along the negative imaginary axis. This leaves all three roots of off the cut. They are , and , all simple. The numerator is nonzero at these points. Since the denominator has derivative , the residues are
For noninteger , zero is a branch point, rather than an isolated pole. This remains true when and the numerator diverges there. For nonnegative integer it is a regular point. Other logarithm branches change the phases of the residues consistently.
Integral and convergence. Near zero the integrand behaves as , requiring . At infinity it behaves as , requiring . Therefore the exact convergence range is
Use a counterclockwise sector contour with rays at angles and , inner radius and outer radius . The same complex logarithm branch is valid throughout this sector. Only lies inside. The small circular arc contributes and the large one contributes , so both vanish precisely in the stated range.
The outward positive-real ray contributes . On the returning ray set : the denominator is still , while , with reversed limits. The residue theorem gives
Put . The right-hand phase is and . Hence
The sine is positive in this range, consistent with a positive real integral. This is a special case of the Mellin integral of a reciprocal binomial.
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.