1 Introduction

There have always been benefits in studying lower-dimensional field theoretical spacetimes such as \(2+1\) dimensions in general relativity. This is believed to be the projection of higher-dimensional cases to the more tractable situations that may inherit the physics of the intricate higher dimensions. In recent decades one proved that the cases of lower dimensions are still far from being easily understandable and this in fact entails its own characteristics. The absence of a gravitational degree of freedom such as the Weyl tensor or pure gravitational waves necessitates endowment of physical sources to fill the blank and create its own curvatures. Among these the most popular addition has been a negative cosmological constant, which affects anti-de Sitter spacetimes to the extent that it makes possible even black holes [13]. The addition of electromagnetic [4] and scalar fields [58] also are potential candidates to be considered in the same context. Beside minimally coupled massless scalar fields, which have little significance to add, non-minimally self-coupled scalar fields have also been considered. In particular, the real, radial, self-interacting scalar field with a Liouville potential among others seems promising [8]. The distinctive feature of the source in such a study is that the radial pressure turns out to be the only non-zero (i.e., \(T_{r}^{r}\ne 0\)) component of the energy-momentum tensor [8]. In effect, such a radial pressure turns out to make a naked singularity but not a black hole. Being motivated by the self-interacting scalar field in \(2+1\)-dimensional gravity we attempt in this paper to study similar physics with a nonlinear electromagnetic field, which naturally adds its own nonlinearity. Our choice for the Lagrangian in nonlinear electrodynamics (NED) is the square root of the Maxwell invariant, i.e. \(\sqrt{\left| F_{\mu \nu }F^{\mu \nu }\right| }\), where, as usual, the field tensor is defined by \(F_{\mu \nu }=\partial _{\mu }A_{\nu }-\partial _{\nu }A_{\mu }.\) This Lagrangian belongs to the class of NED with \(k\)-power law Maxwell invariant \(\left| F_{\mu \nu }F^{\mu \nu }\right| ^{k}\) [922]. A similar Lagrangian in \(3+1\) dimensions with magnetic field source has been considered in [2325], and with an electric field as well as both electric and magnetic fields in [26]. A combination of a linear Maxwell invariant with the square-root term has been investigated in [2734].

Such a Lagrangian naturally breaks scale invariance, i.e. \(x_{\mu }\rightarrow \lambda x_{\mu }\), \(A_{\mu }\rightarrow \frac{1}{\lambda }A_{\mu }\) for \(\lambda =\) constant, even in \(3+1\) dimensions, so that interesting results are expected to ensue. Let us add that such a choice of NED has the feature that it does not attain the familiar linear Maxwell limit unless \(k=1\). One physical consequence beside others of the square-root Maxwell Lagrangian is that it gives rise to confinement for geodesic particles. For a general discussion of confinement in general relativistic field theory the reader may consult [2734].

Contrary to the previous considerations [8] in this study our electric field is not radial; instead our field tensor is expressed in the form \(F_{\mu \nu }=E_{0}\delta _{\mu }^{t}\delta _{\nu }^{\theta }\) for \(E_{0}=\) constant. This amounts to the choice for the electromagnetic vector potential \(A_{\mu }=E_{0}\left( a_{0}\theta , 0,b_{0}t\right) , \) where our spacetime coordinates are labeled as \(x^{\mu }=\left\{ t,r,\theta \right\} \) and the constants \(a_{0}\) and \(b_{0}\) satisfy \(a_{0}+b_{0}=1.\) The particular choice \(a_{0}=0\), \(b_{0}=1\) leaves us with the vector potential \(A_{\mu }=\delta _{\mu }^{\theta }E_{0}t,\) which yields a uniform field in the angular direction. The only non-vanishing energy-momentum tensor component is \(T_{r}^{r}\), which accounts for the radial pressure. Our ansatz electromagnetic field in the circularly symmetric static metric gives a solution with zero cosmological constant that is identical with the spacetime obtained from an entirely different source, namely the self-interacting real scalar field [8]. This is a conformally flat anti-de Sitter solution in \(2+1\) dimensions without formation of a black hole. The uniform electric field being self-interacting is strong enough to make a naked singularity at the circular center. Another solution for a non-zero cosmological constant can be interpreted as a non-asymptotically flat wormhole solution. In analogy with the case of \(3+1\) dimensions [2734] we search for possible particle confinement in this \(2+1\)-dimensional model with \(\Lambda =0.\) Truly the geodesics for both neutral and charged particles are confined.

In this paper, in addition to providing a new solution in NED theory, we investigate the resulting spacetime structure for a specific value of \(k=3/4, \) which arises by imposing the tracelessness condition on the Maxwell energy-momentum, which is known to satisfy the conformal invariance condition. In this particular case the character of the singularity is timelike. For specific values of the parameters, the timelike character of the naked singularity at \(r=0\) is also encountered in [40], in which a radial electric field is assumed within the context of NED with a power parameter \(k=3/4\). This singularity is investigated within the framework of quantum mechanics in [41]. Therein a timelike naked singularity is probed with quantum fields obeying the Klein–Gordon and Dirac equations.

We investigate the timelike naked singularity, developed at \(r=0,\) for the new solution, which incorporates a power parameter \(k=3/4,\) from the quantum mechanical point of view. The main motivation to study the singularity is to clarify whether the uniform electric field in the angular direction has an effect on the resolution of this singularity or not. In order to compare the present study with the results obtained in [41], the singularity will be probed with two different quantum waves having spin structures \(0\) and \(1/2\), namely, bosonic waves and fermionic waves, respectively. The result of this investigation is that, with respect to the bosonic wave probe, the singularity remains quantum singular, whereas with respect to the fermionic wave probe the singularity is shown to be healed.

The organization of the paper is as follows. In Sect. 2 we introduce our formalism and derive the field equations. New solutions for \(k=\frac{1}{2}\) are presented in Sect. 3 as naked singular / wormhole and we discuss its geodesic confining properties. Section 4 considers the case with \(k=\frac{1}{2} \) further. The paper ends with our Conclusion in Sect. 5.

2 Field equations and the new solution

We start with the following action for the Einstein theory of gravity coupled with a NED Lagrangian:

$$\begin{aligned} I=\frac{1}{2}\int \mathrm{d}x^{3}\sqrt{-g}\left( R-2\Lambda +\alpha \left| \mathcal {F}\right| ^{k}\right) . \end{aligned}$$
(1)

Here \(\mathcal {F}=F_{\mu \nu }F^{\mu \nu }\) is the Maxwell invariant with \(F_{\mu \nu }=\partial _{\mu }A_{\nu }-\partial _{\nu }A_{\mu }\), \(\alpha \) is a real coupling constant, \(k\) is a rational number, and \(\Lambda \) is the cosmological constant. Our line element is circularly symmetric. It is given by

$$\begin{aligned} \mathrm{d}s^{2}=-A\left( r\right) \mathrm{d}t^{2}+\frac{1}{B(r)}\mathrm{d}r^{2}+r^{2}\mathrm{d}\theta ^{2}, \end{aligned}$$
(2)

where \(A(r)\) and \(B(r)\) are unknown functions of \(r\) and \(0\le \theta \le 2\pi \). Also we choose the field ansatz as

$$\begin{aligned} \mathbf {F}=E_{0}\mathrm{d}t\wedge \mathrm{d}\theta \end{aligned}$$
(3)

in which \(E_{0}=\)constant is a uniform electric field and its dual can be found as \(^{\star }\mathbf {F}=\frac{E_{0}}{r}\sqrt{\frac{B}{A}}\mathrm{d}r.\) Naturally, the integral of \(^{\star }\mathbf {F}\) gives the total charge. This electric field is derived from an electric potential one-form given by

$$\begin{aligned} \mathbf {A}=E_{0}\left( a_{0}t\mathrm{d}\theta -b_{0}\theta \mathrm{d}t\right) \end{aligned}$$
(4)

in which \(a_{0}\) and \(b_{0}\) are constants satisfying \(a_{0}+b_{0}=1.\) The nonlinear Maxwell equation reads

$$\begin{aligned} d\left( ^{\star }\mathbf {F}\frac{\left| \mathcal {F}\right| ^{k}}{\mathcal {F}}\right) =0, \end{aligned}$$
(5)

which upon the substitution

$$\begin{aligned} \mathcal {F}=2F_{t\theta }F^{t\theta }=\frac{-2E_{0}^{2}}{A\left( r\right) r^{2}} \end{aligned}$$
(6)

is trivially satisfied. Next, the Einstein–NED equations are given by

$$\begin{aligned} G_{\mu }^{\nu }+\frac{1}{3}\Lambda \delta _{\mu }^{\nu }=T_{\mu }^{\nu } \end{aligned}$$
(7)

in which

$$\begin{aligned} T_{\mu }^{\nu }=\frac{\alpha }{2}\left| \mathcal {F}\right| ^{k}\left( \delta _{\mu }^{\nu }-\frac{4k\left( F_{\mu \lambda }F^{\nu \lambda }\right) }{\mathcal {F}}\right) . \end{aligned}$$
(8)

With \(\mathcal {F}\) known one finds

$$\begin{aligned} T_{\ t}^{t}=T_{\ \theta }^{\theta }=\frac{\alpha }{2}\left| \mathcal {F} \right| ^{k}\left( 1-2k\right) \end{aligned}$$
(9)

and

$$\begin{aligned} T_{\ r}^{r}=\frac{\alpha }{2}\left| \mathcal {F}\right| ^{k} \end{aligned}$$
(10)

as the only non-vanishing energy-momentum components. To proceed, we must have the exact form of the Einstein tensor components given by

$$\begin{aligned} G_{t}^{t}&= \frac{B^{\prime }}{2r}\end{aligned}$$
(11)
$$\begin{aligned} G_{r}^{r}&= \frac{BA^{\prime }}{2rA} \end{aligned}$$
(12)

and

$$\begin{aligned} G_{\theta }^{\theta }=\frac{2A^{\prime \prime }AB-A^{\prime 2}B+A^{\prime }B^{\prime }A}{4A^{2}}, \end{aligned}$$
(13)

in which a prime means \(\frac{\mathrm{d}}{\mathrm{d}r}.\) The field equations then read as follows:

$$\begin{aligned}&\frac{B^{\prime }}{2r}+\frac{1}{3}\Lambda =\frac{\alpha }{2}\left| \mathcal {F}\right| ^{k}\left( 1-2k\right) ,\end{aligned}$$
(14)
$$\begin{aligned}&\frac{BA^{\prime }}{2rA}+\frac{1}{3}\Lambda =\frac{\alpha }{2}\left| \mathcal {F}\right| ^{k}, \end{aligned}$$
(15)

and

$$\begin{aligned} \frac{2A^{\prime \prime }AB-A^{\prime 2}B+A^{\prime }B^{\prime }A}{4A^{2}}+ \frac{1}{3}\Lambda =\frac{\alpha }{2}\left| \mathcal {F}\right| ^{k}\left( 1-2k\right) . \end{aligned}$$
(16)

3 An exact solution for \(k=\frac{1}{2}\)

Among the values for \(k\) that may have most interest is \(k=\frac{1}{2}.\) In this specific case \(T_{\ t}^{t}=T_{\ \theta }^{\theta }=0\) and \(T_{\ r}^{r}=\frac{\alpha }{2}\sqrt{\left| \mathcal {F}\right| }\) is the only non-zero component of the energy-momentum tensor. The field equations admit the general solutions for \(A\left( r\right) \) and \(B\left( r\right) \) given by

$$\begin{aligned} B\left( r\right) =D-\frac{\Lambda }{3}r^{2} \end{aligned}$$
(17)

and

$$\begin{aligned} A\left( r\right) =\left( D-\frac{\Lambda }{3}r^{2}\right) \left( C+\frac{r\alpha \left| E_{0}\right| }{D\sqrt{2}\sqrt{D-\frac{\Lambda }{3}r^{2}}}\right) ^{2}, \end{aligned}$$
(18)

in which \(D\) and \(C\) are two integration constants. One observes that setting \(E_{0}=0\) gives the correct limit of a BTZ black hole up to a constant \(C^{2}\), which can be absorbed in time. The other interesting limit of the above solution is found when we set \(C=0\), which yields

