The action of Einstein’s gravity in AdS spacetime is given by
where
G is the gravitation constant,
is the negative cosmological constant and
l is the AdS radius. We propose the NED Lagrangian as follows:
where
is the Lorenz invariant and
E and
B are the electric and magnetic fields, correspondingly. The coupling
has the dimension
, and the dimensionless parameter
. The weak-field limit of Lagrangian (2) is the Maxwell’s Lagrangian. The Lagrangian (2) at
becomes the rational NED Lagrangian [
13]. The NED Lagrangian (2) for some values of
was used in the inflation scenario [
14,
15,
16,
17]. From action (1) one finds the Einstein and field equations
where
. The energy-stress tensor reads
We consider here spherical symmetry with the line element
The magnetic black holes possess the magnetic field
where
q is the magnetic charge. The metric function is given by [
18]
with the mass function
where
is an integration constant (the Schwarzschild mass) and
being the energy density. We obtain the energy density
where the magnetic energy density found from Eq. (5) is
Making use of Eqs. (8) and (9) we obtain the mass function
where
is the hypergeometric function. The magnetic energy is given by
where
is Gamma-function. From Eqs. (7) and (10) one finds the metric function
We use the relation [
19]
for
, which will be used to obtain the asymptotic of the metric function as
. When the Schwarzschild mass is zero (
) and as
, the asymptotic is
We imply that
. Then from Eq. (14) we find
that is a necessary condition to have the spacetime regular. We explore the transformation [
19]
to obtain the asymptotic of the metric function as
. By virtue of Eqs. (13) and (15) we find
where the relation
and
were used. Making use of Eqs. (13) and (16) as
when the cosmological constant vanishes (
) we find
where
is the ADM mass (the total black hole mass as
). It follows from Eq. (17) that corrections to the Reissner–Nordström solution are
. When
the metric function (17) is converted into the Reissner–Nordström metric function. The plot of metric function (12) is given in
Figure 1 with
,
,
,
.