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.
Let . This is the complete elliptic integral of the first kind in parameter notation; the modulus used in some definitions is . Near the endpoint, gives
Use matched asymptotic expansion with an intermediate cutoff satisfying . Away from the endpoint the leading integral is
while the endpoint integral is
Adding them removes the arbitrary cutoff and gives the logarithmic endpoint asymptotic of the complete elliptic integral
The order of the next term is therefore , rather than merely . More explicitly, if ,
The logarithmic correction arises from the next terms integrated through the overlap. Its coefficient can also be found by substituting into the Gauss hypergeometric equation satisfied here, , giving , .