1 Introduction

Nowadays, the physics of black holes (BHs) attracts much attention. Especially the cases of magnetically and electrically charged BHs are of interest. Dyonic BH (with magnetic and electric charges) solutions were obtained in the string action [1,2,3,4] and in the theory of supergravity [5,6,7,8]. Dyonic BH solutions have applications in the theory of superconductivity and thermodynamics. In [9] the Hall conductivity in the framework of the AdS/CFT correspondence was studied, and the Nernst effect was described [10]. Thermodynamic properties of dyonic BH, its dual field theory, phase transitions and other critical phenomena were investigated in [11]. These and other investigations show the importance of studying dyonic BHs.

In this paper we study dyonic and magnetic BHs based on nonlinear electrodynamics (NED). NED is used to solve the problems of singularities in the center of charges and the infinite self-energy problem. The first model of NED that can solve problems of singularities was proposed by Born and Infeld (BI) [12]. It was shown that in QED quantum corrections produce NED [13]. Other NED models [14,15,16,17,18,19] also can solve the singularity problems. NED in general relativity (GR) was considered in [20,21,22,23,24,25,26,27,28,29,30,31] and thermodynamics of BHs was investigated in [32,33,34,35,36,37]. The phase transitions in electrically and magnetically charged BHs were investigated in [38,39,40,41,42,43]. It is worth noting that the universe inflation can be described by NED coupled with GR [44,45,46,47,48,49,50,51,52].

The effect of vacuum birefringence occurs in QED, taking into account loop corrections, when the external magnetic field is present. This phenomenon is of experimental interest [53,54,55]. In BI electrodynamics the effect of birefringence is absent but in BI-type electrodynamics with two parameters the birefringence phenomenon holds [56]. Thus, models of NED that produce the phenomenon of vacuum birefringence are of definite interest.

In Sect. 2 we propose a new model of NED with the two parameters \(\beta \) and \(\gamma \). The effect of vacuum birefringence is studied. It is shown that at \(\gamma =2\beta \) the birefringence phenomenon is absent. We obtain the range of electromagnetic fields when the causality and unitarity principles hold. It was demonstrated in Sect. 3 that the dual symmetry is violated. We show that a singularity of the electric field in the center of point-like charges is not present and the maximum of the electric field in the center is \(E(0)=1/\sqrt{\beta }\). We obtain the corrections to Coulomb’s law that are in the order of \(\mathcal{O}(r^{-6})\). In Sect. 4 we show that the scale invariance is broken due to the presence of dimensional parameters. We obtain the dyonic solution in Sect. 5. In Sect. 6 we study the magnetic BH, and the mass, the metric function and their asymptotic limit as \(r\rightarrow \infty \) are found. It is demonstrated that the magnetic mass of BHs is finite. The BH thermodynamics and the thermal stability are investigated in Sect. 7. We obtain the Hawking temperature, the heat capacity, the Helmholtz free energy and show the possibility of phase transitions in BHs. Section 8 is for our conclusion.

We use units with \(c=\hbar =1\) and the metric signature \(\text{ diag }(-1,1,1,1)\).

2 The model of nonlinear electrodynamics

We propose the NED with the Lagrangian density

$$\begin{aligned} \mathcal{L} = -\frac{\mathcal{F}}{\sqrt{2\beta \mathcal{F}+1}}+\frac{\gamma }{2}\mathcal{G}^2, \end{aligned}$$
(1)

where the parameters \(\beta \) and \(\gamma \) possess the dimensions of (length)\(^4\), \(\mathcal{F}=(1/4)F_{\mu \nu }F^{\mu \nu }=(B^2-E^2)/2\), \(\mathcal{G}=(1/4)F_{\mu \nu }\tilde{F}^{\mu \nu }=\mathbf{E} \cdot \mathbf{B} \), \(F_{\mu \nu }=\partial _\mu A_\nu -\partial _\nu A_\mu \) is the field tensor, and \(\tilde{F}^{\mu \nu }=(1/2)\epsilon ^{\mu \nu \alpha \beta }F_{\alpha \beta }\) is the dual tensor. Let us study the effect of vacuum birefringence in the model under consideration. Theoretically, the phenomenon of vacuum birefringence holds in QED due to quantum loop corrections [13]. But this effect too weak to be verified now in experiment [53, 54]. The Taylor series of the Lagrangian density (1) at \(\beta \mathcal{F}\ll 1\) is given by

$$\begin{aligned} \mathcal{L} = -\mathcal{F}+\beta \mathcal{F}^2-\frac{3}{2}\beta ^2\mathcal{F}^3+\frac{\gamma }{2}\mathcal{G}^2+\mathcal{O}\left( (\beta \mathcal{F})^4\right) . \end{aligned}$$
(2)

In our model the correspondence principle holds because the Lagrangian density (1) becomes the Maxwell Lagrangian density \(\mathcal{L}_{M}=- \mathcal{F}\) for weak electromagnetic fields, \(\beta \mathcal{F}\ll 1\). The Lagrangian density studied in [57] reads

