1 Introduction

The black hole entropy is obtained by the famous formula \(S = A/4\), where A denotes the area of the event horizon [1]. This is the maximum entropy contained by any object of the same volume [2, 3]. It may be noted that a maximum entropy has to be associated with the black holes to prevent the violation of the second law of thermodynamics [4, 5]. The reason is that, if a black hole did not have any entropy, then the entropy of the universe would spontaneous reduce when any object crosses the horizon. The observation that the entropy of a black hole scales with its area has led to the development of the holographic principle [6, 7]. This principle equates the degrees of freedom in a region of space with the degrees of freedom on the boundary of that region.

Even though the holographic principle is expected to hold for large regions of space, it is expected to get violated near the Planck scale [8, 9]. This violation of the holographic principle occurs due to the quantum fluctuations in the geometry of space-time. As these quantum fluctuations are expected to dominate the geometry of space-time near the Planck scale, it is expected that the holographic principle will be violated near the Planck scale. Thus, the relation between the area and entropy of a black hole is also expected to get modified near the Planck scale. In fact, the quantum fluctuations in the geometry of the black hole will lead to the thermal fluctuations in the black hole thermodynamics [10, 11]. It will be possible to neglect these thermal fluctuations for the large black holes. However, as the black holes are reduced in size due to the radiation of the Hawking radiation, the quantum fluctuations in the geometry of the black hole will increase. Thus, the thermal fluctuations will start to modify the thermodynamics of the black holes as the black holes are reduced in size. It is possible to calculate the correction terms generated from such thermal fluctuations. The correction terms generated from these thermal fluctuations are logarithmic functions of the original thermodynamical quantities.

The corrections to the black hole thermodynamics have been obtained using the density of microstates for asymptotically flat black holes [12]. This was done by using a formalism called non-perturbative quantum general relativity. In this formalism, the density of states for a black hole was associated with the conformal blocks of a well-defined conformal field theory. It was demonstrated that even though the leading order relation between the entropy and area of a black hole is the standard Bekenstein entropy–area relation, this formalism also generated logarithmic corrections terms to the standard Bekenstein entropy–area relation. It has also been demonstrated using the Cardy formula that the logarithmic correction terms are generated for all black holes whose microscopic degrees of freedom are described by a conformal field theory [13]. Matter fields have been studied in the presence of a black hole, and this analysis has also generated logarithmic correction terms for the Bekenstein entropy–area formula [1416]. The logarithmic correction terms are also generated from string theoretical effects [1720]. The corrections term for the entropy of a dilatonic black holes has been calculated [21]. It was found that this correction term is again a logarithmic functions of the original thermodynamic quantities. Such correction terms have also been generated using a Rademacher expansion of the partition function [22]. Therefore, it seems that such logarithmic corrections terms occur almost universally.

The singularity at the center of black holes indicates a breakdown of general theory of relativity, as it cannot be gauged away by coordinate transformations. However, it is possible to construct black holes which are regular and do not contain a singularity at the center. The Hayward black hole is an example of such a regular black hole as it does not contain a singularity at the center [23, 24]. These black holes have been analyzed using various modifications of the Chaplygin gas formalism [2531]. The motion of a particle in the background of a Hayward black hole also has been discussed [32]. The massive scalar quasinormal modes of the Hayward black hole have been studied [33]. In fact, the one-loop quantum corrections to the Newton potential for these regular black holes has been calculated in [34]. Recently, the accretion of fluid flow around the modified Hayward black hole have been analyzed [35]. The acceleration of particles in presence of a rotating modified Hayward black hole has also been investigated [36]. In this paper, we will analyze the effects of thermal fluctuations on thermodynamics of a modified Hayward black hole.

2 Modified Hayward black hole

The most general spherically symmetric, static line element describing modified Hayward black hole can be written as [34, 35]

$$\begin{aligned} \mathrm{d}s^{2}=-f(r)B(r)\mathrm{d}t^{2}+\frac{\mathrm{d}r^{2}}{B(r)}+r^{2}\mathrm{d}\Omega ^{2}, \end{aligned}$$
(1)

where

$$\begin{aligned} \mathrm{d}\Omega ^{2}=\mathrm{d}\theta ^{2}+\sin ^{2}\theta \mathrm{d}\phi ^{2}, \end{aligned}$$
(2)

