1 Introduction

In General Relativity, the black hole solutions display a curvature singularity at the origin surrounded by an event horizon [1]. The presence of this curvature singularity is usually regarded as a sign of the breakdown of the classical gravity. It is widely believed that at the (very) short distances quantum gravity should become important to suppress the infinite growth of the spacetime curvature scalars and other physical quantities. And, thus the curvature singularity would be replaced by a regular spacetime region. However, so far there has no a consistent quantum theory of gravity. In the absence of such a theory, the resolution of the black hole singularity at the (semi-)classical level remains open.

In attempting to eliminate the problem of infinite energy of the electron, Born and Infeld proposed the non-linear electrodynamics as modifying the standard Maxwell theory at the short distances [2]. But, the non-linear electrodynamics did not solve this problem and thus was less popular. In recent years, the non-linear electrodynamics has received considerable attention because it leads to the regular black hole solutions. In 1998, Ayón-Beato and García studied a system of Einstein gravity coupled to a non-linear electromagnetic field in asymptotically flat spacetime and derived a regular electric-charged black hole solution [3]. Also, they reobtained the Bardeen black hole [4], which is regular, as a gravitational collapse of some magnetic monopole in the non-linear electrodynamics [5]. Later, many different regular black hole solutions in the non-linear electrodynamics have been derived [6,7,8,9,10,11,12,13,14,15,16,17].

Astronomical observations show that our universe is undergoing accelerated expansion [18,19,20]. This accelerating expansion may be explained by unknown dark energy. There are various proposed explanations for dark energy, but a positive cosmological constant is usually considered as the simplest explanation for dark energy. Because of this fact, it is necessary to consider the black hole by including the positive cosmological constant, corresponding to the black hole in the de Sitter (dS) spacetime [21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43, 45, 89].

Another interesting aspect of the black hole is that it behaves as a thermodynamic object with the temperature and the entropy. The seminal works of the black hole thermodynamics were made by Bekenstein and Hawking [46,47,48,49,50]. Also, it was found that the black holes can undergo the phase transitions, such as the Hawking–Page phase [51] or the phase transition between small-large black charged holes [52,53,54]. Recently, the cosmological constant \(\Lambda \) can be considered as the thermodynamic pressure defined as

$$\begin{aligned} P=-\frac{\Lambda }{8\pi }, \end{aligned}$$
(1)

and its conjugate variable is the thermodynamic volume V [55,56,57,58,59]. This leads to an extended phase space at which the black hole mass is most naturally interpreted as the enthalpy [56]. Then, the thermodynamics and phase transitions of black holes in the extended phase space have been studied extensively in the literature, with new phenomena derived. The black hole can undergo the van der Waals-like phase transition which is similar to the liquid-gas phase transition [60,61,62,63,64,65,66,67,68,69]. It was found that the black holes shows multiply reentrant phase transition and triple points [70,71,72]. It is also possible to consider a Carnot-cycle heat engine for the black hole, which is defined by a closed path in the PV plane [73,74,75,76,77,78,79,80,81].

In this paper, motivated by the pioneering work of Ayón-Beato and García and the astrophysical observations of dark energy, we would like to study the charged dS black hole in the non-linear electrodynamics. We will introduce a system of Einstein gravity coupled to a non-linear electromagnetic field in the dS spacetime. Then, we successfully construct a static and spherical symmetric non-linear magnetic-charged black hole and study the large and short distance behaviors as well as the horizon properties of this black hole. These are given in Sect. 2. The thermodynamics and the phase transition of the black hole are investigated, in both the local and global views, in Sect. 3. Finally, we make the conclusion in Sect. 4.

2 Non-linear magnetic-charged black hole in the \(\text {d}\)S spacetime

Einstein gravity coupled to the non-linear electromagnetic field in the four-dimensional dS spacetime is described by the action

$$\begin{aligned} S=\int d^4x\sqrt{-g}\left[ \frac{1}{16\pi }\left( R-\frac{\Lambda }{2}\right) -\frac{1}{4\pi }\mathcal {L}(F)\right] , \end{aligned}$$
(2)

where R is the scalar curvature of the dS spacetime, \(\Lambda \) is the positive cosmological constant, and \(\mathcal {L}(F)\) is a function of the invariant \(F_{\mu \nu }F^{\mu \nu }/4\equiv F\) with \(F_{\mu \nu }=\partial _\mu A_\nu -\partial _\nu A_\mu \) to be the field strength of the non-linear electromagnetic field. In this paper, the non-linear electrodynamic term \(\mathcal {L}(F)\) is explicitly given as

