The entropy of a black hole is equal to the quarter of the area of its horizon in natural units [1, 2]. This observation establishes a connection between the thermodynamics and the geometry of spacetime. This entropy associated with a black hole is also the maximum entropy that can be associated with any object of the same volume [3, 4]. It is interesting to observe that this maximum entropy of a region of space scales with its area and not with its volume [5]. In fact, it is this observation that has motivated the holographic principle [6, 7]. Even though the holographic principle is a very important principle in physics, it is expected that this holographic principle will get modified near the Planck scale due to quantum fluctuations [8, 9]. This can also be observed from the fact that the relation between the entropy and area of a black hole is expected to get modified due to quantum fluctuations. The leading order correction to the relation between the area and entropy of a black hole is a logarithmic correction in almost all approaches to quantum gravity. In particular, such logarithmic corrections have been obtained using non-perturbative quantum gravity [11], the Cardy formula [12], matter fields surrounding a black hole [13,14,15], string theory [16,17,18,19], dilatonic black holes [20] the partition function of a black hole [21], and the generalized uncertainty principle [10, 22]. Even though the form of the corrections from various approaches to quantum gravity are logarithmic corrections, the coefficient of such a logarithmic correction is different for all these approaches to quantum gravity.

It may be noted that such logarithmic corrections can also be obtained by considering the effects of thermal fluctuations on the entropy of a black hole [29,30,31]. Now it is well known that in the Jacobson formalism, spacetime emerges from thermodynamics [23], in that general relativity can be deduced from the Bekenstein–Hawking entropy–area relation combined with the first law of thermodynamics. Thus, the correction to the Bekenstein–Hawking entropy–area relation would generate corrections to the structure of spacetime. Furthermore, as the black hole becomes smaller due to hawking radiation, its temperature would increases, and this in turn would increase the contribution coming from the thermal corrections. However, as the black hole becomes smaller, the effect of quantum fluctuations would also increase. Thus, in this paper, we propose that both these effects are related, due to the relation between the geometry and the black hole thermodynamics. Furthermore, as the Jacobson formalism explicitly relies on this connection, we will use the Jacobson formalism to obtain quantum corrections to the metric by analyzing the correction produced by thermal fluctuations to the thermodynamics of a black hole.

Thus, we start from the Jacobson formalism, and in this formalism the thermodynamics relation \(\delta Q = T \mathrm{d}S\) is used to obtain the geometry of spacetime. This is because it is possible to express Q in terms of the energy-momentum tensor \(T_{ab}\), and one may use the Hawking–Bekenstein relation to relate S to the event horizon area A. Thus, we obtain a geometrical quantity which can be expressed in terms of the Riemann tensor \(R_{ab}\), and so a relation between \(T_{ab}\) and \(R_{ab}\) is obtained, and this can be demonstrated to be the Einstein field equations.

More precisely, and following the conventions of [23], for any point p, one can choose a two-surface element \(\mathcal P\) to which orthogonal boosts are generated by a Killing field \(\chi ^a\) such that the temperature T is taken as the Unruh temperature [24] defined by \(T =\hbar \kappa /2\pi \) where \(\kappa \) represents the acceleration of the Killing orbit, and the heat flow is then defined by the boost-energy current \(T_{ab}\chi ^a\). As for the area, we consider a local Rindler horizon through p generated by \(\chi ^a\) whose future points to the energy carried by matter. The past-pointing heat flux through \(\mathcal P\), beyond which lies the horizon denoted by \(\mathcal H\), is

$$\begin{aligned} \delta Q=\int _\mathcal{H}T_{ab} \chi ^a \mathrm{d}\Sigma ^b, \end{aligned}$$
(1)

where \(\mathrm{d}\Sigma ^a = k^a \mathrm{d}\lambda \mathrm{d}\mathcal A\) with \(k^a\) a tangent vector to the horizon, \(\lambda \) an affine parameter vanishing at \(\mathcal P\) with negative values to the past of \(\mathcal P\), and \(\mathrm{d}\mathcal A\) is the area element. Thus, it is possible to write

$$\begin{aligned} \delta Q=-\kappa \int _\mathcal{H}\lambda T_{ab} k^a k^b \mathrm{d}\lambda \mathrm{d}\mathcal A . \end{aligned}$$
(2)