$$\begin{aligned} A\left( r\right) =\left( \frac{r\alpha \left| E_{0}\right| }{D\sqrt{2}}\right) ^{2}. \end{aligned}$$
(19)

The reduced line element, therefore, becomes

$$\begin{aligned} \mathrm{d}s^{2}=-\left( \frac{\alpha \left| E_{0}\right| }{D\sqrt{2}}\right) ^{2}r^{2}\mathrm{d}t^{2}+\frac{1}{D-\frac{\Lambda }{3}r^{2}}\mathrm{d}r^{2}+r^{2}\mathrm{d}\theta ^{2} \end{aligned}$$
(20)

which for three different cases admits different geometries.

  1. (i)

    \(\Lambda >0:\) When the cosmological constant is positive the solution becomes non-physical for \(r^{2}>\frac{3D}{\Lambda }.\) For \(D<0\) the signature of the spacetime is openly violated.

  2. (ii)

    \(\Lambda <0:\) In this case the solution is a black string for \(D>0\) whose Kretschmann scalar is given by

    $$\begin{aligned} \quad \,\mathcal {K}=\frac{4\left( r^{4}\Lambda ^{2}-2\Lambda r^{2}D+3D^{2}\right) }{3r^{4}}, \end{aligned}$$
    (21)

    with the singularity at the origin which is also the horizon. However, for \(D<0\) with negative cosmological constant the solution becomes a wormhole with the throat located at \(r=r_{0}=\sqrt{\frac{3\left| D\right| }{\left| \Lambda \right| }}\) and

    $$\begin{aligned} \quad \, \mathrm{d}s^{2}&= -\left( \frac{\alpha \left| E_{0}\right| }{D\sqrt{2}}\right) ^{2}r^{2}\mathrm{d}t^{2}\nonumber \\&+\frac{1}{\left| D\right| \left( \frac{r^{2}}{r_{0}^{2}}-1\right) }\mathrm{d}r^{2}+r^{2}\mathrm{d}\theta ^{2}. \end{aligned}$$
    (22)

    In order to conceive the geometry of the wormhole in this case we introduce a new coordinate, \(z=z\left( r \right) \), such that

    $$\begin{aligned} \quad \,\frac{\mathrm{d}r^{2}}{\left| D\right| \left( \frac{r^{2}}{r_{0}^{2}}-1\right) }=\mathrm{d}r^{2}+\mathrm{d}z^{2} \end{aligned}$$
    (23)

    where

    $$\begin{aligned} \quad \,z\left( r\right) =\pm \int \left( \sqrt{\frac{1}{\left| D\right| \left( \frac{r^{2}}{r_{0}^{2}}-1\right) }-1}\right) \mathrm{d}r. \end{aligned}$$
    (24)

    It should be added that the ranges of \(r\) must satisfy

    $$\begin{aligned} \quad \,r_{0}<r. \end{aligned}$$
    (25)

    To cast our spacetime into the standard wormhole metric we express it as

    $$\begin{aligned} \quad \, \mathrm{d}s^{2}=-e^{2f}\mathrm{d}t^{2}+\frac{\mathrm{d}r^{2}}{\left( 1-\frac{b\left( r\right) }{r} \right) }+r^{2}\mathrm{d}\theta ^{2}. \end{aligned}$$
    (26)

    Here \(f\left( r\right) \sim \ln r\) and \(b\left( r\right) =r( 1+\left| D\right| -\frac{\left| D\right| }{r_{0}^{2}} r^{2}) \) are known as the redshift and shape functions, respectively. The throat of our wormhole is at \(r_{0}\) where \(b\left( r_{0}\right) =r_{0},\) and the flare-out condition (i.e., \(b^{\prime }\left( r_{0}\right) <1\)) is satisfied by the choice of our parameters. We have also \(\frac{b\left( r\right) }{r}<1\) for \(r>r_{0}.\) We must add that, distinct from an asymptotically flat wormhole, here we have a range for \(r,\) given in (25).

  3. (iii)

    \(\Lambda =0:\) for the case when the cosmological constant is zero one finds (only \(D>0\) is physical)

    $$\begin{aligned} \quad \, \mathrm{d}s^{2}=-\left( \frac{\alpha \left| E_{0}\right| }{D\sqrt{2}}\right) ^{2}r^{2}\mathrm{d}t^{2}+\frac{1}{D}\mathrm{d}r^{2}+r^{2}\mathrm{d}\theta ^{2}, \end{aligned}$$
    (27)

    which after a simple rescaling of time and setting \(D=1\) leads to

    $$\begin{aligned} \quad \, \mathrm{d}s^{2}=-r^{2}\mathrm{d}\tilde{t}^{2}+\mathrm{d}r^{2}+r^{2}\mathrm{d}\theta ^{2}. \end{aligned}$$
    (28)

We notice that although our solution is not a standard black hole; there still exists a horizon at \(r=0\), which makes our solution a black point [3538]. In [35] such black points appeared in \(3+1\)-dimensional gravity coupled to the logarithmic \(U(1)\) gauge theory and in [3638] coupled to charged dilatonic fields. This is the conformally flat \(2+1\)-dimensional line element, and through the transformation \(r=e^{R},\) which entails

$$\begin{aligned} \mathrm{d}s^{2}=e^{2R}\left( -\mathrm{d}\tilde{t}^{2}+\mathrm{d}R^{2}+\mathrm{d}\tilde{\theta }^{2}\right) , \end{aligned}$$
(29)

it is obtained also in the self-interacting scalar field model [8].

3.1 Geodesic motion for \(\Lambda =0\)

3.1.1 Chargeless particle

To know more about the solution found above one may study the geodesic motion of a massive particle (timelike). The Lagrangian of the motion of a unit mass particle within the spacetime (28) is given by (for simplicity we remove tildes over the coordinates)

$$\begin{aligned} L=-\frac{1}{2}r^{2}\dot{t}^{2}+\frac{1}{2}\dot{r}^{2}+\frac{1}{2}r^{2}\dot{\theta }^{2} \end{aligned}$$
(30)

where a ‘dot’ denotes the derivative \(\frac{\mathrm{d}}{\mathrm{d}s}\) with \(s\) an affine parameter. The conserved quantities are

