All static and electrically charged solutions with Einstein base manifold in the arbitrary-dimensional Einstein–Maxwell system with a massless scalar field

We present a simple and complete classification of static solutions in the Einstein–Maxwell system with a massless scalar field in arbitrary n(≥3)\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n(\ge 3)$$\end{document} dimensions. We consider spacetimes which correspond to a warped product M2×Kn-2\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$M^2 \times K^{n-2}$$\end{document}, where Kn-2\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$K^{n-2}$$\end{document} is a (n-2)\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$(n-2)$$\end{document}-dimensional Einstein space. The scalar field is assumed to depend only on the radial coordinate and the electromagnetic field is purely electric. Suitable Ansätze enable us to integrate the field equations in a general form and express the solutions in terms of elementary functions. The classification with a non-constant real scalar field consists of nine solutions for n≥4\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n\ge 4$$\end{document} and three solutions for n=3\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n=3$$\end{document}. A complete geometric analysis of the solutions is presented and the global mass and electric charge are determined for asymptotically flat configurations. There are two remarkable features for the solutions with n≥4\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n\ge 4$$\end{document}: (i) Unlike the case with a vanishing electromagnetic field or constant scalar field, asymptotically flat solution is not unique, and (ii) The solutions can asymptotically approach the Bertotti–Robinson spacetime depending on the integrations constants. In accordance with the no-hair theorem, none of the solutions are endowed of a Killing horizon.


Introduction
The role of exact solutions in physics is to understand the properties of physical phenomena in a variety of situations. Even a particular solution may play a large role for our understanding of nature. In gravitational physics, good examples of such exact solutions are Schwarzschild and Kerr solutions. By the black hole uniqueness theorem, asymptotically flat static black holes in vacuum are represented by Schwarzschild solution [1] and this result has been extended a e-mail: h-maeda@hgu.jp b e-mail: martinez@cecs.cl to the stationary case in which Kerr solution represents the unique black hole [2]. This implies that, in the asymptotically flat and stationary spacetime in vacuum, all the properties of a black hole are encoded in the Kerr black hole and it lead us to the discovery of the black-hole mechanics [3] and then its celebrated thermodynamics description [4,5].
However, this strong uniqueness result does not mean that the final state of gravitational collapse is always a Kerr black hole because there might be other solutions which do not represent a black hole but a star or naked singularity. In this context, the cosmic censorship hypothesis has been proposed, which asserts that the final state in physically reasonable and generic situations cannot be a naked singularity [6,7]. Although the generic proof of this hypothesis is far from complete, it has been studied in the systems with symmetry which makes the problem tractable. Among others, in the spherically symmetric spacetime, the cosmic censorship hypothesis was shown to be false, where a naked singularity is formed in the dynamical region with matter [8]. On the other hand, it was shown to be true in the case with a massless scalar field [9][10][11][12][13].
These results suggest that the final static configuration after the collapse may be not a Schwarzschild black hole but a naked singularity. Then, a complete classification of all the spherically symmetric and static solutions must be quite helpful for future investigations to find the candidates of the final configuration. Actually, it was shown [14] that the general spherically symmetric and static solution for a massless scalar field is the so-called Janis-Newman-Winicour (JNW) solution 1 [15] which contains one additional parameter to the mass parameter in the Schwarzschild solution.
The previous analysis can be naturally extended in the presence of the Maxwell field in addition. The unique static black hole in this system is the Reissner-Nordström black hole [20] and the exterior of this charged black hole is stable against linear perturbations [21,22] similar to the Schwarzschild black hole [23][24][25][26]. However, it suffers from different kinds of instability. One is the mass-inflation instability of the inner horizon [27] which transform a part of the inner horizon into a curvature singularity in gravitational collapse of a massless scalar field with the Maxwell field [28]. It was also found that extreme Reissner-Nordström black hole suffers from a different type of instability at the extremal horizon where the second derivative of a massless scalar field generically grows with time [29][30][31].
This class of problems motivate us to perform a complete classification of all the spherically symmetric and static solutions with a massless scalar field and purely electric Maxwell field. After the earlier works in [32,33], all the asymptotically flat and static solutions have been certainly classified in four dimensions in [34], however, the metric functions and the scalar field are given in terms of the electric potential. Results in arbitrary dimensions were presented in [35], where a spherically symmetric reduction to a two-dimensional dilatonicgravity theory coupled with a U (1) gauge field was considered. However, in the latter work it seems difficult to see explicit forms of all the solutions, which is a requirement for describing their physical properties.
Actually in the neutral case, the JNW solution, namely the general static and spherically symmetric solution in four dimensions, can be obtained by certain solution-generating methods from the Schwarzschild solution [18,36]. Similarly, an electrically charged solution found by Penney [32] can be obtained by a different solution-generating method [37] from the JNW solution [38]. However, this does not mean that the Penney solution is the general solution. In fact, the general static and spherically symmetric solution is not unique in the charged case.
In the present paper, we present all static solutions in a closed form in a more general setup, which includes (n − 2)dimensional Einstein spaces as base manifolds in n(≥ 3) arbitrary spacetime dimensions. The key point for obtaining this complete classification is the choice of an adequate coordinate system which allows us to integrate the field equations in a direct and transparent way, leading to simple expressions for the solutions.
In the next section we introduce the action and the corresponding field equations. From the general expressions for a static metric and for a radial scalar and electric field, it is shown the absence of a Killing horizon in presence a nonconstant scalar field, in agreement with the no-hair theorem. In Sect. 3, the field equations are solved for four and higher dimensions and the complete set of the solutions is expressed in a very simple closed form. The three-dimensional case is also solved in Sect. 4. In both sections a detailed analysis of the geometrical properties of the solutions, including singularities and limiting cases, is exhibited. In Sect. 5, we identify solutions which represent asymptotically flat spacetimes and the mass and electric charge of those configurations are determined. Here we show two important properties of the solutions in n ≥ 4 dimensions: (i) As opposite the case with a vanishing electromagnetic field or constant scalar field, the asymptotically flat solution is not unique, and (ii) The solutions can asymptotically approach the Bertotti-Robinson spacetime depending on the integrations constants. After some concluding remarks, an appendix is included. Appendix contains a simple derivation of the full set of solutions, which is obtained by using an alternative radial coordinate.
Our basic notations follow [39]. The Minkowski metric is taken to be the mostly plus sign, and Roman indices run over all spacetime indices. The conventions of curvature tensors are [∇ ρ , ∇ σ ]V μ = R μ νρσ V ν and R μν = R ρ μρν . The ndimensional gravitational constant is denoted by κ n , and the electromagnetic field strength is given by

