1 Introduction

The dark matter and dark energy are two unsolved problems in cosmology and particle physics. Today many observations, including Type Ia supernovae, cosmic microwave background (CMB), baryon acoustic oscillations (BAO), weak lensing, rotation curve and larger scale structure, etc., have revealed that the dark energy accounts for \(73\%\), the dark matter for \(23\%\) and ordinary baryonic matter only for \(4\%\) of the total mass-energy of the universe (e.g., [1, 2]). Following these observations, many theoretical models have been proposed (e.g., [3,4,5,6]). For example, the phenomenological dark energy models include quintessence, phantom, quintom and other models. The dark matter includes Cold Dark Matter (CDM) (e.g., [7,8,9]), Warm Dark Matter (WDM) and Scalar Field Dark Matter (SFDM) (e.g., [10,11,12,13,14,15,16,17,18,19,20]). The perfect fluid dark matter (PFDM) model has also been proposed recently (e.g., [21,22,23,24,25]). For spiral galaxies, under the assumption of the spherical symmetric mass distribution and perfect fluid matter, one can obtain the solution of the Einstein equation for spherical symmetric gravitational field. When the equation of state for spiral galaxies is around \(-\,1/3\) [21], the PFDM model can explain the asymptotically flat rotation curves.

The covariant conservation of the energy-momentum tensor plays an important role in Einstein’s general relativity (GR). Taking this conservation as starting point, one can derive the conservation of some globally defined physical quantities through Noether symmetry theorem. These conserved quantities take the form of integrals of the components of the energy-momentum tensor over appropriate space-like surfaces, which allow at least one of the Killing vectors of the background space-time as their normal. Thus, the total rest energy and rest mass of a physical system are conserved in the context of GR [34]. On the other hand, some modified Einstein GR have relaxed conservation condition of the energy-momentum tensor. One of the modified gravity theory was introduced by Rastall [27, 28], in which the conservation of the energy-momentum tensor changes to be \(T^{\mu \nu }_{~~;\mu }=\lambda R^{,\nu }\). When the space-time is flat, the conservation law becomes the usual formalism. This theory could be understood as Mach principle which represents the mass distribution depending on the energy and mass in the space-time [29], and has many interesting applications in cosmology and strong gravity space-time (e.g., [30,31,32,33,34,35,36]). However, the physical relevance of the Rastall gravity is under dispute. Recently, Visser [38] pointed out that the Rastall gravity is equivalent to the Einstein GR, while Darabi et al. [37] suggested that the two gravitational theories are not equivalent, although both work admit that the parameter \(\kappa \lambda \) always represents the rearrangement of the matter sector of the Einstein GR. In this context, it is still worth studying the Rastall gravity in both observational and theoretical aspects.

The physical effects of the dark matter and dark energy on the black hole properties have been investigated recently and attracted increasing attention. The cosmological constant in Schwarzschild black hole space-time has been discussed in Kottler [48], and later generalized to the rotational black hole by Carter [47]. The dynamics of the quintessence dark energy in Schwarzschild space-time have been obtained by Kiselev [49], in which the equation of state \(\omega \) for perfect fluid matter is constant. That work has been generalized to the Kerr black hole and Kerr–Newman-AdS (KN-AdS) black hole [25, 50]. In the case of spherical symmetry, the Reissner–Nordstrom black hole space-time surrounded by perfect fluid matter in the Rastall gravity has been obtained by Heydarzade and Darabi [34]. In this work, we further generalize the Reissner–Nordstrom black hole space-time to the rotational black hole (KN-AdS black hole) space-time in the Rastall gravity and investigate accordingly the KN-AdS black hole properties.

The outline of the paper is as follows. In Sect. 2, we introduce the Reissner–Nordstrom black hole solution with perfect fluid matter in the Rastall gravity. In Sect. 3, we derive the KN-AdS black hole solution using Newman–Janis method and Mathematica package. In Sect. 4, we analyze the properties of the KN-AdS black hole surrounded by perfect fluid matter in the Rastall gravity, including the energy condition, horizon structure, ergosphere and singularity. In Sect. 5, we calculate the rotation velocity in the equatorial plane and discuss its applications. The summary is given in Sect. 6.

2 Reissner–Nordstrom black hole in perfect fluid matter

In this section, we introduce the Reissner–Nordstrom black hole solution surrounded by perfect fluid matter in the Rastall gravity. The Rastall gravity is based on the Rastall hypothesis which generalizes the energy-momentum conservation law to the following formalism [27, 28]

$$\begin{aligned} T^{\mu \nu }_{;\mu }=\lambda R^{,\nu }, \end{aligned}$$
(1)

where \(T_{\mu \nu }\) is the energy-momentum tensor, \(\lambda \) is the Rastall parameter which represents the level of the energy-momentum conservation law in gravity theory and whether the Mach principle is satisfied. In this theory, the generalized Einstein field equation is given by

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

where \(\kappa =8\pi G_{N}\) is the gravitational constant of the Rastall gravity and \(G_{N}\) is the gravitational constant of the Newton gravity. When \(\lambda \rightarrow 0\), the field equation reduces to the Einstein field equation in GR.

In Heydarzade and Darabi [34], the Reissner–Nordstrom black hole solution in perfect fluid matter is given by

$$\begin{aligned} ds^{2}=-f(r)dt^{2}+g^{-1}(r)dr^{2}+r^{2}(d\theta ^{2}+sin^{2}\theta d\phi ^{2}), \end{aligned}$$
(3)

where

$$\begin{aligned} f(r)= & {} g(r)=1-\dfrac{2M}{r}+\dfrac{Q^{2}}{r^{2}}\nonumber \\&-\,\alpha r^{-\dfrac{1+3\omega -6\kappa \lambda (1+\omega )}{1-3\kappa \lambda (1+\omega )}}. \end{aligned}$$
(4)

\(\alpha \) is the perfect fluid matter intensity around the black hole, M is the mass of the black hole, Q is the charge of the black hole and \(\omega \) describes the equation of state defined by \(\omega =p/\rho \) with p and \(\rho \) the pressure and density of the perfect fluid matter, respectively.

The electromagnetic field is encoded by the gauge potential A which is

$$\begin{aligned} A=\dfrac{Q}{r}dt, \end{aligned}$$
(5)

Although the real dark matter or dark energy could not satisfy the perfect fluid condition, the perfect fluid is a good approximation to describe the behaviour of the dark matter and dark energy. When \(\lambda \rightarrow 0\), the black hole solution Eq. (3) reduces to the Kiselev formalism [49]. For \(-1<\omega <-1/3\), the solution represents the black hole surrounded by the dark energy [25, 49, 50]. For \(\omega =-1/3\), the solution represents the black hole surrounded by the perfect fluid dark matter [21,22,23,24,25].