with

$$\begin{aligned} B(r)= & {} 1-\frac{2Mr^{2}}{r^{3}+2Ml^2},\nonumber \\ f(r)= & {} 1-\frac{\alpha \beta M}{\alpha r^{3}+\beta M}, \end{aligned}$$
(3)

where M is the black hole mass, l is the Hubble length, which is related to the cosmological constant, \(\alpha \) is a positive constant, and \(\beta \) is related with the cosmological constant [37]. In Ref. [35] it is found that \(\alpha >1\). We will find lower bounds for both \(\alpha \) and \(\beta \) using the thermodynamics description.

The radius of the horizon of the black hole can be found by the real positive root of the following equation:

$$\begin{aligned} r_{+}^{3}-2Mr_{+}^{2}+2Ml^{2}=0. \end{aligned}$$
(4)

So, one can obtain the black hole mass in terms of the horizon radius as follows:

$$\begin{aligned} M=\frac{r_{+}^{3}}{2(r_{+}^{2}-l^{2})}, \end{aligned}$$
(5)

which implies that \(r_{+}^{2}>l^{2}\). For simplicity we set \(l=1\). Then Eq. (4) has a solution as follows:

$$\begin{aligned} r_{+}=\frac{X}{3}+\frac{4M^{2}}{3X}+\frac{2}{3}M, \end{aligned}$$
(6)

where

$$\begin{aligned} X\equiv \left( 8M^{3}-27M+3\sqrt{81M^{2}-48M^{4}}\right) ^{\frac{1}{3}}, \end{aligned}$$
(7)

which gives an upper bound for the black hole mass,

$$\begin{aligned} M\le \frac{3\sqrt{3}}{4}. \end{aligned}$$
(8)

For the special case of \(M=\frac{3\sqrt{3}}{4}\), where \(X=2M\), the event radius of the horizon reduces to \(r_{+}=2M=\frac{3\sqrt{3}}{2}\).

An important thermodynamical quantity is the entropy which is related to the black hole horizon area,

$$\begin{aligned} S_{0}=\pi r_{+}^{2} \end{aligned}$$
(9)

Also, volume of the black hole is given by

$$\begin{aligned} V=\frac{4}{3}\pi r_{+}^{3}. \end{aligned}$$
(10)

The temperature of modified Hayward black hole can be written

$$\begin{aligned} T= & {} \left[ \frac{1}{4\pi }\sqrt{-g^{tt}g^{rr}}~\frac{\mathrm{d}}{\mathrm{d}r}g_{tt} \right] _{r=r_{+}}\nonumber \\= & {} \frac{1}{4\pi }\frac{r_{+}^{3}-4M}{2Mr_{+}^{3}}\sqrt{1-\frac{\alpha \beta M}{\alpha r_{+}^{3}+\beta M}}, \end{aligned}$$
(11)

where the black hole mass M is given by Eq. (5) and black hole radius of the horizon is given by Eq. (6). Therefore, we can investigate the thermodynamics of a black hole in terms of either the black hole mass or the radius associated with the event horizon. Now, the temperature of the black hole can be simplified to another form:

$$\begin{aligned} T=\frac{r_{+}^{2}-3}{4\pi r_{+}^{3}}\sqrt{\frac{2\alpha r_{+}^{2}-\alpha \beta -2\alpha +\beta }{2\alpha r_{+}^{2} -2\alpha +\beta }}. \end{aligned}$$
(12)

There are two conditions to have a real positive temperature,

$$\begin{aligned} r_{+}^{2}\ge & {} 3,\nonumber \\ r_{+}^{2}\ge & {} \frac{\alpha \beta +2\alpha -\beta }{2\alpha }. \end{aligned}$$
(13)

The two conditions are satisfied simultaneously if we have

$$\begin{aligned} \beta \left( 1-\frac{1}{\alpha }\right) \ge 4. \end{aligned}$$
(14)

It shows that \(\alpha >1\) is necessary to have positive \(\beta \), as illustrated by Ref. [35]. If we assume integer values for \(\alpha \) and \(\beta \), quickly we find \(\beta \ge 8\). Therefore, \(\alpha =2\) and \(\beta =8\) correspond to the zero-temperature limit, and both conditions of (13) are the same. The case of \(\beta =0\) yields the ordinary Hayward black hole [23], with the temperature given by