$$\begin{aligned} \mathcal{L} =- \frac{1}{2}\left( \mathbf{B} ^2-\mathbf{E} ^2\right) +a\left( \mathbf{B} ^2-\mathbf{E} ^2\right) ^2 +b\left( \mathbf{E} \cdot \mathbf{B} \right) ^2. \end{aligned}$$
(3)

Comparing Eqs. (2) and (3), up to \(\mathcal{O}\left( (\beta \mathcal{F})^2\right) \), we find that \(4a=\beta \), \(b=\gamma /2\). According to [57] the indices of refraction \(n_\perp \), \(n_\Vert \) for two polarizations, perpendicular and parallel to the external magnetic induction field \(\bar{B}\), are given by

$$\begin{aligned} n_\perp= & {} 1+4a\bar{B}^2=1+\beta \bar{B}^2,~~~~\nonumber \\ n_\Vert= & {} 1+b\bar{B}^2=1+\frac{\gamma }{2}\bar{B}^2. \end{aligned}$$
(4)

Thus, one has the effect of vacuum birefringence when \(n_\perp \ne n_\Vert \). In accordance with the Cotton–Mouton (CM) effect [55] the difference in the indices of refraction is

$$\begin{aligned} \triangle n_\text {CM}=n_\Vert -n_\perp =k_\text {CM}\bar{B}^2. \end{aligned}$$
(5)

Making use of Eqs. (4) and (5) we obtain the CM coefficient \(k_\text {CM}=\gamma /2-\beta \). Experiments gave the bounds

$$\begin{aligned} k_\text {CM}= & {} (5.1\pm 6.2)\times 10^{-21} \text{ T }^{-2}~~~~~~~~~~(\hbox {BMV}),\nonumber \\ k_\text {CM}= & {} (4\pm 20)\times 10^{-23} \text{ T }^{-2}~~~~~~~~~~~~(\hbox {PVLAS}). \end{aligned}$$
(6)

One finds the bound on the parameters \(\gamma /2-\beta \le (4\pm 20)\times 10^{-23} \text{ T }^{-2}\) from the PVLAS experiment. In the case of \(\gamma =2\beta \) the phenomenon of vacuum birefringence disappears. The bound on the CM coefficient in QED is \(k_\text {CM}\le 4.0\times 10^{-24}\text{ T }^{-2}\) [53].

2.1 The causality and unitarity principles

The general principles of causality and unitarity have to be satisfied. The causality principle says that the group velocity of excitations over the background should be less than the speed of light. In this case tachyons are absent in the theory. The unitarity principle guarantees the absence of ghosts. The principles of causality and unitarity require the inequalities [58]

$$\begin{aligned}&\mathcal{L}_\mathcal{F}\le 0,~~~~\mathcal{L}_{\mathcal{F}\mathcal{F}}\ge 0,~~~~\mathcal{L}_{\mathcal{G}\mathcal{G}}\ge 0, \nonumber \\&\quad \mathcal{L}_\mathcal{F}+2\mathcal{F} \mathcal{L}_{\mathcal{F}\mathcal{F}}\le 0,~~~~2\mathcal{F} \mathcal{L}_{\mathcal{G}\mathcal{G}}-\mathcal{L}_\mathcal{F}\ge 0, \end{aligned}$$
(7)

where \(\mathcal{L}_\mathcal{F}\equiv \partial \mathcal{L}/\partial \mathcal{F}\), \(\mathcal{L}_\mathcal{G}\equiv \partial \mathcal{L}/\partial \mathcal{G}\). With the help of Eq. (1) we find

$$\begin{aligned} \mathcal{L}_\mathcal{F}= & {} -\frac{\beta \mathcal{F}+1}{(1+2\beta \mathcal{F})^{3/2}},~~~~ \mathcal{L}_{\mathcal{G}\mathcal{G}}=\gamma ,~~~~ \nonumber \\ 2\mathcal{F}\mathcal{L}_{\mathcal{G}\mathcal{G}}-\mathcal{L}_{\mathcal{F}}= & {} 2\mathcal{F}\gamma +\frac{1+\beta \mathcal{F}}{(1+2\beta \mathcal{F})^{3/2}}, \nonumber \\ \mathcal{L}_\mathcal{F}+2\mathcal{F} \mathcal{L}_{\mathcal{F}\mathcal{F}}= & {} \frac{\beta \mathcal{F}-1}{(1+2\beta \mathcal{F})^{5/2}},~~~~ \nonumber \\ \mathcal{L}_{\mathcal{F}\mathcal{F}}= & {} \frac{\beta (2+\beta \mathcal{F})}{(1+2\beta \mathcal{F})^{5/2}}. \end{aligned}$$
(8)

