1 Introduction

During the last two decades Cosmology has experienced a great improvement in the theoretical and observational scopes. The discovery of an accelerated Universe, a fact supported by several observations [1, 2], has developed a flourishing of new ideas that deal with the intriguing current speed up. The simplest explanation consists into invoking a new component in the Universe named DE as the responsible of the current acceleration [3]. Among the vast amount of DE models, those where the null energy condition is violated are coined as phantom [4,5,6,7]. In these class of models, the equation of state (EOS) parameter of DE, \(w_{\text {d}}\) (the ratio between pressure and energy density of DE), stays always below \(-1\). Despite some energy conditions are not satisfied, phantom DE models seem to be favoured by observations [8,9,10,11,12,13,14,15,16,17].

It is known that most phantom DE models predict future singularities. As we have already mentioned in the introduction section, we focus on three genuine phantom models where each of them induce a particular future doomsday known as BR, LR, and LSBR (see [4,5,6, 18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33] for a detailed description of the respective models). We recall that no matters if a true singularity or an abrupt event takes place, all the bound structures in the Universe are torn away and destroyed.

All the models mentioned above can be understood as alternatives to the widely accepted \(\Lambda \)CDM paradigm, and therefore, good models to describe suitably the current Universe. An appropriate fitting of the parameters involved could make these models indistinguishable among them at the background level. Therefore, it becomes necessary to address the cosmological perturbations as well.

Observables as for example, the matter power spectrum and the growth rate provide useful data about the distribution of matter. Unfortunately, in most of the cases the imprints of different DE models on such observables are insignificant. Therefore, important efforts have been made to improve the accuracy of the observations, particularly, focusing on scrutinising the DE sector as it is the case of Euclid mission [34, 35].

The squared speed of sound parameter, \({c}_{s}^2\), is another important variable that plays a key role on cosmological perturbations. It is well known that DE models with a negative \({c}_{s}^2\) parameter induce instabilities at the perturbation level. To avoid those instabilities, in [36, 37] the authors consider a non-adiabatic contribution on the pressure perturbations. This method lead to separate the adiabatic speed of sound, \(c_a\); which depends on the EoS, and the rest frame speed of sound (often coined as the effective speed of sound), \(c^{2}_s\); which is regarded as a free parameter.Footnote 1 Several works have addressed the issue of pressure decoupling in different DE models. For example, in [38] the authors study the implications of a time varying speed of sound in quintessence models. In [39] the authors analyse the effects of a varying effective speed of sound parameter on the matter perturbations for a DE content described by a scalar field. A recently introduced pretty interesting approach consists on modelling the effective speed of sound as a function of the EoS parameter i.e. \({c}_{s}^2= {c}_{s}^2 (w)\). For example, in [40] the authors show how to reconstruct the Lagrangian (in particular, for those models with a purely kinetic term) starting from a known \({c}_{s}^2 (w)\) function and address several approaches for a range of different DE models. In particular, the so called effective field theory of DE consists on a Lagrangian description of the cosmological perturbations [41]. The effective speed of sound parameter will be given by the fundamental Lagrangian, therefore, this formalism could be potentially efficient to check the validity of DE models and fitting the DE speed of sound parameter. In [42], the authors consider a model with a constant EoS parameter and estimate the corrections on the growth index when changing \(c_{s}^2\). On the other hand, in [43] it is considered a DE model with an affine EoS. Then, the results obtained when fixing \(c_{s}^2=0\) and \(c_{s}^2=1\) are compared. A further analysis on the effective speed of sound parameter is performed in [44], where the authors consider the contribution of matter (Baryonic and dark matter (DM)), photons and neutrinos to get, for example, a probability distribution for the \(c_{s}^2\) value. In [45], a new class of DM-DE interacting models is identified. The authors study the implications of a varying effective speed of sound on the Cosmic Microwave Background (CMB) and the matter power spectrum.

An interesting extension of the widely studied DE models consists in considering the effects of anisotropy and viscosity. In [46] the authors address the effects of viscosity on the CMB and matter power spectrum for a Generalised Chaplying Gas and models with a constant EoS parameter (both standard and phantom type DE matter). Then, the obtained results are compared against the effects that a non-vanishing effective speed of sound could induce. Furthermore, in [47] the authors analyse the effects of a viscosity bulk within a modified gravity scenario endowed with the general action f(RT) and perform a test to check the validity of the studied models. The impact of the non adiabatic perturbations have been studied for example in [48, 49]. In [48], the authors address a particular parametrisation of DE considering a linear combination of the intrinsic and entropy perturbations. In the recent work [49], aside the non-adiabatic perturbations the non-vanishing anisotropic stress tensor is regarded as well. Here, the authors use both analytical and numerical solutions of the growth rate to compare with the latest observational data. On the other hand, in the recent work [50], the authors use machine learning computation methods to reconstruct the relevant perturbation parameters including those involved with the anisotropic effects, pointing out a way to detect imprints of anisotropies on a wide range of DE models. As it is shown in [46, 50], when considering such anisotropies the DE sound speed could be negative without inducing instabilities at the perturbation level as long as the effective speed of sound parameter stands positive.

