1 Introduction

The discovery of black hole thermodynamics [1] has shown a deep connection between gravitation and thermodynamics. In particular, the black hole temperature, which is proportional to the surface gravity at the event horizon, and Hawking radiation [2] tell us that this relation may be linked to quantum gravity [3]. Instead of being proportional to the volume, the Bekenstein–Hawking entropy is equal to one quarter of the area of the event horizon of the black hole measured in Planck units [2, 4]. Based on this area law of entropy, Bekenstein then argued for a universal entropy bound for a weakly self-gravitating physical system in an asymptotically flat space-time [5]. This led to the proposal of the holographic principle [68]. The holographic principle was supported by the AdS/CFT correspondence, which states that the type IIB superstring theory on AdS\(_5\times S^5\) is equivalent to the \(N = 4\) super-Yang–Mills theory with gauge group U(N) in four dimensions [9]. The AdS/CFT correspondence relates a gravitational theory in d-dimensional anti-de Sitter space with a conformal field theory living in a \((d-1)\)-dimensional boundary space. The Hawking radiation and the holography show that the thermodynamic property of gravitation is unique. These special properties may provide some physical insights into the nature of quantum gravity. By applying the area law of entropy for all local acceleration horizons, it was found that the Einstein equation could be derived from the first law of thermodynamics [10]. The relation was then discussed in cosmology, and the equivalence between the first law of thermodynamics and the Friedmann equation was derived [1115]. The relation between thermodynamics and gravitation was discussed extensively in the literature, and the relation holds also in more general theories of gravity [1032].

The simplest generalization of Einstein’s general relativity is Brans–Dicke theory [33]. In Brans–Dicke theory, gravitation is propagated by massless spin zero scalar field in addition to the massless spin 2 graviton. The scalar degree of freedom can also arise upon compactification of higher dimensions. In general, the scalar field \(\phi \) is coupled to the curvature scalar R as \(f(\phi )R\). More general couplings for the scalar field are also possible [3437]. In Horndeski theory, the derivatives of both the metric \(g_{\mu \nu }\) and the scalar field \(\phi \) are at most second order, and the second derivative \(\phi _{;\mu \nu }\) couples to the Einstein tensor by a term of the general form \(f(\phi ,X)G^{\mu \nu }\phi _{;\mu \nu }\), where \(X=g^{\mu \nu }\phi _{,\mu }\phi _{,\nu }\) [34]. However, the field equations are still second order in Horndeski theory. We can also consider the non-minimally derivative coupling \(\phi _{,\mu }\phi ^{,\mu }R, \phi _{,\mu }\phi _{,\nu }R^{\mu \nu }, \phi \Box \phi R, \phi \phi _{;\mu \nu } R^{\mu \nu }, \phi \phi _{,\mu }R^{;\mu }\), and \(\phi ^2\Box R\). If we choose the non-minimally derivative coupling as \(G^{\mu \nu }\phi _{,\mu }\phi _{,\nu }\), then the field equations contain no more than second derivatives [38], and the theory avoids the Boulware–Deser ghost [39]. With this choice of non-minimally derivative coupling, it was shown that the Higgs field produced a successful slow-roll inflation without violating the unitarity bound and fine-tuning the coupling constant \(\lambda \) [40]. The scalar–tensor theory with the non-minimally derivative coupling \(\omega ^2 G^{\mu \nu }\phi _{,\mu }\phi _{,\nu }\) was discussed by lots of researchers recently [4170].

In this paper, we discuss the thermodynamics of the scalar–tensor theory with non-minimally derivative coupling \(\omega ^2 G^{\mu \nu }\phi _{,\mu }\phi _{,\nu }\). The paper is organized as follows. In Sect. 2, we review the scalar–tensor theory with non-minimally derivative coupling. The relation between the first law of thermodynamics and the Friedmann equation is presented in Sect. 3. We discuss the second law of thermodynamics in Sect. 4, and conclusions are drawn in Sect. 5.

2 The scalar–tensor theory with non-minimally derivative coupling

The action for the general scalar–tensor theory with non-minimally derivative coupling which contains only up to second derivatives is

$$\begin{aligned} S= & {} \int \mathrm{d}^4x\sqrt{-g}\left[ \frac{M_{\mathrm{pl}}^2}{2}R\right. \nonumber \\&\left. -\frac{1}{2}(g^{\mu \nu }-\omega ^2G^{\mu \nu })\partial _{\mu }\phi \partial _{\nu }\phi -V(\phi )\right] +S_{b}, \end{aligned}$$
(1)

