1 Introduction

General theory of relativity has explained many specification of universe by the various theories and observational evidence. The observational components of \(\Lambda \)-Cold dark space model is consistent with all cosmological observations, but it suffers from such differences such as cosmic coincidence or tuning [1,2,3]. Since an unusual drop in the observed energy streams from cosmic radiation base radiation, massive systems, red-shift as well as supernovae Type Ia assessments the rapid expansion of the earth has become apparent [4,5,6]. The reasons behind this curious and riddling phenomena referred to such discoveries as dark energy (DE) (an elusive force). Different methods have been suggested in these directions to change Einstein gravity. So, we should focus our study to other unknown problems. Non-singularity is one of unknown problems in the Big bang cosmology model. On the way to resolve this problem, we require to establish another new approach for the visible universe e.g. the oscillatory universe. Its mean that our universe is collapse of an old universe [7]. Bouncing universe is the new idea, suggested to resolves the singularity problem in big bang cosmology [8, 9]. Moreover, the bouncing behavior of universe were investigated deeply in the brane cosmology as well as in vector field [10, 11]. The bounce occurs in the universe when the universe is entered to the big bang era, this phenomenon is the simple interpretation of the bouncing universe (for further literature review, see [12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61]). The initial phase of the universe transfer to an accelerated expansion phase and at that point the Hubble parameter, H(t), transit from \(H(t)<0\) to \(H(t)>0\) and also in bounce point, we have \(H(t)=0\) [62,63,64,65].

Recently, several articles have been studied due to various theories and observational evidence about the splitting of universe while this growing is undergoing to moving an accelerating stage. This study was arise due to the discovery in the type Ia supernova [66] connected with long scale arrangement [67], and background with cosmic microwave [68] . We have studied the accelerated growing is appropriate to a mysterious energy (known as the DE) that is approximately \(70\%\) of the whole universe. As the negative pressure in universe with perfect fluid and the equation of state (EoS) parameter, \(\omega \), which is not greater than \(-1\) are known as phantom phase.

The energy conditions in nonlocal gravity were studied in Ref [69], which is helpful in the key role of DE. There are several candidates regarding the structure of DE, some of them are, the scalar field (including tachyon, quintessence, quintom and phantom etc.) [70,71,72,73,74,75], cosmological constant, \(\Lambda \), [76], brane universe models [77,78,79], interacting models [80,81,82], and holographic models [83,84,85].

The adjusted gravity of these models has many benefits for many other models, but the most complex numerical approach is avoided by computing science and the current findings of the former accelerating world with dark energies are still present. The simplest modified gravity is \(f({\mathcal {R}})\) gravity, in which Ricci scalar, \({\mathcal {R}}\), is replaced by an arbitrary function, \(f({\mathcal {R}})\), in the Hilbert-Einstein gravitational action [86].

\(f({\mathcal {R}})\) is actually a family of theories, each one defined by a different arbitrary function. The accelerated expansion and structure formation of the Universe were studied without adding unknown forms of DE or DM. Some models in \(f({\mathcal {R}})\) gravity may be inspired by corrections arising from the reconciliation of GR with quantum mechanics (e.g. string theories etc.). The modified \(f({\mathcal {R}})\) gravity was suggested in 1970 and a wide range of phenomena can be produced from this theory by adopting different functions; however, many functional forms can now be ruled out on observational grounds, or because of pathological theoretical problems.

The modified \(f({\mathcal {R}})\) gravity is a best alternative way of instead of the standard model of gravity which is known as a basis of DE (for reviews on modified \(f({\mathcal {R}})\) theory of gravity, see [87,88,89,90,91,92]).

In this study, in the big bang theory, we will avoid the starting singularity by bouncing model with the advantage of different models in modified \(f({\mathcal {R}})\) theory. Furthermore, we will prove that there is one of the speeded phase-shift from a starting contracting-phase to the growing-phase. The problem is well explain by the temporal derivative of the scale-factor which is \({\dot{a}}(t)\), during contraction decreases \(({\dot{a}}(t)<0)\) and in the increasing phase \(({\dot{a}}(t)>0)\) it increases and at the bounce point it becomes equal to zero \(({\dot{a}}(t)=0)\). The already mentioned story will be confirmed by the corresponding figures. from the above discussion we say that the dark energy that is reconstructed by red shift parameter is a source of \(f({\mathcal {R}})\) gravity. Therefore parametrization for \(f({\mathcal {R}})\) will be found, with the help of motivation accelerated growing of the world can be showed. Finally, the consistency of the model is analyzed such that the subjectivity of adiabatic disorder is assumed to be a thermodynamic framework. Sound speed is used to research the stability of the system as a specific purpose.

