Complex Analysis Practice Questions

1. Let \(f(z) = \frac{1}{z^2 + 1}\). Evaluate the contour integral \(\oint_C f(z) dz\), where \(C\) is the circle \(|z| = 2\).

A) 0
B) \(2\pi i\)
C) \(-2\pi i\)
D) \(\pi i\)
E) \(-\pi i\)

Show/Hide Explanation

The poles of \(f(z)\) are at \(z = i\) and \(z = -i\). Both poles lie inside the circle \(|z| = 2\). By the Residue Theorem, the integral is \(2\pi i\) times the sum of the residues inside the contour. The residue at \(z = i\) is \(\text{Res}(f, i) = \lim_{z \to i} (z-i) \frac{1}{(z-i)(z+i)} = \lim_{z \to i} \frac{1}{z+i} = \frac{1}{2i}\). The residue at \(z = -i\) is \(\text{Res}(f, -i) = \lim_{z \to -i} (z+i) \frac{1}{(z-i)(z+i)} = \lim_{z \to -i} \frac{1}{z-i} = \frac{1}{-2i}\). The sum of residues is \(\frac{1}{2i} + \frac{1}{-2i} = 0\). Therefore, the integral is \(2\pi i \cdot 0 = 0\).

Answer: A) 0

2. What is the Taylor series expansion of \(f(z) = \frac{1}{(1-z)^2}\) centered at \(z=0\)?

A) \(\sum_{n=0}^\infty z^n\)
B) \(\sum_{n=0}^\infty (n-1) z^n\)
C) \(\sum_{n=1}^\infty n z^{n-1}\)
D) \(\sum_{n=0}^\infty (n+1) z^n\)
E) \(\sum_{n=0}^\infty \frac{z^n}{n!}\)

Show/Hide Explanation

We know the geometric series formula \(\frac{1}{1-z} = \sum_{n=0}^\infty z^n\) for \(|z| < 1\). Differentiating term by term with respect to \(z\) gives \(\frac{1}{(1-z)^2} = \frac{d}{dz} \left( \sum_{n=0}^\infty z^n \right) = \sum_{n=1}^\infty n z^{n-1}\). Let \(m = n-1\), so \(n = m+1\). When \(n=1\), \(m=0\). Then \(\frac{1}{(1-z)^2} = \sum_{m=0}^\infty (m+1) z^m = \sum_{n=0}^\infty (n+1) z^n\) for \(|z| < 1\).

Answer: (D) \(\sum_{n=0}^\infty (n+1) z^n\)

3. What is the residue of \(f(z) = \frac{1 - \cos(z)}{z^2}\) at \(z=0\)?

A) 0
B) 1
C) \(1/6\)
D) \(-1/6\)
E) \(1/3!\)

Show/Hide Explanation

DIY

Answer: (C) \(1/6\)

4. Evaluate \(\oint_C \frac{e^z}{z-1} dz\) where \(C\) is the circle \(|z| = 2\) traversed counterclockwise.

A) \(0\)
B) \(2\pi i e\)
C) \(\pi i e\)
D) \(2\pi i\)
E) \(e\)

Show/Hide Explanation

By Cauchy's Integral Formula, \(\oint_C \frac{f(z)}{z - z_0} dz = 2\pi i \, f(z_0)\) for \(f\) analytic inside \(C\) and \(z_0\) inside \(C\). Here \(f(z) = e^z\) and \(z_0 = 1\), which lies inside \(|z|=2\). So the integral equals \(2\pi i \cdot e^1 = 2\pi i e\).

Answer: (B) \(2\pi i e\)

5. Which of the following is the Laurent series of \(f(z) = \frac{1}{z(z-1)}\) valid for \(0 < |z| < 1\)?

A) \(\sum_{n=0}^\infty z^n\)
B) \(-\sum_{n=0}^\infty z^n\)
C) \(\frac{1}{z} + \sum_{n=1}^\infty z^n\)
D) \(-\frac{1}{z} - \sum_{n=0}^\infty z^n\)
E) \(\frac{1}{z} - \sum_{n=0}^\infty z^n\)