A model that has gained some attention recently is the so called Early Dark Energy (EDE) model, which has been shown to be slightly favoured by observational data. This model simply consists on considering a small but not negligible DE presence at early stages of the Universe (for example, before the matter-radiation decoupling time) which could induce significant footprints on the structure formation [51, 52]. Following this new research line the relevant model parameters were observationally constrained together with the \(c_{s}^2\) parameter in [53] and considering the additional viscosity speed of sound parameter in [54]. Other models have been observationally constrained in order to fit a value for \(c_{s}^2\). For example, in [36, 55] the authors use the temperature fluctuations of the CMB dataset to set the value of the speed of sound. In [56] the authors measure the effects of DE clustering on the large scale structure using CMB and the galaxy clustering cross correlation data. On the other hand, in [57] the author analyse the effects of DE clustering on the structure formation at large scales and forecast the upper bounds on the DE speed of sound parameter to distinguish among DE models. In [58], the authors study the structure formation and constrain a CPL model with a free effective speed of sound parameter. Significant results could be obtained using the large neutral Hydrogen surveys as it has been shown in [59, 60], where the authors highlight the potential of the square kilometre array to constrain DE models. In view of the upcoming Euclid mission, several works forecast the necessary accuracy in order to discriminate between different DE models. For instance, in [61] the authors compute the sensitivity of the photometric and spectroscopic surveys for measuring the speed of sound and viscosity parameters.

In this work, we consider a Universe filled with radiation, matter and DE components, where the latter is described by three different phantom models. We have focused our attention on the models coined, in the present work, as model A, model B and model C since they share the common feature that their induced singularities and abrupt events (BR, LR and LSBR respectively) are genuinely phantom, that is, they only occur if and only if a phantom type of component is present. We address the scalar cosmological perturbations following the method of pressure decomposition for DE [36, 37]. We set the initial conditions as done in [62, 63] where the physical value of the total matter density contrast, \(\delta _{\mathrm{phys.}}(k)\), for a single field inflation is taken from Planck data 2018 [64]. On the other hand, the background parameters are fixed following [65]. After imposing adiabatical conditions for scales larger than the horizon at the beginning, the physical value of \(\delta _{\mathrm{phys.}}(k)\) is the last condition needed to ultimately fix all the initial numerical values. We analyse the phenomenological effects of changing the effective speed of sound on the perturbations. We emphasise that a complete constraint of the parameters should involve both, the background parameters and the \(c^{2}_{s\text {d}}\) parameter at the perturbation level. However, we are not interested in constraining \(c^{2}_{s\text {d}}\) but in the phenomenological effect of varying it. Therefore, we set the background parameters following [65] and then, we compute the perturbations considering, as the simplest choice, a constant value of \(c^{2}_{s\text {d}}\) inside the interval \(\left[ 0,1\right] \). In addition, we compute the relative differences on observables by evaluating the matter power spectrum and \(f\sigma _8\) growth rate. Finally, we study the behaviour of the gravitational potential on large scales and large scale factors as compared with current one.

The paper is organised as follows, In Sect. 2 we briefly review the background of the models inducing the BR, LR, and LSBR events. In Sect. 3 we present the obtained results and in Sect. 4, we present the main conclusions. Finally, in the “Appendix 1” we show in detail the pressure decomposition into its adiabatic and non-adiabatic contributions.

2 Background models

In this section, we introduce the background of three genuine phantom DE models. Each of this models induce a particular abrupt event known as; Big Rip (model A), Little Rip (model B) and Little Sibling of the Big Rip (model C). We start by considering an isotropic and homogeneous Universe, where the geometry is given by the Friedman–Lemaître–Robertson–Walker (FLRW) space-time metric:

$$\begin{aligned} ds^{2}=-dt^{2}+a^{2}\left( t\right) \left[ dx^{2}+dy^{2}+dz^{2}\right] . \end{aligned}$$
(1)

We have considered the case of a spatially flat Universe in agreement with observations [17]. Therefore, the Friedmann and Raychaudhuri equations are written as follows

$$\begin{aligned} H^2=\frac{8\pi G}{3}\rho \,, \end{aligned}$$
(2)
$$\begin{aligned} \dot{H}=-4\pi G\left( \rho +p\right) , \end{aligned}$$
(3)

where G is the gravitational constant, \(\rho \) is the total energy density of the Universe, while p is likewise the total pressure. We assume that each component is independently conserved, therefore, the conservation equation reads

$$\begin{aligned} \dot{\rho }_{\ell } + 3H\left( \rho _{\ell }+p_{\ell }\right) =0, \end{aligned}$$
(4)

where, \(\ell =\text {r},\text {m},\text {d}\) stands for radiation, matter and DE, respectively. In consequence, the Friedman equation can be written as

$$\begin{aligned} {\begin{matrix} H^{2}=H_{0}^{2}\Bigl [\Omega _{\text {r}0}a^{-3\left( 1+w_{\text {r}}\right) }+ \Omega _{\text {m}0} a^{-3\left( 1+w_{\text {m}}\right) } +\Omega _{\text {d}0}f_{\text {j}}\left( a\right) \Bigr ] \end{matrix}} \end{aligned}$$
(5)

where H is the Hubble parameter, a is the scale factor and the parameters \(\Omega _{\ell 0}\) (\(\ell =\text {r},\text {m},\text {d}\)) are the current fractional energy densities of the aforementioned components. The subindex 0 denotes the values at present time. From now on, we will adopt \(a_{0}=1\). In order to avoid repetitions on the notation, the scale factor will be denoted simply by a. While the EoS parameters for radiation (\(w_{\text {r}}=1/3\)) and matter (\(w_{\text {m}}=0\)) are constant, it can be scale dependent in the case of DE. The contribution of DE to the total energy budget can be expressed by means of the dimensionless function \(f_{\text {j}}\left( a\right) \), where the subindex j refers to the selected model (j=A,B,C).

The set of parameters corresponding to each models are fixed by using the constraints obtained in the work [65]. The necessary parameters to totally describe the background models are: The current fractional energy densities of radiation and matter, \(\Omega _{\text {r}0}\) and \(\Omega _{\text {m}0}\); the current Hubble parameter, \(H_0\) (cf. table III in [65]). While to get the perturbations we need: The root mean square mass fluctuations amplitude in spheres of size 8 \(\text {h}^{-1}\text {Mpc}\), \(\sigma _8\); the amplitude of the scalar perturbations as predicted for single field inflation, \(A_s\), and the spectral index, \(n_s\). These later parameters are fixed by Planck data (cf. table 17.18 in [64]).