where the Planck mass \(M_{\mathrm{pl}}^2=(8\pi G)^{-1}=\kappa ^{-2}\), w is the coupling constant with the dimension of inverse mass, \(V(\phi )\) corresponds to the scalar field potential, and \(S_{b}\) is the action for the background matter, which includes dust and radiation. Varying the action (1) with respect to the metric \(g_{\mu \nu }\), we get

$$\begin{aligned} G_{\mu \nu }=R_{\mu \nu }-\frac{1}{2}g_{\mu \nu }R=\kappa ^2 (T_{\mu \nu }^b+T_{\mu \nu }^c), \end{aligned}$$
(2)

where \(T_{\mu \nu }^b\) is the energy-momentum tensor for the background matter, and the effective energy-momentum tensor \(T_{\mu \nu }^c\) for the scalar field is

$$\begin{aligned} T_{\mu \nu }^c= & {} \phi _{,\mu }\phi _{,\nu }-\frac{1}{2} g_{\mu \nu }(\phi _{,\alpha })^2-g_{\mu \nu }V(\phi )\nonumber \\&-\omega ^2\left\{ -\frac{1}{2}\phi _{,\mu }\phi _{,\nu }\,R+2\phi _{,\alpha }\nabla _{(\mu }\phi R^\alpha _{\nu )}+\phi ^{,\alpha }\phi ^{,\beta }R_{\mu \alpha \nu \beta }\right. \nonumber \\&+\nabla _\mu \nabla ^\alpha \phi \nabla _\nu \nabla _\alpha \phi -\nabla _\mu \nabla _\nu \phi \Box \phi -\frac{1}{2}(\phi _{,\alpha })^2 G_{\mu \nu }\nonumber \\&\left. +g_{\mu \nu }\left[ -\frac{1}{2}\nabla ^\alpha \nabla ^\beta \phi \nabla _\alpha \nabla _\beta \phi +\frac{1}{2}(\Box \phi )^2 -\phi _{,\alpha }\phi _{,\beta }\,R^{\alpha \beta }\right] \right\} .\nonumber \\ \end{aligned}$$
(3)

Using the homogeneous and isotropic Friedmann–Robertson–Walker (FRW) metric,

$$\begin{aligned} \mathrm{d}s^2=-\mathrm{d}t^2+\frac{a(t)^2}{1-kr^2}\,\mathrm{d}r^2+a(t)^2r^2(\mathrm{d}\theta ^2+\sin ^2\theta \,\mathrm{d}\phi ^2), \end{aligned}$$
(4)

where \(k=0\), \(-1\), \(+1\) represents a flat, open, and closed universe respectively, we obtain \(T_{00}^c\) and \(T_{11}^c\):

$$\begin{aligned} T_{00}^c= & {} \frac{1}{2}\dot{\phi }^2+V(\phi )+\frac{9}{2}{\omega ^2}H^2{\dot{\phi }}^2+\frac{3}{2}\omega ^2\frac{k}{a^2}{\dot{\phi }}^2,\end{aligned}$$
(5)
$$\begin{aligned} T_{11}^c= & {} \frac{a^2}{1-k r^2}\Bigg [\frac{1}{2}\dot{\phi }^2-V(\phi )\nonumber \\&-\frac{\omega ^2}{2}{\dot{\phi }}^2\Bigg (2\dot{H}+3H^2-\frac{k}{a^2}+\frac{4H\ddot{\phi }}{\dot{\phi }}\Bigg )\Bigg ]. \end{aligned}$$
(6)

Therefore, the effective energy density and pressure for the scalar field are given by

$$\begin{aligned} \rho _c= & {} \frac{\dot{\phi }^2}{2}\left( 1+{9}{\omega ^2}H^2+3\omega ^2\frac{k}{a^2}\right) +V(\phi ),\end{aligned}$$
(7)
$$\begin{aligned} p_c= & {} \frac{1}{2}\dot{\phi }^2-V(\phi )-\frac{\omega ^2}{2}{\dot{\phi }}^2\left( 2\dot{H}+3H^2-\frac{k}{a^2}+\frac{4H\ddot{\phi }}{\dot{\phi }}\right) .\nonumber \\ \end{aligned}$$
(8)

The Friedman equations are