$$\begin{aligned}&\frac{\partial L}{\partial \dot{t}}=-r^{2}\dot{t}=-\alpha _{0}\end{aligned}$$
(31)
$$\begin{aligned}&\frac{\partial L}{\partial \dot{\theta }}=r^{2}\dot{\theta }=\beta _{0} \end{aligned}$$
(32)

with \(\alpha _{0}\) and \(\beta _{0}\) as constants of the energy and angular momentum. The metric condition reads

$$\begin{aligned} -1=-r^{2}\dot{t}^{2}+\dot{r}^{2}+r^{2}\dot{\theta }^{2}, \end{aligned}$$
(33)

which upon using (31) and (32) yields

$$\begin{aligned} \dot{r}^{2}=\left( \frac{\alpha _{0}^{2}-\beta _{0}^{2}}{r^{2}}-1\right) . \end{aligned}$$
(34)

This equation clearly shows a confinement in the motion for the particle geodesics in the form

$$\begin{aligned} r^{2}\le \alpha _{0}^{2}-\beta _{0}^{2}. \end{aligned}$$
(35)

Considering the affine parameter as the proper distance one finds, from (41),

$$\begin{aligned} r=\sqrt{\alpha _{0}^{2}-\beta _{0}^{2}-\left( s-s_{0}\right) ^{2}}, \end{aligned}$$
(36)

leading to manifest confinement.

3.1.2 Charged particle geodesics

For a massive charged particle with unit mass and charge \(q_{0}\) the Lagrangian is given by

$$\begin{aligned} L=-\frac{1}{2}r^{2}\dot{t}^{2}+\frac{1}{2}\dot{r}^{2}+\frac{1}{2}r^{2}\dot{\theta }^{2}+q_{0}A_{\mu }\dot{x}^{\mu }, \end{aligned}$$
(37)

in which \(A_{\mu }\dot{x}^{\mu }=A_{\theta }\dot{x}^{\theta }=E_{0}t\dot{\theta }\) i.e. the choice \(a_{0}=1,\) \(b_{0}=0\) in Eq. (4). The metric condition is as in Eq. (33) and therefore the Lagrange equations yield

$$\begin{aligned}&\frac{\mathrm{d}}{\mathrm{d}s}\left( r^{2}\dot{\theta }+q_{0}E_{0}t\right) =0,\end{aligned}$$
(38)
$$\begin{aligned}&\frac{\mathrm{d}}{\mathrm{d}s}\left( r^{2}\dot{t}\right) =-q_{0}E_{0}\dot{\theta }, \end{aligned}$$
(39)

and

$$\begin{aligned} \ddot{r}=-r\dot{t}^{2}+r\dot{\theta }^{2}. \end{aligned}$$
(40)

The first equation implies

$$\begin{aligned} r^{2}\dot{\theta }+q_{0}E_{0}t=\gamma _{0}=\mathrm{const}. \end{aligned}$$
(41)

while the second equation, with a change of variable, \(r^{2}\frac{\mathrm{d}}{\mathrm{d}s}=\frac{\mathrm{d}}{\mathrm{d}z}\), and imposing (41), yields

$$\begin{aligned} \frac{\mathrm{d}^{2}t}{\mathrm{d}z^{2}}=-q_{0}E_{0}\left( \gamma _{0}-q_{0}E_{0}t\right) . \end{aligned}$$
(42)

This equation admits an exact solution for \(t\left( z\right) \)

$$\begin{aligned} t\left( z\right) =\frac{\gamma _{0}}{\omega }+C_{1}e^{\omega z}+C_{2}e^{-\omega z}, \end{aligned}$$
(43)

in which \(C_{1}\) and \(C_{2}\) are two integration constants and \(\omega =q_{0}E_{0}.\) Next, the radial equation upon imposing the metric condition (33) becomes decoupled as

$$\begin{aligned} r\ddot{r}+\dot{r}^{2}+1=0. \end{aligned}$$
(44)

The general solution for this equation is given by

$$\begin{aligned} r=\pm \sqrt{\tilde{C}_{1}+2\tilde{C}_{2}s-s^{2}}, \end{aligned}$$
(45)

where we consider the positive root. Once more, one finds

$$\begin{aligned} r^{2}\frac{\mathrm{d}t}{\mathrm{d}s}=\frac{\mathrm{d}t}{\mathrm{d}z}, \end{aligned}$$
(46)

which in turn becomes

$$\begin{aligned} \left( \tilde{C}_{1}+2\tilde{C}_{2}s-s^{2}\right) \frac{\mathrm{d}t}{\mathrm{d}s}=\omega \left( C_{1}e^{\omega z}-C_{2}e^{-\omega z}\right) . \end{aligned}$$
(47)

To proceed further we set \(\tilde{C}_{2}=0,\tilde{C}_{1}=b_{0}^{2},\) \(C_{2}=0\), and \(C_{1}=1\) so that

$$\begin{aligned} \left( b_{0}^{2}-s^{2}\right) \frac{\mathrm{d}t}{\mathrm{d}s}=\omega \left( t-\frac{\gamma _{0} }{\omega }\right) . \end{aligned}$$
(48)

One may note that with this choice of integration constants \(b_{0}^{2}-s^{2}\ge 0\). This leads to

$$\begin{aligned} \left| t-\frac{\beta _{0}}{\omega }\right| =\left( \frac{b_{0}+s}{b_{0}-s}\right) ^{\frac{\omega }{2b_{0}}}+\zeta , \end{aligned}$$
(49)

in which \(\zeta \) is an integration constant to be set to zero for simplicity. From the latter relation one finds

$$\begin{aligned} r\left( t\right) =\frac{2b_{0}\left| t-\frac{\gamma _{0}}{\omega } \right| ^{\frac{b_{0}}{\omega }}}{\left| t-\frac{\gamma _{0}}{\omega }\right| ^{\frac{2b_{0}}{\omega }}+1}, \end{aligned}$$
(50)

which clearly shows the confinement of the motion for the charged particles. This conclusion could also be obtained from Eq. (45), which implies \(\tilde{C}_{1}+2\tilde{C}_{2}s-s^{2}\ge 0\) and consequently \(r\le \sqrt{\tilde{C}_{1}+\tilde{C}_{2}^{2}}.\) The angular variable \(\theta \left( t\right) \) can also be reduced to an integral expression.