As the entropy S is assumed to be proportional to the horizon area, so \(\mathrm{d}S =\eta \delta \mathcal A\). Denoting the expansion of the horizon generated by \(\theta \), we obtain

$$\begin{aligned} \delta \mathcal{A}=-\kappa \int _\mathcal{H}\theta \mathrm{d}\lambda \mathrm{d}\mathcal A. \end{aligned}$$
(3)

In order now to obtain the Einstein equations, it suffices to neglect, near \(\mathcal P\), the shear \(\sigma ^2\) and the expansion \(\theta \) terms, which vanish at \(\mathcal P\) by a suitable choice of the local Rindler horizon, in the Raychaudhuri equation

$$\begin{aligned} \frac{\mathrm{d}\theta }{\mathrm{d}\lambda }=-\frac{1}{2}\theta ^2-\sigma ^2-R_{ab}k^ak^b. \end{aligned}$$
(4)

Thus, by integrating this equation, we find \(\theta = -\lambda R_{ab}k^ak^b\), and Eq. (3) can be expressed as

$$\begin{aligned} \delta \mathcal{A}=-\int _\mathcal{H}\lambda R_{ab} k^a k^b \mathrm{d}\lambda \mathrm{d}\mathcal A. \end{aligned}$$
(5)

Comparing Eqs. (2) and (5), we observe that \(\delta Q = T\mathrm{d}S = (\hbar \kappa /2\pi )\eta \delta \mathcal A\) holds provided \(T_{ab}k^ak^b = (\hbar \eta /2\pi ) R_{ab}k^ak^b\) for all null \(k^a\), which leads to \((2\pi /\hbar \eta )T_{ab} = R_{ab} +fg_{ab}\) for some function f. Energy and momentum conservation, combined with the contracted Bianchi identities, leads to \(f = -R/2+\Lambda \) for some constant \(\Lambda \), and thus we get the Einstein equations

$$\begin{aligned} R_{ab}-\frac{1}{2}+\Lambda g_{ab}=\frac{2\pi }{\hbar \eta }T_{ab}. \end{aligned}$$
(6)

We would like to point out that the proportionality constant \(\eta \) between the entropy and the area is related to Newton’s constant as \(G = (4\hbar \eta )^{-1}\), and hence to the Planck length, but the cosmological constant \(\Lambda \) cannot be related to other constants, and thus there remains a free parameter even in the Jacobson formalism.

We would like to apply the former approach to determine the quantum corrections on the black hole geometry due to thermal fluctuations. We will consider a BTZ black hole as an example, but the formalism developed here can be applied to any black hole geometry. We first observe that in the Jacobson formalism, the field equations near the horizon of a BTZ black hole can be expressed as a thermodynamical identity, \(\mathrm{d}E=T\mathrm{d}S+P_r\mathrm{d}A\), where \(E = M\) is the mass of BTZ black hole, \(\mathrm{d}A\) is the change in the area of the black hole horizon when the horizon is displaced by an infinitesimally small amount, and \(P_r\) is the radial pressure provided by the source of Einstein equations. It may be noted that since we have a \(2+1\) dimensional black hole, its volume is in fact the area it encloses. So, the term \(P_r\mathrm{d}A\) actually corresponds to \( P\mathrm{d}V\), from the general first law. Furthermore, the pressure \(P_r\) is well defined for BTZ black holes, since they are embedded in AdS spacetime. This term has occurred in earlier work on such black holes [25,26,27,28].

Now we will analyze the corrections to the entropy of a BTZ black hole due to thermal fluctuations [30, 31]. Such thermal fluctuations have been analyzed as perturbations around the equilibrium, and this has been done by considering the system to be very close to equilibrium. So, the approximation used in this approach is valid as long as the correction due to the thermal fluctuations are small compared to the original quantity, i.e., as long as \( \Delta S_0 / S_0 = (S- S_0)/ S_0<< 1\), where S is the corrected entropy and \(S_0\) is the original entropy of the system. Thus, the ratio of the corrections to the original quantity should be small, and so the temperature should not be large enough to produce very large thermal fluctuations [29].

