1 Introduction

The investigation of alternative theories of gravity chiefly arises from open issues in cosmology, astrophysics, quantum field theory and Mach’s principle. In fact, long-standing problems like the initial singularity, flatness, horizon and relic amongst others, articulate that the standard model of cosmology which is based on particle physics standard model and general relativity (GR) fails when one wants to portray the universe in its entirety, particularly when the extreme regimes of ultraviolet scales are concerned. The consequences of these shortcomings and most importantly the absence of an ultimate quantum theory of gravity provides an incentive to consider modifications to GR in order to construct a semi-classical description toward quantization. These theories are aimed at addressing gravitational interactions by adding physically motivated, non-minimally coupled scalar fields or higher-order curvature invariants, like the inclusion of Gauss–Bonnet term in the Einstein–Hilbert action. Therefore, to obtain the low-energy effective action of quantum gravity on scales closer to Planck scale, one needs the inclusion of such corrective terms [1,2,3,4].

The enthusiasm in considering such an approach in the cosmology of early universe stems from the fact that extended theories of gravity (ETG) can “naturally” reproduce inflationary behavior due to the existence of a non-minimal coupled scalar field to curvature, its higher orders and the kinetic term. Therefore, such models are able to overcome the aforementioned shortcomings of the standard model of cosmology [4] and seem also capable of justifying several observational data coming from various sources. In addition, the Mach principle, which states that a local inertial frame is determined by the average motion of remote astronomical objects, has brought about further incentives to modify GR [5]. Consequently, the gravitational coupling can be scale-dependent whereby the concept of inertia and the equivalence principle have to be revised, since there is no a priori reason to constrain the gravitational Lagrangian to a linear function of the Ricci scalar R, minimally coupled to matter fields [6,7,8,9,10,11,12,13].

In recent years, ETGs have been playing an absorbing role in depicting today’s observable universe. In fact, the spectacular amount of high quality data produced over the past few decades seem to shed new light on the effective picture of the universe. Type Ia Supernovae (SNeIa) [14,15,16], large-scale structure (LSS) [17, 18], baryon acoustic oscillations (BAO) [19, 20], anisotropies in the cosmic microwave background radiation (CMBR) [21,22,23], and matter power spectrum extracted from the wide and deep galaxy surveys provide incontrovertible evidence whereby the standard model of cosmology should radically be revised at cosmological scales. Specifically, the ubiquitous \(\Lambda \) CDM model indicates that the baryon contribution to the total matter-energy budget is roughly around \((\sim \)4%), while cold dark matter (CDM) represents the bulk of the clustered large-scale structure by \((\sim \)25%) and the so-called cosmological constant \(\Lambda \) plays the role of dark energy (DE) contributing \((\sim \)75%) [24, 25] to the total matter-energy supply.

The incentive to search for alternative models of dark energy [26,27,28] stems from the fact that the \(\Lambda \mathrm{CDM}\) model is affected by strong theoretical shortcomings [29] whereas the model is incredibly compatible with a broad range of data [30]. The validity of GR at large astrophysical and cosmological scales has never been confirmed but merely assumed [31]. Nonetheless dark energy models are primarily built on the implicit assumption that Einstein’s GR is the correct theory of gravity. Therefore, it is conceivable that both the existing cosmic acceleration and the missing relic are nothing else but a signal of a breakdown of GR. In this sense, GR could fail in representing self-consistent pictures both at ultraviolet (early universe) and infrared scales (late universe). Hence, one possible way to explain the current accelerating epoch is to consider scalar–tensor theories where different couplings of the scalar field to curvature exist [32,33,34,35,36]. Scalar–tensor theories have been extensively considered among all possible explanations to describe cosmic acceleration, since the coupling of the scalar field to curvature naturally appear in the process of quantization on a curved space-time [37, 38], from compactification of higher dimensional gravity theories [39] to next to leading-order corrections in the \(\alpha ^{\prime }\) expansion of string theory [40,41,42] where \(\alpha ^{\prime }\) is the inverse string tension. From a mathematical point of view, these corrective terms, in fact, lead to the corresponding effective energy-momentum tensor for modified Einstein–Hilbert action which provides an elegant methodology to deal with the eccentric dark energy, violating energy conditions in cosmology.

In low-energy effective string theory which is a leading candidate for quantum theory of gravity there is a scalar field degree of freedom \(\phi \) known as the dilaton which couples to the Ricci scalar R in the form \(f(\phi ) R\) [43, 44]. A field coupling of the form \(\xi _{1}(\phi ) R_\mathrm{GB}\), where \(R_\mathrm{GB}\) is the Gauss–Bonnet curvature [45,46,47,48] also arises as a higher-order string correction to the low-energy effective string action [40,41,42]. Furthermore, the higher-order string corrections include a non-minimal derivative term \(\xi _{2}(\phi )G^{\mu \nu } (\partial \phi )^{2}\) as well as a non-linear self-interaction of the form \(\xi _{3}(\phi ) (\partial \phi )^{2} \Box \phi \), where for constant \(\xi _{3}(\phi )\) this term reduces to a covariant Galilean field that respects the Galilean symmetry \(\partial _{\mu }\phi \rightarrow \partial _{\mu } \phi + A_{\mu }\) in Minkowski space-time [49,50,51,52,53,54] and indeed a non-canonical term like \(\xi _{4}(\phi ) (\partial \phi )^{4}\) keeping the field equations of second order. One may also accommodate non-linear field derivative terms such as \(\xi _{3}(\phi ) X^{n} \Box \phi \), which are usually referred to as generalized Galileans and \(\xi _{4}(\phi ) X^{m}\) which are known as k-essence, in order to have a further general action where for \(n=1\) and \(m=2\) reduces to that of the general Brans–Dicke with string corrections. Since the existence of each corrective term accentuates a fresh characteristic of the model involved and that in turn points to a somewhat new description of various phenomena, much work has been carried out as regards such combinations with different couplings between them, in the hope of eventually producing a cohesive description of the observed data; for a comprehensive review on scalar–tensor inflationary and dark energy models, see [55,56,57,58,59] and [60,61,62,63,64,65,66]. Beside compatibility with observational data, an important criteria that a scalar–tensor theory must satisfy in order to be viable is to reproduce the desired dynamics of the universe including an inflationary era, followed by a radiation and matter dominated era and finally current accelerating epoch in which the theory must possess a future (or at least a meta-stable) de Sitter asymptote which is indispensable to portray existing dark energy [67]. Therefore, any viable model should be able to satisfy the above properties.

Symmetries have always been playing a principal role in the conceptual discussions of classical and quantum physics. The chief reason is that various conservation laws, namely energy, momentum, angular momentum, and so forth provide the integrals of motion for a given dynamical system due to the existence of some type of symmetry in that system. From a further general perspective, it can be demonstrated that such laws of conservation are particular cases of the so-called Noether theorem pursuant to which a first integral of motion is resulted for every one-parameter group of coordinate transformation on the configuration space of a system keeping the Lagrangian invariant [68]. In mathematical language, this means that if the vector field X is the generator of the above diffeomorphism, the Lie derivative of the Lagrangian along X should vanish; \(\mathcal {L}_{X}L=0\) [69]. The idea of using Noether symmetry in cosmology is not new and numerous works have indeed been done in the literature along this line. In this context, the first use of Noether symmetry as a selection criteria in scalar–tensor theory, since such theories usually include unspecified functions which would increase arbitrariness, was exploited in [70, 71]. For a review on Noether symmetry see [72,73,74,75,76,77,78,79,80,81,82,83].

Having the above points in mind, the main goal of this paper is to explore Noether symmetry in general scalar–tensor theories which allow us to find analytical solutions for the variety of models and also provide cosmologically viable models satisfying minimal criteria. The layout of the paper is the following. In Sect. 2, the action for the model is presented, followed by the corresponding point-like Lagrangian and equations of motion adopting FRLW metric. Section 3 is devoted to discussing the Noether theorem in general and the way it reduces the dynamics of the system and brings the possibility of finding exact solutions. In the following, we attempt to solve a coupled partial differential equation in order to find the functional form of the undetermined functions. Inserting these functions in two Friedmann equations, we demand for exact de Sitter, power-law and bouncing universe solutions which lead to explore novel and well-investigated models. Therefore, we present models which are able to transit from decelerating phase (matter dominated era) into accelerating epoch (de Sitter phase) and also models which describe a sequence from the inflationary era to accelerating phase at late times. In Sect. 4, we find the condition for stability of the de Sitter solution through perturbing the action up to second order around a de Sitter background. Finally, conclusions are drawn in the last section. Throughout the paper we adopt the Planckian units \(8 \pi G = \hbar = c =1\) and the metric signature \((+ , -, -, -)\).

2 The model and background equations

We start with the following action:

$$\begin{aligned} S&= \int \mathrm{d}^{4} x \sqrt{-g} \Big [\frac{1}{2}f(\phi ) R + P(\phi , X) - \xi _{1}(\phi )R_\mathrm{GB} \nonumber \\&\quad - \xi _{2}(\phi ) G^{\mu \nu }\partial _{\mu } \phi \partial _{\nu } \phi - G(\phi , X) \Box \phi \Big ]+ L_{m}, \end{aligned}$$
(1)

where g is determinant of the metric in four dimensions, R is the Ricci scalar, \(R_\mathrm{GB} = R^{2} - 4 R^{\mu \nu }R_{\mu \nu }+R^{\rho \sigma \mu \nu }R_{\rho \sigma \mu \nu }\) is the Gauss–Bonnet term in which \(R_{\mu \nu }\), \(R_{\rho \sigma \mu \nu }\) and \(G_{\mu \nu } = R_{\mu \nu } - \frac{1}{2} g_{\mu \nu } R\) are the Ricci, Riemann and Einstein tensors, respectively. The scalar field is represented by \(\phi \) with \(X = - \frac{1}{2}g^{\mu \nu } \partial _{\mu } \phi \partial _{\nu } \phi \) being the kinetic term and \(L_{m}\) the matter Lagrangian. To obtain the corresponding point-like Lagrangian we consider

$$\begin{aligned} P(\phi , X)&= \omega (\phi )X - V(\phi ) - \xi _{4}(\phi ) X^{m}, \nonumber \\ G(\phi , X)&= \xi _{3}(\phi ) X^{n}. \end{aligned}$$
(2)

where n and m are positive constant. In fact such an action for \(\xi _{2}(\phi )=0\) reduces to that for which non-Gaussianities have been investigated in [84, 85] and also to a general Brans–Dicke with string corrections for \(n=1\) and \(m=2\), whose cosmological perturbations were studied in [40,41,42]. Let us proceed by considering the spatially flat FLRW metric. The corresponding point-like Lagrangian for action (1) is then given by

