1 Introduction

The inflationary paradigm is currently the main approach to describing the evolution of the early universe avoiding the horizon, flatness and homogeneity problems [1,2,3,4]. Also inflation describes the formation of large scale structure of the universe in the context of the origin of primary inhomogeneities and relict gravitational waves [5, 6] (for review, see [7, 8]). Most of the first inflationary models were based on the Einstein gravity coupled to self-interacting scalar field in Friedmann universe [2,3,4] while the pioneering work by Starobinsky [1] was related to modified f(R) gravity which arose from quantum one-loop contributions of conformally covariant matter fields.

At the present time, to explain the stage of the accelerated expansion of the universe [9, 10] (the construction of dark energy models), the cosmological models of modified f(R) gravity, which differ from Einstein gravity are actively considered [11,12,13,14,15,16] (for review, see [17]). One of the oldest generalizations of GR, the scalar–tensor gravity (STG), also can describe the early and later inflation [18].

Let us note that both f(R) gravity and STG are conformally related to GR with a scalar field minimally coupled to gravity. The original papers where it was shown are [19] for an arbitrary f(R) and [20] for a more general scalar–tensor case. Such conformal connection of the models with f(R) gravity and GR is considered, for example, in the work [21]. The conformal connection of cosmological models on the basis of STG and GR have been studied for example, in [22]. Therefore, on the basis of the inverse conformal transformation from GR to STG it is possible to find the connection between STG and f(R) gravity. Such conformal connection between f(R) gravity and STG have been considered, for example, in [23, 24].

Scalar–tensor gravity theories are important extensions of GR, which can explain both the initial inflationary evolution, as well as the late accelerating expansion of the Universe. The examples of inflationary models on the basis of scalar–tensor gravity theories with the exact solutions were considered in the works [25,26,27,28,29,30,31]. Also, in the articles [32, 33] the equations of cosmological dynamics for STG were reduced to ones for the Einstein gravity in the case of the Friedman–Robertson–Walker metric by a specific choice of the coupling function and the kinetic function. This makes it easy to translate the solutions obtained for standard GR cosmology to the case of inflation based on STG. For this purpose it is possible to use the examples of exact solutions for inflation based on the Einstein gravity represented in [34, 35]. Also it is of interest to pay attention to a new class of exact inflationary solutions in GR dubbed the constant-roll ones which found in [36] and they compared with observations in [37].

In this paper, we consider the generalized scalar–tensor gravity theory and a deviation during inflationary stage from de Sitter expansion for such theories. This approach allow us to comply with the inflationary paradigm which implies quasi de Sitter expansion at an early stage of the evolution of the universe. Also we obtain the exact solutions of the cosmological dynamic equations and the parameters of cosmological perturbations in the generalized scalar–tensor gravity.

This paper is organized as follows. In Sect. 2 we represent the generalized scalar–tensor (GST) theory which includes Brance–Dicke and induced gravity. We discuss the relation between scalar–tensor gravity and Einstein gravity with self-interacting scalar field. Also we write down cosmological equations for generalized scalar–tensor theory and note the transition to Friedmann cosmology. Section 3 is devoted to conformal connection GST cosmology with GR cosmology. In Sect. 4 we introduce a connection (ansatz) of the Hubble parameter to non-minimal coupling function which fixes the deviation of Hubble parameter in GST cosmology from de Sitter stage in GR cosmology. In this way the non-minimal coupling function defines the evolution of a scalar field and the deviation of the potential from it in de Sitter stage. In Sect. 5 we consider, as an example, the inflation with power-law Hubble parameter and coupling function. The set of special class of exact solutions are obtained. The features of the slow-roll regime are considered. Section 6 is devoted to cosmological perturbations for the GST gravity under consideration. General relations for parameters of cosmological perturbations in terms of suggested ansatz are derived, including power spectrums, spectral indexes and tensor-to-scalar ratio. Using observation data from PLANCK observatory we estimate the value of model parameter which gives a good correspondence to observations. In Sect. 7 we discuss obtained results and conclude about advantages of STG gravity.

2 Scalar Einstein–Friedmann and generalized scalar–tensor cosmologies

We study the generalized scalar–tensor (GST) theory described by the action (see, for example, [30], Eq. (2.100))

$$\begin{aligned} S_{(GST)}= & {} \frac{1}{\kappa }\int d^4x\sqrt{-g}\Biggl [\frac{1}{2}F(\phi ) R - \frac{f(\phi )}{2}g^{\mu \nu }\partial _{\mu }\phi \partial _{\nu } \phi \nonumber \\&\quad - V(\phi )\Biggr ] +S^{(m)}, \end{aligned}$$
(1)
$$\begin{aligned} S^{(m)}= & {} \int d^4x\sqrt{-g} L^{(m)}, \end{aligned}$$
(2)

