<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[a4paper,12pt]{article}
\usepackage{epsfig}
\begin{document}
\newcommand\ds{\displaystyle}
\parindent=0pt

QUESTION

Evaluate the following real integrals by using the
residue theorem:

$$\textrm{(i)}\int_{-\infty}^\infty \frac{dx}{1+x^8}\ \
\textrm{(ii)}\ \ \int_{-\infty}^\infty \frac{dx}{(1+x^2)^2}\ \
\textrm{(iii)}\ \ \int_{-\infty}^\infty
\frac{dx}{(x^2+4)(x^2+9)}$$


You can close the contour either in the lower or upper half here,
so take the upper half.

\bigskip

ANSWER

\begin{description}

\item[(i)]
 $\ds I=\int_{-\infty}^\infty\frac{dx}{1+x^8}=\int_C\frac{dz}{1+z^4}$

 \begin{center}
 \epsfig{file=272-2-2.eps, width=60mm}
 \end{center}

 The integration contour encloses simple poles at
 $$z_0=e^{\frac{i\pi}{8}},\ e^\frac{3i \pi}{8},\ e^\frac{5i \pi}{8},\ e^\frac{7 i
 \pi}{8}$$

 $$ \textrm{Res}\left(\frac{1}{1+z^8},z_0\right)  =  \frac{1}{8z_0^7}  =  \frac{z_0}{8z_0^8}
 =  -\frac{1}{8}z_0$$

 \begin{eqnarray*}
 I&amp;=&amp;2 \pi i \left(-\frac{1}{8}\right)\left(e^\frac{i \pi}{8}+e^\frac{3 i
 \pi}{8}++e^\frac{5 i \pi}{8}+e^\frac{7 i \pi}{8}\right)\\
 &amp;=&amp;-\frac{\pi i}{4}\left(e^{i \pi}{8}+e^\frac{3 i \pi}{8}-e^{-\frac{3i
 \pi}{8}}-e^{-\frac{i \pi}{8}}\right)\\
 &amp;=&amp;\frac{\pi}{2}\left(\sin \frac{\pi}{8}+\sin \frac{3 \pi}{8}\right)
 \end{eqnarray*}

\item[(ii)]
 $\ds I=\int_{-\infty}^\infty
 \frac{dx}{(1+x^2)^2}=\int_{\gamma}\frac{dz}{(z+i)^2(z-i)^2}$
 has double poles at $z=\pm i$, but only $z=i$ is inside the
 contour.

\begin{center}
\epsfig{file=272-2-3.eps, width=40mm}
\end{center}

 \begin{eqnarray*}
 \textrm{Res}\left(\frac{1}{(1+z^2)},i\right)&amp;=&amp;\lim_{z \to
 i}\frac{d}{dz}\frac{1}{(z+i)^2}\\
 &amp;=&amp;\lim_{z \to i}-\frac{2}{(z+i)^3}=-\frac{i}{4}\\
 I&amp;=&amp;2 \pi i \left(-\frac{i}{4}\right)=\frac{\pi}{2}
 \end{eqnarray*}

\item[(iii)]
 $\ds I=\int \frac{dx}{(x^2+4)(x^2+9)}$ has simple poles inside the
 contour at $z=2i$ and $3i$.
 \begin{eqnarray*}
 \textrm{Res}(2i)&amp;=&amp;\frac{1}{(2i+2i)(2i+3i)(2i-3i)}=-\frac{i}{20}\\
 \textrm{Res}(3i)&amp;=&amp;\frac{1}{(3i+3i)(3i+2i)(3i-2i)}=-\frac{i}{30}\\
 I&amp;=&amp;2 \pi i\left(-\frac{i}{20}-\frac{i}{30}\right)=\frac{\pi}{30}
 \end{eqnarray*}

\end{description}

\end{document}
</pre></body></html>