---
abstract: 'We study thermodynamics in $f(R)$ gravity with the disformal transformation. The transformation applied to the matter Lagrangian has the form of $\g_{\m\n} = A(\phi,X)g_{\m\n} + B(\phi,X)\pa_\m\f\pa_\n\f$ with the assumption of the Minkowski matter metric $\g_{\m\n} = \e_{\m\n}$, where $\phi$ is the disformal scalar and $X$ is the corresponding kinetic term of $\phi$. We verify the generalized first and second laws of thermodynamics in this disformal type of $f(R)$ gravity in the Friedmann-Lemaître-Robertson-Walker (FLRW) universe. In addition, we show that the Hubble parameter contains the disformally induced terms, which define the effectively varying equations of state for matter.'
author:
- 'Chao-Qiang Geng'
- 'Wei-Cheng Hsu'
- 'Jhih-Rong Lu'
- 'Ling-Wei Luo'
title: 'Thermodynamics of $f(R)$ Gravity with Disformal Transformation'
---

Introduction
============

The connection between thermodynamics and general relativity (GR) has been found by studying black hole entropy. In 1972, Bekenstein stated that this entropy is proportional to the area of the event horizon [@Bekenstein:1973ur]. The thermodynamical behavior of black holes was also examined in 1974 by Bardeen, Carter, and Hawking in Ref. [@Bardeen:1973gs], showing that black hole entropy and temperature are associated with the corresponding area, $A$, and surface gravity, $\kappa_s$, on the horizon, respectively. In 1975, Hawking further presented that the proportionality of black hole temperature and surface gravity is equal to $1/{2\pi}$, i.e., $T=\kappa_s/{2\pi}$, by considering matter near the black hole horizon as quantum matter [@Hawking:1974sw]. In 1995, Jacobson pointed out that the Einstein equation can be deduced from the thermodynamic properties of spacetime together with the proportional relation of the entropy and horizon area, which gives a deeper connection between thermodynamics and gravity [@Jacobson:1995ab]. Later, this idea was applied to cosmology. In particular, in 2005, Cai and Kim [@Cai:2005ra] demonstrated that the Friedmann equations can be derived by applying thermodynamic properties to the apparent horizon of the universe. Upon replacing different entropy formulae of the black hole in different gravity theories, such as Gauss-Bonnet and Lovelock gravity, one can obtain the corresponding modified Friedmann equations  [@Cai:2005ra; @Akbar:2006er].

It is generally believed that studies of the connections between thermodynamics and gravity theories would give us some insight into the real nature of gravity. In particular, gravity theories, such as scalar-tensor [@Akbar:2006er; @Wu:2008ir; @Cai:2006rs], $f(R)$ [@Akbar:2006er; @Eling:2006aw; @Akbar:2006mq; @Wu:2008ir; @Bamba:2009id; @Bamba:2009ay; @Bamba:2010kf], Gauss-Bonnet and Lovelock gravity [@Cai:2006rs; @Cai:2008mh; @Paranjape:2006ca] and braneworld [@Wu:2007se; @Sheykhi:2007zp; @Sheykhi:2007gi; @Wu:2007em] models have been widely discussed for this purpose. It is known that $f(R)$ gravity, which takes the gravity part of the LaGrangian as a function of the Ricci scalar $R$ rather than the LaGrangian given by Hilbert, is one of the popular modified gravity theories for understanding dark energy in cosmology. The field equation for $f(R)$ has also been derived by considering spacetime as a non-equilibrium thermodynamic system such that an entropy production term is added in the Clausius relation, i.e., $d\hat{S}=dQ/T +d_i \hat{S}$. [@Eling:2006aw]. Here, the horizon entropy is defined by $\hat{S}= F(R)A/(4G)$ with $F(R)=\partial f/
    \partial R$ and $d_i \hat{S}$ a bulk viscosity entropy production term. However, in the Friedmann-Lemaître-Robertson-Walker (FLRW) universe, the Friedmann equation can be viewed both in equilibrium and non-equilibrium thermodynamic descriptions  [@Bamba:2009id]. In addition to thermodynamical properties, $f(R)$ gravity has been investigated in a wide variety of aspects. For example, the effect deviated from GR can be identified as the effective dark energy, which could lead to the accelerating universe [@Riess:1998cb; @Perlmutter:1998np]. In addition, by choosing $f(R)=R^N$, one can show that there is a correspondence between the Einstein-conformally invariant Maxwell solutions and the solutions of $f(R)$ gravity without matter field [@Hendi:2009sw]. Considering the trace anomaly as the source in $f(R)$ gravity, it can be demonstrated that there exist different (Schwarzschild-AdS (dS), Schwarzschild, Reissner-Nordström) black hole solutions in different models [@Hendi:2012nj]. Furthermore, $f(R)$ gravity has instanton solutions in 4-dimension Eguchi-Hanson space, and soliton solutions in 5-dimension Eguchi-Hanson-like spacetimes [@Hendi:2012zg]. After performing a conformal transformation on $f(R)$ gravity or a scalar-tensor theory, the two theories both become GR with a dynamical scalar field. In this sense, the two frames are mathematically equivalent. However, the intriguing question is whether these two frames are physically equivalent or not. Capozziello [*et al*.]{}  have showed that the two frames are physically non-equivalent by considering specific $f(R)$ models in cosmology and found that their Hubble parameters are different [@Capozziello:2010sc]. Similar situation happens when considering the finite time cosmological singularities of $f(R)$ gravity. The singularities change from one type to another when transforming from one frame to the other [@Bahamonde:2016wmz]. The equivalence of both frames for the scalar-tensor theory have also been studied from the thermodynamics viewpoint [@Bhattacharya:2017pqc]. Another alternative of modified gravitational theories is to modify Riemannian geometry into Finslerian one [@Lammerzahl:2018lhw; @Lammerzahl:2012kw; @Itin:2014uia; @Girelli:2006fw]. Within this framework, physical equations such as Maxwell’s equations, and Dirac equations should be rewritten into a flat Finslerian spacetime rather than a Minkowskian one [@Lammerzahl:2018lhw; @Itin:2014uia]. In  [@Bekenstein:1992pj], Bekenstein considered a kind of gravitational theories, which contains two geometries. He allowed the physical geometry ($\gamma_{\mu\nu}$) with the matter dynamics could be Finslerian. To respect the weak equivalence principle and causality, Finsler geometry must go back to Riemannian one, and the corresponding matter metric, $\gamma_{\mu\nu}$, must be related to the gravitational metric ($g_{\mu\nu}$) by the so-called disformal transformation $$\g_{\m\n} = A(\phi, X)g_{\m\n} + B(\phi, X)\pa_\m\f\pa_\n\f \label{disformal Def.}\,,$$ where $\f$ and $X$ are the disformal field and corresponding kinetic term, while $A$ and $B$ are functions of $\phi$ and $X$, respectively. This kind of the theory applied to relativistic cosmology for the early universe was first done by Kaloper [@Kaloper:2003yf], in which the disformal field is considered to be the source of inflation. The transformation can only couple to matter. Motivated by the work in Ref. [@Bekenstein:1992pj], we consider the situation that the flat Finslerian spacetime is reduced to the Minkowskian one, and examine thermodynamic properties in $f(R)$ gravity. That is, in our study, we explore thermodynamic properties in $f(R)$ gravity by including the disformal transformation with the assumption of the Minkowski matter metric, $\g_{\m\n}=\eta_{\m\n}$. The paper is organized as follows. In Sec. , we first calculate the equations of motion of our model in the Jordan frame. Then, we derive the generalized first and second laws of thermodynamics in both equilibrium and non-equilibrium descriptions. We also show the relation between the two pictures. In Sec. , we explore the cases in the Einstein frame. Finally, we conclude in section .

Thermodynamics in Jordan Frame
==============================

The action of $f(R)$ gravity with matter is given by $$\label{A:FR}S = \frac{1}{2\kappa}\int \mathrm{d}^4x \sqrt{-g}\, f(R) + \sum_i S^{(i)}_{\text{M}}\,,$$ where $\kappa\equiv8\pi G$ with $G$ the Newton’s constant, $f(R)$ is a function of the scalar curvature $R$, and $S^{(i)}_{\text{M}}=\int \mathrm{d}^4x\, \la_i$ correspond to the non-interacting matter actions with $i=(\text{m}$,$\text{r})$, representing non-relativistic matter and radiation, respectively. We use the disformal transformation of (\[disformal Def.\]) in $f(R)$ gravity, with $X := -(1/2)g^{\m\n}\pa_\m\f\pa_\n\f$ the kinetic term of the $\phi$ field. According to the disformal transformation by Bekenstein, the matter fields directly couple to the background field $\gamma_{\mu\nu}$, while the matter action must be identified as $S^{(i)}_{\text{M}}[\g_{\m\n}]$, in which the model can be regarded as a special kind of the bimetric theory [@Magueijo:2010zc]. In this work, we will concentrate on the simple case with an assumption that matter is described on the Minkowski spacetime with metric given by $$\begin{aligned}
\label{MinkmatterMetric}
\eta_{\mu\nu} = A(\f,X)g_{\m\n} + B(\f,X)\pa_\m\f\pa_\n\f\,,\end{aligned}$$ where $\eta_{\m\n} = \text{diag} (-1,+1,+1,+1)$ in our notation. To examine how the disformal transformation will affect the $f(R)$ gravity theory in cosmology, we assume our space to be homogeneous and isotropic. As a result, the disformal field, $\phi$, only depends on time now. More precisely, the equation $\pa_{\mu}\phi=(\dot{\phi},0,0,0)$ holds at present. Subsequently, one can obtain $\d(\f,_\rho)$ in terms of $\d\gumn$ and $\d \f$, given by $$\begin{aligned}
\d(\pa_{\beta}\f)= \bar{V}_\beta A_{\m\n} \delta g^{\m\n}
+\bar{V}_{\beta} \delta \f\,, \label{keyeqn01}\end{aligned}$$ where $$\begin{aligned}
\bar{V}_{\b} &= (\pa_{\b}\f)\frac{4\pa_{\f}A-2X\pa_{\f}B}
                  {(2X)(-4A,_X+2B+2XB,_X)}\,, \nonumber\\