System
We consider the Einstein-Maxwell system in n(≥ 3) spacetime dimensions with a massless scalar field, which is defined by the action This action gives the following field equations: where the energy-momentum tensors for the Maxwell field and the massless Klein-Gordon field are respectively.
In the present paper, we consider static spacetimes which correspond to a warped product M 2 × K n−2 , where K n−2 is a (n − 2)-dimensional Einstein space. A general metric in such a spacetime can be written as Here γ ab (z) is the metric on the (n − 2)-dimensional Einstein space K n−2 , whose Ricci tensor is given by (n−2) R ab = k(n − 3)γ ab , where k = 1, 0, −1. 2 In addition, we assume φ = φ(x) and A μ dx μ = A t (x)dt. Then, the Maxwell equation and the Klein-Gordon equation (2) are integrated to give where q and φ 1 are integration constants. We assume that φ 1 is real and non-zero, namely we are considering a nonconstant real scalar field throughout this paper.

Absence of Killing horizon
In the spacetime (5), g tt (x) = 0 corresponds to a Killing horizon if it is regular and not infinity. However, it is shown that there is no Killing horizon in the present system unless φ 1 = 0.
Here we adopt the following coordinates: If R is constant, the Einstein equations give from which φ 1 = 0 is concluded. Since we consider the case with φ 1 = 0, R is not constant and then we can choose coordinates such that R(x) = x(≥ 0) without loss of generality. Then, the trace of the Einstein equations gives .
is not infinity. Equation (9) shows that lim x→x h R → ∞ unless φ 1 = 0. Therefore, it is concluded that there is no Killing horizon (and then no event horizon exists), in the presence of a non-constant scalar field.

General solution in four and higher dimensions
In this section, we present all the static solutions in the present system in four and higher dimensions. We perform the complete classification in the following coordinates: 2 Due to the form of (5), just the Ricci tensor of K n−2 is necessary to write the field equations. The decomposition of the curvature of a spacetime of the class (5) can be found in [40].
in which we have First we derive the basic equations. The combination E x x + E a a = 0 gives the master equation for G(x): Using Eq. (12), we write the Einstein equations as from which we obtain the master equation for F(x): We are now ready to perform the classification. G(x) and F(x) are obtained from Eqs. (12) and (15), respectively, and Eq. (13) is a constraint on them.
In order to find the location of the (naked) curvature singularities in this coordinate system, we use the trace of the Einstein equations: 3) .
The above expression shows that the real zeros of F 2 G = 0 correspond to curvature singularities. Note that where the numerator of Eq. (16) vanishes, F has a finite value. Then, the denominator of (16) can be zero at that point only if G vanishes there. However, for all our solutions in which G can be zero at some point, the function F diverges there. Therefore, the numerator and denominator in (16) do not vanish simultaneously. Consequently, in all the solutions presented in this paper, there appear two classes of curvature singularities: one is given by G = 0 with infinite F satisfying F 2 G = 0 and the other is given by F = 0 with finite G. At the singularity in the first class, the scalar field diverges, while it remains finite at the singularity in the second class.
where a, b are constants. We can assume a ≥ b > 0 without loss of generality. Then the scalar field is given by for a = b and for a = b. The scalar field diverges only at x = a and x = b.
We have put ε = ±1 in order to make inside the bracket being positive depending on the domain of x.