$$\begin{aligned}&H^2+\frac{k}{a^2}=\frac{8\pi G }{3}(\rho _b+\rho _c)=\frac{8\pi G }{3}\left[ \frac{1}{2}\dot{\phi }^2+V(\phi )\right. \nonumber \\&\qquad \left. +\frac{9}{2}{\omega ^2}H^2{\dot{\phi }}^2 +\frac{3}{2}\omega ^2\frac{k}{a^2}{\dot{\phi }}^2+\rho _b\right] , \end{aligned}$$
(9)
$$\begin{aligned}&\dot{H}-\frac{k}{a^2}=-4\pi G \left[ \dot{\phi }^2+3\omega ^2H^2\dot{\phi }^2 \right. \nonumber \\&\qquad \left. +2\omega ^2\frac{k}{a^2}\dot{\phi }^2-\omega ^2\frac{\mathrm{d}}{\mathrm{d}t}(H\dot{\phi }^2)+\rho _b+p_b\right] . \end{aligned}$$
(10)

If the non-minimally derivative coupling is absent, \(\omega ^2=0\), we recover the standard result of Einstein gravity with canonically scalar field.

3 The relation between the first law of thermodynamics and Friedmann equation

In this section, we discuss the equivalence between the first law of thermodynamics on the apparent horizon and Friedmann equation. For a spherically symmetric space-time with the metric \(\mathrm{d}s^2=g_{ab}\,\mathrm{d}x^a\,\mathrm{d}x^b+\tilde{r}^2\,\mathrm{d}\Omega ^2\), where the unit spherical metric \(\mathrm{d}\Omega ^2=\mathrm{d}\theta ^2+\sin ^2\theta \,\mathrm{d}\phi ^2\), the apparent horizon is defined as \(f=g^{ab}\tilde{r}_{,a}\tilde{r}_{,b}=0\), the dynamical surface gravity at the apparent horizon is \(\kappa =\nabla _a\nabla ^a\, \tilde{r}/2\) [16], and the Hawking temperature associated with the apparent horizon is \(T=|\kappa |/2\pi \). For the FRW metric (4), the apparent horizon is

$$\begin{aligned} \tilde{r}_A=(H^2+k/{a^2})^{-1/2}. \end{aligned}$$
(11)

The surface gravity at the apparent horizon is

$$\begin{aligned} \kappa =\frac{1}{2}\nabla _a\nabla ^a\,\tilde{r}=-\frac{1}{\tilde{r}_A}\left( 1-\frac{\dot{\tilde{r}}_A}{2H\tilde{r}_A}\right) , \end{aligned}$$
(12)

and the associated temperature is \(T_A=\kappa /2\pi \). The entropy enclosed by the apparent horizon is \(S_A=\pi \tilde{r}_A^2/G\). Therefore, we have

$$\begin{aligned} T_A\mathrm{d}S_A= & {} -\frac{1}{2\pi \tilde{r}_A}\left( 1-\frac{\dot{\tilde{r}}_A}{2H\tilde{r}_A}\right) \frac{2\pi {\tilde{r}}_A}{G}{\dot{\tilde{r}}_A}\,\mathrm{d}t\nonumber \\= & {} -\frac{1}{G}\left( 1-\frac{\dot{\tilde{r}}_A}{2H\tilde{r}_A}\right) {\dot{\tilde{r}}_A}\,\mathrm{d}t. \end{aligned}$$
(13)

For the scalar–tensor theory with non-minimally derivative coupling, the effective total energy density is \(\rho _{\mathrm{tot}}=\rho _{b}+\rho _{c}\). The total energy of the system inside the apparent horizon is \(E=\rho _{\mathrm{tot}}V\), where the volume \(V=4\pi \tilde{r}_A^3/3\). So the energy change is

$$\begin{aligned} \mathrm{d}E=\rho _{\mathrm{tot}}\,\mathrm{d}V+V\,\mathrm{d}\rho _{\mathrm{tot}}=\rho _{\mathrm{tot}} 4\pi {\tilde{r}}_A^2 \,\mathrm{d}\tilde{r}_A+\frac{4}{3}\pi {\tilde{r}}_A^3\,\mathrm{d}\rho _\mathrm{tot}, \end{aligned}$$
(14)

where \(\mathrm{d}\tilde{r}_A=\dot{\tilde{r}}_A \,\mathrm{d}t\), and \(\mathrm{d}\rho _{\mathrm{tot}}=\dot{\rho }_{\mathrm{tot}} \,\mathrm{d}t\). By using the energy conservation for the total energy,

$$\begin{aligned} \dot{\rho }_{\mathrm{tot}}+3H(\rho _{\mathrm{tot}}+p_{\mathrm{tot}})=0, \end{aligned}$$
(15)

we have