Making use of Eqs. (7) and (8), the principles of causality and unitarity require that \(-1\le \beta \mathcal{F}\le 1\) (at \(\gamma =0\)). In the case \(\mathbf{E} =0\) we have the restriction \(|\mathbf{B} |\le \sqrt{2/\beta }\). If \(\mathbf{B} =0\) one has the restriction \(|\mathbf{E} |\le \sqrt{2/\beta }\).

3 Field equations

In this section we consider flat space-time. The equations of motion are given by

$$\begin{aligned} \partial _\mu \left( \mathcal{L}_\mathcal{F}F^{\mu \nu } +\mathcal{L}_\mathcal{G}\tilde{F}^{\mu \nu } \right) =0. \end{aligned}$$
(9)

Making use of Eqs. (1) and (9) we obtain the field equations,

$$\begin{aligned} \partial _\mu \left( \frac{-(\beta \mathcal{F}+1)F^{\mu \nu }}{(1+2\beta \mathcal{F})^{3/2}} +\gamma \mathcal{G}\tilde{F}^{\mu \nu }\right) =0. \end{aligned}$$
(10)

The electric displacement field is \(\mathbf{D} =\partial \mathcal{L}/\partial \mathbf{E} \),

$$\begin{aligned} \mathbf{D} =\frac{1+\beta \mathcal{F}}{(1+2\beta \mathcal{F})^{3/2}} \mathbf{E} +\gamma \mathcal{G}{} \mathbf{B} . \end{aligned}$$
(11)

The magnetic field is given by \(\mathbf{H} =-\partial \mathcal{L}/\partial \mathbf{B} \),

$$\begin{aligned} \mathbf{H} = \frac{1+\beta \mathcal{F}}{(1+2\beta \mathcal{F})^{3/2}}{} \mathbf{B} -\gamma \mathcal{G}{} \mathbf{E} . \end{aligned}$$
(12)

We use the decomposition of Eqs. (11) and (12) as follows [59]:

$$\begin{aligned} D_i=\varepsilon _{ij}E^j+\nu _{ij}B^j,~~~~H_i=(\mu ^{-1})_{ij}B^j-\nu _{ji}E^j. \end{aligned}$$
(13)

From Eqs. (11), (12) and (13) one obtains

$$\begin{aligned} \varepsilon _{ij}= & {} \delta _{ij}\varepsilon ,~~~~(\mu ^{-1})_{ij}=\delta _{ij}\mu ^{-1},~~~~\nu _{ji}=\delta _{ij}\nu , \nonumber \\ \varepsilon= & {} \frac{1+\beta \mathcal{F}}{(1+2\beta \mathcal{F})^{3/2}},~~~~ \mu ^{-1}=\varepsilon =\frac{1+\beta \mathcal{F}}{(1+2\beta \mathcal{F})^{3/2}},~~~~\nonumber \\ \nu= & {} \gamma \mathcal{G}. \end{aligned}$$
(14)

Using Eqs. (11) and (12), the field equations (10) can be represented as the Maxwell equations

$$\begin{aligned} \nabla \cdot \mathbf{D} = 0,~~~~ \frac{\partial \mathbf{D} }{\partial t}-\nabla \times \mathbf{H} =0. \end{aligned}$$
(15)

Because \(\varepsilon _{ij}\), \((\mu ^{-1})_{ij}\), and \(\nu _{ji}\) depend on electromagnetic fields, Eq. (15) are nonlinear Maxwell’s equations. Making use of the Bianchi identity \(\partial _\mu \tilde{F}^{\mu \nu }=0\), we find the second pair of Maxwell’s equations to be

$$\begin{aligned} \nabla \cdot \mathbf{B} = 0,~~~~ \frac{\partial \mathbf{B} }{\partial t}+\nabla \times \mathbf{E} =0. \end{aligned}$$
(16)

From Eqs. (11) and (12) one obtains the equation

$$\begin{aligned} \mathbf{D} \cdot \mathbf{H} =(\varepsilon ^2-\nu ^2)\mathbf{E} \cdot \mathbf{B} +2\varepsilon \nu \mathcal{F}. \end{aligned}$$
(17)

Because \(\mathbf{D} \cdot \mathbf{H} \ne \mathbf{E} \cdot \mathbf{B} \), the dual symmetry is broken in our model [60]. In classical electrodynamics and in BI electrodynamics the dual symmetry occurs but in QED and generalized BI electrodynamics [56] the dual symmetry is violated.

3.1 Point-like charges and their fields

In electrostatics, the electric displacement field for the point-like particle (\(\mathbf{B} =0\)), in Gaussian units, obeys the equation

$$\begin{aligned} \nabla \cdot \mathbf{D} =4\pi q_e\delta (\mathbf{r} ), \end{aligned}$$
(18)

where \(q_e\) is the electric charge. The solution to Eq. (18), using Eq. (11), is given by

$$\begin{aligned} \frac{E\left( 1-\beta E^2/2\right) }{(1-\beta E^2)^{3/2}}=\frac{q_e}{r^2}. \end{aligned}$$
(19)

