1 Introduction

One of the main problems in cosmology today is to identify or characterize the cause of the accelerated expansion found in [1, 2], usually called dark energy (DE). Although there have been, from time to time, evidence for DE evolution, or in its primordial form, evidence for a variable cosmological constant, the case have taken new impulse after the results using the BAO BOSS DR11 [3]. In that work, by interpreting the results in a simple \(\omega \)CDM model, strongly suggest a \(2.5 \sigma \) departure from \(\Lambda \)CDM at \(z=2.34\). Soon after this work appears, several papers focused on finding what model better describe the results from the BOSS analysis. In [4] the authors found evidence for DE evolution using the H(z) measurement implied by [3]. They propose a model where the cosmological constant was screened in the past. Also in [5] the authors demonstrate that it is possible to explain the BOSS result in the context of the interacting dark scenario (dark matter (DM) interacting with DE), excluding null interaction at \(2\sigma \). Also in [6] the authors found similar results to [4]. Regarding the dark interaction scenario, using data from Planck, type Ia supernova, and redshift space distortions, in [7] the authors found statistical evidence for a dark interacting model (the so called Interacting vacuum model, named iVCDM, [8]) starting at \(z\simeq 0.9\).

One of the main problems with dark interaction models is the arbitrariness in the coupling, usually named Q. In particular, in the iVCDM the coupling is written as \(Q=-q_v H \rho _v\), where H is the Hubble function, \(q_v(z)\) is the arbitrary constant usually parameterized in bins to be reconstructed by observations, and \(\rho _v\) is the vacuum energy density. In some sense, the same pathological feature the cosmological constant \(\Lambda \) has in the \(\Lambda \)CDM model, here emerges through Q in the interacting dark matter/energy model. So it would be interesting to find ways to constraint Q not only through observations but also from physical principles.

In this paper, we want to explore to what extent, the interaction term Q can be determined and constrained by appealing to thermodynamic considerations. In what follows we use natural units, \(c=8\pi G=k_B=1\). The paper is organized as follows: in the next section we discuss the thermodynamics in the context of an interacting model. In Sect.3 we discuss the method of effective equation of state and obtain the expressions for the temperature as a function of redshift. Then we describe the two particular models of interaction we study and the data we have used to constraint the models in Sect. 5. We end with the discussion of our results.

2 Thermodynamics and interaction

2.1 A single fluid

Let us start with general considerations about thermodynamics in an expanding Universe using a single fluid. Assuming a flat universe and a homogeneous component we get the Hubble equation and the conservation equation

$$\begin{aligned} 3H^2 = \rho , \quad \dot{\rho } + 3H(\rho + p)=0, \end{aligned}$$
(1)

where \(H=\dot{a}/a\) is the Hubble parameter and a(t) the scale factor. From the second law of thermodynamics applied to a comoving volume element of unit coordinate volume (and physical volume \(V=a^3\)) we can write

$$\begin{aligned} TdS = d\left[ (\rho + p) V\right] - Vdp. \end{aligned}$$
(2)

Here \(\rho \) is the energy density, p is the pressure, T the temperature of the system and S the total entropy per comoving volume. Using the fact that S is an state function we get

$$\begin{aligned} \frac{\rho + p}{T} = \frac{dp}{dT}, \end{aligned}$$
(3)

then Eq. (2) can be written as

$$\begin{aligned} dS = \frac{d\left[ (\rho + p) V\right] }{T} - V (\rho + p) \frac{dT}{T^2}=d\left[ \frac{(\rho + p) V}{T}\right] , \end{aligned}$$
(4)

which means that entropy can be written as

$$\begin{aligned} S = \text {const.} + \frac{(\rho + p) a^3}{T}. \end{aligned}$$
(5)

On the other hand, from Einstein’s equations we get the energy conservation Eq. (1) that can be written as

$$\begin{aligned} d\left[ (\rho + p) V\right] = Vdp, \end{aligned}$$
(6)

which means that the entropy (5) is constant during the expansion,

$$\begin{aligned} S = \frac{(\rho + p) a^3}{T}=\text {const.} \end{aligned}$$
(7)

This results emphasize the adiabatic expansion universe picture. Then Einstein’s equations implies adiabatic expansion assuming \(T \ne 0\). Also, Eq. (7) tell us that the special combination of physical variables keep a constant value once the evolution of p(a), \(\rho (a)\) and T(a) are introduced. Clearly, once we know the equation of state (EoS), we can infer the temperature evolution of the system.

Another way to see this, is by using that our single component satisfies number and energy conservation. Following [10] it is possible to find the relation

$$\begin{aligned} \dot{T} = -3H T \frac{\partial p}{\partial \rho }. \end{aligned}$$
(8)