$$\begin{aligned} \mathrm{d}\rho _{\mathrm{tot}}=-3H(\rho _{\mathrm{tot}}+p_{\mathrm{tot}})\mathrm{d}t. \end{aligned}$$
(16)

Substituting the above result into Eq. (14), we get

$$\begin{aligned} \mathrm{d}E=4\pi {\tilde{r}}_A^2\rho _{\mathrm{tot}}\dot{\tilde{r}}_A \,\mathrm{d}t-4\pi {\tilde{r}}_A^3H(\rho _{\mathrm{tot}}+p_{\mathrm{tot}})\mathrm{d}t. \end{aligned}$$
(17)

The work term \(W\,\mathrm{d}V\) with \(W=(\rho _{\mathrm{tot}}-p_{\mathrm{tot}})/2\) is

$$\begin{aligned} W\,\mathrm{d}V=2\pi {\tilde{r}}_A^2(\rho _{\mathrm{tot}}-p_{\mathrm{tot}}){\dot{\tilde{r}}_A}\,\mathrm{d}t. \end{aligned}$$
(18)

Applying the unified first law,

$$\begin{aligned} \mathrm{d}E=T_A\,\mathrm{d}S_A+W\,\mathrm{d}V, \end{aligned}$$
(19)

we get

$$\begin{aligned} 4\pi {\tilde{r}}_A^3H(\rho _{\mathrm{tot}}+p_{\mathrm{tot}})\left( 1-\frac{\dot{\tilde{r}}_A}{2H\tilde{r}_A}\right) =\frac{1}{G}\left( 1-\frac{\dot{\tilde{r}}_A}{2H\tilde{r}_A}\right) {\dot{\tilde{r}}_A}. \end{aligned}$$
(20)

Taking the time derivative of the apparent horizon \(\tilde{r}_A\) defined in Eq. (11), we get

$$\begin{aligned} \dot{\tilde{r}}_A=-{\tilde{r}_A}^3H\left( \dot{H}-\frac{k}{a^2}\right) . \end{aligned}$$
(21)

Combining Eqs. (20) and (21), we get

$$\begin{aligned} \dot{H}-\frac{k}{a^2}= & {} -{4\pi G}(\rho _{\mathrm{tot}}+p_{\mathrm{tot}})=-{4\pi G}\Bigg [{\dot{\phi }^2}+3\omega ^2H^2\dot{\phi }^2 \nonumber \\&+2\omega ^2\frac{k}{a^2}\dot{\phi }^2-\omega ^2\frac{\mathrm{d}}{\mathrm{d}t}(H\dot{\phi }^2)+\rho _b+p_b\Bigg ]. \end{aligned}$$
(22)

Using the energy conservation equation (15), and integrating Eq. (22), we obtain the Friedman equation

$$\begin{aligned} H^2+\frac{k}{a^2}=\frac{8\pi G }{3}\left[ \frac{\dot{\phi }^2}{2}\left( 1+{9}{\omega ^2}H^2+3\omega ^2\frac{k}{a^2}\right) +V(\phi )+\rho _b\right] . \end{aligned}$$
(23)

Thus, we derive the Friedmann equation from the unified first law on the apparent horizon for the scalar–tensor theory with non-minimally derivative coupling.

Now we would like to derive the unified first law starting from the Friedmann equation. Substituting Eq. (10) into Eq. (21), we obtain

$$\begin{aligned} \mathrm{d}{\tilde{r}}_A= & {} {4\pi G}H\tilde{r}_A^3\Bigg [{\dot{\phi }^2}+3\omega ^2H^2\dot{\phi }^2+2\omega ^2\frac{k}{a^2}\dot{\phi }^2\nonumber \\&-\omega ^2\frac{\mathrm{d}}{\mathrm{d}t}(H\dot{\phi }^2)+\rho _b+p_b\Bigg ]\mathrm{d}t. \end{aligned}$$
(24)

We multiply by \(-[1-\dot{\tilde{r}}_A/(2H\tilde{r}_A)]/G \) both sides of Eq. (24); then Eq. (24) becomes