A_{\m\n}     &= \frac{-Ag_{\m\n}-2A,_X\pa_\m\f \pa_\n\f 
                + XB,_X\pa_\m\f \pa_\n\f}{4\pa_{\f}A-2X\pa_{\f}B}\,.\end{aligned}$$

The equations of motion from the variations with respect to $g^{\mu\nu}$ and $\phi$ are given by $$\begin{aligned}
FG_{\mu\nu} &= \kappa\sum_i\Big(T^{(i)}_{\m\n} + t^{(i)}_{\m\n}\Big) 
               + \kappa\hat{T}^{(\text{d})}_{\m\n}\,, \label{eom_fr01} \\
0           &= \frac{\pa\la_i}{\pa\f} 
               + \frac{(\pa_\a\f)(4\pa_\f A-2X\pa_\f B)}{(2X)(-4A,_X+2B+2XB,_X)}
                 \frac{\pa\la_i}{\pa (\pa_\a\f)}\,, \label{eom_phi01}\end{aligned}$$ where $F:=d{f(R)}/d{R}$ and the comma denotes as the partial derivative. The terms in the right-handed side of (\[eom\_fr01\]) correspond to the energy-momentum tensors of matter, disformally induced matter, and effective dark energy, defined by $$\begin{aligned}
T^{(i)}_{\m\n} 
&= \frac{-2}{\sqrt{-g}}
   \frac{\delta\la_i}{\delta \gumn}\,,\nonumber\\
   t^{(i)}_{\m\n} 
&= \frac{-2}{\sqrt{-g}}
   \bigg(\frac{-Ag_{\m\n}-2A,_X\pa_\m\f \pa_\n\f+XB,_X\pa_\m\f \pa_\n\f}
     {(2X)(-4A,_X+2B+2XB,_X)}\bigg)(\pa_\a \f)
   \frac{\pa\la_i}{\pa (\pa_\a \f)}\,, \nonumber\\\hat{T}^{(\text{d})}_{\m\n} 
&= \frac{1}{8\pi G}\bigg(\frac{1}{2}\gmn(f(R) - FR) 
   + \na_\mu\na_\nu{F} - \gmn\Box{F}\bigg),\label{Tdmn}\end{aligned}$$ which are all assumed to be perfect fluids, given by $$\begin{aligned}
T^{(i)\,}_{\m\n} 
   &= (\r_{i} + P_{i})u_\m u_{\n} + P_{i}\,g_{\m\n}\,, \nonumber\\t^{(i)\,}_{\m\n}  
   &= (\r^{\text{(in)}}_{i} + P^{\text{(in)}}_{i})u_\m u_\n 
      + P^{\text{(in)}}_{i}g_{\m\n}\,,\nonumber\\\hat{T}^{\text{(d)}\,}_{\m\n}
   &= (\hat{\r}_{\text{d}} + \hat{P}_{\text{d}})u_\m u_\n 
      + \hat{P}_{\text{d}}\,g_{\m\n}\,, \label{E:matter energy sress}\end{aligned}$$ where $\square F:=(1/\sqrt{-g})
\partial_{\mu}(\sqrt{-g} g^{\mu\nu}\partial_{\nu}F)$, $u^\m = dx^\m/d\tau$ is the unit four-vector with $\gumn u_\m u_\n = -1$, $\r_{i}$ $(\r^{\text{(in)}}_{i})$, $\hat{\r}_{\text{d}}$ are the energy density for the $i$th content of matter (induced matter) and dark energy, and $P_{i}$ $(P^{\text{(in)}}_{i})$, and $\hat{P}_{\text{d}}$ are the corresponding pressures, respectively. In this article, we will only focus on the *flat* FLRW universe ($k=0$) in (\[A:FR\]). The corresponding metric is given by $$\label{FLRW}
ds^2 = -dt^2 + a^2(t)
\big( dx^2 + dy^2 + dz^2 \big)\,,$$ with $a(t)$ the scale factor. By comparing the components of $\eta_{\mu\nu}$, the relations

$$\begin{aligned}
A(\phi,X) &= 2XB(\phi,X)+1\label{pphi00}\,,\\
A(\phi,X) &=\frac{1}{a^2(t)} \label{pphi01}\end{aligned}$$

can be derived, where $X=\dot{\phi}^2/2$ with the dot denoting the derivative with respect to t. As a result, the induced energy-momentum tensor in (\[Tdmn\]) can be read as $$\begin{aligned}
t^{(i)}_{\m\n} 
= \frac{1}{a^3}\frac{g_{\m\n}a \dot{\phi}\ddot{\phi}
    -[3\dot{a}+(a^2 - 1)a \ddot{\phi} \dot{\phi}^{-1}]
    (\pa_\m \phi)(\pa_\n \phi)}{3 \dot{a} \dot{\phi}}
\bigg(\frac{\pa \la_i}{\pa \dot{\phi}}\bigg)\,.\label{tmn00}\end{aligned}$$ By taking the trace of (\[tmn00\]), one gets $$\begin{aligned}
3P^{\text{(in)}}_{i}-\rho^{\text{(in)}}_{i} 
= \frac{3 a \ddot{\phi} + 3\dot{a} \dot{\phi} 
    + a^3 \ddot{\phi}}{3 a^3 \dot{a}}
  \bigg(\frac{\pa \la_i}{\pa \dot{\phi}}\bigg)\,.\end{aligned}$$ We assume that the matter LaGrangian $\mathcal{L}_{i}$ is independent of the derivative of metric tensor, leading to the fact that $$\begin{aligned}
\frac{\delta \mathcal{L}_{i}}{\delta g^{\mu\nu}}
= \frac{\partial \mathcal{L}_{i}}{\partial g^{\mu\nu}}\,.\end{aligned}$$ One also finds that $$\begin{aligned}
\frac{\pa \la_i}{\pa \f}
= \frac{\pa \la_i}{\pa g_{\mu\nu}}\frac{\pa g_{\mu\nu}}{\pa \f}
=\bigg[ \frac{a^2 \dot{a} \dot{\phi} -a^2\dot{a} \dot{\phi} 
  -a^3\ddot{\phi}(1-a^2)}{\dot{\phi}^2}\bigg]\rho_{i}
  + \bigg(\frac{6a^2\dot{a}}{\dot{\phi}}\bigg)P_{i}\,,\end{aligned}$$ along with the equation of motion in (\[eom\_phi01\]) to be $$\begin{aligned}
\bigg[\frac{a^2 \dot{a} \dot{\phi} -a^2\dot{a} \dot{\phi}
    -a^3\ddot{\phi}(1-a^2)}{\dot{\phi}}\bigg]\rho_{i}
+ 6a^2\dot{a} P_{i}
+ \frac{a^3[a \dot{\phi}^{-1}\ddot{\phi}^2 (1-a^2) 
    - 3 \dot{a}\ddot{\phi}]}{3 a \ddot{\phi}
+ 3\dot{a} \dot{\phi}+a^3 \ddot{\phi}}
  (3P^{\text{(in)}}_{i}-\rho^{\text{(in)}}_{i}) = 0\,. \label{EOM for phi}\end{aligned}$$ Since the energy-momentum tensors of matter and induced matter in (\[Tdmn\]) all contain the derivative terms in the matter LaGrangian $\la_i$, we can connect matter and induced matter and derive the relations of energy densities and pressures between them. From the $tt$-components in (\[Tdmn\]) and (\[E:matter energy sress\]), the induced energy density can be expressed as $$\begin{aligned}
\r_{i}^{(\text{in})} = \lambda\,\r_{i}\label{rhophi01}\end{aligned}$$ with $$\begin{aligned}
\label{Eq:Disformal coupling}
\lambda = \frac{(1-a^2)(3 \dot{a} \dot{\phi} + a^3 \ddot{\phi})}{3 \dot{a} \dot{\phi}}\,,\end{aligned}$$ which is related to the disformal field $\phi$ as expected. Similarly, one can write the induced pressure in terms of the energy density by $$\begin{aligned}
P^{(\text{in})}_{i} 
= -\frac{a \ddot{\phi}(1-a^2)}
    {3 \dot{a} \dot{\phi}}\rho_i\,.\label{induced pressure}\end{aligned}$$ In addition, the equations of state (EoS) of matter and induced matter are given by $w_i := P_i/\r_i$ and $w_{i}^{(\text{in})} 
  := P_{i}^{(\text{in})}/\r_{i}^{(\text{in})}$, respectively.