This equation also enable us to find how the temperature evolves if an EoS is given. For example, for \(p = \omega \rho \) we get

$$\begin{aligned} T(a) \simeq a^{-3\omega }, \end{aligned}$$
(9)

that gives the expected answer for radiation (\(\omega _r = 1/3\)). The same result can be obtained from Eq. (7). In general, assuming \(\omega = \omega (a)\) we can write

$$\begin{aligned} T(a) = T(a_0) \exp \left( -3 \int _{a_0}^{a} da \frac{\omega (a)}{a}\right) . \end{aligned}$$
(10)

2.2 Two fluids

Let us assume now two fluids – DM and DE for example – and assume that both components conserved separately, i.e. they satisfy

$$\begin{aligned} \dot{\rho }_{x}+3H\left( 1+\omega _{x}\right) \rho _{x}= & {} 0, \end{aligned}$$
(11)
$$\begin{aligned} \dot{\rho }_{m}+3H\left( 1+\omega _{m}\right) \rho _{m}= & {} 0, \end{aligned}$$
(12)

so no interaction is present. For each component is possible to write the same equations derived before. In particular, we can write the evolution of temperature for these two components as

$$\begin{aligned} T_{m} \simeq \frac{1}{a^2}, T_{x} \simeq \exp \left( -3 \int da \frac{\omega _{x}}{a}\right) , \end{aligned}$$
(13)

where we have used the previous result for dust. It is clear that this result suggest that today \(T_{m} \ll T_{x}\) because \(\omega _{x} < 0\), as was first notice in [9]. It is also clear that in this case the expansion is adiabatic, because each one of the conservation equations above can be written as \(dU + pdV = 0\) where \(U = \Omega _v \rho a^3 \) and \(V = \Omega _v a^3\) where \(\Omega _v\) is a volume constant factor.

The current observational evidence – so far – support the \(\Lambda \)CDM model, where \(\Lambda \) is a component that can be considered as a fluid with EoS parameter \(\omega =-1\), plus a cold (non relativistic velocities) DM component, both of which conserved separately, i.e., they do not interact. In this context we can ask, what temperature can be associated to this \(\Lambda \) fluid? From our previous considerations, assuming \(p=\omega \rho \) with \(\omega = \text {const.}\) we can write

$$\begin{aligned} dS=\left( 1+\omega \right) d\left( \frac{\rho V}{T}\right) , \end{aligned}$$
(14)

from which we can obtain

$$\begin{aligned} \left( 1+\omega \right) \rho V = \text {const.} \times T. \end{aligned}$$
(15)

This relation suggest that for a fluid with \(\omega =-1\) we get \(T=0\), which according to the third law of thermodynamics implies \(S=0\). This result – independent of the awkward features of existence of a pure cosmological constant component – tells us that such a component is at least inconsistent with thermodynamic too.

Moreover, for the case \(\omega <-1\)? i.e., the phantom case, following the same argument we get \(T<0\), and if we use the Euler relation

$$\begin{aligned} TS=\left( 1+\omega \right) \rho V\Longrightarrow TS<0\rightarrow S>0, \end{aligned}$$
(16)

which is the well known phantom problem. In this regard in [11] a solution is proposed in the context of irreversible thermodynamics.

2.3 Two fluids interacting

The concordance cosmological model assumes that every component – baryons, radiation, DM and DE – conserve separately. Then as we have discussed in the previous section, the universe expands adiabatically. Because both dark components can only be detected through their gravitational effects, is not easy to distinguish their effects and in principle they can interacts between them while the total energy density of the dark sector is conserved. Phenomenologically this can be described by the conservation equations as

$$\begin{aligned} \dot{\rho }_{x}+3H\left( 1+\omega _{x}\right) \rho _{x}= & {} -Q, \end{aligned}$$
(17)
$$\begin{aligned} \dot{\rho }_{m}+3H\left( 1+\omega _{m}\right) \rho _{m}= & {} Q. \end{aligned}$$
(18)

According to (2) these equations tell us that the entropy for each component is not constant. By re-written each one as the first law we get for the interaction function Q

$$\begin{aligned} Q = -\frac{T_x}{V}\frac{dS_x}{dt} = \frac{T_m}{V}\frac{dS_m}{dt}. \end{aligned}$$
(19)

No interaction \(Q=0\) means both \(S_m\) and \(S_x\) being constants, i.e. we have an adiabatic evolution, in contrast to an interacting model, where a \(Q \ne 0\) leads to

$$\begin{aligned} T_{m}dS_{m}+T_{x}dS_{x}=0, \end{aligned}$$
(20)

then we get non-adiabaticity. By using (19) we can also see this in another form by written

