1 Introduction

In the last two decades the investigation of the thermodynamics of black holes has evolved into one of the most crucial issues in the study of quantum theories of gravity [1,2,3,4,5,6,7,8]. The thermodynamics of asymptotically anti de Sitter (AdS) black holes has assumed critical importance in this context owing to the famed AdS/CFT duality. Although a complete understanding of the microscopic statistical basis of black hole thermodynamics has eluded a clear explanation the study of the thermodynamics of AdS black holes has revealed a rich variety of phase structures and critical phenomena [9,10,11,12]. Remarkably in [10,11,12,13] an interesting similarity between the phase diagrams of electrically charged Reisner Nordstrom (RN) AdS black holes and that of a van der Waals fluid could be established.

In a completely different context a geometrical approach to thermodynamics and phase transitions has been developed through the work of Weinhold [14, 15] and Ruppeiner [16]. In this framework a Riemannian geometry with a Euclidean signature for classical thermodynamic fluctuations, may be defined for the equilibrium thermodynamic state space of any thermodynamic system. The probability distribution of such fluctuations in a Gaussian approximation could then be related to the positive definite invariant interval defined by this geometry. It was found that the thermodynamic scalar curvature arising from this equilibrium state space geometry encodes the microscopic interactions underlying the thermodynamic system. From standard scaling and hyperscaling arguments it was possible to show that the thermodynamic scalar curvature was directly proportional to the correlation volume of the system whereas, it is inversely proportional to the singular part of the free energy which is associated with the long range correlations [16]. It is for this reason that the thermodynamic scalar curvature diverges at the critical point of a second order phase transition where the singular part of the free energy vanishes. This direct connection between the thermodynamic scalar curvature and the microscopic correlation length make this geometrical framework extremely suitable for the description of black hole thermodynamics where a complete microscopic structure is still an elusive issue. In fact the application of this framework has provided interesting insights into the thermodynamics of both non-extremal and extremal black holes [17,18,19,20,21,22,23,24,25,26,27,28]. Although the geometrical framework described characterized second order phase transitions through the divergence of the thermodynamic scalar curvature, a similar characterization based on the thermodynamic curvature, for first order phase transitions was lacking. One of the authors (GS) in the collaborations [29,30,31] showed that the thermodynamic scalar curvature exhibited a multiple valued branched structure similar to the free energy at a first order phase transition which could be used for their characterization. Application of this to the study of liquid–gas like first order phase transitions for a large class of asymptotically AdS black holes provided a confirmation of this alternative characterization. Following this in [32] a complete alternative geometrical characterization for first order phase transition, phase coexistence and supercritical phenomena could be established in the framework of thermodynamic geometries. This characterization extended Widom’s [33] microscopic approach based on the correlation length to describe first order phase transitions, to propose the equality of the correlation length in the coexisting phases. In the framework of thermodynamic geometries the above characterization translates to the equality of the thermodynamic scalar curvature R for the coexisting phases. This essentially amounted to the crossing of the branches of the multiple valued curvature R for the coexisting phases. This R-crossing formula [32] applied to conventional simple fluids as an alternative to the Maxwell equal area construction or the equality of the free energy, showed remarkable correspondence with experimental data. Additionally this framework [32] also provided a first theoretical method for the construction of the Widom line, the locus of the maxima of the correlation length in the supercritical regime. The Widom line serves as a line of dynamical crossover for fluid properties that seems to retain the memory of the distinct subcritical phases [33,34,35,36]. Thus our construction led to a complete unified geometrical framework for the characterization of subcritical, critical, and supercritical phenomena based on the thermodynamic scalar curvature and has led to interesting further applications [37].