Type-I solution
The general solution for Eq. (15) with the constraint (13) in the case of a = b and φ 2 where constants α, A, and B satisfy By Eq. (22), the scalar field in this solution is given by This is the generalization in arbitrary dimensions of the Penney solution (n = 4 and k = 1) found in [32]. In order to identify the location of the singularities, we compute where we have set ε = 1 for simplicity. Since reality of the scalar field requires −1 < α < 1 by Eq. (22), F 2 G = 0 holds at both x = a and x = b and hence they are curvature singularities. A solution of F(x) = 0 for AB < 0 necessarily satisfies x = a, b and it corresponds to a curvature singularity with finite φ. The neutral limit q → 0 of this type-I solution is realized for ABα(a − b) → 0, where the scalar field remains nontrivial only for ABα → 0. The limit A = 0 or B = 0 gives the higher-dimensional and topological generalization of the Janis-Newman-Winicour solution [14][15][16]19,36] (the generalized JNW solution, hereafter), of which friendly form is given by where μ is a constant and t has been rescaled by a constant. The limit α = 0 of the type-I solution also gives the above solution with α = 0. The limit a = b gives a warped-product spacetime of a two-dimensional Minkowski spacetime and a (n−2)-dimensional Ricci-flat space, which we call the Ricciflat-A solution hereafter. The simplest form of the Ricci-flat-A solution is given by which is static only for k = 1. In contrast, k = −1 gives a dynamical spacetime, which is shown by the coordinate transformations T = r and X = it. The trivial scalar-field limit φ → constant of the type-I solution is realized for gives the Ricci-flat-A solution (27), while the limit α = ±1 gives the higher-dimensional and topological generalization of Reissner-Nordström solution (the generalized Reissner-Nordström solution, hereafter), of which simple form is given by where μ and Q are constants related with the mass and electric charge of the solution, respectively.

Type-II solution
The general solution for Eq. (15) with the constraint (13) in the case of a = b and φ 2 where constantsᾱ, F 1 , and F 2 satisfy The scalar field is given by This solution corresponds to the type-I solution with a pure imaginary α. Equation (23) shows that the scalar field remains real for a pure imaginary value of α satisfying −1 < α 2 < 0. Indeed, the above type-II solution is obtained from the following alternative expression of the metric function (20) of the type-I solution; with a pure imaginary α. The relations between the constants in the type-I and type-II solutions are Since the metric function F (30) is finite in this type-II solution, the zeros of G, namely x = a and x = b, correspond to curvature singularities. Moreover, there is an infinite number of solutions for F(x) = 0, which all correspond to curvature singularities that are all different from x = a or x = b and represent curvature singularities with finite φ.
In this solution, a neutral limit is given by (a − b)ᾱ = 0. The limitᾱ = 0 gives the generalized JNW solution (25) with α = 0, while the limit a = b gives the Ricci-flat-A solution (27). On the other hand, the trivial scalar-field limit φ → constant is realized for a = b, which gives the Ricci-flat-A solution (27).

Type-III solution
In the case of a = b and φ 2 where The scalar field in this solution is given by In this solution, both x = a and x = b correspond to curvature singularities because the following expression shows that and it corresponds to a curvature singularity with finite φ. The neutral limit q → 0 and the trivial scalar-field limit of this type-III solution are realized for A(a − b) → 0 and a − b → 0, respectively. In the limit of A = 0, the solution reduces to the generalized JNW solution (25) with α = 0, while the solution becomes the Ricci-flat-A solution (27) in the limit of b → a.

Type-IV solution
Lastly, in the case of a = b, the general solution is where The scalar field in this solution is given by Eq. (19). Since the metric function F is finite in this solution, the zero of G, x = a, corresponds to a curvature singularity. Moreover, in this special case, there is an infinite number of solutions for F(x) = 0, which are all different from x = a and represent curvature singularities with finite φ. The neutral limit q → 0 and the trivial scalar-field limit of this type-IV solution are equivalent, in which the solution becomes the Ricci-flat-A solution given by (27).