where \( \kappa \) is the Einstein gravitational constant, g a determinant of the spacetime metric \(g_{\mu \nu }\), \(\phi \) the scalar field with the potential \(V=V(\phi )\), \(f(\phi )\) and \(F(\phi )\) are the differentiable functions of \(\phi \), R is the Ricci scalar curvature of the spacetime, \(L^{(m)}\) is the Lagrangian of the matter. The action (1) is the generalization associated with the scalar–tensor Brans–Dicke gravity where the linear interaction of the scalar field \(\phi \) to gravity is replaced by an coupling function \(F(\phi ) \) of the gravitational (non-material) scalar field. In the present article we will study the case of vacuum solutions for the model (1) suggesting that \( S^{(m)}=0\).

Now, we note the actions for various partial cases of generalized scalar–tensor gravity theory:

(1) Brans–Dicke gravity

$$\begin{aligned} S_{(BD)}= & {} \frac{1}{\kappa }\int d^4x\sqrt{-g}\Biggl [\frac{1}{2}\phi R - \frac{\alpha }{\phi }g^{\mu \nu }\partial _{\mu }\phi \partial _{\nu } \phi \nonumber \\&\quad - V(\phi )\Biggr ], \end{aligned}$$
(3)
$$\begin{aligned} F(\phi )= & {} \phi ,~~f(\phi )=\alpha /\phi ,~~\alpha =const; \end{aligned}$$
(4)

(2) Induced gravity

$$\begin{aligned} S_{(IND)}= & {} \frac{1}{\kappa }\int d^4x\sqrt{-g}\Biggl [\frac{\beta }{2}\phi ^{2} R - \frac{f(\phi )}{2}g^{\mu \nu }\partial _{\mu }\phi \partial _{\nu } \phi \nonumber \\&\quad - V(\phi )\Biggr ], \end{aligned}$$
(5)
$$\begin{aligned} F(\phi )= & {} \beta \phi ^{2},~~\beta =const; \end{aligned}$$
(6)

(3) Non-minimal coupling

$$\begin{aligned} S_{(NC)}= & {} \frac{1}{\kappa }\int d^4x\sqrt{-g}\Bigg [(1-\xi \phi ^{2}) R - \frac{f(\phi )}{2}g^{\mu \nu }\partial _{\mu }\phi \partial _{\nu } \phi \nonumber \\&\quad - V(\phi )\Bigg ], \end{aligned}$$
(7)
$$\begin{aligned} F(\phi )= & {} 1-\xi \phi ^{2}. \end{aligned}$$
(8)

Here \(\xi \) is the dimensionless coupling constant. Special values of this constant correspond to different cases: \(\xi =1/6\) (conformal coupling), \(\xi =0\) (minimal coupling) and \(\mid \xi \mid \gg 1\) (strong coupling).

The action of the scalar field Einstein gravity is

$$\begin{aligned} S_{(SFE)} = \int d^4x\sqrt{-g}\left[ \frac{R}{2\kappa } - \frac{1}{2}g^{\mu \nu }\partial _{\mu }\varphi \partial _{\nu } \varphi - U(\varphi )\right] . \end{aligned}$$
(9)

Let us remind that opposite to the scalar field \(\phi \) in the action (1), the scalar field \(\varphi \) in the action (9) is the source of the gravitation and it is a matter (material) field.

Considering the gravitational and field equations of the models (1) and (9) in the Friedman universe we can confront them with the choice of natural units, including \( \kappa =8\pi G/c^{4}=1\). Such choice formally means that we could not make difference between non-material and material scalar fields. Thus, the equations will give for us the solutions but these solutions should be considered in the subsequent model. That is, from the physical point of view, the solutions will correspond to different representation of gravity.

Let as note also that the cosmological constant \(\Lambda \) can be extracted from the constant part of the potential \(V(\phi )\), therefore we did not include it into the actions (1) and (9).

To describe a homogeneous and isotropic universe we chose the Friedmann–Robertson–Walker (FRW) metric in the form

$$\begin{aligned} ds^2=-dt^2+a^2(t)\left( \frac{d r^2}{1-k r^2}+r^2 ( d\theta ^2+\sin ^2\theta d\varphi ^2)\right) , \end{aligned}$$
(10)

where a(t) is a scale factor, a constant k is the indicator of universe’s type: \( k>0,~k=0,~k<0 \) are associated with closed, spatially flat, open universes, correspondingly.

The cosmological dynamic equations for the GST theory (1) in a spatially flat \((k=0)\) FRW metric are

$$\begin{aligned}&\frac{1}{2}\dot{\varphi }^{2}+V(\varphi )=3FH^{2}+3H\dot{F}, \end{aligned}$$
(11)
$$\begin{aligned}&\dot{\varphi }^{2}=H\dot{F}-2F\dot{H}-\ddot{F}, \end{aligned}$$
(12)
$$\begin{aligned}&\ddot{\varphi } + 3H \dot{\varphi } + V'_{\varphi } -3F'_{\varphi }(\dot{H}+H^2) = 0, \end{aligned}$$
(13)