We attempt to explain the following the \(f({\mathcal {R}})\) Gravity to recreate by red-shift factor as an origin of DE. We would to discuss a parameterizations for \(f({\mathcal {R}})\) gravity than we can define in this inspiration as the expanding of the accelerated universe expansion. Finally, the consistency of the study will be tested such that the University is seen under adiabatic perturbation as either a thermodynamic device. So, the stabilization of the model is studied using a valuable feature called the sound speed.

In this paper, we study the modified \(f({\mathcal {R}})\) gravity and solve the field equations for FLRW metric in the framework of perfect fluid in Sect. 2. While in Sect. 4, we analyze the bouncing behavior by the Hubble parameter and scale-factor, by assuming different models in \(f({\mathcal {R}})\) gravity. Then in Sect. 5, the existing red-shift parameter model is reconstructed. Then, effective pressure and effective energy density is redefined in term of red-shift parameter and also the cosmological parameters will also be specified. In Sect. 6, We investigate and examine the stability of the models. The brief description and conclusion of our results are summarized in last section.

2 The modified \(f({{\mathcal {R}}})\) gravity theory

Let us begin by analyzing the implications of the modified \(f({{\mathcal {R}}})\) gravity

$$\begin{aligned} A_{f({\mathcal {R}})}=\int \sqrt{-g}\left[ f({\mathcal {R}})+2 \kappa ^2 L_m\right] d^4x, \end{aligned}$$
(1)

where \(f({{\mathcal {R}}})\) is an arbitrary function of Ricci scalar while \(\kappa ^2 \equiv 8 \pi G\) is coupling constant, and \(L_m\) is Lagrangian matter density. By variational principles, the field equation becomes

$$\begin{aligned} f_{\mathcal {R}} R_{\lambda \rho }-\frac{1}{2} f g_{\lambda \rho }-\left[ \nabla _\lambda \nabla _\rho - g_{\lambda \rho } \Box \right] f_{\mathcal {R}} = \kappa ^2 T_{\lambda \rho }^{(m)}, \end{aligned}$$
(2)

where \(\nabla _{\lambda }\), \(\Box \equiv \nabla ^{\lambda }\nabla _{\lambda }\), \(T_{\lambda \rho }^{(m)}\) are the covariant derivative, de Alembert’s operator and the energy-momentum tensor respectively, while \(f_{\mathcal {R}} = \frac{d f}{d {\mathcal {R}}}\). The quantity \(f_{\mathcal {R}}\) contains the second order derivatives of the metric variables and the trace of Eq. (2) gives

$$\begin{aligned} 3\Box {f_R}+{R}f_R-2f(R)-{\kappa }^2 T=0, \end{aligned}$$
(3)

where \(T\equiv T^{(m)\rho }_{\rho }\). The above equation is a second order differential equation in \(f_{\mathcal {R}}\), unlikely the trace of field equation in general theory of relativity is reduces to \({\mathcal {R}}+\kappa ^2 T=0\). This points \(f_{\mathcal {R}}\) as a source of generating scalar degrees of freedom in \(f({\mathcal {R}})\) theory. As \(T=0\) this conditions doesn’t essentially indicates the constant value (or vanishing) of \({\mathcal {R}}\), is the dynamics and Eq. (3) is a fruitful mathematical methods to study various interesting and hidden cosmic arena, e.g. stability, Newtonian limit and so on. The constraint, constantly Ricci scalar as well as \(T_{\alpha \beta }=0\), reduces Eq. (3) as

$$\begin{aligned} {\mathcal {R}}f_{\mathcal {R}}-2f({\mathcal {R}})=0, \end{aligned}$$
(4)