Following earlier studies of the thermodynamics of electrically charged AdS black holes [10, 11, 13] in [38] the authors have investigated the thermodynamics of dyonic charged AdS black holes [39] in four dimensions which involves both electric and magnetic charges. These dyonic charged black holes are solutions to the equations of motion of a Einstein–Maxwell theory with a negative cosmological constant. In [38] the cosmological constant \(\Lambda \) is considered as the thermodynamic pressure [40] and it was shown that in a mixed canonical–grand canonical ensemble with a fixed magnetic charge and a varying electric charge the black hole undergoes a liquid–gas like first order phase transition culminating in a critical point that resembles the phase diagram of a van der Waals fluid [41]. A similar result is also expected to follow for the fixed electric charge and varying magnetic charge scenario due to the symmetrical fashion in which the charges occur in the Smarr formula for the black hole mass. As these black holes exhibit first order phase transitions in mixed ensembles it is naturally interesting to study the phase structure using the thermodynamics scalar curvature R referred earlier in the framework of thermodynamic geometries. In this article we investigate the thermodynamic geometry of such dyonic charged AdS black holes in four dimensions using mixed canonical–grand canonical ensembles and study their phase transition and critical phenomena. However, in our analysis we adopt a more conventional thermodynamic approach without considering the cosmological constant as a thermodynamic pressure. Remarkably a study of the thermodynamics of this simpler case also reproduces the first order phase transition and critical phenomena in a mixed ensemble similar to that observed in [38] where the cosmological constant is considered as the thermodynamic pressure. In particular we implement our R-crossing formula for the thermodynamic scalar curvature R to characterize the phase coexistence in the first order liquid–gas like phase transition for dyonic charged AdS black holes and show that the curvature R diverges at the critical point in accordance with the conclusions in [29,30,31,32]. It is also to be noted that our study of the thermodynamic geometry of dyonic charged AdS black holes constitutes the first example where the R-crossing formula for the thermodynamic scalar curvature R is used to characterize the phase coexistence in the first order phase transition for such black holes.

This article is organized as follows: in Sect. 2 we briefly review the four dimensional dyonic charged AdS black holes as solutions to the equation of motion of a Einstein Maxwell AdS action. In Sect. 3 we discuss the thermodynamics of these dyonic charged AdS black holes in a more conventional scenario without considering the cosmological constant as a thermodynamic pressure and reproduce the first order phase transition and critical phenomena described in [38]. In Sect. 4 we briefly review the essential elements of thermodynamic geometries and employ this geometrical framework to investigate the thermodynamics and phase transitions of the four dimensional dyonic charged AdS black holes and implement the R crossing method to characterize the first order liquid–gas like phase transition for these black holes. In Sect. 5 we present a summary of our results and discussions including future open issues.

2 Dyonic black holes

In this section we briefly review the dyonic charged black hole solutions to the equations of motion of the Einstein Maxwell theory in a four dimensional AdS space time as described in [38]. The action for this theory may be expressed as

$$\begin{aligned} I= \frac{1}{16\pi G} \int {\mathrm{d}^4x \sqrt{-g} \left( -R-\frac{6}{l^2}+\frac{1}{4}F_{\mu \nu }F^{\mu \nu }\right) }, \end{aligned}$$
(1)

where R is the scalar curvature, \(F_{\mu \nu }\) is the electromagnetic field strength tensor and l is the AdS length scale which we set to unity for further computations. Moreover, we also set the gravitational constant G, speed of light c, reduced Planck constant \(\hslash \), Coulomb constant \(k_e\) and the Boltzmann constant \(k_\mathrm{B}\) to unity which corresponds to expressing the physical quantities in natural (Planckian) units. The equations of motions may be written down as

$$\begin{aligned}&R_{\mu \nu }-\frac{1}{2}g_{\mu \nu }\left( R+\frac{3}{l^2}\right) = 2\left( F_{\mu \lambda }F_{\nu }^{~\lambda }-\frac{1}{4}F_{\alpha \beta } F^{\alpha \beta }\right) ,\end{aligned}$$
(2)
$$\begin{aligned}&\nabla _{\mu }F^{\mu \nu } = 0. \end{aligned}$$
(3)

A static spherically symmetric solution to the equations of motion is

$$\begin{aligned}&\mathrm{d}s^2 = - f(r) \mathrm{d}t^2 + \frac{\mathrm{d}r^2}{f(r)} + r^2 \mathrm{d}\theta ^2 + r^2 \sin ^2\theta \mathrm{d}\phi ^2,\end{aligned}$$
(4)
$$\begin{aligned}&f(r) = 1+ \frac{r^2}{l^2} - \frac{2M}{r} + \frac{q_{e}^2+q_{m}^2}{r^2},\end{aligned}$$
(5)
$$\begin{aligned}&A_{\mu }\mathrm{d}x^{\mu } = q_{e}\left( \frac{1}{r_{+}}-\frac{1}{r}\right) \mathrm{d}t+ (q_{m}\cos \theta )\mathrm{d}\phi , \end{aligned}$$
(6)

