Shrink the positive outer contour to the branch cut . On its upper bank the chosen branch of a multivalued function has and on the lower bank it has the negative of this value. The upper bank runs from to , and the lower bank runs from to . The endpoint circles contribute and vanish. Hence
The change of variables independently reduces the result to the integral of over .
Choose a continuous branch of a multivalued function of the complex logarithm on a simply connected region avoiding zero. Then
Alternatively and , verifying the Cauchy-Riemann equations. The holomorphy is local to a chosen branch of a multivalued function: increasing by multiplies by , so this is not a single-valued holomorphic function on the whole punctured plane.
Use the branch cut and the branch of a multivalued function normalized by . The Laurent series from the preceding solution has coefficient . Consequently every sufficiently large positively oriented circle gives
Although grows cubically, its other Laurent series terms have zero contour integral. Choosing the opposite branch of a multivalued function reverses the sign; neither the branch of a multivalued function nor the orientation can be omitted from the answer.
Shrink the positive outer contour to the branch cut . On its upper bank the chosen branch of a multivalued function has and on the lower bank it has the negative of this value. The upper bank runs from to , and the lower bank runs from to . The endpoint circles contribute and vanish. Hence
The change of variables independently reduces the result to the integral of over .