By using (\[rhophi01\]) and (\[induced pressure\]), one can describe $P^{(\text{in})}_i$ in terms of $\rho_i$ $$\begin{aligned}
P_{i}^{(\text{in})}  &=w_{i}^{(\text{in})} \lambda \r_i\,, \label{pphi01}\end{aligned}$$ with the induced EoS of $w_{i}^{(\text{in})}$, given by $$\begin{aligned}
\label{Eq:Induced EoS}
w_{i}^{(\text{in})} = - \frac{a \ddot{\phi}}{3 \dot{a} \dot{\phi} + a^3 \ddot{\phi}} 
\equiv w^{(\text{in})}\,,\end{aligned}$$ independent of the ordinary matter content. Please note that (\[pphi01\]) can also be presented as $P^{(\text{in})}_i=(w^{(\text{in})}/w_i) \lambda P_{i}\,$. The induced matter can be totally written in terms of ordinary matters, implying the modification of the matter contents of the universe through the disformal coupling.

The reason that the induced matter content is related by the ordinary matter content in (\[rhophi01\]) and (\[pphi01\]) can be understood in a sense that the disformal field, $\phi$, is always generated to offset the gravitation field, $g_{\m\n}$, to force the physical metric, which governs the equation of motion of ordinary matter [@Bekenstein:1992pj], to Minkowski one. Therefore, once the ordinary energy and pressure, $\rho_i$ and $P_i$, are given, one can obtain (\[Eq:Disformal coupling\]) and (\[Eq:Induced EoS\]), so that $\r_{i}^{(\text{in})}$ and $P_{i}^{(\text{in})}$ can be found by (\[rhophi01\]) and (\[pphi01\]), respectively.

We assume that there contain non-relativistic matter(m) and radiation(r) in our model. For non-relativistic matter, the pressure is zero, $P_{\text{m}} = 0$, which gives the vanished matter EoS of $w_\text{m}=0$, while $w_{\text{r}} = 1/3$ for radiation. The resulting induced energy density and pressure are given by $$\label{E: induce m}
\r_{\text{m}}^{(\text{in})} = \lambda \r_\text{m} \,, 
\quad P_{\text{m}}^{(\text{in})}  = \lambda\, w^{(\text{in})} \, \r_\text{m}\,.$$ Similarly, one has $$\label{E: induce r}
\r_{\text{r}}^{(\text{in})} = \lambda\, \r_\text{r}\,, 
\quad P_{\text{r}}^{(\text{in})}  =\lambda\,w^{(\text{in})}\,  \r_{\text{r}}\,.$$ According to (\[E: induce m\]), (\[E: induce r\]) and (\[FLRW\]), we obtain the modified Friedmann equations as $$\begin{aligned}
3FH^2      &= 8\pi G\Big((1 + \l )\bar{\rho}_{\text{M}}\Big)
              - 3H\dot{F} - \frac{1}{2}(f - FR),\nonumber\\
-2F\dot{H} &= 8\pi G\Big(\bar{\rho}_{\text{M}}+P_r
              + \l \big(1+w^{(\text{in})}\big)\bar{\rho}_{\text{M}}\Big)
              + \ddot{F} - H\dot{F}\label{eomfrhdot_01}\,.\end{aligned}$$ where $\bar{\rho}_{\text{M}} = \r_\text{m}+\r_\text{r}$.

By simply rearranging the $H^2$ and $\dot{H}$ terms to the left-hand side (LHS) and the others to the right-hand side (RHS) in (\[eomfrhdot\_01\]), one obtains that $$\begin{aligned}
    H^2     &= \frac{8\pi G_{\text{eff}}}{3}
    \bigg(\bar{\rho}_{\text{M}} +\hat{\r}_{\text{d}} 
    + \l\bar{\rho}_{\text{M}}\bigg)\,,\nonumber\\
    \dot{H} &= -4\pi G_{\text{eff}}
    \bigg(\big(\bar{\rho}_{\text{M}} 
    + \hat{\r}_{\text{d}} + P_{\text{r}} + \hat{P}_{\text{d}}\big) 
    + \l\big(1+w^{(\text{in})}\big)\bar{\rho}_{\text{M}}\bigg)\,,\label{noneq01}
    \end{aligned}$$ where $$\begin{aligned}
    \hat{\r}_{\text{d}} &= \frac{1}{8\pi G}
    \bigg(\frac{1}{2}(FR - f) - 3H\dot{F}\bigg)\,,\nonumber\\
    \hat{P}_{\text{d}} &= \frac{1}{8\pi G}
    \bigg( \ddot{F} +2H\dot{F} - \frac{1}{2}(FR - f)\bigg) \label{noneqDE},
    \end{aligned}$$ where $G_{\text{eff}}=G/F$. The subscript “d” in represents the effective dark energy component of $f(R)$ in the non-equilibrium picture. In addition, one can express (\[eomfrhdot\_01\]) in terms of the following by adding $H^2$ and $\dot{H}$ terms on the both sides of the two equations, respectively, given by $$\begin{aligned}
    H^2     &= \frac{8\pi G}{3}\bigg((\bar{\rho}_\text{M}+\r_{\text{d}}) 
    +\l\bar{\rho}_\text{M}\bigg),\nonumber\\    \dot{H} &= -4\pi G\bigg(\big(\bar{\rho}_\text{M}
    +\r_{\text{d}} + P_{\text{r}} + P_{\text{d}}\big) 
    + \l\big(1+ w^{\text{(in)}}\big)\bar{\rho}_\text{M}\bigg)\,,\label{eq01}
    \end{aligned}$$ where $$\begin{aligned}
    \r_\text{d} &= \frac{1}{8\pi G}\bigg[ \frac{1}{2}(FR - f) 
    - 3H\dot{F} + 3H^2(1-F)\bigg],\nonumber\\
    P_\text{d}  &= \frac{1}{8\pi G}\bigg[ \ddot{F} +2H\dot{F} 
    - \frac{1}{2}(FR - f) - (1-F)(2\dot{H} + 3H^2 )\bigg]\,.\label{eqDE}
    \end{aligned}$$ with $G$ the ordinary Newtonian constant. It will be shown in the later context that (\[noneq01\]) corresponds to the non-equilibrium description of thermodynamics, whereas (\[eq01\]) the equilibrium one.

Non-Equilibrium Description of Thermodynamics in $f(R)$ Gravity 
----------------------------------------------------------------

### First Law in Non-Equilibrium Description

To study thermodynamics, we start with the non-equilibrium picture. [color[red]{}According to and ]{}, it is clear that the extra terms in the RHSs of (\[noneq01\]) arise from the assumption that the matter metric is related to the gravitational one through the disformal transformation. We can put Friedmann equations (\[noneq01\]) in more compact forms, $$\begin{aligned}
H^2 &=  \frac{8\pi G}{3F} \hat{\r}_t \,, \nonumber\\
\dot{H} &= -\frac{4 \pi G}{F} (\hat{\r}_t + \hat{P}_t)\,.\end{aligned}$$ where $$\begin{aligned}
\hat{\r}_t &= \rho_{\text{M}}+\hat{\r}_{\text{d}} 
            = \bar{\rho}_{\text{M}} + \l \bar{\rho}_{\text{M}} 
              + \hat{\r}_{\text{d}}\,,  \nonumber\\
\hat{P}_t &= P_{\text{M}} + \hat{P}_{\text{d}} 
           = P_{\text{r}} + \l w^{\text{(in)}} \bar{\r}_{\text{M}} 
             + \hat{P_{\text{d}}}\,.\end{aligned}$$ Here, $\rho_{\text{M}}$ is represented as the total matter density including induced matter.

Please note that the energy-momentum tensors from matter and radiation obey $\na_\m({T}^{(\text{m})}{}^\m{_\n} + {T}^{(\text{r})}{}^\m{_\n}
 + t^{(\text{m})\m}{_\n} + t^{(\text{r})\m}{_\n}) =0$, resulting in the continuity equation $$\begin{aligned}
\dot{\rho}_\text{M}+3H(\rho_\text{M}+P_\text{M}) = 0\label{contieq01}.\end{aligned}$$ Furthermore, the continuity equation for dark energy is found to be $$\begin{aligned}
\dot{\hat\r}_\text{d} + 3H(\hat{\r}_{\text{d}} + \hat{P}_{\text{d}}) 
= \frac{3H^2\dot{F}}{8\pi G}\,.\end{aligned}$$ In the non-equilibrium picture, the theory requires $\dot{F} \neq 0$, so that the above equation does not vanish. This leads to the non-equilibrium description of thermodynamics in $f(R)$ gravity in the Jordan frame. The four-dimensional FLRW metric in (\[FLRW\]) can be rewritten as $$\begin{aligned}
ds^2 = h_{ab}dx^a dx^b + \rb^2 d\O^2,\label{flrw2}\end{aligned}$$ where $h_{ab} = \text{diag}(-1, a^2(t))$ is the two-dimensional metric with $a$, $b=(0,1)$, while $x^0 = t$, and $x^1=r$. To examine the thermodynamic properties in $f(R)$, we require the apparent horizon $\rb_A$ to satisfy the condition $h^{ab}(\pa_{a}\rb)(\pa_{b}\rb) = 0$ [@Cai:2005ra]. In the FLRW spacetime, it is given by $\rb_A = H^{-1}$, so that $d\rb_A = - \rb_{A}^{2} \dot{H}dt$. Combining with (\[noneq01\]), we find $$\begin{aligned}
\frac{Fd\rb_A}{4\pi{G}}
= \rb_A^2\bigg(\big(\bar{\rho}_\text{M} + \hat{\r}_{\text{d}} 
    + P_{\text{r}} + \hat{P}_{\text{d}}\big) 
  + \l\big(1+w^{(\text{in})}\big)\bar{\rho}_\text{M}\bigg)dt\,.\end{aligned}$$