where \(A_{\mu },q_{e},q_{m}\), and M are identified as the electromagnetic four-potential, electric charge, magnetic charge, and mass of the black hole, respectively. The quantity \(r_{+}\) is the outer horizon radius of the black hole given by the zeroes of the lapse function f(r) described above.

A dyonic black hole is associated with a dyonic charge that involves both an electric (\( q_e \)) and a magnetic (\( q_m \)) charge [13, 38]. The presence of magnetic charge leads to a corresponding magnetic potential (\( \phi _m \)) in addition to the electric potential (\(\phi _e\)). The expression for electric potential (\(\phi _e\)) may be given by

$$\begin{aligned} \phi _e = \phi _E-\frac{q_e}{r}=q_e\left( \frac{1}{r_+}-\frac{1}{r}\right) , \end{aligned}$$
(7)

where \(\phi _{E}\) may be defined as the asymptotic value of the electric potential measured at infinity.

3 Thermodynamics of dyonic charged black holes

It is now well established that in a semi classical framework, black holes may be considered as thermodynamic systems characterized by a Hawking temperature T and an entropy S. For the case of the four dimensional dyonic charged AdS black hole these may be expressed in the natural units as

$$\begin{aligned} T= & {} \frac{1}{4\pi r_{+}}\left[ 1+\frac{3 r_{+}^2}{l^2}-\frac{q_{e}^2}{r_{+}^2}-\frac{q_{m}^2}{r_{+}^2}\right] ,\end{aligned}$$
(8)
$$\begin{aligned} S= & {} \pi r_{+}^2. \end{aligned}$$
(9)

The first law of black hole thermodynamics in this case may be written down as

$$\begin{aligned} \mathrm{d}M = T\mathrm{d}s+\phi _e \mathrm{d}q_e+\phi _m \mathrm{d}q_m, \end{aligned}$$
(10)

where T and S represent the Hawking temperature and the entropy of the dyonic charged AdS black hole respectively. Using this the Smarr formula for the mass M of the black hole in terms of \( s , q_{e}\) and \(q_{m}\) using Eq. (5) may be obtained as in [38]:

$$\begin{aligned} M =\frac{1}{2} \sqrt{\frac{\pi }{s}}\ \bigg (\frac{s^2}{\pi ^2} + \frac{s}{\pi } + q_{e}^2+q_{m}^2\ \bigg ). \end{aligned}$$
(11)

Following [29] we have scaled out the AdS length scale l, which does not figure in our subsequent analysis. To analyze the thermodynamics of the dyonic charged AdS black hole we consider a mixed ensemble that is grand canonical with respect to the varying electric charge \( q_e \) but canonical with respect to the magnetic charge \( q_m \), which is fixed. Since both the magnetic and the electric charges enter in the Smarr relation given by Eq. (11) in a symmetric fashion, hence the alternative mixed ensemble with a varying magnetic charge \( q_m \) and fixed electric charge \( q_e \) is expected to have an identical thermodynamic behavior and does not need to be considered separately. Using the Smarr formula the Hawking temperature T may be expressed as

$$\begin{aligned} T= \frac{\mathrm{d}M}{\mathrm{d}s}= \frac{1}{4\pi ^{\frac{3}{2}}} \frac{1}{s^\frac{3}{2}} [3s^2 + \pi s - \pi ^2 (q_{e}^2+q_{m}^2)]. \end{aligned}$$
(12)

The Gibbs free energy specific to the mixed ensemble involving a varying electric charge \( q_e \) and a fixed magnetic charge \( q_m \) is as follows:

$$\begin{aligned} G= M - T s - \phi _e q_e \end{aligned}$$
(13)

where \(\phi _e\) is the fixed electric potential.

It is now possible to express the Gibbs free energy G given above in terms of the variables \( \phi _e, q_m \) and S as

$$\begin{aligned} G= \frac{1}{4\pi ^2} \sqrt{\frac{\pi }{s}} [3\pi ^2 q_{m}^2 - S^2 + \pi S (1-\phi _{e}^2)]. \end{aligned}$$
(14)

Similarly the temperature of the dyonic charged AdS black hole may now be expressed in terms of the variables \(S, \phi _{e}\) and \(q_{m}\) as

