1 Introduction

Cosmology has indeed undergone a dramatic change over the past couple of decades. The availability of high precision data regarding our universe and its indication towards an expanding universe with an accelerated rate invoked all sorts of modifications of Einstein’s equations. That the acceleration must have set in a not too distant past is a theoretical requirement as well as has been observationally supported. There are excellent reviews regarding the accelerated expansion (Sahni and Starobinski 2000; Padmanabhan 2003; Copeland et al. 2006).

The theoretical investigation towards finding a viable option which can drive this acceleration is done in two distinct ways. One way is to modify the matter sector by adding an exotic field giving rise to an effective negative pressure. The most talked about agent capable of doing this is certainly the cosmological constant Λ. A scalar field with some potential, known as the quintessence matter, is also amongst the most favourite candidates as a “dark energy”, the agent driving this alleged expansion. We refer to the reviews (Sahni and Starobinski 2000; Padmanabhan 2003; Copeland et al. 2006) and the references therein.

The second option is to look for a theory of gravity where the Einstein-Hilbert action is modified. One way to do that is to consider a scalar field nonminimally coupled to the geometry sector (Banerjee and Paovn 2001a, 2001b; Sen and Sen 2001; Bertolami and Martins 2000; Elizalde et al. 2004; Onemli and Woodard 2002, 2004; Brunier et al. 2005; Das and Banerjee 2006) or to the matter sector (Khoury and Weltman 2004a, 2004b; Mota and Barrow 2004a, 2004b; Das et al. 2006b; Banerjee et al. 2010) or both (Das and Banerjee 2008). The other popular way is to use an analytic function f=f(R) in place of R in the action, where R is the Ricci scalar (Capozziello et al. 2003; Borowiec and Francaviglia 2004; Nojiri and Odintsov 2003a; Dolgov and Kawasaki 2003; Carroll et al. 2004; Das et al. 2006a). It had already been noted that f(R)∝R2 kind of theories could successfully generate inflationary universe scenario for the early universe (Starobinski 1980; Kerner 1982; Duruisseau and Kerner 1986). As the curvature R decreases with time, inverse power of R in an f(R) theory might be expected to generate a late time acceleration. For a detailed description of f(R) theories and their application in cosmological models, we refer to some recent reviews (Sotiriou and Faraoni 2010; Felice and Tsujikawa 2010; Nojiri and Odintsov 2011). The f(R) gravity models, available in the literature mostly deal with only the present acceleration and hardly talk about the smooth transition from a decelerated to an accelerated regime. There are anyway a few investigations regarding this signature flip in the deceleration parameter q. For instance, we refer to Nojiri and Odintsov (2006) and Nojiri et al. (2006). Nojiri and Odintsov (2007a) also reconstructed an f(R) gravity model from a ΛCDM one.

Das et al. (2006a) indeed discussed models that show such a smooth transition analytically, but the models do not contain matter. However, it has been shown that, along with a matter field, any such model could behave in quite a different manner (Amendola et al. 2007a, 2007b). Some models where the Ricci scalar is non-minimally coupled to the matter sector are also there in literature (Thakur et al. 2011). Some of the modifications of the geometry sector also involves a function of G, the Gauss-Bonnet scalar. Nojiri and Odintsov discussed f(G) and f(R,G) models in connection with the recent accelerated expansion of the universe (Nojiri and Odintsov 2007d). A reconstruction of f(R) gravity model can be found in reference (Nojiri and Odintsov 2007e). As the ΛCDM model does well regarding the fits with the observational data, there are attempts to distinguish between models that mimic the ΛCDM model and those which do not. For example, the models given by Hu and Sawicki (2007) and Starobinski (2007) are distinct from the ΛCDM, whereas those given by He and Wang (2013) and Dunsby et al. (2010) are consistent with that. Constraining the model parameters of an f(R) gravity model has been discussed recently by Nojiri and Odintsov (2007b, 2007c), Gironés et al. (2010) and Basilakos et al. (2013).

One general problem with f(R) theories is that they either give an early inflation or a late time acceleration. There have been recent attempts to find some form of f(R) which would yield accelerated expansion in two phases, one in an early epoch and the other in the late stage of evolution. Cognola et al. (2009) and Elizalde et al. (2011) made such attempts with an f(R) which is an exponential function of R. Nojiri and Odintsov (2003b) made an attempt to unify the two phases of accelerated expansion in the realm of a single f(R) gravity model by combining positive and negative powers of R. Possible impacts of the existence of nonlinear terms involving R in the action on the structure formation has been discussed by Thakur and Sen (2013).

