Gravitational wave signals from early matter domination: interpolating between fast and slow transitions

An epoch of matter domination in the early universe can enhance the primordial stochastic gravitational wave signal, potentially making it detectable to upcoming gravitational wave experiments. However, the resulting gravitational wave signal is quite sensitive to the end of the early matter-dominated epoch. If matter domination ends gradually, a cancellation results in an extremely suppressed signal, while in the limit of an instantaneous transition, there is a resonant-like enhancement. The end of the matter dominated epoch cannot be instantaneous, however, and previous analyses have used a Gaussian smoothing technique to account for this, and consider only a limited regime around the fast transition limit. In this work, we present a study of the enhanced gravitational wave signal from early matter domination without making either approximation and show how the signal smoothly evolves from the strongly suppressed to strongly enhanced regimes.

Primordial curvature perturbations, such as those produced by inflation, produce GWs at second order in perturbation theory [11].The signal strength of these perturbations depends on the cosmological history of the universe, particularly through the gravitational potential.During an MD epoch, the gravitational potential does not decay, even on subhorizon scales, in contrast to a radiation-dominated (RD) epoch.Consequently, the metric perturbations sourced at second order by the primordial curvature perturbations are enhanced as compared to the RD scenario.
Such an early MD epoch can occur if the energy density of the universe is dominated by either heavy quasi-stable objects or a rapidly oscillating, but decaying, scalar field.Heavy objects can be motivated in extensions of the Standard Model (for example, moduli fields [14][15][16][17]), as part of a dark sector (for example, [18][19][20]), or as extended objects, including primordial black holes [21,22] and non-topological solitons [23,24].Currently, there are no constraints on the existence or duration of such an epoch, provided that it ended before nucleosynthesis [25].
Since an early MD epoch can arise in such a varied array of models [21][22][23][24][26][27][28][29][30][31][32][33][34][35][36][37][38][39][40][41] (for a review, see ref. [42]), detailed studies of the associated GW signal are necessary.In particular, scenarios may differ in how rapidly the early MD epoch ends.Two limits have been wellstudied in the literature, that of a slow transition (as compared to the Hubble time) [13] and that of an instantaneous transition [12].The resulting GW signals are quite different: in the fast transition limit, there is a resonant-like enhancement (known at the poltergeist mechanism [21]); not only is this absent in the slow transition, but it is in fact replaced with a suppression.This naturally leads to the question of how to interpolate between these two regimes.This has been explored in the literature by smoothing the resonant enhancement with a Gaussian distribution of primordial black holes or Q-balls [21,24], but a preferable approach would be to fully account for the finite duration of the reheating transition.We present such an analysis in this work.
Our paper is arranged as follows.In section 2 we outline our approach, beginning with a brief review of the formalism for calculating the induced GWs.We continue by outlining how we achieve an end to the early MD era that interpolates between the gradual and sudden regimes using a time dependent decay rate.We conclude the section by explaining our treatment of the scale factor, Green's function and perturbations, highlighting the need for numerical calculations.In section 3 we present our calculation of the GW spectrum for varying transition duration, highlighting the disappearance of the resonant-like peak as the transition becomes more gradual as well as demonstrating the unphysical nature of oscillations in the spectrum seen in previous analysis of the gradual case [13].In section 4 we present our conclusions.We also give some technical details of the numerical methods we used to achieve accurate results in appendix B.