$$\begin{aligned} T=\frac{ (-\pi ^2 q_{m}^2+3 s^2+\pi (s-s\phi _{e}^2))}{4 (\pi s)^{3/2}}. \end{aligned}$$
(15)

Now using these Eqs. (14) and (15) for the Gibbs free energy and the Hawking temperature it is straightforward to obtain the variation of the Gibbs free energy G with respect to the temperature T as shown in Fig. 1. The plot for the free energy G shows a typical multiple valued branched swallowtail behavior characteristic of a first order phase transition at a certain temperature T. This behavior disappears as the value of the magnetic charge \(q_m\) is increased demonstrating the culmination of the subcritical phase coexistence to a critical point of a second order phase transition. This may be observed from the Fig. 1 where the blue curve corresponds to the free energy near the critical point. The red curve in Fig. 1 corresponds to the value \(q_m =0.095\) for the magnetic charge which is below the critical value \(q_m=0.107\). The subcritical red curve possesses three distinct branches that form the typical swallowtail structure for the fixed value of the magnetic charge \(q_m=0.095\) whereas above the critical value \( q_m = 0.107 \) this structure disappears. It may be noted that the qualitative nature of the plots do not change with the variation of electric potential \( \phi _e \).

Fig. 1
figure 1

Plots of G with T. The red, green, blue and the brown curves correspond to \((\phi _e = 0.6, q_m=0.095)\), \((\phi _e = 0.6, q_m=0.1)\), \((\phi _e = 0.6, q_m=0.107)\), and \((\phi _e = 0.6, q_m=0.13)\) respectively

Fig. 2
figure 2

T vs. S plot for different values of \(q_m\). The red, green, blue and the brown curves correspond to values of \(q_m=0.095\), \(q_m=0.1\), \(q_m=0.107\) and \(q_m=0.13\) respectively

The first order phase transition described here occurs between the two distinct phases typified by small and large black holes characterized by their (outer) horizon radius \(r_{+}\), as shown in Fig. 2, where the temperature T is plotted against the entropy S. Branch I or the ‘small black hole’ branch here corresponds to the ‘liquid-like’ phase and branch III or the ‘large black hole’ branch corresponds to the ‘gas-like’ phase in relation to a the usual liquid–gas phase transition. The three branches of the red curve in the TS plot labeled I, II and III correspond to the three respective branches of the red curve in the GT plot displayed in Fig. 1. As one increases the temperature T the system moves along branch I, reaches the point of crossing of branch I and branch III, jumps to branch III and continues along that branch. Branch II is least favored as it corresponds to a higher free energy G than the other two branches at any given temperature T. As is well known this branch corresponds to a meta-stable state where the specific heat becomes negative. As one proceeds beyond the critical point, branch II disappears and this corresponds to the usual uniform supercritical phase. Notice that in the limit \( q_m \rightarrow 0\), the resulting black hole is essentially a conventional electrically charged RN-AdS black hole in a grand canonical ensemble, i.e. with fixed \(\phi _e \). In this limit the only possible phase transition is the usual Hawking–Page transition [5, 9] between a thermal AdS space time and a black hole solution. In this limit the small black hole branch coincides with the T axis in the GT plot.

4 Thermodynamic geometry of a dyonic charged black hole

In this section we briefly collect the relevant results of thermodynamic geometry and then procced to obtain the thermodynamic geometry and the scalar curvature of the dyonic charged black hole in the mixed canonical–grand canonical ensemble elucidated earlier. As mentioned in the introduction it is possible to associate a curved Riemannian geometry with an Euclidean signature based on the fluctuations of the thermodynamic variables in the equilibrium state space of the system. The positive definite invariant line element for this geometry is then related to the probability distribution of the fluctuations connecting such equilibrium thermodynamic states in a Gaussian approximation. The Riemannian metric describing this geometry may be obtained from the thermodynamic potential appropriate to the representation being considered. In the entropy representation [32], the metric is given by the Hessian of the total entropy \(S= S(U,V, N)\) with respect to the extensive variables with the volume V held fixed and UN being the internal energy and the number density, respectively. The metric may be represented as

$$\begin{aligned} g_{\mu \nu }=-\frac{\partial ^2 s}{\partial x^\mu \partial x^\nu }, \end{aligned}$$
(16)