Show/Hide Explanation

Write \(\frac{1}{z(z-1)} = \frac{1}{z} \cdot \frac{1}{z-1} = \frac{1}{z} \cdot \frac{-1}{1-z}\). For \(|z| < 1\), \(\frac{1}{1-z} = \sum_{n=0}^\infty z^n\). Thus \(f(z) = -\frac{1}{z} \sum_{n=0}^\infty z^n = -\frac{1}{z} - 1 - z - z^2 - \cdots = -\frac{1}{z} - \sum_{n=0}^\infty z^n\).

Answer: (D) \(-\frac{1}{z} - \sum_{n=0}^\infty z^n\)

6. A function \(f\) is entire and \(|f(z)| \leq M|z|^2\) for all \(z \in \mathbb{C}\) and some constant \(M > 0\). What can be concluded?

A) \(f\) is a constant
B) \(f\) is a polynomial of degree at most 1
C) \(f\) is a polynomial of degree at most 2
D) \(f\) must be \(f(z) = Mz^2\)
E) No conclusion can be drawn

Show/Hide Explanation

By the generalized Liouville theorem, if \(f\) is entire and \(|f(z)| \leq M|z|^n\) for large \(|z|\), then \(f\) is a polynomial of degree at most \(n\). Here \(n = 2\), so \(f\) must be a polynomial of degree at most 2.

Answer: (C) \(f\) is a polynomial of degree at most 2

7. Let \(f(z) = u + iv\) be analytic. Which pair of equations must \(u\) and \(v\) satisfy?

A) \(u_x = v_y\) and \(u_y = -v_x\)
B) \(u_x = -v_y\) and \(u_y = v_x\)
C) \(u_x = v_x\) and \(u_y = v_y\)
D) \(u_{xx} + u_{yy} = 1\)
E) \(u_x = v_y\) and \(u_y = v_x\)

Show/Hide Explanation

The Cauchy-Riemann equations are a necessary condition for analyticity: \(u_x = v_y\) and \(u_y = -v_x\). These ensure the complex derivative \(f'(z)\) exists.

Answer: (A) \(u_x = v_y\) and \(u_y = -v_x\)

8. How many zeros does the polynomial \(p(z) = z^5 + 3z + 1\) have inside the circle \(|z| = 2\)?

A) 1
B) 2
C) 3
D) 4
E) 5

Show/Hide Explanation

Apply Rouché's theorem with \(f(z) = z^5\) and \(g(z) = 3z + 1\). On \(|z| = 2\): \(|f(z)| = 32\) and \(|g(z)| \leq 3(2) + 1 = 7 < 32\). Since \(|f(z)| > |g(z)|\) on \(|z|=2\), by Rouché's theorem \(p(z) = f(z) + g(z)\) has the same number of zeros inside \(|z|=2\) as \(f(z) = z^5\), which has 5 zeros (counting multiplicity).

Answer: (E) 5

9. What is the order of the pole of \(f(z) = \frac{\sin z}{z^4}\) at \(z = 0\)?

A) 4
B) 3
C) 2
D) 1
E) \(z = 0\) is a removable singularity

Show/Hide Explanation

Since \(\sin z = z - \frac{z^3}{6} + \frac{z^5}{120} - \cdots\), we have \(\frac{\sin z}{z^4} = \frac{1}{z^3} - \frac{1}{6z} + \frac{z}{120} - \cdots\). The lowest power of \(z\) in the denominator is \(z^3\), so \(z = 0\) is a pole of order 3.

Answer: (B) 3

10. Which of the following maps the upper half-plane \(\text{Im}(z) > 0\) conformally onto the open unit disk \(|w| < 1\)?

A) \(w = z + i\)
B) \(w = e^{iz}\)
C) \(w = \dfrac{z - i}{z + i}\)
D) \(w = z^2\)
E) \(w = \dfrac{z + i}{z - i}\)

Show/Hide Explanation