3 KN-AdS black hole in perfect fluid matter

3.1 Newman–Janis method and Kerr–Newman solution in perfect fluid matter

Using the Newman–Janis method [51,52,53,54], we generalize the Reissner–Nordstrom black hole to the Kerr–Newman black hole in perfect fluid matter in the Rastall gravity. First, we perform transformation for the spherical symmetric black hole space-time metric (Eq. 3) from Boyer–Lindquist (BL) coordinates \((t,r,\theta ,\phi )\) to Eddington–Finkelstein (EF) coordinates \((u,r,\theta ,\phi )\) through

$$\begin{aligned} du=dt-\dfrac{dr}{1-\dfrac{2M}{r}+\dfrac{Q^{2}}{r^{2}}-\alpha r^{-\dfrac{1+3\omega -6\kappa \lambda (1+\omega )}{1-3\kappa \lambda (1+\omega )}}},\nonumber \\ \end{aligned}$$
(6)

and the space-time metric (Eq. 3) becomes

$$\begin{aligned} ds^{2}= & {} -\left( 1-\dfrac{2M}{r}+\dfrac{Q^{2}}{r^{2}}-\alpha r^{-\dfrac{1+3\omega -6\kappa \lambda (1+\omega )}{1-3\kappa \lambda (1+\omega )}}\right) \nonumber \\&\quad \times du^{2}-2dudr+r^{2}d\Omega ^{2}. \end{aligned}$$
(7)

For the electromagnetic field part, the gauge potential A in the (ur) plane becomes

$$\begin{aligned} A=\dfrac{Q}{r}\left( du+\dfrac{dr}{1-\dfrac{2M}{r}+\dfrac{Q^{2}}{r^{2}}-\alpha r^{-\dfrac{1+3\omega -6\kappa \lambda (1+\omega )}{1-3\kappa \lambda (1+\omega )}}}\right) .\nonumber \\ \end{aligned}$$
(8)

The non-zero components of the inverse space-time metric (Eq. 7) are given by

$$\begin{aligned} g^{rr}= & {} 1-\dfrac{2M}{r}+\dfrac{Q^{2}}{r^{2}}-\,\alpha r^{-\dfrac{1+3\omega -6\kappa \lambda (1+\omega )}{1-3\kappa \lambda (1+\omega )}},\nonumber \\&\quad g^{\theta \theta }=\dfrac{1}{r^{2}}, \nonumber \\ g^{\phi \phi }= & {} \dfrac{1}{r^{2}sin^{2}\theta }, \quad g^{ur}=g^{ru}=-1. \end{aligned}$$
(9)

In the null (EF) frame, the metric matrix can be written as

$$\begin{aligned} g^{\mu \nu }=-l^{\mu }n^{\nu }-l^{\nu }n^{\mu }+m^{\mu }{\overline{m}}^{\nu }+m^{\nu }{\overline{m}}^{\mu }, \end{aligned}$$
(10)

where the corresponding components are

$$\begin{aligned} l^{\mu }= & {} \delta ^{\mu }_{r}, \nonumber \\ n^{\mu }= & {} \delta ^{\mu }_{0}-\dfrac{1}{2}\left( 1-\dfrac{2M}{r}+\dfrac{Q^{2}}{r^{2}}\right. \nonumber \\&\left. -\,\alpha r^{-\dfrac{1+3\omega -6\kappa \lambda (1+\omega )}{1-3\kappa \lambda (1+\omega )}}\right) \delta ^{\mu }_{r},\nonumber \\ m^{\mu }= & {} \dfrac{1}{\sqrt{2}r}\delta ^{\mu }_{\theta }+\dfrac{i}{\sqrt{2}r sin\theta }\delta ^{\mu }_{\phi },\nonumber \\ {\overline{m}}^{\mu }= & {} \dfrac{1}{\sqrt{2}r}\delta ^{\mu }_{\theta }-\dfrac{i}{\sqrt{2}r sin\theta }\delta ^{\mu }_{\phi }. \end{aligned}$$
(11)

For any point in the black hole space-time, the null vectors of the null tetrad satisfy the relations of \(l_{\mu }l^{\mu }=n_{\mu }n^{\mu }=m_{\mu }m^{\mu }=l_{\mu }m^{\mu }=n_{\mu }m^{\mu }=0\) and \(l_{\mu }n^{\mu }=-m_{\mu }{\overline{m}}^{\mu }=1\). In the plane of (ur), the coordinate transformations are

$$\begin{aligned}&u\longrightarrow u-iacos\theta ,\nonumber \\&r\longrightarrow r-iacos\theta . \end{aligned}$$
(12)

We then perform the transformations of \(f(r)\rightarrow F(r,a,\theta )\), \(g(r)\rightarrow G(r,a,\theta )\), and \(\Sigma ^{2}=r^{2}+a^{2}cos^{2}\theta \). In the (ur) space, the null vectors become

$$\begin{aligned} l^{\mu }= & {} \delta ^{\mu }_{r},\quad n^{\mu }=\sqrt{\dfrac{G}{F}}\delta ^{\mu }_{0}-\dfrac{1}{2}F\delta ^{\mu }_{r},\nonumber \\ m^{\mu }= & {} \dfrac{1}{\sqrt{2}\Sigma }\left( \delta ^{\mu }_{\theta }+ia sin\theta (\delta ^{\mu }_{0}-\delta ^{\mu }_{r})+\dfrac{i}{sin\theta }\delta ^{\mu }_{\phi }\right) ,\nonumber \\ {\overline{m}}^{\mu }= & {} \dfrac{1}{\sqrt{2}\Sigma }\left( \delta ^{\mu }_{\theta }-ia sin\theta (\delta ^{\mu }_{0}-\delta ^{\mu }_{r})-\dfrac{i}{sin\theta }\delta ^{\mu }_{\phi }\right) . \end{aligned}$$
(13)

From the definition of the null tetrad, the metric tensor \(g^{\mu \nu }\) in the EF coordinates are given by

$$\begin{aligned} g^{uu}= & {} \dfrac{a^{2}sin^{2}\theta }{\Sigma ^{2}},\quad g^{rr}=G+\dfrac{a^{2}sin^{2}\theta }{\Sigma ^{2}},\nonumber \\ g^{\theta \theta }= & {} \dfrac{1}{\Sigma ^{2}},\quad g^{\phi \phi }=\dfrac{1}{\Sigma ^{2}sin^{2}\theta },\nonumber \\ g^{ur}= & {} g^{ru}=-\sqrt{\dfrac{G}{F}}-\dfrac{a^{2}sin^{2}\theta }{\Sigma ^{2}},\nonumber \\ g^{u\phi }= & {} g^{\phi u}=\dfrac{a}{\Sigma ^{2}},\quad g^{r\phi }=g^{\phi r}=-\dfrac{a}{\Sigma ^{2}}. \end{aligned}$$
(14)

