# Integrating \frac{\log{z+i}}{1+z^2} around a Semi-Circular Contour

• latentcorpse
In summary, you need to integrate \int_{\Gamma} \frac{\log{z+i}}{1+z^2} around a large semi-cricular contour. You found a sinle pole with residue \frac{\log{2i}}{2i} at z=i and a double pole with residue -\frac{1}{2i}-\frac{\log{2i}}{2i} at z=-i. This seems fair enough but you can't decide where to put your contour so as to enclose them both. The reside theorem tells you they will integrate to -\pi if you can get them both inside the contour. You need to use a contour

#### latentcorpse

I have to integrate $\int_{\Gamma} \frac{\log{z+i}}{1+z^2}$ around a large semi-cricular contour.

i found a sinle pole with residue $\frac{\log{2i}}{2i}$ at $z=i$ and a double pole with residue $-\frac{1}{2i}-\frac{\log{2i}}{2i}$ at $z=-i$. this seems fair enough but i can't decide where to put my contour so as to enclose them both. the reside theorem tells me they will integrate to $-\pi$ if i can get them both inside the contour which is probably a good aim consdiering the next part of the question is to show

$\int_0^{\infty} \frac{\log{x^2+1}}{x^2+1}dx=\pi \log{2}$

so
(i) where do i put the contour
(ii) how can i evaluate the next part given that my complex integral is in terms of z's and the one i want is in terms of x^2's so it isn't as simple as taking the real part after i use Jordan's lemma on teh semi circle is it?

thanks

Can you double check that wrote down the problem down correctly, both the first and second parts? Things just seem a little off, maybe not though.

There are a few things.
1) Why is the point z=-i a pole of order 2 and not 1?
2) The countour you will need is $\Gamma = \gamma_R + [-R,-1/R] +\gamma_{1/R} + [r,R]$, where $\gamma_R = Re^{it},\,\gamma_{1/R} = -e^{-it}/R$ and $R>0,\,t\in[0,\pi]$. You'll let $R\to\infty$, and note that $1/R\to0$. Look at the second contour in the below figure.

You need such a contour because you need $\log z$ to be an analytic branch of the logarithm, for example the branch that deletes 0 and the negative imaginary axis.
3) The way to do such an integral is:
\begin{align*} \lim_{R\to\infty} \int_\Gamma f(z) \,dz &= \lim_{R\to\infty} \left( \int_{\gamma_R} f(z)\,dz + \int_{-R}^{-1/R} f(x)\,dx + \int_{\gamma_{1/R}} f(z) \,dz + \int_{1/R}^R f(x)\,dx \right) \\ 2\pi i \sum_{z_k\in \Gamma} \text{Res}\, (f;z_k) &= \int_{-\infty}^0 f(x)\,dx + \int_0^\infty f(x)\,dx + \lim_{R\to\infty} \left( \int_{\gamma_R} f(z)\,dz + \int_{\gamma_{1/R}} f(z) \,dz \right) \\ \end{align*}
The integrals left over on the right are usually shown to tend to zero as $R\to\infty$ or are evaluated otherwise.
4) You don't need all the poles of f(z) to be inside $\Gamma$. You just worry about the ones that are as $R\to\infty$.
5) Also, if f(x) is even then
$$\int_{-\infty}^0 f(x)\,dx + \int_0^\infty f(x) \,dx = \int_{-\infty}^\infty f(x) \,dx = 2\int_0^\infty f(x) \,dx$$

#### Attachments

• Contour_750.gif
4.8 KB · Views: 428
it is meant to be log(z+i) and log(x^2+i)

you say we need log to be holomorphic so we deleted zer but our contour still contains the negative real axis?

with such a contour, i would only have the simple pole's contribution

i said we had a double pole at z=-i because initially when i went for a simple pole and started evaluating the residues, i got something divided by 0 (which usually means you've missed an order of your pole doesn't it?) so i assumed that log wouldn't be holomorphic at z=-i either and that made it a double pole and the residue calculation then worked fine

can you comment on these three points please

Yo have to avoid the beanch point singularity of the Log (which is not a regular "pole"). The only way to do that is to split Log(x^2+1):

Log(x^2 + 1) = Log[(x+i)(x-i)] = Log(x+i) + Log(x-i)

Then you split up the integral in two parts. For each part you use a different contour. The part containing the Log(x+i) has the branch point singularity at z = -i, so you put the semi-circle above the real axis and for the integral containing the Log(x-i), you put the semi circle below the real axis.

Now, you can also evaluate only one of the two integrals and take twice the real part, because the integral of Log(x-i)/(x^2 + 1) will be the complex conjugate of the integral of Log(x+i)/(x^2 + 1).

This is then a bit similar to evaluating the integral of sin(x)/x using contour integration. You can just replace sin(x) by exp(i x), take the contour with the semi circle in the upper half plane and then take the real part of the final result. But in more complicated cases, simply taking the real part may not work. The general method is to write
sin(x) as [exp(ix) - exp(-ix)]/(2 i), split up the integral in two parts and then take different contours for the two parts.

## 1. What is the purpose of integrating the function \frac{\log{z+i}}{1+z^2} around a semi-circular contour?

The purpose of this integration is to evaluate the value of the contour integral, which can be used to solve various mathematical problems and applications in physics, engineering, and other fields.

## 2. What is a semi-circular contour?

A semi-circular contour is a path that follows the shape of half a circle. In this context, it is used as the boundary for the area over which the integration is performed.

## 3. Why is the function \frac{\log{z+i}}{1+z^2} used for this integration?

This particular function is chosen for integration because it is a complex-valued function that has a branch cut along the real axis, making it suitable for contour integration. It also has singularities at z = -i and z = i, which are important for determining the value of the integral.

## 4. What is the process for integrating \frac{\log{z+i}}{1+z^2} around a semi-circular contour?

The process involves breaking up the contour into smaller segments, evaluating the integral along each segment, and then combining the results using the Cauchy's Integral Theorem. This involves calculating the residues at the singularities and taking into account the orientation of the contour.

## 5. What are some real-world applications of integrating \frac{\log{z+i}}{1+z^2} around a semi-circular contour?

This type of integration is commonly used in physics and engineering to solve problems involving complex variables, such as calculating electric field or fluid flow around a curved boundary. It can also be used in signal processing and image analysis to extract information from complex-valued data.

• Calculus and Beyond Homework Help
Replies
1
Views
515
• Calculus and Beyond Homework Help
Replies
3
Views
777
• Calculus and Beyond Homework Help
Replies
13
Views
1K
• Calculus and Beyond Homework Help
Replies
26
Views
3K
• Calculus and Beyond Homework Help
Replies
8
Views
1K
• Calculus and Beyond Homework Help
Replies
14
Views
2K
• Calculus and Beyond Homework Help
Replies
6
Views
1K
• Calculus and Beyond Homework Help
Replies
1
Views
602
• Calculus and Beyond Homework Help
Replies
4
Views
1K
• Calculus and Beyond Homework Help
Replies
10
Views
1K