$$\begin{aligned} T=\frac{r_{+}^{2}-3}{4\pi r_{+}^{3}}, \end{aligned}$$
(15)

which reduces to \(T=1/4\pi r_{+}\) for large values of the horizon radius (asymptotic behavior). The pressure can be obtained by

$$\begin{aligned} P=\frac{T}{2r_{+}}. \end{aligned}$$
(16)

It is interesting to investigate the first law of thermodynamics [38, 39],

$$\begin{aligned} \mathrm{d}M=T\mathrm{d}S+V\mathrm{d}P+\ldots ; \end{aligned}$$
(17)

other terms correspond to the black hole rotation and charge which are absent in our model. It is easy to check that Eq. (17) is violated. In order for the thermodynamic quantities to satisfy the above relation, we have two solutions: the first is to add a rotation or a charge to the black hole, the second is consideration of a logarithmic correction.

3 Logarithmic correction

It is possible to calculate the effect of thermal fluctuations on the thermodynamics of a modified Hayward black hole. One can write the partition function of the system

$$\begin{aligned} Z = \int D g D A e^{- I}, \end{aligned}$$
(18)

where \(I \rightarrow -i I\) is the Euclidean action for this system [40]. It is possible to relate it to the partition function in statistical mechanical terms by

$$\begin{aligned} Z = \int _0^\infty \mathrm{d}E \, \, \rho (E) \mathrm{e}^{-\beta _{\kappa } E}, \end{aligned}$$
(19)

where \(\beta _{\kappa }\) is the inverse of the temperature. The partition function can be used to calculate the density of states,

$$\begin{aligned} \rho (E) = \frac{1}{2 \pi i} \int ^{\beta _{0\kappa }+ i\infty }_{\beta _{0\kappa } - i\infty } \mathrm{d} \beta _{\kappa } \, \, \mathrm{e} ^{S(\beta _{\kappa })}, \end{aligned}$$
(20)

where

$$\begin{aligned} S = \beta _{\kappa } E + \ln Z. \end{aligned}$$
(21)

The entropy around the equilibrium temperature \(\beta _{0\kappa }\) can be obtained by neglecting all the thermal fluctuations. However, if thermal fluctuations are taken into account, then \(S(\beta _{\kappa })\) can be written as

$$\begin{aligned} S = S_0 + \frac{1}{2}(\beta _{\kappa } - \beta _{0\kappa })^2 \left( \frac{\partial ^2 S(\beta _{\kappa })}{\partial \beta _{\kappa }^2 }\right) _{\beta _{\kappa } = \beta _{0\kappa }}. \end{aligned}$$
(22)

So, the density of states can be written as

$$\begin{aligned} \rho (E)= & {} \frac{\mathrm{e}^{S_0}}{ 2 \pi i} \int ^{\beta _{0\kappa }+ i\infty }_{\beta _{0\kappa } - i\infty } \mathrm{d} \beta _{\kappa } \, \, \exp \bigg ( \frac{1}{2} (\beta _{\kappa }- \beta _{0\kappa })^2\nonumber \\&\times \bigg (\frac{\partial ^2 S(\beta _{\kappa })}{\partial \beta _{0\kappa }^2 }\bigg )_{\beta _{\kappa } = \beta _{0\kappa }} \bigg ). \end{aligned}$$
(23)

Thus, we obtain

$$\begin{aligned} \rho (E) = \frac{\mathrm{e} ^{S_{0}}}{\sqrt{2 \pi }} \left[ \left( \frac{\partial ^2 S(\beta _{\kappa })}{\partial \beta _{\kappa }^2 }\right) _{\beta _{\kappa } = \beta _{0\kappa }}\right] ^{1/2}. \end{aligned}$$
(24)

So, we can write

$$\begin{aligned} S = S_0 -\frac{1}{2} \ln \left[ \left( \frac{\partial ^2 S(\beta _{\kappa })}{\partial \beta _{\kappa }^2 }\right) _{\beta _{\kappa } = \beta _{0\kappa }}\right] ^{1/2}. \end{aligned}$$
(25)