Now for a canonical ensemble with partition function [30, 31],

$$\begin{aligned} Z = \int _0^\infty \mathrm{d}E\rho (E)\exp (-\beta E), \end{aligned}$$
(7)

the density of states for a system can be written as

$$\begin{aligned} \rho (E) = \frac{1}{2 \pi i} \int ^{\beta _0+ i\infty }_{\beta _0 - i\infty }\mathrm{d} \beta \exp [S(\beta )], \end{aligned}$$
(8)

where \( S = \beta E + \ln Z. \) It may be noted that usually the entropy is measured around the equilibrium temperature \(\beta _0\), and all thermal fluctuations are neglected. This is done by making the identification \(T = \beta ^{-1}\). However, it is possible to consider the thermal fluctuations, and expand the entropy \(S(\beta )\) around the equilibrium temperature \(\beta _0\) [30, 31],

$$\begin{aligned} S = S_0 + \frac{1}{2}(\beta - \beta _0)^2 \left( \frac{\partial ^2 S(\beta )}{\partial \beta ^2 }\right) _{\beta = \beta _0}, \end{aligned}$$
(9)

where \(\beta \) is a temperature close to the equilibrium temperature \(\beta _0\), and

$$\begin{aligned} S_0 = [S (\beta ) ] \bigg |_{\beta = \beta _0},&S_0^{\prime \prime } = \left[ \frac{\partial ^2 S (\beta )}{ \partial \beta ^2}\right] \bigg |_{\beta = \beta _0}. \end{aligned}$$
(10)

Now the density of states can be expressed as

$$\begin{aligned} \rho (E)= & {} \frac{\exp (S_0)}{2 \pi i}\int ^{\beta _0+ i\infty }_{\beta _0 - i\infty }\mathrm{d}\beta \nonumber \\&\times \exp \left( \frac{1}{2}(\beta -\beta _0)^2 \left( \frac{\partial ^2 S(\beta )}{\partial \beta ^2 } \right) _{\beta = \beta _0} \right) . \end{aligned}$$
(11)

Furthermore, by a change of variables, we obtain

$$\begin{aligned} \rho (E) = \frac{\exp (S_{0})}{\sqrt{2\pi }} \left[ \left( \frac{\partial ^2 S(\beta )}{\partial \beta ^2 }\right) _{\beta = \beta _0}\right] ^{- 1/2}. \end{aligned}$$
(12)

Thus, it is possible to express S as

$$\begin{aligned} S = S_0 - \frac{\ln S_0^{\prime \prime }}{2}, \end{aligned}$$
(13)

It is also possible to express the second derivative of the entropy in terms of fluctuations of the energy, and so the corrected entropy can be written as [31]

$$\begin{aligned} S = S_0 -\frac{1}{2} \ln (S_0T^{2}). \end{aligned}$$
(14)

So, the thermal fluctuations decrease entropy of the BTZ black hole. It may be noted that black holes have a negative heat capacity; therefore, as the temperature of a black hole increases, its entropy decreases. This unusual behavior of black holes even occurs when thermal fluctuations are neglected. Furthermore, the behavior of the original [32], and the correct entropy [31], is well known, and this is not the aim of this paper. The main aim of this paper is to use this corrected entropy to obtain quantum corrections using the Jacobson formalism.

Let us consider a non-rotating BTZ black hole in three-dimensions with metric [43]

$$\begin{aligned} \mathrm{d}s^2= & {} -\left( \frac{r^2}{l^2}-8G_3M\right) \mathrm{d}t^2\nonumber \\&+\left( \frac{r^2}{l^2}-8G_3M\right) ^{-1}\mathrm{d}r^2+r^2\mathrm{d}\theta ^2. \end{aligned}$$
(15)

Its Bekenstein–Hawking entropy and Hawking temperature are given by

$$\begin{aligned} S_0=\frac{2\pi r}{4G_3} \end{aligned}$$
(16)

and

$$\begin{aligned} T=\frac{r}{2\pi l^2}=\left[ \frac{G_3}{\pi ^2l^2}\right] S_0 \end{aligned}$$
(17)