We use the dynamical entropy $\hat{S} = A/(4G_{\text{eff}})$ in the $f(R)$ gravity theory at a given horizon, where $A = 4\pi\rb_A^2$ is the area of the apparent horizon and $G_{\text{eff}}$ is the effective Newton’s constant. The dynamical entropy was first discussed by Wald [@Wald:1993nt], who proposed that the entropy of the black hole in GR is a Noether charge [@Wald:1993nt; @Iyer:1994ys]. It was also shown that this entropy is associated with the effective gravitational coupling, which depends on the variation of gravity LaGrangian with respect to the Riemann curvature tensor [@Brustein:2007jj]. For $f(R)$ gravity, in the non-equilibrium picture, since $G_{\text{eff}} = G/F$ is the effective gravitational coupling, we have the entropy [@Briscese:2007cd; @Bamba:2010kf; @Jacobson:1993vj; @Iyer:1994ys; @Cognola:2005de] $$\begin{aligned}
\hat{S} = \frac{FA}{4G}\,.\end{aligned}$$

The associated temperature at the apparent horizon is proportional to the surface gravity $\k_s$, given by [@Bardeen:1973gs] $$\begin{aligned}
T = \frac{|\k_s|}{2\pi}\,.\end{aligned}$$ By substituting $\kappa_s = 1/(2\sqrt{-h})\pa_\a
 \big( \sqrt{-h}h^{\a\b}\pa_\b\rb\big)|_{\rb=\rb_A}$ in the above equation, we get $$\begin{aligned}
T = \frac{1}{2\pi\rb_A}\bigg(1-\frac{\dot\rb_A}{2H\rb_A}\bigg)\,,\end{aligned}$$ which should be positive [@Bamba:2010kf]. As a result, $Td\hat{S}$ can be written as $$\begin{aligned}
Td\hat{S} = 4\pi \rb_A^2\Big((\bar{\rho}_\text{M} 
            + \hat{\r}_{\text{d}} + P_{\text{r}} + \hat{P}_{\text{d}})
            + \l(1+w^{(\text{in})})\bar{\rho}_\text{M}\Big)
              \Big(1+\frac{\dot{H}\rb_A^2 }{2}\Big)dt 
            + \frac{T}{G}\pi\rb_A^2dF\,.  \label{tempdS}\end{aligned}$$ The Misner-Sharp energy within the apparent horizon in $f(R)$ gravity is given by [@Wu:2007se; @Wu:2008ir; @Bamba:2010kf; @Gong:2007md] $$\begin{aligned}
\hat{E} = \frac{\rb_A}{2G_{\text{eff}}}\,,\end{aligned}$$ which can be regarded as the total energy within the apparent horizon, i.e., $ \hat{E}=V\hat{\rho}_t$, where $V = 4\pi\rb_A^3/3$ is the volume of the horizon.

Differentiating the Misner-Sharp energy, we have $$\begin{aligned}
d\hat{E} 
&= 4 \pi \rb_A^2 
   \big(\bar{\rho}_\text{M} 
     +\hat{\r}_{\text{d}} +\l\bar{\rho}_\text{M} \big) 
   d\rb_A+\frac{\rb_A}{2G}dF \nonumber\\
& \quad-4 \pi H \rb_A^3\Big(\big(\bar{\rho}_\text{M} 
     + \hat{\r}_{\text{d}} + P_{\text{r}} + \hat{P}_{\text{d}}\big) 
   + \l\big(1+w^{(\text{in})}\big)\bar{\rho}_\text{M}\Big)dt\,. \label{eqndE}\end{aligned}$$ By introducing the work density [@Cai:2005ra; @Bamba:2010kf] $\hat{W} = -\frac{1}{2} \big(T^{(\text{m})ab} + T^{(\text{r})ab} 
           + t^{(\text{m})ab} + t^{(\text{r})ab} 
           + \hat{T}^{(\text{d})ab}\big)h_{ab}$, with the perfect fluids, we obtain $$\begin{aligned}
\hat{W} = \frac{1}{2} \Big(\big(\bar{\rho}_\text{M} + \hat{\r}_{\text{d}} 
          - P_{\text{r}} - \hat{P}_{\text{d}}\big) 
          + \l\big(1-w^{(\text{in})}\big)\bar{\rho}_\text{M}\Big)\end{aligned}$$ and the new quantity $$\begin{aligned}
d_i\hat{S} &= -\frac{1}{T}\frac{\rb_A}{2G}(1 + 2\pi\rb_A T)dF\,,\end{aligned}$$ we obtain $$\begin{aligned}
Td\hat{S} + Td_i\hat{S} = -d\hat{E} + \hat{W}dV\,,\label{neq1stlaw}\end{aligned}$$ which is the first law in the non-equilibrium picture. We can see that it is similar to the result in $f(R)$ gravity [@Akbar:2006mq; @Bamba:2009ay]. The first law of thermodynamics is still valid when we introduce a disformal relation in (\[MinkmatterMetric\]).

### Second Law in Non-Equilibrium Description

To describe the second law of thermodynamics in the non-equilibrium picture, we write down the Gibbs function in terms of the total energy $\hat{\r}_t$ pressure $\hat{P}_t$, given by $$\begin{aligned}
Td\hat{S}_t = d(\hat\r_t V) + \hat{P}_tdV 
= Vd\hat\r_t + (\hat\r_t + \hat{P}_t)dV\,.\end{aligned}$$ The time derivatives of entropies lead to $$\begin{aligned}
\label{dS/dt}
\frac{d\hat{S}}{dt} + \frac{d_i\hat{S}}{dt} + \frac{d\hat{S}_t}{dt} 
= -\frac{48\pi^2 \dot{H}}{R H^3}\bigg((\bar{\rho}_\text{M} 
  + \hat{\r}_{\text{d}} + P_{\text{r}} + \hat{P}_{\text{d}}) 
  + \l\big(1 + w^{(\text{in})}\big)\bar{\rho}_\text{M}\bigg)\,,\end{aligned}$$ where the relations of $R = 6(\dot{H} + 2H^2)$ and $T^{-1}=24 \pi H/R$ have been used. It can be seen that the influence of the disformal transformation on the rate of the entropy change is the corrections of the energy densities and pressures. By using the Friedmann equations (\[noneq01\]), (\[dS/dt\]) becomes $$\begin{aligned}
\label{Eq:entropy rate in j-frame}
\frac{d\hat{S}}{dt} + \frac{d_i\hat{S}}{dt} + \frac{d\hat{S}_t}{dt} 
= \frac{12 \pi F \dot{H}^2}{GR H^3}\,.\end{aligned}$$ Please note that for our current accelerating expansion of the universe, the Hubble parameter $H$ and Ricci scalar $R$ are positive. On the other hand, to avoid the ghost and instability problems, the positive condition of $F=df/dR$ and $d^2f/dR^2$ should be satisfied. It can be checked that the equation (\[Eq:entropy rate in j-frame\]) is positive for all viable $f(R)$ gravity theories due to the viable condition of $F=df/dR>0$ [@Nunez:2004ji; @Faraoni:2007yn]. As a result, (\[Eq:entropy rate in j-frame\]) is consistent with the second law of thermodynamics, i.e. $$\begin{aligned}
\frac{d\hat{S}}{dt} + \frac{d_i\hat{S}}{dt} + \frac{d\hat{S}_t}{dt}
\geq 0\,, \label{2ndlawneq}\end{aligned}$$ when considering the disformal transformation with the Minkowski matter metric. This conclusion is the same as that in $f(R)$ gravity without the disformal transformation [@Bamba:2009ay]. It is clear that our results in (\[neq1stlaw\]) and (\[2ndlawneq\]) are reduced to those in $f(R)$ without the disformal transformation in the non-equilibrium picture in the limit of $\l \rightarrow 0$.

Equilibrium Description of Thermodynamics in $f(R)$ Gravity
-----------------------------------------------------------

### First Law in Equilibrium Description

In the equilibrium picture, we use (\[eq01\]) and as modified Friedmann equations. The energy-momentum tensor of dark energy is given by $$\begin{aligned}
T^{(\text{d})}_{\m\n} 
= \frac{1}{8\pi G}\Big(\frac{1}{2}\gmn(f(R) 
  - FR) +\na_\mu\na_\nu{F} - \gmn\Box{F} - (1-F)G_{\m\n}\Big)\label{tdmn}\,.\end{aligned}$$ Since dark energy in the equilibrium picture is treated as a perfect fluid, $T^{(\text{d})}_{\m\n}$ can be written in the form of $$\begin{aligned}
T^{(\text{d})}_{\m\n}
&= (\r_{\text{d}} + P_{\text{d}})u_\m u_\n + P_{\text{d}}\,g_{\m\n}\,.\end{aligned}$$ Consequently, the modified Einstein equation in (\[eom\_fr01\]) becomes $$\begin{aligned}
G_{\m\n} = 8 \pi G\Big(T^{(\text{m})}_{\m\n} + T^{(\text{r})}_{\m\n} 
           + t^{\text{(m)}}_{\m\n} + t^{\text{(r)}}_{\m\n} 
           + T^{(\text{d})}_{\m\n} \Big)\,. \label{Einsteineq_equil}\end{aligned}$$

