JustToThePoint English Website Version
JustToThePoint en español

Calculating Residues of Complex Functions

If you hear a voice within you say ‘you cannot paint’, then by all means paint and that voice will be silenced, Vincent van Gogh

image info

Recall

Laurent’s theorem. Let A = {$z \in \mathbb{C}: R \lt |z -a| \lt S$} be an annular region ($0 \le R \lt S \le \infty$) and let f be analytic on A. Then, f(z) admits a Laurent series expansion: $f(z) = \sum_{n=-\infty}^\infty c_n(z -a)^n, \forall z \in A$ where coefficients are computed via contour integration over a circle $\gamma, c_n = \frac{1}{2\pi i}\int_{\gamma} \frac{f(w)}{(w-a)^{n+1}}dw$ and $\gamma$ is a positively oriented circle of radius r centered at a and R < r < S ($\gamma$ is inside the annular region).

Corollary (aka Rosetta Stone of Complex Analysis). Let f be analytic in $\mathbb{B'}(a; r)$. (i) f has a removable singularity at a if and only if in the Laurent's series expansion of f around a ($\sum_{n = -\infty}^\infty (z-a)^n$) all negative coefficients are zero $c_n = 0, \forall n \lt 0$. (ii) f has a pole of order m ($m \ge 1$) at a if and only if the series stop at the negative power -m, $c_{-m} \ne 0, c_n = 0, \forall n \lt -m$; (iii) f has an isolated essential singularity at a if and only if the series has infinitely many negative terms (it never stops), i.e., there is no m such that $c_n = 0, \forall n \lt -m$

The Argument Principle. Suppose f is meromorphic on and inside a simple closed curve $\gamma$ with a finite number of zeroes $a_j, 1 \le j \le l_1$ and poles $b_k, 1 \le k \le l_2$. Suppose none of those zeros and poles lie on $\gamma$. Then, $\frac{1}{2\pi i}\int_{\gamma}\frac{f'(z)}{f(z)}dz = M - N$ where M is the sum of order of zeroes at $a_j, 1 \le j \le l_1$ and N is the sum of order of poles at $b_k, 1 \le k \le l_2$

Rational Function with Multiple Poles

1. Identify the Singularities

First, we look at the denominator of $f(z) = \frac{z^2-2z}{(z+1)^2(z^2+4)}$:

  1. $(z+1)^2 = 0$: This gives $z = -1$. Since the factor is squared, this is a pole of order 2.
  2. $(z^2+4) = 0$: This factors into $(z-2i)(z+2i) = 0$. This gives two simple poles at $z = 2i$ and $z = -2i$.

2. Residue at the double pole ($z = -1$)

Residue at z = -1. For a pole of order 2, we must multiply by $(z+1)^2$, take the derivative, and then plug in the limit: $\text{Res}(f, -1) = \lim_{z \to -1} \frac{d}{dz} \left[ (z+1)^2 f(z) \right]$

$(z+1)^2 f(z) = (z+1)^2 \frac{z^2-2z}{(z+1)^2(z^2+4)} = \frac{z^2-2z}{z^2+4}$

$\frac{d}{dz}\frac{z^2-2z}{z^2+4} =[\text{Using the Quotient Rule: } \left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}] \frac{(2z-2)(z^2+4) - (z^2-2z)(2z)}{(z^2+4)^2}$

Evaluating at $z = -1$: $\frac{d}{dz}\frac{z^2-2z}{z^2+4}|_{z=-1} = \frac{(-4)(5) - (3)(-2)}{(5)^2} = \frac{-20 - (-6)}{25} = \frac{-14}{25}$.

3. Residue at simple poles ($z = \pm 2i$)

Residue at $z = 2i$. For a simple pole, remove the singular term $(z-2i)$ and plug in the value $\text{Res}(f, 2i) = \lim_{z \to 2i} \left[ (z-2i) f(z) \right] = \lim_{z \to 2i} \frac{z^2-2z}{(z+1)^2(z+2i)} = \frac{(2i)^2 - 2(2i)}{(2i+1)^2(2i+2i)} = \frac{-4-4i}{-16-12i} = \frac{1+i}{4+3i} = \frac{(1+i)(4-3i)}{(4+3i)(4-3i)} = \frac{4 - 3i + 4i - 3i^2}{16 + 9} = \frac{4 + i + 3}{25} = \frac{7+i}{25}$

Residue at $z = -2i$, $\text{Res}(f, -2i) = \lim_{z \to -2i} \left[ (z+2i) f(z) \right] = \lim_{z \to -2i}\frac{z^2-2z}{(z+1)^2(z-2i)} = \frac{(-2i)^2 - 2(-2i)}{(-2i+1)^2(-2i-2i)} = \frac{1-i}{4-3i} = \frac{(1-i)(4+3i)}{(4-3i)(4+3i)} = \frac{4+3i-4i-3i^2}{25} = \frac{7-i}{25}$.

Transcendental Function at $z = \pi i$

Solution.

Method A: The $P/Q'$ Rule

  1. Check pole type. Let’s check the numerator and denominator separately: Numerator: $P(z) = z - \sinh(z)$. At $z = \pi i$, $\sinh(\pi i) = i\sin(\pi) = 0$. So, $P(\pi i) = \pi i - 0 = \mathbf{\pi i}$ (Non-zero).
    Denominator: $Q(z) = z^2 \sinh(z)$. At $z = \pi i$, since $\sinh(\pi i) = 0$, the whole denominator is $\mathbf{0}$.
    Since we have a “Non-zero / Zero” situation, this is a Pole. Because the derivative of the denominator is not zero (as we will see), it is a Simple Pole.
  2. Differentiate the denominator. The Derivative Rule: If $f(z) = \frac{P(z)}{Q(z)}$ has a simple pole at $a$ (where $P(a) \neq 0, Q(a) = 0, Q'(a) \neq 0$), then: $\boxed{\text{Res}(f, a) = \frac{P(a)}{Q'(a)}}$
    $Q(z) = z^2 \sinh(z) \implies[\text{Product Rule}] Q'(z) = 2z\sinh(z) + z^2\cosh(z)$
  3. Evaluate at $z = \pi i$: $$ \begin{aligned} Q'(z)|_{z=\pi i} &=2(\pi i) \sinh(\pi i) + (\pi i)^2\cosh(\pi i) \\[2pt] &=[\text{Using the identities for hyperbolic functions with imaginary arguments: } \sinh(\pi i) = i\sin(\pi) = 0, \cosh(\pi i) = cos(\pi)= -1] \\[2pt] &=2(\pi i)0 + (-\pi^2)(-1)\\[2pt] &= 0 + \pi^2 = \pi^2 \ne 0 \end{aligned} $$
  4. Final Result:
    $\text{Res}(f, \pi i) = \frac{P(\pi i)}{Q'(\pi i)} = \frac{\pi i}{\pi^2} = \frac{i}{\pi}$

Method B: Series Expansion (The “Peeling” Method)

Let’s do it manually by peeling apart the function. $f(z) = \frac{1}{\sinh(z)}\frac{z-\sinh(z)}{z^2}$ has a simple pole at $z = \pi i$ and $\frac{z-\sinh(z)}{z^2}$ is analytic at this point.

Let’s expand $\sinh(z)$ into a Taylor series around $z=\pi i$ to show exactly how it goes to zero.

$\sinh(z) = 0 + \frac{(\sinh(z))'|_{z=\pi i}}{1!}(z-\pi i) + \frac{(\sinh(z))''|_{z=\pi i}}{2!}(z-\pi i)^2 + \frac{(\sinh(z))'''|_{z=\pi i}}{3!}(z-\pi i)^3+ \cdots$

f(πi) = sinh(πi) = 0, f′(πi) = cosh(πi) = −1, f′′(πi) = sinh(πi) = 0, f′′′(πi) = cosh(πi) = −1, and the pattern repeats.

$\sinh(z) = \frac{(-1)}{1!}(z-\pi i) + \frac{0}{2!}(z-\pi i)^2 + \frac{(-1)}{3!}(z -\pi i)^3 + \cdots = (z-\pi i)(-1 + \frac{(-1)}{3!} (z -\pi i)^3 + \cdots )$

$\sinh(z) = -1(z - \pi i) + \dots$. This confirms $z = \pi i$ is a zero of order 1 for $\sinh(z)$, and thus a simple pole for $f(z)$.

$\sinh(z) = (z-\pi i)(-1 + \phi(z))$ where $(z-\pi i)$ is the part that causes the zero and $(-1 + \phi(z))$ is the “leftover” part, which is roughly equal to $-1$ when $z$ is close enough to $\pi i$.

$\phi$ is defined in $\mathbb{B}(\pi i; r), r \gt 0$, analytic, and $\phi(\pi i) = 0$.

$f(z) = \frac{z-\sinh(z)}{(z-\pi i)(-1 + \phi(z))z^2} = \frac{1}{z-\pi i}(\frac{z-\sinh(z)}{(-1 + \phi(z))z^2})$ in $\mathbb{B}(\pi i; r), r \gt 0$.

Recall. The definition of residue for a simple pole is $\boxed{Res(f(z); z = a) =\lim_{z \to a} (z-a)f(z)}$.

$Res(f(z); z = \pi i) =[\pi i \text{ is a simple pole}] \lim_{z \to \pi}(z-\pi i)f(z) = (\frac{z-\sinh(z)}{(-1 + \phi(z))z^2})|_{z=\pi i} = \frac{\pi i - 0}{(-1+0)(\pi i)^2} =\frac{\pi i}{\pi^2} = \frac{i}{\pi}$

Theoretical Derivation for $1/g(z)^2$

Theorem. Let $g(z)$ be analytic at $z_0$ with a simple zero at $z_0$ ($g(z_0)=0, g'(z_0) \neq 0$). Then, $f(z) = \frac{1}{g(z)^2}$ has a pole of order 2 at $z_0$ with residue: $\boxed{\text{Res}(f, z_0) = -\frac{g''(z_0)}{(g'(z_0))^3}}$