$$\begin{aligned}&L(a, \dot{a}, \phi , \dot{\phi })\nonumber \\&\quad = - 3 a \dot{a} ^{2} f(\phi ) - 3 a^{2} \dot{a} \dot{\phi }f^{\prime }(\phi ) + \frac{1}{2} a^{3} \dot{\phi }^{2} \omega (\phi )\nonumber \\&\qquad + 8 \dot{a}^{3} \dot{\phi }\xi ^{\prime }_{1}(\phi ) - \frac{3}{2} a \dot{a}^{2} \dot{\phi }^{2} \xi _{2}(\phi ) + \frac{6n}{2n+1} a^{2} \dot{a} \dot{\phi }X^{n}\xi _{3}(\phi ) \nonumber \\&\quad - \frac{2}{2n+1} a^{3} X^{n+1} \xi ^{\prime }_{3}(\phi ) - a^{3} X^{m} \xi _{4}(\phi ) - a^{3} V(\phi ) - \rho _{0m}, \end{aligned}$$
(3)

with a(t) being the scale factor as a function of cosmic time, \(L_{m} =- \rho _{0m} a^{-3}\) in which \(\rho _{0m}\) is an integration constant associated with the matter content, \(X = \frac{1}{2} \dot{\phi }^{2}\) and a dot represents derivative with respect to cosmic time whereas a prime denotes derivative with respect to the scalar field. One can also find the following zero energy condition (Hamiltonian constraint) associated with Lagrangian (3):

$$\begin{aligned} E_{L}&\equiv 3 H^{2} f + 3 H \dot{f} - 24 H^{3} \dot{\xi }_{1} + \frac{9}{2} H^{2} \dot{\phi }^{2} \xi _{2} - 6 n H \dot{\phi }X^{n} \xi _{3}\nonumber \\&\quad + X^{n} \dot{\phi }\dot{\xi }_{3} + (2m-1) X^{m} \xi _{4}- \omega X - V(\phi ) - \rho _{m} = 0, \end{aligned}$$
(4)

where \(H = \frac{\dot{a}}{a}\) is the Hubble parameter. Equation (3) is also known as the first modified Friedmann equation, which corresponds to the \(G_{00}\) component. Furthermore, the equations of motion can be obtained by varying the Lagrangian (3) with respect to a and \(\phi \), respectively

$$\begin{aligned} E_{a}&\equiv 3 H^{2}f + 2 \dot{H} f + 2 H \dot{f} + \ddot{f} - 16 H \dot{H} \dot{\xi }_{1}- 16 H^{3} \dot{\xi }_{1} \nonumber \\&\quad - 8 H^{2} \ddot{\xi }_{1}+ \frac{1}{2}(3 H^{2} + 2 \dot{H}) \dot{\phi }^{2} \xi _{2} + H (\dot{\phi }^{2} \dot{\xi }_{2} + 2 \dot{\phi }\ddot{\phi }\xi _{2})\nonumber \\&\quad - n X^{n-1} \dot{\phi }^{2} \ddot{\phi }\xi _{3} - X^{n} \dot{\phi }\dot{\xi }_{3} - X^{m}\xi _{4} + \omega X - V= 0, \end{aligned}$$
(5)
$$\begin{aligned} E_{\phi }&\equiv \Big (\omega - 3 H^{2} \xi _{2} + 6 n^{2} H \dot{\phi }X^{n-1} \xi _{3}- 2(n+1) X^{n}\xi ^{\prime }_{3}\nonumber \\&\quad - m(2m-1) X^{m-1} \xi _{4} \Big ) \ddot{\phi }+ \Big (3 H \omega + \omega ^{\prime } \dot{\phi }- 6 H \dot{H} \xi _{2}\nonumber \\&\quad - \frac{3}{2} H^{2} \dot{\phi }\xi _{2}^{\prime } - 9 H^{3} \xi _{2} + 9 n H^{2} \dot{\phi }X^{n-1} \xi _{3} \nonumber \\&\quad + 3 n \dot{H} \dot{\phi }X^{n-1} \xi _{3}+ 3n H^{2} \dot{\phi }^{2} X^{n-1} \xi _{3}^{\prime }- 6 H X^{n} \xi _{3}^{\prime } \nonumber \\&\quad - X^{n} \dot{\phi }\xi _{3}^{\prime \prime } - m \dot{\phi }X^{m-1} \xi _{4}^{\prime } - 3 m H X^{m-1} \xi _{4}\Big ) \dot{\phi }\nonumber \\&\quad - 6 H^{2} f^{\prime }- 3 \dot{H} f^{\prime } - \omega ^{\prime } X + 24 H^{4} \xi _{1}^{\prime } + 24 H^{2} \dot{H} \xi _{1}^{\prime }\nonumber \\&\quad + X^{m} \xi _{4}^{\prime } + V^{\prime } = 0. \end{aligned}$$
(6)

Here, \(E_{a}\) is the second modified Friedmann equation corresponding to the \(G_{ii}\) components of the Einstein field equations and \(E_{\phi }\) is the modified Klein–Gordon equation. We note that because of the existence of the Bianchi identity, \(\dot{\phi }E_{\phi } + \dot{E}_{L} + 3 H (E_{L}-E_{a})=0\), only two of the above equations are independent.

3 Noether symmetry approach

Generally speaking, the Noether symmetry plays a vital role in physics since it can be used to simplify a given system of differential equations as well as to determine the integrability of the system. As we mentioned in the introduction, the associated Noether conserved charges in scalar–tensor theories typically reduce dynamics of the system in such a way as to result in determining the unspecified functions in the action and hence extract exact cosmological solutions. As is well known, Noether symmetry exists for the Lagrangian \(L(q_{i}, \dot{q}_{i})\) if

$$\begin{aligned} \mathcal {L}_{X} L= X L(q_{i}, \dot{q}_{i}) = 0. \end{aligned}$$
(7)

Here, \(\mathcal {L}_{X}\) is the Lie derivative with respect to Noether vector X which is defined on the tangent space \(\mathcal {T}\mathcal {Q}=\{q_{i}, \dot{q}_{i}\}\). The immediate consequence of the above condition for Lagrangian \(L(q_{i}, \dot{q}_{i})\) can be expressed as the Cartan one-form as follows:

$$\begin{aligned} i_{X} \theta _{L} = \Sigma _{0}, \end{aligned}$$
(8)

and

$$\begin{aligned} \theta _{L} = \frac{\partial L}{\partial \dot{q}_{i}} \mathrm{d} q^{i}, \end{aligned}$$
(9)

where \(i_{X}\) is the interior derivative and \(\Sigma _{0}\) represents the conserved quantity. In fact, the existence of Noether symmetry is connected to the existence of a vector field which is expressed according to

$$\begin{aligned} X = \alpha ^{i}(q_{i}) \frac{\partial }{\partial q_{i}} + \frac{ \mathrm{d} \alpha ^{i}(q_{i})}{\mathrm{d} t} \frac{\partial }{\partial \dot{q}_{i}}. \end{aligned}$$
(10)

Therefore, the existence of a conserved quantity ensures the existence of a cyclic variable under the point transformation

$$\begin{aligned} i_{X} \mathrm{d} Q^{1} = 1, \quad i_{X} \mathrm{d} Q^{i} = 0, \quad i \ne 1, \end{aligned}$$
(11)

where \(Q^{1}\) is a cyclic coordinate which leads to the conserved quantity \(\Sigma _{0}\) in a new coordinate system. In other words, the existence of cyclic variables means that the dynamics of the system is simplified and allows one to integrate equations of motion. This is to say that the conserved quantities are revealed “directly” through the dynamics or alternatively, it is the dynamics that give rise to conserved quantities. In fact, Noether symmetry selects the dynamics and results in conserved quantities where the dynamical equations are simplified for some particular functional forms of the undetermined functions. In addition, it should also be mentioned that in terms of cyclic variables the conserved quantities are nothing but the corresponding conjugate momenta. In fact, the momenta will be conserved for the selected functional forms by Noether symmetry. In our case, upon having a look at Lagrangian (3), one finds that although the action has a complicated form and contains several terms, it only has a two dimensional phase space \(\mathcal {Q}\{a, \phi \}\).

Let us now define the vector field

$$\begin{aligned} X = A(a, \phi ) \frac{\partial }{\partial a}+ B(a, \phi ) \frac{\partial }{\partial \phi }+\dot{A}(a, \phi ) \frac{\partial }{\partial \dot{a}}+\dot{B}(a, \phi ) \frac{\partial }{\partial \dot{a}}, \end{aligned}$$
(12)

where

$$\begin{aligned} \dot{A}(a, \phi ) = \dot{a} \frac{\partial A}{\partial a} + \dot{\phi }\frac{\partial A}{\partial \phi }, \quad \dot{B}(a, \phi ) = \dot{a} \frac{\partial B}{\partial a} + \dot{\phi }\frac{\partial B}{\partial \phi }, \end{aligned}$$
(13)

for which condition (7) for Lagrangian (3) becomes

$$\begin{aligned} \mathcal {L}_{X}L(a, \dot{a}, \phi , \dot{\phi })= X L = 0. \end{aligned}$$
(14)

The above equation can be expanded as follows:

$$\begin{aligned}&\left( -3 a B f^{\prime } - 6 a A_{,a}f - 3 a^{2} B_{,a} f^{\prime } - 3 A f\right) \dot{a}^{2}\nonumber \\&\quad + \left( \frac{3}{2} a^{2} A \omega + \frac{1}{2} a^{3} B \omega ^{\prime } - 3 a^{2} A_{,\phi } f^{\prime }+ a^{3} B_{,\phi } \omega \right) \dot{\phi }^{2}\nonumber \\&\quad + \left( - 3 a^{2} A_{,a} f^{\prime } - 6 a A_{,\phi } f \right. \nonumber \\&\quad \left. + a^{3} B_{,a} \omega - 3 a^{2} B_{,\phi } f^{\prime } - 6 a A f^{\prime } - 3 a^{2} B f^{\prime \prime }\right) \dot{a} \dot{\phi }\nonumber \\&\quad +\left( - \frac{3}{2} A \xi _{2} + 24 A_{,\phi } \xi _{1}^{\prime } - \frac{3}{2} a B \xi _{2}^{\prime } - 3 a A_{,a} \xi _{2} - 3 a B_{,\phi } \xi _{2}\right) \nonumber \\&\quad \times \dot{a}^{2} \dot{\phi }^{2} + \left( 8 B \xi _{1}^{\prime \prime }+ 24 A_{,a} \xi _{1}^{\prime } + 8 B_{,\phi } \xi _{1}^{\prime } \right. \nonumber \\&\quad \left. \nonumber - 3 a B_{,a} \xi _{2}\right) \dot{a}^{3} \dot{\phi }- 3 a A_{,\phi } \xi _{2} \dot{a} \dot{\phi }^{3}+ 8 B_{,a} \xi _{1}^{\prime } \dot{a}^{4}\nonumber \\&\quad + \left( - \frac{2n+2}{2n+1} a^{3} B_{,a} \xi _{3}^{\prime } + \frac{12n}{2n+1} a A \xi _{3} + \frac{6n}{2n+1} a^{2} B \xi _{3}^{\prime }\right. \nonumber \\&\quad \left. + \frac{6n}{2n+1} a^{2} A_{,a} \xi _{3}+6 n a^{2} B_{,\phi } \xi _{3} \right) \dot{a} \dot{\phi }X^{n} \nonumber \\&\quad + 6n a^{2} B_{,a}\xi _{3} \dot{a}^{2} X^{n}- m a^{3} B_{,a}\xi _{4} \dot{a} \dot{\phi }X^{m-1}\nonumber \\&\quad + \left( \frac{6n}{2n+1} a^{2}A_{,\phi } \xi _{3}- \frac{3}{2n+1} a^{2} A \xi _{3}^{\prime } \right. \nonumber \\&\quad \left. - \frac{2n+2}{2n+1} a^{3} B_{,\phi } \xi _{3}^{\prime } - \frac{1}{2n+1} a^{3} B \xi _{3}^{\prime \prime }\right) X^{n+1}\nonumber \\&\quad - \left( a^{3} B \xi _{4}^{\prime } + 3 a^{2} A \xi _{4} + 2 m a^{3} B_{,\phi } \xi _{4}\right) X^{m} - a^{3} B V^{\prime }\nonumber \\&\quad - 3 a^{2} A V = 0, \end{aligned}$$
(15)

where the comma denotes a partial derivative. The coefficients of the above equation take various forms for \(m=n+1\), \(m \ne n+1\), and \(n=1\) hence there are several cases that should be investigated.

3.1 Case \(m \ne n+1\)

Equation (15) is a polynomial in the terms of \(\dot{a}^{2},\dot{\phi }^{2},\dot{a} \dot{\phi }, \dot{a}^{2} \dot{\phi }^{2}, \dot{a}^{3} \dot{\phi }, \dot{\phi }^{3} \dot{a}, \dot{a}^{4}, \dot{a} \dot{\phi }X^{n}, \dot{a}^{2} X^{n}, \dot{a} \dot{\phi }X^{m-1}, X^{n+1}\), \(X^{m}\) and terms which contain any time derivatives of configuration space variables and for it to be zero, each coefficient should vanish separately. Therefore, Eq. (15) leads to a system of coupled partial differential equations as follows:

$$\begin{aligned}&-3 a B f^{\prime } - 6 a A_{,a}f - 3 a^{2} B_{,a} f^{\prime } - 3 A f=0, \end{aligned}$$
(16)
$$\begin{aligned}&+\frac{3}{2} a^{2} A \omega + \frac{1}{2} a^{3} B \omega ^{\prime } - 3 a^{2} A_{,\phi } f^{\prime }+ a^{3} B_{,\phi } \omega =0,\end{aligned}$$
(17)
$$\begin{aligned}&- 3 a^{2} A_{,a} f^{\prime } - 6 a A_{,\phi } f + a^{3} B_{,a} \omega - 3 a^{2} B_{,\phi } f^{\prime } - 6 a A f^{\prime }\nonumber \\&-3 a^{2} B f^{\prime \prime }=0, \end{aligned}$$
(18)
$$\begin{aligned}&- \frac{3}{2} A \xi _{2} + 24 A_{,\phi } \xi _{1}^{\prime } - \frac{3}{2} a B \xi _{2}^{\prime } - 3 a A_{,a} \xi _{2} - 3 a B_{,\phi } \xi _{2}=0,\end{aligned}$$
(19)
$$\begin{aligned}&+ 8 B \xi _{1}^{\prime \prime } + 24 A_{,a} \xi _{1}^{\prime } + 8 B_{,\phi } \xi _{1}^{\prime } - 3 a B_{,a} \xi _{2}=0,\end{aligned}$$
(20)
$$\begin{aligned}&+ 6 n (2n+1) a^{2} B_{,\phi } \xi _{3} - (2n+2) a^{3} B_{,a} \xi _{3}^{\prime } + 12 n a A \xi _{3}\nonumber \\&\quad + 6n a^{2} B \xi _{3}^{\prime }+ 6n a^{2} A_{,a} \xi _{3} =0,\end{aligned}$$
(21)
$$\begin{aligned}&+6na^{2}A_{,\phi } \xi _{3} - (2n+2) a^{3} B_{,\phi } \xi _{3}^{\prime } - 3 a^{2} A \xi _{3}^{\prime } - a^{3} B \xi _{3}^{\prime \prime }=0,\end{aligned}$$
(22)
$$\begin{aligned}&+ a^{3} B \xi _{4}^{\prime } + 3 a^{2} A \xi _{4} + 2 m a^{3} B_{,\phi } \xi _{4} = 0,\end{aligned}$$
(23)
$$\begin{aligned}&- a^{3} B V^{\prime } - 3 a^{2} A V = 0, \end{aligned}$$
(24)
$$\begin{aligned}&8 B_{,a} \xi _{1}^{\prime } = 0, \quad 3 a A_{,\phi } \xi _{2} = 0, \ \ \ 6n a^{2} B_{,a} \xi _{3}=0, \nonumber \\&\quad m a^{3} B_{,a} \xi _{4} = 0 , \end{aligned}$$
(25)

where \(n\ne - \frac{1}{2}\). In the case \(\xi _{1}^{\prime }, \xi _{2}, \xi _{3}, \xi _{4}\ne 0\), Eq. (25) result in

$$\begin{aligned} A(a, \phi )= A(a), \quad B(a,\phi ) = B(\phi ). \end{aligned}$$
(26)

At this point it should be emphasized that for the case \(\xi _{i}(\phi )=0\) where i runs from 1 to 4 and \(\omega (\phi ) \sim 1\), the action reduces to the non-minimal coupling scalar–tensor theory in which one can find more general forms for \(A(a,\phi )\) and \(B(a, \phi )\) since the condition (25) will no longer exist [86]. In fact, the Noether vector in our case is different because of the existence of \(\xi _{i}(\phi )\) and \(\omega (\phi )\) which makes it a subclass of the Noether vector in [86] in the absence of \(\xi _{i}(\phi )\) and \(\omega (\phi )\). Therefore, one could not expect our results to coincide with the results found in [86] in the absence of \(\xi _{i}(\phi )\) and \(\omega (\phi )\). Using (26), the partial differential equations will change into a coupled system of differential equations,

$$\begin{aligned} -&3 a B f^{\prime } - 6 a A_{,a}f - 3 A f=0 ,\end{aligned}$$
(27)
$$\begin{aligned} +&\frac{3}{2} a^{2} A \omega + \frac{1}{2} a^{3} B \omega ^{\prime }+ a^{3} B_{,\phi } \omega =0,\end{aligned}$$
(28)
$$\begin{aligned} -&3 a^{2} A_{,a} f^{\prime } - 3 a^{2} B_{,\phi } f^{\prime } - 6 a A f^{\prime } - 3 a^{2} B f^{\prime \prime }=0,\end{aligned}$$
(29)
$$\begin{aligned} -&\frac{3}{2} A \xi _{2} - \frac{3}{2} a B \xi _{2}^{\prime } - 3 a A_{,a} \xi _{2} - 3 a B_{,\phi } \xi _{2}=0,\end{aligned}$$
(30)
$$\begin{aligned} +&8 B \xi _{1}^{\prime \prime } + 24 A_{,a} \xi _{1}^{\prime } + 8 B_{,\phi } \xi _{1}^{\prime } =0,\end{aligned}$$
(31)
$$\begin{aligned} +&6 n (2n+1) a^{2} B_{,\phi } \xi _{3} + 12 n a A \xi _{3} + 6n a^{2} B \xi _{3}^{\prime }\nonumber \\&+ 6n a^{2} A_{,a} \xi _{3} =0,\end{aligned}$$
(32)
$$\begin{aligned} -&(2n+2) a^{3} B_{,\phi } \xi _{3}^{\prime } - 3 a^{2} A \xi _{3}^{\prime } - a^{3} B \xi _{3}^{\prime \prime }=0,\end{aligned}$$
(33)
$$\begin{aligned} +&a^{3} B \xi _{4}^{\prime } + 3 a^{2} A \xi _{4} + 2 m a^{3} B_{,\phi } \xi _{4} = 0,\end{aligned}$$
(34)
$$\begin{aligned} -&a^{3} B V^{\prime } - 3 a^{2} A V = 0. \end{aligned}$$
(35)

Condition (26) completely decouples the above system of differential equations and since A(a) is a function of a only, these equations have a general solution when \(A(a) \propto a\). Taking \(A= - \frac{q}{3} a\) in Eq. (27), one finds

$$\begin{aligned} f(\phi ) = \lambda _{1} \exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) , \end{aligned}$$
(36)

where \(B(\phi )\) is an arbitrary function of \(\phi \). Using Eqs. (28)–(31), (34), and (35), one can easily integrate them in terms of \(B(\phi )\),

$$\begin{aligned} \omega (\phi )&= \frac{\lambda _{2}}{\left[ B(\phi )\right] ^{2}} \exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) , \nonumber \\ \xi _{1}(\phi )&= \lambda _{3} \int \frac{1}{B(\phi )} \exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) \mathrm{d} \phi ,\end{aligned}$$
(37)
$$\begin{aligned} \xi _{2}(\phi )&= \frac{\lambda _{4}}{\left[ B(\phi )\right] ^{2}} \exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) , \nonumber \\ \xi _{4}(\phi )&= \frac{\lambda _{6}}{\left[ B(\phi )\right] ^{2m}} \exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) , \end{aligned}$$
(38)
$$\begin{aligned} V(\phi )&= \lambda _{7} \exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) . \end{aligned}$$
(39)

So far, we have noted that the form of unspecified functions in the action are determined by the functionality of \(B(\phi )\). However, using Eqs. (32) and (33), we have

$$\begin{aligned} \frac{\xi _{3}^{\prime }}{\xi _{3}} = \frac{-(2n+1) B^{\prime }+ q}{B}, \quad \frac{\xi _{3}^{\prime \prime }}{\xi _{3}^{\prime }}=\frac{-(2 n+2) B^{\prime }+q}{B}, \end{aligned}$$
(40)