We understand that the differences between background models mostly lie on the \(f_{\text {j}}\left( a\right) \) function, while we expect to find footprints of different DE models, (i) at present, in such a way that they could be useful to distinguish between different DE models, and (ii) in the far future, where such deviations between DE models become larger and enhance some features of each particular DE model.

2.1 Model A: BR singularity

The BR singularity can be induced by a DE content characterised by the following EoS [4,5,6, 18,19,20,21,22],

$$\begin{aligned} p_{\text {d}}=w_{\text {dA}}\rho _{\text {d}}, \end{aligned}$$
(6)

where \(w_{\text {dA}}\) is a constant and smaller than \(-1\). Solving the conservation equation we get the expression for the corresponding \(f_{\text {A}}\left( a\right) \) function in Eq. (5)

$$\begin{aligned} f_{\text {A}}\left( a\right) =a^{-3\left( 1+w_{\text {dA}}\right) }. \end{aligned}$$
(7)

2.2 Model B: LR abrupt event

The model B induces a LR abrupt event [23,24,25,26,27,28,29,30] and can be identified by having the following EoS for DE content [25, 27]

$$\begin{aligned} p_{\text {d}}=-\rho _{\text {d}}-\mathcal {B}\sqrt{\rho _{\text {d}}}, \end{aligned}$$
(8)

where \(\mathcal {B}\) is a positive constant which has the dimension of an inverse squared length. This model can be understood as a deviation of the widely known \(\Lambda \)CDM paradigm. Notice that for a vanishing parameter \(\mathcal {B}\) the \(\Lambda \)CDM model is recovered. Solving the conservation equation we get the corresponding \(f_{\text {B}}\left( a\right) \) function for model B [23,24,25,26,27,28,29,30],

$$\begin{aligned} f_{\text {B}}\left( a\right) =\left[ 1+\frac{3}{2}\sqrt{\frac{\Omega _{\text {B}}}{\Omega _{\text {d}0}}}\ln \left( a\right) \right] ^2, \end{aligned}$$
(9)

where the parameter \(\mathcal {B}\) is reabsorbed in the dimensionless parameter \(\Omega _{\text {B}}\equiv \left[ \left( 8\pi G\right) /\left( 3H_{0}^{2}\right) \right] \mathcal {B}^{2}\). This class of abrupt event suffers from all the divergences prevalent in a BR singularity but driven at infinite cosmic time. Therefore, we consider a LR less harming that a BR.

2.3 Model C: LSBR abrupt event

This model induces a LSBR abrupt eventy and it is distinguished by having the following EoS [31,32,33]

$$\begin{aligned} p_{\text {d}}=-\rho _{\text {d}}-\frac{\mathcal {C}}{3}, \end{aligned}$$
(10)

where \(\mathcal {C}\) is a positive constant. The smaller is \(\mathcal {C}\), the closer is the model C to \(\Lambda \)CDM. Solving the conservation equation we get the corresponding expression of \(f_{\text {C}}\left( a\right) \) for model C [31],

$$\begin{aligned} f_{\text {C}}\left( a\right) =1+\frac{\Omega _{\text {C}}}{\Omega _{\text {d}0}}\ln \left( a\right) , \end{aligned}$$
(11)

where the constant \(\mathcal {C}\) is absorbed in the new parameter \(\Omega _{\text {C}}\equiv \left[ \left( 8\pi G\right) /\left( 3H_{0}^{2}\right) \right] \mathcal {C}\). The model C induces the abrupt event known as LSBR. In this kind of abrupt event, the scale factor and the Hubble parameter diverge at infinite cosmic time while the first cosmic time derivative of the Hubble parameter is finite. We regard the LSBR as the less harming abrupt event among those induced by phantom scenarios.

3 Results: the effect of the speed of sound

In the following, we present the results obtained for the cosmological perturbations evolution and for the three models addressed in this paper. We remind that in order to set the model parameters we have used those obtained in our previous work [65]. We compute the evolution of the matter density contrast and peculiar velocities, from well inside the radiation dominated epoch,Footnote 2\(a\sim 2.65\times 10^{-6}\), till the far future, \(a\sim 1.62\times 10^{5}\). We perform the integrations for the following six particular modes

  • small k (large distances): \(k_{1}=3.33\times 10^{-4}\text {h Mpc}^{-1} \) and \(k_{2}=1.04\times 10^{-4}\,\text {h Mpc}^{-1}\).

  • medium k (intermediate distances): \(k_{3}=3.26\times 10^{-3}\,\text {h Mpc}^{-1}\) and \(k_{4}=1.02\times 10^{-2}\,\text {h Mpc}^{-1}\).

  • large k (short distances): \(k_{5}=3.19\times 10^{-2}\text {h Mpc}^{-1}\) and \(k_{6}=1.00\times 10^{-1}\,\text {h Mpc}^{-1}\).

The minimum mode, \(k_{1}\), coincides with the current Hubble horizon, i.e. no smaller mode can be detected. On the other hand, we consider as maximum mode, \(k_{6}\), where the linear approximation breaks down and the non-linear contributions become important.

3.1 Matter power spectrum and \(f\sigma _{8}\)

We have computed the current matter power spectrum and the growth rate \(f\sigma _{8}\), testing the effective squared speed of sound from 0 to 1 in steps of 0.2. In this process, the numerical integration was repeated for 200 modes ranged from \(k_1\) to \(k_6\).

Fig. 1
figure 1