Through calculation, the covariant metric tensor in the EF coordinates are

$$\begin{aligned} g_{uu}= & {} -\,F,\quad g_{\theta \theta }=\Sigma ^{2},\quad g_{ur}=g_{ru}=-\sqrt{\dfrac{G}{F}},\nonumber \\ g_{\phi \phi }= & {} sin^{2}\theta \left( \Sigma ^{2}+a^{2}(2\sqrt{\dfrac{F}{G}}-F)sin^{2}\theta \right) ,\nonumber \\ g_{u\phi }= & {} g_{\phi u}=a\left( F-\sqrt{\dfrac{F}{G}}\right) sin^{2}\theta ,\quad \nonumber \\ g_{r\phi }= & {} g_{\phi r}=a sin^{2}\theta \sqrt{\dfrac{F}{G}}. \end{aligned}$$
(15)

Using Eq. (12) we can obtain the electromagnetic field gauge potential A in the EF coordinates as

$$\begin{aligned} A=\dfrac{Qr}{\Sigma ^{2}}(du-a sin^{2}\theta d\phi ). \end{aligned}$$
(16)

Finally we perform the coordinate transformation from the EF to BL coordinates as

$$\begin{aligned} du=dt+\lambda (r)dr,\quad d\phi =d\phi +h(r)dr, \end{aligned}$$
(17)

where

$$\begin{aligned} \lambda (r)= & {} -\,\dfrac{r^{2}+a^{2}}{r^{2}g(r)+a^{2}},\quad h(r)=-\dfrac{a}{r^{2}g(r)+a^{2}},\quad \nonumber \\ F(r,\theta )= & {} G(r,\theta )=\dfrac{r^{2}g(r)+a^{2}cos^{2}\theta }{\Sigma ^{2}}. \end{aligned}$$
(18)

In the BL coordinates, the Kerr–Newman black hole solution in perfect fluid matter is therefore given by

$$\begin{aligned} ds^{2}= & {} -\,\left( 1-\dfrac{2Mr-Q^{2}+\alpha r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}}{\Sigma ^{2}}\right) dt^{2}\nonumber \\&\quad -\,\dfrac{2a sin^{2}\theta \left( 2Mr-Q^{2}+\alpha r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}\right) }{\Sigma ^{2}}d\phi dt\nonumber \\&+\,\Sigma ^{2}d\theta ^{2}+\dfrac{\Sigma ^{2}}{\Delta _{r}}dr^{2}+sin^{2}\theta \left( \phantom {\theta \dfrac{2Mr-Q^{2}+\alpha r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}}{\Sigma ^{2}}}r^{2}+a^{2}+a^{2}sin^{2}\right. \nonumber \\&\quad \left. \theta \dfrac{2Mr-Q^{2}+\alpha r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}}{\Sigma ^{2}}\right) d\phi ^{2}, \end{aligned}$$
(19)

where

$$\begin{aligned} \Delta _{r}=r^{2}-2Mr+a^{2}+Q^{2}-\alpha r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}. \end{aligned}$$
(20)

And the gauge potential A is accordingly

$$\begin{aligned} A=\dfrac{Qr}{\Sigma ^{2}}(dt-a sin^{2}\theta d\phi ). \end{aligned}$$
(21)

From the Newman–Janis method, we know that this Kerr–Newman black hole space-time metric in the Rastall gravity (Eq. 19) satisfies the Einstein–Maxwell field equation. If there is no perfect fluid matter around the black hole (\(\alpha =0\)), this solution will reduce to the usual Kerr–Newman black hole in the Rastall gravity. If \(\kappa \lambda =0\), it will reduce to the Kerr–Newman black hole in perfect fluid matter in the Einstein GR [25].

3.2 KN-AdS solution in perfect fluid matter

Now we extend the Kerr–Newman black hole to the KN-AdS black hole surrounded by the perfect fluid matter. Since the Newman–Janis method does not include the cosmological constant \(\Lambda \), we employ other method to obtain the solution with the presence of the cosmological constant, as presented in Xu and Wang [25]. First, we rewrite the above Kerr–Newman black hole metric (Eq. 19) as

$$\begin{aligned} ds^{2}= & {} \dfrac{\Sigma ^{2}}{\Delta _{r}}dr^{2}+\Sigma ^{2}d\theta ^{2}+\dfrac{sin^{2}\theta }{\Sigma ^{2}}(adt-(r^{2}+a^{2})d\phi )^{2}\nonumber \\&-\,\dfrac{\Delta _{r}}{\Sigma ^{2}}(dt-a sin^{2}d\phi )^{2}. \end{aligned}$$
(22)

We then guess the KN-AdS black hole solution as

$$\begin{aligned} ds^{2}= & {} \dfrac{\Sigma ^{2}}{\Delta _{r}}dr^{2}+\dfrac{\Sigma ^{2}}{\Delta _{\theta }}d\theta ^{2}\nonumber \\&+\,\dfrac{\Delta _{\theta }sin^{2}\theta }{\Sigma ^{2}}\left( a\dfrac{dt}{\Xi }-\left( r^{2}+a^{2}\right) \dfrac{d\phi }{\Xi }\right) ^{2}\nonumber \\&-\,\dfrac{\Delta _{r}}{\Sigma ^{2}}\left( \dfrac{dt}{\Xi }-a sin^{2}\dfrac{d\phi }{\Xi }\right) ^{2}, \end{aligned}$$
(23)

where

$$\begin{aligned} \Delta _{r}= & {} r^{2}-2Mr+a^{2}+Q^{2}-\alpha r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}\nonumber \\&-\,\dfrac{\Lambda }{3}r^{2}(r^{2}+a^{2}),\nonumber \\ \Delta _{\theta }= & {} 1+\dfrac{\Lambda }{3}a^{2}cos^{2}\theta ,\quad \Xi =1+\dfrac{\Lambda }{3}a^{2}. \end{aligned}$$
(24)

The solution should satisfy the Einstein–Maxwell field equations which are

$$\begin{aligned} G_{\mu \nu }= & {} R_{\mu \nu }-\dfrac{1}{2}R g_{\mu \nu }+\kappa \lambda g_{\mu \nu }R+\Lambda g_{\mu \nu }=\kappa T_{\mu \nu },\nonumber \\ F^{\mu \nu }_{;\nu }= & {} 0, \quad F^{\mu \nu ;\alpha }+F^{\nu \alpha ;\mu }+F^{\alpha \mu ;\nu }=0. \end{aligned}$$
(25)

Through calculations using the Mathematica package (inserting Eq. (23) into \(G_{\mu \nu }\) (Eq. 25)), we obtain the Einstein tensors in the Rastall gravity as