where \( {x^\mu } \) are the extensive variables which serve as the coordinates in the state space subject to the condition \(\mathrm{d}S\ge 0\) in accordance with the second law of thermodynamics and s is the combined entropy of the system and its surroundings. The volume V is considered to be infinite in the thermodynamic limit and in this case s may be considered to be just the entropy of the system only. Alternatively in the energy representation [14, 15], the thermodynamic metric is obtained from the Hessian of the internal energy U with respect to the extensive variables and may be expressed as

$$\begin{aligned} g_{\mu \nu }=\frac{1}{T} \frac{\partial ^2 U}{\partial x^\mu \partial x^\nu }. \end{aligned}$$
(17)

Using scaling and hyperscaling arguments the thermodynamic scalar curvature R obtained from this metric may be shown to be proportional to the correlation volume of the system as

$$\begin{aligned} R \sim \xi ^d, \end{aligned}$$
(18)

where \( \xi \) is the correlation length and d is the physical dimension of the system. Thus the thermodynamic scalar curvature R actually relates to the underlying microscopic interactions with \(R=0\) describing a non-interacting microscopic basis.

For our case of the four dimensional dyonic charged AdS black hole in the mixed canonical–grand canonical ensemble it is convenient to use the energy representation due to Weinhold [15] to obtain the thermodynamic metric. From the Smarr formula Eq. (11) the extensive variables which serve as the coordinates for the geometry are \( x^\mu =\{s, q_e\} \) the electric charge and the entropy respectively. Here the magnetic charge \( q_m \) is held fixed. The thermodynamic metric may then be expressed as

$$\begin{aligned} g_{\mu \nu }=\frac{1}{T} \frac{\partial ^2 M}{\partial x^\mu \partial x^\nu } \end{aligned}$$
(19)

It is to be noted that the internal energy of the black hole is determined to be its ADM mass M in the formulation for black hole thermodynamics which we are using.

The corresponding metric components in this representation with the coordinates \( x^\mu =\{s, q_e\} \) may be expressed as follows:

$$\begin{aligned} g_{s s}= & {} \frac{3\pi ^2\left( q_{e}^2+q_{m}^2\right) -\pi s+3 s^2}{2 s \left( -\pi ^2 \left( q_{e}^2+q_{e}^2\right) +\pi s+3 s^2\right) }, \nonumber \\ g_{s q_{e}}= g_{q_{e} s}= & {} -\frac{2 \pi ^2 q_{e}}{-\pi ^2 \left( q_{e}^2+q_{m}^2\right) +\pi s+3 s^2}, \nonumber \\ g_{q_{e} q_{e}}= & {} \frac{4 \pi ^2 s}{-\pi ^2 \left( q_{e}^2+q_{m}^2\right) +\pi s+3 s^2}. \end{aligned}$$
(20)

From the metric in the energy representation in Eq. (20) using the preceding formula the thermodynamic scalar curvature R in terms of the variables \(s, q_{e}\) and \(q_{m}\) may be expressed from the standard Riemannian geometry formulation as

$$\begin{aligned} R= & {} - \frac{N}{D}, \nonumber \\ N= & {} (\pi ^2 q_{m}^2+3 s^2)(3\pi ^4(q_{e}^2+ q_{m}^2)^2+\pi ^3(-3q_{e}^2+q_{m}^2)s \nonumber \\&+ 12 \pi ^2(q_{e}^2+3 q_{m}^2) s^2 - 9\pi s^3+9 s^4),\nonumber \\ D= & {} s(\pi ^2(q_{e}^2+3 q_{m}^2)-\pi s + 3 s^2)^2(-\pi ^2(q_{e}^2+q_{m}^2)\nonumber \\&+\pi s + 3 s^2). \end{aligned}$$
(21)

For our purpose of analyzing the phase structure of the four dimensional dyonic charged black hole it would be convenient to express the thermodynamic scalar curvature R in terms of the alternative variables \(s, \phi _{e}\) and \(q_{m}\) as

