1 Introduction

Rastall gravity is inspired by the idea that conservation laws based on spacetime symmetries has been probed only in the flat or weak field regime of gravity [1]. Within this approach, the covariant derivate of the energy-momentum tensor does not need to vanish, but can be a function of the derivative of some scalar curvature. One interesting result of this model is that all electrovacuum solutions of general relativity are also solutions of Rastall gravity, but as long as (non-vanishing trace) matter is introduced in the theory, the spacetime becomes dependent of the Rastall parameter.

This framework has been attracted some attentions over the last few years, and some results have been already obtained, both related to astrophysical [2,3,4,5,6,7,8,9] and cosmological solutions [10,11,12,13,14,15,16]. In particular, black holes solutions surrounded by exotic matter fields have been obtained based on the idea developed by Kiselev [17], who states that one should consider astrophysical solutions surrounded by a dark energy field, in accordance with the recent cosmological observations about the acceleration of the universe.

In their original work, Kiselev considered black holes surrounded by a quintessence field, but the approach used by the author allows for any kind of isotropic fluid with a defined equation of state. In the following, Chen et al. [18] found the solution for higher dimensional black holes surrounded by quintessence, in general relativity, and Heydarzade e Darabi developed the analogue four-dimensional solution in the framework of Rastall gravity. Our first goal in this paper is to use the same approach to found the higher dimensional analogue of [18] in Rastall gravity.

Also in this paper, our aim is to study the stability of scalar probe fields on the spacetime generated by higher dimensional black holes surrounded by exotic matter fields in Rastall gravity. To be more precise, we will study the scalar quasinormal modes for these black holes. Quasinormal modes are complex numbers that model the emission of gravitational waves by perturbed objects. Its real part is related to the frequency of emission, and its imaginary part is related to its damping (for a review, see [19]).

The study of quasinormal modes has received a great deal of attention over the last years due to both experimental and theoretical reasons: the most obvious one is related to the detection of gravitational waves emitted by compact objects, such as black holes and neutron stars [20]. Also as a theoretical tool, we can mention the so-called gauge/gravity dualities, where the quasinormal modes is related to the poles of a propagator in the dual field theory. Being just a mere theoretical framework for the study of strong coupled gauge theories, or a realistic description of a hypothetical holographic universe, the gauge/gravity dualities has attained a great deal of attention over the last years.

The quasinormal modes for black holes surrounded by quintessence in a four-dimensional spacetime governed by general relativity has already been calculated in [21,22,23,24,25]. We will perform the calculations in the framework of Rastall gravity, for higher dimensional black holes.

This work is organized as following. In Sect. 2, we will introduce the framework of Rastall gravity, and calculate the spacetime generated by a black hole surrounded by a homogeneous and isotropic matter field, for an arbitrary higher dimension. In Sect. 3 we will briefly present the WKB approach for the calculation of the quasinormal modes, and calculate the quasinormal modes for both a quintessence and a phantom field. Finally, in Sect. 4 we will present our conclusions.

2 Higher dimensional BHs surrounded by a perfect fluid

The idea behind Rastall model is that the well-known conservation laws have been tested only in the weak field regime of gravity. Adopting this perspective, the covariant derivative of the energy-momentum tensor does not need to vanish, instead it is proportional to the derivative of some curvature invariant. A straightforward choice is to consider that

$$\begin{aligned} \nabla _{\mu } T^{\mu \nu } \propto \nabla ^\mu R, \end{aligned}$$
(1)

where R is the Ricci scalar. This leads to a modification of Einstein’s equations, that can be recast as

$$\begin{aligned} G_{\mu \nu } + \kappa \lambda g_{\mu \nu } R = \kappa T_{\mu \nu }, \end{aligned}$$
(2)

where \(\kappa \) is a constant related to the Newton’s gravitational constant. Taking the trace of Eq. (2), one gets

$$\begin{aligned} R(4\kappa \lambda -1) = \kappa T. \end{aligned}$$
(3)

