Practice midterm 2 solutions

Complex analysis, lecture 2
(March 9, 2026)

As usual, be sure to include your method, and remember to write your name.

Problem 1. Let γ be the circle of radius 3 centered at the origin. Compute

γz1z2𝑑z

via parametrization.

The above problem is directed towards Objective 4 (complex integration).

Solution. Writing z=γ(t)=3eit for 0t<2π, this is

02π3eit19e2it3ieit𝑑t=i02π3eit13eit𝑑t=i02π(1eit/3)𝑑t=2πi+13eit|02π=2πi.

Problem 2. Consider the path γ given by the straight line segment from i to i+1.

γ

Compute

γzez2𝑑z.

The above problem is directed towards Objective 4 (complex integration).

Solution. Since f(z)=zez2 is an analytic function and is defined on all of , which is a star-shaped domain, we can use the fundamental theorem of calculus. Setting u=z2, we have zez2dz=12eudu with antiderivative 12eu=12ez2, so the integral is

12ez2|ii+1=12(e(i+1)2e(i)2).

This is an acceptable answer, but one could simplify further: (i+1)2=2i and (i)2=1, so this is 12(e2ie1). (If you like, you could write this in terms of sine and cosine, but it isn’t really any simpler.)

Problem 3. Let R be the rectangle with corners at 2i, 2+i, 2i, 2+i:

R

Compute

Rz2+1z4z3𝑑z.

Hint/timesaver: you may find the formulas g(z)=12(z1)2 and g′′(z)=4(z1)3 useful, where g(z)=z2+1z1.

The above problem is directed towards Objective 5 (Cauchy’s integral theorem and formula).

Solution. Let f(z)=z2+1z3, g(z)=z2+1z1, and h(z)=z2+1z4z3=f(z)z1=g(z)z3. Note that f is analytic on R{0} and g is analytic on R{1}. Letting D0 and D1 be disks of small radius r around 0 and 1 respectively and D=RD0D1, we have D=RD0D1 (i.e. the union of the boundaries with the negative orientations on the second terms), and since h is analytic on D we have

0=Dh(z)𝑑z=Rh(z)𝑑zD0h(z)𝑑zD1h(z)𝑑z,

so

Rh(z)𝑑z=D0h(z)𝑑z+D1h(z)𝑑z.

On D0, we have h(z)=g(z)z3 and g(z) is analytic, so by Cauchy’s formula for derivatives

D0g(z)z3𝑑z=2πi2!g(2)(0)=πi4(1)3=4πi.

Similarly, on D1 we have h(z)=f(z)z1 and f analytic, so by Cauchy’s formula

D1f(z)z1𝑑z=2πif(1)=4πi.

Hence the overall integral is 0.

Problem 4. Let f:D be a smooth function. For z0D, let g(z)=f(z)f(z0). Show that

Dg(z)𝑑z=Df(z)𝑑z.

The above problem is directed towards Objective 5 (Cauchy’s integral theorem and formula).

Solution. Since zf(z0) is an analytic function (since it is constant), by Cauchy’s theorem

Dg(z)𝑑z=Df(z)𝑑zDf(z0)𝑑z=Df(z)𝑑z.

Problem 5. Suppose that f: is an analytic function such that |f(z)||z|n for all z. Conclude that |f(n)(0)|n!.

The above problem is directed towards Objective 6 (consequences of Cauchy’s theorem and formula).

Solution. Since f is analytic on , it is analytic on any disk of radius R centered at the origin; on its boundary the bound is then |z|n=Rn. By the Cauchy estimates it follows that |f(n)(0)|n!RnRn=n!.

Problem 6. Let D be the disk of radius 1 centered at the origin. Verify Pompeiu’s formula for f(z)=|z|2 at z0=0.

The above problem is directed towards Objective 6 (consequences of Cauchy’s theorem and formula).

Solution. First, note |z|2=zz¯, so fz¯=z. Therefore Pompeiu’s formula reads

|0|2=0=12πiD|z|2z𝑑z1πDz1z𝑑x𝑑y.

The second integral is just the area of D, which is π, so the second term is 1ππ=1. On D the absolute value |z|2 is just 1, so the first integral is

D1z𝑑z,

which we’ve seen by a number of methods is 2πi. Hence the first term is 12πi2πi=1. Combining these together, the right-hand side is 11=0, matching the left-hand side.