In the present work, a straightforward way to facilitate the investigation of the dynamics of the universe is discussed. The net conservation equation results from the contracted Bianchi identity. We assume that the matter content obeys its own conservation, which, in tandem with the net conservation equation yields an equation for the contribution from the geometry sector to the evolution of the universe. This equation is a second order differential equation in the Hubble parameter H. The equation is highly nonlinear and it is difficult to get an analytic solution. However, with proper boundary conditions, one can plot the relevant cosmological parameters like the deceleration parameter q, the effective equation of state parameter weff such that the qualitative behaviour of the model is understood. We deal with two simple examples to elucidate the method, a two-parameter model (f(R)∝(λ+R)n) and a one-parameter model (f(R)∝exp(αR)).

2 f(R) gravity and the conservation equation

The generalized Einstein-Hilbert action for f(R) gravity is

$$ {\mathcal{A}}=\int \biggl[\frac{1}{16\pi G}f(R)+\mathcal{L}_m \biggr]\sqrt{-g}d^4x, $$
(1)

where R is replaced by f(R) in the Einstein-Hilbert action, f(R) being an analytic function of R. Here \(\mathcal{L}_{m}\) is the usual matter field Lagrangian. A variation of this action, with respect to the metric, yields the field equations as

$$\begin{aligned}& f'(R)R_{\mu\nu}-\nabla_\mu\nabla_\nu f'(R)+ \biggl[\Box f'(R)-\frac {1}{2}f(R) \biggr]g_{\mu\nu} \\& \quad=T^{(m)}_{\mu\nu}, \end{aligned}$$
(2)

where a prime indicates differentiation with respect to the Ricci scalar R and \(T^{(m)}_{\mu\nu}\) represents the contribution to the energy momentum tensor from matter fields with a choice of unit as 8πG=1. This variation is popularly dubbed as the metric f(R) gravity as opposed to the Palatini formulation where the variation is carried out with respect to both the metric and the affine connections.

The present endeavour is to study the dynamics of the universe in the background of the spatially flat FRW metric, which is written as

$$ ds^2=dt^2-a^2(t)\bigl[dr^2+r^2d \theta^2+r^2\sin^2\theta d\phi^2 \bigr], $$
(3)

where a(t) is the scale factor. The field equations take the form

$$\begin{aligned}& 3\frac{\dot{a}^2}{a^2}=\frac{\rho_m}{f'}+\frac{1}{f'} \biggl[\frac {1}{2} \bigl(f-Rf'\bigr)-3\dot{R}f'' \frac{\dot{a}}{a} \biggr], \end{aligned}$$
(4)
$$\begin{aligned}& 2\frac{\ddot{a}}{a}+\frac{\dot{a}^2}{a^2} \\& \quad=-\frac{1}{f'} \biggl[\ddot {R}f''+\dot{R}^2f'''+2 \dot{R}f''\frac{\dot{a}}{a}-\frac {1}{2} \bigl(f-Rf'\bigr) \biggr], \end{aligned}$$
(5)

where dots are the derivatives with respect to cosmic time and a prime denotes derivative with respect to R. Also, ρm is the dark matter density and, consistent with the cold dark matter, the corresponding pressure pm is taken to be zero.

We write

$$ \biggl[\frac{1}{2}\bigl(f-Rf'\bigr)-3\dot{R}f'' \frac{\dot{a}}{a} \biggr]=\rho_c, $$
(6)

and

$$ \biggl[\ddot{R}f''+\dot{R}^2f'''+2 \dot{R}f''\frac{\dot{a}}{a}-\frac {1}{2} \bigl(f-Rf'\bigr) \biggr]=p_c, $$
(7)

as ρc and pc determine the contribution by the curvature to the density and pressures sectors respectively. For f(R)=R, both ρc and pc would vanish as expected. In terms of the Hubble parameter (\(H=\frac{\dot{a}}{a}\)), the modified field equations (4) and (5) will read as

$$ 3H^2=\frac{\rho_m+\rho_c}{f'}, $$
(8)

and

$$ 2\dot{H}+3H^2=-\frac{p_c}{f'}, $$
(9)

respectively.

Finally, the contracted Biacchi identity will yield

$$ \frac{d}{dt} \biggl(\frac{\rho_m+\rho_c}{f'} \biggr)+3H \biggl(\frac {\rho_m+\rho_c+p_c}{f'} \biggr)=0. $$
(10)

Considering the matter conservation, i.e., \(\dot{\rho}_{m}+3H\rho _{m}=0\), is satisfied independently, Eq. (10) will be simplified to the form

$$ \frac{d}{dt} \biggl(\frac{\rho_c}{f'} \biggr)+3H \biggl( \frac{\rho _c+p_c}{f'} \biggr)=\rho_m \biggl(\frac{\dot{R}f''}{f'} \biggr). $$
(11)

This equation can be written in the form

$$ 18\frac{f''}{f'}H(\ddot{H}+4H\dot{H})+3\bigl(\dot{H}+H^2\bigr)+ \frac {f}{2f'}+\frac{\rho_m}{f'}=0, $$
(12)

where use has been made of the expressions \(R=-6(\dot{H}+2H^{2})\) and \(\dot{R}=-6(\ddot{H}+4H\dot{H})\). It is important to note that Eq. (10) yields Eq. (12) under the condition f″≠0. So one cannot arrive at the corresponding equation for f(R)=R, the usual Einstein-Hilbert action. Now we write Eq. (12) with the redshift z (given by \(1+z=\frac{a_{0}}{a}\)) as the argument. The equation now looks like

$$\begin{aligned} \frac{d^2H}{dz^2} =&\frac{3}{(1+z)} \frac{dH}{dz}-\frac{1}{H} \biggl(\frac{dH}{dz} \biggr)^2 \\ &{}-\frac{3f' (H^2-(1+z)H\frac{dH}{dz} )+\frac{f}{2}+\rho _{m0}(1+z)^3}{18(1+z)^2H^3f''}. \end{aligned}$$
(13)

This is the key equation in our attempt to study the dynamics of the universe in f(R) gravity models. Though the equation is highly non-linear, we can at least investigate the redshift dependence of the Hubble parameter H(z) and other important parameters numerically when the form of f(R) is given.

Now from Eq. (8), the present matter density ρm0 can be expressed as

$$ \rho_{m0}=3H_0^2f'_o- \rho_{c0}. $$
(14)

where a subscript 0 indicates the values of the functions at the present epoch, namely at z=0. Now R=−6H2(1−q) and \(\dot {R}=-6H^{3}(j-q-2)\) where \(q=-\frac{\ddot{a}}{aH^{2}}\) is the deceleration and \(j=\frac{\ddot{a}}{a^{3} H^{3}}\) is the jerk parameter. Hence present value of Ricci scalar and its derivative can be estimated from the knowledge of present deceleration parameter q0 and jerk j0. We scale H as \(\frac{H}{H_{0}}\) so that the present value of Hubble parameter H0 is unity. A simple dimensional consideration shows that this can be done without any loss of generality in Eq. (13) by dividing both sides by H0. There are observational estimates for the parameters q0 and j0. In the present work, we pick up the relevant values from the work of Rapetti et al. (2007). The relevant values are q0=−0.81±0.14 and \(j_{0}=2.16_{-0.75}^{+0.81}\).

3 f(R) gravity in a spatially flat FRW universe

With a functional form of f(R), Eq. (13), a second order differential equation in H(z), can be numerically integrated. In this work, two f(R) gravity models have been discussed. The aim is to find the parameters of the models that would be in agreement with the observed values of the relevant cosmological parameters, namely the deceleration parameter q and the effective equation of state parameter weff given by \(w_{\mathit{eff}}=\frac {p_{c}}{\rho_{c} + \rho_{m}}\).

3.1 Case I: f(R)=λ0(λ+R)n

We choose f(R)=λ0(λ+R)n, where λ0, λ and n are constants and they actually are the model parameters. As f(R) should have the dimension of R, the constant λ0 is there to take care of the dimension. In all subsequent discussion, the value of the constant λ0 is taken to be unity. From Eq. (13), the numerical plots of deceleration parameter q(z) and the effective equation of state parameter weff(z) are obtained using the present values q0=−0.81±0.14 and \(j_{0}=2.16_{-0.75}^{+0.81}\) as mentioned in the previous section. There are two parameters in the model, namely λ and n. The plots have been generated taking four sets of values of these two parameters. Each set has been adjusted in such a way that the recent acceleration starts around z=0.5. Figures 1, 2, 3 and 4 show these plots. The present value of the parameter weff in all cases is between −0.8 to −1.0. This also in conformity with the observational estimate. It deserves mention that most of the examples of the power law type f(R) gravity models leading to present acceleration involves some negative power for the Ricci scalar R in the action. But in all the examples in this work, n is positive and so there is no singularity in f(R) for R going to zero.

Fig. 1
figure 1

Plots of deceleration parameter q (left panel) and effective equation of state weff (right panel) against redshift z for f(R)=λ0(λ+R)n with λ0=1, n=0.5 and λ=13.5±0.5. The central dark line is for λ=13.5 and λ=13.0 is the upper and λ=14.0 is the lower bounds of the plots

Fig. 2
figure 2

Plots of deceleration parameter q (left panel) and effective equation of state weff (right panel) against redshift z for f(R)=λ0(λ+R)n with λ0=1, n=0.1 and λ=13.0±0.25. The central dark line is for λ=13.0 and λ=12.75 is the upper and λ=13.25 is the lower bounds of the plots

Fig. 3
figure 3

Plots of deceleration parameter q (left panel) and effective equation of state weff (right panel) against redshift z for f(R)=λ0(λ+R)n with λ0=1, n=1.5 and λ=16.0±3.0. The central dark line is for λ=16.0 and λ=19.0 is the upper and λ=13.0 is the lower bounds of the plots

Fig. 4
figure 4

Plots of deceleration parameter q (left panel) and effective equation of state weff (right panel) against redshift z for f(R)=λ0(λ+R)n with λ0=1, n=2.0. The central dark line is for λ=12.0 and λ=15.0 is the upper and λ=1.0 is the lower bounds of the plots

3.2 Case II: f(R)=R0exp(αR)

This exponential form of f(R) had already been discussed in Das et al. (2006a). However, that was done with no matter content of the universe. In the present work, the same single parameter exponential form of f(R) has been introduced along with the matter content. Like the previous example, the constant R0 takes care of the dimensional requirement and is chosen to be unity in the subsequent discussion. The numerical plots for the deceleration parameter q and the effective equation of state parameter weff are obtained for a range of values of α (between 0.5 and 15.0) with the similar boundary conditions used for the previous model. The range of values of α are chosen so as to get the signature flip in q close to z=0.5. Figure 5 clearly shows that this model also successfully generates late time acceleration accompanied by the decelerated expansion era that prevailed earlier. The central curve is for α=1.5 for both of q and weff. If the value of α is raised to 15, the lower curve is obtained. But almost similar amount of deviation is seen for the higher curve for a much smaller variation of the parameter. The upper curve is obtained when α is changed to 0.5. So the amount of acceleration is much more sensitive to a decrease of the parameter of the model.

Fig. 5
figure 5

Plots of deceleration parameter q (left panel) and effective equation of state weff (right panel) against redshift z for f(R)=R0exp(αR). The central dark line is for R0=1, α=1.5 and α=0.5 is the upper and α=15.0 is the lower bounds of the plots

4 Discussion

A straightforward way for the discussion of the dynamics of the much talked about f(R) gravity models along with a cold dark matter content has been presented in this work. As it has been shown that an f(R) gravity model could behave in a dramatically different manner in the presence of matter (Amendola et al. 2007a, 2007b), it is imperative that the models are discussed in the presence of matter. Equation (13) sets up a basic framework for that. Both the models presented here work well in the presence of matter.

Two examples have been worked out, one of them, namely the case I is apparently new, and the second case has already been discussed, although without the requisite matter content. The parameters of the model are reconstructed from the observational values of some cosmological parameters. However, no rigorous statistical analysis has been employed for the estimation of the model parameters.

It deserves mention at this stage that the two models presented here do not have the same degree of stability. If a quantity, \(m^{2}=\frac{1}{3} [\frac{f'(R)}{f''(R)}-R ]\), is defined at R=R0, the present value of the Ricci curvature, one can show that m2<0 leads to a tachyonic instability (Nojiri and Odintsov 2007b). The second model of the present work (Sect. 3.2) has this instability. Our first model f(R)=λ0(λ+R)n, on the other hand, passes this fitness test.

The primary motivation is to set up a general framework, but both the examples discussed can produce a signature flip at the right epoch and can reproduce the total effective equation of state parameter weff close to its expected present value. This basic observational requirement is met for actually quite a wide range of the model parameters.

It also deserves mention that according to the criterion discussed by Basilakos et al. (2013), none of the two models presented here would actually converge to the ΛCDM model. The first example would do that only for the trivial case of n=1.