For a vanishing trace of the energy-momentum tensor, such as the electrovacuum solution, the above equation requires that \(\kappa \lambda = 1/4\) or \(R=0\). The former possibility is not physically acceptable, since it would demands that \(T=0\) for any scalar curvature. This lead us to conclude that for all matter configuration where the energy-momentum tensor has null trace, Rastall theory have the same solutions as general relativity.

This feature of Rastall model has lead some authors to search for black holes solutions in a background of matter/energy where its energy-momentum tensor has non-vanishing trace. This is a physically acceptable procedure, since the most acceptable explanation for the current acceleration of the universe is the presence of a kind of exotic dark energy, that pervades all the spacetime.

In this paper we will consider two possibilities for this dark energy, to known, a quintessence field and a phantom field. If one adopts a Schwarzschild-like line element,

$$\begin{aligned} ds^2 = f(r) dt^2 - f(r)^{-1} dr^2 - r^2 d \varOmega _{d-2}, \end{aligned}$$
(4)

where \(d\varOmega _{d-2}\) stands for the \((d-2)\)-dimensional sphere, the energy-momentum tensor for a homogeneous and isotropic matter field can be written as [17, 18]

(5)

and

(6)

where \(\omega \) is the parameter for the equation of state of the kind of field we are considering.

Our aim in this section is to solve the gravitational field equations, Eq. (2), for the above energy-momentum tensor, considering the line element given by Eq. (4). Considering the spherical symmetry of the problem, we have only two independent field equations,

(7)

and

(8)

and two independent functions, f(r) and \(\rho (r)\). This system can be solved imposing a power law function for the density, \(\rho (r) = Nr^A\). For the consistency between equations (7) and (8), one must have that

$$\begin{aligned} f(r) = 1 + \frac{C_1}{r^{d-3}} - N_s r^{-\frac{(d-2)(d-1)(1+\omega )-2\kappa \lambda d(d-1)(1+\omega )}{(d-2)-2\kappa \lambda (d-1)(1+\omega )}+2}, \end{aligned}$$
(9)

and

$$\begin{aligned} \rho (r) = - \frac{1}{2}\frac{\mathcal {W}N_s}{\kappa }r^{-\frac{(d-2)(d-1)(1+\omega )-2\kappa \lambda d(d-1)(1+\omega )}{(d-2)-2\kappa \lambda (d-1)(1+\omega )}}, \end{aligned}$$
(10)

where

$$\begin{aligned} {\mathcal {W}} = \frac{[ \omega (d-2)(d-1)-2\kappa \lambda (d-1)(1+\omega )](2\kappa \lambda d-d+2)(d-2)}{[(d-2)-2\kappa \lambda (d-1)(1+\omega )]^2}, \end{aligned}$$
(11)

and \(C_1\) and \(N_s\) are constants, where we set \(C_1\) equal to 2M, so that our solution becomes the Schwarzschild–Tangherlini metric for \(\kappa \lambda \rightarrow 0\). The former is related to the mass of the black hole, and the latter related to the density of the exotic matter. In the case where \(d=4\), the above solution reproduces [7], and in the case where \(\kappa \lambda \rightarrow 0\), the above results reproduce [18].

To find the horizons of the metric (4), for which the \(g_{00}\) coefficient is given by the function (9), one must determine the zeros of such function. In general, this can be achieved only by using numerical methods.

For most of our chosen configurations, the metric will resemble a Schwarzschild–de Sitter spacetime, i.e., will have an event horizon and a cosmological horizon, and for our purpose one must consider only the spacetime region between these radial coordinates.

3 Scalar quasinormal modes

The most straightforward method to study perturbations near a spacetime generated by a black hole is to allow probe fields to be perturbed by such spacetime, without backreacting on it. In general, for a scalar field, this means to find solutions for the Klein–Gordon equation for a well-defined boundary condition, to known, the condition that waves go into the event horizon and also to radial infinity.

