Cauchy's Integral Formula Examples 1
Recall from the Cauchy's Integral Formula page that if $A \subseteq \mathbb{C}$ is open, $f : A \to \mathbb{C}$ is analytic on $A$, and $\gamma$ is a simple, closed, piecewise smooth positively oriented curve contained in $A$ then for all $z_0$ in the inside of $\gamma$ we have that the value of $f$ at $z_0$ is:
(1)We will now look at some example problems involving applying Cauchy's integral formula.
Example 1
Evaluate the integrals $\displaystyle{\int_{\gamma} \frac{\sin z}{z} \: dz}$ and $\displaystyle{\int_{\gamma} \frac{\cos z}{z} \: dz}$ where $\gamma$ is the positively oriented circle centered at $0$ with radius $1$.
Note that $\displaystyle{\sin z}$ and $\displaystyle{\cos z}$ are both analytic on all of $\mathbb{C}$ and $\gamma$ is a simple, closed, piecewise smooth, positively oriented curve contained in $\mathbb{C}$, and so for $z_0 = 0$ in the inside of $\gamma$ we have that:
(2)Example 2
Evaluate the integral $\displaystyle{\int_{\gamma} \frac{z^2 - 1}{z^2 + 1} \: dz}$ where $\gamma$ is the positively oriented circle centered at $0$ with radius $1$.
We must first use some algebra in order to transform this problem to allow us to use Cauchy's integral formula. We have that:
(4)So for some $A, B \in \mathbb{C}$ we have that:
(5)Therefore $1 = A(z - i) + B(z + i)$. Setting $z = i$ gives us that $1 = 2iB$ so $\displaystyle{B = \frac{1}{2i} = -\frac{i}{2}}$. Setting $z = -i$ gives us that $1 = -2iA$ so $\displaystyle{A = -\frac{1}{2i} = \frac{i}{2}}$. Therefore:
(6)Then:
(7)Hence:
(8)Note that $f(z) = z^2 - 1$ is analytic on all of $\mathbb{C}$ and contains the simple, closed, piecewise smooth, positively oriented curve in $\mathbb{C}$. So by Cauchy's integral formula we have that:
(9)