$$\begin{aligned} \mathcal {L}(F)=\frac{3M}{|Q|^3}\frac{\big (2Q^2F\big )^{3/2}}{\left[ 1+\big (2Q^2F\big )^{3/4}\right] ^2}, \end{aligned}$$
(3)

where M and Q are mass and charge of the system, respectively. From the action, one can derive the equations of motion

$$\begin{aligned}&G^\nu _\mu +\Lambda \delta ^\nu _\mu =2\frac{\partial \mathcal {L}(F)}{\partial F}F_{\mu \rho }F^{\nu \rho }-\delta ^\nu _\mu \mathcal {L}(F), \end{aligned}$$
(4)
$$\begin{aligned}&\nabla _\mu \left( \frac{\partial \mathcal {L}(F)}{\partial F}F^{\nu \mu }\right) =0, \end{aligned}$$
(5)
$$\begin{aligned}&\nabla _\mu *F^{\nu \mu }=0. \end{aligned}$$
(6)

Note that, Eq. (6) refers to the Bianchi identities for the non-linear electromagnetic field.

In this paper, we would like to find a static and spherical symmetric dS black hole of the mass M and the magnetic charge Q (\(>0\)), given by ansatz

$$\begin{aligned} ds^2= & {} -f(r)dt^2+f(r)^{-1}dr^2+r^2d\Omega ^2,\nonumber \\ f(r)= & {} \left( 1-\frac{2m(r)}{r}\right) , \end{aligned}$$
(7)
$$\begin{aligned} F_{\mu \nu }= & {} \left( \delta ^\theta _\mu \delta ^\varphi _\nu -\delta ^\theta _\nu \delta ^\varphi _\mu \right) B(r,\theta ), \end{aligned}$$
(8)

where the magnetic charge Q is defined as

$$\begin{aligned} \frac{1}{4\pi }\int _{S^\infty _2} {{\varvec{F}}}=Q, \end{aligned}$$
(9)

with \(S^\infty _2\) to be a two-sphere at the infinity. Note that, M and Q are two integral constants which should be used to integrate Eqs. (4) and (5). From Eqs. (5), (6) and (9), one can easily derive

$$\begin{aligned} B(r,\theta )=Qsin(\theta ), \quad \longrightarrow \quad F=\frac{Q^2}{2r^4}. \end{aligned}$$
(10)

Using this result, one can derive the only time component of Eq. (4) as

$$\begin{aligned} \frac{dm(r)}{dr}-\frac{\Lambda r^2}{2}=\frac{Mr^2}{r^3+Q^3}. \end{aligned}$$
(11)

Integrating Eq. (11) with the integral constant \(M=\left( m(r)-\frac{\Lambda r^3}{6}\right) _{r\rightarrow \infty }\), then substituting m(r) into f(r), we finally get

$$\begin{aligned} f(r)=1-\frac{2Mr^2}{r^3+Q^3}-\frac{\Lambda r^2}{3}. \end{aligned}$$
(12)

In the case \(\Lambda =0\), we can obtain the Hayward-like black hole [12].

Let us look at the behavior of the black hole solution, derived above, at the large and short distances. For the large distances (\(Q/r\ll 1\)), we have

$$\begin{aligned} f(r)\simeq 1-\frac{2M}{r}-\frac{\Lambda r^2}{3}, \end{aligned}$$
(13)

corresponding to the Schwarzschild-dS black hole. For the small distances (\(Q/r\gg 1\)), we have

$$\begin{aligned} f(r)\simeq 1-\left( \frac{2M}{Q^3}+\frac{\Lambda }{3}\right) r^2. \end{aligned}$$
(14)

It means that the black hole solution at the small distance behaves like a dS geometry with an effective cosmological constant

$$\begin{aligned} \Lambda _{\text {eff}}=3\left( \frac{2M}{Q^3}+\frac{\Lambda }{3}\right) , \end{aligned}$$
(15)

rather than like a black hole solution. This means that the dS geometry causes a negative pressure preventing a singular end-state of the gravitationally collapsed matter. In this sense, the black hole solution is regular. This can be checked by calculating the curvature scalars, R, \(R_{\mu \nu }R^{\mu \nu }\), and \(R_{\mu \nu \rho \lambda }R^{\mu \nu \rho \lambda }\) which are indeed finite everywhere.