When \(r\rightarrow 0\) the solution to Eq. (19) reads

$$\begin{aligned} E(0)=\sqrt{\frac{1}{\beta }}. \end{aligned}$$
(20)

There is no singularity of the electric field in the center of point-like charges. The field (20) is the maximum of the electric field at the origin of charged particles. A similar feature is found in BI electrodynamics. In classical electrodynamics the electric field possesses a singularity in the center of the charges. Let us introduce the unitless variables

$$\begin{aligned} x=\frac{\sqrt{2} r^2}{q_e\sqrt{\beta }},~~~~y=\sqrt{\frac{\beta }{2}}E. \end{aligned}$$
(21)

Equation (19) in terms of unitless variables (21) is written as

$$\begin{aligned} \frac{(1-2y^2)^{3/2}}{y(1-y^2)}=x. \end{aligned}$$
(22)
Fig. 1
figure 1

The function y vs. x

Table 1 Solutions to Eq. (22)

The function y(x) is depicted in Fig. 1. One can see numerical real and positive solutions to Eq. (22) in Table 1. As \(r\rightarrow \infty \) the function y(x) behaves as

$$\begin{aligned} y=\frac{1}{x}-\frac{2}{x^3}+\mathcal{O}(x^{-5}). \end{aligned}$$
(23)

Making use of Eqs. (21) and (23) one obtains the asymptotic limit of the electric field as \(r\rightarrow \infty \),

$$\begin{aligned} E(r)=\frac{q_e}{r^2}-\frac{\beta q_e^3}{r^6}+\mathcal{O}(r^{-10}). \end{aligned}$$
(24)

Equation (24) shows that the correction to Coulomb’s law is in the order of \(\mathcal{O}(r^{-6})\). At \(\beta =0\) we have the Coulomb law \(E=q_e/r^2\) of Maxwell’s electrodynamics.

4 The energy-momentum tensor and dilatation current

By varying the action on the metric tensor \(g_{\mu \nu }\) we obtain the symmetrical energy-momentum tensor

$$\begin{aligned} T_{\mu \nu }=\frac{2}{\sqrt{-g}}\frac{\partial (\sqrt{-g} \mathcal{L})}{\partial g^{\mu \nu }}. \end{aligned}$$
(25)

Making use of Eqs. (1) and (25) one finds the symmetrical energy-momentum tensor

$$\begin{aligned} T_{\mu \nu }= & {} -\frac{(\beta \mathcal{F}+1)F_\mu ^{~\alpha }F_{\nu \alpha }}{(1+2\beta \mathcal{F})^{3/2}}\nonumber \\&+\frac{1}{2}\gamma \mathcal{G}(F_\mu ^{~\alpha }\tilde{F}_{\nu \alpha }+F_\nu ^{~\alpha }\tilde{F}_{\mu \alpha }) -g_{\mu \nu }\mathcal{L}. \end{aligned}$$
(26)

The trace of the energy-momentum tensor (26) is

$$\begin{aligned} \mathcal{T}\equiv T_\mu ^{~\mu }=\frac{4\beta \mathcal{F}^2}{(1+2\beta \mathcal{F})^{3/2}}+2\gamma \mathcal{G}^2. \end{aligned}$$
(27)

In classical electrodynamics at \(\beta =\gamma =0\) one arrives at the traceless energy-momentum tensor. The dilatation current and its divergence are given by

$$\begin{aligned} D_{\mu }=x^\alpha T_{\mu \alpha },~~~~\partial _\mu D^{\mu }=\mathcal{T}. \end{aligned}$$
(28)

Thus, the scale (dilatation) symmetry is broken as \(\mathcal{T}\ne 0\) but in classical electrodynamics the dilatation symmetry holds. The energy density, obtained from Eq. (26), is given by

$$\begin{aligned} \rho =T^{~0}_0=\frac{(1+\beta \mathcal{F})E^2}{(1+2\beta \mathcal{F})^{3/2}} +\frac{\mathcal{F}}{\sqrt{1+2\beta \mathcal{F}}} +\frac{\gamma }{2}\mathcal{G}^2. \end{aligned}$$
(29)

The electric energy density at \(\mathbf{B} =0\), according to Eq. (29), is

$$\begin{aligned} \rho _E=T^{~0}_0=\frac{E^2}{2(1-\beta E^2)^{3/2}}. \end{aligned}$$
(30)

It worth noting that the energy density (30), according to Eq. (20), is infinite at \(r=0\). At \(\mathbf{E} =0\) the magnetic energy density becomes

$$\begin{aligned} \rho _M=T^{~0}_0=\frac{B^2}{2\sqrt{(1+\beta B^2)}}. \end{aligned}$$
(31)

5 The dyonic solution

To simplify the problem, in the following, we consider the case \(\gamma =0\). When NED is the source of gravity the action is