where \(r =\sqrt{8G_3M}l\) is the radius of the horizon (\(G_3 = 3\)-dimensional Newton constant), M being the mass of the black hole and l is related to the cosmological constant by \(\Lambda =-1/l^2\). Now, let us suppose that the corrected metric has the form

$$\begin{aligned} \mathrm{d}s'^2=-F (r)\mathrm{d}t^2+(F(r))^{-1}\mathrm{d}r^2+r^2\mathrm{d}\theta ^2, \end{aligned}$$
(18)

where F(r) is a function of (r). Here we have assumed that the fluctuations are only r dependent, and they do not have any angular dependence. The justification for this is that any fluctuation that causes a shear to the black hole surface is highly unstable [50, 51]. Since we have started with a spherically symmetric BTZ black holes, it is justified to assume that the relevant fluctuations are only r dependent. In fact, as we consider a black hole near equilibrium, and one that is non-rotating, it is necessary for its stability to only consider spherically symmetric fluctuations [52].

It also known that these thermal fluctuations become dominant at high temperatures. As the temperature of a black holes increases as its size decreases, these thermal fluctuations also increase as the black hole reduces its size. However, as the black hole becomes smaller, quantum effects also become dominant. As these thermal fluctuations scale with the quantum fluctuations, in the Jacobson formalism (where spacetime emerges from thermodynamics), we can argue that these thermal fluctuations actually produce quantum corrections to this emergent spacetime [23]. It may be noted that the correction to the entropy produced by these thermal fluctuations is a logarithmic correction, and it scales as \( \ln \left( S_0T^{2}\right) \). This also indicates that these thermal corrections in the thermodynamics are related to the quantum corrections to the geometry of spacetime. This is because in almost all approaches to quantum gravity, we obtain a logarithmic correction term as the leading order quantum correction to the black hole entropy [10,11,12,13,14,15,16,17,18,19,20,21,22]. Even though a logarithmic correction term is produced in almost all approaches to quantum gravity, this term is proportional to a constant, and that constant depends on the details of the various approaches to quantum gravity. In fact, this constant is usually proportional to some new constant in that theory. As this constant depends on the details of the model used, we will use an arbitrary constant \(\alpha \) and define the corrected microcanonical entropy as [33,34,35,36,37,38,39,40,41,42]

$$\begin{aligned} S=S_0+\alpha \ln (S_0T^2) . \end{aligned}$$
(19)

It may be noted that the corrected metric should reduce to the original metric, as \(\alpha \rightarrow 0\), and this occurs if thermal fluctuations are neglected. If we neglect the higher order terms, we write

$$\begin{aligned} \mathrm{d}S=\left( \frac{2\pi }{4G_3}+\frac{\alpha }{r}\right) \mathrm{d}r . \end{aligned}$$
(20)

As \(M=\frac{r^2}{8G_3l^2}\), we find that

$$\begin{aligned} \mathrm{d}M=\frac{r}{4G_3l^2}\mathrm{d}r . \end{aligned}$$
(21)

By substituting Eqs. (17), (20), and (21) in the first law of thermodynamics,

$$\begin{aligned} \mathrm{d}M=T\mathrm{d}S+P_r\mathrm{d}A, \end{aligned}$$
(22)

we find

$$\begin{aligned} \frac{r}{4G_3l^2}=\frac{r}{2\pi l^2}\left( \frac{2\pi }{4G_3}+\frac{\alpha }{r}\right) +P_r \left( 8\pi r\right) \end{aligned}$$
(23)

where \(A=4\pi r^2\). By simplifying the last equation we find

$$\begin{aligned} -8G_3\pi P_r=-\frac{1}{4l^2}+\frac{1}{4l^2}+\alpha \frac{ G_3}{\pi l^2 \left( 2r\right) }. \end{aligned}$$
(24)

Now, the Einstein equation is given by

$$\begin{aligned} G_{ab}+\Lambda g_{ab}=-8\pi G_3T_{ab} . \end{aligned}$$
(25)

The Einstein equation for the metric (18) when evaluated at the radius of the horizon reads [44]

$$\begin{aligned} -8G_3\pi T_{0}^0=\frac{1}{2r}F' (r)-\frac{1}{l^2} \end{aligned}$$
(26)