$$\begin{aligned} G_{tt}= & {} \dfrac{1}{\Sigma ^{6}}\biggl [\dfrac{Q^{2}}{2r^{2}}+\dfrac{\alpha (3\kappa \lambda (1+\omega )-3\omega )}{2(1-3\kappa \lambda (1+\omega ))}\nonumber \\&r^{\dfrac{6\kappa \lambda (1+\omega )-3\omega -1}{1-3\kappa \lambda (1+\omega )}}\biggr ]\left[ r^{4}-2r^{3}M+r^{2}Q^{2}\right. \nonumber \\&\left. -\,\alpha r^{\dfrac{6\kappa \lambda (1+\omega )-3\omega +3}{1-3\kappa \lambda (1+\omega )}}\right. \nonumber \\&\left. +\,a^{2}r^{2}-a^{4}sin^{2}\theta cos^{2}\theta \right] -\dfrac{r a^{2}sin^{2}\theta }{\Sigma ^{4}}\nonumber \\&\biggl [-\dfrac{Q^{2}}{r^{3}}+\dfrac{\alpha [3\kappa \lambda (1+\omega )-3\omega ][6\kappa \lambda (1+\omega )-3\omega -1]}{2(1-3\kappa \lambda (1+\omega ))^{2}}\nonumber \\&r^{\dfrac{9\kappa \lambda (1+\omega )-3\omega -2}{1-3\kappa \lambda (1+\omega )}}\biggr ]\nonumber \\= & {} \dfrac{2[r^{4}-2r^{3}W+a^{2}r^{2}-a^{4}sin^{2}\theta cos^{2}\theta ]W^{'}}{\Sigma ^{6}}\nonumber \\&-\,\dfrac{ra^{2}sin^{2}\theta W^{''}}{\Sigma ^{4}},\nonumber \\ G_{rr}= & {} \dfrac{1}{\Sigma ^{2}\Delta _{r}}\biggl [-Q^{2}-\alpha \dfrac{3\kappa \lambda (1+\omega )-3\omega }{1-3\kappa \lambda (1+\omega )}r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}\biggr ]\nonumber \\= & {} -\,\dfrac{2r^{2}W^{'}}{\Sigma ^{2}\Delta _{r}},\nonumber \\ G_{t\phi }= & {} \dfrac{2a sin^{2}\theta [(r^{2}+a^{2})(a^{2}cos^{2}\theta -r^{2})]}{\Sigma ^{6}}\nonumber \\&\left[ \dfrac{Q^{2}}{2r^{2}}+\dfrac{\alpha (3\kappa \lambda (1+\omega )-3\omega )}{2(1-3\kappa \lambda (1+\omega ))}r^{\dfrac{6\kappa \lambda (1+\omega )-3\omega -1}{1-3\kappa \lambda (1+\omega )}}\right] \nonumber \\&-\,\dfrac{ra^{2}sin^{2}\theta (r^{2}+a^{2})}{\Sigma ^{4}}\biggl [-\dfrac{Q^{2}}{r^{3}}\nonumber \\&+\dfrac{\alpha [3\kappa \lambda (1+\omega )-3\omega ][6\kappa \lambda (1+\omega )-3\omega -1]}{2(1-3\kappa \lambda (1+\omega ))^{2}}\nonumber \\&r^{\dfrac{9\kappa \lambda (1+\omega )-3\omega -2}{1-3\kappa \lambda (1+\omega )}}\biggr ]\nonumber \\= & {} \dfrac{2a sin^{2}\theta [(r^{2}+a^{2})(a^{2}cos^{2}\theta -r^{2})]W^{'}}{\Sigma ^{6}}\nonumber \\&-\,\dfrac{ra^{2}sin^{2}\theta (r^{2}+a^{2})W^{''}}{\Sigma ^{4}},\nonumber \\ G_{\theta \theta }= & {} -\dfrac{2a^{2}cos^{2}\theta }{\Sigma ^{2}}\biggl [\dfrac{Q^{2}}{2r^{2}}+\dfrac{\alpha (3\kappa \lambda (1+\omega )-3\omega )}{2(1-3\kappa \lambda (1+\omega ))}\nonumber \\&r^{\dfrac{6\kappa \lambda (1+\omega )-3\omega -1}{1-3\kappa \lambda (1+\omega )}}\biggl ]-r\left[ -\dfrac{Q^{2}}{r^{3}}+\right. \nonumber \\&\dfrac{\alpha [3\kappa \lambda (1+\omega )-3\omega ][6\kappa \lambda (1+\omega )-3\omega -1]}{2(1-3\kappa \lambda (1+\omega ))^{2}}\nonumber \\&r^{\dfrac{9\kappa \lambda (1+\omega )-3\omega -2}{1-3\kappa \lambda (1+\omega )}}\biggr ] =-\,\dfrac{2a^{2}cos^{2}\theta W^{'}}{\Sigma ^{2}}-rW^{''},\nonumber \\ G_{\phi \phi }= & {} -\dfrac{a^{2}sin^{2}\theta }{\Sigma ^{6}}\biggl [(r^{2}+a^{2})(a^{2}+(2r^{2}+a^{2})cos2\theta )\nonumber \\&+\,2r^{3}sin^{2}\theta \left( M-\dfrac{Q^{2}}{2r}+\dfrac{\alpha }{2}r^{\dfrac{3\kappa \lambda (1+\omega )-3\omega }{1-3\kappa \lambda (1+\omega )}})\right) \biggr ]\nonumber \\&\biggl [\dfrac{Q^{2}}{2r^{2}}+\dfrac{\alpha (3\kappa \lambda (1+\omega )-3\omega )}{2(1-3\kappa \lambda (1+\omega ))}\nonumber \\&r^{\dfrac{6\kappa \lambda (1+\omega )-3\omega -1}{1-3\kappa \lambda (1+\omega )}}\biggr ]-\dfrac{rsin^{2}\theta (r^{2}+a^{2})^{2}}{\Sigma ^{4}}\nonumber \\&\biggl [-\,\dfrac{Q^{2}}{r^{3}}+\dfrac{\alpha [3\kappa \lambda (1+\omega )-3\omega ][6\kappa \lambda (1+\omega )-3\omega -1]}{2(1-3\kappa \lambda (1+\omega ))^{2}}\nonumber \\&r^{\dfrac{9\kappa \lambda (1+\omega )-3\omega -2}{1-3\kappa \lambda (1+\omega )}}\biggr ] \nonumber \\= & {} -\dfrac{a^{2}sin^{2}\theta [(r^{2}+a^{2})(a^{2}+(2r^{2}+a^{2})cos2\theta )+2r^{3}sin^{2}\theta W)]W^{'}}{\Sigma ^{6}}\nonumber \\&-\,\dfrac{rsin^{2}\theta (r^{2}+a^{2})^{2}W^{''}}{\Sigma ^{4}}, \end{aligned}$$
(26)

where \(W(r)=M-\dfrac{Q^{2}}{2r}+\dfrac{\alpha }{2}r^{\dfrac{3\kappa \lambda (1+\omega )-3\omega }{1-3\kappa \lambda (1+\omega )}}\).

Generically, the Kerr black hole in GR is a vacuum solution and hence the energy-momentum tensor is zero. A non-zero cosmological constant \(\Lambda \) in GR incorporates a static geometry which is known to only shift its vacuum energy by a constant, while has no effect on the energy-momentum tensor. Analogically, in the Rastall gravity, the non-zero \(\Lambda \) should not appear in the explicit expression of the Einstein tensor (or energy-momentum tensor) components either, in the case of the KN-AdS black hole space-time surrounded by the perfect fluid matter. This is exactly what we obtained (Eq. 26). Therefore, our guessed solution (Eq. 23) satisfies the Einstein–Maxwell field equation (Eq. 25) with the perfect fluid matter in the Rastall gravity. Similarly, the gauge potential A in the KN-AdS black hole does not involve \(\Lambda \) and has same expression as in the case of Kerr–Newman black hole (Eq. 21), therefore it also satisfies the Einstein–Maxwell equation (Eq. 25).

In order to compute the energy-momentum tensor, we give the following tetrad

$$\begin{aligned} e^{\mu }_{t}= & {} \dfrac{1}{\sqrt{\Xi ^{2}\Sigma ^{2}\Delta _{r}}}(r^{2}+a^{2},0,0,a),\nonumber \\ e^{\mu }_{r}= & {} \dfrac{\sqrt{\Delta _{r}}}{\sqrt{\Sigma ^{2}}}(0,1,0,0),\nonumber \\ e^{\mu }_{\theta }= & {} \dfrac{\sqrt{\Delta _{\theta }}}{\sqrt{\Sigma ^{2}}}(0,0,1,0),\nonumber \\ e^{\mu }_{\phi }= & {} -\dfrac{1}{\sqrt{\Xi ^{2}\Sigma ^{2}sin^{2}\theta }}(r^{2}+a^{2},0,0,a). \end{aligned}$$
(27)

The non-zero components of the energy-momentum tensor are given by

$$\begin{aligned} E= & {} -\dfrac{1}{\kappa }e^{\mu }_{t}e^{\nu }_{t}G_{\mu \nu }=-\dfrac{1}{\kappa }g^{tt}\left( R_{tt}-\dfrac{1}{2}Rg_{tt}+\kappa \lambda g_{tt}R+\Lambda g_{tt}\right) ,\nonumber \\ P_{r}= & {} \dfrac{1}{\kappa }e^{\mu }_{r}e^{\nu }_{r}G_{\mu \nu }=\dfrac{1}{\kappa }g^{rr}\left( R_{rr}-\dfrac{1}{2}Rg_{rr} +\kappa \lambda g_{rr}R+\Lambda g_{rr}\right) ,\nonumber \\ P_{\theta }= & {} \dfrac{1}{\kappa }e^{\mu }_{\theta }e^{\nu }_{\theta }G_{\mu \nu }=\dfrac{1}{\kappa }g^{\theta \theta }\left( R_{\theta \theta }-\dfrac{1}{2}Rg_{\theta \theta } +\kappa \lambda g_{\theta \theta }R+\Lambda g_{\theta \theta }\right) ,\nonumber \\ P_{\phi }= & {} -\dfrac{1}{\kappa }e^{\mu }_{\phi }e^{\nu }_{\phi }G_{\mu \nu }\nonumber \\= & {} -\dfrac{1}{\kappa }g^{\phi \phi }\left( R_{\phi \phi }-\dfrac{1}{2}Rg_{\phi \phi } +\kappa \lambda g_{\phi \phi }R+\Lambda g_{\phi \phi }\right) . \end{aligned}$$
(28)

We then find that

$$\begin{aligned} \rho= & {} E=-P_{r}=\dfrac{r^{2}}{\kappa (r^{2}+a^{2}cos^{2}\theta )^{2}} \dfrac{\alpha (3\kappa \lambda (1+\omega )-3\omega )(1-4\kappa \lambda )}{(1-3\kappa \lambda (1+\omega ))^{2}}r^{\dfrac{6\kappa \lambda (1+\omega )-3\omega -1}{1-3\kappa \lambda (1+\omega )}},\nonumber \\ P_{\theta }= & {} P_{\phi }=-P_{r}- \dfrac{\alpha [3(\kappa \lambda -\omega )+9\omega ^{2}(1-5\kappa \lambda )+6\omega \kappa \lambda +6\kappa \lambda ^{2}(1+\omega )(6\omega -2-6\omega \kappa \lambda )]}{2\kappa (r^{2}+a^{2}cos^{2}\theta )(1-3\kappa \lambda (1+\omega ))^{2}}r^{\dfrac{6\kappa \lambda (1+\omega )-3\omega -1}{1-3\kappa \lambda (1+\omega )}}.\nonumber \\ \end{aligned}$$
(29)

It is clear that the distribution of the perfect fluid matter around the black hole (Eq. 29) is determined by the parameters of a, \(\Lambda \), Q, \(\alpha \), \(\omega \) and \(\kappa \lambda \). The space-time metric (Eq. 23) describes the perfect fluid matter around the KN-AdS black hole in the Rastall gravity. The equation of state \(\omega \) determines the material form. As described in Sect. 2, if \(-1<\omega <-1/3\), the perfect fluid matter represents the dark energy. If \(\omega =-1/3\), the perfect fluid matter stands for the perfect fluid dark matter. Using this space-time metric, we can study the interaction between the perfect fluid dark matter (or dark energy) and black hole. Such topic is very interesting in regard of the dark matter (dark energy)-black hole systems. From Eq. (29), we can see that the Rastall parameter \(\kappa \lambda \) plays an important role in the distribution of perfect fluid matter around the black hole. Specifically, the Rastall gravity makes the perfect fluid matter to be rearranged around the black hole. If the Rastall gravity is equivalent to the Einstein GR, \(\kappa \lambda \) only describes the re-arrangement of the perfect fluid matter. If the Rastall gravity is not equivalent to the Einstein GR, the meaning of \(\kappa \lambda \) is the same, but the physical origin of \(\kappa \lambda \) is related to the Mach principle.

4 KN-AdS black hole properties in perfect fluid matter

4.1 Energy condition

In this part, we study the energy condition of the KN-AdS black hole in perfect fluid matter in the Rastall gravity. First, we consider the diagonal energy-momentum tensor \(T_{\mu \nu }\) in the standard locally non-rotating frame (LNRF, [55]). The weak energy condition (WEC) can be written as \(T_{\mu \nu }u^{\mu }u^{\nu }\ge 0\), where \(u^{\nu }\) is the time-like vector. The physical meaning of the WEC is that the measured total energy density of all matter fields for any observer traversing a time-like curve is never negative. In the LNRF, the WEC corresponds to \(\rho \ge 0\) and \(\rho +P_{i}\ge 0\), where \(i=r,\theta ,\phi \). From Eq. (29) the WEC requires that

$$\begin{aligned} \alpha (3\kappa \lambda (1+\omega )-3\omega )(1-4\kappa \lambda )\ge 0, \end{aligned}$$
(30)

which is independent of the black hole spin a. Thus, the WEC for the KN-AdS black hole in perfect fluid matter in the Rastall gravity is the same as that for the spherical symmetric black hole [34]. Since \(\alpha \) is always positive, the condition \((3\kappa \lambda (1+\omega )-3\omega )(1-4\kappa \lambda )\ge 0\) will always be satisfied. If considering dark energy (\(\omega =-2/3\)), then this condition will result in \(-2\le \kappa \lambda \le 1/4\). If considering dark matter (\(\omega =-1/3\)), then \(-1/2\le \kappa \lambda \le 1/4\).

The strong energy condition (SEC) requires that the Raychaudhuri equation is \((T_{\mu \nu }-\dfrac{1}{2}Tg_{\mu \nu })u^{\mu }u^{\nu }\ge 0\). In the LNRF, the Raychaudhuri equation becomes \(Y=\rho +P_{r}+P_{\theta }+P_{\phi }\). From Eq. (29) the SEC implies that

$$\begin{aligned} Y= & {} \rho +P_{r}+P_{\theta }+P_{\phi }=\dfrac{\alpha }{\kappa \Sigma ^{4}(1-3\kappa \lambda (1+\omega ))^{2}}\nonumber \\&\quad [2r^{2}(3\kappa \lambda (1+\omega )-3\omega )(1-4\kappa \lambda )-\Sigma ^{2}(3(\kappa \lambda -\omega )\nonumber \\&\quad +\,9\omega ^{2}(1-5\kappa \lambda )+6\omega \kappa \lambda \nonumber \\&\quad +\,6\kappa \lambda ^{2}(1+\omega )(6\omega -2-6\omega \kappa \lambda ))]\ge 0. \end{aligned}$$
(31)

This equation describes the condition that \(\alpha \) and \(\kappa \lambda \) should satisfy when SEC is satisfied. From Eq. (31), we find that \(\rho +P_{r}+P_{\theta }+P_{\phi }=0\) has one zero point, then \(Y=\rho +P_{r}+P_{\theta }+P_{\phi }\) is in the range \([r_{1},\infty )\) in the KN-AdS space-time with perfect fluid matter in the Rastall gravity (where \(r_{1}\) is the root of Eq. 31). At the same time, \(\kappa \lambda \) must satisfy the condition \((3\kappa \lambda (1+\omega )-3\omega )(1-4\kappa \lambda )\ge 0\) which is similar to the WEC condition (Eq. 30). Therefore, the range of \(\kappa \lambda \) under the SEC is consistent with the case of WEC.

4.2 Horizon structure

Black hole properties are determined by the horizon structure of the black hole. For stationary axisymmetric black hole, the horizon definition is

$$\begin{aligned} \Delta _{r}= & {} r^{2}-2Mr+a^{2}+Q^{2}-\alpha r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}\nonumber \\&-\,\dfrac{\Lambda }{3}r^{2}(r^{2}+a^{2})=0, \end{aligned}$$
(32)