$$\begin{aligned} I=\int d^4x\sqrt{-g}\left( \frac{1}{16\pi G}R+ \mathcal{L}\right) , \end{aligned}$$
(32)

where \(\mathcal{L}\) is given by Eq. (1), G is the Newton constant, \(8\pi G\equiv M_{Pl}^{-2}\), and \(M_{Pl}\) is the reduced Planck mass. The Einstein equation is given by

$$\begin{aligned} R_{\mu \nu }-\frac{1}{2}g_{\mu \nu }R=-8\pi GT_{\mu \nu }. \end{aligned}$$
(33)

The equation of motion for the electromagnetic fields, obtained by varying the action (32) on electromagnetic potentials, is

$$\begin{aligned} \partial _\mu \left( \sqrt{-g}F^{\mu \nu }\mathcal{L}_\mathcal{F}\right) =0. \end{aligned}$$
(34)

We consider the metric to be the static and spherically symmetric, which is realized when \(T_0^{~0}=T_r^{~r}\),

$$\begin{aligned} ds^2=-A(r)dt^2+\frac{1}{A(r)}dr^2+r^2(d\vartheta ^2+\sin ^2\vartheta d\phi ^2), \end{aligned}$$
(35)

and the metric function is given by

$$\begin{aligned} A(r)=1-\frac{2M(r)G}{r}. \end{aligned}$$
(36)

The mass function for any asymptotically flat metric is

$$\begin{aligned} M(r)= & {} m_S+\int ^r_0\rho (r)r^2dr=m_S+m_{el}\nonumber \\&-\int ^\infty _r\rho (r)r^2dr, \end{aligned}$$
(37)

where \(m_S\) is the Schwarzschild mass (the constant of integration in the Einstein equation) and \(m_{el}=\int ^\infty _0\rho (r)r^2dr\) is the electromagnetic mass. In the following we consider BH solutions, where \(m=m_S+m_{el}\) is the total mass of the BH. The solutions of the field equations are given by [39, 40]

$$\begin{aligned} B^2=\frac{q^2_m}{r^4},~~~~E^2=\frac{q_e^2}{\mathcal{L}^2_\mathcal{F}r^4}, \end{aligned}$$
(38)

and \(q_m\) and \(q_e\) are the magnetic and electric charges, respectively. Making use of Eqs. (8) and (38) we obtain

$$\begin{aligned} E^2= & {} \frac{q_e^2(1+2\beta \mathcal{F})^3}{r^4(1+\beta \mathcal{F})^2}, \nonumber \\ \beta \mathcal{F}= & {} a-b\frac{(1+2\beta \mathcal{F})^3}{(1+\beta \mathcal{F})^2},~~~a=\frac{\beta q^2_m}{2r^4},~~~ b=\frac{\beta q_e^2}{2r^4}, \end{aligned}$$
(39)

where a and b are unitless variables. It should be noted that in the pure electric case (\(q_m=0\), \(\mathbf{B} =0\)) the solution to Eq. (39) coincides with the solution to Eq. (19) in flat space-time. Thus, there is the self-consistent solution in GR. From Eq. (39) one finds the cubic equation for \(y\equiv \beta \mathcal{F}\)

$$\begin{aligned}&(8b+1)y^3+(12b+2-a)y^2\nonumber \\&\quad +(6b+1-2a)y+b-a=0. \end{aligned}$$
(40)

The real solution to Eq. (40) corresponds to arbitrary magnetic and electric charges. Let us consider the simple self-dual solution with \(q_e=q_m\) (\(a=b\)). Then from Eq. (40) we obtain the real solution \(y=0\) (\(\mathcal{F}=0\), \(E=B\)) and two complex nonphysical solutions. From Eq. (29) one finds \(\rho =E^2=B^2\), and making use of Eq. (37) and \(E^2=q^2/r^4\) (\(q\equiv q_e=q_m\)), we obtain

$$\begin{aligned} M(r)=m-\frac{q^2}{r}. \end{aligned}$$
(41)

With the help of Eq. (36) one finds the metric function

$$\begin{aligned} A(r)=1-\frac{2mG}{r}+\frac{2q^2G}{r^2}. \end{aligned}$$
(42)

The metric function (42) represents the Reissner–Nordstöm (RN) solution, where \(q^2_e+q^2_m=2q^2\). The similar result, in the self-dual case, holds in BI electrodynamics [39] and in logarithmic electrodynamics [43].

6 The magnetic black hole

Here, we consider the static magnetic BH. In this case (\(q_e=0\)) the invariant is \(\mathcal{F}=q_m^2/(2r^4)\). From Eq. (31) one finds the magnetic energy density

$$\begin{aligned} \rho _M=\frac{q_m^2}{2r^2\sqrt{r^4+\beta q_m^2}}. \end{aligned}$$
(43)

Making use of Eqs. (37) and (43) we obtain the mass function