The left panel of this figure represents the matter power spectrum while the right panel shows the evolution of \(f\sigma _{8}\) in terms of the redshift z. All models with different values of \(c^{2}_{\text {sd}}\) give an almost identical result, so the curves appear completely overlapped and their differences are negligible

Fig. 2
figure 2

These plots represent the relative deviation with respect to the result given when \(c^{2}_{s\text {d}}=1\). The top, middle and bottom panels correspond with the models A, B and C, respectively. The left panels show the results for the matter power spectrum as a function of the mode. The right panels show the results for \(f\sigma _8\) in terms of redshift, z. Different values of \(c^{2}_{s\text {d}}\) are coloured as; \(c^{2}_{s\text {d}}=0\) (black), \(c^{2}_{s\text {d}}=0.2\) (red), \(c^{2}_{s\text {d}}=0.4\) (orange), \(c^{2}_{s\text {d}}=0.6\) (purple) and \(c^{2}_{s\text {d}}=0.8\) (blue). The plots are represented in a logarithmic scale, in such a way that dashed lines correspond with negative values while solid lines represent positive values

Figure 1 shows the current matter power spectrum and the evolution of \(f\sigma _{8}\) predicted by the models. These results are in agreement with observations but does not allow to distinguish any deviation for different models. In addition, the effects of a varying speed of sound turn out to be almost undetectable since the results appear totally overlapped. Therefore, in order to give an account of the contrast, we compute the relative deviation with respect to \(c^{2}_{s\text {d}}=1\).

As it is shown in the left column of Fig. 2, the relative differences (with respect to \(c^{2}_{s\text {d}}=1\)) on the matter power spectrum are negative for the smallest modes and positive for the largest ones. The transition occurs in a narrow interval around the wave number \(k\sim 1.8\times 10^{-3} \text {h} \ \text {Mpc}^{-1}\). The separation obtained for a vanishing speed of sound parameter is remarkable. First, looking at small modes, the deviations are constant, the larger is the deviation from \(c^{2}_{s\text {d}}=1\) the larger is such a constant. Secondly, looking at the larger modes, the deviation is constant for vanishing \(c^{2}_{s\text {d}}\) parameters while such deviation vanishes for non vanishing \(c^{2}_{s\text {d}}\) parameters.

Something similar happen for \(f\sigma _8\) results. As it is shown on the right panel of Fig. 2, the relative difference for a vanishing effective speed of sound parameter show an important separation with respect to the results given for a non-vanishing \(c^{2}_{s\text {d}}\) parameter. Conversely, the deviation is positive for the smallest redshifts and negative for the largest ones. The transition occurs at \(z\sim 0.85\) for a vanishing \(c^{2}_{s\text {d}}\) and at \(z\sim 1\) for non-vanishing \(c^{2}_{s\text {d}}\). Such transition point is slightly affected depending which DE model is considered. In addition, contrary to what happens for the matter power spectrum, in \(f\sigma _8\) the deviations goes to a constant for both large and small modes. As expected, such a constant is larger the larger is the deviation from \(c^{2}_{s\text {d}}=1\).

The largest deviations are of the order \(10^{-3}\) for both the matter power spectrum and \(f\sigma _8\) evolution. So we conclude that no significant footprints appear on the matter distribution when changing the effective speed of sound. In fact, the most relevant effects of a varying effective speed of sound are clearly manifested in the DE sector.

3.2 DE perturbations

Figure 3 shows the evolution of the matter density contrast of DE for different models and ranges of \(c^{2}_{s\text {d}}\). We remind that due to the phantom nature of DE models, the adiabatic condition imposed at the early Universe implies that the DE perturbations are negative [63, 66].

Fig. 3
figure 3

These plots show the evolution of DE density contrast for different models and different values of \(c_{s\text {d}}^{2}\). The panels of the first, second and third row correspond with the model A, B and C, respectively. The panels of the first, second and third columns correspond, respectively, to the values of the squared speed of sound \(c_{s\text {d}}^{2}=0\), \(c_{s\text {d}}^{2}=0.2\) and \(c_{s\text {d}}^{2}=1\). The plot is drawn as a function of \(x=\ln \left( a\right) \) which goes from well inside the radiation dominated epoch, \(x^{\star }=-12.84\), to the far future, \(x=12\). Each colour corresponds to a particular value of the wave-number k: \(k_1=3.33\times 10^{-4}\,\text {h Mpc}^{-1}\) (purple), \(k_{2}=1.04\times 10^{-4}\,\text {h Mpc}^{-1}\) (dark blue), \(k_{3}=3.26\times 10^{-3}\,\text {h Mpc}^{-1}\) (light blue), \(k_{4}=1.02\times 10^{-2}\,\text {h Mpc}^{-1}\) (green), \(k_{5}=3.19\times 10^{-2}\,\text {h Mpc}^{-1}\) (orange) and \(k_{6}=1.00\times 10^{-1}\,\text {h Mpc}^{-1}\) (red)

Figure 3 shows the evolution of DE density contrast for different models and values of \(c_{s\text {d}}^{2}\). We realise that the effect of varying \(c^{2}_{s\text {d}}\) is minimal for values larger than 0.2, i.e., inside the interval \(\left[ 0.2, 1\right] \). Hence, we just show the results for \(c_{s\text {d}}^{2}=0\), \(c_{s\text {d}}^{2}=0.2\) and \(c_{s\text {d}}^{2}=1\). As can be seen in the first column of Fig. 3 (i.e. for a vanishing \(c^{2}_{s\text {d}}\) parameter), once the modes enters the horizon, the perturbations increase up to three orders of magnitude in the case of the largest mode and around two orders of magnitude for the medium size modes. All the growing modes reach a maximum at present time (\(x=0\), where \(x=\ln \left( a\right) \)) and decay during the later DE domination era. That is; once the modes enters the horizon they grow, and then, when they exit the horizon, the perturbations decay evolving towards a negative constant.Footnote 3 This is not the case of the smallest modes, we should bear in mind that such small modes have recently entered the horizon and are the first exiting it, so the smallest modes do not experience important deviations.