where the property of horizon depends on \(\alpha , a, Q, \Lambda , \kappa \lambda \) and \(\omega \). Especially the parameters of \(\kappa \lambda \) and \(\omega \) change the horizon significantly. The number of horizon is determined by \(\omega \). As examples, we discuss the cases of the dark energy (\(\omega =-\,2/3\)) and dark matter (\(\omega =-\,1/3\)). We can set the cosmological constant \(\Lambda =0\) given that it is small.

Case I: for the dark energy, the horizon equation reduces to

$$\begin{aligned} r^{2}-2Mr+a^{2}+Q^{2}-\alpha r^{\dfrac{3}{1-\kappa \lambda }}=0. \end{aligned}$$
(33)

Three horizons exist, including inner horizon (\(r_{-}\)), event horizon (\(r_{+}\)) and cosmological horizons (\(r_{q}\)), where \(r_{q}\) is determined by the dark energy. Then the above equation should have two extreme value points. Through calculation, we find that \(\alpha \) satisfies the condition of

$$\begin{aligned} 0<\alpha \le \dfrac{(1-\kappa \lambda )^{2}}{3(2+\kappa \lambda )}(2M)^{\dfrac{-\kappa \lambda }{1-\kappa \lambda }}. \end{aligned}$$
(34)

When \(M=1\) and \(\kappa \lambda =0\), the above condition reduces to the Kiselev situation. In other cases, the maximum value of \(\alpha \) decreases with the increasing \(\kappa \lambda \) when \(0<\kappa \lambda \) and \(\kappa \lambda \ne 1\), and increases with the increasing of \(\mid \kappa \lambda \mid \) when \(-2<\kappa \lambda <0\).

