futurebird said:
Can't was use a Parametrization to avoid all of this?
I think you mean "Can't we use the (semicircle) contour to avoid all of this?"
The answer, as far as I know, is
no. The beautiful theorems of complex analysis generally require, at the very least, that your integrand to be analytic on all the contours of interest.
The idea you are trying to apply here is the fact that semicircle
S (oriented counterclockwise) + the diameter (oriented left to right) is a simple closed curve. So if your integrand
f(z) is analytic everywhere inside and on this curve, you have:
\oint_S f(z) \, dz + \int_{-1}^{1} f(z) \, dz = 0.
The problem is that our integrand is
not analytic everywhere on our curve, so this theorem doesn't directly apply. You need
both the big semicircle of radius 1, and you need a little contour near the origin that skirts around the singularity there.
You might write the integral like this:
\int_{-1}^{1} \log z \, dz =<br />
\lim_{(a, b) \to (0^-, 0^+)} \int_{-1}^a \log z \, dz + \int_b^1 \log z \, dz
and then evaluate the integral by using the big semicircle and a little curve that goes from a to b, but passes above the origin, and always stays within the little semicircle of radius \max\{a, b\}.
(You can apply deformation of contour to show that we can assume
a = b, and then use an actual semicircle for the little contour)
If you do this, then your integrand
is analytic everywhere it needs to be, because we've really and truly avoided the origin.