$$\begin{aligned} d\left( S_{m}+S_{x}\right)= & {} -\left( \frac{T_{m}}{T_{x}}-1\right) dS_{m}\ne 0\Longrightarrow S_{m}\nonumber \\&+S_{x}\ne \text {const.} \end{aligned}$$
(21)

According to (19) also we get that

$$\begin{aligned} Q>0\Longrightarrow dS_{x}<0 \ \ \text {and} \ \ dS_{m}>0, \end{aligned}$$
(22)

implying the DE entropy decreases as the DM entropy increases. From (20) it is direct to write

$$\begin{aligned} \frac{d}{dt}\left( S_{x}+S_{m}\right) =-\left( \frac{T_{m}}{T_{x}}-1\right) \frac{dS_{m}}{dt} \gtrless 0\Longrightarrow T_{m} \lessgtr T_{x}, \end{aligned}$$
(23)

because \(dS_{m}/dt>0\). Then at any instant DM is cooler than the DE. We can also write this last relation using (19) to get

$$\begin{aligned} \frac{d}{dt}\left( S_{x}+S_{m}\right)= & {} \left( \frac{1}{T_{m}}-\frac{1}{T_x}\right) VQ\nonumber \\> & {} 0 \iff Q>0 \text { and } T_{m}<T_{x}. \end{aligned}$$
(24)

This means that, if we require that the second law be valid in this case, then we have to have \(T_m<T_x\). This is an interesting result, because we do not have any idea of the magnitudes of these temperatures. There are attempts to determine the case for \(T_m\) using candidates particles for DM, but we do not have any idea about \(T_{x}\) for DE. This is also interesting to notice that this result, that \(T_{m} < T_{x}\) is also in connection with the inequality \(Q~{>}~0\), making clear the relation between the validity of the second law with a positive Q which means a transfer of energy from DE to DM.

Having found these results, let us discuss a specific model. Let us study an interacting model close to the \(\Lambda \)CDM one. According to (17) and (18)

$$\begin{aligned}&\dot{\rho }_{x}+3H(1+\omega _{x})\rho _{x} =-Q=\left( \frac{1}{V}\right) T_{x}\frac{dS_{x}}{dt}, \end{aligned}$$
(25)
$$\begin{aligned}&\dot{\rho }_{m}+3H(1+\omega _{m})\rho _{m} =Q=\left( \frac{1}{V}\right) T_{m}\frac{dS_{m}}{dt}, \end{aligned}$$
(26)

and for the purpose in hands, let us assume \(\omega _{x}=-1\left( \Lambda \right) \), and \(\omega _{m}=0\left( CDM\right) \), then we get

$$\begin{aligned}&\dot{\rho }_{x} =-Q\Longrightarrow \rho _{x}=-\int dtQ, \end{aligned}$$
(27)
$$\begin{aligned}&\dot{\rho }_{m}+3H\rho _{m} =Q, \end{aligned}$$
(28)

which reduces to \(\Lambda \)CDM for \(Q=0\) zero interaction. This model is actually the i\(\Lambda \)CDM model of [8]. It was this model that was tested in [7] against observation finding positive evidence for interaction. Given there are evidence for an evolving \(\rho _x\) that means – given the well known results in [12] – we have also evidence for an interacting model.

For a component \(\rho _{x}=\Lambda \) (\(\omega _{x}=-1\)) it is clear that \(Q=0\) and then \(T_{m}dS_{m}/dt=0\), and beacuse \(T_{m}=const.\), then \(S_{m}=const.\) And also as we saw before, because \(T_{x}\left( \omega _{x}=-1\right) =0\) and \(S_{x}\left( \omega _{x}=-1\right) =0.\)

In conclusion, \(\Lambda CDM\) is well supported by observations and also the assumption of adiabatic evolution ( \(S=const.\)) is consistent with the philosophy of the standard model that ensures adiabatic evolution after inflation ends. Then – if there is evidence for an interaction between DE and DM – then in general the universe evolution is no adiabatic. Thus, our considerations on thermodynamics implies that a pure \(\Lambda \) component is hardly consistent with physics, unless we accept that both components – DM and DE – interact with each other.

3 Effective temperature method (ETM)

In this section we study the thermal evolution in an interaction DE/DM model using an effective equation of state. We follow previous works [13, 14] on the subject. Let us write the system (25, 26) as

$$\begin{aligned}&\dot{\rho }_{x}+3H\left( 1+\omega _{x}^{eff}\right) \rho _{x} =0, \end{aligned}$$
(29)
$$\begin{aligned}&\dot{\rho }_{m}+3H\left( 1+\omega _{m}^{eff}\right) \rho _{m} =0, \end{aligned}$$
(30)

