Residues

Published

18 October 2026

WarningDraft

These notes are still being edited: the text may contain typos, inaccuracies, and places that have not been fully worked out locally. If you find something, please let the author know (contact info on the course page).

1 The integral over the boundary of a domain with singularities

Note

Figure in development. Will be recreated as an interactive figure (Plotly/Three.js).

Plan: TikZ: a contour/illustration for residues.

Source: courses/nedosh_courses/courses/01-analysis/CA/contents/specials/220/010_residue_contour_fig.tex

Let \(D \subset \mathbb {C}\) be a simply connected domain whose boundary \(\partial D =: \Gamma\) is a piecewise-smooth curve. Let \(f\) be holomorphic in

\[ D \setminus \left\{ z_1, z_2, \ldots , z_n\right\} \]

We need to find

\[ \oint _{\Gamma }f(z) dz \]

If there were no points \(z_{1}, z_{2}, \ldots\), the integral would be zero by Cauchy’s theorem. Let us inflate an open ball around each point \(z_{i}\) so that it lies entirely in \(D\) and does not intersect the other balls; denote it \(U(z_i)\). Denote its boundary \(\gamma_{i}\) (oriented counterclockwise, i.e. so that the residue point stays on the left as it is traversed). The function \(f\) is holomorphic in the domain \(D \setminus \bigsqcup_{i=1}^n U(z_i) =: \tilde{D}\). It is connected, but not simply connected, i.e. its boundary does not consist of a single curve:

\[ \partial \tilde{D} = \Gamma + (-\gamma _1) + \ldots + (-\gamma _n) \]

The minus sign denotes the clockwise orientation (so that the domain stays on the left as it is traversed). Cauchy’s integral theorem for this domain:

\[ 0 = \oint _{\partial \tilde{D}} f(z) dz = \oint _{\Gamma }f(z) dz - \sum _{i=1}^n \oint _{\gamma _i}f(z) dz \]

Hence,

\[ \oint _{\Gamma }f(z) dz = \sum _{i=1}^n \oint _{\gamma _i}f(z) dz \]

2 The residue at a finite point

Let \(z_0\) be an isolated singular point for \(f\), i.e. \(f\) is holomorphic in \(\dot{U}_{\varepsilon }(z_0)\). The residue of the function \(f\) at the point \(z_0\) is

\[ \mathop{\mathrm{res}}_{z = z_0}f(z) = \frac{1}{2\pi i} \oint _{\gamma _{\rho }}f(z) dz \]

where \(\gamma_{\rho } = \left\{ z \; : \; \left|z-z_0\right| = \rho \right\}\), \(0 < \rho < \varepsilon\), oriented counterclockwise. The integral:

\[ \oint _{\Gamma }f(z) dz = 2\pi i \sum _{i=1}^{n}\mathop{\mathrm{res}}_{z_i}f \]

2.1 Quick computation of the residue

If \(f\) is holomorphic in \(\dot{U}_{\varepsilon }(z_0)\), then it expands there into a Laurent series:

\[ f(z) = \sum _{n=-\infty }^{+\infty }c_n(z - z_0)^{n} \]

This series converges on every compact subset within the punctured neighborhood, so when integrating over the contour \(\gamma_{\rho }\), \(\rho < \varepsilon\), we may interchange integration and summation:

\[ \mathop{\mathrm{res}}_{z = z_0}f(z) = \frac{1}{2\pi i} \oint _{\gamma _{\rho }}f(z) dz = \frac{1}{2\pi i} \oint _{\gamma _{\rho }} \sum _{n=-\infty }^{+\infty }c_n(z - z_0)^{n} dz = \frac{1}{2\pi i} \sum _{n=-\infty }^{+\infty }c_n\oint _{\gamma _{\rho }}(z - z_0)^{n} dz \]

Further, recall that \(\oint_{\gamma_{\rho }}(z - z_0)^{n} dz = 2\pi i\) if \(n = -1\). In every other case this integral equals zero. In total,

\[ \mathop{\mathrm{res}}_{z = z_0}f(z) = \frac{1}{2\pi i} \cdot c_{-1} \cdot 2\pi i = c_{-1}, \]

