Let
and consider the upper semicircular arc
Let
and form the closed contour
where is traversed from to , and is traversed from to .\
Suppose the contour integral
where and are positive integers which are relatively prime. Find .
[THOUGHT] To compute the contour integral of over the upper semicircular arc , we can use two approaches: direct parametrization of or leveraging the closed contour . Since is entire, the integral over the closed contour is zero. Thus, the integral over is the negative of the integral over .
First, compute the integral over (the real line segment from to ):
Therefore, the integral over is .
To verify, parametrize as for . Then:
The integral becomes:
Evaluating the integral:
Thus, the integral over is:
Both methods confirm the result. The fraction has and , which are coprime. Therefore, .
[/THOUGHT] [PYTHON]
Calculate the integral over L
from sympy import symbols, integrate
x = symbols('x') integral_L = integrate(x**2, (x, -5/2, 5/2)) result = -integral_L print(result) [/PYTHON]
[THOUGHT] The Python output is , which equals . Here, and are coprime, so . [/THOUGHT]