General solution for
Next we consider the case of k = 1, −1 where G(x) has no a real root. In this case, Eq. (12) is integrated to give where we have used the degree of freedom to change the origin of x and kG 0 must be positive for ensuring the absence of real roots. However, G(x) must be positive for keeping the signature of the metric (and its reality in some dimensions). Then, k = 1 and G 0 > 0 is the unique option in this case. From (42), the scalar field is given by Remarkably, the scalar field is finite everywhere in this class of solutions.

Type-V 1 solution
The general solution for Eq. (15) with the constraint (13) is given by where constants A and B satisfy The scalar field in this solution is given by Eq. (43). In this case, there is an infinite number of solutions for F(x) = 0, which all correspond to curvature singularities with finite φ.
There is no neutral limit q → 0 of this type-V 1 solution under the assumption that the scalar field is real. On the other hand, the trivial scalar-field limit φ → constant is realized for φ 1 → 0, in which we have The solution in this limit is the generalized Reissner-Nordström solution (28) for A = 0. For A = 0, the limit is the Bertotti-Robinson-type cross-product solution, of which a readily form is given by where t has been rescaled and r 2 0 = G 0 .

General solution for k = 0
In the case of k = 0, Eq. (12) is integrated to give where G 0 and G 1 are constants. Then the scalar field is given by for G 1 = 0 and for G 1 = 0.

Type-VI 0 solution
The general solution for Eq. (15) with the constraint (13) in the case of G 1 = 0 and φ 2 1 < (n − 2)G 2 1 /(4(n − 3)κ n ) (corresponding to α = 0) is given by where constants α, A, and B satisfy By Eq. (53), the scalar field in this solution is given by In this case, we compute where we have set ε = 1 for simplicity. Since reality of the scalar field requires −1 < α < 1 by Eq. (53), F 2 G = 0 holds at G = 0, namely x = −G 0 /G 1 . Hence it corresponds to a curvature singularity. Also, a solution of F(x) = 0 for AB < 0 corresponds to a curvature singularity but with finite φ.
The neutral limit q → 0 of this type-VI 0 solution is realized for ABαG 1 → 0, where the scalar field remains nontrivial only for ABα → 0. The limit A = 0 or B = 0 gives the generalized JNW solution (25) with k = 0. The limit α = 0 of this solution also gives the generalized JNW solution but with α = 0. The limit G 1 = 0 gives a directproduct spacetime of a two-dimensional Minkowski spacetime and a (n − 2)-dimensional Ricci-flat space, which we call the Ricci-flat-B solution hereafter. The simplest form of the Ricci-flat-B solution is given by which is different from the Ricci-flat-A solution (27). The trivial scalar-field limit φ → constant of the type-VI 0 solution is realized for (1 − α 2 )G 1 → 0. The limit G 1 = 0 gives the Ricci-flat-B solution (57), while the limit α = ±1 gives the generalized Reissner-Nordström solution (28) with k = 0.

Type-VII 0 solution
The general solution for Eq. (15) with the constraint (13) in the case of G 1 = 0 and φ 2 1 > (n − 2)G 2 1 /(4(n − 3)κ n ) (corresponding toᾱ = 0) is given by where constantsᾱ, F 1 , and F 2 satisfy The scalar field is given by This solution actually corresponds to the type-VI 0 solution with a pure imaginary α. Equation (55) shows that the scalar field remains real for a pure imaginary value of α satisfying −1 < α 2 < 0. Indeed, the above solution is obtained from the following alternative expression of the metric function (52) of the type-VI 0 solution with a pure imaginary α. The relations between the constants in the type-VI 0 and type-VII 0 solutions are Since the metric function F (58) is finite in this type-VII 0 solution, the zero of G, x = −G 0 /G 1 , corresponds to a curvature singularity. Moreover, there is an infinite number of solutions for F(x) = 0, which all correspond to curvature singularities are all different from x = −G 0 /G 1 and represent curvature singularities with finite φ.
The neutral limit q → 0 of this type-VII 0 solution is realized forᾱG 1 → 0, where the scalar field remains nontrivial only forᾱ → 0. The limitᾱ = 0 of this solution gives the generalized JNW solution with α = 0. The limit G 1 = 0 gives the Ricci-flat-B solution (57). The trivial scalar-field limit φ → constant is realized only for G 1 → 0, which gives the Ricci-flat-B solution (57).