For a \(c^{2}_{s\text {d}}=0.2\), the growth of DE perturbations is strongly suppressed in the matter domination era. During this epoch, the largest modes (\(k_5\) and \(k_6\)) decay and reach a plateau while the medium sized modes (\(k_3\) and \(k_4\)) experience a small growth. When DE starts dominating, the perturbations decrease up to three orders of magnitude for the largest modes and one order of magnitude for the medium sized modes. The smallest modes (\(k_1\) and \(k_2\)) do not seem to be significantly affected.

For a value of \(c^{2}_{s\text {d}}=1\), the resulting plot is very similar to the one when \(c^{2}_{s\text {d}}=0.2\). The main difference consists on the total suppression of the growing perturbations during the matter dominated epoch. Once again, the perturbations decay when the corresponding mode enters the horizon and evolve to a negative constant after exiting the horizon.

In summary, DE perturbation are strongly affected near vanishing values of \(c^{2}_{s\text {d}}\) parameter and mostly, for large modes. On the contrary, small modes do not show significant deviations. We should bear in mind that due to the change of the acceleration of the Universe (from a negative to a positive acceleration stage) the smallest modes are the last entering the horizon and the first exiting it, therefore, such modes have not enough time to be significantly affected.

On the other hand, it is possible to find important deviations between the different models, mostly, in the early Universe where radiation dominates over the other components. We set the initial value of DE matter density contrast, \(\delta _{\text {d}}^{\star }\) (where the script \(^{\star }\) denotes the initial value) through the adiabatic condition [3].

$$\begin{aligned} \frac{\delta ^{\star }_{\text {r}}}{1+w^{\star }_{\text {r}}}=\frac{\delta ^{\star }_{\text {m}}}{1+w^{\star }_{\text {m}}}=\frac{\delta ^{\star }_{\text {d}}}{1+w^{\star }_{\text {d}}}. \end{aligned}$$
(12)

Taking into account that we have used in all the models the same value of the current radiation fractional energy, \(\Omega _{\text {r}0}\), and that the current matter fractional energy is almost the same in the three paradigms analysed, \(\Omega _{\text {m}0}\simeq 0.3\), it is worthy to point out the next approximation relating the initial DE perturbations of the different models

$$\begin{aligned} \frac{\delta ^{\star }_{\text {d,A}}}{1+w^{\star }_{\text {d,A}}}\simeq \frac{\delta ^{\star }_{\text {d,B}}}{1+w^{\star }_{\text {d,B}}}\simeq \frac{\delta ^{\star }_{\text {d,C}}}{1+w^{\star }_{\text {d,C}}}. \end{aligned}$$
(13)

Given the model parameters used in this work [65], the EoS parameters at the beginning (deep inside the radiation era) read

$$\begin{aligned} w^{\star }_{\text {d,A}}=-1.027, \,\, w^{\star }_{\text {d,B}}=-1.050, \,\, w^{\star }_{\text {d,C}}=-1.320. \end{aligned}$$
(14)

Therefore, the relation of the initial DE perturbation between the different models is roughly

$$\begin{aligned}&12 \delta ^{\star }_{\text {d,A}}\simeq \frac{13}{2} \delta ^{\star }_{\text {d,B}}\simeq \delta ^{\star }_{\text {d,C}}. \end{aligned}$$
(15)

As can be seen the larger is the deviation from \(-1\) of the initial EoS parameter, the larger is the initial DE density contrast. This explains the large initial amplitude for model C. Similarly, in the case of model B it can be observed a weak decay, while in model A, on the contrary, it is almost constant. Despite the large deviation given by these DE models in the early Universe, the amplitudes are strongly suppressed during the late-radiation dominated epoch and matter domination era, in such a way that different models predict very similar results at present time, and therefore, no significant deviations should be expected at a future cosmic time.

3.3 Evolution of the gravitational potential

Aside from DE perturbations analysis, we found some deviations on the evolution of the gravitational potential. We remind that in our phantom models the gravitational potential evolves asymptotically to a positive constant, which is not the case of a \(\Lambda \)CDM or standard DE models, where the gravitational potential evolves towards a vanishing or a negative constant [66]. Since no relevant differences are observed for the different models, we just present the results corresponding to model A. The left panel of Fig. 4 shows the gravitational potential evolution for a vanishing effective speed of sound parameter. As can be seen, at a particular scale factor the gravitational potential flips the sign. We can notice that the gravitational potential evolution is almost unaffected by changing \(c_{s\text {d}}^2\) from the early time till present. However, in the far future some differences merge.

Fig. 4
figure 4

The left panel of the above figure presents the evolution of the gravitational potential divided by its initial value, \(\Psi ^{\star }\). These results correspond to model A and choosing a vanishing effective speed of sound \(c^{2}_{s\text {d}}=0\). The vertical dashed line corresponds to radiation-matter equality, \(x\sim -8.24\), while the solid gray vertical line denotes the matter-DE equality, \(x\sim -0.27\). The range and the numerical value of the modes for different colours are the same as those used in Fig. 3. The right panel shows the asymptotic value of the gravitational potential in terms of \(\log (k)\) for five different values of the effective speed of sound parameter: \(c^{2}_{s\text {d}}=0\) (black), \(c^{2}_{s\text {d}}=0.2\) (red), \(c^{2}_{s\text {d}}=0.4\) (orange), \(c^{2}_{s\text {d}}=0.6\) (purple), \(c^{2}_{s\text {d}}=0.8\) (blue) and \(c^{2}_{s\text {d}}=1\) (gray)