In Rastall gravity, it is not possible to determine the exact field equation a scalar field should obey, since to the present moment there is no well accepted Lagrangian for the theory, but one can guess that the Klein–Gordon equation is a first approximation to the modified equation. Any correction to the field equation due to some non-minimal coupling with the curvature can be ignored in such first approximation. Then, the corrections on the quasinormal modes due to the additional Rastall coupling will appear only on the metric.

The dynamics of a massless scalar field \(\varPhi (\mathbf x )\), in a d-dimensional spacetime, is then given by the equation \(\nabla _\mu \nabla ^\mu \varPhi (\mathbf x ) = 0\). For the static spherically symmetric line element defined by Eq. (4), the field equation can be reduced to a Schrödinger type equation, namely,

$$\begin{aligned} \left( \frac{d^2}{dr^{*2}} + E^2 - V(r) \right) \varPhi (\mathbf r ) = 0, \end{aligned}$$
(12)

where the tortoise coordinate is defined as \(dr/dr^* = f(r)\), and the effective potential V(r) is given by

$$\begin{aligned} V(r)= & {} f(r) \left( \frac{(d-2)(d-4)}{4r^2}f(r) + \frac{d-2}{2r}f'(r) \right. \nonumber \\&\left. +\,\frac{l(l+D-3)}{r^2}\right) , \end{aligned}$$
(13)

with l being the angular momentum eigenvalue related to the angular momentum operator \(L^2\). We are using E instead of \(\omega \) for the frequency to avoid confusion with the parameter \(\omega \) of the equation of state.

Fig. 1
figure 1

Upper left: \(\omega =-2/3, \lambda \kappa = 0.1, M=1, N_s=0.01\) and \(d=4\). Upper right: \(\omega =-2/3, \lambda \kappa = 0.1, M=1, l=2\) and \(d=4\). Bottom left: \(\omega =-2/3, N_s=0.001, M=1, l=4\) and \(d=4\). Bottom right: \(\omega =-2/3, \lambda \kappa = 0.2, M=1, N_s=0.01\) and \(l=4\)

In Fig. 1 it is plotted several configurations for the potential. Let us first note that due to the f(r) term on the effective potential, it will vanish on both horizons. In the upper left figure, we vary the angular momentum eigenvalue using \(\omega =-2/3, \lambda \kappa = 0.1, M=1, N_s=0.01\) and \(d=4\). The result is similar the one obtained for the Schwarzschild metric. In the upper right figure, we vary the parameter \(N_s\), related to the exotic matter field, using \(\omega =-2/3, \lambda \kappa = 0.1, M=1, l=2\) and \(d=4\). As we increase the parameter, the radius of the cosmological horizon decreases. For the bottom left figure, we vary the Rastall parameter \(\kappa \lambda \) using \(\omega =-2/3, N_s=0.001, M=1, l=4\) and \(d=4\). One can note that the cosmological horizon decreases as we increase the Rastall parameter. For the bottom right figure, we vary the spacetime dimension, using \(\omega =-2/3, \lambda \kappa = 0.2, M=1, N_s=0.01\) and \(l=4\). One can note that the value of the cosmological parameter increases as we increase the spacetime dimension. It also can be noted that the event horizon decreases as the spacetime dimension increases, but this is a well-known feature of the ild–Tangherlini metric.

To find the scalar quasinormal modes, one must solve Eq. (12), together with the following set of boundary conditions,

$$\begin{aligned} \varPhi (\mathbf x \rightarrow - \infty ) = C_I \varPhi _I^{out}, \quad \varPhi (\mathbf x \rightarrow + \infty ) = C_{II} \varPhi _{II}^{out}. \nonumber \\ \end{aligned}$$
(14)

Equation (12) can be solved using the familiar WKB approach, were an approximate WKB solution is found at approaching both the event and cosmological horizon, and matched with the approximated solution found around the peak of the potential. To conciliate the boundary conditions with the matching, the modes should obey the constraint

$$\begin{aligned} i\frac{Q_0}{\sqrt{2 Q_0''}} - \sum _{k=2}^{m} \varLambda _k = n + 1/2, \end{aligned}$$
(15)

where \(Q(r) = E^2 - V(r)\), and \(Q_0'' = d^2Q(r) / dr^{*2}\). The parameter n is called the tone number of the quasinormal mode. The \(\varLambda _k\)’s can be obtained from the potential Q(r) up to its 2k-derivative, and indicates the order of the WKB method. The 3rd order WKB was developed in [26] and the 6th order in [27]. An explicit formula for \(\varLambda _k\) can be found in the original papers [26, 27]. For \(l > n\), the WKB method is a good approximation for the quasinormal modes, and in this paper we will use the 5th order WKB method to calculate them. Our aim is to determine the (quasinormal) modes E of the system.

Fig. 2
figure 2

Scalar quasinormal modes for the parameters \(M=1, N=0.001\) and \(d=4\). We are using \(l=4\), and the dots indicate, from top do bottom, \(n=0,1,2\) and 3. The blue, green and red lines were calculated for \(\kappa \lambda =0.0, 0.2 \) and 0.4

Fig. 3
figure 3

Scalar quasinormal modes for the parameters \(M=1, N=0.0001\) and \(d=4\). We are using \(l=4\), and the dots indicate, from top do bottom, \(n=0,1,2\) and 3. The blue, green and red lines were calculated for \(\kappa \lambda =0.0, 0.4 \) and 0.6

As long this is a paper on Rastall gravity, we will study how the quasinormal modes change as we change the Rastall parameter \(\kappa \lambda \). However, the model have a great number of free parameters, to known, the parameter \(N_s\) related to the perfect fluid density, the equation of state \(\omega \) and the dimension of the theory. We will start studying the effect of the Rastall parameter on the modes, in respect with a chosen parameter \(N_s\).

As can be seen in Fig. 1, at top right, the second zero of the potential (the cosmological horizon) is smaller for smaller values of the parameter \(N_s\). On the same graph, at the left bottom, the cosmological horizon is smaller as we increase the Rastall parameter. This indicates that the quasinormal modes will be more affected for small values of the parameter \(N_s\), coupled with larger values of the Rastall parameter. This behaviour can indeed be seen in Figs. 2 and 3. In these figures, we keep the parameters \(M, \omega \) and d fixed, and vary the Rastall parameter for two values of the parameter \(N_s\), to known, \(N_s=0.001\) in Fig. 2 and \(N=0.0001\) in Fig. 3. When \(N=0.001\), small values of the Rastall parameter induce a larger variation on the modes than great values of it when \(N=0.0001\). In fact, for larger values of the Rastall parameter than the ones plotted on these graphs, the event horizon is too close to the cosmological horizon, and so we cannot trust the results of the WKB method. If we increase the Rastall parameter a little bit more, there is no more horizons, and so there is no black hole. For values of the parameter \(\kappa \lambda \) smaller than the ones we used in our study, it is not possible to measure the difference between Rastall and Einstein’s gravity, at least in the context of the WKB method.

Table 1 Shift on the real and imaginary parts of the QNMs, compared with the QNMs measured in GR (\(\kappa \lambda \rightarrow 0\)). The five columns are: dimension (d), used value for the parameter \(N_s\), used value for the parameter \(\kappa \lambda \), modulus the difference between the calculated quasinormal modes and the same correspondent modes on GR, both the real part and imaginary part. The others parameters were \(l=4\), \(n=0\) and \(\omega =-2/3\)

To push the discussion further, one can change the dimension of the theory or the equation of state. We will start changing the dimension of the theory, and look how the modes change as we change the Rastall parameter. We did the calculation for two values of the parameter \(N_s\), and the behaviour of the modes is shown on Table 1. We are not so interested in the values of the modes, but the shift of the modes as related to the spacetime dimension. Table 1 contains five columns: the dimension, the value of the parameter \(N_s\), the value of the Rastall parameter and the shift of the mode between the value obtained with this Rastall parameter in relation with the one obtained in GR (\(\kappa \lambda \rightarrow 0)\), for its real and imaginary parts. For the obtained values, we used \(M=1, \omega =-2/3, l=4\) and \(n=0\).

As can be seen on Table 1, the shift on the modes is smaller as we decrease the parameter \(N_s\) and increase the dimension of the spacetime. The result due the parameter \(N_s\) was already clear on the relation between Figs. 2 and 3, and the results due to the increasing on the spacetime dimension, although not obvious, is consistent with the potentials plotted on Fig. 1. There we can see that, as we increase the spacetime dimension, the cosmological horizon also increases. This indicates that the Rastall parameter, that is in someway related to the value of the cosmological horizon, will be less important for larger dimensions.

Table 2 Shift on the real and imaginary parts of the QNMs, compared with the QNMs measured in GR (\(\kappa \lambda \rightarrow 0\)). The five columns are: dimension (d), used value for the parameter \(N_s\), used value for the parameter \(\kappa \lambda \), modulus the difference between the calculated quasinormal modes and the same correspondent modes on GR, both the real part and imaginary part. The others parameters were \(l=4\), \(n=0\) and \(\omega =-4/3\)

To study other kinds of exotic matter, one can change the equation of state, \(\omega \). Here we will do the same analysis as sketched above for \(\omega = -4/3\), a kind of field usually known as phantom field (\(\omega < 1\)). The calculated values are shown in Table 2, where, once more, we are interested on the shift of the modes relative to the values obtained in GR. We can note the same kind of behaviour found for the quintessence, but now we have been able to use values for the Rastall parameter close to unity, and could use even larger, without collapsing both horizons. The reason is that black hole solutions, with a cosmological horizon, exists for larger values of the Rastall parameter compared with the quintessence. As long as the Rastall parameter should be unique, the existence of black holes surrounded by a perfect fluid, in Rastall theory, should be a function of the parameter \(N_s\), that depends on the density of the field configuration.

Our study could be enlarged to calculate the quasinormal modes for other kinds of exotic matter, but it is expected that the same behaviour will be realized. The main result of this study on black holes in higher dimension, surrounded by quintessence, in Rastall gravity, is that its existence imposes some bounds on the Rastall parameter, and this bound is strongly dependent on the density of the field, and the kind of exotic matter. For a phantom field, for example, the existence of black holes and the shift on the modes are less affected by the Rastall parameter than for a quintessence field, for the same energy density configuration.

4 Conclusions

In this paper, we found the spacetime generated by a black hole, surrounded by an exotic matter field, in Rastall gravity, for an arbitrary d-dimensional spacetime. Our main goal was to study the scalar quasinormal modes generated by perturbation on a probe field by such spacetime.

Due to the large number of free parameters of the model, such as the equation of state of the exotic matter, the energy density of the field, the dimension of spacetime, and the Rastall parameter of the theory \(\kappa \lambda \), we focus on the importance of the Rastall parameter for the existence of black holes, and the shift that such modification of the gravitational theory would impose on the quasinormal modes as calculated on the framework of general relativity, where \(\kappa \lambda \rightarrow 0\).

We have shown that the existence of black holes strongly depends on the relation between all the free parameters of the theory. For a quintessence field (\(\omega = -4/3\)), the parameter \(N_s\) must be small, otherwise the cosmological and event horizons will be too close to provide a real scenario for an astrophysical object. In this regime, the shift on the quasinormal modes are weak. The case of a phantom field allows for larger values on the parameter \(N_s\) or for a fixed parameter \(N_s\), allows for larges values of the Rastall parameter.

When we increase the dimension of the spacetime, the effect of both the parameters \(N_s\) and the Rastall parameter become weaker relative to the lower dimensional case. This means that, for the same set of parameters \(N_s\) and \(\kappa \lambda \), higher dimensions induce a lower shift on the quasinormal modes, compared with general relativity.

As long it is expected that the density of the exotic matter that supposedly pervades the universe is low, and the Rastall parameter should be of order unity, the measured shift on the quasinormal modes is not enough to allow some kind of instability on the system. To confirm such statement, one should study perturbations on the Rastall equations itself, and calculate the tensor quasinormal modes of the theory. We hope to proceed with this calculation in the near future.