Type-VIII 0 solution
The general solution for Eq. (15) in the case of G 1 = 0 and φ 2 1 = (n − 2)G 2 1 /(4(n − 3)κ n ) is given by where The scalar field in this solution is given by Also in this case, G(x) = 0 corresponds to a curvature singularity since F 2 G = 0 holds there. In addition, a solution of F(x) = 0 for A = 0 corresponds to a curvature singularity with finite φ.
The neutral limit q → 0 and the trivial scalar-field limit of this type-VIII 0 solution are realized for AG 1 → 0 and G 1 → 0, respectively. In the limit of A = 0, the solution reduces to the generalized JNW solution (25) with k = 0 and α = 0, while the solution becomes the Ricci-flat-B solution (57) in the limit of G 1 → 0.

Type-IX 0 solution
Lastly, the general solution in the case of G 1 = 0 is given by where The scalar field in this solution is given by Eq. (51). Since F is finite everywhere, G(x) = 0 corresponds to a curvature singularity. Additionally, in this special case, there is an infinite number of zeros of F(x) = 0 which are all curvature singularities with finite φ. The neutral limit q → 0 and the trivial scalar-field limit of this type-IX 0 solution are equivalent, in which the solution reduces to the Ricci-flat-B solution (57).

General solution in three dimensions
In this section, we present the classification in three dimensions. We will use the Einstein equations in the form of E μ ν = 0, where Clearly the gauge (10) does not work for n = 3. For the three-dimensional case, we adopt the following coordinates: In this coordinate system, the scalar field is integrated to give where φ 0 and φ 1 are constants. Moreover, the field strength is given by where q is an integration constant. Now the Einstein equations are written as The general solution of Eq. (73) is given by where c 0 and Φ 1 are constants. The classification is rather simple: We solve Eq. (75) for Ψ (r ) and use Eq. (74) as a constraint.
4.1 General solution for Φ 1 = 0: Type-X 3 and XI 3 solutions if Ψ (r ) has real roots and if Ψ (r ) has no real root, where a, b, and Ψ 0 (> 0) are constants. In both cases, φ 1 is given by These solutions acquire a simple form after a rescaling of t and θ ; and In both cases, φ(r ) and F rt are given by In these type-X 3 and XI 3 solutions, the neutral limit q → 0 and the trivial scalar-field limit are equivalent, in which the solution reduces to Minkowski. Since the Kretschmann invariant K := R μνρσ R μνρσ is given by for the metric (80) and for the metric (81), curvature singularities are located at r → ±∞ in both cases.
The Kretschmann invariant is given by Hence, curvature singularities are located at x = 0, ±∞. In the neutral limit q → 0, this type-XII 3 solution reduces to the one obtained in [41,42]. On the other hand, the solution in the trivial scalar-field limit φ 1 → 0 was obtained by several authors independently [43,44].

Non-uniqueness of asymptotically flat solutions
In the previous two sections, we have obtained the general static solution in the present system in arbitrary n(≥ 3) dimensions. The general solution consists of nine solutions for n ≥ 4 and three solutions for n = 3, which are summarized in Table 1.
Clarifying the limiting cases, we have shown that, in the absence of a Maxwell field (q = 0), the general static solution is unique; the generalized JNW solution (25) for n ≥ 4 and the type-XII 3 solution (86) with q = 0 for n = 3. In contrast, in the presence of a nontrivial Maxwell field, the general static solution consists of multiple distinct solutions and therefore the static solution is no longer unique. Then a natural question arises: Is there a unique static and asymptotically flat solution?
In three dimensions, all of the type X 3 -XII 3 solutions are not asymptotically flat for q = 0 because all the components of the Riemann tensor cannot be zero simultaneously. However in the neutral case (q = 0), the unique type-XII 3 solution (86) is asymptotically locally flat for r → ∞.
How about the cases in four and higher dimensions? In the absence of a massless scalar field, namely in the Einstein-Maxwell system with n ≥ 4, the general spherically symmetric solution consists of the arbitrary-dimensional Reissner-Nordström solution (28) and the Bertotti-Robinson solution (47) where the base manifold K n−2 is a (n − 2)-sphere S n−2 which gives k = 1. Among these two, the former is the unique asymptotically flat solution. In contrast, if both configurations of the Maxwell field and scalar field are nontrivial, the static and asymptotically flat solution is no longer unique. In this section, we will show that the general static solution for n ≥ 4 contains multiple distinct asymptotically flat solutions.

Asymptotics
In this section we consider the (n − 2)−sphere S n−2 as the base manifold K n−2 , so that k = 1 and γ ab dz a dz b = dΩ 2 n−2 , Table 1 Classification of the static solutions. The limit q → 0 is allowed in the solutions (except for type-V 1 ), where φ(x) then necessarily becomes constant in the solutions IV and IX 3 -XI 3 . The limit to constant φ is allowed in the solutions (except for type-III and VIII 0 ), where q necessarily reduces to zero in the solutions II, IV, VII 0 , IX 0 , XI 3 , and X 3 . The term "phantom" in the where dΩ 2 n−2 is the line element on S n−2 . For x → ∞, the functions G(x) and F(x) appearing in the line element of solutions I-IV and V 1 behave as and where All the above cases have the following form: and where f 0 , f 1 , f 2 , g 0 , and g 1 are constants. Two different asymptotic behaviors appear depending whether or not f 0 vanishes.