The Möbius transformation \(w = \frac{z - i}{z + i}\) maps the upper half-plane to the unit disk. To verify: when \(z = 0\) (on the real axis), \(w = \frac{-i}{i} = -1\), which is on the unit circle. When \(z = i\) (interior of upper half-plane), \(w = 0\), which is in the unit disk. This is the standard conformal map from \(\mathbb{H}\) to \(\mathbb{D}\).

Answer: (C) \(w = \frac{z-i}{z+i}\)

11. If \(f\) is analytic and non-constant on a connected open set \(\Omega\), which statement is true?

A) \(|f|\) attains its maximum on \(\Omega\)
B) \(|f|\) attains its minimum on \(\Omega\)
C) \(\text{Re}(f)\) must be zero somewhere in \(\Omega\)
D) \(|f|\) attains its maximum only on the boundary of \(\Omega\)
E) \(f\) must be a Möbius transformation

Show/Hide Explanation

By the Maximum Modulus Principle, if \(f\) is analytic and non-constant on a connected open set \(\Omega\), then \(|f(z)|\) cannot attain its maximum at any interior point of \(\Omega\). Therefore, the maximum of \(|f|\) on a closed bounded region is attained only on the boundary.

Answer: (D)

12. Evaluate \(\int_{-\infty}^{\infty} \frac{1}{1 + x^2} dx\) using residues.

A) \(\pi\)
B) \(2\pi\)
C) \(\pi/2\)
D) \(2\pi i\)
E) \(0\)

Show/Hide Explanation

Consider \(f(z) = \frac{1}{1+z^2} = \frac{1}{(z-i)(z+i)}\). Integrating over a semicircular contour in the upper half-plane, the pole inside is at \(z = i\). The residue there is \(\lim_{z \to i}(z-i)\frac{1}{(z-i)(z+i)} = \frac{1}{2i}\). By the residue theorem, \(\int_{-\infty}^{\infty} \frac{dx}{1+x^2} = 2\pi i \cdot \frac{1}{2i} = \pi\).

Answer: (A) \(\pi\)

13. Let \(f : \mathbb{D} \to \mathbb{D}\) be analytic with \(f(0) = 0\), where \(\mathbb{D}\) is the open unit disk. By the Schwarz lemma, which must hold?

A) \(|f(z)| \geq |z|\) for all \(z \in \mathbb{D}\)
B) \(f(z) = z\) for all \(z \in \mathbb{D}\)
C) \(|f'(0)| \geq 1\)
D) \(f\) must be a rotation
E) \(|f(z)| \leq |z|\) for all \(z \in \mathbb{D}\) and \(|f'(0)| \leq 1\)

Show/Hide Explanation

The Schwarz Lemma states: if \(f : \mathbb{D} \to \mathbb{D}\) is analytic and \(f(0) = 0\), then \(|f(z)| \leq |z|\) for all \(z \in \mathbb{D}\) and \(|f'(0)| \leq 1\). Equality \(|f(z_0)| = |z_0|\) for some \(z_0 \neq 0\), or \(|f'(0)| = 1\), implies \(f(z) = e^{i\theta} z\) for some real \(\theta\).

Answer: (E)

14. What is the type of singularity of \(f(z) = e^{1/z}\) at \(z = 0\)?

A) Removable singularity
B) Essential singularity
C) Simple pole
D) Pole of order 2
E) Branch point

Show/Hide Explanation

The Laurent expansion of \(e^{1/z} = \sum_{n=0}^\infty \frac{1}{n! z^n} = 1 + \frac{1}{z} + \frac{1}{2!z^2} + \cdots\) has infinitely many negative-power terms. A singularity with infinitely many principal part terms is an essential singularity. By the Casorati-Weierstrass theorem, near an essential singularity the function comes arbitrarily close to every complex value.

Answer: (B) Essential singularity

15. The function \(f(z) = \text{Log}(z)\) (the principal logarithm) is analytic on which domain?

A) \(\mathbb{C} \setminus \{0\}\)
B) \(\mathbb{C}\)
C) \(\mathbb{C}\) minus the non-positive real axis
D) The upper half-plane
E) The open unit disk

Show/Hide Explanation