The left panel of Fig. 4 shows the evolution of the gravitational potential, \(\Psi \), divided by its initial value, \(\Psi _{\star }\) for the six relevant modes previously chosen. As can be seen, the gravitational potential almost vanishes for the largest modes, while it evolves to a positive constant for small modes. We remind once again that the gravitational potential is negative at the beginning of the computations, which confers the attractive nature of gravity. Therefore, a positive sign on the gravitational potentials is understood as a repulsive effect.

The right panel of Fig. 4 shows the asymptotic value of the gravitational potential divide by the initial value, \(\Psi _{\star }\). The plot is done to highlight how such a constant is affected by the different values of the modes and \(c^{2}_{s\text {d}}\) parameter. As can be seen, for large modes the gravitational potential vanishes with independence of the chosen \(c^{2}_{s\text {d}}\) parameter, while for the smallest modes such a constant is set to be around \(-0.065\). Bear in mind that the initial value of the gravitational potential is negative while asymptotically it approximates to the constant \(\Psi _{\text {fin}}\), which is a positive value.

Fig. 5
figure 5

This figure presents the evolution of the gravitational potential, \(\Psi \), with respect to its initial value, \(\Psi ^{\star }\), in a logarithmic scale and from the present to the far future. The solid lines represent the positive values while the dashed lines represent negative values. We apply the same criteria as the ones used in Fig. 3 to represent the different modes. The coloured vertical lines represent the moment of horizon exit for the corresponding mode

We find interesting to focus on the evolution of the gravitational potential in the far future, mainly, where it flips its sign. For instance, Fig. 5 shows the evolution of the gravitational potential from the present time till the distant future. As can be seen, for a vanishing effective speed of sound parameter the gravitational potential flip of sign occurs, for all the modes, at the same time (\(x\sim 3\)). In addition, such flip occurs before some of the modes have exited the horizon. This is not the case of a non-vanishing \(c_{s\text {d}}^2\) parameter (second and third column of Fig. 5, for \(c_{s\text {d}}^{2}=0.2\) and \(c_{s\text {d}}^{2}=1\), respectively). As can be seen, the smallest modes switch the sign earlier than the largest modes do, however, all the relevant modes have exited the horizon when those flips occur. In addition, we found that that the more abrupt is the cosmic event induced by the model, the sooner occurs the sign flip. This difference is more pronounced the larger are the k modes and \(c_{s\text {d}}^{2}\) values.

With the aim to better understand the asymptotic evolution of the metric perturbation, we solve the second order differential equation for the gravitational potential. By incorporating the decomposition of the pressure (see [36, 37, 44, 49] for detailed calculations on decomposing the DE pressure in its adiabatic and non-adiabatic contributions) in the perturbation equation of the gravitational potentialFootnote 4 we get

$$\begin{aligned}&\Psi _{xx} + \frac{1}{2}\left[ 5-3w+6c^{2}_{a\text {d}}\right] \Psi _{x}\nonumber \\&\qquad \, +\left[ 3\left( c^{2}_{a\text {d}}-w\right) +\frac{c^{2}_{s\text {d}}k^2}{\mathcal {H}^2}\right] \Psi =0 \end{aligned}$$
(16)

Let us consider a constant EoS parameter where.Footnote 5\(c^{2}_{a\text {d}}=w_{\text {d}}\) Therefore, in a phantom DE dominated Universe the Eq. (16) can be approximated asFootnote 6

$$\begin{aligned}&\Psi _{xx} + \frac{1}{2}\left( 5+3w_{\text {d}}\right) \Psi _{x}\nonumber \\&\qquad \, +\left( \frac{c^{2}_{s\text {d}}k^2}{\Omega _{\text {d}0}k^2_{0}}\right) e^{\left( 3w_{\text {d}}+1\right) x} \ \Psi =0, \end{aligned}$$
(17)

whose solutions are given by

$$\begin{aligned} \Psi _{\left[ c^{2}_{s\text {d}}=0\right] }= & {} C_{1}+\frac{C_{2}}{\beta }e^{-\beta x}, \end{aligned}$$
(18)
$$\begin{aligned} \Psi _{\left[ c^{2}_{s\text {d}}\ne 0\right] }= & {} e^{-\frac{\beta }{2}x} \Bigl \{D_{1}J_{\nu }\left[ A\left( k\right) e^{-\gamma x}\right] \nonumber \\&-D_{2}Y_{\nu }\left[ A\left( k\right) e^{-\gamma x}\right] \Bigr \}, \end{aligned}$$
(19)
$$\begin{aligned} \Psi _{\left[ c^{2}_{s\text {d}}\ne 0\right] }\sim & {} \frac{D_{1}}{\Gamma \left( \nu +1\right) }\left[ \frac{A\left( k\right) }{2}\right] ^{\nu }\nonumber \\&+\frac{D_{2}\Gamma \left( -\nu \right) }{\pi }\left[ \frac{A\left( k\right) }{2}\right] ^{-\nu }e^{-\beta x}\quad \text {for} \ \ 1\ll x,\nonumber \\ \end{aligned}$$
(20)

where \(J_{\nu }\) and \(Y_{\nu }\) are the first kind Bessel functions with order \(\nu \), \(\Gamma \) is the Gamma function, while \(C_{1}\), \(C_{2}\), \(D_{1}\) and \(D_{2}\) are integration constants. The remaining parameters are defined as

