Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2005/iii/paper-79/1/a/i/solution

Let be the complementary modulus of the complete elliptic integral of the first kind. With , write the integrand as . Its logarithmic endpoint asymptotic of the complete elliptic integral comes from ; an expansion at fixed alone misses the constant accompanying the logarithm.
Choose an intermediate cutoff . In the endpoint region, the integral is
Outside this region, the leading integral is
The arbitrary cutoff cancels in this matched asymptotic expansion, leaving
These are the divergent logarithm and the finite constant, the requested first two terms. If terms are instead grouped by powers of the complementary modulus, the next refinement is ; its coefficients agree with the DLMF expansion.

New to topics? Read the docs here!