Case II: for the perfect fluid dark matter, the horizon equation reduces to

$$\begin{aligned} r^{2}-2Mr+a^{2}+Q^{2}-\alpha r^{\dfrac{2}{1-2\kappa \lambda }}=0. \end{aligned}$$
(35)

Dark matter does not produce new horizon and only two normal horizons exist, i.e., inner horizon \(r_{-}\) and event horizon \(r_{+}\). Then the horizon equation should have one extreme value point. Through calculation, we find that \(\alpha \) satisfies the condition of

$$\begin{aligned} 0<\alpha \le (1-\kappa \lambda )(2M)^{-\dfrac{4\kappa \lambda }{1-2\kappa \lambda }}. \end{aligned}$$
(36)

When \(M=1\) and \(\kappa \lambda =0\), the above condition reduces to the Kiselev situation. Similarly, the maximum value of \(\alpha \) decreases with the increasing \(\kappa \lambda \) when \(0<\kappa \lambda <1\) and \(\kappa \lambda \ne 1/2\), and increases with the increasing \(\mid \kappa \lambda \mid \) when \(\kappa \lambda <0\).

These results reveal that \(\kappa \lambda \) would constrain \(\alpha \) in the Rastall gravity. As mentioned in Sects. 1 and 3, the physical origin could have two possibilities. If the Rastall gravity is equivalent to the Einstein GR, \(\kappa \lambda \) only describes the re-arrangement of the perfect fluid matter. If the Rastall gravity is not equivalent to the Einstein GR, the meaning of \(\kappa \lambda \) is the same, but its physical origin is related to the Mach principle. Furthermore, the Mach principle would determine the value of \(\alpha \).