$$\begin{aligned} \beta&\equiv \frac{1}{2}\left( 5+3w_{\text {d}}\right) , \quad \gamma \equiv -\frac{1}{2}\left( 1+3w_{\text {d}}\right) ,\nonumber \\ \nu&\equiv -\frac{\beta }{2\gamma }, \quad A\left( k\right) \equiv \frac{1}{\gamma }\sqrt{\frac{c^{2}_{s\text {d}}}{\Omega _{\text {d}0}}}\frac{k}{k_{0}}. \end{aligned}$$
(21)

Since \(\Psi \) is linear, a particular solution multiplied by a constant factor is still a solution. Therefore, the total result can be written as

$$\begin{aligned} \Psi _{\text {tot}}\left( x\right) =\Psi \left( x\right) F\left( k,c_{s\text {d}}\right) , \end{aligned}$$
(22)

where \(F\left( k,c_{s\text {d}}\right) \) can be fixed (with an appropriate choice for \(C_{1}\), and \(D_{1}\)) by analysing the asymptotic behaviour of the gravitational potential shown on the right panel plot of Fig. 4.

As can be seen, the asymptotic behaviour for large scale factors, given inFootnote 7 Eq. (20), coincides with the solution for a vanishing \(c_{s\text {d}}^{2}\), Eq. (18). However, instead of having just the constants terms \(C_{1}\), and \(C_{2}\), the solutions for non-vanishing \(c_{s\text {d}}^{2}\ne 0\) parameter keep some information of the modes through the function A(k) and modulated by the constants \(D_{1}\), and \(D_{2}\). Note that the dominant solution for \(x\rightarrow \infty \) is constant as long as the coefficient \(\beta \) is positive, i.e. \(-5/3<w_{\text {d}}\) which is indeed our case.

Finally, in order to obtain the point where the gravitational potential flip of sign occurs, we just solve \(\Psi =0\) for the couple of Eqs. (18) and (19). Therefore, we get

$$\begin{aligned} x_{\text {crit}}&=-\frac{1}{\beta }\ln \left[ -\alpha _{1}\beta \right] , \end{aligned}$$
(23)
$$\begin{aligned} x_{\text {flip}}&= -\frac{1}{\beta }\ln \left[ \alpha _{2}\sin \left( \pi \nu \right) \right] \nonumber \\&\quad +\frac{1}{\gamma }\ln \left[ \frac{1}{2}\sqrt{\frac{c^{2}_{s\text {d}}}{\Omega _{\text {d}0}}}\right] +\frac{1}{\gamma }\ln \left[ \frac{k}{k_{0}}\right] . \end{aligned}$$
(24)

where we have defined a proportionality between the integration constants, i.e. \(C_{1}/C_{2}\equiv \alpha _{1}\) and \(D_{1}/D_{2}\equiv \alpha _{2}\). Given that \(C_{1},D_{1}<0\) and \(0<C_{2},D_{2}\), \(\alpha _{1}\) and \(\alpha _{2}\) are negative constants.

On the one hand, \(x_{\text {crit}}\) is the lower value for which the gravitational potential can switch its sign and corresponds to a vanishing effective speed of sound parameter. Bear in mind that the differential equation (17) remains invariant by choosing different k and \(c^{2}_{s\text {d}}\) as long as the product \(k^{2}c^{2}_{s\text {d}}\) is fixed. Therefore, the solution for the limit \(k\rightarrow 0\) corresponds to the solution for a vanishing \(c^{2}_{s\text {d}}\). On the other hand, for non-vanishing values of the product \(k^{2}c^{2}_{s\text {d}}\), the moment at which the gravitational potential flips its sign is given by (24) (which is valid as long as \(x_{\text {crit}}<x_{\text {flip}}\)).

Therefore, we could define a second surface whose size is the distance where the gravitational potential becomes positive. In addition, we notice that such a second surface changes with time as fast as the true horizon does, i.e. \(\ln {\left( k/k_{0}\right) }\sim \gamma x\). So this could be understood as two horizons, the true one; i.e. that enclose the observable Universe, and a second one; i.e. where the gravitational potential becomes positive, keeping the relative distance as constant.

Fig. 6
figure 6

This figure shows the moment where the gravitational potential switches its sign, \(x_{\text {flip}}\), in terms of \(\log _{10}\left( k\right) \). Each curve corresponds to a given value of the speed of sound parameter; \(c^{2}_{s\text {d}}=0\) (solid black), \(c^{2}_{s\text {d}}=0.2\) (red), \(c^{2}_{s\text {d}}=0.4\) (orange), \(c^{2}_{s\text {d}}=0.6\) (purple),\(c^{2}_{s\text {d}}=0.8\) (blue) and \(c^{2}_{s\text {d}}=1\) (gray). The red dashed curve corresponds to \(c^{2}_{s\text {d}}=2.09\times 10^{-3}\) while the black-dotted line represent the value of x where modes exit the horizon

Figure 6 shows a plot of \(x_{\text {flip}}\) vs \(\log _{10}\left( k\right) \). Since no relevant differences are found between models, we again only present the result given for the model A. We should keep in mind that the differential equation that lead to the analytical solution will be different if instead we choose model B or C. However, in practical terms all the models give similar numerical solutions.

As it is shown in Fig. 6, for a vanishing \(c^{2}_{s\text {d}}\) parameter (solid black line) the flip of sign occurs at the same time for all the modes. The plots given by non-vanishing \(c^{2}_{s\text {d}}\) parameters (coloured solid lines) becomes parallel, at large modes, with respect to the horizon exiting line (black dotted line). This means that there is an upper bound on \(c^{2}_{s\text {d}}\) that will ensure sign-flipped modes inside the horizon, while values larger than such an upper bound would stand beyond the observable Universe. We have estimated such an upper bound roughly to be the order of \(c^{2}_{s\text {d}}\lesssim 2\times 10^{-3}\) (represented by the red dotted curve).