Fig. 1
figure 1

The mass function M(r) is plotted in terms of the horizon radius r, at \(Q=1\) and \(\Lambda =1/10\). The black lines (\(M=0.8\) and \(M=1.3\)) correspond to no black hole. The purple line (\(M=1.0\)) corresponds to a black hole of three different horizons. The red and green line (\(M\simeq 1.1\) and \(M\simeq 0.9\)) corresponds to black holes whose two of three horizons coincide together

The relation between the black hole mass M and its horizon radius is established from the equation of the horizons \(f(r)=0\) as

$$\begin{aligned} M=\frac{r^3+Q^3}{2r^2}\left( 1-\frac{\Lambda r^2}{3}\right) . \end{aligned}$$
(16)

We can see that the black hole mass curve in the horizon radius shows one common property

$$\begin{aligned} M(r\rightarrow 0)\rightarrow \infty \quad \text {and}\quad M(r\rightarrow \infty )\rightarrow -\infty . \end{aligned}$$
(17)

In addition, for the appropriate values of the magnetic charge Q and the cosmological constant \(\Lambda \), the black hole mass curve displays one local minimum following one local maximum which both are located above the horizontal axis. These suggest that the black hole possesses possibly the inner horizon \(r_-\), the event horizon \(r_+\) (\(\geqslant r_-\)) and the cosmological horizon \(r_c\) (\(\geqslant r_+\)). (The cases of black holes and no black hole are explicitly given in Fig. 1.) When the local minimum and local maximum points of the black hole mass curve merge into an inflexion point, these three horizons coincide together. In this case, the hole black is called the ultracold black hole whose horizon radius and mass are, with given magnetic charge Q, given as

$$\begin{aligned} r_{ucold}=5^{1/3}Q,\quad M_{ucold}=\frac{12 Q}{5^{5/3}}, \end{aligned}$$
(18)

corresponding to a critical value for the cosmological constant

$$\begin{aligned} \Lambda =\frac{3}{5^{5/3}Q^2}\equiv \Lambda _c. \end{aligned}$$
(19)

We can see here that the ultracold black hole of the larger magnetic charge has larger horizon radius and larger mass but the critical value for the cosmological constant is smaller. For \(\Lambda >\Lambda _c\), there exists no black hole with any mass. (Note that, the critical value of the cosmological constant for the existence of the non-linear charged dS black hole is lower than that for the existence of the usual charged dS black hole. This is of course because the magnetic repulsion in the non-linear electrodynamics is stronger than the magnetic repulsion in the usual electrodynamics.) On the contrary, for \(\Lambda <\Lambda _c\), there exist black holes only for a range of values of the mass, \(M\in [M_{\text {min}},M_{\text {max}}]\), where \(M_{\text {min}}\) and \(M_{\text {max}}\) are functions in terms of the magnetic charge Q and the cosmological constant \(\Lambda \). As \(M=M_{\text {max}}\) the event horizon \(r_+\) and the cosmological horizon \(r_c\) coincide together, and such a black hole is called the Nariai black hole whose event horizon radius \(r_N\) is the largest positive real solution of the following equation

$$\begin{aligned} \Lambda r^5-r^3+2Q^3=0. \end{aligned}$$
(20)

The event horizon radius \(r_N\) of the Nariai black hole and its corresponding mass, as functions in terms of the cosmological constant at the fixed magnetic charge, are graphically given in Figs. 2 and 3, respectively. From these figures, it can see that both the event horizon radius and the mass of the Nariai black hole should decrease as the cosmological constant increases. As \(M=M_{\text {min}}\) the inner horizon \(r_-\) and the event horizon \(r_+\) coincide together, and such a black hole is called the cold black hole whose event horizon radius \(r_{cold}\) is the remaining positive real solution of Eq. (20). [Note that, it can see that, for \(0<\Lambda <\Lambda _c\), Eq. (20) has always two different positive real solutions.] We plot the event horizon radius \(r_{cold}\) of the cold black hole and its corresponding mass in terms of the cosmological constant at the fixed magnetic charge in Figs. 2 and 3, respectively. From these figures, it can see that the event horizon radius of the cold black hole increases but its mass decreases as the cosmological constant increases.

Fig. 2
figure 2