where

$$\begin{aligned} \omega _{x}^{eff}=\omega _{x}+\frac{Q}{3H\rho _{x}} \quad \text {and }\quad \omega _{m}^{eff}=\omega _{m}-\frac{Q}{3H\rho _{m}}, \end{aligned}$$
(31)

then according to (10) we can write

$$\begin{aligned} T\left( z\right) =T\left( 0\right) \exp \left( 3\int _{0}^{z}\frac{dz}{1+z} \omega ^{eff}\left( z\right) \right) . \end{aligned}$$
(32)

where we have used that \(1+z = a_0/a\), and so for each dark component from (17) and (18) we can write

$$\begin{aligned}&T_{x}\left( z\right) =T_{x}\left( 0\right) \left( 1+z\right) ^{3\omega _{x}}\exp \left[ \int _{0}^{z}d\ln \left( 1+z\right) \left( \frac{Q}{H\rho _{x}}\right) \right] , \end{aligned}$$
(33)
$$\begin{aligned}&T_{m}\left( z\right) =T_{m}\left( 0\right) \left( 1+z\right) ^{3\omega _{m}}\exp \left[ -\int _{0}^{z}d\ln \left( 1+z\right) \left( \frac{Q}{H\rho _{m}}\right) \right] , \nonumber \\ \end{aligned}$$
(34)

and from this, we see that if interaction exists for \(\omega _{m}=0\) (CDM) we get \(T_{m}\left( z\right) \ne const.\)

Let us apply this result to the most well known Ansatzes: \(Q=3\gamma H \rho _{x}\) and \(Q=3\gamma H\rho _{m}\). These ansatzes can be considered as a good probe to explore small departures from the usual evolution of each component. For example, in the absence of interaction in a flat universe the DM component evolves as \(a^{-3}\). A small departure from this behavior can be parameterized as \(a^{-3(1+\beta )}\) with \(\beta \) small. In this case, according to Eq. (18) an interaction term of the type \(\propto 3H\beta \rho _m\) is suggested. Then, under the assumption that these interaction are small – which is supported by the success of the \(\Lambda \)CDM model – we proceeds studying these two specific models.

3.1 Ansatz \(Q=3\gamma H \rho _x\)

In this case, we get

$$\begin{aligned} T_{x}\left( z\right)= & {} T_{x}\left( 0\right) \left( 1+z\right) ^{3\left( \omega _{x}+\gamma \right) }, \end{aligned}$$
(35)
$$\begin{aligned} T_{m}\left( z\right)= & {} T_{m}\left( 0\right) \left( 1+z\right) ^{3\omega _{m}}\exp \left[ -3\gamma \int _{0}^{z}d\ln \left( 1+z\right) \left\{ \frac{1}{r\left( z\right) }\right\} \right] .\nonumber \\ \end{aligned}$$
(36)

where \(r\left( z\right) =\rho _{m}\left( z\right) /\rho _{x}\left( z\right) \) is the coincidence parameter. In order to get a close solution for both temperatures we need the solution for both energy densities first. In this case – using the Eq. (29) – we get the solution

$$\begin{aligned} \rho _{x}(z) = \rho _{x}(0) \left( 1+z\right) ^{3\left( 1+\omega _{x}+\gamma \right) }. \end{aligned}$$
(37)

Using this last result in the conservation equation for dark matter \(\rho _m\) in Eq. (30) and using that \(x=a/a_{0}\) and \(d/dt\rightarrow d/da\), we can write the equation as

$$\begin{aligned} \frac{d\rho _{m}}{dx}+\frac{3\left( 1+\omega _{m}\right) }{x}\rho _{m} = 3\gamma \rho _{x}\left( a_{0}\right) x^{-\left[ 3\left( 1+\omega _{x}+\gamma \right) +1\right] }, \end{aligned}$$
(38)

whose solution is given by

$$\begin{aligned} \rho _{m}\left( x\right)= & {} \exp \left[ -\frac{3\left( 1+\omega _{m}\right) }{x}\right] \Bigg [ C_{2}+3\gamma \rho _{x}\left( a_{0}\right) \nonumber \\&\times \int dx \exp \left[ \frac{3\left( 1+\omega _{m}\right) }{x} \right] x^{-\left[ 3\left( 1+\omega _{x}+\gamma \right) +1\right] } \Bigg ]\nonumber \\ \end{aligned}$$
(39)

The integral can be done directly, recalling that \(x=a/a_{0}=\left( 1+z\right) ^{-1}\). In this way we get \(\rho _{m}\left( z\right) \) and consequently \(r\left( z\right) \) y \(T_{m}\left( z\right) \), according to (36).