from which we see that for a constant B we have an exponential form for the solution and for \(B\sim \phi \) the solution will be of the power-law form. Therefore, the form of the undetermined functions in the action can be obtained by the above conditions. The choice \(B(\phi ) = \text{ const. } = 1\) in Eqs. (37)–(39) gives

$$\begin{aligned} f(\phi )&= \lambda _{1} \exp (q \phi ), \quad \omega (\phi ) = \lambda _{2} \exp (q \phi ), \nonumber \\ \xi _{1}(\phi )&= \frac{\lambda _{3}}{q} \exp (q \phi ), \quad \xi _{2}(\phi ) = \lambda _{4}\exp (q \phi ),\nonumber \\ \xi _{3}(\phi )&= \lambda _{5}\exp (q \phi ),\nonumber \\ \xi _{4}(\phi )&= \lambda _{6}\exp (q \phi ), \quad V(\phi ) = \lambda _{7} \exp (q \phi ), \end{aligned}$$
(41)

where \(\lambda _{i}\), i running from 1 to 7, are integration constants. In fact, Noether symmetry exists for exponential functions known as dilatonic fields in string theory. In addition, for \(B(\phi ) = \phi \) one finds power-law solutions as follows:

$$\begin{aligned} f(\phi )&=\lambda _{1} \phi ^{q}, \quad \omega (\phi ) = \lambda _{2} \phi ^{q-2}, \quad \xi _{1}(\phi ) = \frac{\lambda _{3}}{q} \phi ^{q}, \nonumber \\ \xi _{2}(\phi )&= \lambda _{4} \phi ^{q-2}, \quad \xi _{3}(\phi ) = \lambda _{5} \phi ^{q-2n-1}, \nonumber \\ \xi _{4}(\phi )&= \lambda _{6} \phi ^{q-2m}, \nonumber \\ V(\phi )&= \lambda _{7} \phi ^{q}. \end{aligned}$$
(42)

where for \(q=1\) and \(n=1\), \(f(\phi ) \sim \phi \), \(\omega (\phi ) \sim \frac{1}{\phi }\) and \(\xi _{3}(\phi ) \sim \frac{1}{\phi ^{2}}\) which imply that Noether symmetry exists for the so-called coupled Brans–Dicke with Galilean term. Also, for \(q=2\) Noether symmetry exists for non-minimal coupled scalar–tensor \(f(\phi ) \sim \phi ^{2}\) with quadratic potential \(V(\phi ) \sim \phi ^{2}\). In the case \(\lambda _{5} = 0\) (\(\xi _{3}(\phi )=0\)), Eqs. (32) and (33) will no longer exist whereby condition (40) does not exist and the unknown functions are determined by the functional form of \(B(\phi )\) as they were found in (3739). Such functional forms symmetrize the equations of motion which would result in exact solutions. Therefore, upon substituting (41) in Eqs. (4) and (5) instead of using cyclic variables, we can find the solutions since Eqs. (4) and (5) can be written in a simple form in the following manner:

$$\begin{aligned}&3 \lambda _{1} \left( H^{2} + q H \Phi \right) - \frac{1}{2}\lambda _{2} \Phi ^{2} - 24 \lambda _{3} H^{3} \Phi + \frac{9}{2} \lambda _{4} H^{2} \Phi ^{2}\nonumber \\&\quad - \left( \frac{1}{2}\right) ^{n}\lambda _{5} \left( 6 n H \Phi ^{2n+1} - q \Phi ^{2n+2}\right) \nonumber \\&\quad + \left( \frac{1}{2}\right) ^{m} \lambda _{6} (2m-1) \Phi ^{2m} - \lambda _{7} - \rho _{0m} a^{-3} e^{- q \phi } = 0,\end{aligned}$$
(43)
$$\begin{aligned}&\lambda _{1} \left( 3 H^{2} + 2 \dot{H} + 2 q H \Phi + q^{2} \Phi ^{2} + q \dot{\Phi }\right) +\frac{1}{2} \lambda _{2} \Phi ^{2}\nonumber \\&\quad -\lambda _{3} \left( 16 H \dot{H} \Phi +16 H^{3} \Phi + 8 q H^{2}\Phi ^{2} +8 H^{2} \dot{\Phi }\right) \nonumber \\&\quad + \frac{1}{2} \lambda _{4} \Phi ^{2} \left( 3 H^{2} + 2 \dot{H}\right) \nonumber \\&\quad + \lambda _{4} H \Phi \left( q \Phi ^{2} + 2\dot{\Phi }\right) \nonumber \\&\quad - \left( \frac{1}{2}\right) ^{n}\lambda _{5} \left( 2n \Phi ^{2n} \dot{\Phi }+ q \Phi ^{2n+2}\right) \nonumber \\&\quad - \left( \frac{1}{2}\right) ^{m} \lambda _{6} \Phi ^{2m} - \lambda _{7} = 0, \end{aligned}$$
(44)

where we have divided the whole expression by \(\exp (q \phi )\) and defined \(\Phi = \dot{\phi }\) in order to derive above equations. Next, substituting Eqs. (42) in (4) and (5) one can also find

$$\begin{aligned}&3 \lambda _{1} \left( H^{2} + q H \Phi \right) - \frac{1}{2}\lambda _{2} \Phi ^{2} - 24 \lambda _{3} H^{3} \Phi + \frac{9}{2} \lambda _{4} H^{2} \Phi ^{2}\nonumber \\&\quad - \left( \frac{1}{2}\right) ^{n}\lambda _{5} \left( 6 n H \Phi ^{2n+1} - (q-2n-1) \Phi ^{2n+2}\right) \nonumber \\&\quad + \left( \frac{1}{2}\right) ^{m} \lambda _{6} (2m-1) \Phi ^{2m}- \lambda _{7} - \rho _{0m} a^{-3} \phi ^{-q} = 0,\end{aligned}$$
(45)
$$\begin{aligned}&\lambda _{1} \left( 3 H^{2} + 2 \dot{H} + 2 q H \Phi + q^{2} \Phi ^{2} + q \dot{\Phi }\right) +\frac{1}{2} \lambda _{2} \Phi ^{2}\nonumber \\&\quad -\lambda _{3} \left( 16 H \dot{H} \Phi +16 H^{3} \Phi + 8 q H^{2}\Phi ^{2} +8 H^{2} \dot{\Phi }\right) \nonumber \\&\quad + \frac{1}{2} \lambda _{4} \Phi ^{2} \left( 3 H^{2} + 2 \dot{H}\right) + \lambda _{4} H \Phi \left( q \Phi ^{2} + 2\dot{\Phi }\right) \nonumber \\&\quad - \left( \frac{1}{2}\right) ^{n}\lambda _{5} \left( 2n \Phi ^{2n} \dot{\Phi }+ (q-1) \Phi ^{2n+2}\right) \nonumber \\&\quad - \left( \frac{1}{2}\right) ^{m} \lambda _{6} \Phi ^{2m} - \lambda _{7} = 0, \end{aligned}$$
(46)

where again we have divided the whole expression by \(\phi ^{q}\), assuming \(\phi \ne 0\) and defined \(\Phi = \frac{\dot{\phi }}{\phi }\). For the case \(\xi _{3}(\phi ) = 0\), inserting functional forms (3639) into Eqs. (4) and (5), we find

$$\begin{aligned}&3 \lambda _{1} \left( H^{2} + q H \Phi \right) - \frac{1}{2}\lambda _{2} \Phi ^{2} - 24 \lambda _{3} H^{3} \Phi + \frac{9}{2} \lambda _{4} H^{2} \Phi ^{2}\nonumber \\&\quad + \left( \frac{1}{2}\right) ^{m} \lambda _{6} (2m-1) \Phi ^{2m} - \lambda _{7} \nonumber \\&\quad - \rho _{0m} a^{-3} \exp \left( -\int \frac{q}{B(\phi )}\mathrm{d} \phi \right) = 0,\end{aligned}$$
(47)
$$\begin{aligned}&\lambda _{1} \left( 3 H^{2} + 2 \dot{H} + 2 q H \Phi + q^{2} \Phi ^{2} + q \dot{\Phi }\right) \nonumber \\&\quad +\frac{1}{2} \lambda _{2} \Phi ^{2} -\lambda _{3} \left( 16 H \dot{H} \Phi +16 H^{3} \Phi + 8 q H^{2}\Phi ^{2} +8 H^{2} \dot{\Phi }\right) \nonumber \\&\quad + \frac{1}{2} \lambda _{4} \Phi ^{2} \left( 3 H^{2} + 2 \dot{H}\right) \nonumber \\&\quad + \lambda _{4} H \Phi \left( q \Phi ^{2} + 2\dot{\Phi }\right) - \left( \frac{1}{2}\right) ^{m} \lambda _{6} \Phi ^{2m} - \lambda _{7} = 0. \end{aligned}$$
(48)

Here we have divided the expression by \(\exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) \) and defined \(\Phi = \frac{\dot{\phi }}{B(\phi )}\) to derive the above equations. Equations (43) and (44), (45) and(46), and (47) and (48) are our key equations since they can generate exponential-, power-law and bouncing universe solutions for each functional form. To this end, one may demand that