Since the left-handed side of (\[Einsteineq\_equil\]) has the property of $\na_\mu G^{\mu\nu}=0$, the total energy-momentum should obey the continuity equation $\na_\mu(T^{(\text{m})}{}^\m{}_\n+T^{(\text{r})}{}^\m{}_\n 
  + t^{(\text{m})}{}^{\m}{}_{\n} + t^{(\text{r})}{}^{\m}{}_{\n} 
  + T^{(\text{d})}{}^\m{}_\n) = 0$. After applying the FLRW metric to the continuity equation $$\begin{aligned}
\dot\r_t + 3H(\r_t + P_t) = 0,\end{aligned}$$ with $\rho_t = (\bar{\rho}_\text{M}+\r_{\text{d}}) +\l\bar{\rho}_\text{M}$ and $P_t = P_{\text{r}} + P_{\text{d}} + \l w^{(\text{in})}\bar{\rho}_\text{M}$, one finds that dark energy also obeys its own continuity equation $$\begin{aligned}
 \dot\r_\text{d} + 3H(\r_\text{d} + P_\text{d})= 0\,,\end{aligned}$$ along with the one for matter and radiation, given by $$\begin{aligned}
\na_\m\big(T^{(\text{m})}{}^{\mu}{_\nu} + T^{(\text{r})}{}^{\mu}{_\nu}
    + t^{(\text{m})}{}^{\mu}{_\nu} + t^{(\text{r})}{}^{\mu}{_\nu}\big) = 0\,,\end{aligned}$$ resulting in $$\begin{aligned}
\na_\mu\big(T^{(\text{m})}{}^\m{}_\n+T^{(\text{r})}{}^\m{}_\n 
+ t^{(\text{m})}{}^{\m}{}_{\n} + t^{(\text{r})}{}^{\m}{}_{\n} 
+ T^{(\text{d})}{}^\m{}_\n\big) 
= 0\end{aligned}$$ for the total energy-momentum. Hence, the equilibrium description of thermodynamics can be advocated. Using the Bekenstein-Hawking entropy $S=A/4G$ and Hawking temperature $T=|\kappa_s|/2\pi$, we have $$\begin{aligned}
TdS = 4\pi\rb_A^2
      \bigg(\big(\bar{\r}_\text{M}
        + \r_{\text{d}} + P_{\text{r}} + P_{\text{d}}\big) 
        + \l\big(1 + w^{(\text{in})}\big)\bar{\r}_\text{M}\bigg)
      \bigg(1+\frac{\dot{H}\rb_A^2 }{2}\bigg)dt\,. \label{1steqp01}\end{aligned}$$ Defining the Misner-Sharp energy within the apparent horizon as $E = \rb_A/2G = V\rho_t$, we obtain $$\begin{aligned}
dE &= 4\pi\rb_A^2\bigg((\bar{\r}_{\text{M}}+\r_{\text{d}}) 
      + \l\bar{\r}_{\text{M}}\bigg)d\rb_A \nonumber\\ 
   &\quad -4\pi\rb_A^2\bigg(\big(\bar{\rho}_\text{M}+\r_{\text{d}} 
          + P_{\text{r}} + P_{\text{d}}\big) 
          + \l\big(1+ w^{\text{(in)}}\big)\bar{\rho}_\text{M}\bigg)dt\,. \label{MSEeqp01}\end{aligned}$$ With (\[1steqp01\]) and (\[MSEeqp01\]), we derive $$\begin{aligned}
TdS = -dE + WdV\,.\label{1stlaweqp}\end{aligned}$$ where $W$ is the work density, defined by $$\begin{aligned}
W &= -\frac{1}{2} 
     \bigg(T^{(\text{m})ab} + T^{(\text{r})ab} 
       + t^{(\text{m})ab} + t^{(\text{r})ab} 
       + T^{(\text{d})ab}\bigg)h_{ab} \nonumber\\
  &= \frac{1}{2} 
     \bigg(\big(\bar{\rho}_\text{M} + \r_{\text{d}} 
       - P_{\text{r}} - P_{\text{d}}\big)
       + \l\big(1 - w^{\text{(in)}}\big)\bar{\rho}_\text{M}\bigg)\,.\end{aligned}$$ Please note that (\[1stlaweqp\]) is the first law of thermodynamics in the equilibrium picture of $f(R)$ gravity, in which there is no other entropy contribution. It is because dark energy satisfies its own continuity equation in the equilibrium picture, whereas the non-equilibrium one does not.

### Second Law in Equilibrium Description

To describe the second law in the equilibrium picture, we take the Gibbs function in terms of the total energy $\r_t$ and pressure $P_t$, given by $$\begin{aligned}
TdS_t = d(\r_t V) + P_tdV = Vd\r_t + (\r_t + P_t)dV\,.\end{aligned}$$ The time derivatives of the entropies can be written as $$\begin{aligned}
\frac{d}{dt}(S + S_t) 
= -\frac{48 \pi^2 \dot{H}}{R H^3}
  \bigg((\bar{\rho}_\text{M}+\r_{\text{d}} 
    + P_{\text{r}} + P_{\text{d}})
    + \l(1+ w^{\text{(in)}})\bar{\rho}_\text{M}\bigg)\,.\end{aligned}$$ By using (\[eomeqphdot\_01\]), we derive $$\begin{aligned}
\frac{d}{dt}(S + S_t) 
= \frac{12\pi\dot{H}^2}{GRH^3}\geq 0\,,\label{2ndlaweq}\end{aligned}$$ which is the second law of thermodynamics. We see that the difference between the two descriptions is related to the function $F$. In the limit $\l \rightarrow 0$, the results in (\[1stlaweqp\]) and (\[2ndlaweq\]) can be also reduced to those in $f(R)$ gravity without the disformal transformation in the equilibrium picture.

### Entropy Difference Relation of Equilibrium and Non-Equilibrium Descriptions

Comparing the definitions of the effective dark energy in two frames (\[Tdmn\]) and (\[tdmn\]), we find that $$\begin{aligned}
T^{(d)}_{\m\n} = \hat{T}^{(d)}_{\m\n} - \frac{1 - F}{8 \pi G}G_{\m\n}\,.\end{aligned}$$ As a result, we relate the entropies in the two descriptions as $$\begin{aligned}
dS = d\hat{S} + d_i\hat{S} + \frac{\rb_A}{2GT} 
     - \frac{2\pi\rb_A^4}{G}H\dot{H}(1-F)dt\,.\end{aligned}$$ After some calculations, we obtain $$\begin{aligned}
dS = \frac{1}{F}d\hat{S} + \frac{1}{F}
     \frac{2H^2 + \dot{H}}{4H^2 + \dot{H}}d_i\hat{S}\,.\label{eqvsnoneq}\end{aligned}$$

Thermodynamics in Einstein Frame
================================

To discuss thermodynamics in the Einstein frame, we apply the conformal transformation to $f(R)$ gravity. The metric tensor transforms as $\ti{g}_{\a\b}(x^\m) = \O^2(x^\m)g_{\a\b}(x^\m)$ which leads to $\eta_{\mu\nu}=\O^{-2}A\ti{g}_{\mu\nu}+B\pa_\m\phi\pa_\n\phi$. Due to the conformal transformation, it can be found that the matter LaGrangian densities are non-minimally coupled by $\O$ through the disformal transformation.

The action in the Einstein frame can be achieved by the constraint of $\O^{-2}F = 1$, which is read as $$\begin{aligned}
\label{actionEF01}S = \int \mathrm{d^4}x \sqrt{-\ti{g}}\bigg[\frac{1}{2\kappa}\ti{R}
    -\frac{1}{2}\ti{g}^{\m\n}\pa_\m \o \pa_\n \o - V(\o)\bigg]
 + \sum_i S^{(i)}_{\text{M}}[\o,\ti{g}_{\mu\nu},\phi, \Psi_{\text{M}}]\,,\end{aligned}$$ where the conformal scalar is defined as $\o = \a\ln\O$ with $\a=\sqrt{3/(4\pi{G})}$ and $V(\o)=(FR-f)/{2 \kappa F^2}$. Since the thermodynamic behavior does not affected by the magnitude of time interval, we can define $d\ti{t} = \O\, dt$ and $\ti{a}(\ti{t}) = \O\, a(t)$ in the Einstein frame for simplicity. Thus, the FLRW metric becomes [@DeFelice:2010aj] $$\begin{aligned}
d\ti{s}^2 
= -d\ti{t}^2 + \ti{a}^2(\ti{t})\bigg(dr^2
  + r^2d\theta^2 + r^2\sin^2{\theta}d\varphi^2\bigg)\,.\end{aligned}$$ Again, we have used the constraint $\d\emn = 0$ to give the relation of $$\begin{aligned}
\d(\pa_{\beta}\f) 
&= (\pa_{\beta}\f)
   \bigg(\frac{4\pa_\f A-2X\pa_\f B}
          {(2X)(-4\pa_XA+2B+2X\pa_X B)}\bigg) 
   \delta \f \nonumber \\
&\quad + (\pa_{\beta}\f)
       \bigg(\frac{-\O^{-2}A\ti{g}_{\m\n}
         - 2\pa_XA\,\pa_\m\f\,\pa_\n\f
         + X\pa_XB\,\pa_\m \f\,\pa_\n \f}
         {(2X)(-4\pa_XA+2B+2X\pa_XB)}\bigg)
         e^{\frac{2\o}{\alpha}} \,\delta \tilde{g}^{\m\n} \nonumber \\
