The reason we chose this contour is that it necessarily avoids the inevitable singularity of the logarithm at 0, and it includes inside of it, the pole of the function <math>f(z)=log(z)/(1+z^2)</math>. By Cauchy's residue theorem, we have <math>I:=\int_{\Gamma(r,R)}f(z)\,dz</math>= <math>2\pi i</math> times the residue of the [[pole]] at <math>z=i</math>. This is easily calculated, and it is equal to <math>\pi/4</math>. Thus, the integral evaluates to <math>\pi^2 i/2</math>. | The reason we chose this contour is that it necessarily avoids the inevitable singularity of the logarithm at 0, and it includes inside of it, the pole of the function <math>f(z)=log(z)/(1+z^2)</math>. By Cauchy's residue theorem, we have <math>I:=\int_{\Gamma(r,R)}f(z)\,dz</math>= <math>2\pi i</math> times the residue of the [[pole]] at <math>z=i</math>. This is easily calculated, and it is equal to <math>\pi/4</math>. Thus, the integral evaluates to <math>\pi^2 i/2</math>. |