Fig. 1
figure 1

The ergosphere areas of the KN-AdS black hole surrounded by dark energy (\(\omega =-2/3\)) in the Rastall gravity for different \(a, Q, \alpha , \kappa \lambda \). The ergosphere region is between the event horizon (blue line) and the stationary limit surface (red line). The cosmological constant is set as \(\Lambda \simeq 0\)

Fig. 2
figure 2

The ergosphere areas of the KN-AdS black hole surrounded by perfect fluid dark matter (\(\omega =-1/3\)) in the Rastall gravity for different \(a, Q, \alpha , \kappa \lambda \). The ergosphere region is between the event horizon (blue line) and the stationary limit surface (red line). The cosmological constant is set as \(\Lambda \simeq 0\)

4.3 Stationary limit surfaces

The stationary limit surface of the KN-AdS black hole is important because the rotational energy of black hole relates to the ergosphere size. From the black hole metric (Eq. 23), the ergosphere is defined by

$$\begin{aligned} g_{tt}= & {} \dfrac{1}{\Sigma ^{2}\Xi ^{2}}(a^{2}sin^{2}\theta \Delta _{\theta }-\Delta _{r})\nonumber \\= & {} \left[ \phantom {r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}}\dfrac{\Lambda }{3}r^{2}(r^{2}+a^{2})-a^{2}cos^{2}\theta +\dfrac{\Lambda }{3}a^{4}sin^{2}\theta cos^{2}\theta -r^{2}\right. \nonumber \\&\left. +\,2Mr-Q^{2}+\alpha r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}\right] \dfrac{1}{\Sigma ^{2}\Xi ^{2}}=0. \nonumber \\ \end{aligned}$$
(37)

Through calculation, Eq. (37) becomes

$$\begin{aligned}&\dfrac{\Lambda }{3}r^{2}(r^{2}+a^{2})-a^{2}cos^{2}\theta +\dfrac{\Lambda }{3}a^{4}sin^{2}\theta cos^{2}\theta -r^{2}\nonumber \\&\quad +\,2Mr-Q^{2}+\alpha r^{\dfrac{1-3\omega }{1-3\kappa \lambda (1+\omega )}}=0. \end{aligned}$$
(38)

This equation has two roots. There is an ergosphere between the event horizon and the static limit surface. The parameters \(a, \omega , Q, \alpha , \Lambda , \theta \) and \(\kappa \lambda \) could affect the shape of the ergosphere. In Figs. 1 and 2, we show the shapes of the ergosphere for dark energy (\(\omega =-\,2/3\)) and perfect fluid dark matter (\(\omega =-\,1/3\)), respectively. We find following properties of the ergosphere: (1) its size decreases with the increasing \(\alpha \), indicating that dark energy and perfect fluid dark matter reduce the rotational energy of the black hole; (2) its size increases with the increasing \(\kappa \lambda \) in the effective range. These results imply that the Mach principle or the re-arrangement of matter makes the rotational energy of the black hole larger.

4.4 Singularity

According to the Einstein GR, the stationary axisymmetric black hole space-time has singularity. We consider whether or not the singularity changes with the presence of the dark energy and/or the perfect fluid dark matter. From the definition of the singularity, the Kretsmann scalar for all \(\omega \) is given by

$$\begin{aligned} R=R^{\mu \nu \rho \sigma }R_{\mu \nu \rho \sigma }=\dfrac{H(r,\theta ,a,\omega ,\Lambda ,Q^{2})}{\Sigma ^{12}}, \end{aligned}$$
(39)

where H is a polynomial function. The singularity occurs at \(r=0\) and \(\theta =\pi /2\) when \(\Sigma ^{2}=r^{2}+a^{2}cos^{2}\theta =0\). In the Boyer–Lindquist coordinates, the singularity is a ring with a radius of a in the equatorial plane. For different \(\omega \) and \(\alpha \), there are different polynomial functions, but \(\Sigma ^{2}\) is the same as in the usual Kerr black hole. So, the perfect fluid dark matter and dark energy do not change the singularity of the black hole.

5 Rotation velocities in the equatorial plane and rotation curve diversity

Basing on the KN-AdS solution in perfect fluid matter in the Rastall gravity (Sect. 3), we now discuss the rotation curves in the equatorial plane (\(\theta =\dfrac{\pi }{2}\)). We first derive the rotation velocity expression using ordinary method, then we calculate the rotation velocities with the presence of the dark energy and perfect fluid dark matter. Especially for the case of perfect fluid dark matter, we can explain the diversity of rotation curve if considering both the perfect fluid dark matter and a baryon disk which is expressed as \(\rho _{b}=\Sigma _{0}exp[-r/r_{d}]\), where \(\Sigma _{0}\) is the central surface density and \(r_{d}\) is the scale radius.

Fig. 3
figure 3

Curves of the rotation velocity for the KN-AdS black hole surrounded by the dark energy in the Rastall gravity

In the four-dimensional space-time, the four-velocity satisfies the normalized condition for zero angular momentum observer (ZAMO) as \(g_{\mu \nu }u^{\mu }u^{\nu }=-1\). In the axisymmetric space-time, the space-time symmetry leads to two conserved quantities L and E. In our KN-AdS black hole space-time, we write the normalized condition from the expressions of \(u^{\mu }\) and \(u^{\nu }\) as

$$\begin{aligned} g_{tt}\left( \dfrac{dt}{d\tau }\right) ^{2}+2g_{t\phi }\dfrac{dt}{d\tau }\dfrac{d\phi }{d\tau }+g_{\phi \phi }\left( \dfrac{d\phi }{d\tau }\right) ^{2}+g_{rr}\left( \dfrac{dr}{d\tau }\right) ^{2}=-1. \nonumber \\ \end{aligned}$$
(40)

We then obtain

$$\begin{aligned} -E\dfrac{dt}{d\tau }+L\dfrac{d\phi }{d\tau }+g_{rr}\left( \dfrac{dr}{d\tau }\right) ^{2}=-1. \end{aligned}$$
(41)

Combining the equations of (40) and (41), we get

$$\begin{aligned}&\left( \dfrac{dr}{d\tau }\right) ^{2}=-\dfrac{1}{g_{rr}}+\dfrac{g_{\phi \phi }E^{2}+2g_{t\phi }EL+g_{tt}L^{2}}{\left( g^{2}_{t\phi }-g_{tt}g_{\phi \phi }\right) g_{rr}}\nonumber \\&=E^{2}-V^{2}. \end{aligned}$$
(42)

In the black hole space-time, the general conditions for a stable circular orbit are \(\dfrac{dr}{d\tau }=0\) and \(\dfrac{dV^{2}}{dr}=0\), we then get the expressions of L and E as