$$\begin{aligned} M(r)=m-\frac{q_m^2}{2}\int _r^\infty \frac{dr}{\sqrt{r^4+\beta q_m^2}}. \end{aligned}$$
(44)

The integral in Eq. (44) represents the elliptic integral of the first kind. We find the BH magnetic mass

$$\begin{aligned} m_M=\int _0^\infty \rho _M(r)r^2dr=\frac{2\Gamma ^2(5/4)q_m^{3/2}}{\sqrt{\pi }\beta ^{1/4}}\approx 0.927\frac{q_m^{3/2}}{\beta ^{1/4}}, \nonumber \\ \end{aligned}$$
(45)

where \(\Gamma \) is the gamma-function. At \(q_m=0\) we have \(m_M=0\), and one arrives at the Schwarzschild BH. For large r we can calculate the mass function (44) making use of the relation (as \(r\rightarrow \infty \))

$$\begin{aligned} \frac{1}{\sqrt{r^4+\beta q_m^2}}=\frac{1}{r^2}-\frac{\beta q_m^2}{2r^6}+\frac{3\beta ^2 q_m^4}{8r^{10}}+\mathcal{O}(r^{-13}). \end{aligned}$$
(46)

Taking into account Eqs. (44) and (46) we obtain the mass function as \(r\rightarrow \infty \),

$$\begin{aligned} M(r)=m-\frac{q_m^2}{2r}+\frac{\beta q_m^4}{20r^5}-\frac{\beta ^2 q_m^6}{48r^9}+\mathcal{O}(r^{-12}). \end{aligned}$$
(47)

Making use of Eqs. (36) and (47) we find the metric function as \(r\rightarrow \infty \)

$$\begin{aligned} A(r)= & {} 1-\frac{2mG}{r}+\frac{q_m^2G}{r^2}-\frac{\beta q_m^4G}{10r^6}\nonumber \\&+\frac{\beta ^2 q_m^6G}{24r^{10}}+\mathcal{O}(r^{-13}). \end{aligned}$$
(48)

In accordance with Eq. (48), the correction to the RN solution is in the order of \(\mathcal{O}(r^{-6})\). Introducing the unitless variable \(y=r/(\sqrt{q_m}\beta ^{1/4})\), and using Eq. (45), we represent Eq. (44) as follows:

$$\begin{aligned} M(y)= & {} m-\frac{q_m^{3/2}}{2\beta ^{1/4}}\int _y^\infty \frac{dy}{\sqrt{y^4+1}} \nonumber \\= & {} m_S-\frac{q_m^{3/2}}{2\beta ^{1/4}}\left( \root 4 \of {-1}F(i\sinh ^{-1}(\root 4 \of {-1}y)|-1)\right) , \nonumber \\ \end{aligned}$$
(49)

where \(F(\varphi |k^2)\) is the elliptic function of the first kind and \(\sinh ^{-1}(x)\) is the inverse hyperbolic sinh-function. By introducing the new unitless constants \(C=m_S\beta ^{1/4}/q_m^{3/2}\), \(B=q_mG/\sqrt{\beta }\), we obtain the metric function (36) for arbitrary r

$$\begin{aligned} A(y)=1-\frac{B}{y}\left( 2C-\root 4 \of {-1}F(i\sinh ^{-1}(\root 4 \of {-1}y)|-1)\right) . \nonumber \\ \end{aligned}$$
(50)

The event horizon radii (\(y_+=r_+/(\sqrt{q_m}\beta ^{1/4})\)) for different parameters C (\(B=1\)) are presented in Table 2. The metric function (50) is depicted in Fig. 2. According to Fig. 2 there are (at \(B=1\)) BH solutions with one horizon (see Table 2).

Table 2 Horizon radii (\(B=1\))

We obtain the Ricci scalar from Eqs. (27) and (33) at \(E=0\),

$$\begin{aligned} R=8\pi G\mathcal{T}=\frac{8\pi G\beta q_m^4}{r^2(r^4+\beta q_m^2)^{3/2}}. \end{aligned}$$
(51)

As \(r\rightarrow \infty \) the Ricci scalar goes to zero, \(R\rightarrow 0\), and space-time becomes flat. But as \(r\rightarrow 0\) the curvature possesses a singularity.

7 The black hole thermodynamics

Let us study the black holes thermodynamics and the thermal stability of magnetic BHs. The Hawking temperature is defined as

$$\begin{aligned} T_H=\frac{\kappa }{2\pi }=\frac{A'(r_+)}{4\pi }, \end{aligned}$$
(52)

where \(\kappa \) is the surface gravity and \(r_+\) is the event horizon radius. Making use of Eqs. (36) and (37) we obtain the relations

$$\begin{aligned} A'(r)= & {} \frac{2 GM(r)}{r^2}\nonumber \\&-\frac{2GM'(r)}{r},~~~M'(r)=r^2\rho ,~~~M(r_+)=\frac{r_+}{2G}. \nonumber \\ \end{aligned}$$
(53)