which is known as the Ricci algebraic equation after selecting any viable formulations of modified \(f({\mathcal {R}})\) gravity model. By the roots of the above mention equation, i.e., \({\mathcal {R}}=\Lambda \) (assume), so Eq. (3) gives

$$\begin{aligned} {\mathcal {R}}_{\alpha \beta }=\frac{g_{\alpha \beta }\Lambda }{4}, \end{aligned}$$
(5)

We let FRLW background metric as

$$\begin{aligned} d{s^2} = a^2d{r^2}+{a^2}[ {d{\theta ^2} + {{r^2}{\sin }^2}\theta d{\phi ^2}}]-d{t^2}, \end{aligned}$$
(6)

here a is the scale-factor that is the function of t. Then the Ricci scalar \({\mathcal {R}}\) for above metric (Eq. 6) is

$$\begin{aligned} {\mathcal {R}} = 6{\dot{H}}+ 12 H^2, \end{aligned}$$
(7)

here \(H = \frac{{\dot{a}}}{a}\) is known as the Hubble parameter while dot represent derivative w.r.t cosmic-time.

By solving the field Eq. (2) for metric Eq. (6), we get

$$\begin{aligned}&3H^2 f_{\mathcal {R}} = \kappa ^2 \rho _m\nonumber \\&\quad +\frac{1}{2}[{\mathcal {R}} f_{\mathcal {R}}-f]-3 H \dot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}, \end{aligned}$$
(8a)
$$\begin{aligned}&-[2 {\dot{H}}+ 3 H^2]f_{\mathcal {R}} = \kappa ^2 p_m-\frac{1}{2}[{\mathcal {R}} f_{\mathcal {R}}-f]\nonumber \\&\quad +{\dot{R}}^2 f_{{\mathcal {R}}{\mathcal {R}}{\mathcal {R}}}+2 H \dot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}+\ddot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}, \end{aligned}$$
(8b)

here \(\rho _m\), \(p_m\) are energy density and pressure respectively. By using conservation equation, \(\nabla _\alpha T^{(m){\alpha \beta }} = 0\), along with EoS Parameter, \(\omega _m= \frac{p_m}{\rho _m}\), one find

$$\begin{aligned} {\dot{\rho }}_m + 3 \rho _m(\omega _m + 1)H = 0, \end{aligned}$$
(9)

the above equation yields the solution as

$$\begin{aligned} \rho _m = \rho _{m_0} a^{-3(\omega _m + 1)}. \end{aligned}$$
(10)

Furthermore, by using the standard Friedmann equations to compare the present approach

$$\begin{aligned} \rho _{eff} = \frac{3}{\kappa ^2} H^2 \end{aligned}$$

and

$$\begin{aligned} p_{eff} = -\frac{1}{\kappa ^2} (3 H^2+2 {\dot{H}}), \end{aligned}$$

we can rewrite Eqs. (8) as

$$\begin{aligned} \rho ^{eff}= & {} \rho _m +\rho _{f({\mathcal {R}})} = \kappa ^{-2} \left[ \kappa ^2 \rho _m+3 H^2 (1-f_{\mathcal {R}})\right. \nonumber \\&\left. -\frac{1}{2}(f-{\mathcal {R}} f_{\mathcal {R}})-3 H \dot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}\right] , \end{aligned}$$
(11a)
$$\begin{aligned} p^{eff}= & {} p_m + p_{f({\mathcal {R}})} = \kappa ^{-2} \bigg [\kappa ^2 p_m-(3 H^2+2 {\dot{H}})(1-f_{\mathcal {R}})\nonumber \\&+\frac{1}{2}(f-{\mathcal {R}} f_{\mathcal {R}})+\dot{{\mathcal {R}}}^2 f_{{\mathcal {R}}{\mathcal {R}}{\mathcal {R}}}\nonumber \\&+2 H \dot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}+\ddot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}\bigg ], \end{aligned}$$
(11b)

here \(\rho ^{eff}\), \(p^{eff}\) are effective energy density and pressure, while