The principal logarithm \(\text{Log}(z) = \ln|z| + i\,\text{Arg}(z)\) uses the principal argument \(\text{Arg}(z) \in (-\pi, \pi]\). It is analytic everywhere except on the branch cut, which is the non-positive real axis \(\{x \leq 0\}\), where \(\text{Arg}(z)\) is discontinuous.

Answer: (C)

16. If \(u(x,y)\) is harmonic on a simply connected domain \(\Omega\), which of the following is true?

A) There exists a harmonic conjugate \(v\) such that \(f = u + iv\) is analytic on \(\Omega\)
B) \(u\) must be identically zero
C) \(u\) is not differentiable
D) \(u\) satisfies \(\nabla^2 u = 1\)
E) \(u\) has no maximum on \(\Omega\)

Show/Hide Explanation

On a simply connected domain, every harmonic function \(u\) (satisfying \(\nabla^2 u = 0\)) has a harmonic conjugate \(v\) such that \(u + iv\) is analytic. This is a consequence of the fact that the domain has no holes, so the conjugate differential form is exact.

Answer: (A)

17. Compute the residue of \(f(z) = \frac{z}{(z-1)^2(z+2)}\) at \(z = 1\).

A) \(\dfrac{1}{9}\)
B) \(\dfrac{1}{3}\)
C) \(\dfrac{1}{6}\)
D) \(\dfrac{2}{9}\)
E) \(1\)

Show/Hide Explanation

Since \(z=1\) is a pole of order 2, the residue is \(\lim_{z \to 1} \frac{d}{dz}\left[(z-1)^2 f(z)\right] = \frac{d}{dz}\left[\frac{z}{z+2}\right]_{z=1}\). Computing: \(\frac{d}{dz}\frac{z}{z+2} = \frac{(z+2) - z}{(z+2)^2} = \frac{2}{(z+2)^2}\). At \(z = 1\): \(\frac{2}{(1+2)^2} = \frac{2}{9}\).

Answer: (D) \(\dfrac{2}{9}\)

18. Which of the following entire functions is bounded on all of \(\mathbb{C}\)?

A) \(f(z) = z^2\)
B) \(f(z) = e^z\)
C) \(f(z) = \sin(1/2)\) (constant function)
D) \(f(z) = \cos z\)
E) \(f(z) = e^z + e^{-z}\)

Show/Hide Explanation

By Liouville's Theorem, the only bounded entire functions are constants. Among the choices, \(f(z) = \sin(1/2)\) is a constant (a real number), hence trivially entire and bounded. All other options are non-constant entire functions, which by Liouville's theorem must be unbounded.

Answer: (C)

19. Let \(f\) be analytic in the annulus \(1 < |z| < 3\). Which series represents \(f\) in that region?

A) Taylor series centered at 0
B) Laurent series \(\sum_{n=-\infty}^{\infty} a_n z^n\)
C) Fourier series in \(x\) and \(y\)
D) Power series with non-negative exponents only
E) A polynomial

Show/Hide Explanation

In an annular region \(r < |z-z_0| < R\), an analytic function is represented by its Laurent series \(\sum_{n=-\infty}^{\infty} a_n (z-z_0)^n\), which includes both non-negative and negative powers of \(z\). A Taylor series (only non-negative powers) is valid only in a disk, not a punctured annulus with a hole.

Answer: (B)

20. The image of the real axis under the Möbius transformation \(f(z) = \dfrac{z - i}{z + i}\) is:

A) The imaginary axis
B) A line through the origin at angle \(\pi/4\)
C) The upper half-plane
D) The unit circle \(|w| = 1\)
E) The real axis

Show/Hide Explanation

For \(z = x \in \mathbb{R}\), compute \(\left|\frac{x - i}{x + i}\right| = \frac{|x - i|}{|x + i|} = \frac{\sqrt{x^2 + 1}}{\sqrt{x^2 + 1}} = 1\). So every real \(z\) maps to a point with \(|w| = 1\). Since Möbius transformations map circles/lines to circles/lines, and the real axis (a generalized circle) maps onto \(|w| = 1\). This is consistent with \(f\) being the standard map from the upper half-plane to the unit disk.

Answer: (D) The unit circle \(|w| = 1\)