4 A brief account for a conformally invariant Maxwell source with \(\Lambda =0\)

In the first paper of Hassaïne and Martínez [922] it was shown that the action given in (1) is conformally invariant if \(k=\frac{3}{4}.\) In this section we set \(k=\frac{3}{4}\) and \(\Lambda =0\) so that the following solution is obtained for the field equations (14)–(16):

$$\begin{aligned} A\left( r\right) =\left( 1+\frac{\alpha \left( E_{0}^{2}\right) ^{3/4}}{2^{1/4}}\sqrt{r}\right) ^{4} \end{aligned}$$
(51)

and

$$\begin{aligned} B(r)=\frac{1}{\left( 1+\frac{\alpha \left( E_{0}^{2}\right) ^{3/4}}{2^{1/4}}\sqrt{r}\right) ^{2}}. \end{aligned}$$
(52)

To find these solutions we have to set the integration constant in such a way that the flat limit easily comes after one imposes \(E_{0}=0.\) The Kretschmann scalar of the spacetime is given by

$$\begin{aligned} K=\frac{3\left| E_{0}\right| ^{3}\alpha ^{2}\left( r\alpha ^{2}\left| E_{0}\right| ^{3}+2\root 4 \of {2}\left( E_{0}^{2}\right) ^{3/4}\sqrt{r}\alpha +\sqrt{2}\right) }{r^{3}\left( 1+\frac{\alpha \left( E_{0}^{2}\right) ^{3/4}}{2^{1/4}}\sqrt{r}\right) ^{8}}. \end{aligned}$$
(53)

As one can see from the action (1), \(\alpha <0\) implies a ghost field which is not physical. Therefore we assume \(\alpha >0\) and consequently the only singularity of the spacetime is located at the origin \(r=0.\) For \(\alpha >0\) the solution represents a non-black hole and non-asymptotically flat spacetime with a naked singularity at \(r=0\). In order to find the nature of the singularity at \(r=0\), we perform a conformal compactification. The conformal radial / tortoise coordinate,

$$\begin{aligned} r_{*}=\int \frac{\mathrm{d}r}{1+a\sqrt{r}}=\frac{2}{a^{2}}\left\{ a\sqrt{r}-\ln \left| 1+a\sqrt{r}\right| \right\} , \end{aligned}$$
(54)

with \(a=\) \(\frac{\alpha \left( E_{0}^{2}\right) ^{3/4}}{2^{1/4}}\) helps us to introduce the retarded and advanced coordinates, i.e. \(u=t-r_{*}\) and \(v=t+r_{*}\). The Kruskal coordinates are defined, using the coordinates \(u\) and \(v\), by

$$\begin{aligned} u^{^{\prime }}=-e^{a^{2}u},\quad v^{^{\prime }}=e^{-a^{2}v} \end{aligned}$$
(55)

and consequently the line element in \(u^{\prime }\) and \(v^{\prime }\) coordinates becomes

$$\begin{aligned} \mathrm{d}s^{2}=-\frac{e^{4a\sqrt{r}}}{a^{4}}\mathrm{d}u^{^{\prime }}\mathrm{d}v^{^{\prime }}+r^{2}\mathrm{d}\theta ^{2}, \end{aligned}$$
(56)

with the constraint

$$\begin{aligned} u^{^{\prime }}v^{^{\prime }}=-e^{-4a\sqrt{r}}\left( 1+a\sqrt{r}\right) ^{4}. \end{aligned}$$
(57)

The final change of the coordinate

$$\begin{aligned}&u^{^{\prime \prime }} =\arctan u^{^{\prime }}, \qquad 0<u^{^{\prime \prime }}<\pi /2, \nonumber \\&v^{^{\prime \prime }} =\arctan v^{^{\prime }},\qquad 0<v^{^{\prime \prime }}<\pi /2 \end{aligned}$$
(58)

brings infinity into a finite coordinate. In Fig. 1 we plot Carter–Penrose diagrams of the solutions (51) and (52). One observes in this diagram that the singularity located at \(r=0\) is timelike. The corresponding energy-momentum tensor

$$\begin{aligned} T_{\mu }^{\nu }=-\frac{1}{2}\alpha \left( \frac{2E_{0}^{2}}{A\left( r\right) r^{2}}\right) ^{3/4}\left( 1,-1,1\right) \end{aligned}$$
(59)

implies that

$$\begin{aligned} \rho&= -T_{t}^{t}=\frac{1}{2}\alpha \left( \frac{2E_{0}^{2}}{A\left( r\right) r^{2}}\right) ^{3/4},\end{aligned}$$
(60)
$$\begin{aligned} p&= T_{r}^{r}=\rho =\frac{1}{2}\alpha \left( \frac{2E_{0}^{2}}{A\left( r\right) r^{2}}\right) ^{3/4},\end{aligned}$$
(61)
$$\begin{aligned} q&= T_{\theta }^{\theta }=-\rho =-\frac{1}{2}\alpha \left( \frac{2E_{0}^{2}}{A\left( r\right) r^{2}}\right) ^{3/4}, \end{aligned}$$
(62)

and therefore all energy conditions, including the weak, strong, and dominant versions, are satisfied.

Fig. 1
figure 1

Carter–Penrose diagram for \(k=\frac{3}{4}\) and \(\Lambda =0\), i.e. Eqs. (51) and (52). We see that \(r=0\) is a naked timelike singularity

5 Singularity analysis

5.1 Quantum singularities