Asymptotically flat solutions
First we consider the case of f 0 = 0 and then define a new time coordinate T and the areal coordinate R by so that the line element (10) becomes The relation between x and R for R → ∞ is which shows for R → ∞. Thus, it is concluded that the solutions I-IV with k = 1 and the solution V 1 are asymptotically flat for x → ∞ provided f 0 = 0.
Additionally, the asymptotic form of the electric and scalar field in this coordinate system are where the relations are obtained from the asymptotic field equations.

Asymptotically Bertotti-Robinson solutions
In the case of f 0 = 0, on the other hand, the spacetime is not asymptotically flat for x → ∞. This is because the areal coordinate (94) converges to a constant as Moreover, for large x with f 0 = 0, the leading terms of g tt and g x x behave as x 2 and both the scalar and the electric field converge to a constant. The asymptotic behavior for x → ∞ are explicitly given as Thus, the solutions I-IV with k = 1 and the solution V 1 approach the higher-dimensional Bertotti-Robinson solution for x → ∞ in the case f 0 = 0.
Here we show that x → ∞ corresponds to null infinity. Let us consider an affinely-parametrized radial null geodesic x(λ), 0, . . . , 0), where λ is an affine parameter. Such a geodesic satisfies where a dot denotes differentiation with respect to λ. Also, along such a geodesic, C (t) := k μ ξ μ (t) = −F −2ṫ is a conserved quantity associated with the Killing vector ξ μ (t) =  (1, 0, . . . , 0), where k μ = (ṫ,ṙ , 0, . . . , 0) is the tangent vector of the geodesic. Thus from Eq. (106), we obtaiṅ Because the right-hand side of the above equation reduces to a constant for x → ∞ as by Eq. (103), we obtain for x → ∞. Since the affine parameter λ blows up for x → ∞, it corresponds to null infinity. Different from the asymptotically flat case, null infinity x → ∞ is timelike in the asymptotically Bertotti-Robinson solutions. This is because the two-dimensional Lorentzian portion of the Bertotti-Robinson spacetime (104) is AdS 2 .

Conserved charges
Here we use the Regge-Teitelboim method [45] for computing the conserved charges-mass and electric charge-of the asymptotically flat and spherically symmetric solutions. In this Hamiltonian based approach, the mass M is given by a surface integral and it corresponds to the conserved charge associated with the time translation symmetry of a static configuration. A scalar field can add a non-vanishing term to the surface integral which contributes to the mass [46][47][48][49]. As expected, the mass depends on the boundary conditions imposed on the fields. In fact, for a massless scalar field (100), the contribution to the surface integral vanishes if the boundary condition δφ 0 = 0 is imposed. (See Eq. (24) in [50].) Thus, if φ 0 is a fixed constant, the mass is just given by the surface integral corresponding to pure gravity (Eq. (23) in [50]). Hereafter, we assume that boundary condition.
For asymptotically flat spacetimes in pure gravity, or in those cases where there are no additional surface integrals contributing the mass, it is possible to determine the mass M from the coefficient m of the sub-leading term 1/R n−3 of g R R in the spherically symmetric metric (95), which is given by where V n−2 is the volume of S n−2 . In our case, the coefficient m in the asymptotic form of g R R , given by (98), is In what follows we show that he electric charge Q is related to integration constant q as In the Hamiltonian formalism, the line element is written in the following form where the metric coefficients in terms of h i j , N ⊥ , N i are and the inverse metric is given by The determinant of the metric is The Hamiltonian for the Maxwell Lagrangian, is a function of the canonical variables, which are the spatial components of the gauge field A i and their corresponding momenta P i given by The electric charge Q is the conserved charge associated with the gauge symmetry generated by the Gauss constraint ∂ i P i = 0 and given by where the integral is performed on S n−2 at spacelike infinity. A minus sign is included in the above definition because the electric field F ti and the canonical momentum of the gauge field P i have different signs. In our case, N i = 0 holds so that Eq. (118) gives Finally, using dS x = dz 1 · · · dz n−2 , In the terms of the conserved charges and the amplitude of the scalar field φ 1 , the asymptotic form of the solutions I-IV with k = 1 and the solution V 1 is given by