We plot the event horizon radius of the Nariai black hole (left) and that of the cold black hole (right) in terms of the cosmological constant, at the magnetic charge \(Q=1\)

Fig. 3
figure 3

We plot the mass of the Nariai black hole (left) and that of the cold black hole (right) in terms of the cosmological constant, at the magnetic charge \(Q=1\)

3 Thermodynamics and thermal phase transition

In the extended phase space, the entropy S, the magnetic charge Q, and the thermodynamic pressure P are regarded as a complete set of the extensive thermodynamic variables. Their corresponding conjugating quantities, which are intensive thermodynamic variables, are the temperature T, the chemical potential \(\Phi \), and the thermodynamic volume V. In this way, the first law of the thermodynamics is established on the event and cosmological horizons, respectively

$$\begin{aligned} dM= & {} T_+dS_++\Phi _+dQ+V_+dP, \end{aligned}$$
(21)
$$\begin{aligned} dM= & {} -T_cdS_c+\Phi _c dQ+V_cdP. \end{aligned}$$
(22)

(The sign − in front of \(T_c\) is because, as the cosmological horizon radius increases, the mass M should decrease whereas the entropy always does not decrease.) Note that, from Eqs. (1) and (16) the black hole mass can be expressed on the event and cosmological horizons, respectively

$$\begin{aligned} M(r_+,Q,P)= & {} \frac{r^3_++Q^3}{2r^2_+}\left( 1+\frac{8\pi P}{3}r^2_+\right) , \end{aligned}$$
(23)
$$\begin{aligned} M(r_c,Q,P)= & {} \frac{r^3_c+Q^3}{2r^2_c}\left( 1+\frac{8\pi P}{3}r^2_c\right) . \end{aligned}$$
(24)
Fig. 4
figure 4

We plot the reduced temperature \(T_+Q\) on the event horizon (left) and the reduced temperature \(T_cQ\) on the cosmological horizon (right) in terms of the corresponding reduced horizon radius, for the different values of the reduced pressure \(PQ^2\). The blue, red, green and purple curves correspond to \(PQ^2=-0.001\), \(-0.002\), \(-0.004\), \(-0.006\)

3.1 Local view

In this subsection, we consider that the event and cosmological horizons are located far away. Thus, one can analyze the thermodynamics and the thermal phase transition on these horizons in an independent way.

Using the surface gravities of the event horizon and cosmological horizon, one can identify their temperatures, respectively [82, 83]