One of the important predictions of the Einstein theory of relativity is the formation of the spacetime singularities in which the evolution of timelike or null geodesics is not defined after a proper time. The deterministic nature of general relativity requires that the spacetime singularities must be hidden by horizon(s), as conjectured by Penrose’s weak cosmic censorship hypothesis (CCH). However, there are some cases where the spacetime singularity is not covered by horizon(s), and then it is called a naked singularity. Hence, naked singularities violates the CCH and their resolution becomes extremely important. The most powerful candidate theory in resolving the singularities is the quantum theory of gravity. However, there is no consistent quantum theory of gravity yet. String theory [42, 43] and loop quantum gravity [44] are the two fields of study for the resolution of singularities. Yet another method that we shall employ in this paper is the criterion proposed by Horowitz and Marolf (HM) [45], which incorporates “self-adjointness” of the spatial part of the wave operator. Invoking this criterion, the classical notion of geodesics incompleteness with respect to the point-particle probe will be replaced by the notion of the quantum singularity with respect to the wave probe. This criterion can be applied only to static spacetimes having timelike singularities. To understand better what is going on, let us consider the Klein–Gordon equation for a free particle that satisfies \(i\frac{\mathrm{d}\psi }{\mathrm{d}t}=\sqrt{\mathcal {A}_{E}}\psi , \) whose solution is \(\psi \left( t\right) =\exp \left[ -it\sqrt{\mathcal {A}_{E}}\right] \psi \left( 0\right) \) in which \(\mathcal {A}_{E}\) denotes the extension of the spatial part of the wave operator.

If \(\mathcal {A}\) is not essentially self-adjoint, in other words, if \(\mathcal {A}\) has an extension, the future time evolution of the wave function \(\psi \left( t\right) \) is ambiguous. Then the HM criterion defines the spacetime as quantum mechanically singular. However, if there is only a single self-adjoint extension, the operator \(\mathcal {A}\) is said to be essentially self-adjoint and the quantum evolution described by \(\psi \left( t\right) \) is uniquely determined by the initial conditions. According to the HM criterion, this spacetime is said to be quantum mechanically non-singular. The essential self-adjointness of the operator \(\mathcal {A}\) can be verified by considering solutions of the equation

$$\begin{aligned} \mathcal {A}^{*}\psi \pm i\psi =0 \end{aligned}$$
(63)

and showing that the solutions of Eq. (63) do not belong to the Hilbert space \(\mathcal {H}\) (we refer to the references; [46] for detailed mathematical analysis and [4760] for applications of the HM approach in different spacetimes). This will be achieved by defining the function space on each \(t= \)constant hypersurface \(\Sigma \) as \(\mathcal {H}=\{\left. R\right| \left\| R\right\| <\infty \}\) with the following norm given for the metric (2):

$$\begin{aligned} \left\| R\right\| ^{2}=\int _{0}^{\text {constant}}\frac{r}{\sqrt{A(r)B(r)}}\left| R\right| ^{2}\mathrm{d}r. \end{aligned}$$
(64)

5.1.1 Klein–Gordon fields

The Klein–Gordon equation for the metric (2) can be written by splitting temporal and spatial parts and it is given by

$$\begin{aligned} \frac{\partial ^{2}\psi }{\partial t^{2}}=-\mathcal {A}\psi , \end{aligned}$$
(65)

in which \(\mathcal {A}\) denotes the spatial operator of the massless scalar wave given by

$$\begin{aligned} \mathcal {A}&= -\left( 1+a\sqrt{r}\right) ^{2}\frac{\partial ^{2}}{\partial r^{2}}-\frac{\left( 1+a\sqrt{r}\right) \left( 1+\frac{3a\sqrt{r}}{2}\right) }{r}\frac{\partial }{\partial r} \nonumber \\&-\frac{\left( 1+a\sqrt{r}\right) ^{4}}{r^{2}}\frac{\partial ^{2}}{\partial \theta ^{2}}. \end{aligned}$$
(66)

Applying a separation of variables, \(\psi =R(r)Y(\theta ),\) the radial part of Eq. (63) becomes

$$\begin{aligned}&\frac{\partial ^{2}R(r)}{\partial r^{2}}+\frac{\left( 1+\frac{3a\sqrt{r}}{2}\right) }{r\left( 1+a\sqrt{r}\right) }\frac{\partial R(r)}{\partial r} \nonumber \\&\quad +\left( \frac{c\left( 1+a\sqrt{r}\right) ^{2}}{r^{2}}\pm \frac{i}{\left( 1+a\sqrt{r}\right) }\right) R(r)=0, \end{aligned}$$
(67)

where \(c\) stands for the separation constant. The spatial operator \(\mathcal {A}\) is essentially self-adjoint if neither of the two solutions of Eq. (67) is square integrable over all space \(L^{2}(0,\infty )\). Because of the complexity in finding an exact analytic solution to Eq. (67), we study the behavior of \(R\left( r\right) \) near \(r\rightarrow 0\) and \(r\rightarrow \infty .\) The behavior of Eq. (67) near \(r=0\) is given by

$$\begin{aligned} \frac{\partial ^{2}R(r)}{\partial r^{2}}+\frac{1}{r}\frac{\partial R(r)}{\partial r}+\frac{c}{r^{2}}R(r)=0, \end{aligned}$$
(68)

whose solution is

$$\begin{aligned} R\left( r\right) =C_{1}\sin \left( \sqrt{c}\ln \left( r\right) \right) +C_{2}\cos \left( \sqrt{c}\ln \left( r\right) \right) . \end{aligned}$$
(69)

The square integrability is checked by calculating the norm given in Eq. (64). Calculation has shown that \(R\left( r\right) \) is square integrable near \(r=0\), and, hence, it belongs to the Hilbert space and the operator \(\mathcal {A}\) is not essentially self-adjoint. As a result, the timelike naked singularity remains quantum mechanically singular with respect to the spinless wave probe. This result is in conformance with the analysis in [41]. This result seems to show that irrespective of the direction of the electric field, the singularity remains quantum singular with respect to waves obeying the Klein–Gordon equation.

5.1.2 Dirac fields

The Dirac equation in \(2+1\)-dimensional curved spacetime for a free particle with mass \(m\) is given by

$$\begin{aligned} i\sigma ^{\mu }\left( x\right) \left[ \partial _{\mu }-\Gamma _{\mu }\left( x\right) \right] \Psi \left( x\right) =m\Psi \left( x\right) , \end{aligned}$$
(70)

where \(\Gamma _{\mu }\left( x\right) \) is the spinorial affine connection given by

$$\begin{aligned} \Gamma _{\mu }\left( x\right) =\frac{1}{4}g_{\lambda \alpha }\left[ e_{\nu ,\mu }^{\left( i\right) }(x)e_{\left( i\right) }^{\alpha }(x)-\Gamma _{\nu \mu }^{\alpha }\left( x\right) \right] s^{\lambda \nu }(x), \end{aligned}$$
(71)