3.2 Ansatz \(Q=3\gamma H \rho _{m}\)

Using this ansatz, with \(\gamma > 0\) we get

$$\begin{aligned} T_{x}\left( z\right)= & {} T_{x}\left( 0\right) \left( 1+z\right) ^{3\omega _{x}}\exp \left[ 3\gamma \int _{0}^{z}d\ln \left( 1+z\right) r\left( z\right) \right] , \end{aligned}$$
(40)
$$\begin{aligned} T_{m}\left( z\right)= & {} T_{m}\left( 0\right) \left( 1+z\right) ^{3\left( \omega _{m}-\gamma \right) }, \end{aligned}$$
(41)

Again, from the conservation Eq. (30) we get

$$\begin{aligned} \rho _{m}\left( z\right) =\rho _{m}\left( 0\right) \left( 1+z\right) ^{3\left( 1+\omega _{m}-\gamma \right) } \end{aligned}$$
(42)

Using this in the conservation equation for \(\rho _x\) we get

$$\begin{aligned} \dot{\rho }_{x}+3H\left( 1+\omega _{x}\right) \rho _{x} = -3\gamma H\rho _{m}\left( a_{0}\right) \left( a_{0}/a\right) ^{3\left( 1+\omega _{m}-\gamma \right) }. \end{aligned}$$
(43)

Following the previous case we get

$$\begin{aligned}&\rho _{x}\left( x\right) =\exp \left[ -\frac{3\left( 1+\omega _{x}\right) }{x}\right] \Bigg [ C_{1}-3\lambda _{m}\rho _{m}\left( a_{0}\right) \nonumber \\&\quad \int dx\exp \left[ \frac{3\left( 1+\omega _{x}\right) }{x} \right] x^{-\left[ 3\left( 1+\omega _{m}-\lambda _{m}\right) +1\right] } \Bigg ] \end{aligned}$$
(44)

and the integral can be done explicitly. In this way knowing \(\rho _{x}\left( z\right) \) and then \(r\left( z\right) \) and \(T_{x}\left( z\right) \) according to (40).

4 The models

In this section we write explicitly the formulae to be used in the study of restrictions imposed by observational data. Here we study the two models of interaction discussed in the previous section, \( Q_1 = 3\gamma H \rho _{x}\), and \( Q_2 = 3\gamma H \rho _{m}\). Both have been already studied in [15]. If \( \gamma \) is zero, then there is no interaction.

Let us start with the set of equations for the dark components (17, 18). We assume here that the EoS parameter for DM is \(\omega _m=0\), and we let free the EoS parameter for DE \(\omega _x\).

$$\begin{aligned}&\dot{\rho }_{x} + 3H\left( 1 + \omega _{x}\right) \rho _{x} = -Q, \end{aligned}$$
(45)
$$\begin{aligned}&\dot{\rho }_{m} + 3H \rho _{m} = Q. \end{aligned}$$
(46)

For the first model (i), we can solve (45) for \(\rho _x\) first. We find that \(\rho _x a^{3(1+\omega _x + \gamma )}= \text {const.}\) Then we replace this in (46) to find an explicit form for \(\rho _m (a)\). Having both energy densities we can insert these in the Hubble equation

$$\begin{aligned} H^2 = \kappa (\rho _m + \rho _m + \rho _r), \end{aligned}$$
(47)

where \(\kappa =8\pi G/3\) and we have assumed a flat universe. Writing everything in terms of the redshift \(1+z = a_0/a\) , the Hubble function \(H(z)/H_0= E(z) \) for model (i) is given by

$$\begin{aligned} E^2(z)= & {} \Omega _m (1 + z)^3 + \Omega _r (1 + z)^4 \nonumber \\&+\Omega _{x}\left( \frac{\gamma }{w + \gamma }(1+z)^3 + \frac{w}{w+\gamma } (1+z)^{3(1+w+\gamma )} \right) ,\nonumber \\ \end{aligned}$$
(48)

where \(\Omega _r = 2.469 \times 10^{-5} h^{-2}(1 + 0.2271 N_\mathrm{eff})\) and \(N_\mathrm{eff} = 3.04 \), and \( \gamma \) is the parameter that makes the interaction manifest. Here \( \Omega _m = \Omega _c + \Omega _b \), where \(\Omega _c\) is the non-baryonic part and \(\Omega _b\) is the baryonic one.

For the second model (ii), we obtain

$$\begin{aligned} E^2(z)= & {} \Omega _x (1+z)^{3(1+w)} + \Omega _r (1+z)^4 + \Omega _b (1+z)^3 \nonumber \\&+ \Omega _{c}\left( \frac{\gamma }{w + \gamma }(1+z)^{3(1+w)} + \frac{w}{w+\gamma } (1+z)^{3(1-\gamma )} \right) .\nonumber \\ \end{aligned}$$
(49)