$$\begin{aligned} R= & {} - \frac{A}{B}, \nonumber \\ A= & {} (\pi ^2 q_{m}^2+3 s^2)(3 \pi ^4 q_{m}^4+9 s^4+3 \pi s^3 (-3+4 \phi _{e}^2)\nonumber \\&+\pi ^3 q_{m}^2 s(1+6\phi _{e}^2)+3 \pi ^2 s^2(12 q_{m}^2-\phi _{e}^2+\phi _{e}^4)),\nonumber \\ B= & {} s(3\pi ^2 q_{m}^2+3 s^2+\pi s(-1+\phi _{e}^2))^2(-\pi ^2 q_{m}^2\nonumber \\&+ 3 s^2+\pi (s-s \phi _{e}^2)). \end{aligned}$$
(22)

The phase structure of the dyonic charged black hole may now be investigated by studying the variation of the thermodynamic scalar curvature R with the temperature T using Eqs. (22) and (15).Footnote 1 A comparison of the plots for the free energy of the dyonic charged AdS black hole in Fig. 1 and those for the thermodynamic scalar curvature R with the temperature T in Fig. 3 clearly shows the correspondence between the two. As mentioned earlier the thermodynamic scalar curvature R is a multivalued function of the thermodynamic parameters in the neighborhood of a first order phase transition similar to the free energy G. The red curve in Fig. 1 for the value of the magnetic charge \( q_m=0.095 \) corresponds to the subcritical regime accordingly has three distinct branches moving in the direction of the increasing temperature T we first encounter the branch on the left that corresponds to the ‘small black hole’ phase (I). As the temperature T is increased, the system moves toward the right in the graph to reach the first order phase transition temperature at \( T=0.2137 \) where the ‘small black hole’ branch (I) and the ‘large black hole’ branch (III) intersect each other forming a ‘swallowtail’. At this temperature, the black hole makes a transition from the ‘small black hole’ phase to the ‘large black hole’ phase. As the temperature is further increased the system continues along the branch corresponding to the ‘large black hole’ phase.

Fig. 3
figure 3

Plots of R with T for \( \phi _e = 0.6 \). The plots a, b with red and green curves are for \( q_m =0.095 \) and \(q_m = 0.1\), respectively, while the blue curve in plot c is for critical value \( q_m = 0.107 \). In these plots, the R axes have been scaled down with a factor of 100 and the T axes are scaled up by the same factor to bring the important features of the plots within a suitable region

Now from the red curve for the value of the magnetic charge \(q_m=0.095\) shown in Fig. 3a for the R vs. T plot a behavior similar to that of the red curve in free energy G vs. the temperature T plot described above may be observed. In this plot also, in Fig. 3a moving in the direction of the increasing temperature T the branch on the left that corresponds to the ‘small black hole’ phase (I) is first encountered. As the temperature T is further increased, the system moves toward the right to reach the first order phase transition temperature at \( T=0.2174 \) where the ‘small black hole’ branch (I) and the ‘large black hole’ branch (III) intersect each other. For higher temperatures the system continues along the branch corresponding to the‘large black hole’ phase. In Table 1 we summarize the values of the first order phase transition temperatures \(T_f\) obtained from the free energy G vs. the temperature T plots in Fig. 1 and the thermodynamic scalar curvature R vs. T plots in the Fig. 3. It may be noted from the preceding table that the difference in the values of the temperature \(T_f\) for the first order phase transition obtained from both the GT plots and the RT plots, respectively, matches up to the second decimal place. At this point it must be emphasized that the first order phase transition temperature obtained from the free energy G vs. the temperature T plot essentially corresponds to the Maxwell construction signifying equal free energy in the coexisting phases. Whereas the corresponding temperature obtained from the thermodynamic scalar curvature R vs. the temperature T plot through the crossing of the distinct branches is characterized by the R crossing method proposed by us as an alternative to the Maxwell construction outlined in [29, 30, 32]. This essentially corresponds to the equality of the correlation length \(\xi \) in the coexisting phases proposed as an extension of Widom’s microscopic approach to phase transitions. It also must be emphasized here that unlike the subject of black hole thermodynamics where no experimental results are available for comparison our alternative R crossing method for characterization of a first order phase transition exhibits a better fit with experimental data for simple fluids as described in [32].

Table 1 Table showing the values of the temperature \(T_f\) for the first order phase transition obtained form both the GT plots and the RT plots for a fixed value of \(\phi _e =0.6\) and varying values of \(q_m\)