where a dot represents a derivative with respect to the cosmic time t, \(H \equiv \dot{a}/a\) denotes the Hubble parameter, \(F'_{\varphi } = \partial F/\partial \varphi \) and \(\varphi =\int \sqrt{f(\phi )} d\phi \),Footnote 1 for \(f(\phi )>0\) we have canonical scalar field \(\varphi \), for \(f(\phi )<0\) we have phantom scalar field \(\varphi \) and for \(f(\phi )=0\) we have a potential motivated inflation. The scalar field equation (13) can be derived from the Eqs. (11)–(12); for this reason, the Eqs. (11)–(12) completely describe the cosmological dynamics and we will deal with the GST gravitational equations only

$$\begin{aligned}&\frac{f(\phi )}{2}\dot{\phi }^{2}+V(\phi )=3FH^{2}+3H\dot{F}, \end{aligned}$$
(14)
$$\begin{aligned}&f(\phi )\dot{\phi }^{2}=H\dot{F}-2F\dot{H}-\ddot{F}. \end{aligned}$$
(15)

The gravitational equations (14) and (15) are represented in terms of \(f(\phi ), \phi \) notations. We will refer to these equations as for GST cosmology equations.

If \(F=1\), Eqs. (14) and (15) are reduced to those for scalar field Friedmann (inflationary) cosmology

$$\begin{aligned} 3H^{2}= & {} \frac{1}{2}\dot{\varphi }^{2}+V(\varphi ), \end{aligned}$$
(16)
$$\begin{aligned} \dot{\varphi }^{2}= & {} -2\dot{H}. \end{aligned}$$
(17)

Here, we remember, the scalar field \( \varphi \) is the source of Einstein gravity. We will refer to Eqs. (16) and (17) as for GR cosmology equations.Footnote 2

3 Conformal connection to GR cosmology

Let us consider the conformal transformation from GST theory to GR without adopting the scalar field to the canonical form. I.e. we are considering 1D Chiral Cosmological Model (CCM) [38] with the action

$$\begin{aligned} S_{(1D-CCM)} = \int d^4x\sqrt{-g}\left[ \frac{R}{2\kappa } - \frac{1}{2}h_{11}(\phi )g^{\mu \nu }\partial _{\mu }\phi \partial _{\nu } \phi - V(\phi )\right] \end{aligned}$$
(18)

in Einstein frame.

Now we intend to connect the exact solutions of the GST cosmology (1) to those for GR cosmology (18). To this end we use the conformal transformationFootnote 3

$$\begin{aligned} g_{\mu \nu }(x)=\Omega ^2 g^{J}_{\mu \nu }(x), \end{aligned}$$
(19)

with

$$\begin{aligned} \Omega =\sqrt{F(\phi )}. \end{aligned}$$
(20)

Using the standard procedure [31] one can transform the action (12) to (18) where

$$\begin{aligned} h_{11}(\phi )=\frac{3}{2\kappa }\left( \frac{F'}{F}\right) ^2+ \frac{f(\phi )}{\kappa F},~~ U(\phi )=\frac{V(\phi )}{\kappa F^2}. \end{aligned}$$
(21)

Note, that \(h_{11}(\phi )=f(\phi )/\kappa \) in the action (1) for GR cosmology when \(F(\phi )=1\).

Thus we can see, that for transformation from Jordan to Einstein frame we must include Einstein gravitational constant \(\kappa \) into the chiral 1D metric and the potential. So the connection between GST and GR cosmologies have the same view as we stated earlier, namely if we set the natural units, including \(\kappa =1\).

The metric, conformal to FRW one, became

$$\begin{aligned} ds^2=F(\phi ) \left[ -dt^2+a^2(t)\left( \frac{d r^2}{1-k r^2}+r^2 ( d\theta ^2+\sin ^2\theta d\varphi ^2)\right) \right] . \end{aligned}$$
(22)

Thus, knowing the exact form of \(F(\phi ),~f(\phi ),~V(\phi ), H(\phi )\), we can obtain the solution in GR cosmology.

The Einstein equations for the model \(S_{(1D-CCM)}\) can be represented in the form

$$\begin{aligned} R_{\mu \nu }=h_{11}(\phi )\partial _\mu \phi \partial _\nu \phi +g_{\mu \nu }U(\phi ). \end{aligned}$$
(23)

Nonzero components of Ricci tensor are

$$\begin{aligned} R_{44}= & {} -3\left[ H^2+\dot{H}+\frac{\dot{F}}{2F}H+\frac{\ddot{F}}{2F}-\frac{1}{2}\frac{\dot{F}^2}{F^2}\right] , \end{aligned}$$
(24)
$$\begin{aligned} R_{11}= & {} \ddot{a}a+2\dot{a}^2+a^2\frac{\ddot{F}}{2F}+\frac{5}{2}\frac{\dot{F}}{F}\dot{a}a, \end{aligned}$$
(25)
$$\begin{aligned} R_{22}= & {} r^2R_{11},~~R_{33}=r^2 \sin ^2 \theta R_{11}. \end{aligned}$$
(26)

Thus, using obtained solution in GST cosmology one can check the corresponding solution in GR cosmology.

4 GST as the source of deviation from de Sitter stage

The de Sitter stage with \(H=const\) where the source of the accelerated (exponential) expansion is the vacuum energy determined by the cosmological constant \(\Lambda \) or a constant scalar field \(\phi =const\) is very important model of accelerated universe.

However, within the framework of the inflationary paradigm, a quasi-de Sitter stage with \(H\approx const\) is considered, implying quantum fluctuations of the scalar field, leading to the formation of a large-scale structure and gravitational waves in GR cosmology [7, 8] and in STG cosmology [30, 31]. Let us note that the first and correct calculation of quantum generation of GW during a metastable quasi-de Sitter stage (later dubbed inflationary) in GR was made in the work by Starobinsky [5], while the first calculation of generation of scalar perturbations in the \(R+R^2 \) inflationary model [1] was performed in [6]. Scalar perturbations in the first viable inflationary model in GR (the so called “new” inflationary one) were later independently calculated in [39,40,41].

Let us consider the GST theory (1) in FRW spacetime (10) taking the Eqs. (14) and (15) as the basic ones. To connect the evolution of the scalar field \(\phi \) and the potential \(V(\phi )\) with non-minimal coupling of the field and curvature, which is defined by the function \(F(\phi )\), we suggest the \( H \& F(\phi )\) ansatz

$$\begin{aligned} H=\lambda \mathcal{F}[(F(\phi )], \end{aligned}$$
(27)

where \(\lambda \) is an arbitrary constant, \(\mathcal{F}[F(\phi )]\) is the function of \(F(\phi )\) obeying the property that \(\mathcal{F}[F(\phi )]=1\) when \(F=1\). If we wish to make comparison with GR cosmology we chose \(F=1\) and we obtain de Sitter stage \(H=\lambda \).

Now, we consider the case when \(\mathcal{F}[F(\phi )]=\sqrt{F(\phi )}\). Then the ansatz (27) is reduced to

$$\begin{aligned} H=\lambda \sqrt{F}, \,\,\,\, \lambda >0. \end{aligned}$$
(28)

Using the ansatz (28) the Eqs. (14) and (15) can be displayed as

$$\begin{aligned}&V(\phi (t))=3\lambda ^{2}F^{2}+3\lambda \sqrt{F}\dot{F}+\frac{1}{2}\ddot{F}, \end{aligned}$$
(29)
$$\begin{aligned}&f(\phi (t))\dot{\phi }^{2}=-\ddot{F}. \end{aligned}$$
(30)

Under the condition \(F(\phi )=1\) we turn to GR cosmology and we have the minimal coupling of the (material) scalar field to the curvature. Then, from the Eqs. (28) and (30), we obtain \(V=3\lambda ^ {2}=\Lambda \), \(\phi =const\), \(H =\lambda \) and the state parameter \(w_ {eff}=-1-2\dot{H}/3H^{2}=- 1\).

Suggesting \(F(\phi )\ne 1\), we found the deviation of the scalar field \(\phi =\phi (t)\), the potential \(V(\phi )\) and the kinetic energy \(\dot{\phi }^{2}/2\) from that in GR cosmology at de Sitter stage. Thus, the non-minimal coupling \(F(\phi )\) defines the evolution of a scalar field and the deviation of its potential from the flat one. Also, the non-minimal coupling \(F(\phi )\) can drastically change cosmological dynamics relative to GR cosmology (de Sitter expansion in our consideration). As an example of proposed approach we consider the inflation with power-law Hubble parameter.

5 The inflation with power-law Hubble parameter

Now, we consider the following coupling function

$$\begin{aligned} F(t)=\frac{B^{2}}{\lambda ^{2}}t^{2n},~~F(t)\equiv F(\phi (t)), \end{aligned}$$
(31)

with corresponding Hubble parameter and scale factor:

$$\begin{aligned} H(t)= & {} Bt^{n}, \end{aligned}$$
(32)
$$\begin{aligned} a(t)= & {} a_{s}\exp \left( \frac{B}{n+1}t^{n+1}\right) ,~~~n\ne -1. \end{aligned}$$
(33)

For \(-1<n<0\) one has the intermediate inflation [42, 43] which is faster then power-law inflation \(a(t)\propto t^{B}\) (\(n=-1\)) and slower than de Sitter expansion \(a(t)\propto e^{Bt}\) (\(n=0\)). When \(n>0\) we have the other regime of expansion which is faster then de Sitter expansion. In this regime one has \(\dot{H}>0\).

From Eqs. (29) and (30) we obtain

$$\begin{aligned} V(\phi (t))= & {} \frac{B^{2}}{\lambda ^{2}}(3B^{2}t^{4n}+6Bnt^{3n-1} +\,n(2n-1)t^{2(n-1)}), \end{aligned}$$
(34)
$$\begin{aligned} f(\phi (t))\dot{\phi }^{2}= & {} -\frac{2n(2n-1)B^{2}}{\lambda ^{2}}t^{2(n-1)}. \end{aligned}$$
(35)

Thus, one can generate the exact solutions for any type of the coupling function \(F=F(\phi )\) by the choice of the dependence \(t=t(\phi )\) from which we also obtain the evolution of a scalar field \(\phi =\phi (t)\). For \(n=0\) and \(B=\lambda \) we return to the de Sitter expansion based on the minimal coupling \(F=1\).

Further, we shell consider the exact solutions for some classes of inflationary models with exponential power-law dynamics.

5.1 The first class of models with \(n=1/3\)

For the first class of models with \(n=1/3\) from (34) to (35) we obtain

$$\begin{aligned} F(t)= & {} \frac{B^{2}}{\lambda ^{2}}t^{2/3},~~H(t)=Bt^{1/3},\nonumber \\ a(t)= & {} a_{s}\exp \left( \frac{3B}{4}t^{4/3}\right) , \end{aligned}$$
(36)
$$\begin{aligned} V(t)= & {} \frac{B^{2}}{\lambda ^{2}}\left( 3B^{2}t^{4/3}-\frac{1}{9}t^{-4/3}+2B\right) , \end{aligned}$$
(37)
$$\begin{aligned} f(t)\dot{\phi }^{2}= & {} \frac{2B^{2}}{9\lambda ^{2}}t^{-4/3}. \end{aligned}$$
(38)

For the following scalar field evolution

$$\begin{aligned} \phi (t)=\frac{\lambda ^{2}}{B^{2}}t^{2/3}, \end{aligned}$$
(39)

from Eqs. (36) to (38) we have

$$\begin{aligned} V(\phi )= & {} \frac{B^{2}}{\lambda ^{2}}\left( \frac{3B^{6}}{\lambda ^{4}}\phi ^{2}- \frac{\lambda ^{4}}{9B^{4}}\phi ^{-2}+2B\right) , \end{aligned}$$
(40)
$$\begin{aligned} F(\phi )= & {} \phi ,~~~f(\phi )=\frac{B^{4}}{\lambda ^{4}}\phi ^{-1}, \end{aligned}$$
(41)

that corresponds to the case of Brans–Dicke gravity.

5.2 The second class of models with \(n=1\)

For the second class of models with \(n=1\) one has

$$\begin{aligned} F(t)= & {} \frac{B^{2}}{\lambda ^{2}}t^{2},~~H(t)=Bt,~~a(t)=a_{s}\exp \left( \frac{B}{2}t^{2}\right) , \end{aligned}$$
(42)
$$\begin{aligned} V(t)= & {} \frac{B^{2}}{\lambda ^{2}}(3B^{2}t^{4}+6Bt^{2}+1), \end{aligned}$$
(43)
$$\begin{aligned} f(t)\dot{\phi }^{2}= & {} -\frac{B^{2}}{\lambda ^{2}}. \end{aligned}$$
(44)

For the scalar field \(\phi =t\) we have

$$\begin{aligned} V(\phi )= & {} \frac{B^{2}}{\lambda ^{2}}(3B^{2}\phi ^{4}+6B\phi ^{2}+1), \end{aligned}$$
(45)
$$\begin{aligned} F(\phi )= & {} \frac{B^{2}}{\lambda ^{2}}\phi ^{2},~~~f=-\frac{B^{2}}{\lambda ^{2}}, \end{aligned}$$
(46)

that corresponds to the case of induced gravity.

For model with non-minimal coupling \(F(\phi )=1-\xi \phi ^{2}\), where \(\xi \) is the dimensionless coupling constant, in the context of second class models, we have

$$\begin{aligned} V(\phi )= & {} 3\lambda ^{2}\xi (\xi -2)\phi ^{4}-6B\xi \phi ^{2}+3\lambda ^{2}\nonumber \\&\quad +\,6B+\frac{B^{2}}{\lambda ^{2}}, \end{aligned}$$
(47)
$$\begin{aligned} \sqrt{\xi }\phi (t)= & {} \pm \left( 1-\frac{B^{2}}{\lambda ^{2}}t^{2}\right) ^{1/2}, \end{aligned}$$
(48)
$$\begin{aligned} f(\phi )= & {} \frac{\xi ^{2}\phi ^{2}}{\xi \phi ^{2}-1}. \end{aligned}$$
(49)

5.3 The third class of models with \(n=1/2\)

In the case of \(n=1/2\) we obtain

$$\begin{aligned} F(t)= & {} \frac{B^{2}}{\lambda ^{2}}t,~~H(t)=B\sqrt{t},~~a(t)\nonumber \\= & {} a_{s}\exp \left( \frac{2B}{3}t^{3/2}\right) , \end{aligned}$$
(50)
$$\begin{aligned} V(t)= & {} \frac{B^{2}}{\lambda ^{2}}(3B^{2}t^{2}+3B\sqrt{t}), \end{aligned}$$
(51)
$$\begin{aligned} f(t)\dot{\phi }^{2}= & {} 0. \end{aligned}$$
(52)

For this class of models in the case of induced gravity \(F(\phi )=\frac{B^{2}}{\lambda ^{2}}\phi ^{2}\) or \(t=\phi ^{2}\) we have the potential

$$\begin{aligned} V(\phi )=\frac{B^{2}}{\lambda ^{2}}(3B^{2}\phi ^{4}+3B\phi ). \end{aligned}$$
(53)

For model with non-minimal coupling \(F(\phi )=1-\xi \phi ^{2}\) we have

$$\begin{aligned} V(\phi )= & {} 3\lambda ^{2}\xi ^{2}\phi ^{4}-6\lambda ^{2}\xi \phi ^{2}+\frac{3B^{2}}{\lambda }\sqrt{1-\xi \phi ^{2}}\nonumber \\&\quad +\,3\lambda ^{2}+\frac{B^{2}}{\lambda ^{2}}, \end{aligned}$$
(54)
$$\begin{aligned} \sqrt{\xi }\phi (t)= & {} \pm \left( 1-\frac{B^{2}}{\lambda ^{2}}t\right) ^{1/2}. \end{aligned}$$
(55)

Thus, we obtain the new exact solutions for the inflationary models based on the different well known types of a scalar–tensor gravity.

5.4 The slow-roll regime

Further, we consider the conditions of slow-roll regime on the basis of the slow-roll parameters

$$\begin{aligned} \epsilon =-\frac{\dot{H}}{H^{2}},~~~\delta =\epsilon -\frac{\dot{\epsilon }}{2H\epsilon }=-\frac{\ddot{H}}{2H\dot{H}},~~~~ \xi =\epsilon \delta -\frac{1}{H}\dot{\delta }. \end{aligned}$$
(56)

For \(H(t)=Bt^{n}\) with \(B<0\) we have the following slow-roll parameters

$$\begin{aligned} \epsilon =\frac{n}{B}t^{-(n+1)},~~~\delta =\frac{(n-1)}{2B}t^{-(n+1)},~~~ \xi =-\frac{(n-1)}{2B^{2}}t^{-2(n+1)}. \end{aligned}$$
(57)

Thus, for the values \(n=1/3,1,1/2\) the slow-roll parameters are decreasing functions (for \(n=1\) one has \(\delta =0\), \(\xi =0\)), therefore, we can always choose the constant B in order to satisfy the conditions \(\epsilon \ll 1\), \(\delta \ll 1\) and \(\xi \ll 1\).

The conditions of the slow-roll regime in the case of scalar–tensor gravity

$$\begin{aligned}&|\ddot{\phi }|\ll H|\dot{\phi }|\ll H^{2}|\phi |, \end{aligned}$$
(58)
$$\begin{aligned}&\frac{1}{2}|f(\phi )|\dot{\phi }^{2}\ll |V(\phi )|, \end{aligned}$$
(59)

can be provided when \(\frac{\dot{F}}{HF}\ll 1\) [44]. For the coupling function (31) and the Hubble parameter (32) with \(B<0\) we have \(\delta _{F}=\frac{\dot{F}}{HF}=-2\epsilon \), thus \(|\delta _{F}|\ll 1\).

Further, we consider the parameter \(\epsilon _{s}\) which also characterizes the possibility of the slow-roll regime in the case of inflation based on the scalar–tensor gravity and can be written as [45, 46]

$$\begin{aligned} \epsilon _{s}=\epsilon +\frac{1}{2}\delta _{F}+O(\epsilon ^{2}). \end{aligned}$$
(60)

For \(\delta _{F}=-2\epsilon \) one has \(\epsilon _{s}=O(\epsilon ^{2})\ll 1\). Thus, it is possible to provide the slow-roll regime for all considered models by the choice of the constant B.

6 Cosmological perturbations

Further, we shall calculate the parameters of cosmological perturbations to verify the obtained solutions by the observational constraints. The method of calculating the parameters of cosmological perturbations in the case of cosmological models based on scalar–tensor gravity can be found, for example, in [45,46,47,48]. In the slow-roll regime we can use the approach outlined in [45, 46].

Firstly, we obtain the functions

$$\begin{aligned} w_{1}= & {} F, \end{aligned}$$
(61)
$$\begin{aligned} w_{2}= & {} 2HF+\dot{F}, \end{aligned}$$
(62)
$$\begin{aligned} w_{3}= & {} -9FH^{2}-9H\dot{F}+\frac{3}{2}f(\phi )\dot{\phi }^{2}= -9FH^{2}-9H\dot{F}\nonumber \\&+\,\frac{3}{2}(H\dot{F}-2F\dot{H}-\ddot{F}), \end{aligned}$$
(63)
$$\begin{aligned} w_{4}= & {} F. \end{aligned}$$
(64)

Also, we note that the velocities of the scalar and tensor perturbations for the case of the scalar–tensor gravity are equal to unity (\(c_{S}=1\), \(c_{T}=1\)) [52].

The power spectrum of the curvature perturbation is given by [45, 46]

$$\begin{aligned} \mathcal{P}_{\mathrm{S}}=\frac{H^{2}}{8\pi ^{2}Q_{S}},~~~Q_{S} \equiv \frac{w_{1}(4w_{1}w_{3}+9w_{2}^{2})}{3w_{2}^{2}}. \end{aligned}$$
(65)

On the crossing of Hubble radius (\(k=aH\)) the expression \(d\ln k\) can be written as \(d\ln k=(H+\frac{\dot{H}}{H})dt=H(1-\epsilon )dt\), where k is the wave number.

In this case, we have the scalar spectral index

$$\begin{aligned} n_{\mathrm{S}}-1\equiv \frac{d\ln \mathcal{P}_{\mathrm{S}}}{d\ln k}\bigg |_{k=aH}=\frac{\mathcal{\dot{P}}_{\mathrm{S}}}{H(1-\epsilon )\mathcal{P}_{\mathrm{S}}}\bigg |_{k=aH}, \end{aligned}$$
(66)

For tensor perturbations we have the power spectrum [45, 46]

$$\begin{aligned} \mathcal{P}_{\mathrm{T}}=\frac{H^{2}}{2\pi ^{2}Q_{T}},~~~Q_{T} \equiv \frac{w_{1}}{4}. \end{aligned}$$
(67)

The spectral index of tensor perturbations is

$$\begin{aligned} n_{\mathrm{T}}\equiv \frac{d\ln \mathcal{P}_{\mathrm{T}}}{d\ln k}\bigg |_{k=aH}=\frac{\mathcal{\dot{P}}_{\mathrm{T}}}{H(1-\epsilon )\mathcal{P}_{\mathrm{T}}}\bigg |_{k=aH}. \end{aligned}$$
(68)

The spectral indexes (66) and (68) differs from that given in the works [45, 46] differ by a factor of \(1/(1-\epsilon )\), since we don’t use the slow-roll approximation on this step of calculations. Such a representation of the spectral parameters of cosmological perturbations was used in articles [49,50,51] to refine its values at the crossing of the Hubble radius for standard inflation with the Einstein gravity.

Tensor-to-scalar ratio is

$$\begin{aligned} r=\frac{\mathcal{P}_{\mathrm{T}}}{\mathcal{P}_{\mathrm{S}}}=4\frac{Q_{S}}{Q_{T}}. \end{aligned}$$
(69)

Now, we calculate the parameters of cosmological perturbations for the considered models.

6.1 The parameters of cosmological perturbations for ansatz \(H=\lambda \sqrt{F}\)

For the ansatz (27) we have the velocities and parameters of cosmological perturbations for arbitrary Hubble parameter H in the following form

$$\begin{aligned} \mathcal{P}_{\mathrm{S}}= & {} \frac{\lambda ^{2}(H^{2}+\dot{H})^{2}}{8\pi ^{2}(2\dot{H}^{2}-H\ddot{H})},~~~\mathcal{P}_{\mathrm{T}}=\frac{2\lambda ^{2}}{\pi ^{2}}, \end{aligned}$$
(70)
$$\begin{aligned} r= & {} \frac{16(2\dot{H}^{2}-H\ddot{H})}{(H^{2}+\dot{H})^{2}},~~~n_{\mathrm{T}}=0. \end{aligned}$$
(71)

In terms of the slow-roll parameters we obtain

$$\begin{aligned} \mathcal{P}_{\mathrm{S}}= & {} \frac{\lambda ^{2}}{8\pi ^{2}\epsilon }\left[ \frac{(1-\epsilon )^{2}}{2(\epsilon -\delta )}\right] ,~~~~~~ r=16\epsilon \left[ \frac{2(\epsilon -\delta )}{(1-\epsilon )^{2}}\right] , \end{aligned}$$
(72)
$$\begin{aligned} n_{\mathrm{S}}-1= & {} \frac{\dot{\epsilon }\epsilon \delta -\dot{\delta }\epsilon ^{2}-2\dot{\epsilon }\epsilon +\dot{\epsilon }\delta +\epsilon \dot{\delta }}{(1-\epsilon )^{2}(\epsilon -\delta )\epsilon H}\nonumber \\= & {} \frac{1}{(1-\epsilon )^{2}}\biggl [2\epsilon \delta -4\epsilon +2\delta \nonumber \\&\quad +(1-\epsilon )\left( \frac{\epsilon \delta -\xi }{\epsilon -\delta }\right) \biggr ]. \end{aligned}$$
(73)

Thus, for the slow-roll parameters (57) we have

$$\begin{aligned} \mathcal{P}_{\mathrm{S}}= & {} \frac{\lambda ^{2}(Bt^{n+1}-n)^{2}}{8\pi ^{2}n(n+1)},~~~\mathcal{P}_{\mathrm{T}}=\frac{2\lambda ^{2}}{\pi ^{2}}, ~~~\nonumber \\ r= & {} \frac{16n(n+1)}{(Bt^{n+1}-n)^{2}}, \end{aligned}$$
(74)
$$\begin{aligned} n_{\mathrm{S}}-1= & {} -\frac{2(n+1)Bt^{n+1}}{(Bt^{n+1}-n)^{2}}\nonumber \\= & {} -\frac{nr+4\sqrt{n(n+1)r}}{8n},~~~~n_{\mathrm{T}}=0. \end{aligned}$$
(75)

The e-folds number as function of time is

$$\begin{aligned} N(t)=-\int Hdt=\frac{B}{n+1}t^{n+1} \end{aligned}$$
(76)

and the parameters of cosmological perturbations in terms of the e-folds number N are

$$\begin{aligned} r= & {} \frac{16n(n+1)}{(N(n+1)+n)^{2}}, \end{aligned}$$
(77)
$$\begin{aligned} \mathcal{P}_{\mathrm{S}}= & {} \frac{\lambda ^{2}(N(n+1)-n)^{2}}{8\pi ^{2}n(n+1)}, \end{aligned}$$
(78)
$$\begin{aligned} n_{\mathrm{S}}-1= & {} -\frac{2(n+1)^{2}N}{(N(n+1)-n)^{2}}. \end{aligned}$$
(79)

Further, we estimate the value of parameter \(\lambda \) for three classes of models for \(N=60\) and \(\mathcal{P}_{\mathrm{S}}=2.1\times 10^{-9}\).

I. The first class of models with \(n=1/3\)

$$\begin{aligned}&r\simeq 0.001,~~~\mathcal{P}_{\mathrm{T}}\simeq 2.4\times 10^{-12}, \end{aligned}$$
(80)
$$\begin{aligned}&n_{\mathrm{S}}-1\simeq -0.033,~~~~\lambda \simeq 3.4\times 10^{-6}. \end{aligned}$$
(81)

II. The second class of models \(n=1\)

$$\begin{aligned}&r\simeq 0.002,~~~\mathcal{P}_{\mathrm{T}}\simeq 4.7\times 10^{-12}, \end{aligned}$$
(82)
$$\begin{aligned}&n_{\mathrm{S}}-1\simeq -0.034,~~~~\lambda \simeq 4.8\times 10^{-6}. \end{aligned}$$
(83)

III. The third class of models \(n=1/2\)

$$\begin{aligned}&r\simeq 0.002,~~~\mathcal{P}_{\mathrm{T}}\simeq 3.1\times 10^{-12}, \end{aligned}$$
(84)
$$\begin{aligned}&n_{\mathrm{S}}-1\simeq -0.034,~~~~\lambda \simeq 3.9\times 10^{-6}. \end{aligned}$$
(85)

As one can see, all three classes of models have a good correspondence to the observational constraints from the PLANCK observations [53]

$$\begin{aligned} 10^{9}{\mathcal {P}}_{S}&=2.142\pm 0.049, ~~{\mathcal {P}}_{T}=r{\mathcal {P}}_{S}, \\ n_{S}&=0.9667\pm 0.0040,~~r< 0.112. \end{aligned}$$

For Einstein gravity \(F=1\) and from (27) we have the model with cosmological constant

$$\begin{aligned} \Lambda =3\lambda ^{2}\approx 10^{-11} \end{aligned}$$
(86)

and with de Sitter dynamics \(a(t)\propto \exp (\lambda t)\).

7 Conclusion and discussions

In this paper we consider the early cosmology with scalar–tensor gravity as the source of deviation from pure de Sitter expansion, i.e. with nonminimal coupling of a constant scalar field, associated with a primary vacuum, and curvature that leads to its evolution.

For the analysis of cosmological models, we chose the specific connection \(H=\lambda \sqrt{F}\) between Hubble parameter and coupling function.

For Hubble parameter \(H(t)=Bt^{n}\), which was considered in all models in this article we get the parameters of cosmological perturbations corresponding to observational constraints and estimate the value of cosmological constant on the crossing of Hubble radius.

Also, we note, that the power spectrum of tensor perturbations is constant for any cosmological model based on the scalar–tensor gravity with \(H=\lambda \sqrt{F}\).