i.e. the residue simply equals the coefficient of the Laurent series at the power \(-1\).

Computing residues

ExampleExample 1

Find the residue at the point \(z_0\) for the function \(f\):

  1. \(f(z) = \dfrac {e^{3z}}{(z-1)^2}\), \(z_0 = 1\);

  2. \(f(z) = z^3\cos \left(\frac{1}{z} - \frac{1}{z^2}\right)\), \(z_0 = 0\).

  3. \(f(z) = \dfrac {\operatorname {tg}z - z}{(1 - \cos z)^2}\), \(z_0 = 0\);

  4. \(f(z) = z \cos \dfrac {z}{z-2}\), \(z_0 = 2\)

  5. \(f(z) = \sin z \sin \frac{1}{z}\), \(z_0 = 0\);

SolutionSolution
Enum-item(1)

This is a pole of order \(2\) for \(f\). We have

\[ \bigg((z-1)^2f(z)\bigg)' = 3e^{3z} \]

The limit as \(z \to 1\): \(3e^{3}\).

Enum-item(2)

Let us expand \(f\) into a Laurent series in a punctured neighborhood of zero. Remember that we only care about the coefficient of \(\frac{1}{z}\). We have

\[ \begin{align} \cos \left(\frac{1}{z} - \frac{1}{z^2}\right) & = 1 - \frac{1}{2}\left(\frac{1}{z} - \frac{1}{z^2}\right)^2 + \frac{1}{4!}\left(\frac{1}{z} - \frac{1}{z^2}\right)^4 - \ldots = \\ & = 1 - \frac{1}{2}\frac{1}{z^2} + \frac{1}{z^3} - \underbrace{\left(\frac{1}{2} - \frac{1}{24}\right)}_{=11/24}\frac{1}{z^4} + \ldots \\ f(z) & = z^3 - \frac{1}{2}z + 1 - \frac{11}{24}\frac{1}{z} + \ldots \end{align} \]

Enum-item(3)

For the numerator, \(z_0 = 0\) is a zero of order \(3\); for the denominator, a zero of order \(4\). I.e. \(z_0 = 0\) is a pole of order \(1\) for \(f(z)\). Then

\[ \mathop{\mathrm{res}}_0 f(z) = \lim _{z \to 0}z \cdot f(z) = \frac{4}{3} \]

Enum-item(4)

This is an essential singularity. Let \(z-2 = w\),

\[ \begin{align} f(z) & = f(z(w)) = (2 + w)\cos \left(1 + 2\frac{1}{w}\right) = (2+w) \cdot \left(\cos (1)\cos \frac{2}{w} - \sin (1)\sin \frac{2}{w}\right) = \\ & = (2 +w) \left(\cos (1) \cdot \left(1 - \frac{2}{w^2} + \ldots \right) - \sin (1) \cdot \left(\frac{2}{w} - \frac{8}{6w^3} + \ldots \right)\right) = \\ & = \left(-4\sin (1) - 2\cos (1)\right)\frac{1}{w} + \ldots \end{align} \]

Enum-item(5)

\[ \sin z \sin \frac{1}{z} = \left(\sum _{n=0}^{\infty } \frac{(-1)^n}{(2n+1)!}z^{2n + 1}\right) \cdot \left(\sum _{m=0}^{\infty } \frac{(-1)^m}{(2m+1)!}\frac{1}{z^{2m + 1}}\right) = \ldots + 0 \cdot \frac{1}{z} + \ldots \]

(multiplying out gives only even powers \(z^{2(n-m)}\), so the coefficient of \(\frac{1}{z}\) is zero).

AnswerAnswer
Enum-item(1)

\(\mathop{\mathrm{res}}_1 \frac{e^{3z}}{(z-1)^2} = 3e^{3}\);

Enum-item(2)

\(\mathop{\mathrm{res}}_0 z^3\cos \left(\frac{1}{z} - \frac{1}{z^2}\right) = -\frac{11}{24}\).

Enum-item(3)

\(\frac{4}{3}\)

Enum-item(4)

\(-4\sin (1) - 2\cos (1)\)

Enum-item(5)

\(0\)

ExampleExample 2

\(f(z) = \dfrac {1}{\sin \pi z}\). Find the residues at all isolated singular points.

SolutionSolution

Singular points: \(z_k = k\), \(k \in \mathbb {Z}\), and also \(\infty\), though it is not isolated. At the points \(z_k\) the numerator is holomorphic and nonzero, while the denominator has a zero of order \(1\). Using the formula:

\[ \mathop{\mathrm{res}}_{z_k}f = \frac{1}{\sin '(\pi z)}\bigg|_{z = z_k} = \frac{1}{\pi \cos (\pi z_{k})} = \frac{1}{\pi \cos (\pi k)} = \frac{1}{\pi \cdot (-1)^k} \]

AnswerAnswer

\(\mathop{\mathrm{res}}_{k}\frac{1}{\sin \pi z} = \frac{(-1)^k}{\pi }\), \(k \in \mathbb {Z}\).

ProblemProblem 13.2

Find the residues of the following functions at all their finite singular points:

  1. \(\frac{\sin \pi z}{(z-1)^{3}}\);
ProblemProblem 13.3

Find \(\underset {z = a}{\mathop{\mathrm{res}}} f(z)\), if:

  1. \(f(z) = z^{2} \sin \frac{z}{z-1}, \quad a = 1\);

3 The residue at infinity

Let \(f\) be holomorphic in some punctured \(\varepsilon\)-neighborhood of infinity \(\dot{U}_{\varepsilon }(\infty ) = \left\{ z \; : \; \left|z\right| > \frac{1}{\varepsilon }\right\}\). Denote by \(\gamma_{1/\rho }\) the circle of radius \(\frac{1}{\rho }\), \(\frac{1}{\rho } > \frac{1}{\varepsilon }\). The residue at infinity is the integral over this curve (with coefficient \(\frac{1}{2\pi i}\)), where the curve is traversed clockwise:

\[ \mathop{\mathrm{res}}_{\infty }f(z) = \frac{1}{2\pi i} \oint ^{\curvearrowright }_{\gamma _{1/\rho }}f(z) dz \]

This is exactly the orientation needed because, when traversing the boundary, the residue point must stay on the left. If we traversed the circle \(\gamma_{1/\varepsilon }\) counterclockwise, zero would stay on the left instead.

Note

Figure in development. Will be recreated as an interactive figure (Plotly/Three.js).

Plan: TikZ: the orientation of the contour for the residue at infinity β€” the circle is traversed CLOCKWISE, with the shaded exterior (the side of infinity) staying on the left. Interactive: an orientation toggle with an animated point running along the contour and highlighting which region stays on the left; a slider for the radius of the circle.

Source: courses/nedosh_courses/courses/01-analysis/CA/contents/specials/220/020_residue_at_infinity_fig.tex

3.1 Quick computation of the residue

3.1.1 Reduction to the residue at zero

We use the substitution \(w = \frac{1}{z} = \frac{1}{\left|z\right|}e^{-i\operatorname {arg}z}\). Note that under this substitution the circle of radius \(\frac{1}{\rho }\) about zero maps to the circle of radius \(\rho\) about zero. Further, note that under this substitution the orientation of traversal reverses (the angle used to be \(\operatorname {arg}z\), and becomes \(-\operatorname {arg}z\)). Also note that if \(f(z)\) was holomorphic in \(\dot{U}_{\varepsilon }(\infty )\), then \(g(w) = f\left(\frac{1}{w}\right)\) will be holomorphic in \(\dot{U}_{\varepsilon }(0) = \left\{ z \; : \; 0 < \left|z\right| < \varepsilon \right\}\), with \(\rho < \varepsilon\). Then

\[ \oint ^{\curvearrowright }_{\gamma _{1/\rho }}f(z) dz = \oint _{\gamma _{\rho }}f\left(\frac{1}{w}\right) d\frac{1}{w} = -\oint _{\gamma _{\rho }}\frac{1}{w^2}f\left(\frac{1}{w}\right) dw \]

Consequently,

\[ \mathop{\mathrm{res}}_{\infty }f(z) = -\mathop{\mathrm{res}}_0\left(\frac{1}{w^2}f\left(\frac{1}{w}\right)\right) \]

3.1.2 Via the Laurent series

If \(f\) is holomorphic in \(\dot{U}_{\varepsilon }(\infty )\), then it expands there into a Laurent series:

\[ f(z) = \sum _{n=-\infty }^{+\infty }c_n\left(z^{-1}\right)^{n} \]

We may interchange integration and summation (for justification see above, for the finite point):

\[ \begin{align} \mathop{\mathrm{res}}_{\infty }f(z) & = \frac{1}{2\pi i} \oint ^{\curvearrowright }_{\gamma _{1/\rho }}f(z) dz = \frac{1}{2\pi i} \oint ^{\curvearrowright }_{\gamma _{1/\rho }} \sum _{n=-\infty }^{+\infty }c_nz^{-n} dz = \\ & = \frac{1}{2\pi i} \sum _{n=-\infty }^{+\infty }c_n \cdot \oint ^{\curvearrowright }_{\gamma _{1/\rho }}z^{-n} dz = \frac{1}{2\pi i} \sum _{n=-\infty }^{+\infty }c_n\cdot \left(-\oint _{\gamma _{1/\rho }}z^{-n} dz\right) = \\ & =-c_{1} \end{align} \]

i.e. the residue simply equals the coefficient of the Laurent series at \(\frac{1}{z} = \left(z^{-1}\right)^1\), taken with a minus sign. The minus sign appears because the circle is traversed clockwise in the definition.

3.1.3 General table

: Computing residues at infinity

Be careful when using the substitution \(w = \frac{1}{z}\): \[ \boxed {\mathop{\mathrm{res}}_{z = \infty } f(z) \neq \mathop{\mathrm{res}}_{w = 0}f\left(\frac{1}{w}\right)} \] In fact: \[ \boxed {\mathop{\mathrm{res}}_{z = \infty } f(z) = -\mathop{\mathrm{res}}_{w = 0}\frac{1}{w^2}f\left(\frac{1}{w}\right)} \]

ExampleExample 13.4

Find the residues of the following functions at infinity:

  1. \(\dfrac {z^{4}+1}{z^{6}-1}\);

  2. \(\dfrac {\cos^{2} \frac{\pi }{z}}{z+1}\);

  3. \(z \cos^{2} \frac{\pi }{z}\).

SolutionSolution

All equivalences and limits are written as \(z \to \infty\).

Enum-item1.

\[ f(z) = \frac{1 + \frac{1}{z^4}}{z^2 - \frac{1}{z^4}} \sim \frac{1}{z^2}. \]

Consequently,

\[ \mathop{\mathrm{res}}_{\infty }f(z) = 0 \]

Enum-item2.

We have \(\frac{\pi }{z} \to 0\), hence \(\cos^2\frac{\pi }{z} \to 1\) and

\[ \frac{\cos ^{2} \frac{\pi }{z}}{z+1} \sim \frac{1}{z} \]

as \(z \to \infty\). Hence the residue equals \(-1\).

Enum-item3.

Let us expand into a Laurent series (in a punctured neighborhood of infinity). Remember that we only care about the coefficient of \(\frac{1}{z}\):

\[ z\cos ^2\frac{\pi }{z} = \frac{z}{2}\left(1 + \cos \frac{2\pi }{z}\right) = \frac{z}{2} \left(1 + 1 - \frac{1}{2}\left(\frac{2\pi }{z}\right)^2 + \ldots \right) = -\pi ^2\cdot \frac{1}{z} + \ldots \]

Consequently, \(\mathop{\mathrm{res}}_{\infty }f(z) = \pi^2\).

AnswerAnswer
Enum-item1.

\(0\);

Enum-item2.

\(-1\);

Enum-item3.

\(\pi^{2}\).

ProblemProblem 13.4

Find the residues of the following functions at infinity:

  1. \(\dfrac {\sin \frac{1}{z}}{z-1}\);

  2. \(\dfrac {\left(z^{10}+1\right) \cos \frac{1}{z}}{\left(z^{5}+2\right)\left(z^{6}-1\right)}\);

4 Sum of residues

Let \(f\) be holomorphic in \(\mathbb {C} \setminus \left\{ a_1, \ldots , a_n\right\}\), i.e. in the entire complex plane except for finitely many points. Then, by Cauchy’s theorem, the sum of the residues at all points (including \(\infty\)) equals zero:

\[ \sum _{k=1}^n \mathop{\mathrm{res}}_{a_k} f + \mathop{\mathrm{res}}_{\infty }f = 0 \]

ExampleExample 4

\(f(z) = \dfrac {\sin \frac{1}{z}}{z-1}\). Find the residues at all isolated singular points.

SolutionSolution

Denote \(g(z) = \sin \frac{1}{z}\), \(h(z) = z-1\)

Singular points: \(1\), \(0\), \(\infty\), all isolated.

  • \(0\):

    \[ \begin{align} \sin \frac{1}{z} & = \frac{1}{z} - \frac{1}{3!}\frac{1}{z^3} + \frac{1}{5!}\frac{1}{z^5} - \ldots \\ \frac{1}{z-1} & = - \left(1 + z + z^2 + \ldots \right) \end{align} \]

    \(\mathop{\mathrm{res}}_0f(z) = -1 + \frac{1}{3!} - \frac{1}{5!} + \ldots = -\sin (1)\).

  • \(1\): this point is neither a zero nor a singularity for the numerator \(g\); for the denominator \(h\) it is a zero of order \(1\). By the formula:

    \[ \mathop{\mathrm{res}}_{1}f = \frac{g(z)}{h'(z)}\bigg|_{z = 1} = \frac{\sin (1)}{1} = \sin (1) \]

  • \(\infty\): \(\sin \frac{1}{z} \sim \frac{1}{z}\) as \(z \to \infty\), hence

    \[ f(z) =\sin \frac{1}{z} \cdot \frac{1}{z - 1} \sim \frac{1}{z^2} \]

    as \(z \to \infty\). Hence, \(\mathop{\mathrm{res}}_{\infty }f(z) = 0\).

Check. \(f\) is holomorphic in \(\mathbb {C} \setminus \left\{ 1,0\right\}\). Hence the sum of the residues at all finite points and at infinity must be zero. This indeed holds.

Note that, hypothetically, one could have used this fact to find the residue at \(\infty\) directly, as the sum of the residues at the finite points multiplied by \(-1\).

ExampleExample (Problem 13.5)

Find the residues of the following functions at all their singular points and at infinity:

  1. \(\dfrac {\sin z}{\left(z^{2}+1\right)^{2}}\).
SolutionSolution
Enum-item1.

We have

\[ f(z) = \frac{\sin z}{\left(z^{2}+1\right)^{2}} = \frac{\sin z}{\left(z + i\right)^{2}\cdot \left(z - i\right)^2} \]

Isolated singular points: \(i\), \(-i\), \(\infty\).

  • \(i\): this is a pole of order \(2\) for \(f\). Then

    \[ \begin{align} \mathop{\mathrm{res}}_{i}f & = \lim _{z \to i}\left((z-i)^2f(z)\right)' = \lim _{z \to i}\left(\frac{\cos z}{(z+i)^2} - 2\frac{\sin z}{(z+i)^3}\right) = \frac{\cos (i)}{-4} - 2\frac{\sin (i)}{-8i} = \\ & = -\frac{e^{i^2} + e^{-i^2}}{8} + \frac{e^{i^2}- e^{-i^2}}{8i^2} = - \frac{e^{-1}}{4} = -\frac{1}{4e} \end{align} \]

  • \(-i\): analogously to the method above, we obtain \(\mathop{\mathrm{res}}_{-i}f = -\frac{1}{4e}\).

  • \(\infty\): the sum of the residues at the finite points equals \(-\frac{1}{2e}\), hence \(\mathop{\mathrm{res}}_{\infty }f = \frac{1}{2e}\).

AnswerAnswer
Enum-item1.

\(-\frac{1}{4 e}\) at \(z = i ;-\frac{1}{4 e}\) at \(z = -i ; \frac{1}{2 e}\) at \(z = \infty\);

ProblemProblem 13.5

Find the residues of the following functions at all their singular points and at infinity:

  1. \(\dfrac {1+z^{8}}{z^{6}(z+2)}\);