Further observe now from the plots for the thermodynamic scalar curvature R vs. temperature T that upon increasing the value of the magnetic charge \( q_m \), the ‘small black hole’ branch (I) and the ‘large black hole’ branch (III) recede away from each other as one approaches criticality. At the critical point the crossing of the two branches of the thermodynamic scalar curvature R completely disappear resulting in a divergence of R as predicted by Eq. (18). The blue curve in Fig. 3 corresponds to the critical point of phase transition which clearly shows that both branches of the thermodynamic scalar curvature extend to infinity.

It may be observed from Table 1 that the thermodynamic scalar curvature diverges at a critical temperature which matches well with the critical temperature obtained from the free energy G vs. temperature T plot (1). In other words the critical value of the temperature obtained from the thermodynamic scalar curvature R vs. the temperature T plot in Fig. 3c almost coincides with the value of the critical temperature obtained from the free energy G vs. the temperature T plot corresponding to the blue curve in Fig. 1. Beyond the critical point the distinct subcritical phases of the small and large black holes disappear resulting in a uniform supercritical phase exactly similar to the case of a liquid–gas phase transition. Notice, however, that, for the case of fluids as described in [32], the fluid retains the memory of the subcritical phases across a locus of the maxima of the correlation length which is termed the Widom line in the literature, which serves as a crossover line for dynamical fluid properties and divides the supercritical regime into a liquid like and gas like region. The significance of such a Widom line in black hole thermodynamics, however, is not quite clear although just as in [32] it is possible to construct the Widom line through the locus of the maxima of the thermodynamic scalar curvature R in the supercritical regime.

5 Summary and discussions

In summary we have investigated the thermodynamics, phase transition and critical phenomena of four dimensional dyonic charged AdS black holes using the framework of thermodynamic geometries. Unlike [38] where the cosmological constant is considered as the thermodynamic pressure in our study we have adopted a more conventional approach where the cosmological constant is a fixed parameter for the black hole solution. In this context we have reproduced the first order liquid–gas like phase transition with coexisting phases in this more simple scenario using a mixed canonical–grand canonical ensemble where the magnetic charge is held fixed and the electric charge is allowed to vary. Due to the symmetrical appearance of the electric and the magnetic charge in the Smarr formula, in the alternative setting of a fixed electric charge and varying magnetic charge the thermodynamic behavior is expected to be identical and does not merit a separate analysis. Our analysis in this simpler scenario for the Gibbs free energy as a function of the temperature clearly reproduces the typical swallowtail feature characterizing the first order liquid–gas like phase transition and coexistence between a small and a large black hole phase in the subcritical regime.

The thermodynamic metric for the dyonic charged black hole is then obtained in the more convenient Weinhold picture as a Hessian of the internal energy with respect to the entropy S and the electric charge \(q_e\). The thermodynamic scalar curvature R for this black hole is then obtained using standard Riemannian geometric techniques for the Ricci scalar. Analysis of the variation of the thermodynamic scalar curvature R as a function of the temperature T clearly demonstrates the expected branching behavior signifying a first order phase transition. The plot of R vs. the temperature T exhibits the crossing of the branches at the first order phase transition temperature and the fixed value of the magnetic charge \(q_m\) in accordance with our R crossing method that serves as an alternative to the conventional Maxwell construction. The value of the magnetic charge for the first order phase transition obtained through the R crossing method compares favorably with and is almost identical to that obtained from the usual Maxwell construction and the equality of the Gibbs free energy G for the coexisting phases. For a further increase of the magnetic charge away from the subcritical regime for the first order phase transition values finally leads to a critical point signifying a second order phase transition where the thermodynamic scalar curvature R exhibits an expected divergence. The branching and subsequent crossing behavior leading to a divergence at the critical point of the thermodynamic scalar curvature R is completely similar to that for the van der Waals gas described in [29, 42].

Our analysis clearly establishes and further corroborates our approach for studying the phase structure of AdS black holes in the framework of thermodynamic geometry and proves our proposal for the R crossing method as an alternative to the conventional Maxwell construction and equality of the Gibbs free energy required for phase coexistence. An important open problem for future investigation in this scenario is to implement the framework of thermodynamic geometry to describe extended black hole thermodynamics which includes the cosmological constant as a thermodynamic pressure. In addition it would be interesting to construct the Widom line in the supercritical regime through the locus of the maxima of the thermodynamic scalar curvature \(R_\mathrm{max}\) as suggested by us and investigate the significance of this Widom line in the context of black hole phase transitions.