&\quad + \frac{2}{\alpha}
       \bigg(\frac{-\O^{-2}A\ti{g}_{\m\n}-2\pa_X A\pa_\m\f\,\pa_\n\f 
         + X\pa_X B\pa_\m \f\,\pa_\n\f}{(2X)(-4\pa_X A+2B+2X\pa_X B)}\bigg)
       g^{\m\n}(\pa_{\beta}\f) \, \delta\o\,.\end{aligned}$$ Varying the action (\[actionEF01\]) with respect to $\ti{g}^{\mu\nu}$, $\phi$ and $\o$, we obtain the field equations $$\begin{aligned}
\ti{G}_{\m\n} &= \kappa\bigg(\sum_i \Big(\ti{T}^{(i)}_{\m\n} 
                 + \ti{t}^{(i)}_{\m\n}\Big) 
                 + \ti\mft_{\m\n}\bigg),\nonumber \\0             &= \frac{\pa\la_{i}}{\pa\phi} + \frac{(\pa_{\beta}\f)(4\pa_\f A 
                 - 2X\pa_\f B)}{(2X)(-4\pa_XA+2B+2X\pa_X B)}
                 \frac{\pa\la_i}{\pa (\pa_\b \f)} ,\nonumber \\0             &= \frac{1}{\sqrt{-\ti{g}}}\pa_\m\Big(\sqrt{-\ti{g}} \, 
                 \ti{g}^{\m\n} \pa_\n \o\Big) - \frac{\pa V}{\pa \o} 
                 + \sum_i\bigg(\frac{1}{\sqrt{-\ti{g}}}\frac{\delta\la_i}{\delta\o} 
                 - \frac{1}{\alpha}\,\ti{g}^{\m\n} \ti{t}^{(i)}_{\m\n}\bigg)\,, \label{eomEFomega01}\end{aligned}$$ where the quantities $\ti{T}^{(i)}_{\m\n}$, $\ti{t}^{(i)}_{\m\n}$ and $\ti\mft_{\m\n}$ are the energy-momentum tensors for matter, induced matter and the conformal scalar in Einstein frame, defined as $$\begin{aligned}
\ti{T}^{(i)}_{\m\n} 
&= \frac{-2}{\sqrt{-\ti{g}}}
   \frac{\delta\la_{i}}{\delta\tgumn}\,, \nonumber\\\ti{t}^{(i)}_{\m\n} 
&= \frac{-2}{\sqrt{-\ti{g}}}\frac{\pa \la_{i}}{\pa(\pa_\a\f)}
   \bigg(\frac{A\O^{-2}\ti{g}_{\m\n}+2\pa_X A\pa_\m\f\,\pa_\n\f-X\pa_X B\pa_\m \f\,\pa_\n\f}
     {(2X)(-4\pa_X A+2B+2X\pa_X B)}\bigg)
   e^{\frac{2\o}{\a}}\pa_{\a}\f\,, \nonumber\\\ti\mft_{\m\n} 
&= \ti{g}_{\m\n}\bigg(-\frac{1}{2}\ti{g}^{\a\b}\pa_\a\o\pa_\b\o 
     - V(\o)\bigg) + \pa_\m\o\pa_\n\o\,,\label{ti_ttmn01}\end{aligned}$$ respectively. With the perfect fluid assumption, the above equations in (\[ti\_ttmn01\]) are written as $$\begin{aligned}
\ti{T}^{(i)}_{\m\n} 
&= (\ti\r_{i} + \ti{P}_{i})\ti{u}_\m\ti{u}_\n 
    + \ti{P}_{i}\tgmn\,, \nonumber\\\ti{t}^{(i)}_{\m\n} 
&= (\ti\r^{\text{(in)}}_{i} + \ti{P}^{\text{(in)}}_{i})\ti{u}_\m\ti{u}_\n 
    + \ti{P}^{\text{(in)}}_{i}\,\tgmn\,, \nonumber\\ \ti\mft_{\m\n} 
&= (\ti\r_\o + \ti{P}_\o)\ti{u}_\m\ti{u}_\n + \ti{P}_\o\tgmn\,, \label{PFti_ttmn01}\end{aligned}$$ respectively, where $\ti{u}^\m=d x^\m/d \ti{\tau}$ is defined with $\ti{\tau}$ the conformal proper time.