with

$$\begin{aligned} s^{\lambda \nu }(x)=\frac{1}{2}\left[ \sigma ^{\lambda }\left( x\right) ,\sigma ^{\nu }\left( x\right) \right] . \end{aligned}$$
(72)

Since the fermions have only one spin polarization in \(2+1\) dimensions [61], the Dirac matrices \(\gamma ^{\left( j\right) }\) can be expressed in terms of the Pauli spin matrices \(\sigma ^{\left( i\right) }\) [62] so that

$$\begin{aligned} \gamma ^{\left( j\right) }=\left( \sigma ^{\left( 3\right) },i\sigma ^{\left( 1\right) },i\sigma ^{\left( 2\right) }\right) , \end{aligned}$$
(73)

where the Latin indices represent an internal (local) frame. In this way,

$$\begin{aligned} \left\{ \gamma ^{\left( i\right) },\gamma ^{\left( j\right) }\right\} =2\eta ^{\left( ij\right) }I_{2\times 2}, \end{aligned}$$
(74)

where \(\eta ^{\left( ij\right) }\) is the Minkowski metric in \(2+1\) dimension and \(I_{2\times 2}\) is the identity matrix. The coordinate dependent metric tensor \(g_{\mu \nu }\left( x\right) \) and the matrices \(\sigma ^{\mu }\left( x\right) \) are related to the triads \(e_{\mu }^{\left( i\right) }\left( x\right) \) by

$$\begin{aligned} \begin{aligned}&g_{\mu \nu }\left( x\right) =e_{\mu }^{\left( i\right) }\left( x\right) e_{\nu }^{\left( j\right) }\left( x\right) \eta _{\left( ij\right) },\\&\sigma ^{\mu }\left( x\right) =e_{\left( i\right) }^{\mu }\gamma ^{\left( i\right) }, \end{aligned} \end{aligned}$$
(75)

where \(\mu \) and \(\nu \) stand for the external (global) indices. The suitable triads for the metric are given by

$$\begin{aligned} e_{\mu }^{\left( i\right) }\left( t,r,\theta \right) =\mathrm{diag}\left( \left( 1+a\sqrt{r}\right) ^{2},\left( 1+a\sqrt{r}\right) , r\right) . \end{aligned}$$
(76)

The coordinate dependent gamma matrices and the spinorial affine connection are given by

$$\begin{aligned} \sigma ^{\mu }\left( x\right) \!&= \!\left( \sigma ^{\left( 3\right) }\left( 1\!+\!a\sqrt{r}\right) ^{-2},i\left( 1\!+\!a\sqrt{r}\right) ^{-1}\sigma ^{\left( 1\right) },\frac{i\sigma ^{\left( 2\right) }}{r}\right) , \nonumber \\ \Gamma _{\mu }\left( x\right)&= \left( \frac{a\sigma ^{\left( 2\right) }}{2\sqrt{r}},0,0\right) . \end{aligned}$$
(77)

Now, for the spinor

$$\begin{aligned} \Psi =\left( \begin{array}{c} \psi _{1} \\ \psi _{2} \end{array} \right) , \end{aligned}$$
(78)

the Dirac equation can be written as

$$\begin{aligned}&\frac{i}{\left( 1+a\sqrt{r}\right) ^{2}}\frac{\partial \psi _{1}}{\partial t} -\frac{ai}{2\sqrt{r}\left( 1+a\sqrt{r}\right) ^{2}}\psi _{2} \nonumber \\&\quad -\frac{1}{\left( 1+a\sqrt{r}\right) }\frac{\partial \psi _{2}}{\partial r}+\frac{1}{r}\frac{\partial \psi _{2}}{\partial \theta }-m\psi _{1}=0 \end{aligned}$$
(79)
$$\begin{aligned}&\frac{-i}{\left( 1+a\sqrt{r}\right) ^{2}}\frac{\partial \psi _{2}}{\partial t}-\frac{ai}{2\sqrt{r}\left( 1+a\sqrt{r}\right) ^{2}}\psi _{1} \nonumber \\&\quad -\frac{1}{\left( 1+a\sqrt{r}\right) }\frac{\partial \psi _{1}}{\partial r}-\frac{1}{r}\frac{\partial \psi _{1}}{\partial \theta }-m\psi _{2}=0. \end{aligned}$$
(80)

The following ansatz will be employed for the positive frequency solutions:

$$\begin{aligned} \Psi _{n,E}\left( t,x\right) =\left( \begin{array}{l} R_{1n}(r) \\ R_{2n}(r)e^{i\theta } \end{array} \right) e^{in\theta }e^{-iEt}. \end{aligned}$$
(81)

The radial part of the Dirac equation becomes

$$\begin{aligned}&\frac{\partial R_{2n}(r)}{\partial r}-e^{-i\theta }\left( \frac{E}{1+a\sqrt{r}}-m\left( 1+a\sqrt{r}\right) \right) R_{1n}(r) \nonumber \\&\quad -i\left[ \frac{\left( n\!+\!1\right) \left( 1\!+\!a\sqrt{r}\right) }{r}\!-\!\frac{c}{2\sqrt{r}\left( 1\!+\!a\sqrt{r}\right) }\right] R_{2n}(r)\!=\!0,\nonumber \\ \end{aligned}$$
(82)
$$\begin{aligned}&\frac{\partial R_{1n}(r)}{\partial r}-e^{i\theta }\left( \frac{1}{1+a\sqrt{r} }-m\left( 1+a\sqrt{r}\right) \right) R_{2n}(r) \nonumber \\&\quad +i\left[ \frac{n\left( 1+a\sqrt{r}\right) }{r}+\frac{c}{2\sqrt{r}\left( 1+a\sqrt{r}\right) }\right] R_{1n}(r)=0. \end{aligned}$$
(83)

The behavior of the Dirac equations near \(r=0\) reduces to

