The Dirichlet hyperbola method gives , where . The harmonic number estimate , with the Euler's constant, yields . Substitution of gives the displayed asymptotic expansion. Comparison of with its integral consequently gives for integer .
The Gamma reflection formula gives , analytic at zero with value one. A finite-parameter Watson's lemma representation of Ramanujan's function therefore gives the displayed coefficients. In particular , and , with Euler's constant. Obtaining this representation requires taking an imaginary part before sending its Mellin exponent to zero; the original complex integral is divergent at that boundary.
For fixed and , the factor is a translated Gumbel distribution cumulative function, with transition near . Integration by parts transforms the integral to an exponentially small boundary term plus . Expanding the latter against its finite logarithmic moments gives the displayed two terms because , with Euler's constant. The smooth cutoff shifts the first correction even though replacing it by a step gives the leading tail.
Put and integrate by parts using . The exponential cutoff has derivative , so the endpoint at infinity vanishes and the lower endpoint gives
With this becomes
The mass of the transformed integral lies at , where
To control this asymptotic expansion, split at and . On the central interval the geometric-series remainder is bounded by , whose integral against is finite. The lower tail has length and denominator at least ; the upper tail is exponentially small in , with the original denominator at least one. The omitted tails of the logarithmic moments are likewise negligible. Thus extending the moments to is justified.
The Gamma function gives , and the first logarithmic moment is , with Euler's constant. Therefore
This is the moving Gumbel cutoff in an inverse-power tail: replacing the original cutoff by a sharp step at gives the first term, but its smooth transition supplies the Euler-constant correction.
The relevant boundary values are and , but the original complex integral defining requires . Substituting zero into it is invalid: its real part has a nonintegrable singularity near zero. Its imaginary part is different, since for positive
This has a finite limit as . On , , whose displayed logarithmic denominator makes the integral finite; at infinity, a fixed upper bound on and exponential damping provide an integrable dominator. Thus dominated convergence gives .
For the asymptotics, take the imaginary-part parameter identity before passing to that limit, with a fixed . Its endpoint factor converges to
by the Gamma reflection formula. Near zero, is bounded uniformly for small , because the sine zero compensates the gamma pole. At , the remainder integral itself remains absolutely convergent at and is . Consequently
The endpoint function is analytic with value one, so Watson's lemma proves the logarithmic expansion of Ramanujan's function
In particular, with Euler's constant,
This use of imaginary-part regularization at a zero Mellin exponent matters: the positive- coefficient in part (b) is always zero, whereas the boundary endpoint function has . The fixed-positive-parameter expansion is not uniform as , so its coefficients cannot simply be sent to that boundary term by term.
Let and . Choose the synchronous gauge rest frame of cold dark matter, so . Its continuity equation then gives . Substitution in the trace Einstein equation gives
For radiation in cosmology the continuity and Euler equations are and . Differentiate the first, eliminate and , and obtain
radiation in cosmology pressure supplies the acoustic restoring term while its energy density contributes twice as strongly to the trace gravitational source through .
Deep in radiation domination, , , and . At long wavelengths , the adiabatic initial conditions require . The cold-matter equation reduces to
A power gives . The regular growing solution therefore has
The other adiabatic solution diverges as and is discarded for the regular primordial growing mode. The relation between the density contrasts fixes their relative entropy to zero, not their subsequent equality inside the acoustic horizon.
One can also solve the leading radiation-era equations explicitly, which proves that the same regular mode develops logarithmic cold-matter growth after horizon entry. Put . The first equation gives . Substituting in the second gives
Define
Its useful derivative is . Direct differentiation verifies the fourth-order equation and gives the associated radiation in cosmology solution:
At zero, and , so this is precisely the regular adiabatic radiation-era cold-dark-matter transfer solution with . The other indicial behaviors of the fourth-order equation are ; they are either nonadiabatic at leading order or singular and do not add another regular growing adiabatic mode.
For , the integral is , where is the Euler's constant and the cosine integral. Its oscillatory tail cancels the explicit leading term, giving
Thus the requested late sound-horizon behavior is
An additive constant in is absorbed into the reference ; the regular adiabatic solution fixes the acoustic phase, with in the explicit time-origin convention above. A general acoustic mixture has both terms. The physical expansion parameter is ; comparisons with describe the same long- and short-wavelength regimes up to fixed numerical factors.
The contrast grows much more slowly after entry during radiation domination: radiation in cosmology undergoes pressure-supported acoustic oscillations and cold matter only the logarithmic Mészáros effect. Modes entering well before matter-radiation equality consequently have suppressed late amplitudes relative to modes that stay outside the horizon until near equality. After matter domination begins, pressureless growing modes can grow as . This scale-dependent history produces the turnover and small-scale suppression of the matter transfer function and affects the initial conditions for large-scale structure of the universe. The early subhorizon limit requires both and ; it is not applicable to a mode that enters only in the matter domination.
Write and let be the Identity for Dirichlet convolution. The Möbius function uses the empty-product convention ; the Von Mangoldt function has . We first establish all the arithmetic function identities needed below. Every integer divisor of contributes one to , so . If has distinct prime factors, the squarefree divisors correspond to their subsets and
At the sum is one. Thus . Writing , the only divisors with nonzero Von Mangoldt function are , and hence
The Dirichlet convolution is commutative by replacing with , and associative because either bracketing sums over . Consequently
These are consequences of the definitions, rather than unproved invocations of Möbius inversion.
To identify the constant, integrate on each interval :
The tail is , since the integrand is at most for . Summation therefore gives , where is the harmonic number, and . Thus this is Euler's constant.
Put . Counting pairs of positive integers whose product is at most , and subtracting the square counted twice, gives the Dirichlet hyperbola method identity
Since , the harmonic number estimate yields
The increasing natural logarithm also satisfies by comparison with its integral. Subtracting proves
For the second implication, denote the Mertens function by and the Second Chebyshev function by . Apply the proved Dirichlet convolution identities to :
Summing this identity over integers up to gives the exact relation
Fix an integer . The contribution to from has absolute value at most
For , group by . This gives exactly
under the assumed cancellation ; extending that assumption from integers to real uses . Therefore . Letting proves the prime number asymptotic from Mertens cancellation:
Change independent variable from proper time to the scale factor. Then and . Under radiation domination, and . Since , the linear matter perturbation growth equation becomes
Putting gives
This keeps the matter self-gravity term in a radiation-dominated background. It is not an exact background equation through radiation-matter equality.
At , neglecting that small term gives . Integration yields
Thus matter has at most logarithmic growth during this leading radiation approximation, together with a constant independent mode. The constant is non-growing, not a mode that literally falls as ; that power belongs to rather than .
For an increasing/decreasing basis of the displayed equation with matter self-gravity retained, put . Its equation becomes . Hence
The Modified Bessel function of the first kind gives , which increases slowly. The Modified Bessel function of the second kind gives , where is Euler's constant; this mode decreases as increases. Their leading span is precisely the constant/logarithmic pair above. Mode labels depend on the chosen basis and normalization; no rapid matter-era growth occurs here. Neglected background corrections can change subleading terms, so the Bessel basis should not be extrapolated through equality.
Use the principal complex logarithm in the upper half-plane. Deform the interval upward into a half-strip: the vertical side at zero is traversed upward, and the side at one downward. The top side vanishes exponentially; a small indentation at zero contributes and vanishes. Thus the contour deformation gives the exact representation, for ,
Since , scaling and using the integral defining Euler's constant gives
For the second endpoint, . Watson's lemma, or integration of these powers against with an exponentially small tail, yields
In particular the required first terms are
The two different endpoint scales come from the logarithmic singularity at zero and the simple zero of the amplitude at one.
The expansion is singular near the moving lower limit, so expanding throughout the original integral would lose its constant term. Introduce the symmetric exponential integral
Under , the discarded piece becomes
This is a uniform Taylor expansion because . To derive the logarithmic expansion of a symmetric exponential integral without needing another special function, first exploit the same substitution to write
The estimate follows from . Here is Euler's constant and the small-argument expansion of the exponential integral fixes the constant as well as the logarithm.
Differentiate under the integral and integrate the derivative of over ; the exponentially small endpoint terms vanish. This gives the ordinary differential equation
For the Frobenius method at its regular singular point, write . Substitution gives and . The preceding leading calculation sets , , hence
Subtracting the moving-cutoff correction to a symmetric exponential integral yields the requested answer, including the logarithmically enhanced first-order term:
Thus the switchback term must be retained when asking for all contributions through order .