This expression can be simplified using the relation between the microscopic degrees of freedom of a black hole and conformal field theory. This is because, using this relation, the entropy can be assumed to have the form \(S = a_{1} \beta _{\kappa }^m + a_{2} \beta _{\kappa }^{-n }\), where \( a_{1}, a_{2}, m, n \) are positive constants [13]. This has an extremum at \(\beta _{0\kappa } = (na_{2}/ma_{1})^{1/ m+n} = T^{-1}\) and so we can expand the entropy around this extremum,

$$\begin{aligned} S(\beta _{\kappa })= & {} \left[ (n/m)^{m/(m+n)} + (m/n)^{n/(m+n)} \right] (a_{1}^n a_{2}^m)^{1/(m+n)}\nonumber \\&+ \frac{1}{2}\left[ (m+n) m^{(n+2)/(m+n)} n^{(m-2)/(m+n)}\right] \nonumber \\&\times ( a_{1}^{n+2}a_{2}^{m-2})^{{1}/(m+n)}\times (\beta _{\kappa } - \beta _{0\kappa })^2. \end{aligned}$$
(26)

Now we can write

$$\begin{aligned}&S_0 = (n/m)^{m/(m+n)} + (m/n)^{n/(m+n)} (a_{1}^n a_{2}^m)^{{1}/(m+n)}, \nonumber \\&\left( \frac{\partial ^2 S(\beta _{\kappa })}{\partial \beta _{\kappa }^2 }\right) _{\beta _{\kappa } = \beta _{0\kappa }} = (m+n) m^{(n+2)/(m+n)} n^{(m-2)/(m+n)} \nonumber \\&\quad \times \left( a_{1}^{n+2}a_{2}^{m-2}\right) ^{1/(m+n)}. \end{aligned}$$
(27)

It is possible to solve for \(a_{1}, a_{2}\) and express the entropy as

$$\begin{aligned} \left( \frac{\partial ^2 S(\beta _{\kappa })}{\partial \beta _{\kappa }^2 }\right) _{\beta _{\kappa } = \beta _{0\kappa }} = \mathcal {Y} S_0 T^2~, \end{aligned}$$
(28)

where

$$\begin{aligned} \mathcal {Y}= & {} \bigg [ \bigg (\frac{(m+n) m^{(n+2)/(m+n)} n^{(m-2)/(m+n)}}{(n/m)^{m/(m+n)} + (m/n)^{n/(m+n)} } \bigg )\nonumber \\&\times \left( \frac{n}{m} \right) ^{2/(m+n)} \bigg ]. \end{aligned}$$
(29)

However, the factor \(\mathcal {Y}\) can be absorbed using a redefinition, as it does not depend on the black hole parameters [10, 11]. Thus, we can write

$$\begin{aligned} \left( \frac{\partial ^2 S(\beta _{\kappa })}{\partial \beta _{\kappa }^2 }\right) _{\beta _{\kappa } = \beta _{0\kappa }} = S_0 \beta _{0\kappa }^{-2}. \end{aligned}$$
(30)

So, the corrected value of the entropy can be written as

$$\begin{aligned} S=S_{0}-\frac{1}{2}\ln {S_{0}T^{2}}. \end{aligned}$$
(31)

We can write a general expression for the entropy as

$$\begin{aligned} S=S_{0}-\frac{b}{2}\ln {S_{0}T^{2}}, \end{aligned}$$
(32)

where we introduced a parameter b by hand to track the corrected terms, so in the limit \(b\rightarrow 0\), the original results can be recovered and \(b=1\) yields the usual corrections [11]. By using the temperature and entropy given by Eqs. (11) and (9), respectively, we can obtain the following corrected entropy:

$$\begin{aligned} S=\pi r_{+}^{2}-\frac{b}{2}\ln \left[ \frac{(r_{+}^{2}{-}3)^{2}(2\alpha r_{+}^{2}{-}\alpha \beta {-}2\alpha {+}\beta )}{16\pi r_{+}^{4}(2\alpha r_{+}^{2}-2\alpha +\beta )}\right] . \quad \end{aligned}$$
(33)

It is clear that the logarithmic correction reduces the entropy of the black hole. We can obtain the entropy at zero-temperature using the appropriate choice of \(\alpha \) and \(\beta \) (\(\alpha =2\) and \(\beta =8\)),