$$\begin{aligned} \rho _{f({\mathcal {R}})}= & {} \kappa ^{-2} \left[ 3 H^2 (1-f_{\mathcal {R}})-\frac{1}{2}(f-{\mathcal {R}} f_{\mathcal {R}})-3 H \dot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}\right] , \nonumber \\\end{aligned}$$
(12a)
$$\begin{aligned} p_{f({\mathcal {R}})}= & {} \kappa ^{-2} \left[ -(2 {\dot{H}}+3 H^2)(1-f_{\mathcal {R}})\right. \nonumber \\&\left. +\frac{1}{2}(f-{\mathcal {R}} f_{\mathcal {R}})+\dot{{\mathcal {R}}}^2 f_{{\mathcal {R}}{\mathcal {R}}{\mathcal {R}}}+2 H \dot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}+\ddot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}\right] .\nonumber \\ \end{aligned}$$
(12b)

In the case of effective terms, the conservation equation can be rewritten with the help of using Eqs. (11) as

$$\begin{aligned} {\dot{\rho }}^{eff} + 3\rho ^{eff} H (1 + \omega ^{eff}) = 0, \end{aligned}$$
(13)

Here

$$\begin{aligned} \omega ^{eff} = \frac{p^{eff}}{\rho ^{eff}} = -\left( 1+\frac{2 {\dot{H}}}{3 H^2}\right) , \end{aligned}$$
(14)

is the parameter of effective EoS .

3 Reconstruction method for power-law model

By using the method in Refs. [93, 94], we reconstruct the modified gravitational models with the help of introducing proper functions P(t) and Q(t) of a scalar field t, which is interpreted as the cosmic time, the action in Eq. (1) with the absence of matter is written as

$$\begin{aligned} I = \int {d{x^4}\sqrt{ - g} \left[ {P(t) R+ Q(t) + {L_m}} \right] } \end{aligned}$$
(15)

then by solving this equation with Eq. (8) we get

$$\begin{aligned} Q(t) = - 6{H^2}P'(t) - 6P(t){H^2}(t) \end{aligned}$$
(16)

while the second equation becomes

$$\begin{aligned} P''(t) - H(t)P'(t) + 2P(t)H'(t) = 0 \end{aligned}$$
(17)

We solve the above differential equation for the power-law scale factor and then we use the solution to write down the general form of f(R) as follow

$$\begin{aligned} f(R)=P(R)R + Q(R) \end{aligned}$$
(18)

The scale factor for power law model is given by

$$\begin{aligned} a(t) = \beta {t^{\left( {2n} \right) }} \end{aligned}$$
(19)

Where \(\beta \) is constant and n is an integer. The behavior of this type of bouncing is shown in Fig. 1

Fig. 1
figure 1

Hubble parameter for Power Law

By using this scale factor and solving for P(t) and Q(t), we get.

$$\begin{aligned} P(t)&= {t^{n - \frac{1}{2}{\sqrt{4n\left( {n + 5} \right) + 1}} + \frac{1}{2}}}\left( {{c_1}{t^{\sqrt{4n\left( {n + 5} \right) + 1} }} + {c_2}} \right) , \end{aligned}$$
(20)
$$\begin{aligned} Q(t)&= 6n{t^{\frac{1}{2}\left( {2n - {\sqrt{4n\left( {n + 5} \right) + 1}} - 3} \right) }}\nonumber \\&\quad \times \left[ {{c_2}\left( { - 6n + \sqrt{4n\left( {n + 5} \right) + 1} - 1} \right) } \right. \end{aligned}$$
(21)
$$\begin{aligned}&- {c_1}\left( {6n + {\sqrt{4n\left( {n + 5} \right) + 1}} + 1} \right) \left. {{t^{\sqrt{4n\left( {n + 5} \right) + 1} }}} \right] \end{aligned}$$
(22)

The cosmic time in term of ricci scalar is written as

$$\begin{aligned} {t_ \pm } = \left[ {\frac{{ \pm 2\sqrt{3} \sqrt{n\left( { - 1 + 4n} \right) } }}{{\sqrt{R} }}} \right] \end{aligned}$$
(23)

By putting these equations in Eq. (18), we get