From Eqs. (52), and (53) one finds the Hawking temperature

$$\begin{aligned} T_H=\frac{1}{4\pi \sqrt{q_m}\beta ^{1/4}}\biggl (\frac{1}{y_+}-\frac{q_mG}{\sqrt{\beta }y_+\sqrt{y_+^4+1}}\biggr ). \end{aligned}$$
(54)

Making use of Eq. (50) and the equation \(A(y_+)=0\) we obtain

$$\begin{aligned} B\equiv & {} \frac{q_mG}{\sqrt{\beta }}=\frac{y_+}{D}, \nonumber \\ D\equiv & {} (2C-\root 4 \of {-1}F(i\sinh ^{-1}(\root 4 \of {-1}y_+)|-1)). \end{aligned}$$
(55)

Substituting Eq. (55) into Eq. (54) we arrive at the equation for the Hawking temperature,

$$\begin{aligned} T_H=\frac{1}{4\pi \sqrt{q_m}\beta ^{1/4}}\biggl (\frac{1}{y_+}-\frac{1}{D\sqrt{y_+^4+1}}\biggr ). \end{aligned}$$
(56)

The plots of the functions \(T_H(y_+)\sqrt{q_m}\beta ^{1/4}\) for different parameters C are given in Fig. 3. In accordance with Fig. 3 the Hawking temperature is positive for any values of \(C\ge 0\). The case \(C=0\) corresponds to the BH with zero Schwarzschild mass (\(m_S=0\)). Figure 3 shows that there are maximums in the Hawking temperature (the Davies points) at small values of the Schwarzschild mass (\(C=0\) and \(C=0.05\)), and as a result phase transitions occur.

Fig. 2
figure 2

The plot of the function A(y) for \(B=1\). The dashed curve corresponds to \(C=0.05\), the solid curve is for \(C=0\), and the dash-dotted curve corresponds to \(C=0.3\)

Fig. 3
figure 3

The plot of the function \(T_H\sqrt{q_m}\beta ^{1/4}\) vs \(y_+\). The dashed curve corresponds to \(C=0.05\), the solid curve is for \(C=0\), and the dash-dotted curve corresponds to \(C=0.3\)

The different stability phases of the BH can be studied defining the signs of the heat capacity and the Helmholtz free energy [61]. From the Hawking entropy of the BH \(S=\text{ Area }/(4G)=\pi r_+^2/G=\pi y_+^2q_m\sqrt{\beta }/G\) we obtain the heat capacity:

$$\begin{aligned} C_q=T_H\left( \frac{\partial S}{\partial T_H}\right) _q=\frac{T_H\partial S/\partial y_+}{\partial T_H/\partial y_+}=\frac{2\pi q_m\sqrt{\beta }y_+T_H}{G\partial T_H/\partial y_+}. \nonumber \\ \end{aligned}$$
(57)

In accordance with Eq. (57) the heat capacity diverges where the Hawking temperature has an extremum, \(\partial T_H/\partial y_+=0\). Making use of Eqs. (56) and (57) we find the heat capacity in the terms of unitless variables,

$$\begin{aligned} \frac{G}{q_m\sqrt{\beta }}C_q=\frac{2\pi y_+(y_+^4+1)D\left( D\sqrt{y_+^4+1}-y_+\right) }{y_+^2\sqrt{y_+^4+1}-(y_+^4+1)^{3/2}D^2+2y_+^5D}. \nonumber \\ \end{aligned}$$
(58)

In Fig. 4 the heat capacities versus the variable \(y_+\) for different parameters C are depicted. Singularities in the heat capacity for \(C=0\) and \(C=0.05\) show the points (\(y_+\approx 1.65\) and \(y_+\approx 1.5\)) where the second-order phase transitions occur. These horizon radii (\(r_+=y_+\root 4 \of {\beta }\sqrt{q_m}\)) correspond to the maximums of the Hawking temperatures (see Fig. 3). The heat capacity in these points is changed from negative infinity to positive infinity. The whole evaporation process in the discontinuity points is separated by the early stage with negative heat capacity and the late stage with positive heat capacity at the maximum temperature. The temperature increases, for the early evaporation process, because the mass of the BH decreases. This process starts from initial unstable large BH and ends at the final stable BH. When the heat capacity is negative the BHs are unstable because of the BH evaporation. The heat capacity for \(C=0.3\) is negative because the slope in the temperature graph is negative (see Fig. 3). This shows the Schwarzschild behavior of the heat capacity.

Fig. 4
figure 4

The plot of the function \(GC_q/(q_m\sqrt{\beta })\) vs \(y_+\). The dashed curve corresponds to \(C=0.05\), the solid curve is for \(C=0\), and the dash-dotted curve corresponds to \(C=0.3\)

To compute the Helmholtz free energy we use the expression

$$\begin{aligned} F=m-T_HS, \end{aligned}$$
(59)