$$\begin{aligned} S(T=0)=\pi r_{+}^{2}-\frac{b}{2}\ln \sqrt{\frac{(r_{+}^{2}-3)^{3}}{16\pi r_{+}^{4}(r_{+}^{2}+1)}}. \end{aligned}$$
(34)

As we mentioned already, both zero-temperature conditions (13) are the same for \(\alpha =2\) and \(\beta =8\). So, \(r_{+}=\sqrt{3}\) is the zero-temperature condition where the entropy (34) becomes infinite. The fact is that at the zero-temperature limit, thermal fluctuations vanish and we should set \(b=0\). It is clear from Eq. (32); at the zero-temperature limit we have \(S(T=0)=3\pi \).

We can calculate the pressure using Eqs. (9), (10), (11), and the following relation:

$$\begin{aligned} P=T\left( \frac{\partial S}{\partial V}\right) _{V}. \end{aligned}$$
(35)

In Fig. 1, we analyze the behavior of the pressure for various values of parameters. Comparing the dashed line and the dotted line, we can find that the logarithmic correction decreases the pressure. Using the higher values for the black hole mass from Eq. (8), we find a zero pressure around the black hole horizon. Higher values of the mass yield a negative pressure. For all cases with \(M<\frac{3\sqrt{3}}{4}\), we can see a positive pressure, which yields zero as \(M\rightarrow 0\); it is clearly expected that a vanishing black hole has no thermodynamical pressure.

Fig. 1
figure 1

Pressure versus radius of the horizon with \(\alpha =2\). \(b=1\), \(\beta =10\) (dashed line); \(b=1\), \(\beta =0\) (solid line); \(b=0\), \(\beta =10\) (dotted line); \(b=1\), \(\beta =8\) (dash dotted line)

Then, using the well-known relation

$$\begin{aligned} E=\int {T \mathrm{d}S}, \end{aligned}$$
(36)

we can obtain the internal energy, which decreased dramatically due to the logarithmic corrections. It may be noted that T and S can be used to obtain the specific heat at constant volume,

$$\begin{aligned} C_{v}=\left( T\frac{\partial S}{\partial T}\right) _{V}. \end{aligned}$$
(37)

Calculation of P and E helps us to obtain the specific heat at constant pressure,

$$\begin{aligned} C_{p}=\left( \frac{\partial (E+PV)}{\partial T}\right) _{P}. \end{aligned}$$
(38)

So, we can investigate \(\gamma =C_{p}/C_{v}\) numerically. By Fig. 2 it is illustrated that, for a large horizon radius, \(\gamma \rightarrow 0.5\). We find that the value of \(\gamma \) increases due to the logarithmic corrected entropy.

Fig. 2
figure 2

\(\gamma \) in terms of the radius of the horizon with \(\alpha =2\). \(b=1\), \(\beta =10\) (dashed line); \(b=1\), \(\beta =0\) (solid line); \(b=0\), \(\beta =10\) (dotted line); \(b=1\), \(\beta =8\) (dash dotted line)

Now, in order to investigate the first law of thermodynamics we rewrite Eq. (17) as follows:

$$\begin{aligned} X=Y, \end{aligned}$$
(39)

where \(X\equiv \mathrm{d}M-T\mathrm{d}S\) and \(Y\equiv V\mathrm{d}P\). Then we give plots of X and Y in terms of the radius of a black hole horizon in Fig. 3. We draw three curves corresponding to each of \(X(\alpha ,\beta )\) and \(Y(\alpha ,\beta )\). We see that, at least, there are two points where the first law of thermodynamics is satisfied. For cross points of the red (solid) and blue (dashed) curves \(X=Y\), which means validity of the relation (17). Therefore, we can say that the first law of thermodynamics may also be valid for the modified Hayward black hole. There are some special cases with a suitable radius of the horizon where the first law of thermodynamics is satisfied.

Fig. 3
figure 3

X (solid red) and Y (dashed blue) in terms of \(r_{+}\) with \(b=1\) for various values of \(\alpha =2,3,4\) and \(\beta =8,10,20\)

4 Phase transition

One of the best ways to find an instability of a black hole is to study the sign of the specific heat given by Eq. (37). The black hole is stable for \(C_{v}>0\), while it is unstable for \(C_{v}<0\). Therefore, \(C_{v}=0\) shows the point of the phase transition. It is easy to write the specific heat at constant volume as follows:

$$\begin{aligned} C_{v}=\frac{A_{1}r_{+}^{8}+A_{2}r_{+}^{6}+A_{3}r_{+}^{4}+A_{4}r_{+}^{2} +A_{5}}{A_{6}r_{+}^{6}+A_{7}r_{+}^{4}+A_{8}r_{+}^{2}+A_{9}}, \end{aligned}$$
(40)

where

$$\begin{aligned} A_{1}= & {} 8\pi \alpha ^{2},\nonumber \\ A_{2}= & {} 4\pi \alpha (2\beta -10\alpha -\alpha \beta ),\nonumber \\ A_{3}= & {} 16\pi \beta \alpha ^{2}-2\pi \alpha \beta ^{2}-2b\beta \alpha ^{2}\nonumber \\&+56\pi \alpha ^{2} -32\pi \alpha \beta +2\pi \beta ^{2}-24b\alpha ^{2},\nonumber \\ A_{4}= & {} 6\pi \alpha \beta ^{2}-12\pi \beta \alpha ^{2}+18b\beta \alpha ^{2} -24\pi \alpha ^{2}\nonumber \\&+24\pi \alpha \beta -6\pi \beta ^{2}+48b\alpha ^{2}-24b\alpha \beta ,\nonumber \\ A_{5}= & {} 6b\alpha \beta ^{2}-12b\beta \alpha ^{2}-24b\alpha ^{2}+24b\alpha \beta -6b\beta ^{2},\nonumber \\ A_{6}= & {} -4\alpha ^{2},\nonumber \\ A_{7}= & {} 4\alpha (\alpha \beta +11\alpha -\beta ),\nonumber \\ A_{8}= & {} \alpha \beta ^{2}-26\beta \alpha ^{2}-76\alpha ^{2}+40\alpha \beta -\beta ^{2},\nonumber \\ A_{9}= & {} 18\beta \alpha ^{2}-9\alpha \beta ^{2}+36\alpha ^{2}-36\alpha \beta +9\beta ^{2}. \end{aligned}$$
(41)
Fig. 4
figure 4

Specific heat at constant volume in terms of the radius of the horizon with \(\alpha =2\). \(b=1\), \(\beta =10\) (dashed line); \(b=1\), \(\beta =0\) (solid line); \(b=0\), \(\beta =10\) (dotted line); \(b=1\), \(\beta =8\) (dash dotted line)

We give a graphical analysis of the specific heat as illustrated in Fig. 4. We can demonstrate that the various cases of the black hole may be stable for the case of \(r_{+}\ge \sqrt{3}\). It is clear that the modified Hayward black hole with the logarithmic correction of the entropy is stable for \(r_{+}\ge 1.9\). Therefore, we can say that the modified Hayward black hole is stable for \(r_{+}\ge r_{c}\), where \(r_{c}\) is critical value (minimum value) for the radius of the event horizon. It may be related to the minimum mass required for the formation of the Hayward black hole [41]. At the zero-temperature limit, where the logarithmic correction vanishes we have \(r_{+}=r_{c}=\sqrt{3}\).

5 Conclusions

In this work, we have studied the spherically symmetric, static modified Hayward black hole. The entropy, temperature, and pressure have been calculated and we found some restrictions on the parameters \(\alpha \) and \(\beta \). Next, we have analyzed the effects of the thermal fluctuations on the thermodynamics of a Hayward black hole. Using the zero-temperature limit of the black hole, we have obtained the bounds \(\alpha \ge 2\) and \(\beta \ge 8\). Here, the equality holds only in the zero-temperature limit. We have also analyzed the logarithmic correction to the entropy and obtained the behaviors of the pressure and specific heats numerically. We found that the value of the pressure and internal energy were reduced due to these logarithmic corrections. We also studied the phase transition for the modified Hayward black hole, and we obtained the critical point for such a phase transition. We also demonstrated that the first law of thermodynamics is satisfied for the modified Hayward black hole, even in the presence of thermal fluctuations. It may be noted that the thermodynamics of black holes also gets modified because of the generalized uncertainty principle [42, 43]. Such correction terms are non-trivial, and they may lead to interesting consequences, like the existence of black hole remnants. It would be interesting to analyze the corrections to the thermodynamics of a regular Hayward black hole from the generalized uncertainty principle.