Causal structure
We have shown that asymptotic flatness imposes a constraint on the parameters in the solutions I-IV and V 1 . Now let us clarify the global structure of those asymptotically flat spacetimes. By the no-hair theorem, none of the solutions with a non-trivial scalar field admit a Killing horizon. As a result, the domain of x for an asymptotically flat spacetime is given by x 0 ≤ x < ∞, where x = x 0 is the location of a curvature singularity. In our coordinate system (10), the structure of the singularity in the Penrose diagram is clarified by the two-dimensional portion of the spacetime M 2 , of which line-element ds 2 2 is The line-element ds 2 2 of the conformally completed space-timeM 2 given by ds 2 2 := F(x) 2 ds 2 2 is cast into the following form: by introducing a new radial coordinater defined bȳ A hypersurface with constant x is timelike if it corresponds to a finite value ofr , while it is null if it corresponds tō r → ±∞.
In this subsection, we will show that all the curvature singularities in the asymptotically flat spacetimes, represented by the solutions I-IV and V 1 with nontrivial configurations of a scalar field and a Maxwell field, are timelike. As a result, Fig. 1 is the Penrose diagram for all of them.

Type-I solution
The metric functions G(x) and F(x) for the type-I solution are given by Eqs. (17) and (20) with k = 1 and ε = 1, respectively: Fig. 1 The Penrose diagram for all the asymptotically flat spacetimes given by the solutions I-IV and V 1 with nontrivial configurations of a scalar field and a Maxwell field. A zigzag line represents a timelike curvature singularity. +(−) corresponds to the future (past) null infinity. i +(−) corresponds to the future (past) timelike infinity, while i 0 is the spacelike infinity We assume reality of the scalar field and then 0 < α < 1 without loss of generality. We also assume AB(a − b) = 0 for a nontrivial Maxwell field and A = −B for asymptotic flatness. Both x = a and x = b correspond to curvature singularities where a scalar field diverges. In addition, x = x s defined by F(x s ) = 0 is also a curvature singularity but with a finite scalar field, where x s is given by The above expression shows x s > a > b or b > a > x s for 0 < (−B/A) 1/α < 1 and x s > b > a or a > b > x s for (−B/A) 1/α > 1. The largest value among x s , a, and b corresponds to the singularity which appears in the asymptotically flat spacetime.
In the limit x → x s , we have and hence the singularity x = x s is timelike. In the limit x → a, we have where The singularity x = a is timelike and null for p > −1 and p ≤ −1, respectively. Thus, for 0 < α < 1, the singularity x = a is timelike. This argument is also valid for x = b and hence it is timelike.

Type-II solution
We assume (a − b)ᾱ = 0 in the type-II solution for a nontrivial Maxwell field, of which metric functions G(x) and F(x) are given by Eqs. (17) and (30) with k = 1 and ε = 1, respectively: We also assume F 1 = 0 for asymptotic flatness.
While both x = a and x = b correspond to a curvature singularity where the scalar field diverges, x = x s defined by F(x s ) = 0 is a curvature singularity with a finite scalar field. In the type-II solution, x s is multiple characterized by an integer N ; where θ 0 := arctan(F 1 /F 2 ) and N is an integer. The largest value among x s , a, and b corresponds to the singularity which appears in the asymptotically flat spacetime. We can show that there is always a value of N such that x s (N ) > max{a, b} independent of the parameters, namely there is at least one curvature singularity x = x s which is located outside the singularities at x = a and x = b. This is shown by the fact that x s has the following form: where w takes discrete values in the domain w > 0 and w → ∞ and w → 0 are realized for N → ∞ or N → −∞ depending on the parameters. From the above expression, we obtain and hence the singularity x = x s is timelike. On the other hand, the value of the metric function F(x) is indefinite for x → a or x → b because of its oscillatory nature. A more careful study is necessary to clarify the signature of the curvature singularities at x → a and x → b. We leave this problem for future investigations.

Type-III solution
The metric functions G(x) and F(x) of the type-III solution are given by Eqs. (17) and (36) with k = 1 and ε = 1, respectively: We assume A(a − b) = 0 to give a nontrivial Maxwell field and B = 0 for asymptotic flatness. Both x = a and x = b correspond to curvature singularities where a scalar field diverges. Also, x = x s defined by F(x s ) = 0 is a curvature singularity but with a finite scalar field, where x s is given by This expression shows x s > a > b or b > a > x s for 0 < e −B/A < 1 and x s > b > a or a > b > x s for e −B/A > 1. The largest value among x s , a, and b corresponds to the singularity which appears in the asymptotically flat spacetime.
In the limit x → x s , we have and hence the singularity x = x s is timelike. In the limit x → a, we have