where the mass of the BH m plays the role of the internal energy of the BH, the Hawking temperature is \(T_H\) and the entropy reads \(S=\pi r_+^2/G\). The Bekenstein–Hawking entropy used should coincide with other definitions of the entropy because the BH entropy is a Noether charge [62]. From Eqs. (56), (59), and using the definitions \(y=r/(\sqrt{q_m}\root 4 \of {\beta })\), \(C=m_S\root 4 \of {\beta }/q_m^{3/2}\), \(B=q_mG/\sqrt{\beta }\), we obtain

$$\begin{aligned} \frac{GF}{\sqrt{q_m}\beta ^{1/4}}=BC-\frac{1}{4}\biggl (y_+-\frac{y_+^2}{D\sqrt{y_+^4+1}}\biggr ). \end{aligned}$$
(60)

Replacing Eq. (55) into Eq. (60) one finds

$$\begin{aligned} \frac{GF}{\sqrt{q_m}\beta ^{1/4}}=\frac{y_+\biggl (4C\sqrt{y_+^4+1}+y_+\biggr )}{4D\sqrt{y_+^4+1}}-\frac{y_+}{4}. \end{aligned}$$
(61)

Here, we have introduced the unitless reduced free energy \(GF/(\sqrt{q_m}\beta ^{1/4})\). The plots of the function (61) for different values of C are given in Fig. 5. The BHs with \(F > 0\) will by tunneling decay for pure radiation, but the BHs with \(F < 0\) are stable. Figure 5, as well as Fig. 4, shows that the BHs with \(C=m_S\root 4 \of {\beta }/q_m^{3/2}= 0.3\) (and for \(C>0.3\)) are unstable because the Helmholtz free energy \(F >0\) and the heat capacity \(C_q < 0\). At the corresponding Schwarzschild mass \(m_S\), BHs are unstable because of the BH evaporation. The phase at \(F <0\), \(C_q > 0\), with the stable BHs, is realized for zero Schwarzschild mass (\(C=0\)) at \(y_+<1.65\). In accordance with Figs. 4 and 5, there are other phases with \(F > 0\), \(C_q > 0\) (the unstable phase with \(C=0.05\), \(y_+<1.5\)) and \(F <0\), \(C_q < 0\) (\(C=0\), \(y_+>1.65\) and for \(C=0.05\), \(y_+>1.5\)). In the case of \(F < 0\), \(C_q < 0\) the BHs are less energetic than in the pure radiation case and therefore BHs do not decay through tunneling. Since the heat capacities are negative, the BH will increase its temperature with decreasing the mass of BHs. Such phases also hold in another model [63].

Fig. 5
figure 5

The plot of the function \(GF/(\sqrt{q_m}\beta ^{1/4})\) vs \(y_+\). The dashed curve corresponds to \(C=0.1\), the solid curve is for \(C=0\), and the dash-dotted curve corresponds to \(C=0.3\)

8 Conclusion

A new model of NED with two parameters \(\beta \) and \(\gamma \) is proposed. For weak fields our model is converted to Maxwell’s electrodynamics so that the correspondence principle holds. When \(\gamma \ne 2\beta \) the birefringence effect occurs but in the case \(\gamma = 2\beta \) there is no birefringence like in classical and BI electrodynamics. It is worth noting that in QED, due to quantum loop corrections, the birefringence effect holds. It was shown that, as \(1\ge \beta \mathcal{F}\ge -1\), the principles of causality and unitarity hold. It was demonstrated that the dual symmetry is broken in our model as well as in QED. We have shown that the singularity of the electric field at the origin of point-like particles is absent and the maximum electric field in the center is \(E(0)=1/\sqrt{\beta }\). In the case of electrostatics, the correction to the Coulomb law as \(r\rightarrow \infty \) is in the order of \(\mathcal{O}(r^{-6})\). It was shown that the scale (dilatation) symmetry is broken because of the dimensional parameters \(\beta \) and \(\gamma \).

We studied the dyonic and magnetic BHs in GR and found solutions and asymptotics as \(r\rightarrow \infty \). In the self-dual case (\(q_e=q_m\)) the corrections to Coulomb’s law and RN solutions are absent. The magnetic mass of the BH was calculated, which is finite. The mass and metric functions were calculated.

The thermal stability of BHs was studied. We calculated the Hawking temperature, the heat capacity and the Helmholtz free energy of BHs. It was shown that at some parameters C (or \(m_S\)) and event horizon radii the BHs are stable or unstable. We demonstrated that the heat capacity diverges at some event horizon radii \(r_+\) (\(y_+\)) and phase transitions of the second order take place. We discovered a new stability region of BH solutions when the heat capacity and the Helmholtz free energy are negative. In this case BHs are less energetic than in the pure radiation case and BHs do not decay via tunneling. The model proposed is of theoretical interest because of its simplicity and the presence of different thermodynamics phases of BHs.