$$\begin{aligned} f(R)&= \frac{1}{{4n - 1}}{2^{\frac{1}{2}\left( {2n - \sqrt{4n\left( {n + 5} \right) + 1} - 1} \right) }}{3^{\frac{1}{4}\left( {2n - \sqrt{4n\left( {n + 5} \right) + 1} + 1} \right) }} \end{aligned}$$
(24)
$$\begin{aligned}&R{[ {\frac{{\sqrt{n\left( {4n - 1} \right) } }}{{\sqrt{R} }}} ]^{n - \frac{1}{2}\sqrt{4n\left( {n + 5} \right) + 1} + \frac{1}{2}}}\nonumber \\&\quad \left[ {{c_2}(2n} + \sqrt{4n\left( {n + 5} \right) + 1} - 3) \right. \end{aligned}$$
(25)
$$\begin{aligned}&- {c_1}{2^{\sqrt{4n\left( {n + 5} \right) + 1} }}{3^{\frac{1}{2}\sqrt{4n\left( {n + 5} \right) + 1} }}\nonumber \\&\quad \left\{ { - 2n} + {\sqrt{4n\left( {n + 5} \right) + 1} + 3} \right\} \end{aligned}$$
(26)
$$\begin{aligned}&\left. {{{\left[ {\frac{{\sqrt{n\left( {4n - 1} \right) } }}{{\sqrt{R} }}}\right] }^{\sqrt{4n\left( {n + 5} \right) + 1} }}} \right] \end{aligned}$$
(27)

Here, \(c_1,c_2\) are constants. We can see that this is valid for every n except \(0\le n \le -5\) and for \(n=1\) we get

$$\begin{aligned} {f_1}(R) = \frac{1}{9}{c_2}{R^{3/2}} - \frac{{{c_1}}}{R} \end{aligned}$$
(28)

4 The bouncing behavior in modified \(f({\mathcal {R}})\) gravity

Here, we will investigate the rebound conditions in modified \(f({\mathcal {R}})\) gravity. As an evolving world emerges, the world transitions fluctuations into an expanding stage from an earlier contracting period. This stage transition leads to a non-singular outcome in the Big Bang cosmological norm [62,63,64,65].

Consequently, the Hubble parameter moves for a good bounce from \(H(t) < 0\) to \( H(t) > 0\) and in bounce point \(H(t) = 0\). We may also claim the dilemma of bouncing World as regards the scale-factor, i.e. that we have a decline in scale-factor even during contracting stage as \({\dot{a}}(t) < 0\), and we have a development in the expanding process \({\dot{a}}(t) > 0\),and at the point of bounce \({\dot{a}}(t) = 0 \) and this point around \(\ddot{a}(t) > 0\).

Subsequently the Hubble parameter moves from \(H(t)<0\) to \(H(t)>0\), since its derivative must be greater than zero in the bounce stage as regards time evolution for its bouncing world

$$\begin{aligned} {\dot{H}}_{bounce}=-\frac{\kappa ^2}{2}(1+\omega ^{eff}) \rho ^{eff} > 0, \end{aligned}$$
(29)

We deduce the condition \(\rho ^{eff}>0\) with \(\omega ^{eff}<-1\).

Now within the bounce stage we can get the bounce status for the model. We would have in this situation \({\dot{H}}_{bounce}>0\) with \(H_{bounce}=0\), such that the bouncing stage (29) in the bounce stage by Eqs. (11) be assumed as

$$\begin{aligned} {\dot{H}}_{bounce}= & {} (2 f_{\mathcal {R}})^{-1}\left[ -\kappa ^2(\rho _m+p_m)+\dot{{\mathcal {R}}}^2 f_{{\mathcal {R}}{\mathcal {R}}{\mathcal {R}}}+\ddot{{\mathcal {R}}} f_{{\mathcal {R}}{\mathcal {R}}}\right] \nonumber \\&>0. \end{aligned}$$
(30)