Solution.

Step 1. Factoring $g(z)$ using Taylor Series:

Because g is analytic at $z_0$, we can express it as a Taylor series, $g(z)= g(z_0) +g'(z_0)(z-z_0) + \frac{g''(z_0)}{2!}(z-z_0)^2+\cdots$.

Since $g(z_0)=0$, the constant term disappears: $g(z)=g'(z_0)(z-z_0)+\frac{g''(z_0)}{2!}(z-z_0)^2+\cdots$

We can factor out $(z-z_0)$ to separate the zero: $g(z)=(z-z_0)\left[ g'(z_0)+\frac{g''(z_0)}{2!}(z-z_0)+\cdots \right]$.

Let’s define the bracketed series as a new function, $\rho(z)$, so we have $g(z)=(z-z_0)\left[ g'(z_0)+\frac{g''(z_0)}{2!}(z-z_0)+\cdots \right] = g(z)\rho(z), \forall z \in \mathbb{B}(z_0; r)$.

Note on $\rho(z)$: $\rho(z) = g'(z_0)+\frac{g''(z_0)}{2!}(z-z_0)+\cdots$. Because it is a power series, $\rho(z)$ is analytic in a neighborhood of $z_0$. Crucially,

$$\rho(z) = g'(z_0) \ne 0$$

Because $\rho(z)$ is continuous and non-zero at $z_0$, it remains non-zero in some neighborhood around $z_0$, $\mathbb{B}(z_0; r)$ with r > 0.

$g(z)=(z-z_0)\rho (z)$, where $\rho(z)$ is analytic and $\rho(z) \neq 0$. This is exactly the standard factorization for a simple zero of an analytic function.

Step 2: Isolating the Pole of f(z)

Substitute our factored form of g(z) into f(z):

$f(z) = \frac{1}{(z-z_0)^2\rho(z)^2}$ in $\mathbb{B}(z_0; r)$. This clearly shows that $f(z)$ has a Pole of Order 2 at $z_0$ because $(z-z_0)^2$ is in the denominator and $\rho(z)$ is analytic and never zero near $z_0$ (and obviously $\frac{1}{\rho (z)^2}$ is also analytic and never zero near $z_0$). In other words, f(z) is exactly of the form: $\frac{\text{analytic, nonvanishing}}{(z-z_0)^2}$

A function has a pole of order n at $z_0$ if it can be written as: $f(z)=\frac{h(z)}{(z-z_0)^n}$, where h(z) is analytic and nonzero at $z_0$.

Step 3: Calculating the Residue

To verify the residue, it is cleaner to rewrite $f(z)$ by separating the singular part from the analytic part: $f(z) = \frac{1}{(z-z_0)^2} \cdot \underbrace{\left[ \frac{1}{\rho(z)^2} \right]}_{\text{Let's call this } \phi(z)}$. Here, $\phi(z) = \frac{1}{\rho(z)^2}$ is analytic at $z_0$ because $\rho(z_0)$ is analytic and $\rho(z_0) \ne 0$.

For a function with a pole of order 2 looking like $\frac{\phi(z)}{(z-z_0)^2}$, the Residue is simply the first derivative of the analytic part $\phi(z)$ evaluated at the pole $\boxed{\text{Res}(f; z_0) = \phi'(z_0)}$.


Why is this true?

To find the residue, we need the coefficient of the $\frac{1}{z-z_0}$ term. Let’s just expand $\phi(z)$ using its standard Taylor Series around $z_0$: $\phi(z) = \phi(z_0) + \phi'(z_0)(z-z_0) + \frac{\phi''(z_0)}{2}(z-z_0)^2 + \dots$.

Dividing the entire series by $(z-z_0)^2$ gives the Laurent Series for f(z): $f(z) = \frac{\phi(z_0) + \phi'(z_0)(z-z_0) + \dots}{(z-z_0)^2}$

$f(z) = \frac{\phi(z_0)}{(z-z_0)^2} + \mathbf{\frac{\phi'(z_0)}{z-z_0}} + \frac{\phi''(z_0)}{2} + \dots$. The residue is, by definition, the coefficient of the $\frac{1}{z-z_0}$, which is exactly $\phi'(z_0)$.

This is actually just a specific case of the general Residue formula for a pole of order m (m = 2, pole of order 2, $(z-z_0)^2 f(z)$ is just $\phi(z)$): $\text{Res}(f, z_0) = \frac{1}{(m-1)!} \lim_{z \to z_0} \frac{d^{m-1}}{dz^{m-1}} \left[ (z-z_0)^m f(z) \right] = \frac{d}{dz} [\phi(z)] \Big|_{z=z_0} = \phi'(z_0)$


Step 4: Evaluating $\phi'(z_0)$

We need to differentiate $\phi(z) = (\rho(z))^{-2}$ using the Chain Rule: $\phi'(z) = -2\rho(z)^{-3}(z)\rho'(z)$

$\phi'(z)|_{z=z_0} = (\frac{1}{\rho(z)^2})|_{z=z_0} = -2\rho(z)^{-3}(z)\rho'(z)|_{z=z_0} = -2(g'(z_0))^{-3}\frac{g''(z_0)}{2} = \frac{-g''(z_0)}{(g'(z_0))^{3}}$

$g(z) = (z-z_0) \left[ g'(z_0) + \frac{g''(z_0)}{2}(z-z_0) + \dots \right]$, $\rho(z) = g'(z_0) + \frac{g''(z_0)}{2}(z-z_0) + \dots, \rho(z_0) = g'(z_0)$ (the constant term) and $\rho'(z_0) = \frac{g''(z_0)}{2}$ (the coefficient of the linear term).

The 2 and the divided-by-2 cancel out, leaving us with our final result: $\boxed{Res(f; z_0) = \frac{-g''(z_0)}{(g'(z_0))^{-3}}}$

Example Application

This matches our general form where the singular part is isolated. Here, the analytic part is $\phi(z) = e^z$.

  1. Take the derivative: $\phi'(z) = e^z$.
  2. Evaluate at 0: $\phi'(0) = 1$.
  3. Therefore, the residue is 1.
Bitcoin donation

JustToThePoint Copyright © 2011 - 2026 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.