Modelling end of early matter domination
In this section we outline the procedure for computing the power spectrum of GWs induced from curvature perturbations.We then explain how we model a period of early matter domination that ends in a variable time frame via a parameterised, time dependent decay rate.
We work in the conformal Newtonian gauge with the perturbed metric where a is the scale factor of the background FLRW metric, the conformal time η = dt/a(t), Φ and Ψ are the first order scalar perturbations and h ij are the tensor perturbations induced at second order.We neglect anisotropic stress, which implies Ψ = Φ, which we refer to as the gravitational potential.Throughout the paper we will use primes to denote differentiation with respect to conformal time η.Assuming a Gaussian distribution for the curvature perturbations, the power spectrum of GWs arising from scalar perturbations is given by [11,[43][44][45] where the overline denotes an oscillation average over time.The power spectrum of curvature perturbations is given by with A s = 2.1 × 10 −9 being the amplitude at the pivot scale, n s = 0.97 the spectral tilt, and k * = 0.05Mpc −1 the pivot scale, where we take all of these values from ref. [46].We will also at times consider the scale invariant case with n s = 1.The cutoff k max should be taken to be the wavenumber of the mode that re-enters at the start of the MD era or the non-linear scale, whichever is smaller.The application of linear perturbation theory is valid for k max ≤ 470/η R [9,13] where η R is the time at which the universe transitions from the MD to RD era.(The specific definition of η R in the case of a gradual transition will be clarified below; we note that the time when the energy densities are equal may generally be different.) To remain consistent with previous literature [12,13] we conservatively take k max = 450/η R .Further, the time dependence of the GWs is encapsulated in where the Green's function G k is the solution to the GW equation of motion The source function is given by the expression where the equation of state is denoted by w, Φ is the transfer function of the gravitational potential, normalised so that Φ(x → 0) = 1, and H = a ′ /a is the conformal Hubble parameter. 1inally, from the power spectrum, we can derive the GW abundance Because previous analyses, whether of a rapid or slow transition, used piecewise approximations about η R for the scale factor, Green's function and gravitational potential [12,13,21], they decomposed the GW signal into three parts: one sourced from the RD era, one sourced from the MD era, and a cross term.In the rapid scenario, the spectra is dominated by contributions sourced in the RD era, as the gravitational potential is matched at the reheating time with no decay.In the case of a gradual transition, the contributions from the RD and MD eras are very similar, so the cancellation due to the cross term is severe.We are interested in intermediate cases between the two extremes.Although in our analysis we will avoid any piecewise approximations by numerically evolving the scale factor, Green's function and gravitational potential, we will still decompose our results into these components in Section 3 when we compare our results to previous work.
To model a reheating transition in the intermediate regime between gradual and rapid, we propose a time dependent decay rate with a parameter β that controls the speed at which the matter evaporates.Specifically we choose a decay rate of the form, While this decay rate is centred at the time η Γ , the reheating transition will commence at time η R when the decay becomes efficient compared to the Hubble rate Γ ∼ H. Consequently,  (2.11) in black is contrasted to the instantaneous approximation eq.(2.12) in dashed red and dotted blue for the two choices of η R as discussed in the text.The errors shown are the fractional errors in the each fit compared to the numerical computation, given by |a−a f | a to have a rapid decay with Γ ≫ H, it is necessary to have a time-evolving decay rate which rapidly increases.
In more detail, we note that η R depends not only on η Γ but also β and Γ max .For small enough β, the transition will occur during the rise of tanh, in a region where the decay rate is not changing rapidly, resulting in a gradual transition.Therefore, for fixed η Γ , decreasing β shifts the transition to earlier times.The extreme limit of this is β = 0/η R for which the decay rate becomes constant.In the other limit, as β → ∞, the decay rate approaches a step function which, given a large enough Γ max such that Γ(η Γ ) ≫ H, describes a rapid transition where all of the matter evaporates approximately instantaneously at η Γ .
The matter energy density ρ m , the radiation energy density ρ r and the scale factor a will evolve according to the coupled Friedmann and continuity equations with our variable decay rate inserted as follows [47] ρ ′ m = −(3H + aΓ(η))ρ m (2.9) where M Pl = 1/ √ G is the Planck mass.In the solid black curve of figure 1 we show the scale factor obtained from the Friedmann equations for a gradual transition with constant decay rate.We see that it continuously evolves between the MD and RD regimes.In contrast, we introduce an analytic fit a f , valid for an exactly instantaneous transition which is constructed so that a f and its first derivative are continuous at η R .Fits like this one have often been used in studies of GWs at second order, even in the case of gradual transitions (e.g. in ref. [12,13,21]).The fit has two free parameters a f (η R ) and η R which are to be determined by fitting onto two points of our numerical solution.Note that a f (η R ) need not be the same as a(η R ).In fact enforcing this would make one of the points we fit to be in the middle of the transition which we find results in a poorer overall fit.Since a definite transition time η R is a property of an instantaneous transition, when fitting to our smooth numerical calculation, different prescriptions for choosing η R can impact the error in the fit.The two different methods we use are as follows.
In the red dashed curve of figure 1 we compute η R and a f (η R ) by fitting to one point early in the MD era and another late in the RD era.This captures the asymptotic behaviour in both eras, and as a result the calculation of η R is a good estimate for the time at which the universe transitions from being MD to RD. Henceforth, when we refer to η R we use this method to compute it.However, due to the gradual nature of the transition we see that this approach has as much as an eight percent error during the transition and the fit is poorer during the RD era.
Alternatively we perform the fit using two points in the RD era, where the fit is purely linear.Specifically the first point is taken when ρ r = 10 4 ρ m and the second much later, at the point where we stop integrating.This is shown in the dotted blue curve of figure 1.We see that the fit is very good during the RD era, with the actual size of the error being of order 10 −7 , while being more than 10% during the MD era.This fit will be useful for calculating an analytic expression for the perturbation Φ during the RD era.From here on we use η RD to indicate the value of η R in eq.(2.12) resulting from this approach.
We highlight that while we make some use of the fits, we do so in a way such that the errors introduced by their use are negligible.The fit in the red dashed curved of figure 1 is only used to estimate the time of the transition η R .This only enters the calculation when defining the non-linear cut-off scale k max and when breaking the result down into contributions sourced from the MD era and those from the RD era.The other fit is only used for the analytic expression for the gravitational potential late in the RD era after its relative error has dropped below 10 −7 .During the MD era and the transition itself, when the error in the fits is largest, our calculation is fully numeric.We note that this discussion has all been in the context of the gradual transition limit for which these issues are the most pronounced.As the transition becomes more rapid, eq.(2.12) agrees better with the numerical solution.
Calculating the signal also requires the Green's function.Equation (2.5) can be solved analytically in the MD and RD regimes, and it is common in the literature to define a piecewise Green's function, changing between the two expressions at η R .This is done even in the analysis of gradual transitions, e.g.ref. [13].We improve on this by instead using a numerical solution for the Green's function which accurately captures the behaviour during the transition.As we discuss below, we found that this eliminated unphysical oscillations (in frequency) in the resulting signal, which are present in the results of ref. [13].In our approach, we numerically evolve eq.(2.5) in η, from η, with initial conditions since we are looking for the retarded Green's function.At sufficiently late times, we match onto the solution since in the RD limit a ′′ vanishes.(Note that we always take η ≫ η R ; that is, we assume the GWs are observed significantly after the MD epoch has ended.)This decomposition is primarily useful for analytically performing the oscillation average in eq.(2.2).We perform the matching at the time η G defined as which is motivated by the observation from eq. (2.5) that the RD limit is valid when k 2 ≫ a ′′ (η)/a(η).Thus, when η > η G we simply use the RD Green's function Our results below indicate that the abrupt change in the piecewise definitions of the Green's function produces unphysical oscillations in the signal, and we note that this matching necessarily introduces similar abrupt changes.We have defined η G in eq. ( 2.15) so that the resulting oscillations induced in the spectra are negligible.
For each value of k we sample and interpolate G over η densely enough so that the integral in eq.(2.4) can be performed accurately.Since the Green's function depends only on k, and not u or v, we can reuse the calculation for each point sampled in the integrals of eq.(2.2).
The predominant computational complexity in calculating the induced GWs comes from evolving the gravitational potential.This involves solving a coupled differential equation for the gravitational potential, energy density perturbations δ m/r , and velocity divergences θ m/r of matter and radiation respectively.To allow for as direct a comparison as possible with references [12,13] we choose to evolve the perturbations in the Newtonian gauge.This causes complications for a time dependent decay rate, as the presence of Φ in (2.1) causes time to not be synchronised with the matter.Reference [21] deals with this by solving for the perturbations in the synchronous gauge, with coordinates comoving with the matter, before transforming to the Newtonian gauge to calculate the induced gravitational wave spectrum.We instead transform the synchronous gauge equations in [47] to the Newtonian gauge while including the time dependence of the decay rate.Neglecting anisotropic stress of radiation, the perturbations for a given wavenumber k evolve as (2.17) where the additional Γ ′ terms arise in the transition to Newtonian gauge, due to the nontrivial time-dependence of Γ.These terms were not included in [12], although as noted above a time-dependent decay rate is necessary to have a transition with Γ ≫ H.The derivation of these equations may be found in appendix A. We evolve these equations forward in time from the initial conditions By taking Φ 0 = 1 we effectively solve for the transfer function.
We compare solving this system of equations numerically to the approximations used in the literature.First, in the gradual case [13], the oscillatory period was neglected as the gravitational potential decayed significantly.In place of a numerical solution, the following fit, which is k independent, was used (2.23) Because we include the oscillating tail, our analysis is not k independent and must be solved for each wave number, which increases the computational time.This is especially pronounced because if the k dependence is neglected, then f and I become independent of u and v. Consequently, I factors out of the integral in eq.(2.2).For the sudden case [12], conversely, the gravitational potential experiences no decay, instantaneously switching from a constant solution during the MD era to an oscillating solution with large amplitude at η R .In this case the spectrum is almost entirely sourced by the RD component and we will see below that an analytic solution exists both for Φ and I during the RD era.This means that their analysis completely avoids the expensive step of evolving the perturbations and the remaining integral for the power spectrum eq.(2.2) depends only on analytic functions of u and v.
Our approach, as we describe below, is to numerically solve for the gravitational potential Φ before matching onto a late time analytic solution.In figure 2 we show the time dependence of the gravitational potential, calculated numerically, for wavenumber k = 100/η R in the case of a rapid transition in blue and a gradual transition in dashed orange.As expected, during the MD era Φ remains constant before experiencing some period of decay and then beginning to oscillate.The amount of decay depends on how rapid the transition is, as we see that in the rapid limit the potential experiences no decay, whereas in the gradual limit it decays by roughly ten orders of magnitude.In both cases, the potential continues to oscillate and decays at a slower rate during the RD era.
The oscillations during the RD era complicate the numerical integration over η in eq.(2.4).These oscillations are crucial in the rapid scenario, as they give rise to the resonant poltergeist peak [12].To capture this behaviour we numerically evolve the perturbations during the transition, but once δ r comes to dominate the last term in eq.(2.21) we match onto an analytic solution.We define the time η osc at which we match onto the analytic solution to be when and as such it will depend both on k and the suddenness of the transition β.
We now describe the analytic solution that we match onto.It makes use of the fact that, away from the transition, the evolution of Φ in a single component fluid is described by [48] Φ ′′ + 3(1 + w)HΦ ′ + wk 2 Φ = 0, ( where, in this case, H is evaluated from the analytic approximation in eq.(2.12), as we are away from the transition.During the RD era this has the solution where J and Y are defined in terms of the spherical Bessel functions, j 1 (x) and y 1 (x), where we have defined η RD above.The coefficients A(k, η osc ) and B(k, η osc ) are given by imposing continuity of the solution and its derivative at η osc .We see that during the RD era the amplitude of the potential decays as which we use to normalise the error in the analytic solution as |Φ−Φ A |/Φ amp , which is shown in the lower panel of figure 2. We only show the error for η > η osc when we actually use the analytic solution, where η osc ≈ 4.4η R in the gradual case and η osc ≈ η R in the rapid.While we enforce a relative error of 10 −11 in the ODE solver, we find that the error in the approximation is significantly larger than this, for the gradual case being of order 10 −4 .This is because we neglect the term ρ m δ m in equation (2.21) which is of order 10 −4 times the dominant term ρ r δ r at η osc by definition.The error is much better in the rapid case as the ρ m δ m term simply decays away faster due to the sharp turn on of the decay rate.
There is a balance between setting η osc late enough that the ρ m δ m term is truly negligible but also early enough to avoid spending too much time accurately integrating the ODE for an oscillating solution.Since the main purpose for transitioning to an analytic expression is Time dependence of the gravitational potential Φ for wavenumber k = 100/η R .The evolution for a rapid transition with β = 3000/η R in blue is contrasted with that of a gradual transition with β = 0/η R in dashed orange.The error is that of the analytic approximation during the RD era defined as |Φ − Φ A |/Φ amp with Φ amp as defined in eq.(2.29).We note that η osc differs in the rapid and graduate cases, explaining why the error appears at different times.
evaluating the integral for I in eq.(2.4), the error in the amplitude translates directly to the error in I.The reduced accuracy in the gradual case is offset by the more than ten orders of magnitude suppression by the time oscillations begin, making their contribution to the integral negligible.
The reasoning for using the analytic expression at late times is two-fold.Firstly, as discussed above, finding an accurate numerical solution for Φ during the oscillations is computationally expensive.Utilising the analytic expression takes roughly a quarter of the time it would take to numerically integrate the ODE over the time ranges shown in figure 2. Secondly, due to the oscillations, it would be difficult to perform the integral for I, in eq.(2.4), numerically.The analytic expression Φ A admits an analytic integral for I.We evaluated this integral (using Mathematica) and, after transforming the integration variable to x = k(η − η RD /2) we found our result is consistent with that of appendix A of ref. [11] making the substitutions and taking the limit x 2 → ∞.The factors of 9/10 in A and B are due to ref. [11] having normalised Φ to unity during the RD era.
Finally, once we have solved for I, we find the GW signal by performing the integrals in eq.(2.2).The details of this integration can be found in appendix B, along with other details on our numerical techniques.We note that in this final integral we allow up to 5 percent error, as this is sufficient precision to compare with the gradual and rapid limits from previous work and make qualitative statements about the spectra and potential detectability.
It is useful for comparing back to phenomenological scenarios to derive a relationship between conformal time η and temperature T valid during the RD era [49].From the Friedmann equations we have aH a eq H eq = a a eq ρ 2ρ γ,eq (2.35) where the subscript eq denotes evaluation at the late matter radiation equality time and ρ γ is the photon energy density.Near the reheating transition it is adequate to use eq.(2.12) which, during the RD era, gives aH = (η − η R /2) −1 .Assuming entropy conservation g s,eq a 3 eq T 3 eq = g s a 3 T 3 where g s is the number of relativistic degrees of freedom of entropy.We reduce the ratio of energy densities by taking ρ ∝ gT 4 where g is the effective number of relativistic degrees of freedom of radiation.Taking a eq H eq = k eq = 0.01041 Mpc −1 [46,50] gives We calculate T eq = T 0 (1+z eq ) = 0.801 eV from the current CMB temperature T 0 = 2.7255 K [51] and the redshift z eq = 3411 [46].Finally taking g eq = 3.38 and g s,eq = 3.94 [52] we obtain (2.37) We use this both to evaluate the reheating temperature, as well as to match our evolution of the Friedmann equations, eqs.(2.9) to (2.11), onto the standard RD era for η ≫ η R .
After the gravitational potential source decays away enough, the GW energy density parameter Ω GW comes to be constant during the RD era.For reference, we define the time at which Ω GW becomes constant to be η c .The GWs will evolve further during the late MD era with the present value of the energy density parameter given by [12] Ω GW (η 0 , k) = 0.39 g(η c ) 106.75 where Ω r,0 is the present value of the radiation energy density parameter and η 0 is the current conformal time.This also takes into account the change in the effective relativistic degrees of freedom g between when the GWs were sourced and now.

Results
In this section, we will present the results of our improved calculation.
Our main results are presented in figures 3 and 4, which show our numerical calculations of the GW spectra induced from a scale invariant curvature spectrum for a variety of matterradiation transition speeds.In figure 3, for each value of β we we set η Γ such that the transition occurs at η R = 1.164 × 10 −9 Mpc, corresponding to a reheating temperature T R = 100 GeV.We also set Γ max = 500Γ R , where Γ R = 1.590 × 10 −14 GeV is the constant  decay rate that produces a transition at η R , to ensure that for large β the matter evaporates rapidly when the decay turns on.In contrast figure 4 demonstrates the same GW spectra for a different choice of the decay rate parameters.In this case we set Γ max = 7.948×10 −12 GeV, the same as before, and fix η Γ = 1.164×10 −9 Mpc so that the rapid limit is the same between the two plots.Now η R is no longer fixed and as β decreases, the transition shifts to earlier times.The parameters of figures 3 and 4 are summarised in tables 1 and 2 respectively.In addition to characterising the transition in terms of β we can also compare the duration in regular time, τ , directly to the Hubble rate at matter radiation equality, H(η eq ).This gives us a more intuitive quantity to compare real models to, for example, in a gradual transition τ H ∼ 1 whereas a phase transition can complete with τ H ∈ (10 −4 , 10 0 ).We can compute τ from the conformal time We define the initial and final times η i and η f from the comoving matter energy density ρ m (η)(a(η)/a(η MD )) 3 , where η MD is the start of the MD era.The start of the transition η i is defined as when one percent of the matter has decayed and the end η f is when only a factor of 1/e remains.
. GW power spectrum induced from a scale invariant power spectrum (n s = 1).We fixed η Γ in eq.(2.8) to produce a transition occurring at T R = 100 GeV.The curves are labelled by the value of β.We compare our results to the rapid limit from ref. [12] in dashed black and the gradual limit from ref. [13] in solid black.
. GW power spectrum induced from a scale invariant power spectrum (n s = 1).We fixed η Γ = 1.164 × 10 −9 Mpc in eq.(2.8) so that the most rapid transition occurs at T R = 100 GeV.The curves are labelled by the value of β.We compare our results to the rapid limit from ref. [12] in dashed black and the gradual limit from ref. [13] in solid black.
Figures 3 and 4 are motivated by different cosmological model-building motivations: if a model has heavy matter whose decay is uncertain, then figure 4 may be more useful.On the other hand, if one is building a model by imposing a transition at a specific time, adjusting the type or amount of heavy matter, then figure 3 may be most useful.Both figures share the same qualitative features, however, demonstrating how the signal evolves between the slow and fast limits.
For comparison, the dashed, black curves in both figures show the rapid limit, constructed from the analytic approximation to the large scale (small k/k max ) and resonant peak contributions to the spectrum, derived in the appendix of ref. [12].Similarly, the solid, black curve denotes the gradual limit reconstructed from ref. [13] using their approximate fits to the scale factor, equation of state and gravitational potential.We see excellent agreement with our numerical code in the rapid limit with the nearly coincident blue and orange curves (k = 3000/η R and k = 500/η R respectively) perfectly matching the analytic approximation in the regions for which it is valid, both in the broad low k/k max regime of the spectrum, as well as at the resonant peak.For the short scale part of the spectrum (large k/k max ) away from the peak, they diverge from the approximate rapid limit because our result is a complete computation of the spectrum.This is consistent with the numerical results from ref. [12] which similarly diverge from the approximation in this region.We include both the orange β = 500/η R curve and the blue β = 3000/η R curve to demonstrate that by β = 500/η R we have effectively converged to the rapid limit.The agreement is less precise in the gradual case, with the olive curve (k = 0) matching the overall scaling of the dashed curve for large k, but differing at small k.We also see that our analysis does not have the oscillations at large k values.Both of these will be discussed below.
A noteable difference between the curves plotted in figure 3 and figure 4 is that when η Γ is fixed, η R varies, and thus the time scale at which the transition occurs changes.Similarly, k max is different for each curve and the spectrum is shifted to higher frequencies for earlier η R .This dependence of η R and k max on β is summarised in table 2. However, since the spectrum is a function of k/k max this is not immediately evident from figure 4.
The most important feature of these results is demonstrating the evolution of the resonant-like peak (the so-called poltergeist effect) as the matter-radiation transition time increases.First, we see that the peak does exist for finite β, and therefore it is not a numerical artefact of any of the step functions used in the analyses of ref. [12].We see that as the duration of the transition increases, the entire spectrum becomes suppressed as would be expected.In fact we see that the red curve (corresponding to β = 50/η R ) is already suppressed by roughly three orders of magnitude compared to the rapid limit.This corresponds to a transition duration of roughly τ H = 8.64 × 10 −2 , demonstrating that to achieve the theoretical maximum strength signal, the transition needs to be faster than O(0.01) of the Hubble time.
In addition to this, the resonant peak broadens, which can be seen particularly in the β = 3000/η R and β = 500/η R lines, which are nearly coincident to the right of the resonant peak.The resonance can be understood as the amplification of GWs that are comoving with the sound waves produced in the plasma after the sudden transformation of matter into radiation.When the transition is spread out over a small time, the sound waves exist in a frequency band, amplifying a range of comoving GWs and broadening the peak.However, if the transition time is sufficiently long, then the overdensities dissipate instead of sourcing sound waves.
Next we discuss the gradual limit, and in particular, the differences between our analysis   and ref.
[13] that we mentioned above.For β ≲ 10/η R (the brown curve and below) we see that for large enough k/k max the spectra converges to the gradual limit.The significant suppression at large k was previously noted in the literature [13], which has been understood as arising from the cross term in I 2 when I is broken into MD and RD contributions, The GW spectrum itself can then be decomposed into a term from the RD era (sourced by I 2 RD ), a term from the MD era (sourced by I 2 MD ) and a cross term (sourced by 2I MD I RD ), that is Since we numerically evolve all relevant quantities, and therefore don't use piecewise expressions for the scale factor, Green's function and gravitational potential, we do not need to decompose the signal into these components.However, to facilitate comparison to ref. [13], we have identified the corresponding contributions in our analysis (using β = 0/η R ), and the results are shown in figure 5.
We see that for k ≳ 0.03k max each contribution is comparable in magnitude with Ω MD ≃ Ω RD ≃ −Ω cross /2 such that the resulting signal is many orders of magnitude smaller than any individual contribution.To understand why the cross term cancels so precisely, we note that in the large k/k max regime, the gravitational potential undergoes significant decay before it oscillates with suppressed amplitude.Therefore, the contribution from the RD era Ω RD is nearly entirely sourced during the regime in which Φ is rapidly decreasing, before it even begins to oscillate.This is also the regime with the most significant contribution to the mixed term, as the matter density has not entirely disappeared yet.

Gradual Limit
Numerical Piecewise G k Numerical Figure 6.GW power spectrum comparing the gradual limit for different levels of approximation.
The solid black curve shows the limit reproduced from ref. [13] with an instantaneous approximation for a and the Green's function.The dash-dotted blue curve show our numerical result if we were to use the same piecewise approximation for the Green's function as in ref. [13].Lastly the dashed orange curve shows our fully numerical results.
This cancellation particularly demonstrates the importance of numerical precision in these calculations, and as can be seen in figures 3 and 4 our results in the large k/k max regime are in agreement with version 3 of ref. [13] 2 .
Quite crucially though, once the power spectrum has converged to the gradual limit it does not oscillate with k as it does in the results from ref. [13].We observe that the oscillations in k have a period of 2π/η R , indicating their origin is from the matching between the MD and RD eras.These oscillations arise both from discontinuities in the second derivatives of a and f as well as from the piecewise treatment of the Green's function.This can be seen in figure 6, which shows that if we use our numerical solution for the scale factor in place of eq.(2.12) (but retain the piecewise approximation for the Green's functions) the oscillations are suppressed, and then if we further replace the approximate Green's function with our numerical solution they are absent.As such, our signals are free of the oscillatory artefact and highlight the true characteristic of the signal from a gradual transition.
As we mentioned, we also find that our numerical results differ considerably from the gradual limit for small k/k max , converging to the olive β = 0/η R curve.This is due to the gradual limit employing a fit to Φ valid for k ≳ 30/η eq , where η eq is the matter-radiation equality time of the transition in question (see eq. (3.10) and following discussion in ref. [13]).By numerically evolving Φ we do not face the same restriction and are able to account for oscillations in Φ during the MD era that become large for small k.This is evident in figure 5 where we see that Ω RD comes to dominate the spectrum for small k.
We also observe that for finite-duration transitions, the GW signal at large k/k max The GW signal induced from a transition at T R = 100 GeV with a realistic curvature power spectrum as in eq. ( 2.3).The signals are labelled by the value of β.We see only the β = 500/η R and β = 100/η R spectra would be detectable at LISA.We compare to sensitivity curves of future GW experiments for LISA observing for four years [6], the Einstein Telescope observing for one year [49,53,54], the Cosmic Explorer [55], DECIGO with three units observing for one year [53,56], THEIA observing for twenty years [57,58] and SKA [59].
converges to the slow transition regime faster than the GW signal at lower k/k max .This is also a consequence of the gravitational potential undergoing significant decay before it oscillates with suppressed amplitude at large k/k max , which as explained above leads to the precise cancellation between components.Physically, at these scales the matter overdensities have time to dissipate during the extended matter-radiation transition period and do not source the sound waves that resonantly enhance the GWs.In figure 7 we show the GWs signals induced during transitions at T R = 100 GeV of varying speeds by a realistic curvature spectrum as in eq.(2.3) with A s = 2.1 −9 and n s = 0.97 [46].We contrast these with the sensitivities of upcoming GW experiments.We see that for a transition at 100 GeV, LISA is the applicable detector and would only be sensitive to β ≳ 100/η R which correspond to transitions with duration τ H ≳ 4.490 × 10 −2 .Since the tilt of the curvature power spectrum is very close to one, as we move to different reheating temperatures, the peak frequency will change but the amplitude of the spectrum will remain fairly constant.Additionally changes in the effective degrees of freedom g c will also influence the amplitude of the spectrum, but this is only a small effect, scaling by a factor of O(1) at most.As such, only SKA and THEIA would be able to probe more gradual transitions with β ≳ 50/η R and τ H ≳ 8.641 × 10 −2 occurring with reheating temperatures around T R ∼ 1 MeV.Other interferometers will perform similarly to LISA, being sensitive to transitions with duration τ H ≳ 4.490 × 10 −2 , with DECIGO probing reheating temperatures around T R ∼ 30 TeV and the Einstein Telescope and Cosmic Explorer probing T R ∼ 10 6 GeV.
Finally, we contrast our approach with those of references [21,24].In these works, the finite width of the transition is included only via a normalisation factor S in the gravitational potential Φ, which describes the suppression of Φ before its oscillation.This suppression is determined by a numerical fit, parameterised by a Gaussian parameter σ which describes the mass distribution of the black holes or Q-balls.Their analysis uses piecewise expressions for the scale factor, Hubble parameter, and Green's function.In contrast, in our analysis we have replaced all three with smoothly varying expressions.Because of this, no further normalisation factor is needed in Φ; its decline can be observed in the gradual line in figure 2. Because we consider a tanh decay profile to interpolate between fast and slow transitions, as opposed to a Gaussian distribution of decaying matter, it is difficult to compare our results directly; there is no direct equivalence between β and σ values.We note, however, that figure 6 of ref. [21] shows a resonance peak for all σ values, whereas we clearly see the resonance disappear as the transition time increases.This is to be expected as they explicitly note that they only consider mass distributions sufficiently small that the MD and cross terms in eq.(3.3) are negligible.Therefore, this is the first work to explore the intermediate regime between the rapid and gradual transitions.

Concluding remarks
The GW signal from an early MD epoch has attracted a great deal of interest, particularly as new GW detectors are designed.Detailed calculations of finite-duration transitions between matter and radiation domination are necessary, particularly because a fast transition shows a resonant peak while a slow transition displays a very precise cancellation.In this work we have calculated the GW signal carefully for these intermediate transitions, avoiding all step-function approximations, whether in the scale factor or Green's function.Our results show that the GW signal interpolates between the instantaneous limit and the gradual limit quickly enough that there is reason to be optimistic about the prospects of distinguishing between different sources of matter domination.Ultimately, one might be able to reconstruct three features of the scenario responsible for an equation of state: when the period of matter domination began, how long it lasted and how quickly it transitioned to radiation.
In this work, we have used eq.(2.8) to interpolate between the fast and slow transition regimes.Of course, physical scenarios, such as those with primordial black holes or Q-balls, will not have a tanh profile.We leave extending this analysis to these physically motivated scenarios for future work, as the calculation of the equivalent of eq.(2.8) is complicated due to gauge effects between the synchronous and Newtonian gauges.

Figure 1 .
Figure1.The time dependence of the scale factor in a gradual transition.The numerical solution to eq. (2.11) in black is contrasted to the instantaneous approximation eq.(2.12) in dashed red and dotted blue for the two choices of η R as discussed in the text.The errors shown are the fractional errors in the each fit compared to the numerical computation, given by |a−a f | Figure 2. Time dependence of the gravitational potential Φ for wavenumber k = 100/η R .The evolution for a rapid transition with β = 3000/η R in blue is contrasted with that of a gradual transition with β = 0/η R in dashed orange.The error is that of the analytic approximation during the RD era defined as |Φ − Φ A |/Φ amp with Φ amp as defined in eq.(2.29).We note that η osc differs in the rapid and graduate cases, explaining why the error appears at different times.

Figure 5 .
Figure 5.The GW signal Ω GW for a transition with β = 0/η R decomposed into contributions from the MD and RD eras and the cross term.
MP was supported by an Australian Government Research Training Program (RTP)scholarship and a Monash Graduate Excellence scholarship (MGES).CB acknowledges support from the Australian Research Council via the Discovery project DP210101636.