Here the free parameters are h, \(\Omega _b\), \(\Omega _c\), w and \(\gamma \). It is clear that for \( \gamma = 0 \) both expressions - those for models (i) and (ii) - reduced to that of the \(\omega \)CDM model.

5 The data

In this section we describe the five sets of observational data we have used to put constraints on the models we have defined in the previous section. Preliminary results of this work appears in [16]. We use: measurements of the Hubble function H(z) , from type Ia supernova (SNIa), baryonic acoustic oscillations (BAO), gas mass fraction in clusters \(f_{gas}\) and from Cosmic Microwave Background Radiation (CMBR).

The 31 data points for the Hubble function H(z) are taken from several works and were compiled by [17] expanding a redshift range from \( z = 0.07 \) to \( z = 1.965 \). In summary it comprise data points from [18,19,20] and also from [21]. It is important to notice that we have used only those H(z) measurements obtained using the differential age method [22], and we have explicitly exclude those obtained using the clustering method, because we are also using data from BAO.

The latest sample of SNIa is the Pantheon sample [23]. Here we use the chi square function defined as

$$\begin{aligned} \chi ^2 = (\mu - \mu _{th})^{T} C^{-1}(\mu - \mu _{th}), \end{aligned}$$
(50)

where C corresponds to the covariance matrix delivered in [23], \(\mu _{th} = 5 \log _{10} \left( d_L(z)/10pc\right) \) is the distance modulus where \(d_L(z)\) is the luminosity distance, and the modular distance is assumed to take the shape

$$\begin{aligned} \mu = m - M + \alpha X - \gamma Y, \end{aligned}$$
(51)

where m is the maximum apparent magnitude in band B, X is related to the widening of the light curves, and Y corrects the color. The cosmological parameters are then constrained along with the parameters M, X and Y. Also from [23] a binned version of the data was published where only M is a free parameter.

The data points we use for BAO are those compiled in [24]. This set comprise data from the 6dF survey [25] at redshift \(z=0.106\), distance measurements from [26] at redshift \(z=0.15\), and with data from the Baryon Oscillation Spectroscopic Survey (BOSS) at redshifts \(z=0.32\), \(z=0.57\) and \(z=2.34\). In all these cases the baryonic peak is estimated performing an average in the radial and transverse direction. At higher redshift it is possible to measure the BAO scale in the radial and tangential directions simultaneously, proving measurements of the Hubble parameter H(z) and the angular diameter distance \(D_A(z)\).

The BAO observations give information about the ratio

$$\begin{aligned} \frac{D_A(z)}{r_s} = \frac{P}{(1+z)\sqrt{-\Omega _k}}\sin \left( \sqrt{-\Omega _k}\int _0^z \frac{dz}{E(z)}\right) , \end{aligned}$$
(52)

for the transverse direction. Here \(P=c/(r_sH_0)\) and it takes the value \(30.0 \pm 0.4\) for the best \(\Lambda \)CDM Planck fit, \(r_s\) is the co-moving sound horizon that according to Planck it takes the value \(r_s=1059.68\) [27], and also information about the ratio

$$\begin{aligned} \frac{D_H(z)}{r_s} = \frac{P}{E(z)}, \end{aligned}$$
(53)

for the line-of-sight direction. The parameter P was used in [24] to perform an unanchored BAO analysis, which does not use a value for \(r_s\) obtained from a cosmological constant, also performed in [28].

At low redshift, because it is not possible to disentangle the BAO scale in the transverse and radial direction, the surveys give the value for the ratio \(D_V(z)/r_s\), where

$$\begin{aligned} D_V(z) = \left[ z(1+z)^2D_A(z)^2D_H(z)\right] ^{1/3}, \end{aligned}$$
(54)

which is an angle-weighted average of \(D_A\) and \(D_H\). From [24] the data considered are: at low redshift, at \(z=0.106\) we have \(D_V/r_s=2.98 \pm 0.13\), and for \(z=0.15\), \(D_V/r_s = 4.47 \pm 0.17\). For high redshift we consider \(0.00874D_H/r_s + 0.146D_A/r_s = 1.201 \pm 0.021\) and \(0.0388D_H/r_s-0.0330D_H/r_s = 0.781 \pm 0.053\) at \(z=0.32\); \(0.0158D_H/r_s+0.101D_A/r_s = 1.276 \pm 0.011\) and \(0.0433D_H/r_s-0.0368D_H/r_s = 0.546 \pm 0.026\) at \(z=0.57\). Following [24], in order to use the BAO measurements for the Lyman \(\alpha \), we used the \(\chi ^2\) files supplied on the website [29] directly. In what follows, we take the Planck value for \(r_s\) and use P as a function of \(H_0\).