$$\begin{aligned} H(t)= {\left\{ \begin{array}{ll} H_{dS}\rightarrow a(t) = a_{0} e^{H_{dS}t} \quad {\text{ de } \text{ Sitter }}\\ \frac{p}{t}\rightarrow a(t) = a_{0} t^{p} \quad {\text{ power-law }}\\ b t\rightarrow a(t) = a_{0} e^{\frac{b}{2}t^{2}} \quad {\text{ bouncing } \text{ universe }} \end{array}\right. } \end{aligned}$$

First, in order to have exact de Sitter solutions, we consider

$$\begin{aligned} H= H_{dS} \rightarrow a(t) =a_{0} e^{H_{dS}t}, \end{aligned}$$
(49)
$$\begin{aligned} \Phi = \Phi _{dS} \rightarrow \phi (t) = {\left\{ \begin{array}{ll} \Phi _{ds} t \quad {\text{ exponential } \text{ form }},\\ e^{\Phi _{dS}t} \quad {\text{ power-law } \text{ form }}, \end{array}\right. } \end{aligned}$$

and for the case \(\lambda _{5}=0\) (\(\xi _{3}(\phi )=0\)) we have

$$\begin{aligned} \Phi = \Phi _{dS} \rightarrow \int \frac{\mathrm{d} \phi }{B(\phi )} = \Phi _{dS} t, \end{aligned}$$
(50)

where we have assumed zero constant of integration without loss of generality and also considered both \(H_{dS}\) and \(\Phi _{dS}\) as constant parameters. Upon substituting \(H_{dS}\) and \(\Phi _{dS}\), each of the coupled Eqs. (43) and (44), (45) and (46), and (47) and (48) impose two constraints on the entire free parameters in the action assuming \(\rho _{0m}=0\), since there is no matter field in the de Sitter space-time which consequently reduces the degrees of freedom of the parameters of the model by two. In fact, one can write \(H_{dS}\) and \(\Phi _{dS}\) in terms of the rest of parameters of the model for each functional form.

In order to find the power-law solution we assume

$$\begin{aligned} H = \frac{p}{t} \rightarrow a(t) = a_{0}t^{p}, \end{aligned}$$
(51)
$$\begin{aligned} \Phi = \frac{z}{t} \rightarrow \phi (t) = {\left\{ \begin{array}{ll} z \ln t + \ln \phi _{0} \quad { exponentialform}\\ \phi _{0} t^{z} \quad \ power-law form \end{array}\right. } \end{aligned}$$

and for \(\lambda _{5}=0\) we have \(\Phi =\frac{\dot{\phi }}{B(\phi )}\). Therefore

$$\begin{aligned} \Phi&= \frac{z}{t}\Rightarrow \int \frac{\mathrm{d} \phi }{B(\phi )} = z \ln t + \ln \phi _{0}. \end{aligned}$$
(52)

Inserting the associated values of H and \(\Phi \) for exponential functional forms in Eqs. (43) and (44) with \(m=2\), one can find six constraint equations obtained from the coefficients of \(\frac{1}{t^{2}}, \frac{1}{t^{4}}\) and \(\frac{1}{t^{2n+2}}\) which when solved for \(\rho _{0m}=0\), results in negative values of n which are unphysical from a field theoretical point of view since such negative values of n make the action unrenormalizable and in the presence of matter density leads to

$$\begin{aligned} p&=\frac{1}{3}, \quad \ z = \frac{1}{q}, \quad n = \frac{1}{2}, \quad \lambda _{1} = \frac{3 \rho _{0m}}{5 a_{0}^{3} \phi _{0}^{q}}, \quad \nonumber \\ \lambda _{2}&= -\frac{2 \rho _{0m} q^{2}}{5a_{0}^{3} \phi _{0}^{q}}, \quad \lambda _{3} = -\frac{27 \lambda _{6}}{16 q^{3}} , \quad \lambda _{4} = - \frac{9 \lambda _{6}}{2q^{2}}, \end{aligned}$$
(53)

where in order to obtain the above solutions we have utilized the following expression:

$$\begin{aligned} \rho _{0m} a^{-3} \exp \left( -\int \frac{q}{B(\phi )}\mathrm{d} \phi \right) = \rho _{0m} a_{0}^{-3} \phi _{0}^{- q} t^{-3p - q z }, \end{aligned}$$
(54)

and have assumed that \(B(\phi ) = 1\) for the exponential form. In fact, the solution describes stiff matters with decelerating phase. Moreover, for the case \(m \ne 2\) the constraint equations lead to \(\lambda _{3} = \lambda _{4} = \lambda _{6} = 0\), indicating that the solution exists for general Branse–Dicke with a Galilean term.

Inserting \(H = \frac{p}{t}\) and \(\Phi = \frac{z}{t}\) into the first and second Friedmann Eqs. (45) and (46) for \(m=2\) (\(n \ne 1\)) one can find six constraint equations coming from the coefficients of \(\frac{1}{t^{2}}, \frac{1}{t^{4}}\) and \(\frac{1}{t^{2n+2}}\), while solving them for \(\rho _{0m}=0\) results in the following solutions for power-law functional forms:

$$\begin{aligned} p&= 2n+1, \quad z = - (6n+2), \quad \lambda _{1} = - \frac{2 \lambda _{2}}{3} \left( \frac{3n+1}{2n+1}\right) ^{2}, \nonumber \\ \lambda _{3}&= - \frac{\lambda _{4}}{4}\left( \frac{3n+1}{2n+1}\right) , \quad \lambda _{6}= - \frac{1}{2} \lambda _{4} \left( \frac{2n+1}{3n+1}\right) ^{2}, \end{aligned}$$
(55)

where \(\omega _\mathrm{eff} \equiv -1-\frac{2\dot{H}}{3H^{2}} = -1+ \frac{2}{3 p} = - \frac{6n+1}{6n+3}\). The solution, which is of general Brans–Dicke type with a generalized string correction when accommodating n in the Galilean term, describes quintessence dark energy for \( n>0\) indicating that the universe experiences an accelerating expansion i.e. \(\dot{a}>0\) and \(\ddot{a}>0\). In other words, the model generates repulsive gravitational waves to produce acceleration at cosmological scales for \(n>0\). Quintessence dark energy models have their own particular properties which have extensively been investigated in the past few decades [87]. Moreover, the radiation dominated, matter dominated will happen for negative values of n which are unphysical. In addition, associated constraint equations for the case \(m \ne 2\) imply \(\lambda _{4}=\lambda _{3}=\lambda _{6}=0\) which means that the above solutions exist for general Brans–Dicke with general Galilean term. In fact, we have shown that Noether symmetry exists for both exponential- and power-law functional forms in general Brans–Dicke with general Galilean term which leads to a de Sitter solution. This may physically justify the work in [88] where such functional forms were assumed for \(n=1\) in order to obtain a de Sitter solution. One can indeed obtain the solution in the presence of matter density \(\rho _{0m}\) as follows:

$$\begin{aligned} p&= \frac{q-2}{3(q-1)}, \quad z= \frac{1}{q-1}, \quad n=\frac{1}{2}, \nonumber \\ \lambda _{1}&= \frac{3 \rho _{0m}(q-1)}{a^{3}_{0}\phi _{0}^{q}(5q-4)}, \lambda _{2}= - \frac{2 \rho _{0m} q (q^{2}-1)}{a^{3}_{0}\phi _{0}^{q}(5q-4)},\end{aligned}$$
(56)
$$\begin{aligned} \lambda _{4}&=\frac{8}{3}\lambda _{3}q- \frac{16}{3} \lambda _{3}, \nonumber \\ \lambda _{6}&= \lambda _{3} \left( - \frac{16}{27}q^{3}+ \frac{32}{9} q^{2}- \frac{64}{9} q+ \frac{128}{27}\right) , \end{aligned}$$
(57)

where we have utilized Eq. (54) for \(B(\phi ) =\phi \) in order to obtain the above solutions. The solution has \(\omega _\mathrm{eff}= \frac{q}{q-2}\), which means that it describes quintessence for \(\frac{1}{2}<q<1\), phantom dark energy for \(1<q<2\), indicating that the universe experiences a contracting expansion (i.e. \(\dot{a}<0\) and \(\ddot{a}>0\), see [87]), a radiation dominated era for \(q=-1\) whereby \(\lambda _{2}=0\), and a matter dominated era for \(q=0\). In fact, the matter dominated epoch happens for the minimal case since \(q=0\) results in \(f=1\) (assuming \(\lambda _{1}=1\)). In addition, the universe has a decelerating phase for \(q<\frac{1}{2}\) and \(q>2\). One may also obtain another power-law solution (\(H = \frac{p}{t}\) and \(\Phi = \frac{z}{t}\)) by inserting \(m=2\) in Eqs. (47) and (48). Therefore, utilizing constraint equations emanating from the coefficients of \(\frac{1}{t^{2}}\) and \(\frac{1}{t^{4}}\) results in the first set of solutions as follows:

$$\begin{aligned} p= - \frac{1}{2} q z, \quad \lambda _{1}= - \frac{2\lambda _{2}}{3 q^{2}}, \quad \lambda _{3} =- \frac{\lambda _{4}}{4 q}, \quad \lambda _{6} = - \frac{1}{2} q^{2} \lambda _{4}, \end{aligned}$$
(58)

where \(\lambda _{7}=0\). In this solution \(\omega _\mathrm{eff} =-1 - \frac{4}{3qz}\) which means that the universe goes through an accelerating epoch for \(qz<-2\) and \(qz>0\) and experiences a decelerating phase for \(-2<qz<0\). In other words, the model explains quintessence dark energy for \(q z<-2\) and phantom dark energy for \(q z>0\). Furthermore, \(z = -\frac{4}{3q}\) leads to a matter dominated era, \(z = -\frac{1}{q}\) to a radiation dominated era, \(qz \rightarrow \infty \) to de Sitter dark energy and in addition \(z = -\frac{2}{3q}\) describes stiff matter. The second set is

$$\begin{aligned} p&= -\frac{1}{3} q z + \frac{1}{3}, \quad \lambda _{1}= -\frac{3 \lambda _{2} z^{2}}{2 (qz-1)(2q z +1)}, \nonumber \\ \lambda _{3}&= - \frac{3 \lambda _{4}z }{8(q z-1)}, \quad \lambda _{6}= - \frac{2\lambda _{4}(qz-1)^{2}}{9 z^{2}}. \end{aligned}$$
(59)

Here \(\omega _\mathrm{eff} = \frac{1+ qz}{1- qz}\), meaning that the matter dominated era is obtained for \(z = -\frac{1}{q}\), radiation dominated epoch for \(z = - \frac{1}{2q}\) and de Sitter dark energy for \(qz \rightarrow \infty \), with \(q=0\) describing the stiff matter. In addition, for \(q z > 1\) the model describes phantom dark energy and for \(q z < -2\) explains quintessence dark energy. In fact, the model has accelerating phase for \(qz>1\) and \(qz<-2\) and goes through a decelerating phase for \(-2<qz<1\). In the presence of matter density it gives the following solutions:

$$\begin{aligned} p&=-\frac{1}{3} qz+\frac{2}{3}, \ \lambda _{1} = \frac{3 \rho _{0m}}{a_{0}^{3}\phi _{0}^{q} (qz+4)}, \nonumber \\ \lambda _{2}&= \frac{- 2 q (2 q z -1) \rho _{0m}}{a_{0}^{3}\phi _{0}^{q} z}, \ \nonumber \\ \lambda _{3}&= \frac{27 z^{3} \lambda _{6}}{16 (q^{3}z^{3} - 6 q^{2}z^{2}+12q z -8)}, \nonumber \\ \lambda _{4}&= -\frac{9 z^{2}\lambda _{6}}{q^{2}z^{2}-4 q z+4}, \end{aligned}$$
(60)

where we have used Eq. (54). This solution has \(\omega _\mathrm{eff}= \frac{qz}{2-qz}\) which describes quintessence dark energy for \(q z <-1\), phantom dark energy for \(q z> 2\), radiation dominated era for \(q z = \frac{1}{2}\) and as we have previously mentioned, a matter dominated epoch for \(q =0\) in the presence of matter density. To put it in a different way, the universe goes through an accelerating phase for \(qz<-1\) and \(qz>2\) and experiences a decelerating phase for \(-1<qz<2\). In addition, it describes stiff matter for \(z = \frac{1}{q}\).

Inserting \(q = 0\) in the first and second Friedmann equations (47) and (48) and in the absence of Gauss–Bonnet and Galilean term (\(\lambda _{3}= \lambda _{5} = 0\)), one looks for a solution of the form

$$\begin{aligned} H= \frac{p}{t}, \quad \Phi = z. \end{aligned}$$
(61)

Substituting the above solution in Eqs. (47) and (48) and utilizing the constraint equations coming from the coefficients of \(\frac{1}{t^{2}}\) and the rest of the terms, one obtains the following relations between parameters of the model:

$$\begin{aligned} p&=\frac{2}{3}, \quad \lambda _{4} =- \frac{2}{3 z^{2}}, \quad \lambda _{6} = \frac{\lambda _{2} z^{-2m +2}}{ 2^{-m+1} m- 2^{-m}+ 2^{-2m}}, \nonumber \\ \lambda _{7}&=- \frac{\lambda _{2} z^{2}(2^{-m}- 2 m+1)}{2^{-m+1}+ 4m-2}. \end{aligned}$$
(62)

Therefore, this model describes a matter dominated era for the whole range of values of m with constant self-interacting potential. This is interesting since it explains a matter dominated era which is able to fall into a de Sitter solution to describe late-time acceleration. In the following sections, we will derive the condition which illustrates that the de Sitter solution is the attractor of the system.

3.2 Case \(m = n+1\)

For \(m = n+1\), the coefficients of \(X^{n+1}\) and \(X^{m}\) in Eq. (15) merge together and thus Eqs. (33) and (34) reduce to the following equation:

$$\begin{aligned}&- (2n+2) a^{3} B^{\prime } \xi _{3}^{\prime } - 3 a^{2} A \xi _{3}^{\prime } - a^{3} B \xi _{3}^{\prime \prime }+a^{3} B \xi _{4}^{\prime }\nonumber \\&\quad + 3 a^{2} A \xi _{4} + 2 (n+1) a^{3} B^{\prime } \xi _{4}=0, \end{aligned}$$
(63)

in contrast to Eqs. (27)–(32) and (35) which remain the same. In fact, the functional forms for \(f(\phi ), \omega (\phi ), \xi _{1}(\phi ), \xi _{2}(\phi )\) and \(V(\phi )\) in (3639) are at hand and one is also able to determine the functionality of \(\xi _{3}(\phi )\) and \(\xi _{4}(\phi )\) by utilizing Eqs. (32) and (63). Solving Eq. (32), \(\xi _{3}(\phi )\) is given by

$$\begin{aligned} \xi _{3}(\phi ) = \frac{\lambda _{5}}{[B(\phi )]^{2n+1}} \exp \left( \int \frac{q}{B(\phi )}\mathrm{d} \phi \right) . \end{aligned}$$
(64)

Here we have used \(A(a) = -\frac{q}{3}a\) and \(B(\phi )\) is an arbitrary function of \(\phi \) and is the same as that obtained for the case \(m \ne n+1\) from Eq. (25). Substituting (64) in (63) and solving for \(\xi _{4}(\phi )\), one has

$$\begin{aligned} \xi _{4}(\phi ) = \frac{\left( 2 \lambda _{5} B^{\prime } (\phi ) +\lambda _{6}\right) }{[B(\phi )]^{2n+2}}\exp \left( \int \frac{ q}{B(\phi )}\mathrm{d} \phi \right) . \end{aligned}$$
(65)

In fact Noether symmetry makes a link between the functional forms of the entire functions using \(B(\phi )\), the same as that for \(\lambda _{5}=0\) (\(\xi _{3}(\phi )=0\)) in the previous section which means that there are several Noether conserved charges, since selecting each functional form for \(B(\phi )\) results in a different Noether vector whereby there are distinct conserved charges. We again intend to search for analytical solutions using these functional forms. Hence, we substitute these general forms in Eqs. (4) and (5) and find

$$\begin{aligned}&3 \lambda _{1} \left( H^{2} + q H \Phi \right) - \frac{1}{2}\lambda _{2} \Phi ^{2} - 24 \lambda _{3} H^{3} \Phi + \frac{9}{2} \lambda _{4} H^{2} \Phi ^{2}\nonumber \\&\quad - \left( \frac{1}{2}\right) ^{n}\lambda _{5} \left( 6 n H \Phi ^{2n+1} - q \Phi ^{2n+2}\right) \nonumber \\&\quad + \left( \frac{1}{2}\right) ^{n+1} \lambda _{6} (2n+1) \Phi ^{2n+2} \nonumber \\&\quad - \lambda _{7} - \rho _{0m} a^{-3} \exp \left( - \int \frac{q \mathrm{d} \phi }{B(\phi )}\right) = 0, \end{aligned}$$
(66)
$$\begin{aligned}&\lambda _{1} \left( 3 H^{2} + 2 \dot{H} + 2 q H \Phi + q^{2} \Phi ^{2} + q \dot{\Phi }\right) \nonumber \\&\quad +\frac{1}{2} \lambda _{2} \Phi ^{2}-\lambda _{3} \left( 16 H \dot{H} \Phi +16 H^{3} \Phi + 8 q H^{2}\Phi ^{2}\right. \nonumber \\&\quad \left. +8 H^{2} \dot{\Phi }\right) + \frac{1}{2} \lambda _{4} \Phi ^{2} \left( 3 H^{2} + 2 \dot{H}\right) \nonumber \\&\quad + \lambda _{4} H \Phi \left( q \Phi ^{2} + 2\dot{\Phi }\right) \nonumber \\&\quad - \left( \frac{1}{2}\right) ^{n}\lambda _{5} \left( 2n \Phi ^{2n} \dot{\Phi }+ q \Phi ^{2n+2}\right) \nonumber \\&\quad - \left( \frac{1}{2}\right) ^{n+1} \lambda _{6} \Phi ^{2n+2} - \lambda _{7} = 0, \end{aligned}$$
(67)

where in the course of derivation we have divided the whole expression by \(\exp \left( \int \frac{q \mathrm{d} \phi }{B(\phi )}\right) \) and defined \(\Phi = \frac{\dot{\phi }}{B(\phi )}\). Having a look at Eqs. (66) and (67), one observes that they contain two variables H and \(\Phi \) and that their first-order derivatives are similar to the case \(m \ne n+1\). Consequently, one may demand a variety of solutions and find conditions on the parameters of the model as was done in the previous section. First, we search for a de Sitter solution by considering

$$\begin{aligned} H&= H_{dS}\Rightarrow a(t) = a_{0} \exp (H_{dS} t), \end{aligned}$$
(68)
$$\begin{aligned} \Phi&=\Phi _{dS}\Rightarrow \int \frac{\mathrm{d} \phi }{B(\phi )} = \Phi _{dS} t. \end{aligned}$$
(69)

Here we have chosen a zero constant of integration in the second equation without loss of generality with \(H_{dS}\) and \(\Phi _{dS}\) being constant. Plugging the above solution in Eqs. (66) and (67), for \(\rho _{0m}=0\), one finds two constraint equations which enable us to find \(H_{dS}\) and \(\Phi _{dS}\) in terms of the parameters of the model. Therefore, the model at hand has a de Sitter solution for the selected functional forms via Noether symmetry. Second, we attempt to find a power-law solution for Eqs. (66) and (67), assuming

$$\begin{aligned} H&= \frac{p}{t} \Rightarrow a(t) = a_{0} t^{p}, \end{aligned}$$
(70)
$$\begin{aligned} \Phi&=\frac{z}{t} \Rightarrow \int \frac{\mathrm{d} \phi }{B(\phi )} = z \ln t + \ln \phi _{0}, \end{aligned}$$
(71)

where \(\ln \phi _{0}\) is an integration constant. In fact, the evolution of the scalar field is obtained from an integral equation for \(\phi \). Therefore, inserting the above solution in Eqs. (66) and (67) and equating the coefficients of \(\frac{1}{t^{2}}, \frac{1}{t^{4}}\) and \(\frac{1}{t^{2n+1}}\) to zero, one obtains the following results:

$$\begin{aligned} p&= 2n+1, \quad z = - \frac{2(2n+1)}{q}, \quad \lambda _{1}= - \frac{2 \lambda _{2}}{3 q^{2}}, \nonumber \\ \lambda _{5}&= - \frac{\lambda _{6} (2n+1) }{2q(3n+1)}, \end{aligned}$$
(72)

where \( \lambda _{3}=\lambda _{4}=\lambda _{7}=0\). This means that there is no self-interaction potential and evolution of the universe is controlled by the kinetic term rather than the potential term. There is one solution for which \(n=1\) but we exclude that since it will lead to different constraint equations, hence, this case will be investigated in the next section as a special case. The solution explains quintessence dark energy for \( n>0\) but it is not able to describe matter dominated, radiation dominated or phantom dark energy. One can also find the following solution in the presence of matter density:

$$\begin{aligned} p&= - \frac{1}{3} q z + \frac{2}{3} , \quad n= \frac{1}{2}, \quad \lambda _{1}= \frac{3 \rho _{0m}}{a_{0}^{3} \phi _{0}^{q} (q z +4)},\nonumber \\ \lambda _{2}&= - \frac{2 q (2 q z-1) \rho _{0m}}{a_{0}^{3} \phi _{0}^{q} z (q z+4)}, \quad \lambda _{5}= - \frac{\lambda _{6} z}{q z -1}, \end{aligned}$$
(73)

where we have utilized Eq. (54). This solution has \(\omega _\mathrm{eff}= \frac{qz}{2-qz}\) which describes quintessence dark energy for \(q z <-1\), phantom dark energy for \(q z> 2\), radiation dominated era for \(q z = \frac{1}{2}\), stiff matters for \(z = \frac{1}{q}\) and as we previously mentioned a matter dominated epoch appears for \(q =0\) in the presence of matter density. In other words, the universe goes through an accelerating phase for \(qz<-1\) and \(qz>2\) and experiences a decelerating phase for \(-1<qz<2\).

3.3 General Brans–Dicke with string correction (\(n=1\), \(m=2\))

In this case, the functional forms found in the case \(m=n+1\) are still valid, although the partial differential equations (27)–(35) change a little. In fact, in Eq. (15) the coefficients of the term \( \dot{a} \dot{\phi }^{3}\) should be added to the coefficients of the term \(\dot{a} \dot{\phi }X^{n}\), since we assume \(n=1\) and the condition \(A_{,\phi }=0\) will not consequently exist in this case. Therefore, \(A(a, \phi )\) can have the functionality of both a and \(\phi \) but, as one may deduce by looking at the system of partial differential equations, the only possibility to find solutions is when we have \(A(a, \phi ) \propto a\) and \(B(a, \phi ) = B(\phi )\) similar to the cases where \(m\ne n+1\) and \(m=n+1\). However, the exact solutions for scale factor and scalar field change since the constraint equations change. Therefore, putting \(n=1\) into Eqs. (66) and (67), one may find two Friedmann equations in terms of H and \(\Phi \) for the general Brans–Dicke theory with string correction for which \(\Phi = \frac{\dot{\phi }}{B(\phi )}\). In addition, a de Sitter solution will also exist for this case since this is a subclass of the case \(m=n+1\).

Demanding a power-law solution (\(H=\frac{p}{t}\) and \(\Phi = \frac{z}{t}\)) and equating the coefficients of \(\frac{1}{t^{2}}\) and \(\frac{1}{t^{4}}\) to zero, for \(\rho _{0m}=0\), one finds two solutions, the first of which is

$$\begin{aligned} p&= - \frac{1}{2} q z, \quad \lambda _{2} = - \frac{3}{2} \lambda _{1} q^{2}, \quad \lambda _{5} = - q \left( 6 \lambda _{3} q + \frac{3}{2} \lambda _{4} \right) , \nonumber \\ \lambda _{6}&= \frac{1}{2} q^{2} (24 \lambda _{3} q + 5 \lambda _{4}), \end{aligned}$$
(74)

where \(\omega _\mathrm{eff} =-1 - \frac{4}{3qz}\), which means that the universe goes through an accelerating epoch for \(qz<-2\) and \(qz>0\) and a decelerating epoch for \(-2<qz<0\). In other words, the model explains quintessence dark energy for \(q z<-2\) and phantom dark energy for \(q z>0\). Furthermore, \(z = -\frac{4}{3q}\) to have matter dominated era, \(z = -\frac{1}{q}\) to have radiation dominated era and \(qz \rightarrow \infty \) for the de Sitter dark energy and, moreover, it describes stiff matter for \(z = -\frac{2}{3q}\). The second set of solutions result in the following relations between the parameters of the model:

$$\begin{aligned} p&= - \frac{1}{3} q z + \frac{1}{3}, \quad \lambda _{2} =- \frac{2}{3} \frac{(2 q^{2} z^{2} - q z -1) \lambda _{1}}{z^{2}}, \nonumber \\ \lambda _{5}&= - \frac{1}{3} \frac{8 \lambda _{3} q^{2} z^{2} + 3 \lambda _{4} q z^{2} - 16 \lambda _{3} q z- 3 \lambda _{4} z + 8\lambda _{3}}{z^{2}},\nonumber \\ \lambda _{6}&=\frac{2}{27 z^{3}}\left( 56 \lambda _{3} q^{3} z^{3} + 18 \lambda _{4} q^{2} z^{3} - 144 \lambda _{3} q^{2} z^{2} - 27 \lambda _{4} q z^{2} \right. \nonumber \\&\quad \left. + 120 \lambda _{3} q z + 9 \lambda _{4} z - 32 \lambda _{3}\right) . \end{aligned}$$
(75)

Here \(\omega _\mathrm{eff} = \frac{1+ qz}{1- qz}\) which means matter dominated era occurs for \(z = -\frac{1}{q}\), radiation dominated epoch for \(z = - \frac{1}{2q}\) and de Sitter space-time for \(qz \rightarrow \infty \). In addition, the model describes phantom dark energy for \(q z > 1\) and explains quintessence dark energy for \(q z < -2\). In fact, the model has an accelerating phase for \(qz>1\) and \(qz<-2\) and goes through a decelerating phase for \(-2<qz<1\). Furthermore, it describes stiff matter for \(q=0\).

Table 1 The results in nutshell

Having a look at Eqs. (74) and (75) and their associated constraint equations, one can deduce that there are several degrees of freedom and yet because of the existence of string corrections in the action it would be interesting to take one step further and see if such a model is cable of describing the early-, intermediate- and late-time universe simultaneously. To this end, we consider two power-law solutions, \((p_{1} =\frac{2}{3}\), \(z_{1})\) to describe matter dominated epoch and \((p_{2}= \frac{1}{2}\), \(z_{2})\) to explain radiation dominated era which should satisfy two constraint equations coming from the de Sitter solution in order to portray the current accelerating phase. Therefore, we have eight equations which should be satisfied simultaneously to have a unified theory describing a radiation and a matter dominated era. There are two classes of solutions, given by

$$\begin{aligned} z_{1}&= - \frac{4}{3q}, \quad z_{2} = - \frac{1}{q}, \quad \lambda _{2} = - \frac{3}{2} \lambda _{1} q^{2}, \nonumber \\ \lambda _{5}&= -\frac{3}{2} q(4 \lambda _{3} q + \lambda _{4}), \quad \lambda _{6} = q^{2} (12 \lambda _{3} q + \frac{5}{2} \lambda _{4}), \end{aligned}$$
(76)

and

$$\begin{aligned} z_{1}&= - \frac{1}{q}, \quad z_{2}= - \frac{1}{2 q}, \quad \lambda _{2} = 0, \quad \lambda _{5} = -3 q (8 \lambda _{3} q+ \lambda _{4}), \nonumber \\ \lambda _{6}&= 8 q^{2} (\lambda _{3} q + \lambda _{4}), \end{aligned}$$
(77)

where \(\lambda _{1}\) is an arbitrary constant. Putting the above solutions in two constraint equations for the de Sitter solution results in finding \(H_{dS}\) and \(\Phi _{dS}\) in terms of the rest of the parameters of the model. On the other hand, one may demand another power-law solution which has \(p> 1\) in order to describe late-time acceleration. As an illustration, taking \(p_{3}= 2, z_{3}\) and simultaneously solving the resulting 4 constraint equations with 8 equation signifying radiation and matter dominated era would give us (76) and \(z_{3} = - \frac{1}{4q}\). Furthermore, it should be stressed that, for \(q=-1\) and \(B(\phi )=1\), one obtains \(f(\phi ) \sim \omega (\phi ) \sim \xi _{i}(\phi ) \sim e^{-\phi }\) and \(V=0\), where i runs from 1 to 4 which is the pre-Big Bang (PBB) scenario of kinetically driven string inflationary cosmology. The cosmological perturbations of such a model have been investigated in [89,90,91] while the authors in [92] have shown that the model has a graceful exit for some range of parameters of the model. It should also be emphasized that the model at hand is closely related to the model investigated in [93] where the authors have considered \(\alpha ^{\prime }\) at the tree level in order to justify its quintessential effects and have shown that it may consistently describe the universe; see also [94].

We therefore find that a general Brans–Dicke with string correction and without a self-interacting potential of which PBB is a subclass, is able to describe a sequence from inflationary to late-time acceleration and also has the flexibility to be tested against observational data due to the existence of four free parameters in the model. In the case of minimal models (\(q=0,f=1, \lambda _{1}=1\)), the first solution, see Eq. (74), reduces to \(p=0\) for Einstein–Hilbert action which is a trivial solution. The second solution, see Eq. (75), was found for non-minimal case and reduces to \(p = \frac{1}{3}\) which describes a decelerating phase.

One can also find power-law solutions in the presence of matter density as follows:

$$\begin{aligned} p&= - \frac{1}{3} q z + \frac{2}{3}, \quad \lambda _{1}= \frac{3 \rho _{0m}}{a_{0}^{3} \phi _{0}^{q}(q z+4)}, \nonumber \\ \lambda _{2}&= - \frac{2 \rho _{0m} q(2 q z-1)}{a_{0}^{3} \phi _{0}^{q} z (q z+4)}, \nonumber \\ \lambda _{5}&= -\frac{1}{3 z^{2}} \left( 8 \lambda _{3} q^{2} z^{2}+ 3 \lambda _{4} q z^{2}- 32 \lambda _{3} q z - 6 \lambda _{4}z+ 32 \lambda _{3}\right) , \nonumber \\ \lambda _{6}&= \frac{4}{27 z^{3}} \left( 28 \lambda _{3} q^{3} z^{3}+ 9 \lambda _{4} q^{2} z^{3} - 144 \lambda _{3} q^{2} z^{2}\right. \nonumber \\&\quad \left. - 27 \lambda _{4} q z^{2} + 240 \lambda _{3} q z+ 18 \lambda _{4} z - 128 \lambda _{3}\right) , \end{aligned}$$
(78)

where we have used Eq. (54). Therefore, the solution has \(\omega _\mathrm{eff} = \frac{qz}{2-qz}\) describing an accelerating phase for \(q z<-1\) and \(q z > 2\) and going through a decelerating phase for \(-1<qz<2\). In other words, the model describes quintessence dark energy for \(q z<-1\), phantom dark energy for \(q z > 2\) and radiation dominated era for \(q z =\frac{1}{2}\). As was shown before a matter dominated solution in the presence of \(\rho _{0m}\) was obtained for \(q=0\), indicating a minimal model \(f=1\), \(\lambda _{1}=1\). Furthermore, it describes stiff matters for \(qz=1\). In addition, one can search for a bouncing universe solution by requiring

$$\begin{aligned} H = b t , \quad \Phi = z t, \end{aligned}$$
(79)

and inserting these expressions into the first and second Friedmann equations (66) and (67). One then finds a solution in the absence of \(\rho _{0m}\) which satisfies the constraint equations coming from the coefficients of \(t^{2}\) and \(t^{4}\) as follows:

$$\begin{aligned} b&= - \frac{q z}{2}, \quad \lambda _{1}= - \frac{2 \lambda _{2}}{3 q^{2}}, \quad \lambda _{5} =- q\left( 6 \lambda _{3} q+ \frac{3}{2} \lambda _{4}\right) , \nonumber \\ \lambda _{6}&= \frac{1}{2} q^{2} (24 \lambda _{3} q + 5 \lambda _{4}). \end{aligned}$$
(80)

It should be stressed that in the presence of matter one cannot obtain a bouncing universe solution. Therefore, we have a bouncing universe solution as expected since such string corrections usually lead to a non-singular cosmology and, as is well known, a bouncing cosmology also provides us with such a non-singular scenario, for a good review on bouncing cosmology see [95].

Before closing the section, we summarize our results in Table 1 by presenting the possible effective equation of state in a general scalar–tensor theory utilizing Noether symmetry and its associated properties. In fact, we have found several models with distinct functional forms in the presence and absence of matter content \(\rho _{0m}\) which have brought about six possible effective equations of state for which the Noether symmetry exists.

4 Stability of de Sitter solution

In this section, the action (1) is expanded to second order in perturbation around the dS background where there exists only one propagating scalar degree of freedom which corresponds to the curvature perturbation \(\mathcal {R}\). In terms of the gauge invariant quantity \(\mathcal {R}\), the second-order perturbed action about the dS background is given by (see details in [55,56,57,58,59, 84, 85])

$$\begin{aligned} S_{2} = \int \mathrm{d} t \mathrm{d}^{3} x a^{3} Q_{s} \left[ \dot{\mathcal {R}}^{2}- \frac{c_{s}^{2}}{a^{2}} \left( \nabla \mathcal {R}\right) ^{2}\right] , \end{aligned}$$
(81)

where \(Q_{s} \) and \(c_{s}^{2}\) are given by

$$\begin{aligned} Q_{s}&\equiv \frac{m_{1} (4 m_{1} m_{3} + 9 m_{2}^{2})}{3 m_{2}^{2}}, \nonumber \\ c^{2}_{s}&\equiv \frac{3 (2 m_{1}^{2} m_{2} H - m_{2}^{2} m_{4} + 4 m_{1} \dot{m}_{1} m_{2} - 2 m_{1}^{2} \dot{m}_{2})}{m_{1} (4 m_{1} m_{3} + 9 m_{2}^{2})}, \end{aligned}$$
(82)

and

$$\begin{aligned} m_{1}&\equiv f - 8 H \dot{\xi }_{1}- \frac{1}{2}\xi _{2} \dot{\phi }^{2}, \end{aligned}$$
(83)
$$\begin{aligned} m_{2}&\equiv \dot{f}+2 H f - 24 H^{2} \dot{\xi }_{1} - 3 H \dot{\phi }^{2} \xi _{2} - 2 n \dot{\phi }\xi _{3} X^{n},\end{aligned}$$
(84)
$$\begin{aligned} m_{3}&\equiv - 9 H^{2} f - 9 H \dot{f} +3 \omega X + 144 H^{3} \dot{\xi }_{1} + 27 H^{2} \dot{\phi }^{2} \xi _{2} \nonumber \\&\quad + 18 n(n+1) H \dot{\phi }\xi _{3} X^{n}- 6(n+1) \xi _{3}^{\prime } X^{n+1}\nonumber \\&\quad - 3 m (2m-1) \xi _{4} X^{m},\end{aligned}$$
(85)
$$\begin{aligned} m_{4}&\equiv f - 8 \ddot{\xi }_{1} +\frac{1}{2} \dot{\phi }^{2}\xi _{2}. \end{aligned}$$
(86)

In order to avoid the appearance of ghosts and Laplacian instabilities in the theory we require that \(Q_{s}> 0\) and \(c_{s}^{2}>0\), respectively. One can calculate \(Q_{s}\) for the functions found in the case \(m=n+1\) as follows:

$$\begin{aligned} m_{1}&= \left( \lambda _{1} - 8 \lambda _{3} H_{dS} \Phi _{dS} - \frac{1}{2} \lambda _{4}\Phi _{dS}^{2}\right) \exp \left( \int \frac{q}{B(\phi )}\mathrm{d} \phi \right) ,\end{aligned}$$
(87)
$$\begin{aligned} m_{2}&= \left( q \lambda _{1} \Phi _{dS}+ 2\lambda _{1} H_{dS} - 24 \lambda _{3} H^{2}_{dS} \Phi _{dS} - 3\lambda _{4} H_{dS} \Phi ^{2}_{dS}\right. \nonumber \\&\quad \left. - 2n \left( \frac{1}{2}\right) ^{n} \lambda _{5}\Phi ^{2n+1}_{dS}\right) \exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) , \end{aligned}$$
(88)
$$\begin{aligned} m_{3}&= \left( -9\lambda _{1} H^{2}_{dS} - 9 \lambda _{1} q H_{dS} \Phi _{dS} + \frac{3}{2} \lambda _{2} \Phi ^{2}_{dS} \right. \nonumber \\&\quad + 144 \lambda _{3} H^{3}_{dS} \Phi _{dS}+27\lambda _{4} H^{2}_{dS} \Phi ^{2}_{dS} \nonumber \\&\quad + 18 n (n+1) \left( \frac{1}{2}\right) ^{n}\lambda _{5}H_{dS} \Phi ^{2n+1}_{dS} \nonumber \\&\quad \left. - 6 (n+1) \left( \frac{1}{2}\right) ^{n+1}q\lambda _{5} \Phi ^{2n+2}_{dS}\right. \nonumber \\&\quad \left. - 3 (n+1) (2n+1) \left( \frac{1}{2}\right) ^{n+1} \lambda _{6} \Phi ^{2n+2}_{dS} \right) \nonumber \\&\quad \times \exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) . \end{aligned}$$
(89)

Therefore, putting the above expressions in (82), one infers that

$$\begin{aligned} Q_{s} \propto \exp \left( \int \frac{q}{B(\phi )} \mathrm{d} \phi \right) , \end{aligned}$$
(90)

where for the de Sitter solution we have

$$\begin{aligned} \frac{\dot{\phi }}{B(\phi )} = \Phi _{dS} \Rightarrow \int \frac{q}{B(\phi )} \mathrm{d} \phi = q \Phi _{dS} t. \end{aligned}$$
(91)

Here we have assumed that the constant of integration is zero without loss of generality. One can obtain the Euler–Lagrange equation for action (81) in Fourier space as follows:

$$\begin{aligned} \frac{1}{a^{3} Q_{s}} \frac{\mathrm{d}}{\mathrm{d} t}(a^{3} Q_{s} \dot{\mathcal {R}})+ c^{2}_{s} \frac{k^{2}}{a^{2}} \mathcal {R} = 0, \end{aligned}$$
(92)

where k is the co-moving wave number. For homogeneous perturbation (\(k=0\)) which has only time-dependence, the solution of the above equation is given by

$$\begin{aligned} \mathcal {R}(t) = c_{1} + c_{2} \int \frac{\mathrm{d} t}{a^{3} Q_{s}}, \end{aligned}$$
(93)

where \(c_{1}\) and \(c_{2}\) are constants of integration. Since the scale factor evolve as \(\exp (H_{dS} t)\) and \(Q_{s} \propto \exp (q \Phi _{dS} t)\), the homogeneous perturbation about the dS background evolves as

$$\begin{aligned} \mathcal {R}(t) = c_{1} + \hat{c}_{2} \exp \left( -\left( 3 H_{dS} + q \Phi _{dS}\right) t \right) , \end{aligned}$$
(94)

where \(\hat{c}_{2}\) is a constant. In order to avoid the growth of \(\mathcal {R}\), one requires that

$$\begin{aligned} 3 H_{dS}+ q \Phi _{dS}>0, \end{aligned}$$
(95)

which corresponds to the stability condition for the dS solution. This condition will also exist for the rest of cases, although the functional forms are different. One can immediately conclude that the matter dominated solutions which were found throughout the paper will fall into de Sitter accelerating phase. Furthermore, the sequence which were found for the case \((n=1, m=2)\) will finally fall into a stable de Sitter phase. Therefore, we finalized our discussion by finding the stability condition (95) for de Sitter solution.

5 Concluding remarks

Throughout the paper, we have discussed a general method to realize analytical cosmological solutions in general scalar–tensor theories. The approach is based on exploring Noether symmetry for a particular dynamical system whereby the dynamical system is reduced and, in fact, allows one to solve the equations of motion. Additionally, such an approach can be contemplated as a physically motivated criterion due to the fact that such symmetries are always associated with conserved quantities.

The prime point is that the existence of Noether symmetry specifies the form of undetermined functions appearing in the action as well as the corresponding point-like cosmological Lagrangian where the FLRW metric is adopted. It deserves stressing that starting from a point-like FLRW Lagrangian and consequently deriving equations of motion results in the same equations obtained by adopting the FLRW metric in Einstein field equations. This circumstance allows one to explicitly search for Noether symmetries in the point-like Lagrangian and then to plug the associated conserved quantities into equations of motion. Consequently, the form of the undetermined functions in the action, \(f(\phi ), \omega (\phi ), V(\phi )\) and \(\xi _{i}(\phi )\) where i runs from 1 to 4 is fixed by demanding the existence of symmetry conditions. This would immediately simplify the dynamical system as some of its variables (at least one) become cyclic. Therefore, one can utilize cyclic variables and associated conserved charges in order to obtain analytical solutions. In our case, the selected functions symmetrize equations of motion in such a way as to give us the opportunity to find exact solutions by directly solving equations of motion instead of exploiting cyclic variable. In this paper, we have applied Noether symmetry not only to obtain analytical solutions for particular models but also implicitly to identify cosmologically viable models by demanding a sequence extending from an inflationary era to an accelerating phase at late times, as the minimal criteria.

To start with, using Noether symmetry, we found three cases, \(m \ne n+1, m=n+1, n=1\) which led to three general forms for the functions appearing in the action. The interesting point regrading the resulting functional forms is that, for the case \(m \ne n+1\), Noether symmetry just exists for the so-called exponential and power-law coupling. For all three cases, we then attempted to find possible solutions such as de Sitter, power-law, and bouncing in the case of the vacuum and matter dominated universe and illustrated that there usually exists a deceleration–acceleration transition in scalar–tensor theories selected via Noether symmetry. Another interesting point is that the de Sitter solution always exists for the selected functions via Noether symmetry not only for exponential- and power-law functions but also for a general form for which the form of functions are determined by the functionality of the second component of Noether vector \(B(\phi )\). Moreover, we showed that in the presence of matter density, matter dominated solutions exist just for the minimal case (\(q=0, \lambda _{1}=1, f=1\)). Next, we found a model which is able to show a sequence from an inflationary era to an accelerating epoch at late times. Consequently, we found a general Brans–Dicke with string correction without a self-interacting potential \((n=1,m=2)\) which reduces to the pre-Big Bang scenario (PBB) for \(B(\phi )=1\) and \(q =-1\) for which the model simultaneously has radiation dominated, matter dominated and de Sitter solutions. In addition, we classified the models based on parameters involved and the effective equations of state, based on being either phantom or quintessence dark energy for which the results are summarized in Table 1. Finally, expanding the action up to second order, we found the condition for stability of the de Sitter solution and showed it to be an attractor of the system for \(3 H_{dS} + q \Phi _{dS}>0\) in all five cases. It deserves mentioning at this point that symmetries are not only a mathematical tool to solve dynamical systems but also bring about the opportunity to physically select an observable universe and “particularly” to single out analytical models related to observation [96] which would provide a tool to classify dark energy models related to Noether symmetry; see [97,98,99].

As the final remark, there is the question of frame in which an action is considered. Throughout this work, we have adopted the so-called Jordan frame for which the action is given by (1). As is well known, upon a conformal transformation, the action could in principle be transformed to the so-called Einstein frame. This would, however, have taken us too far afield due to the complexity involved. Still, this is an interesting question, which deserves to be studied.