25

My teacher says that my work below is wrong, and is like claiming that $z = z^4/z^3.$ He insists on a mathematical proof, and I’m unsure how to proceed. I’ve checked many books and references, but none of them indicate that my approach is incorrect.

\begin{align*} \oint_{|z|=1} \left( \frac{1}{2} - \frac{1}{4}(z^2 + z^{-2}) \right) \cdot \frac{\mathrm dz}{iz} &= \oint_{|z|=1} \frac{-z^4 + 2z^2 - 1}{4i z^3} \, \mathrm dz \\ &= 2\pi i \cdot \text{Res}\left( \frac{-z^4 + 2z^2 - 1}{4i z^3}, z=0 \right) \\ &= 2\pi i \cdot \frac{1}{2!} \lim_{z \to 0} \frac{d^2}{dz^2} \left( \frac{-z^4 + 2z^2 - 1}{4i} \right) \\ &= 2\pi i \cdot \frac{1}{2} \cdot \left( \frac{1}{4i} \cdot 4 \right) \\ &= 2\pi i \cdot \frac{1}{2i} = \pi \end{align*}

ryang
  • 45,696
Henrique
  • 379
  • 7
  • 6
    Don't understand the close votes. I think this is a fair question that deserves a fair answer as given by Ted Shifrin, and all is good. – Torsten Schoeneberg Jul 15 '25 at 20:06
  • 6
    @TorstenSchoeneberg Close votes that came before revision 2 here are understandable. Apparently the question was accidentally posted before it was complete, and thus the first version lacked essential bits. (Not for long, it was fixed in just over a minute. Well done, Henrique!) – Dermot Craddock Jul 15 '25 at 21:10
  • 3
    An edit was made just 1 minute and 4 seconds after the original version was posted. If the close votes were given before the first edit, I would say that the close-voters were too trigger-happy. – user1551 Jul 17 '25 at 08:18

3 Answers3

28

$$\text{Res}_0 \left(\frac{-z^4+2z^2-1}{4iz^3}\right) = \frac1{4i}\text{Res}_0 \left(-z+2z^{-1}-z^{-3}\right) = \frac{2}{4i} = -\frac12i.$$

You're using the formula for the residue at a third-order pole. Although it is not incorrect, it is a crazy way to do this computation when you can just simplify the algebra, as I did, and read off the $z^{-1}$ coefficient in a second. But I'm on your side (reluctantly); I don't see how your teacher can take off points here, even though your solution is awkward and overly complicated. You even included the "$\lim\limits_{z\to 0}$" and so his pedantic point is out of order. Away from $z=0$, of course $z^4/z^3$ and $z$ are equal.

EDIT: Yes, I didn’t bother to check your original formula. The coefficient $2i$ is in fact wrong. I was concentrating on the method.

Ted Shifrin
  • 127,912
2

...my teacher said my solution is wrong [because] doing this is like claiming $z = z^4/z^3$.

Clearly, over the domain $|z|=1$,

$$\frac{1}{iz} \left( \frac{1}{2} - \frac{1}{4}(z^2 + z^{-2}) \right) = \frac{-z^4 + 2z^2 - 1}{4i z^3}$$

Thus,

$$ \oint_{|z|=1} \frac{1}{iz} \left( \frac{1}{2} - \frac{1}{4}(z^2 + z^{-2}) \right) dz = \oint_{|z|=1} \frac{-z^4 + 2z^2 - 1}{4i z^3} \, dz $$

Whatever happens away from the domain of integration is irrelevant regarding this transformation. There could be a trillion poles at $z=0.42$ for all that it matters.


The other equalities follow directly from:

  1. Cauchy's Residue theorem: $$\oint _{\gamma }f(z)\,dz=2\pi i\sum_k \operatorname {Res} (f, z=c_{k})$$
  2. Residue of higher-order poles: $$\operatorname {Res} (f, z=c)={\frac {1}{(p-1)!}}\lim _{z\to c}{\frac {d^{p-1}}{dz^{p-1}}}\left((z-c)^{p}f(z)\right)$$
  3. Derivative of polynomial $$\frac{d^2}{dz^2} \sum_k a_k z^k = \sum_k a_k k (k-1) z^{k-2}$$ and limit of continuous function (e.g. polynomial) $$\lim_{z \to c} f(z) = f(c).$$
  4. Algebra.
Mateen Ulhaq
  • 1,354
  • How is this an answer? – Ted Shifrin Jul 17 '25 at 03:16
  • 2
    @TedShifrin The teacher said the "solution is wrong [because] doing this is like claiming $z = z^4/z^3$". My answer directly refutes the teacher's rationale. – Mateen Ulhaq Jul 17 '25 at 03:31
  • It does not address the issue at all. We are not computing the contour integral directly, so your point is irrelevant. – Ted Shifrin Jul 17 '25 at 03:42
  • 1
    @TedShifrin The teacher claims the answer is wrong because of the first equality. (Unless "$z=z^4/z^3$" refers to one of the other equalities.) Nonetheless, I've added justification for the other equalities, too. – Mateen Ulhaq Jul 17 '25 at 04:17
0

Also, on the unit circle, $z=e^{i\theta}$ and the integral in OP is $$\int_0^{2\pi}\left(\frac12-\frac12\cos2\theta\right)d\theta\\ =\left(\left.\frac12\theta-\frac14\sin2\theta\right)\right\vert_0^{2\pi}=\pi.$$ So no need to complex calculus and teachers.

Bob Dobbs
  • 16,473