Data from measurements of gas mass fraction in clusters, \(f_{gas}\) was also used assuming they are sources of X-ray as suggested by [30]. In particular we use the data from [31] which consist in 42 measurements of the X-ray gas mass fraction \(f_{gas}\) in relaxed galaxy clusters in the redshift range \(0.05<z<1.1\). To determine constraints on cosmological parameters we use the model function [32]

$$\begin{aligned} f_{gas}^{\Lambda CDM}(z)=\frac{b \Omega _b}{(1+0.19\sqrt{h}) \Omega _M} \left[ \frac{d_A^{\Lambda CDM}(z)}{d_A(z)} \right] ^{3/2}, \end{aligned}$$
(55)

where \(d_A(z)\) is the angular diameter distance, b is a bias factor which accounts that the baryon fraction is slightly lower than for the universe as a whole. From [33] it is obtained \(b=0.824 \pm 0.0033\). In the analysis we also use standard priors on \(\Omega _b h^2 = 0.02226 \pm 0.0023\) and \(h=0.678 \pm 0.009\) [34].

We also use CMB data in the form of the acoustic scale \(l_A\), the shift parameter R, and the decoupling redshift \(z_{*}\). The \(\chi ^2\) for the CMB data is constructed as

$$\begin{aligned} \chi ^2_{CMB} = X^TC_{CMB}^{-1}X, \end{aligned}$$
(56)

where

$$\begin{aligned} X =\left( \begin{array}{c} l_A - 302.40 \\ R - 1.7246 \\ z_* - 1090.88 \end{array}\right) . \end{aligned}$$
(57)

The acoustic scale is defined as

$$\begin{aligned} l_A = \frac{\pi r(z_*)}{r_s(z_*)}, \end{aligned}$$
(58)

and the redshift of decoupling \(z_*\) is given by [35],

$$\begin{aligned} z_*= & {} 1048[1+0.00124(\Omega _b h^2)^{-0.738}] [1+g_1(\Omega _{m}h^2)^{g_2}], \end{aligned}$$
(59)
$$\begin{aligned} g_1= & {} \frac{0.0783(\Omega _b h^2)^{-0.238}}{1+39.5(\Omega _b h^2)^{0.763}}, \end{aligned}$$
(60)
$$\begin{aligned} g_2= & {} \frac{0.560}{1+21.1(\Omega _b h^2)^{1.81}}, \end{aligned}$$
(61)

The shift parameter R is defined as in [36]

$$\begin{aligned} R = \frac{\sqrt{\Omega _{m}}}{c(1+z_*)} D_L(z). \end{aligned}$$
(62)

\(C_{CMB}^{-1}\) in Eq. (56) is the inverse covariance matrix,

$$\begin{aligned} C_{CMB}^{-1} = \left( \begin{array}{ccc} 3.182 &{} \quad 18.253 &{} \quad -1.429\\ 18.253 &{} \quad 11887.879 &{} \quad -193.808\\ -1.429 &{} \quad -193.808 &{} \quad 4.556 \end{array}\right) . \end{aligned}$$
(63)

More details of the work with the data see [37].

6 Results

For the analysis we have used the code EMCEE [38]. It is a Python module that implement an Affine-invariant Markov chain Monte Carlo (MCMC) method. We have perform the analysis using the five data sets mentioned in the previous section. In practice we have considered a burn-in phase where we monitoring the auto-correlation time (\(\tau \)) and set a target number of independent samples. Then, we set 10000 MCMC steps (N) with a number of walkers in the range between 50 and 100. Our estimations of the auto-correlation times for each parameter in the three models all satisfies the relation \(N/\tau \gg 50\) suggested in [38], a condition that is considered a good measure of assets convergence in our samplings.

Table 1 Best fit values of the cosmological parameters for the interaction models using SNIa+H(z)+BAO+\(f_{gas}+\) CMB
Fig. 1
figure 1

We display the results for \( 1 \sigma \), \( 2 \sigma \) and \(3 \sigma \) for the model (i) in the parameter space \(( \Omega _m, \Omega _b, \omega , \gamma , h )\) using all the data

The results are shown in Table 1, and the best fit plots are shown in Fig. 1 for model (i) and in Fig. 4 for model (ii).

As can be seen, the best fit with the full set of observational data in both models indicates positive evidence for interaction – with a similar value for \(\gamma \simeq 0.07\) – and that the transfer of energy flows from DE to DM. Based on the considerations we have made in previous sections, we find that our theoretical constraints are in good agreement with the observational evidence. We also notice that the EoS parameter for DE \(\omega \) is less than \(-1\) in both cases, pointing towards evidence for phantom dark energy. The rest of the parameters take best fit values that are not too different from the usual ones. The results for the best fit for model (i) is shown in Fig. 1.