In the following, we will investigate bouncing behavior with the advantage of particular choices in \(f ({\mathcal {R}})\) models

  • Model 1

    We consider the model with quadratic corrections firstly proposed by Starobinsky [95]

    $$\begin{aligned} f({\mathcal {R}})={\mathcal {R}} + \alpha {\mathcal {R}}^2 \end{aligned}$$
    (31)

    where \(\alpha \) is constants.

  • Model 2

    we take the Ricci scalar exponential corrections to GR [96]

    $$\begin{aligned} f({\mathcal {R}})={\mathcal {R}} + \alpha {\mathcal {R}} \left( e^{(-\frac{{\mathcal {R}}}{\gamma })} - 1\right) \end{aligned}$$
    (32)

    where \(\alpha \) and \(\gamma \) are constants.

  • Model 3

    One of the cubic correction to GR [97]

    $$\begin{aligned} f({\mathcal {R}})={\mathcal {R}} + \alpha {\mathcal {R}}^2 \left( 1 + \gamma {\mathcal {R}}\right) \end{aligned}$$
    (33)

    where \(\gamma \) and \(\alpha \) are arbitrary constants and if \(\gamma>> R\), Therefore the quadratic model is suitable model. This one. the case in doubt \(\alpha {\mathcal {R}}^2 \left( 1 + \gamma {\mathcal {R}}\right)<<R\) can be employed to maximise the influence of cubic terms on quadratic terms.

  • Model 4

    $$\begin{aligned} f({\mathcal {R}})={\mathcal {R}} + \alpha {\mathcal {R}}^2 \left( 1 + \gamma Log[\frac{{\mathcal {R}}}{\mu ^2}]\right) \end{aligned}$$
    (34)

    This model contain the logarithm term which describe the universe evolution in the absence of DE [98].

Fig. 2
figure 2

The scale-factor, a(t), in terms of cosmic-time under different viable models

Fig. 3
figure 3

The Hubble parameter, H(t), in terms of cosmic-time under different viable models

Fig. 4
figure 4

The energy density, \(\rho ^{eff}\), and pressure, \(p^{eff}\), in terms of cosmic-time under different viable models

Fig. 5
figure 5

The energy density, \(\rho ^{eff}\), and pressure, \(p^{eff}\), in terms of cosmic-time under different viable models

Fig. 6
figure 6

The EoS parameter, \(\omega ^{eff}\), in terms of cosmic-time under different viable models

Moreover, by inserting models (31), (32), (33) and (34) into Eqs. (11) separately, and solving numerically. By plotting the numerical solutions, the cosmological parameters can easily be drawn in terms of cosmic-time as shown in Figs. 2 and 3.

The bouncing behavior under consideration of four different viable models are:

In case of model 1, we can detect the bouncing action in the first part of Fig. 2. The Hubble parameter moves from the point of bounce (\(H(t \sim -0.818)=0\)) as \(H(t)<0\) to \(H(t)>0\), while the lowest scale-factor is or \({\dot{a}}(t \sim -0.818)=0\).

In Fig. 2, we can detect the bouncing action like \(H(t \sim -0.162019)=0\) as \(H(t)<0\) to \(H(t)>0\), and in other hand side, we see that the minimal element for the scale is or \({\dot{a}}(t \sim -0.162019)=0\) for the case of model 2.

Similarly, we realize that the bouncing behavior can be seen in the Fig. 3, in which we see that from the bounce level, the Hubble parameter moves through \(H(t \sim -0.354734)=0\) as \(H(t)<0\) to \(H(t)>0\), and In another hand, we can see how the minimal element for the scale or \({\dot{a}}(t \sim -0.354734)=0\) for the case of model 3.

Furthermore, we believe it is possible to detect the bouncing behavior in Fig. 3, in which the Hubble parameter moves \(H(t \sim -0.281699)=0\) as \(H(t)<0\) to \(H(t)>0\), and in other hand, we can see how the minimal element for the scale or \({\dot{a}}(t \sim -0.281699)=0\) for the case of model 4 (Fig. 2).

The Figs. 4 and 5 show that \(\rho _{eff} > 0\) and \(p_{eff} < 0\), These illustrate an accelerating universe. We may also note EoS variations with reference to galactic time in Fig. 6, and one indicates that the problem relates to late-time observational data crossing from over phantom-divide-line [99, 100].

We will rebuild the above model using the definition of red-shift during the next part.

5 Reconstruction by red-shift parameter

In this part, we will analyze the red-shift parameter model. In view of the scale-factor, one will be added as \(z+1=\frac{a_0}{a(t)}\), here \(a_0\) in the value in the current time. Further, we assume the dimensionless parameters \(r(z)=\frac{H(z)^2}{H_0^2}\) where \(H_0=71\pm 3\,km\,s^{-1}\,Mpc^{-1}\), is the Hubble value in the present time (universe today). From the above, one can relate cosmic-time to red-shift, the differential form appears