Please note that the equation of motion for $\phi$ in the Einstein frame (\[eomEFomega01\]) is the same as that in the Jordan one (\[eom\_phi01\]), and the relation between $\ti{t}^{(i)}_{\m\n}$ and $t^{(i)}_{\m\n}$ only differs a factor, i.e. $$\begin{aligned}
\ti{t}^{(i)}_{\m\n} = \O^{-2} t^{(i)}_{\m\n}\,. \label{relation1}\end{aligned}$$ Clearly, (\[relation1\]) can be expressed in terms of quantities in the Einstein frame with the same form $$\begin{aligned}
& \frac{a^2 a' \phi' -a^2 a' \phi' 
  - a^3\phi''(1-a^2)}{\phi'}\ti{\rho}_{i}
  + 6a^2 a' \ti{P}_{i} \nonumber\\
&\quad +\frac{a^3[a  \phi'^{-1}\phi''^2 (1-a^2) 
       - 3 a'\phi'']}{3 a \phi'' +3a' \phi'+a^3 \phi''}
         (3\ti{P}^{\text{(in)}}_{i}-\ti{\rho}^{\text{(in)}}_{i}) = 0\,.\end{aligned}$$ where the prime “ $\prime$ ” denotes the derivative with respect to $\ti{t}$. For the $\o$ field, we have $\o = \o(F(t)) = \o(t)$. From (\[ti\_ttmn01\]), one gets $$\begin{aligned}
\ti\r_\o  &= \ti{\mft}_{00} 
           =\frac{1}{2}\o'^2 + V(\o)\,, \nonumber\\\ti{P}_\o &= \ti{\mft}^{1}{}_{1} 
           = \ti{g}^{11} \ti{\mft}_{11} 
           = \frac{1}{2}\o'^2 - V(\o)\,.\label{solomega02}\end{aligned}$$

In addition, $\ti{\l} = \ti{\rho}^{\text{(in)}}_{i}/\ti{\rho}_i$ is the proportionality between ordinary matter and induced matter, and $\ti{\o}^{\text{(in)}} = \ti{P}^{\text{(in)}}_{i}/\ti{\rho}^{\text{(in)}}_{i}$ is the equation of state for induced matter in the Einstein frame. They are related to the corresponding quantities in the Jordan frame by $\ti{\l}=\O^2 \l$ and $\ti{\o}^{\text{(in)}}_{i}=\o^{\text{(in)}}_{i}$. The EoS of non-relativistic matter and radiation are given by $\ti{w}_{\text{m}}=0$ and $\ti{w}_{\text{r}} = 1/3$, respectively. Therefore, we can write down the modified Friedmann equations in the Einstein frame from (\[eomEFomega01\]) to be $$\begin{aligned}
\ti{H}^2 &= \frac{8 \pi G}{3}\big((\ti{\bar{\r}}_{\text{M}}+ \ti\r_\o)
            + \ti{\l}\ti{\bar{\r}}_{\text{M}}\big)\,, \nonumber\\\ti{H}'  &= -4 \pi G\big((\ti{\bar{\r}}_{\text{M}}+ \ti\r_\o + \ti{P}_{\text{r}} +\ti{P}_\o )
            + \ti{\l}(1 + \ti{w}^{(\text{in})})\ti{\bar{\r}}_{\text{M}}\big)\,,
\label{FrieqEF02}\end{aligned}$$ where $\ti{\bar{\r}}_{\text{M}} 
= \ti{\rho}_{\text{m}}+\ti\r_{\text{r}}$ and $\ti{H}'
= \ti{a}'/\ti{a}$ is the Hubble parameter in the Einstein frame.

First Law in Einstein Frame
---------------------------

Using $\ti\r_\o$ and $\ti{P}_\o$ in (\[solomega02\]), the third equation in (\[eomEFomega01\]) leads to $$\begin{aligned}
\ti\r_\o' + 3\ti{H}(\ti\r_\o + \ti{P}_\o)
= \frac{1}{\a}\o'(\ti{\rho}_{\text{M}} 
  - 3\ti{P}_{\text{M}})\,, \label{contiEFomega01}\end{aligned}$$ where $\ti{\rho}_{\text{M}}$ and $\ti{P}_{\text{M}}$ are the energy density and pressure of ordinary matter and disformally induced matter in the Einstein frame, given by $$\begin{aligned}
\ti{\rho}_{\text{M}} &= \ti{\bar{\r}}_{\text{M}}
+ \ti{\l}\ti{\bar{\r}}_{\text{M}}\,, \nonumber\\
\ti{P}_{\text{M}} &= (\ti{P}_{\text{r}} +\ti{P}_\o )
    +\ti{\l} \ti{w}^{(\text{in})}\ti{\bar{\r}}_{\text{M}}\,,\end{aligned}$$ respectively. Since the continuity equation for matter and induced matter in the Jordan frame holds, the equation $\ti{\na}_\m(\ti{T}^{(i)}{}^\m{_\n} + \ti{t}^{(i)\m}{_\n})$ is no longer zero. It follows that $$\begin{aligned}
\ti{\rho}_{\text{M}}'+3\ti{H}(\ti{\rho}_\text{M}+\ti{P}_\text{M}) 
= -\frac{1}{\a}\o'(\ti{\rho}_\text{M}-3\ti{P}_\text{M})\,. \label{contiEFmf01}\end{aligned}$$ where $\ti{\rho}_\text{M}=\O^{-4}\rho_\text{M}$ and $\ti{P}_\text{M}=\O^{-4}P_\text{M}$. As (\[contiEFomega01\]) and (\[contiEFmf01\]) have the opposite sign, we can combine them to form a total conserved continuity equation, given by $$\begin{aligned}
\ti\r_t' + 3\ti{H}(\ti\r_t + \ti{P}_t) = 0,\end{aligned}$$ where $\ti\r_t =\ti{\rho}_\text{M} + \ti\r_\o$ and $\ti{P}_t 
         = \ti{P}_\text{M} + \ti{P}_\o$. The relations in the Einstein frame are very similar to those in the Jordan frame in the equilibrium picture. Hence, thermodynamics in the Einstein frame should be considered as an equilibrium description.

To investigate the first law of thermodynamics in the Einstein frame, we can follow the similar steps shown in the Jordan one. The apparent horizon in the new frame is $$\begin{aligned}
\rt_A = \ti{H}^{-1}\,.\end{aligned}$$ As a result, the surface area and horizon volume become $\ti{A} = 4\pi\rt_A^2$ and $\ti{V} = 4\pi\rt_A^3/3$, respectively. Defining the Bekenstein-Hawking entropy $\ti{S} = \ti{A}/4G$ and Hawking temperature $\ti{T} = |\ti\k_s|/2\pi$, we have $$\begin{aligned}
\ti{T}d\ti{S} 
= 4\pi\rt_A^2\Big(\big(\ti{\bar{\r}}_{\text{M}} 
  + \ti\r_\o + \ti{P}_{\text{r}} +\ti{P}_\o \big)
  + \ti{\l}\big(1 +\ti{w}^{(\text{in})}\big)\ti{\bar{\r}}_{\text{M}}\Big)
  \Big(1 + \frac{\ti r_A^2 \ti{H}'}{2}\Big) d\ti{t}\,.\end{aligned}$$ Using the Misner-Sharp energy $\ti{E} = \rt_A/2G$ within the apparent horizon, we get $$\begin{aligned}
d\ti{E} = - 4\pi\rt_A^2\bigg[
\Big((1+\ti{H}'\ti{r}^2_A)(\ti{\bar{\r}}_{\text{M}}
  + \ti\r_\o) + \ti{P}_{\text{r}} +\ti{P}_\o\Big)
+ \ti{\l}\Big(\big(1+\ti{H}'\ti{r}^2_A 
+ \ti{w}^{(\text{in})}\big)\ti{\bar{\r}}_{\text{M}}\Big) \bigg] d \ti t\,.\end{aligned}$$ Combining these two equations together with the introduction of the work density $$\begin{aligned}
\ti{W} = \frac{1}{2}\bigg(\ti{T}^{(\text{m)}ab} 
         + \ti{T}^{(\text{r)}ab} + \ti{t}^{(\text{m)}ab} 
         + \ti{t}^{(\text{r)}ab} + \ti\mft^{ab} \bigg) \ti{h}_{ab}\,,\end{aligned}$$ where $\ti{h}_{ab}=\text{diag}(-1,\ti{a}^2)$ with $a, b=0, 1$, the first law in the Einstein frame is given by $$\begin{aligned}
\ti{T}d\ti{S} = -d\ti{E} + \ti{W}d\ti{V}\label{1stlawEF}\end{aligned}$$

Second Law in Einstein Frame
----------------------------

In the Einstein frame, we can also construct the Gibbs function $$\begin{aligned}
\ti{T}d\ti{S}_t 
= d(\ti\r_t V) + \ti{P}d\ti{V} 
= \ti{V}d\ti\r_t + (\ti\r_t + \ti{P}_t)d\ti{V}\,.\end{aligned}$$ Similarly, we have $$\begin{aligned}
\frac{d}{d\ti{t}}(\ti{S} + \ti{S}_t) 
= -\frac{48 \pi^2 \ti{H}'}{\ti{R} \ti{H}^3}\bigg(\big(\ti{\bar{\r}}_{\text{M}} 
  + \ti\r_\o + \ti{P}_{\text{r}} +\ti{P}_\o \big)
  + \ti{\l}\big(1+ \ti{w}^{(\text{in})}\big)
    \ti{\bar{\r}}_{\text{M}}\bigg)\,.\label{Eq:entropy rate in e-frame}\end{aligned}$$ Substituting (\[FrieqEF02\]) into the above equation, one gets $$\begin{aligned}
\frac{d}{d\ti{t}}(\ti{S} + \ti{S}_t) = \frac{12 \pi \ti{H}'^2}{G \ti{R} \ti{H}^3}\,,\end{aligned}$$ which is obviously always positive for the accelerating expansion of the universe, so that $$\begin{aligned}
\frac{d}{d\ti{t}}(\ti{S} + \ti{S}_t) 
= \frac{12 \pi \ti{H}'^2}{G \ti{R} \ti{H}^3} 
  \geq 0\,,\label{2ndlawEF}\end{aligned}$$ as expected by the second law of thermodynamics. We can see that the solution is similar to that of the equilibrium picture in the Jordan frame. By replacing all the variables in terms of those in the Einstein frame, they both describe the same picture but in the different frames. In the limit of $\ti{\l} \rightarrow 0$, the results in (\[1stlawEF\]) and (\[2ndlawEF\]) can also be reduced to those in $f(R)$ gravity without the disformal transformation in the Einstein frame.

Thermodynamics Relation Between Two Frames
------------------------------------------

As the thermodynamic properties in the two frames are derived, we can find the relations between the frames. First, the Hubble parameter has the form $$\begin{aligned}
H = \sqrt{F}\bigg(\ti{H} - \frac{1}{2F}\frac{dF}{d\ti{t}}\bigg)
= \exp^{\o/\a}\bigg(\ti{H} - \frac{\o'}{\a}\bigg)\,.\end{aligned}$$ Then, the thermodynamics quantities in terms of $H$ are expressed by $$\begin{aligned}
dE  &= -\frac{dH}{2GH^2} \nonumber\\
WdV &= \bigg(3 + \frac{\dot{H}}{H^2}\bigg)dE,\nonumber\\
TdS & = \bigg(2 + \frac{\dot{H}}{H^2}\bigg)dE\,.\end{aligned}$$ Consequently, we obtain the relations between the Einstein and Jordan frames to be $$\begin{aligned}
dE  &= \mu \,d\ti E\,,\nonumber\\
WdV &= \frac{\mu}{3+\ti H'/\ti{H}^2}
       \bigg(3+\frac{(\o'/\a)(\ti{H} 
                     -\o'/\a)+(\ti{H}'-\o''/\a)}{(\ti H - \o'/\a)^2}\bigg)
       \ti{W}d\ti{V}\,,\nonumber\\
TdS &= \frac{\mu}{{2+\ti H'/\ti{H}^2}}
       \bigg(2+\frac{(\o'/\a)(\ti{H}
                     -\o'/\a)+(\ti{H}'-\o''/\a)}{(\ti H - \o'/\a)^2}\bigg)
                     \ti{T}d\ti{S}\,.\end{aligned}$$ where $\mu = -{\ti{H}^2}/{\O(\ti{H}-\o'/\a)^2}d\ti{E}$

Conclusions
===========

We have studied thermodynamics in $f(R)$ gravity with the disformal transformation of $\eta_{\m\n} = A(\phi, X)g_{\m\n} + B(\phi, X)\pa_\m\f\pa_\n\f$, where $\f$ and $X$ are the disformal field and corresponding kinetic term, while $A$ and $B$ are functions of $\phi$ and $X$, respectively. Under the assumption of the Minkowski matter metric, we have given the Friedmann equations including the disformal field. Particularly, we have shown that the induced EoS of $w^{(\text{in})}$ depends on the disformal field (\[Eq:Induced EoS\]).

We have verified the first and second laws of thermodynamics for $f(R)$ gravity with the disformal transformation in the FLRW universe in the both equilibrium and non-equilibrium pictures. In the equilibrium picture, dark energy obeys the continuity equation, whereas it does not in the non-equilibrium one. In addition, the disformal $\l$-dependent terms appearing in the first and second laws arise from the disformal field, which are absent in the standard $f(R)$ gravity theory. To demonstrate these contributions, we connect our model to that of the $f(R)$ theory without the disformal relation. We show that with the absence of the disformal relation by setting $\l \rightarrow 0$, our equations describing the first and second laws of thermodynamics can be reduced to those in the ordinary $f(R)$ gravity theory.

We have also confirmed the first and second laws of thermodynamics for $f(R)$ gravity with the disformal transformation in the Einstein frame. By finding the relations between quantities in the Jordan and Einstein frames, we have shown that the contributions from the disformal field in the Einstein frame can be expressed as the disformal $\ti{\l}$-dependent terms with $\ti{\l}=\O^{2} \l$. Similarly, when taking the limit of $\ti{\l} \rightarrow 0$, the equations of the first and second laws of thermodynamics go back to the ordinary ones in $f(R)$ gravity in the Einstein frame.

We remark that in the Jordan frame, we have both non-equilibrium and equilibrium descriptions. As shown in Equation , the change of the horizon entropy $S$ in the equilibrium picture includes the information of both $d\hat{S}$ and $d_{i}S$ in the non-equilibrium one. Clearly, the existence of the non-equilibrium description in the Jordan frame but not in the Einstein frame also gives us an implication that two frames are inequivalent. In this paper, we only consider the case that the disformal metric couples to matter. Thus, the effect of this coupling can be interpreted as an additional matter (disformally induced matter). The first law of thermodynamics will be modified by adding additional matter contents in the both Jordan and Einstein frames. Also, calculations show that the second law of thermodynamics depends on the total energy density and pressure, and hence, can also be verified by taking into account additional matter contents. Finally, it is worth noting that the equation of state, defined in (\[Eq:Induced EoS\]), is independent of the matter contents, implying the *unique* phase of the induced matter. Furthermore, if the matter metric is not the Minkowski one, it should be interesting to study how the thermodynamic properties will change in both frames.

We would like to thank Yong Tian for useful discussions. The work was partially supported by National Center for Theoretical Sciences, Ministry of Science and Technology (MoST-104-2112-M-007-003-MY3 and MoST-107-2119-M-007-013-MY3) and Academia Sinica Career Development Award Program (AS-CDA-105-M06).

[2]{}

Bekenstein, J.D. Black holes and entropy. *Phys. Rev. D* **1973**, *7*, 2333. Bardeen, J.M.; Carter, B.; Hawking, S.W. The four laws of black hole mechanics. *Commun. Math. Phys.* **1973**, *31*, 161–170. Hawking, S.W. Particle creation by black holes. *Commun. Math. Phys.* **1975**, **43**, 199–220. Erratum: \[*Commun. Math. Phys.* **1976**, [*46*]{}, 206\]. Jacobson, T. Thermodynamics of spacetime: The einstein equation of state. *Phys. Rev. Lett.* **1995**, *75*, 1260. Cai, R.-G.; Kim, S.P. First law of thermodynamics and friedmann equations of friedmann-robertson-walker universe. *J. High Energy Phys.* **2005**, *2005*, 050. Akbar, M.; Cai, R.-G. Friedmann equations of frw universe in scalar–tensor gravity, $f (R)$ gravity and first law of thermodynamics. *Phys. Lett. B* **2006**, *635*, 7–10.

Wu, S.-F.; Wang, B.; Yang, G.-H.; Zhang, P.-M. The generalized second law of thermodynamics in generalized gravity theories. *Class. Quant. Grav. * **2008**, *25*, 235018. Cai, R.-G.; Cao, L.-M. Unified first law and the thermodynamics of the apparent horizon in the frw universe. *Phys. Rev. D* **2007**, *75*, 064008.

Eling, C.; Guedens, R.; Jacobson, T. Nonequilibrium thermodynamics of spacetime. *Phys. Rev. Lett.* **2006**, *96*, 121301.

Bamba, K.; Geng, C.-Q.; Tsujikawa, S. Equilibrium thermodynamics in modified gravitational theories. *Phys. Lett. B* **2010**, *688*, 101–109.

Akbar, M.; Cai, R.-G. Thermodynamic behavior of field equations for $f (R)$ gravity. *Phys. Lett. B* **2007**, *648*, 243–248.

Bamba, K.; Geng, C.-Q. Thermodynamics in $f (R)$ gravity with phantom crossing. *Phys. Lett. B* **2009**, *679*, 282–287.

Bamba, K.; Geng, C.-Q. Thermodynamics in $f (R)$ gravity in the palatini formalism. *J. Cosmol. Astropart. Phys.* **2010**, **2010**, 014.

Cai, R.-G.; Cao, L.-M.; Hu, Y.-P.; Kim, S.P. Generalized vaidya spacetime in lovelock gravity and thermodynamics on the apparent horizon. *Phys. Rev. D* **2008**, *78*, 124012.

Paranjape, A.; Sarkar, S.; Padmanabhan, T. Thermodynamic route to field equations in lanczos-lovelock gravity. *Phys. Rev. D* **2006**, *74*, 104015.

Wu, S.-F.; Wang, B.; Yang, G.-H. Thermodynamics on the apparent horizon in generalized gravity theories. *Nucl. Phys. B* **2008**, *799*, 330–344.

Sheykhi, A.; Wang, B.; Cai, R.-G. Thermodynamical properties of apparent horizon in warped dgp braneworld. *Nucl. Phys. B* **2007**, *779*, 1–12.

Sheykhi, A.; Wang, B.; Cai, R.-G. Deep connection between thermodynamics and gravity in gauss-bonnet braneworlds. *Phys. Rev. D* **2007**, *76*, 023515.

Wu, S.-F.; Yang, G.-H.; Zhang, P.-M. Cosmological equations and thermodynamics on apparent horizon in thick braneworld. *Gen. Relativ. Gravitation* **2010**, *42*, 1601–1622.

Riess, A.G.; Filippenko, A.V.; Challis, P.; Clocchiatti, A.; Diercks, A.; Garnavich, P.M.; Gilliland, R.L.; Hogan, C.J.; Jha, S.; Kirshner, R.P.; et al. Observational evidence from supernovae for an accelerating universe and a cosmological constant. *Astron. J.* **1998**, *116*, 1009.

Perlmutter, S. Measurements of $\Omega$ and $\Lambda$ from 42 high-redshift supernovae. *Astrophys. J.* **1999**, *517*, 565.

Hendi, S. The relation between $f (R)$ gravity and einstein-conformally invariant maxwell source. *Phys. Lett. B* **2010**, *690*, 220–223.

Hendi, S.; Momeni, D. Black-hole solutions in $f (R)$ gravity with conformal anomaly. *Eur. Phys. J. C* **2011**, *71*, 1823.

Hendi, S.; Mann, R.; Riazi, N.; Panah, B.E. Eguchi-hanson-like space-times in $f (R)$ gravity. *Phys. Rev. D* **2012**, *86*, 104034.

Capozziello, S.; Martin-Moruno, P.; Rubano, C. Physical non-equivalence of the jordan and einstein frames. *Phys. Lett. B* **2010**, *689*, 117–121.

Bahamonde, S.; Odintsov, S.; Oikonomou, V.; Wright, M. Correspondence of $f (R)$ gravity singularities in jordan and einstein frames. *Ann. Phys.* **2016**, *373*, 96–114.

Bhattacharya, K.; Majhi, B.R. Fresh look at the scalar-tensor theory of gravity in jordan and einstein frames from undiscussed standpoints. *Phys. Rev. D* **2017**, *95*, 064026.

Lammerzahl, C.; Perlick, V. Finsler geometry as a model for relativistic gravity. *Int. J. Geom. Meth. Mod. Phys.* **2018**, *15*, 1850166.

Lämmerzahl, C.; Perlick, V.; Hasse, W. Observable effects in a class of spherically symmetric static finsler spacetimes. *Phys. Rev. D* **2012**, *86*, 104042.

Itin, Y.; Lämmerzahl, C.; Perlick, V. Finsler-type modification of the coulomb law. *Phys. Rev. D* **2014**, *90*, 124057.

Girelli, F.; Liberati, S.; Sindoni, L. Planck-scale modified dispersion relations and finsler geometry. *Phys. Rev. D* **2007**, *75*, 064015.

Bekenstein, J.D. Relation between physical and gravitational geometry. *Phys. Rev. D* **1993**, *48*, 3641.

Kaloper, N. Disformal inflation. *Phys. Lett. B* **2004**, *583*, 1–13.

Magueijo, J.; Noller, J.; Piazza, F. Bimetric structure formation: Non-gaussian predictions. *Phys. Rev. D* **2010**, *82*, 043521.

Wald, R.M. Black hole entropy is the noether charge. *Phys. Rev. D* **1993**, *48*, R3427. Iyer, V.; Wald, R.M. Some properties of the noether charge and a proposal for dynamical black hole entropy. *Phys. Rev. D* **1994**, *50*, 846.

Brustein, R.; Gorbonos, D.; Hadad, M. Wald’s entropy is equal to a quarter of the horizon area in units of the effective gravitational coupling. *Phys. Rev. D* **2009**, *79*, 044025.

Cognola, G.; Elizalde, E.; Nojiri, S.i.; Odintsov, S.D.; Zerbini, S. One-loop $f (R)$ gravity in de sitter universe. *J. Cosmol. Astropart. Phys.* **2005**, *2005*, 010.

Briscese, F.; Elizalde, E. Black hole entropy in modified-gravity models. *Phys. Rev. D* **2008**, *77*, 044009.

Jacobson, T.; Kang, G.; Myers, R.C. On black hole entropy. *Phys. Rev. D* **1994**, *49*, 6587. Gong, Y.; Wang, A. Friedmann equations and thermodynamics of apparent horizons. *Phys. Rev. Lett.* **2007**, *99*, 211301.

Nunez, A.; Solganik, S. The content of $f (R)$ gravity. *arXiv preprint* **2004**, hep-th/0403159.

Faraoni, V. De sitter space and the equivalence between f (r) and scalar-tensor gravity. *Phys. Rev. D* **2007**, *75*, 067302.

De Felice, A.; Tsujikawa, S. $F(R)$ theories. *Living Rev. Relativ.* **2010**, *13*, 3.