$$\begin{aligned} E= & {} \pm \dfrac{g_{tt}+g_{t\phi }\Omega _{\phi }}{\sqrt{-g_{tt}-2g_{t\phi }\Omega _{\phi }-g_{\phi \phi }\Omega ^{2}_{\phi }}},\nonumber \\ L= & {} \pm \dfrac{g_{t\phi }+g_{\phi \phi }\Omega _{\phi }}{\sqrt{-g_{tt}-2g_{t\phi }\Omega _{\phi }-g_{\phi \phi }\Omega ^{2}_{\phi }}},\nonumber \\ \Omega _{\phi }= & {} \dfrac{-g_{t\phi ,r}+\sqrt{(g_{t\phi ,r})^{2}-g_{tt,r}g_{\phi \phi ,r}}}{g_{\phi \phi ,r}}. \end{aligned}$$
(43)

From the definition of rotation velocity, we obtain

$$\begin{aligned} v=\dfrac{L}{\sqrt{g_{\phi \phi }}}=\dfrac{1}{\sqrt{g_{\phi \phi }}}\dfrac{g_{t\phi }+g_{\phi \phi }\Omega _{\phi }}{\sqrt{-g_{tt}-2g_{t\phi }\Omega _{\phi }-g_{\phi \phi }\Omega ^{2}_{\phi }}}. \end{aligned}$$
(44)
Fig. 4
figure 4

Curves of the rotation velocity for the KN-AdS black hole surrounded by the perfect fluid dark matter in the Rastall gravity

Figures 3 and 4 show the curves of the rotation velocity for the KN-AdS black hole surrounded by the dark energy and perfect fluid dark matter, respectively, in the Rastall gravity. We find that: (1) in the case of dark energy, the rotation velocity always decreases with the increasing distance from the black hole and becomes flatter with the decreasing \(\kappa \lambda \); (2) in the case of perfect fluid dark matter, the influence of \(\kappa \lambda \) on the rotation velocity is minor at small distances and significant at larger distances. Note that the effect at larger distances is not shown in the figures, but can be inferred from the explicit expression of the rotation velocity (Eq. 46).

As an example of the application of the Rastall gravity, we try to explain the rotation curve diversity of Low Surface Brightness (LSB) galaxies. In the Rastall gravity, the parameter \(\kappa \lambda \) represents the re-arrangement of the perfect fluid matter around the black hole. From Sect. 3, for the perfect fluid dark matter halo (\(\omega =-\,1/3\)), we can calculate the energy density \(\rho \) through the Einstein equation. Because the motion velocity of the dark matter particle is much smaller than the speed of light, the energy density of the perfect fluid dark matter then approximates to the mass density. On the other hand, the rotation curve is usually observed at large distances from the black hole, so that the black hole spin a then can be approximated to zero. From Kamada et al. [58], the baryon matter can be considered as an index disk, i.e., \(\rho _{b}=\Sigma _{0}exp[-\,r/r_{d}]\delta (z),\) in galaxies. Using the perfect fluid dark matter halo and the baryon disk, we can derive the rotation curve expression. In the equatorial plane, the general Mass function is \(M(r)=4\pi \int ^{r}_{0} r^{2}\rho _{DM} dr+2\pi \int ^{r}_{0} r\rho _{b} dr \). We then obtain the Mass function in our case as

$$\begin{aligned} M(r) =\frac{\alpha }{2} \frac{1-4\kappa \lambda }{1-2\kappa \lambda }r^{\frac{2\kappa \lambda +1}{1-2\kappa \lambda }}-2\pi \Sigma _{0}r_{d}exp\left[ \dfrac{-r}{r_{d}}\right] (r_{d}+r). \nonumber \\ \end{aligned}$$
(45)

Thus the rotation velocity v in the equatorial plane is given by

$$\begin{aligned} v= & {} \sqrt{\dfrac{GM(r)}{r}}\nonumber \\= & {} \sqrt{\frac{G\alpha }{2} \frac{1-4\kappa \lambda }{1-2\kappa \lambda }r^{\frac{4\kappa \lambda }{1-2\kappa \lambda }}-2\pi G\Sigma _{0}r_{d}exp[\dfrac{-r}{r_{d}}](\dfrac{r_{d}}{r}+1)}. \nonumber \\ \end{aligned}$$
(46)

The rotation velocity is determined by \(\alpha , \Sigma _{0}, r_{d}\) and \(\kappa \lambda \). Varying \(\kappa \lambda \) would result in different expressions of v, which may explain the rotation velocity diversity in LSB galaxies. We stress two points on the Rastall gravity. If the Rastall gravity is equivalent to the Einstein GR, the parameter \(\kappa \lambda \) only describes the re-arrangement of the perfect fluid dark matter. If the Rastall gravity is not equivalent to the Einstein GR, the meaning of \(\kappa \lambda \) is the same, but the physical origin of \(\kappa \lambda \) is related to the Mach principle.

6 Summary

In this work, we obtain the KN-AdS black hole solutions surrounded by perfect fluid matter in the Rastall gravity using the Newman–Janis method and complex calculations. We focus on the cases of the dark energy (\(\omega =-\,2/3\)) and the perfect fluid dark matter (\(\omega =-\,1/3\)). We discuss different black hole properties in the Rastall gravity with the presence of the perfect fluid matter. We find that if the condition \((3\kappa \lambda (1+\omega )-3\omega )(1-4\kappa \lambda )\ge 0\) is satisfied, the WEC and SEC can always be hold everywhere in the KN-AdS black hole. By analyzing the horizon equation, we can constrain the values of the parameter \(\alpha \), which is determined by the equation of state \(\omega \) and the Rastall parameter \(\kappa \lambda \). In the case of the dark energy, the maximum value of \(\alpha \) decreases with the increasing \(\kappa \lambda \) when \(0<\kappa \lambda \) and \(\kappa \lambda \ne 1\), and increases with the increasing \(\mid \kappa \lambda \mid \) when \(-\,2<\kappa \lambda <0\). In the case of the perfect fluid dark matter, the maximum value of \(\alpha \) decreases with the increasing \(\kappa \lambda \) when \(0<\kappa \lambda <1\) and \(\kappa \lambda \ne 1/2\), and increases with the increasing \(\mid \kappa \lambda \mid \) when \(\kappa \lambda <0\). The perfect fluid dark matter and dark energy reduce the ergosphere size, but they don’t change the singularity of the black hole.

We also derive the rotation velocity for the KN-AdS black hole surrounded by the perfect fluid matter in the Rastall gravity. In the case of dark energy, the rotation velocity decreases with the increasing distance from the black hole and becomes flatter with the decreasing \(\kappa \lambda \). In the case of perfect fluid dark matter, the effect at small distances is minor and become significant at galactic scale. Considering both the perfect fluid dark matter halo and the baryon disk, we have the possibility of explaining the rotation curve diversity in LSB galaxies.