$$\begin{aligned} \frac{d}{dt}=\frac{da}{dt}\frac{dz}{da}\frac{d}{dz}=-H(z + 1) \frac{d}{dz}, \end{aligned}$$
(35)

Furthermore, the Ricci scalar (Eq.  (7)) and the effective energy density and pressure (Eq.  (11)) can be rewritten in terms of z as

$$\begin{aligned} {\mathcal {R}}= & {} 12H_0^2 r-3 (z+1)H_0^2 r', \end{aligned}$$
(36)
$$\begin{aligned} \rho ^{eff}=&\kappa ^{-2} \Big [\kappa ^2 \rho _m+3 H_0^2 r(f_\mathcal {R}(z)+1)\nonumber \\&- \frac{3}{2}H_0^2(z+1) r' f_\mathcal {R}(z)+ 3 H_0^2(z+1) r f'_\mathcal {R}(z)\nonumber \\&-\frac{1}{2} f(z) \Big ], \end{aligned}$$
(37)
$$\begin{aligned} p^{eff}=&\kappa ^{-2} \Big [\kappa ^2 p_m+\frac{1}{2} H_0^2 (z+1) r' (f_\mathcal {R}(z)+2)\nonumber \\&- 3 H_0^2 r (f_\mathcal {R}(z)+1) + \frac{1}{2}f(z)\nonumber \\&+H_0^2 (z+1)^2 r f''_\mathcal {R}(z) + \frac{1}{2}H_0^2 (z+1)^2 r' f'_\mathcal {R}(z)\nonumber \\&- H_0^2 (z+1) r f'_\mathcal {R}(z) \Big ], \end{aligned}$$
(38)

here derivative is denoted by the prime with regard to z. The energy density of matter is identified as

$$\begin{aligned} \rho _m = \rho _{m_0} \left( \frac{a_0}{1+z}\right) ^{-3(\omega _m+1)}. \end{aligned}$$
(39)

Currently, in order to recreate the model as a source of DE, we need to add the r(z) feature to be equipped with supernova descriptive statistics [101, 102]. In form of red-shift, one of the suitable choice [103, 104], written as following

$$\begin{aligned} r(z)=C_{{0}}+C_{{1}} \left( z+1 \right) +C_{{2}} \left( z+1 \right) ^{2}+\Omega _{{m_{{0}}}} \left( z+1 \right) ^{3},\nonumber \\ \end{aligned}$$
(40)

where \(C_0=1 - C_1 - C_2 - \Omega _{m_0}\). It should be remembered that the above parametrization corresponds to \(\Lambda \)CDM model for \(C_1 = C_2 = 0\) along with \(C_0 =1 - \Omega _{m_0}\). The criteria for the right fit are as good as \(\Omega _{m_0} = 0.3\), \(C_1=-4.16 \pm 2.53\) and \(C_2 = 1.67 \pm 1.03\) [99]. It is to be noted that the freely parameters of the model play a crucial role in this work.

By substituting, Eqs. (40) into Eqs. (37) and (38), we get the cosmological parameters in terms of red-shift with the results shown in Figs. 7 and 8. The variance of the successful EoS tells us that its value is around \(\sim -1\) in late time (\(z=0\)), as shown in Fig. 9, and \(\omega ^{eff}<-1\) which confirms as an accelerated growing of the universe. The outcome achieved verifies the performance of Refs. [105, 106].

Fig. 7
figure 7

The energy density \(\rho ^{eff}\) and pressure \(p^{eff}\) in terms of red-shift under different viable models

Fig. 8
figure 8

The energy density \(\rho ^{eff}\) and pressure \(p^{eff}\) in terms of red-shift under different viable models

Fig. 9
figure 9

The parameter of EoS is \(\omega ^{eff}\) in terms of red-shift under different viable models

Fig. 10
figure 10

The speed of sound \(Cs^{2}\) in terms of red-shift under different viable models

6 Stability analysis