Using these best fit values, we can use Eqs. (35 and 36) to reconstruct the temperatures for DE and DM. In Fig. 2 we show the result for model (i).

According to what we expect, the temperature of the dark energy grows with the expansion, and through the interaction, causes also that the temperature of dark matter to grow as well, much more moderately, but it increases. This is expected because, without interaction, DM temperature is constant, so once there is a transfer of energy from DE to DM, it will result in an increase in temperature, since the DE temperature increases with the expansion.

In the case of model (ii) the results are very similar as can be seen in Table 1. The best fit values of the parameters are shown in Fig. 4. The reconstructed temperatures are also very similar as can be seen in Fig. 3.

In order to determine how good our interacting models are in describing the data, we use two well know statistic tools: the Akaike Information Criteria (AIC) based on information theory and the Bayesian Information Criteria (BIC) based on Bayesian inference [39]. In Table 2 we display the results of the analysis using the definition for AIC and BIC.

Fig. 2
figure 2

We display the reconstructed temperatures for model (i) using the expressions (35, 36) using all the data. The upper line is \(T_m(z)/T_m(0)\) and the lower one is \(T_x(z)/T_x(0)\)

Fig. 3
figure 3

We display the reconstructed temperatures for model (ii) using the expressions (40) and (41) using all the data. The upper line is \(T_m(z)/T_m(0)\) and the lower one is \(T_x(z)/T_x(0)\)

Fig. 4
figure 4

We display confidence boundaries for \( 1 \sigma \), \( 2 \sigma \) and \( 3 \sigma \) for the model (ii) for the free parameters \(( \Omega _m, \Omega _b, \omega , \gamma , h )\) using all the data

Table 2 Comparison among the models under study. The non interacting \(\omega \)CDM, and the interacting models, (i) \(Q_1=3H\gamma \rho _m\) and model (ii) \(Q_2=3H\gamma \rho _x\). We display the \(\chi ^2_{min}\) value for the best fit using all the observational probes, together the value for the AIC and BIC as is discussed in the text

According to these results, between our reference model (\(\omega \)CDM) and the interacting model (i) we find \(\Delta \)AIC \(= 2\) indicating that both models are as good as each other describing the data. However, using the \(\Delta \)BIC \(= 4.82\) indicates a positive evidence against the fit of model (i). This is not a surprise, the BIC generally penalizes free parameters more strongly than the Akaike information criterion. In the case of model (ii) we get \(\Delta \)AIC \(= 5.2\) and \(\Delta \)BIC \(= 2.4 \), indicating that this model is as good as the reference model in describing the data.

In this section we have performed an analysis using five geometric probes to constrain two interacting models. Compared to previous analysis as in [15], we have used more data probes but we have obtained higher values for \(\gamma \) in both cases. The reason behind this finding could be the use of BAO data at larger redshift as those at \(z=2.34\) and \(z=2.36\) not used in [15] and also the use of gas mass fraction data. We know that the inclusion of the BAO data points suggest strongly a departure from \(\Lambda \)CDM and a preference for an interaction model [3,4,5, 37]. It could be also the use of \(f_{gas}\) data, a set with well known tension with \(\Lambda \)CDM [40]. According to the analysis by using both information and bayesian criteria, model (ii) is far better than model (i) in describing the data, but however although the AIC criteria does not exclude the possibility that model (i) can describe the data as good as the model \(\omega \)CDM, the BIC criteria suggest that model (ii) is not better than the reference model. In the case of model (ii) compared to the reference model, we find that both criteria suggest that model (ii) performs better than the \(\omega \)CDM (Fig. 4).

Although we have performed an analysis in the context of an interacting model, it is interesting to come back to the thermodynamic features of the \(\Lambda \)CDM model. As we have discussed here, a pure \(\Lambda \) component – understood as a source in the right hand side of Einstein’s equations – does not have any sense thermodynamically. In fact, as we have found in Sect. 2, the entropy associated to \(\Lambda \) should be zero during all the universe evolution. This implies that a more sound model is necessary to explain what we are observing. Assuming that the EoS parameter evolve with redshift is equivalent to consider an interaction between components, in our case DE and DM, so, a more physical model – thinking in thermodynamics – must consider an interaction, something that the observational data seems to support.

Finally, it is very difficult to measure the temperature for dark matter (see for example [41, 42]). What we know from the thermodynamic considerations is that \(T_m < T_x\). Certainly, more work is needed to understand the implications of the thermodynamic evolution of our universe.