Type-IV solution
We assume φ 1 = 0 in the type-IV solution for a nontrivial Maxwell field, of which metric functions G(x) and F(x) are given by Eqs. (17) and (40) with k = 1, respectively: We also assume B = 0 for asymptotic flatness. While x = a corresponds to a curvature singularity where a scalar field diverges, x = x s defined by F(x s ) = 0 is a curvature singularity with a finite scalar field. In the type-IV solution, x s is multiple and given by where N is an integer. Because there is an infinite number of values of x s greater than a, the largest value of x s corresponds to the singularity which appears in the asymptotically flat spacetime. In the limit of x = x s , we have and hence the singularity x = x s is timelike.

Type-V 1 solution
In the type-V 1 solution, where G 0 > 0 is assumed, the metric functions G(x) and F(x) are given by Eqs. (42) and (44) with k = 1, respectively: We also assume φ 1 = 0 for nontrivial scalar field and for asymptotic flatness, where N is an integer. The location of the singularity x = x s satisfying F(x s ) = 0 is given by where N is an integer. Similar to the type-IV solution, there is an infinite number of values of x s , all of which correspond to finite φ. In the limit of x = x s , we have and hence all the singularities x = x s are timelike.

Concluding remarks
In the present paper, we have presented a complete set of static solutions in the Einstein-Maxwell system with a nonconstant massless scalar field in arbitrary n(≥ 3) dimensions. We have considered warped product spacetimes M 2 × K n−2 , where K n−2 is a (n − 2)-dimensional Einstein space and assumed that the scalar field depends only on the radial coordinate and the electromagnetic field is purely electric. While the solution is unique in any dimensions in the absence of a Maxwell field, there are multiple distinct solutions with a nontrivial Maxwell field. The general solution consists of nine solutions for n ≥ 4 and three solutions for n = 3, which are all written by elementary functions and summarized in Table 1. None of them are endowed of a Killing horizon in accordance with the no-hair theorem. The solutions in four and higher dimensions are also obtained in a different but useful coordinate system, which are presented in Appendix.
We have clarified limiting cases where the Maxwell field or scalar field is trivial and identified solutions which repre-sent asymptotically flat spacetimes depending on the integration constants. In three dimensions, there is a unique asymptotically locally flat solution only in the case without a Maxwell field. In four and higher dimensions, while the asymptotically flat solution is unique with a vanishing Maxwell field or constant scalar field, there are five different asymptotically flat solutions in the case with nontrivial configurations of a Maxwell field and a scalar field. Moreover, the solutions for n ≥ 4, which include the arbitrary dimensional generalization of the Penney solution, can be asymptotically Bertotti-Robinson spacetime depending on the integration constants.
Along the text we have considered a real scalar field. However, one can consider also a phantom scalar field. This case follows from our solutions by including the condition φ 2 1 < 0. In Table 1 we have pointed out the solutions allowing a phantom scalar field, which remain real after direct analytic extensions. Nevertheless, in such a case with a phantom scalar field, a complete classification requires an additional solution in Sect. 3.2. The general solution in the case of κ n φ 2 1 = −(n − 2)(n − 3)kG 0 (< 0) is given by where and B is an integration constant. This corresponds to an arbitrary dimensional generalization of the Ellis wormhole [51] with a Maxwell field. This solution with n = 4 and k = 1 was given in [52]. One of the possible generalization of the present work is to add a cosmological constant. Even without the Maxwell field, a complete classification of the static solutions has not been performed yet. Only the general solution for the case of Ricci flat base manifolds (k = 0), and in presence of a negative cosmological constant, is known in any spacetime dimension [50]. Another possible generalization is to consider the dilatonic coupling of the scalar field to the Maxwell field. Results in this direction, following a similar approach to [35], can be found in [53]. We will address these problems elsewhere.
a simple system of differential equations is obtained: The solution of (A.13) depends on the sign of a 1 . Thus, the following cases appear: Note that if k = 0, and hence γ n = 0, one of the constants c 1 , c 2 must be 0.
(A. 18) Now, from (A.14) we note that the integration constant c 1 must satisfy c 2 1 = γ n . Then, this case is not possible for k = −1. where the integration constants c 1 , c 2 are required, from (A.14), to verify a 1 (c 2 1 + c 2 2 ) + γ n = 0. (A.20) Since a 1 < 0, the last equation implies that this case is only compatible with a transverse section chosen as a (n − 2)dimensional Einstein space having a positive k.
In summary, we have determined all the possible solutions associated to the line element (A.1), where F is given in (A.15), and G = h −2 . The electric field is F rt = q/F 2 and the scalar field φ = c r + φ 0 , with φ 0 an integration constant.