We will address the stability of the modified \(f({\mathcal {R}})\) gravity. As the ideal fluid has been filled by the Cosmos, we can accept it as a thermodynamic device. We will use the sum of sound-velocity for the ideal fluid device to this end. As we observe, a useful function such as \(Cs^2=\frac{dp^{eff}}{d\rho ^{eff}}\) induces sound-velocity, in which \(p^{eff}\) and \(\rho ^{eff}\) are the Universe’s efficient power density and effective strain. In a thermodynamic system, because the sound-velocity \(Cs^2\) is positive, the stability state thus occurs when the parameter \(Cs^2\) becomes greater than zero. We observe that a thermodynamic system can be represented by quantities of effective power density, entropy and effective pressure, with adiabatic and non-adiabatic disruptions.

We now assume the related scheme to be \(p^{eff}=p^{eff}(S,\rho ^{eff})\), And disturbing ourselves with regard to the successful burden that we have

$$\begin{aligned}&\delta p_{eff}=\left( \frac{\partial p_{eff}}{\partial S}\right) _{\rho ^{eff}} \delta S+\left( \frac{\partial p^{eff}}{\partial \rho ^{eff}}\right) _{S} \delta \rho ^{eff}\nonumber \\&= \left( \frac{\partial p_{eff}}{\partial S}\right) _{\rho ^{eff}} \delta S+ c^2_s \, \delta \rho ^{eff}, \end{aligned}$$
(41)

In which the first phrase in the cosmological dilemma is compared to a non-adiabatic method, the second term is compared to the adiabatic process. Because adiabatic disruption is considered in cosmology, so for the cosmological process, the variety of entropy appears zero, i.e. \(\delta S = 0\). Therefore, we are continuing our study that only involves adiabatic processes.

Now, to get the \(Cs^2\) feature, to separate the Eqs. With regard to red-shift, (37) and (38), we get \(Cs^2\) in terms of red-shift. In that case, by numerical estimation, as seen in Fig. 10, we map the speed of sound function in the process of red-shift. Hence, the Fig. 10 tells us that there is a busy time stability, since the \(c^2 s\) value is positive for the \(z=0\) event.

In case of Model 1, the stability condition satisfied in late-time e.g. at \(z=0\), \(Cs^2=2.49\) and also \(Cs^2>0\) for \(z>0.5\), while in case of model 2 and 3, the condition is fulfilled at \(z>0.5\) gives \(Cs^2>0\). Furthermore, in case of Model 4, the stability condition satisfied in late-time e.g. at \(z=0\), \(Cs^2=4.9\) and also \(Cs^2>0\) for \(z>0.5\).

7 Summary

We have discussed multiple feasible models of modified \(f({\mathcal {R}})\) gravity in the FLRW metric. The modified Friedmann equations were obtained by solving the field equations with the perfect fluid. Then, by splitting the two \(\rho ^{eff}\) and \(p^{eff}\) functions for the adjusted gravity, we obtained the efficient EoS. In what follows, in terms of cosmic-time, we studied bouncing behavior for four different viable models in \(f({\mathcal {R}})\) gravity for the scenario and acquired bouncing state at bounce stage and illustrated the related cosmological parameters. We then rebuilt the model with a red-shift component, and we are using the r(z) function parametrization, and the cosmological parameters were written in terms of red-shift z, particularly the Friedmann equations and the effective EoS. The behavior of effective energy density, pressure and EoS in red-shift were studied which tell us that the \(\rho ^{eff}\) and \(p^{eff}\) varieties are positive and negative, respectively. On the other side, the variance of \(\omega ^{eff}\) tell us that the EoS crosses the phantom step. This outcome supports the gradual expansion of the Universe and thus correlates to observational results. [105, 106]. We observed that in the subsequent graphs, the free parameters play a crucial role in encouraging these choices based on positivity, effective energy density and negative effective pressure, as well as crossing the \(\omega ^{eff}\) over the phantom divide axis. Finally, we tried to quantify speed sound in terms of red-shift in order to test the stability of the situation, so we plotted the \(Cs^2\) with regard to red-shift. Hence, the Fig. 10 has shown us that late time stability occurs since the \(Cs^2\) function is greater than zero in the actual time. By considering the four different models in modified \(f({\mathcal {R}})\) gravity, the obtained results also verifies the results of Ref. [107].