$$\begin{aligned} T_A\,\mathrm{d}S_A= & {} -\frac{1}{2\pi \tilde{r}_A}\left( 1-\frac{\dot{\tilde{r}}_A}{2H\tilde{r}_A}\right) \cdot d \left( \frac{4\pi {\tilde{r}}_A^2}{4G}\right) \nonumber \\= & {} -{4\pi }H\Bigg [{\dot{\phi }^2}+3\omega ^2H^2\dot{\phi }^2+2\omega ^2\frac{k}{a^2}\dot{\phi }^2\nonumber \\&-\omega ^2\frac{\mathrm{d}}{\mathrm{d}t}(H\dot{\phi }^2)+\rho _b+p_b\Bigg ]{\tilde{r}}_A^3\left( 1-\frac{\dot{\tilde{r}}_A}{2H\tilde{r}_A}\right) \mathrm{d}t \nonumber \\= & {} -{4\pi }H(\rho _{\mathrm{tot}}+p_{\mathrm{tot}}){\tilde{r}}_A^3\left( 1-\frac{\dot{\tilde{r}}_A}{2H\tilde{r}_A}\right) \mathrm{d}t. \end{aligned}$$
(25)

Combining Eq. (25) with Eq. (18), we get

$$\begin{aligned} T_A\,\mathrm{d}S_A+W\,\mathrm{d}V= & {} -{4\pi }{\tilde{r}}_A^3H(\rho _{\mathrm{tot}}+p_{\mathrm{tot}})\mathrm{d}t+{4\pi }{\tilde{r}}_A^2\rho _{\mathrm{tot}}{\dot{\tilde{r}}_A}\,\mathrm{d}t\nonumber \\= & {} \frac{4\pi }{3}{\tilde{r}}_A^3 \,\mathrm{d}\rho _{\mathrm{tot}}+{4\pi }\rho _{\mathrm{tot}}{\tilde{r}}_A^2\,\mathrm{d} {\tilde{r}}_A=\,\mathrm{d}E.\nonumber \\ \end{aligned}$$
(26)

So the unified first law is derived from the Friedmann equation together with the energy conservation equation. Thus, with the usual definitions for the entropy and the Hawking temperature associated with the apparent horizon, we show that the unified first law on the apparent horizon is equivalent to the Friedmann equation for the scalar–tensor theory with non-minimally derivative coupling.

4 The second law of thermodynamics on the apparent horizon

As discussed in the previous section, the entropy of the apparent horizon is \(S_A=A/(4G)=\pi \tilde{r}_A^2/G\), so

$$\begin{aligned} \dot{S}_A=\frac{2\pi \tilde{r}_A}{G}\dot{\tilde{r}}_A=-\frac{2\pi {\tilde{r}{_A^{4}}}}{G}H\left( \dot{H}-\frac{k}{a^2}\right) . \end{aligned}$$
(27)

By using the Friedmann equations (9) and (10), we get

$$\begin{aligned} \dot{S}_A= & {} 3S_A H\,\frac{{\dot{\phi }^2}+3\omega ^2H^2\dot{\phi }^2 +2\omega ^2 k \dot{\phi }^2/a^2-\omega ^2\frac{\mathrm{d}}{\mathrm{d}t}(H\dot{\phi }^2)+\rho _b+p_b}{\dot{\phi }^2(1+9\omega ^2 H^2+3\omega ^2 k/a^2)/2+V(\phi )+\rho _b}\nonumber \\= & {} 3S_A H \frac{\rho _{\mathrm{tot}}+p_{\mathrm{tot}}}{\rho _{\mathrm{tot}}}. \end{aligned}$$
(28)

As long as \(\rho _{\mathrm{tot}}+p_{\mathrm{tot}}\ge 0\), we have \(\dot{S}_A\ge 0\), and the second law of thermodynamics on the apparent horizon is satisfied.

5 Conclusions

With the usual definition of the area law of entropy \(S_A=\pi \tilde{r}_A^2/(4G)\) of the apparent horizon, and the temperature \(T_A=-[1-\dot{\tilde{r}}_A/(2H\tilde{r}_A)]/(2\pi \tilde{r}_A)\), as well as the energy conservation for the effective total energy density \(\dot{\rho }_{\mathrm{tot}}+3H(\rho _{\mathrm{tot}}+p_{\mathrm{tot}})=0\), we show that the unified first law of thermodynamics, \(\mathrm{d}E=T_A\,\mathrm{d}S_A+W\,\mathrm{d}V\), is equivalent to the Friedmann equation for the scalar–tensor theory with non-minimally derivative coupling. The result further supports the argument that the apparent horizon is a physical boundary and the relation between the first law of thermodynamics and Friedmann equation holds for a more general theory of gravity and suggests a deep and fundamental connection between gravitation, thermodynamics, and quantum theory. Furthermore, we show that the second law of thermodynamics on the apparent horizon is also satisfied for the scalar–tensor theory with non-minimally derivative coupling as long as \(\rho _{\mathrm{tot}}+p_{\mathrm{tot}}\ge 0\).