$$\begin{aligned}&\frac{\partial ^{2}R_{2n}(r)}{\partial r^{2}}+\frac{i}{r}\frac{\partial R_{2n}(r)}{\partial r} +\left\{ \frac{n+1}{r^{2}}\left( n+i\right) -\beta \right\} R_{2n}(r)\nonumber \\&\quad =0, \end{aligned}$$
(84)
$$\begin{aligned}&\frac{\partial ^{2}R_{1n}(r)}{\partial r^{2}}+\frac{i}{r}\frac{\partial R_{1n}(r)}{\partial r} +\left\{ \frac{n}{r^{2}}\left( n+1-i\right) -\beta \right\} R_{1n}(r)\nonumber \\&\quad =0, \end{aligned}$$
(85)

in which \(\beta =m^{2}-m(E+1)+E.\) The two Eqs. (84) and (85) must be investigated for essential self-adjointness by using Eq. (63). Hence, we have

$$\begin{aligned}&\frac{\partial ^{2}R_{2n}(r)}{\partial r^{2}}+\frac{i}{r}\frac{\partial R_{2n}(r)}{\partial r} +\left\{ \frac{n+1}{r^{2}}\left( n+i\right) -\beta \pm i\right\} R_{2n}(r)\nonumber \\&\quad =0, \end{aligned}$$
(86)
$$\begin{aligned}&\frac{\partial ^{2}R_{1n}(r)}{\partial r^{2}}+\frac{i}{r}\frac{\partial R_{1n}(r)}{\partial r}+\left\{ \frac{n}{r^{2}}\left( n+1-i\right) -\beta \pm i\right\} R_{1n}(r)\nonumber \\&\quad =0. \end{aligned}$$
(87)

Since we are looking for a solution near \(r=0\), the constant terms inside the curly brackets can be ignored and the solutions are given by

$$\begin{aligned}&R_{2n}(r)=r^{\frac{1-I}{2}}\left[ C_{1n}r^{\frac{\sqrt{-2I-4\chi _{1}}}{2}}+C_{2n}r^{\frac{-\sqrt{-2I-4\chi _{1}}}{2}}\right] ,\end{aligned}$$
(88)
$$\begin{aligned}&R_{1n}(r)=r^{\frac{1-I}{2}}\left[ C_{3n}r^{\frac{\sqrt{-2I-4\chi _{2}}}{2}}+C_{4n}r^{\frac{-\sqrt{-2I-4\chi _{2}}}{2}}\right] , \end{aligned}$$
(89)

in which the \(C_{in}\) are arbitrary integration constants

$$\begin{aligned} \chi _{1}=\left( n+1\right) \left( n+i\right) , \end{aligned}$$
(90)

and

$$\begin{aligned} \chi _{2}=n\left( n+1-i\right) . \end{aligned}$$
(91)

The square integrability of these solutions is checked by using the norm defined in Eq. (64). Based on the numerical calculation, both \(R_{1n}(r)\) and \(R_{2n}(r)\) are square integrable near \(r=0.\) As a result, the arbitrary wave packet can be written as

$$\begin{aligned} \Psi \left( t,x\right) =\sum _{n=-\infty }^{+\infty }\left( \begin{array}{c} R_{1n}(r) \\ R_{2n}(r)e^{i\theta } \end{array} \right) e^{in\theta }e^{-iEt}, \end{aligned}$$
(92)

and the initial condition \(\Psi \left( 0,x\right) \) is enough to determine the time evolution of the wave. Hence, the initial value problem is well-posed and the spacetime remains non-singular when probed with spinorial waves obeying the Dirac equation.

6 Conclusion

We considered a specific form of NED Lagrangian in the form of a power law Maxwell invariant \(\left| F_{\mu \nu }F^{\mu \nu }\right| ^{k}\) with \(k=\frac{1}{2}.\) It is well known that a pure radial electric field with \(k=\frac{1}{2}\) does not satisfy the energy conditions [39] so our field ansatz has been chosen differently to be a uniform angular electric field. One direct feature of this form of field ansatz is that the only non-zero component of the energy-momentum is \(T_{r}^{r}.\) This indeed means that the energy density \(\rho =-T_{t}^{t}\) and the angular pressure \(p_{\theta }=T_{\theta }^{\theta }\) are both zero, while the radial pressure is \(p_{r}=T_{r}^{r}=\frac{\xi }{r}\) with \(\xi =\sqrt{\frac{\sqrt{2}\alpha E_{0}}{8}}.\) Because of these features the weak energy conditions (WECs) are satisfied, i.e., \(\rho \ge 0,\) \(\rho +p_{r}\ge 0\) and \(\rho +p_{\theta }\ge 0\). Even more, the strong energy conditions (SECs) are also satisfied; these are WECs together with \(\rho +p_{r}+p_{\theta }\ge 0.\) Having a radial pressure that is non-zero and a divergence at \(r=0\) are features that can be seen from the nature of the resulting spacetime. For \(k=\frac{1}{2}\) we give two different classes of solutions, for \(\Lambda =0\) and \(\Lambda \ne 0.\) The one for \(\Lambda =0\) is not a black-hole solution but is singular at \(r=0\), since the spacetime invariants are \(R\sim \frac{1}{r^{2}},\) \(R_{\mu \nu }R^{\mu \nu }\sim \frac{1}{r^{4}}\) and the Kretschmann scalar is \(\sim \frac{1}{r^{4}}\). This singularity is of the same order of divergence as the charged BTZ black hole with a radial singular electric field. As has been found in this work, the singularity at the origin confines the radial motion of a massive particle (both charged and uncharged). (\(r=0\) is also a zero for \(g_{tt}\), which makes our solution a black point.) This confinement means that the particle cannot go beyond a maximum radius. In the work of Schmidt and Singleton [8] where a different matter source, namely a self-interacting scalar field, is employed, the same solution has been found. This is perhaps an indication that the geometry found in the context of a real scalar field, sharing a common metric with different sources in \(2+1\) dimensions, may apply to higher-dimensional spacetimes. The case for \(\Lambda <0\) (\(k=\frac{1}{2}\)) corresponds to a non-asymptotically flat wormhole built entirely from the cosmological constant. The conformally invariant case (\(k=\frac{3}{4}\)) for the Maxwell field has also been considered briefly. Our timelike null singularity turns out to be quantum regular against the Dirac probe and singular against the Klein–Gordon probe.