where the prime indicates the derivative with respect to r. If we suppose that the static BTZ black hole for the entropy (19) is consistent with Jacobson’s approach, then we can find the corrected metric by identifying between (24) and Eq. (26). Then we get the differential equation

$$\begin{aligned} \frac{1}{2r}F' (r)-\frac{1}{l^2}=\alpha \frac{G_3}{2\pi l^2r}. \end{aligned}$$
(27)

By solving it we find

$$\begin{aligned} F (r)=\frac{r^2}{l^2}+\alpha \frac{ G_3r}{2\pi l^2} +C \end{aligned}$$
(28)

where C is the integral constant which is equal to \(-8MG_3\) as F(r) is equal to f(r) for \(\alpha \rightarrow 0\). Thus, the corrected metric of (15) is given by

$$\begin{aligned} \mathrm{d}s'^2= & {} -\left( \frac{r^2}{l^2}+\alpha \frac{ G_3r}{2\pi l^2} -8MG_3\right) \mathrm{d}t^2 \nonumber \\&+\left( \frac{r^2}{l^2} +\alpha \frac{ G_3r}{2\pi l^2} -8MG_3\right) ^{-1}\mathrm{d}r^2+r^2\mathrm{d}\theta ^2. \end{aligned}$$
(29)

Thus, the thermal fluctuations to the thermodynamics can give rise to quantum corrections to the metric in the Jacobson formalism. Furthermore, by considering the logarithmic corrections to the thermodynamics, we only analyze the first order corrections to the metric.

It would be interesting to study the corrected thermodynamics based on this quantum corrected metric. Even though \(\alpha \) is a constant, its value depends on the details of the approach. So, here we will analyze the corrected thermodynamics for different values of \(\alpha \). The corrected outer and inner horizons are given by

$$\begin{aligned} r'_{\pm } = \frac{\sqrt{G_3} \sqrt{\alpha ^2 G_3+128 \pi ^2 l^2 M}\pm \alpha G_3}{4 \pi }. \end{aligned}$$
(30)

Now using the formula for the temperature [46],

$$\begin{aligned} T= \frac{r^2_+-r^2_-}{2 \pi r_+}, \end{aligned}$$
(31)

the corrected temperature can be written as

$$\begin{aligned} T' =\frac{\sqrt{G_3} (\alpha ^2 G_3+64 \pi ^2 l^2 M)}{2 \pi ^2 (\sqrt{\alpha ^2 G+128 \pi ^2 l^2 M}-\alpha \sqrt{G_3})}. \end{aligned}$$
(32)

We may calculate the corrected entropy from the area law,

$$\begin{aligned} S' = 4 \pi r'_+ = \sqrt{G_3} \sqrt{\alpha ^2 G_3+128 \pi ^2 l^2 M}-\alpha G_3. \end{aligned}$$
(33)

We may also study the PV criticality from this corrected metric in the extended phase space [47]. So we can use the definition of the thermodynamics pressure,

$$\begin{aligned} P = \frac{T}{v}, \end{aligned}$$
(34)

with \( v= 2 ( V/ \pi )^{1/2}\), where V is the BTZ black hole volume, given by

$$\begin{aligned} V= 16 \pi r_+^2 = \frac{(\alpha G_3-\sqrt{G_3} \sqrt{\alpha ^2 G_3+128 \pi ^2 l^2 M})^2}{\pi }.\nonumber \\ \end{aligned}$$
(35)

Thus, the thermodynamics pressure is

$$\begin{aligned} P= \frac{\sqrt{G_3} (\alpha ^2 G_3+64 \pi ^2 l^2 M)}{4 \pi (\zeta -\alpha \sqrt{G}) \sqrt{(\alpha G_3-\sqrt{G_3} \, \zeta )^2}} \end{aligned}$$
(36)

with \( \zeta =\sqrt{\alpha ^2 G_3+128 \pi ^2 l^2 M}\).

Now we are able to calculate the Gibbs free energy \(G(T, l, \alpha )\), from the definition

$$\begin{aligned} G = M+PV -TS. \end{aligned}$$
(37)

The Gibbs free energy determines the critical behavior of the BTZ black hole; if \(G>0\) we say the black hole is critical. However, if \(G<0\), the black hole is not critical, and the saddle points of the \(G(M, \alpha ) \) plot indicate the phase transition. The explicit formula of the Gibbs free energy is given by