$$\begin{aligned} T_+= & {} \frac{f'(r_+)}{4\pi }=\frac{r^3_+-2Q^3+8\pi Pr^5_+}{4\pi r_+(r^3_++Q^3)}, \end{aligned}$$
(25)
$$\begin{aligned} T_c= & {} -\frac{f'(r_c)}{4\pi }=-\frac{r^3_c-2Q^3+8\pi Pr^5_c}{4\pi r_c(r^3_c+Q^3)}. \end{aligned}$$
(26)
Fig. 5
figure 5

We plot the reduced horizon radius \(r_{max}/Q\) (left) and the reduced maximum temperature \(T_{max}Q\) (right) in terms of the reduced pressure \(PQ^2\)

It is seen from Fig. 4 that the temperature \(T_c\) is an increasingly monotonous function in terms of the cosmological horizon radius \(r_c\). Whereas, the temperature \(T_+\) should first increase until a maximum \(T_{max}\) (given graphically in Fig. 5) and then decrease as the event horizon radius \(r_+\) increases. The reduced event horizon radius \(r_{max}/Q\) corresponding to the maximum temperature \(T_{max}\) is a unique positive real solution of the following equation

$$\begin{aligned} x^6(8\pi PQ^2 x^2-1)+2x^3(16\pi PQ^2 x^2+5)+2=0. \end{aligned}$$
(27)

This solution is a function in terms of \(PQ^2\) and graphically solved in Fig. 5. In the limit of the vanishing pressure (\(P\rightarrow 0\)), the reduced horizon radius \(r_{max}/Q\) and the reduced maximum temperature \(T_{max}Q\) approach an upper limit given as

$$\begin{aligned} \frac{r_{max}}{Q}\rightarrow & {} \left( 5+3\sqrt{3}\right) ^{1/3}\approx 2.16843,\nonumber \\ T_{max}Q\rightarrow & {} \frac{1+\sqrt{3}}{4\pi \left( 5+3\sqrt{3}\right) ^{1/3}\left( 2+\sqrt{3}\right) }\approx 0.02686. \end{aligned}$$
(28)

We stop here to compare the temperature between the non-linear and usual charged dS black holes with the same size, charge and the pressure. This difference of the temperature is graphically depicted in Fig. 6. It can see that, compared to the usual charged dS black hole with the same size, charge and the pressure, the non-linear charged dS black hole of the large size \((r_+>r_0)\) is slightly hotter. But, for the small size \((r_+<r_0)\), the usual charged dS black hole is hotter compared to the non-linear charged dS black hole. Here, \(r_0/Q\) is the largest positive real solution of the following equation

$$\begin{aligned} x^3-x^2(3+8PQ^2x^2)+1=0. \end{aligned}$$
(29)
Fig. 6
figure 6

We plot the difference of the temperature of the non-linear and usual charged dS black holes in terms of the reduced event horizon radius, under the different values of \(PQ^2\). The blue, red, green and purple curves correspond to \(PQ^2=-0.008\), \(-0.004\), \(-0.002\), \(-0.002\)

From the expressions for the temperature on the event and cosmological horizons, the entropy on both two horizons can be calculated as

$$\begin{aligned} S_+= & {} \int \frac{1}{T_+}\frac{\partial M}{\partial r_+}dr_+=\pi r^2_+\left( 1-\frac{2Q^3}{r^3_+}\right) , \end{aligned}$$
(30)
$$\begin{aligned} S_c= & {} -\int \frac{1}{T_c}\frac{\partial M}{\partial r_c}dr_c=\pi r^2_c\left( 1-\frac{2Q^3}{r^3_c}\right) . \end{aligned}$$
(31)

We make some remarks here. First, the non-linear electrodynamics breaks the area law but it is recovered at the large distances \(Q/r_+\ll 1\). Second, the entropy is negative with \(r_+<2^{1/3}Q\) and thus there exist no black hole with the size smaller than \(2^{1/3}Q\). This suggests that at the scale \(r_+=2^{1/3}Q\) non-linear magnetic repulsion becomes so strong and thus prevents the formation of any black hole. In this sense, \(2^{1/3}Q\) can be realized to be the smallest size of the black hole of given magnetic charge Q.

Because Eqs. (30) and (31), we have

$$\begin{aligned} M(S_+,Q,P)= & {} M\big (r_+(S_+,Q),Q,P\big ), \end{aligned}$$
(32)
$$\begin{aligned} M(S_c,Q,P)= & {} M\big (r_c(S_c,Q),Q,P\big ). \end{aligned}$$
(33)

Using the first law, one can derive the remaining intensive thermodynamic variables as

$$\begin{aligned} \Phi _+= & {} \left( \frac{\partial M}{\partial Q}\right) _{S_+,P}=\left( \frac{\partial M}{\partial Q}\right) _{r_+,P}+\left( \frac{\partial M}{\partial r_+}\right) _{Q,P}\left( \frac{\partial r_+}{\partial Q}\right) _{S_+}, \end{aligned}$$
(34)
$$\begin{aligned}= & {} \frac{Q^2\left[ 6r^3_++32\pi Pr^5_++Q^3(8\pi Pr^2_+-3)\right] }{2r^2_+(r^3_++Q^3)}, \end{aligned}$$
(35)
$$\begin{aligned} \Phi _c= & {} \left( \frac{\partial M}{\partial Q}\right) _{S_c,P}=\left( \frac{\partial M}{\partial Q}\right) _{r_c,P}+\left( \frac{\partial M}{\partial r_c}\right) _{Q,P}\left( \frac{\partial r_c}{\partial Q}\right) _{S_c}, \end{aligned}$$
(36)
$$\begin{aligned}= & {} \frac{Q^2\left[ 6r^3_c+32\pi Pr^5_c+Q^3(8\pi Pr^2_c-3)\right] }{2r^2_c(r^3_c+Q^3)}, \end{aligned}$$
(37)
$$\begin{aligned} V_+= & {} \left( \frac{\partial M}{\partial P}\right) _{S_+,Q}=\frac{4}{3}\pi (r^3_++Q^3), \end{aligned}$$
(38)
$$\begin{aligned} V_c= & {} \left( \frac{\partial M}{\partial P}\right) _{S_c,Q}=\frac{4}{3}\pi (r^3_c+Q^3). \end{aligned}$$
(39)

One can easily check that the thermodynamic quantities on the event or cosmological horizons satisfy the Smarr and Smarr-like relations, respectively

$$\begin{aligned} M= & {} 2(T_+S_+-V_+P)+\Phi _+Q,\nonumber \\ M= & {} -2(T_cS_c+V_cP)+\Phi _cQ, \end{aligned}$$
(40)

which show the scaling behaviors of the thermodynamic variables [56].

The heat capacity at constant pressure on the event horizon and cosmological horizon given, respectively

$$\begin{aligned} C_{P+}= & {} \left( \frac{\partial M}{\partial T_+}\right) _P=\frac{\partial M}{\partial r_+}\left( \frac{\partial T_+}{\partial r_+}\right) ^{-1}, \end{aligned}$$
(41)
$$\begin{aligned}= & {} \frac{2\pi (r^3_++Q^3)^2(r^3_+-2Q^3+8\pi Pr^5_+)}{r^7_+(8\pi P r^2_+-1)+2Q^3r^4_+(5+16\pi P r^2_+)+2Q^6r_+}, \end{aligned}$$
(42)
$$\begin{aligned} C_{Pc}= & {} \left( \frac{\partial M}{\partial T_c}\right) _P=\frac{\partial M}{\partial r_c}\left( \frac{\partial T_c}{\partial r_c}\right) ^{-1}, \end{aligned}$$
(43)
$$\begin{aligned}= & {} -\frac{2\pi (r^3_c+Q^3)^2(r^3_c-2Q^3+8\pi Pr^5_c)}{r^7_c(8\pi P r^2_c-1)+2Q^3r^4_c(5+16\pi P r^2_c)+2Q^6r_c}.\nonumber \\ \end{aligned}$$
(44)

The heat capacity \(C_{P+}\) under the different values of the pressure is plotted in Fig. 7. Form this figure and the expression of \(C_{P+}\), we can see that the heat capacity \(C_{P+}\) suffers a discontinuity at the local maximum temperature \(T_{max}\). This suggests a phase transition between a thermodynamically stable small black hole and a thermodynamically unstable large one at this critical point. It can show this phase transition from observing the swallowtail structure of the free energy \(F_+=M-T_+S_+\), as given in Fig. 8. With respect to the cosmological horizon, the heat capacity \(C_{Pc}\) is always negative and thus by emitting the thermal radiation the cosmological horizon become larger.

For the magnetic charge Q fixed, we can obtain the equation of state on the event and cosmological horizons, respectively

$$\begin{aligned} P(T_+,V_+)= & {} \frac{3}{4}\left( \frac{2}{\pi }\right) ^{1/3}\nonumber \\&\times \frac{V_+T_+(3V_+-4\pi Q^3)^{1/3}-V_++4\pi Q^3}{(3V_+-4\pi Q^3)^{5/3}}, \end{aligned}$$
(45)
$$\begin{aligned} P(T_c,V_c)= & {} \frac{3}{4}\left( \frac{2}{\pi }\right) ^{1/3}\nonumber \\&\times \frac{-V_cT_c(3V_c-4\pi Q^3)^{1/3}-V_c+4\pi Q^3}{(3V_c-4\pi Q^3)^{5/3}}.\nonumber \\ \end{aligned}$$
(46)

The isotherms in the \(P-V_+\) and \(P-V_c\) planes are the same in the shape. In Fig. 9, we plot the isotherms in the \(P-V_+\) plane.

Fig. 7
figure 7

We plot the heat capacity \(C_{P+}\) in terms of the horizon radius \(r_+\), under the different values of the pressure. They correspond to \(P=-0.005\) (top left), \(P=-0.001\) (top right), \(P=-0.0005\) (bottom left), and \(P=-0.0001\) (bottom right)

Fig. 8
figure 8

We plot the free energy \(F_+\) as a function of the black hole temperature \(T_+\), under the different values of the thermodynamic pressure P, at the magnetic charge \(Q=1\). The blue, red, green, and purple curves correspond to \(P=-\,0.005\), \(-\,0.001\), \(-\,0.0005\), \(-\,0.0001\)

Fig. 9
figure 9

We plot the thermodynamic pressure in terms of the thermodynamic volume \(V_+\), under the different values of the temperature, at the magnetic charge \(Q=1\). The blue, red, and green curves correspond to \(T=0.05\), 0.01, 0.001

3.2 Global view

If the event and cosmological horizons are not located far away, one cannot analyze the thermodynamics and the thermal phase transition on them in an independent way. Because the temperatures on the event and cosmological horizons are different, except for the degenerate case \(r_+=r_c\), the black hole cannot in general be in thermodynamic equilibrium. Since the notion of the effective thermodynamics of the black hole has been emerged [36, 44, 84,85,86,87,88, 90].

In the picture of the effective thermodynamics of the black hole, we express the mass M of the black hole and the cosmological constant \(\Lambda \) in terms of \(r_+\), \(r_c\), and Q as

$$\begin{aligned} M=\frac{\alpha _+\alpha _c(r^2_c-r^2_+)}{\alpha _cr^2_c-\alpha _+r^2_+},\quad \Lambda =3\frac{\alpha _c-\alpha _+}{\alpha _cr^2_c-\alpha _+r^2_+}, \end{aligned}$$
(47)

where

$$\begin{aligned} \alpha _{+,c}=\frac{r^3_{+,c}+Q^3}{2r^2_{+,c}}. \end{aligned}$$
(48)
Fig. 10
figure 10

We plot the effective temperature in terms of the event horizon radius \(r_+\), under the different values of the magnetic charge Q, with the cosmological horizon radius \(r_c=5\). The blue, red, green and purple curves correspond to \(Q=2\), 1.5, 1, 0.5

From Eqs. (21) and (22), we can write the first law of the effective thermodynamics of the black hole as

$$\begin{aligned} dM= & {} -\frac{T_+T_c}{T_++T_c}d(S_c-S_+)+\frac{\Phi _+T_c+\Phi _cT_+}{T_++T_c}dQ\nonumber \\&+\frac{V_+T_c+V_cT_+}{T_++T_c}dP. \end{aligned}$$
(49)

It is clearly that if the total entropy is identified as \(S=S_c-S_+\) the effective temperature is given by

$$\begin{aligned} T_{eff}=\frac{T_+T_c}{T_++T_c}. \end{aligned}$$
(50)

From Fig. 10, it can see that the behavior of the effective temperature \(T_{eff}\) is dependent on the magnetic charge Q. For “large” Q (the blue and red curves), there exist two regions (\(R_I\) and \(R_{II}\)) which are separated by a negative temperature region or forbidden region \(r_+\in (r_{div},r_0)\), where \(r_{div}\) and \(r_0\) are respectively a divergent point and a zero-temperature point of \(T_{eff}\). The first region \(R_I\) of \(T_{eff}\) is an increasingly monotonous function of \(r_+\). Whereas, with respect to the second region \(R_{II}\) of \(T_{eff}\) the effective temperature should first increase until a maximum and then decrease when \(r_+\) increasing. Note that, because of the forbidden region, if the black hole stays in one of the two regions then it always stays in that region and is impossible to transit another region. For “small” Q (the green curve), the first region \(R_I\) of \(T_{eff}\) should disappear. For small Q but below a certain value (the purple curve), the effective temperature is only a decreasingly monotonous function of \(r_+\).

Form Eq. (49), one can derive the effective chemical potential \(\Phi _{eff}\) and the effective thermodynamic volume \(V_{eff}\) as

$$\begin{aligned} \Phi _{eff}=\frac{\Phi _+T_c+\Phi _cT_+}{T_++T_c},\quad V_{eff}=\frac{V_+T_c+V_cT_+}{T_++T_c}. \end{aligned}$$
(51)

The scaling behavior of the effective thermodynamic quantities is shown via the following Smarr-like relation

$$\begin{aligned} M=-2\left( T_{eff}S+V_{eff}P\right) +\Phi _{eff}Q. \end{aligned}$$
(52)

Now we would like to compute the effective heat capacity \(C_P\) at constant pressure and analyze the thermal phase transition based on the discontinuous change of the sign of \(C_P\). The effective heat capacity \(C_P\) is given by

$$\begin{aligned} C_P= & {} \left( \frac{\partial M}{\partial T_{eff}}\right) _P,\nonumber \\= & {} \left( \frac{\partial {M}}{\partial r_+}-\frac{\partial {M}}{\partial r_c}\frac{\partial g/\partial r_+}{\partial g/\partial r_c}\right) \left( \frac{\partial {T_{eff}}}{\partial r_+}-\frac{\partial {T_{eff}}}{\partial r_c}\frac{\partial g/\partial r_+}{\partial g/\partial r_c}\right) ^{-1},\nonumber \\ \end{aligned}$$
(53)

where

$$\begin{aligned} g=3\frac{\alpha _c-\alpha _+}{\alpha _cr^2_c-\alpha _+r^2_+}-\Lambda . \end{aligned}$$
(54)
Fig. 11
figure 11

Plots of the effective heat capacity in terms of the event horizon radius \(r_+\) under the different values of the magnetic charge, at \(r_c=5\). They correspond to \(Q=2\) (top left), \(Q=1.5\) (top right), \(Q=1\) (bottom left), and \(Q=0.5\) (bottom right). Dashed parts of the curves refer to the negative-temperature regions

Fig. 12
figure 12

We plot the free energy F as a function of the effective temperature \(T_{eff}\) under the different values of the magnetic charge Q, at \(r_c=5\). The blue, red, and green curves correspond to \(Q=2\), 1.5, 1. The left and right figures refers to the black hole staying in the first region \(R_I\) and the second region \(R_{II}\), respectively

The behavior of the heat capacity \(C_P\) is explicitly depicted in Fig. 11. From this figure, we can analyze the thermodynamic stability and the thermal phase transition of the black hole. For large magnetic charge (top left and top right), if the black hole stays in the first region \(R_I\), because of the negative and regular heat capacity \(C_P\) the black hole is thermodynamically unstable and there has no thermal phase transition. Otherwise, if the black hole stays in the second region \(R_{II}\), the heat capacity \(C_P\) should suffer a discontinuity. This suggests a thermal phase transition, at this discontinuous point, between a thermodynamically unstable large black hole (negative \(C_P\)) and a thermodynamically stable small black hole (positive \(C_P\)). For small magnetic charge (bottom left), the first region \(R_I\) should disappear and thus the black hole always stays in the second region \(R_{II}\). This means that the black hole can undergo the thermal phase transition between a thermodynamically unstable phase and a thermodynamically stable phase. For small magnetic charge but below a certain value (bottom right), like the black hole staying in the first region \(R_I\), the black hole is thermodynamically unstable and there has no thermal phase transition.

Let us now show that there actually exists the thermal phase transition by investigating the free energy F given by

$$\begin{aligned} F=M-T_{eff}S, \end{aligned}$$
(55)

which is graphically depicted in Fig. 12. As seen in Fig. 12, for the black hole staying in the region \(R_I\), its free energy is a decreasingly monotonous function of the effective temperature \(T_{eff}\) and thus there actually has no thermal phase transition. Otherwise, for the black hole staying in the region \(R_{II}\), the free energy F is a multivalued function shown by the presence of the swallowtail structure. And, thus there should actually occur the thermal phase transition between a thermodynamically unstable phase (large black hole) and a thermodynamically stable phase (small black hole). Here, the black hole of the larger magnetic charge has the smaller critical effective temperature.

4 Conclusion

In this work, we have derived a non-linear magnetic-charged dS black hole, from solving the equations of the motion for a system of Einstein gravity coupled to a non-linear electromagnetic field in the dS spacetime with a static and spherical symmetric ansatz. It is interesting that, in the short-distance regime corresponding to the strong non-linear magnetic field, the black hole solution behaves like a dS geometry with an effective cosmological constant

$$\begin{aligned} \Lambda _{\text {eff}}=3\left( \frac{2M}{Q^3}+\frac{\Lambda }{3}\right) , \end{aligned}$$
(56)

where M, Q, and \(\Lambda \) are the black hole mass, the black hole magnetic-charge, and the positive cosmological constant, respectively. By this, the singularity at the origin should be replaced by a core of the dS geometry, and thus the black hole solution is regular. Also, we indicated a critical value for the cosmological constant, above which there exists no black hole for any mass. At this critical value, all horizons of the black hole coincide together. Below this critical value, the black hole has possibly three horizons: the inner, event and cosmological horizons. In particular, for suitable black hole mass, two of three horizons possibly coincide together.

In the extended phase space, we have studied the thermodynamics of the black hole and analyzed its thermal phase transition based on the discontinuous change of the specific heat sign and the swallowtail structure of the free energy. If the event and cosmological horizons are located far away, the thermodynamics and the thermal phase transition on these horizons are investigated in an independent way. On the contrary, we use the notion of the effective thermodynamics of the black hole, which has been emerged in the recent years, to investigate.