4 Conclusions

In this work, we have analysed the cosmological perturbations of three genuine phantom DE models with a varying effective speed of sound parameter. These models, named in the present work as model A, B and C, induce a particular future event known as BR, LR and LSBR, respectively. In these future events the Universe reach a scenario where all the bound structures are ripped apart. We have addressed the computation of the linear cosmological perturbations following the method of decomposing the DE pressure perturbation in its adiabatic and non adiabatic contributions [36, 37], which leaves a dynamical set of equations free of instabilities. In this way, the effective speed of sound parameter of DE, \(c^{2}_{s\text {d}}\), is regarded as a free parameter.

We have considered a Universe filled with radiation, matter and DE, where the latter is described by the aforementioned models. We have computed the perturbations since the radiation dominated epoch, (\(a_{\text {ini}}\sim 2.6\times 10^{-6}\)), till a far future (\(a_{\text {fin}}\sim 1.6\times 10^{5}\)), where DE completely dominates. On the one hand, the model parameters where fixed by using the background observational constraints obtained in [65]. On the other hand, the physical values as the initial conditions for single field inflation, giving rise to the spectral amplitude and spectral index were fixed using Planck data [64]. Then, we obtain the predicted current matter power spectrum and the evolution of \(f\sigma _{8}\) growth rate. Finally, we study the effect of changing \(c^{2}_{s\text {d}}\) from 0 to 1.

We find that different values of the \(c^{2}_{s\text {d}}\) parameter does not affect significantly the matter perturbations. Consequently, the matter power spectrum and \(f\sigma _{8}\) evolution do not show any relevant footprint. In fact, the relative deviations with respect to \(c^{2}_{s\text {d}}=1\) are, in the best case, up to \(10^{-2}\) in the matter power spectrum (for small modes) and \(10^{-3}\) in \(f\sigma _{8}\) (for vanishing values of \(c^{2}_{s\text {d}}\)). Given that the upcoming Euclid data is expected to measure the primordial matter power spectrum with an accuracy of one percent [34], we expect that the effects predicted in this work will be difficult, but not impossible, to detect. A combined data set of large scale structure with Planck could increase the accuracy just enough to distinguish the footprints predicted at small modes. On the one hand, the accuracy on the growth rate might not be enough to measure the very small deviations predicted by our results (see figure 2.5 in reference [34]). On the other hand, the associated deviations into the gravitational potential, \(\Psi \), due to the different values of the \(c^{2}_{s\text {d}}\) parameter become important at large scales, reaching the largest deviation at asymptotic values (see right panel in Fig. 4). Nevertheless, we expect that at present time those deviations in \(\Psi \) are very small (see Fig. 5 at \(x=0\)) to induce a significant change when computing the cross correlation between CMB and the large scale structure in pursuit of footprints traced by \(c^{2}_{s\text {d}}\). The integrated Sachs-Wolf effect has its footprints mainly connected with the gravitational potential behaviour, which is more sensitive to the chosen models, due to its dependence on the adiabatic speed of sound, \(c^{2}_{a\text {d}}\), rather than the value of \(c^{2}_{s\text {d}}\). So we expect that the effects of different values of \(c^{2}_{s\text {d}}\) will leave no significant footprints detectable on the integrated Sachs-Wolf effect. However, we have found interesting footprints in the DE density contrast when changing \(c^{2}_{s\text {d}}\). Those changes are amplified when \(c^{2}_{s\text {d}}\) is set very small. Despite the different three models are almost indistinguishable at present, there are significant deviations in the early Universe, which strongly depend on the initial EoS parameter of DE due to the adiabatic conditions imposed at the beginning (see (13) and (15)).

We conclude that the possibility of a vanishing speed of sound parameter does not seem to be favoured by two reasons: (i) the DE density contrast grows too much during the matter dominated epoch, and this would lead to a DE clustering, something that has not been detected so far, (ii) the gravitational potential sign flip occurs at the same time for all the modes, such unexpected and sudden event does not seem physical. This is not the case of a non-vanishing effective speed of sound parameter, where the Bardeen potential becomes progressively negative from very large distances to smaller ones. Such distances decrease with time as fast as the horizon does. Therefore, there is a particular value of \(c^{2}_{s\text {d}}\) where the gravitational potential switches the sign precisely at the horizon. We have found that this value is close to \(c^{2}_{s\text {d}}\sim 2\times 10^{-3}\). For such a small value the DE clustering could be large enough to become detectable, a fact that has not been observed yet. Therefore, it could play an important role favouring or ruling out different DE models and \(c^{2}_{s\text {d}}\) values. We hope the upcoming Euclid mission will provide a refined data on the \(c^{2}_{s\text {d}}\) parameter likewise other important cosmological parameters. We have found that the standard deviation Euclid will present on the DE speed of sound parameter is large for values close to one, \(1\ll \sigma (c^{2}_{s\text {d}})/c^{2}_{s\text {d}}\) when \(c^{2}_{s\text {d}}\sim 1\), while it gets a reasonable accuracy close to vanishing values, \(\sigma (c^{2}_{s\text {d}})/c^{2}_{s\text {d}}\sim 0.11\) when \(c^{2}_{s\text {d}}=10^{-6}\) (see page 143 on reference [35]). Therefore, if the measured speed of sound is non-zero but close to vanishing values, then it could become a suitable indicator to discriminate or favour different DE models, aside from the potential use to constrain several DE models.

Despite the fact that the DE perturbations have not been observed so far, we strongly believe that they hide revealing footprints that could allow us to distinguish different DE models if ever detected. We hope that upcoming missions such as Euclid will provide crucial information about the dark sector of the Universe, granting us a useful tool to favouring or discriminating among DE models as those addressed in the present work.