$$\begin{aligned} G= & {} -\frac{\alpha ^2 G_3^2}{2 \pi ^2}-32 G_3 l^2 M+M \nonumber \\&+ \, \frac{\sqrt{G_3} (\alpha ^2 G_3+64 \pi ^2 l^2 M) \sqrt{(\alpha G_3-\sqrt{G_3} \sqrt{\alpha ^2 G_3+128 \pi ^2 l^2 M})^2}}{4 \pi ^2 (\sqrt{\alpha ^2 G_3+128 \pi ^2 l^2 M}-\alpha \sqrt{G_3})}.\nonumber \\ \end{aligned}$$
(38)

As we can see from the plot of \( G(M,\alpha )\), for this black hole no critical phenomena exist, and the black hole always remains uncritical (as G remains less than zero).

It should be noted that as the thermal fluctuations increase we will have to include higher order corrections to this perturbative expansion [45]. However, near the Planck scale the temperature is expected to become sufficiently large to break this perturbative expansion, and at this stage the system cannot be analyzed as a perturbation around equilibrium temperature. This is expected as general relativity emerges from thermodynamics in the Jacobson formalism [23], and so we expect that thermal fluctuations will occur because of quantum fluctuations. It is also known that such logarithmic correction to the entropy are leading order corrections generated from various different approaches to quantum gravity [10,11,12,13,14,15,16,17,18,19,20,21,22]. Furthermore, we also expect that as the black hole will become small and its temperature increases, we have to consider higher order thermal corrections as seen from Fig. 1 [45], which will correspond to higher order quantum corrections in the Jacobson formalism [23]. However, near the Planck scale it is expected that the manifold description of the spacetime will break down, so we cannot analyze the system using a quantum correction to classical geometry [48, 49]. Similarly, it is expected that the equilibrium description of the thermodynamics will break down at the Planck scale, and we cannot analyze the system using thermal fluctuations to the equilibrium thermodynamics (Figs. 2 and 3).

Fig. 1
figure 1

A plot of the BTZ temperature and its mass for a fixed \( l=0.5\) in Planck units. Observe how quantum corrections lead to a significant increase of temperature at low masses (small scale). Here quantum fluctuations are expected to be most prominent

Fig. 2
figure 2

A plot of the BTZ entropy and its mass for a fixed \( l=0.5\) in Planck units. Quantum corrections are mainly relevant for small mass

Fig. 3
figure 3

A 3D plot of \(G( M, \alpha )\) of a quantum corrected BTZ black hole for a fixed \( l=0.5\). We observe that, for different masses and perturbation parameters, the BTZ black hole does not show any critical behavior, \( G<0\)

It would be interesting to analyze this connection between the breaking of the manifold structure of spacetime and the breaking of the equilibrium description of the thermodynamics. It might also be interesting to note that by using non-equilibrium thermodynamics, we might be able to analyze some purely quantum gravitational states of spacetime near the Planck scale. The effects of large fluctuations on the behavior of black holes has been studied [53], and it would be interesting to analyze such effects using the Jacobson formalism. However, in this paper, we have only analyzed the first order corrections to the equilibrium entropy from thermal fluctuations around an equilibrium. The important thing to note here is that just as general relativity can emerge from thermodynamics in the Jacobson formalism, quantum gravity can emerge from thermal fluctuations to the thermodynamics. Furthermore, it is just possible to analyze small quantum fluctuations to the geometry by analyzing small thermal fluctuations to the metric. However, at the Planck scale, just as we expect a manifold description to spacetime to break down, we also expect the equilibrium discretion to the thermodynamics to break down. We would like to point out that such thermal fluctuations have been studied for various kinds of dynamical black objects [33,34,35,36,37,38,39,40,41,42]. It would be interesting to analyze the effects of such thermal fluctuations on the spacetime metric using the formalism developed in this paper. The black hole thermodynamics for time dependent Vaidya black holes has also been studied [54,55,56,57]. It would be interesting to analyze the thermal fluctuations for such black holes, and then use the formalism of this paper to obtain the corrected quantum corrected metric for Vaidya black holes.