1 Introduction

The breakthrough successes in capturing the first images of shadows of the supermassive black holes M87* [1,2,3,4,5,6,7,8] and Sgr A* [9,10,11,12,13,14] by the Event Horizon Telescope (EHT) collaboration shed light on the physics of black holes and open a wide gate to a deeper understanding of these mysterious celestial objects. The event horizon of black holes, i.e., the boundary of no return for any crossing matter or radiation, is not directly observable, since it emits no light. Instead, what we can observe is the black hole “shadow”, which is the dark region on a light background that appears around the event horizon due to the gravitational lensing phenomenon [15,16,17]. Since releasing the shadow images of M87* and Sgr A*, many efforts have been devoted to improving measurements to reach higher-resolution images [18]. As a result, theoretical efforts in investigating black hole physics, particularly shadow behavior in various gravitational theories, become significant in producing the desired resolution. In this regard, analytic and numerical studies and examinations of the apparent geometrical shape of various black hole spacetimes supply new theoretical shadow templates for future observations [19,20,21,22,23]. The shape and size of the shadow is determined by the black hole parameters, i.e., mass, electric charge, and angular momentum [24] in addition to spacetime properties [25, 26] and the position of the observer. For non-rotating black holes, shape of the shadow is a perfect circle. The angular momentum parameter can, however, cause rotating black holes to have non-trivial shadow shapes [27].

In 1914, Nordström first proposed the idea of extra dimensions [28]. According to his idea, one can unify the electromagnetic and gravitational fields by treating four-dimensional spacetime as a surface in a five-dimensional spacetime. Today, unifying gravitational and gauge interactions of elementary particles, quantizing gravitational interaction, the Higgs mass hierarchy problem, and the cosmological constant problem are the main motivations for the enormous quantity of studies on the extra dimensions. In this regard, the Kaluza–Klein (KK) theory [29, 30] utilizing Einstein’s General Theory of Relativity (GR) introduces a compact space constructed by compact extra dimensions with a certain compactification scale to unify gravitational interaction and electromagnetic or even non-Abelian gauge fields characterizing weak and strong interactions. Furthermore, the string theory (M-theory) as the well-known candidate theory for quantum gravity possesses eleven compact extra spatial dimensions or more [31, 32]. In addition to these compact extra dimensions with the extension up to the order of the Planck length, there are also ideas for large extra dimensions to the order of millimeter. This new gate to the topic of extra dimensions has opened by the Arkani-Hamed–Dimopoulos–Dvali (ADD) braneworld model [33, 34] to address the Higgs mass hierarchy problem via employing large extra dimensions. It is worth noting that the dramatic feature of these large extra dimensions is that their impacts can be detectable in future accelerator, astrophysical and tabletop experiments. Surprisingly, the ADD model can be incorporated in string theory [35]. Besides the compact and large extra dimensions, Randall–Sundrum (RS) braneworld model [36, 37] suggests the warped extra dimensions to address the Higgs mass hierarchy problem. In addition to these types of extra dimensions, there are also theories with infinite volume extra dimensions like Dvali–Gabadadze–Porrati (DGP) braneworld scenario [38] in which even in very low energies, the spacetime is not four-dimensional and the extra dimensions are neither compact nor warped. Such theories are the candidates for addressing the cosmological constant problem [39, 40] since in these theories, gravity is modified at large distances thanks to presence of infinite volume extra dimensions. Some detailed reviews on higher-dimensional models can be seen in Refs. [41,42,43,44]. Within the framework of black hole physics, different methods and approaches have been employed to extend and investigate various black hole models in arbitrary dimensions [45, 46], such as Tangherlini method [47] for generalizing the Schwarzschild solution to n dimensions.

Detecting extra dimensions is a priority for physicists in high-energy or particle experiments. The Large Hadron Collider (LHC) at CERN and future colliders become some promising tools for exploring such extra dimensions and effects of strong gravity regimes corresponding with higher-dimensional black holes [48,49,50,51,52,53,54]. Moreover, the presence of Hydrogen atom in higher dimensions [55,56,57], spectroscopy experiments [58,59,60], and the ideas to address the proton radius puzzle [61,62,63] support the existence of extra dimensions. On the other hand, two recent achievements towards discovering black hole strong field regimes are the detection of Gravitational Waves (GW) via the LIGO/Virgo collaborations [64], and the above-mentioned images captured by the EHT collaborations. There are some traces of extra dimensions in the detection of GW, possessing certain information about the associate amplitude and the dynamics of fluctuation modes. Hence, many works have been focused on revealing such physics [65,66,67,68,69] and for a detailed review, see Ref. [70]. Now EHT has provided new possibilities to continue explorations for extra dimensions. Recently, in seminal works [71,72,73], the authors found noteworthy constraints from EHT observations on warped and compact extra dimensions within the RS model and M-theory. Therefore, one can utilize the EHT data to explore all types of extra dimensions, generally, and see whether they can be detected, as we aim to do that in this study. In this regard, it seems that extra dimensions affect the shadows of black holes by reducing the shadow size in various black hole models and gravitational theories [74,75,76,77,78,79]. However, the exact effect of extra dimensions on black hole shadows is still an area of active research and is not yet fully understood. Apparently, the impacts of large and infinite volume extra dimensions have more chance to be detected in the future.

Besides, the size and shape of black hole shadows (similar to other astrophysical phenomena [80,81,82,83,84]) may differ in extended theories of gravity through additional degrees of freedom arose from these theories. Therefore, investigating the size and shape of the black hole shadows may aid in evaluating parameters of black hole metrics and testing alternative theories of gravity. Theoretical motivations [85] or dark energy, dark matter, and cosmological modeling [86,87,88,89,90,91,92] are only a few examples of the many hypotheses that make up the enormous field of extended theories of gravity beyond GR. Among them, some novel ghost-free special classes of theories have developed, such as f(R) theories [93, 94], Lovelock theories [95, 96], and the scalar-tensor theories initially formulated by Horndeski [97] (for detailed reviews, see Refs. [98, 99]). The Horndeski theory is the most general scalar-tensor gravitational theory possessing second-order derivatives in the equations of motion. There are a lot of studies in the literature focused on the examining the Einstein–Horndeski scalar-tensor modified theory of gravity in various astrophysical issues and cosmological modeling [100,101,102,103,104,105,106,107,108,109]. To obtain the stable black hole solutions of Einstein–Horndeski gravity, it has received significant attention to consider the action containing a non-minimal kinetic coupling of one scalar field to the Einstein tensor field. Spherically symmetric solutions with non-minimal derivative coupling without cosmological constant has been investigated in Ref. [110], and considering a negative cosmological constant studied in Ref. [111]. The asymptotically locally flat and asymptotically locally anti de Sitter (AdS) black hole solutions in Einstein–Horndeski gravity were also first found in Ref. [112]. The asymptotically locally flat and asymptotically locally AdS black hole solutions in the Einstein–Horndeski–Maxwell (EHM) gravitational theory with four and extra dimensions were obtained in Ref. [113]. The thermodynamics of the later solution is also studied in Refs. [114, 115].

A vast number of works have been focused on the issue of black hole shadow to find what and how degrees of freedom, arose from extended theories of gravity other than black holes parameters, affect the shadow behavior [116]. Some examples are as follows: the shadow behavior of the Kerr–Newman family of solutions of the Einstein–Maxwell equations is investigated in Refs. [117,118,119]; the shadow of a black hole with NUT-charges [120, 121]; the black hole shadows in Einstein–Maxwell-dilaton gravity [122, 123], in Chern–Simons modified gravity [124]; the apparent shape of the Sen black hole [125,126,127]; shadows of colliding and multi-black holes [128, 129]; shadow behavior of rotating black holes in f(R) gravity [130], conformal Weyl gravity [131], and Einstein–dilaton-Gauss–Bonnet black holes [132]; shadow behavior of the non-commutative geometry inspired, quantum-corrected, and magnetically charged black holes [133,134,135,136]; shadow behavior of Einstein–Born–Infeld black holes [137]; shadow behavior of Ayon–Beato–Garcia black hole and also, rotating Hayward and rotating Bardeen regular black holes [138] and hairy black holes [139,140,141]; chaotic shadow of a non-Kerr rotating compact objects with quadrupole mass moment and a magnetic dipole [142, 143], and black holes with exotic matter [144,145,146,147,148,149]; and also, shadow behavior of wormholes and naked singularities [150,151,152].

In this study, we aim to investigate the shadow behavior and deflection angle of the asymptotically locally flat (ALF) and asymptotically locally AdS (ALAdS) charged black hole solutions in EHM gravity with extra dimensions and also, estimate the energy emission rate associated with these black holes. We want to examine how extra dimensions together with electric charge and negative cosmological constant within the EHM gravity affect the shadow and deflection angle of the black holes to gain a new template of black hole shadow for future theoretical and observational applications. Additionally, we want to constrain extra dimensions, the electric charge, negative cosmological constant, and the coupling constants of EHM gravity by comparing the shadow size of the higher-dimensional ALF and ALAdS charged black holes in EHM gravity with the shadow size of M87* supermassive black hole captured by EHT. This paper is organized as follows. In Sect. 2 we first briefly introduce the EHM gravitational theory with arbitrary dimensions and then describe the line elements of the higher-dimensional ALF and ALAdS charged black holes in the theory. In Sect. 3, we provide the general formalism to study the shadow behavior of the higher-dimensional black holes by utilizing the Hamilton–Jacobi approach and Carter method to formulate the null geodesic equations. We specify the shadow shape of the black holes on the observer’s sky in celestial coordinates, and estimate the energy emission rate and deflection angle formulas in higher dimensions. Also, we introduce the black hole shadow observables. In Sect. 4, utilizing the framework introduced in the previous section, we study the shadow behavior, deflection angle, and energy emission rates of the ALF and ALAdS charged black holes in EHM gravity with extra dimensions. We analyze the significant impacts of the electric charge, cosmological constant, extra dimensions, and the coupling constants of EHM gravity on the shadow and deflection angle of the black holes within the setup and then, we constrain these parameters by EHT data. Finally, Sect. 5 is devoted to discussing and concluding our main results.

2 EHM gravity with arbitrary dimensions and its black hole solutions

The action of the higher-dimensional Einstein–Horndeski gravity, which is minimally coupled to a Maxwell field to construct EHM gravity with arbitrary dimensions, has the following form [113, 114]

$$\begin{aligned} I=\frac{1}{16\pi }\int d^{n}x\sqrt{-\tilde{g}}{\mathcal {L}}, \end{aligned}$$
(1)

in which n counts the number of spacetime dimensions, and the Lagrangian is to the form of

$$\begin{aligned} {\mathcal {L}}=R-2\Lambda -\frac{1}{4}F_{ab}F^{ab}-\frac{1}{2}\left( \alpha g^{ab}-\gamma G^{ab}\right) \partial _{a}\chi \,\partial _{b}\chi ,\nonumber \\ \end{aligned}$$
(2)

where \(\alpha \) and \(\gamma \) are the coupling constants, \(F_{ab}=\partial _{a}A_{b}-\partial _{b}A_{a}\) is the electromagnetic field strength with gauge potential A, and \(G_{ab}\equiv R_{ab}-\frac{1}{2}R\,g_{ab}\) is the Einstein tensor in which \(R_{ab}\) is the Ricci tensor, R is Ricci scalar, and \(g_{ab}\) is the metric tensor with determinant \(\tilde{g}\). The Lagrangian possesses the derivatives of the axionic scalar field \(\chi \). This makes the Lagrangian invariant under the transformation \(\chi \rightarrow \chi +C\). Here, this symmetry, however, does not utilize to yield the non-minimally coupled Einstein-vector gravity [153]. The strength of the non-minimal kinetic coupling to Einstein tensor field is governed by \(\gamma \).

By varying the action (1) with respect to the metric tensor, axionic scalar field, and the gauge potential, one can find the corresponding equations of motion in the EHM gravity [113, 114]. In order to find the static charged black hole solutions of the setup, one can take into account the following general spherically symmetric ansatz with arbitrary dimensions as the line element (metric tensor) of the background spacetime

$$\begin{aligned} ds^{2}=-h(r)dt^{2}+\frac{dr^{2}}{f(r)}+r^{2}d\Omega _{n-2}^{2}, \end{aligned}$$
(3)

where \(d\Omega _{n-2}^{2}=d\theta _{1}^{2}+\sin ^{2}\theta _{1}d\theta _{2}^{2}+\cdots +\prod _{i=1}^{n-3}\sin ^{2}\theta _{i}\,d\theta _{n-2}^{2}\) is the metric of the unit \(S^{n-2}\) hypersphere, which has the volume

$$\begin{aligned} \omega _{n-2}=\frac{2\pi ^{\frac{n-1}{2}}}{\Gamma [\frac{n-1}{2}]}, \end{aligned}$$
(4)

where \(\Gamma \) is the gamma function. By this ansatz, one can solve the equations of motion in EHM gravity to obtain two classes of higher-dimensional black hole solutions, which are ALF and ALAdS black holes as constructed and reviewed in Refs. [113, 114].

2.1 ALF black hole with extra dimensions in EHM gravity

Setting \(\alpha =\Lambda =0\) and also \(\gamma <0\) (for a real scalar field outside the event horizon), the equations of motion of the EHM gravity result in the higher-dimensional ALF charged black hole solution for which we have (for more details, see Refs. [113, 114])

$$\begin{aligned} f(r)= & {} \frac{16(n-2)^{2}(n-3)^{2}r^{4n}}{\left( q^{2}r^{6}-4(n-2)(n-3)r^{2n}\right) ^{2}}h(r), \end{aligned}$$
(5)
$$\begin{aligned} h(r)= & {} 1-\frac{\mu }{r^{n-3}}+\frac{q^{2}}{2(n-2)(n-3)r^{2(n-3)}}\nonumber \\{} & {} -\frac{q^{4}}{48(n-2)^{2}(n-3)^{2}r^{4(n-3)}}, \end{aligned}$$
(6)

where \(\mu \) and q are two non-trivial parameters, which parameterise the mass and the electric charge, respectively in such a way that

$$\begin{aligned} M= & {} \frac{1}{16\pi }(n-2)\mu \,\omega _{n-2},\nonumber \\ Q= & {} \frac{1}{8\pi }q\,\omega _{n-2}\sqrt{2(n-2)(n-3)}. \end{aligned}$$
(7)

It is worth noting that the parameter q in the form as introduced in [114] is not correct and we provided its correct form in Eq. (7).

The higher-dimensional ALF charged black hole solution possesses two curvature singularities at \(r=0\) and \(r=r_{*}\), respectively, so that \(r_{*}\) can be obtained through the following equation

$$\begin{aligned} 4(n-2)(n-3)r_{*}^{2n-6}-q^{2}=0. \end{aligned}$$
(8)

On the other hand, the event horizon of the higher-dimensional ALF charged black hole is located at \(r=r_{eh}\), which is the largest root of \(h(r)=0\). Furthermore, the higher-dimensional ALF charged black hole satisfies the condition \(r_{eh}>r_{*}\), which implies [113, 114]

$$\begin{aligned} \frac{\mu }{q}>\frac{4}{3\sqrt{(n-2)(n-3)}}. \end{aligned}$$
(9)

The Hawking temperature associated with the higher-dimen sional ALF charged black hole can be found as follows [114]

$$\begin{aligned} T_{ALF}=\frac{4(n-2)(n-3)r_{eh}^{2n-6}-q^{2}}{16\pi (n-2)r_{eh}^{2n-5}}. \end{aligned}$$
(10)

This temperature is always positive, i.e., \(T_{ALF}>0\) due to the above-mentioned condition based on which the curvature singularity \(r_{*}\) must be inside the event horizon \(r_{eh}\). Therefore, the Hawking temperature of the higher-dimensional ALF charged black hole can approach zero, but can never reach this vanishing value. This feature is more in agreement with the behavior of physical systems respecting the third law of thermodynamics, and it cannot be seen in Reissner–Nordström black hole.

2.2 ALAdS black hole with extra dimensions in EHM gravity

Assuming \(\alpha \ne 0\) and \(\Lambda \ne 0\) so that \((\alpha +\gamma \Lambda )<0\) (to have a real scalar field outside the event horizon), the EHM gravity field equations result in the higher-dimensional ALAdS charged black hole solution for which we have (for more details, see Refs. [113, 114])

$$\begin{aligned} f(r)&{=}&\frac{(n{-}2)^{2}(4{+}\beta \gamma )^{2}\left( (n{-}1)g^{2}r^{2}{+}n{-}3\right) ^{2}}{\left( (n{-}2)(n{-}1) (4{+}\beta \gamma )g^{2}r^{2}{+}4(n{-}2)(n{-}3){-}q^{2}r^{2(3{-}n)}\right) ^{2}}h(r),\nonumber \\ \end{aligned}$$
(11)
$$\begin{aligned} h(r)= & {} \bar{h}(r)+h_{q}(r), \end{aligned}$$
(12)

where

$$\begin{aligned} h_{q}(r)= & {} \frac{2q^{2}}{(n-2)(n-3)(4+\beta \gamma )r^{2n-6}}\nonumber \\{} & {} \quad -\frac{2\beta \gamma (n-3)q^{2}}{g^{2}(n-1)^{2} (n-2)(4+\beta \gamma )^{2}r^{2n-4}}\nonumber \\{} & {} \quad +\frac{2\beta \gamma (n-3)^{2}q^{2}}{g^{4}(n+1)(n-1)^{2}(n-2)(4+\beta \gamma )^{2}r^{2n-2}}{}_{2} \textrm{F}_{1}\nonumber \\{} & {} \quad \times \left[ 1,\frac{n+1}{2};\frac{n+3}{2};\frac{3-n}{(n-1)g^{2}r^{2}} \right] \nonumber \\{} & {} \quad {-}\frac{q^{4}}{g^{2}(n{-}1)(n{-}2)^{2}(3n{-}7)(4{+}\beta \gamma )^{2}r^{2(2n{-}5)}}{}_{2}\textrm{F}_{1}\nonumber \\{} & {} \quad \times \left[ 1,\frac{3n-7}{2};\frac{3n-5}{2};\frac{3-n}{(n-1)g^{2}r^{2}}\right] \, \end{aligned}$$
(13)

where \({}_{2}\textrm{F}_{1}\) is the hypergeometric function, which is well-defined for \(n\ge 4\). Furthermore, when the dimension number n is even, the function \(\bar{h}(r)\) is to the following form

$$\begin{aligned} \bar{h}_{\textrm{even}}(r)= & {} -\frac{\mu }{r^{n-3}}+\frac{8g^{2}r^{2}(2+\beta \gamma )+16}{(4+\beta \gamma ) ^{2}}\nonumber \\{} & {} {+}\frac{\beta ^{2}\gamma ^{2}g^{2}r^{2}}{(4{+}\beta \gamma )^{2}} {}_{2}\textrm{F}_{1}\left[ 1,\frac{1-n}{2};\frac{3{-}n}{2};\frac{3{-}n}{(n{-}1)g^{2}r^{2}}\right] .\nonumber \\ \end{aligned}$$
(14)

The function \(\bar{h}_{even}(r)\) is divergent for odd integers of dimension number. When n is odd (\(n\ge 5\)), the function \(\bar{h}(r)\) is as follows

$$\begin{aligned} \bar{h}_{\textrm{odd}}(r)= & {} -\frac{\mu }{r^{n-3}}+\frac{8g^{2}r^{2}(2+\beta \gamma )+16}{(4+\beta \gamma )^{2}}\nonumber \\{} & {} +\frac{(n-1)\beta ^{2}\gamma ^{2}g^{4}r^{4}}{(n-3)(4+\beta \gamma )^{2}} {}_{2}\textrm{F}_{1}\nonumber \\{} & {} \times \left[ 1,\frac{n+1}{2};\frac{n+3}{2};\frac{(n-1)g^{2}r^{2}}{3-n}\right] . \end{aligned}$$
(15)

\(\alpha \) and \(\gamma \) must possess the same sign to achieve the ALAdS spacetime [113, 114]. In Eqs. (11)–(15) two parameters g and \(\beta \) are substituted for \(\alpha \) and the cosmological constant \(\Lambda \) so that

$$\begin{aligned} \alpha= & {} \frac{1}{2}(n-1)(n-2)g^{2}\gamma ,\nonumber \\ \Lambda= & {} -\frac{1}{4}(n-1)(n-2)g^{2}(2+\beta \gamma ). \end{aligned}$$
(16)

Again, \(\mu \) and q parameterise the mass and the electric charge as follows

$$\begin{aligned} M= & {} \frac{1}{64\pi }(n-2)(4+\beta \gamma )\mu \,\omega _{n-2},\nonumber \\ Q= & {} \frac{1}{8\pi }q\,\omega _{n-2}\sqrt{2(n-2)(n-3)}. \end{aligned}$$
(17)

The higher-dimensional ALAdS charged black hole solution has two curvature singularities at \(r=0\) and \(r=r_{*}\), respectively. The curvature singularity \(r_{*}\) is the roots of

$$\begin{aligned}{} & {} (n-2)(n-1)(4+\beta \gamma )g^{2}r^{2}\nonumber \\{} & {} \quad +4(n-2)(n-3)-q^{2}r^{2(3-n)}=0\, \end{aligned}$$
(18)

and located within the event horizon of the black hole \(r_{eh}\), which is a root of \(h(r)=0\). Moreover, the Hawking temperature of the higher-dimensional ALAdS charged black hole can be found as follows [114]

$$\begin{aligned} T_{ALAdS}=\frac{(n-1)g^{2}r_{eh}}{4\pi }+\frac{4(n-2)(n-3)r_{eh}^{2n-6}-q^{2}}{4\pi (n-2) (4+\beta \gamma )r_{eh}^{2n-5}}.\nonumber \\ \end{aligned}$$
(19)

3 General formalism for shadow and deflection angle of higher-dimensional black holes and shadow observables

When a black hole is in front of a light source, part of the light is deflected by the gravitational field of black hole and reaches the observer. However, some photons may fall into the black hole, creating a dark zone known as the shadow, and the apparent shape of the black hole is the boundary of the shadow. In this section, we present the general formulas required to obtain the shape of the shadow, energy emission rate, and deflection angle for the general ansatz (3) with higher dimensions, which necessitates the study of the motion of a test particle in the spacetime.

3.1 Null geodesics

We start with the Lagrangian of the test particle, which is to the form of

$$\begin{aligned} \tilde{{\mathcal {L}}}=\frac{1}{2}g_{ab}\dot{x}^{a}\dot{x}^{b}, \end{aligned}$$
(20)

where an over dot shows the derivative with respect to the affine parameter \(\tau \). The components of canonically conjugate momentum corresponding with the general ansatz (3) can be found as follows

$$\begin{aligned} P_{t}= & {} h(r)\dot{t}=E, \end{aligned}$$
(21)
$$\begin{aligned} P_{r}= & {} \frac{1}{f(r)}\dot{r}, \end{aligned}$$
(22)
$$\begin{aligned} P_{\theta _{i}}= & {} r^{2}\sum _{i=1}^{n-3}\prod _{n=1}^{i-1}\sin ^{2}[\theta _{n}]\dot{\theta }_{i}, \end{aligned}$$
(23)
$$\begin{aligned} P_{\theta _{n-2}}= & {} r^{2}\prod _{i=1}^{n-3}\sin ^{2}[\theta _{i}]\dot{\theta }_{n-2}=L, \end{aligned}$$
(24)

where \(i=1,2,\ldots ,n-3\) and also, E and L are the energy and angular momentum of the test particle, respectively.

We utilize the Hamilton–Jacobi method to analyze photon orbits around the black hole, in addition to the Carter approach to investigate the geodesic equations [154]. In this regard, we generalize these methods to higher dimensions. Consequently, in higher dimensions, the Hamilton–Jacobi method reads

$$\begin{aligned} \frac{\partial S}{\partial \tau }=-\frac{1}{2}g^{ab}\frac{\partial S}{\partial x^{a}}\frac{\partial S}{\partial x^{b}}, \end{aligned}$$
(25)

where S is the Jacobi action of the test particle. Inserting the general ansatz (3) with arbitrary dimensions into Eq. (25), one can yield

$$\begin{aligned} -2 \frac{\partial S}{\partial \tau }= & {} -\frac{1}{h(r)}\left( \frac{\partial S_t}{\partial t}\right) ^{2}+f(r)\left( \frac{\partial S_r}{\partial r}\right) ^{2}\nonumber \\{} & {} \quad +\sum _{i=1}^{n-3}\frac{1}{\left( r^{2}\prod _{n=1}^{i-1}\sin ^{2}\theta _{n}\right) }\left( \frac{\partial S_{\theta _{i}}}{\partial \theta _{i}}\right) ^{2}\nonumber \\{} & {} \quad +\frac{1}{\left( r^{2}\prod _{i=1}^{n-3}\sin ^{2}\theta _{i}\right) }\left( \frac{\partial S_{\theta _{n-2}}}{\partial \theta _{n-2}}\right) ^{2}. \end{aligned}$$
(26)

Taking into account a separable solution for Jacobi action allows one to express the action as

$$\begin{aligned} S=\frac{1}{2} m^{2}\tau -Et+L\theta _{n-2}+S_{r}(r)+\sum ^{n-3}_{i=1}S_{\theta _{i}}(\theta _{i}), \end{aligned}$$
(27)

where m is the rest mass of the test particle. Since in studying shadow behavior of black holes, the test particle is photon, we set \(m=0\). Therefore, applying the Jacobi action (27) on Eq. (26) results in the following expression

$$\begin{aligned} 0= & {} \left\{ \frac{E^{2}}{h(r)}-f(r)\left( \frac{\partial S_r}{\partial r}\right) ^{2}-\frac{1}{r^{2}}\right. \nonumber \\{} & {} \quad \times \left. \left( \frac{L^{2}}{\prod _{i=1}^{n-3}\sin ^{2}\theta _{i}} +{\mathcal {K}}-\prod _{i=1}^{n-3}L^{2}\cot ^{2} \theta _{i}\right) \right\} \nonumber \\{} & {} \quad -\left\{ \frac{1}{r^{2}}\left( \sum _{i=1}^{n-3}\frac{1}{\prod _{n=1}^{i-1}\sin ^{2}\theta _{n}} \left( \frac{\partial S_{\theta _{i}}}{\partial \theta _{i}}\right) ^{2}\right. \right. \nonumber \\{} & {} \quad \left. \left. -{\mathcal {K}}+\prod _{i=1}^{n-3}L^{2}\cot ^{2} \theta _{i}\right) \right\} , \end{aligned}$$
(28)

where \({\mathcal {K}}\) is the Carter constant. After some manipulations, one can obtain the following set of equations

$$\begin{aligned}{} & {} r^{4}f^{2}(r)\left( \frac{\partial S_r}{\partial r}\right) ^{2}=r^{4}\frac{f(r)}{h(r)}E^{2}-r^{2}\left( L^{2}+{\mathcal {K}}\right) f(r), \nonumber \\ \end{aligned}$$
(29)
$$\begin{aligned}{} & {} \sum _{i=1}^{n-3}\frac{1}{\prod _{n=1}^{i-1}\sin ^{2}\theta _{n}}\left( \frac{\partial S_{\theta _{i}}}{\partial \theta _{i}}\right) ^{2}={\mathcal {K}}-\prod _{i=1}^{n-3}L^{2}\cot ^{2}\theta _{i}. \end{aligned}$$
(30)

Finally, employing Eqs. (29) and (30) and the components of the canonically conjugate momentum (21)–(24), the complete equations of motion for photon, i.e., the null geodesics within the higher-dimensional spacetime (3) can be read as follows

$$\begin{aligned}{} & {} \dot{t}=\frac{E}{f(r)}, \end{aligned}$$
(31)
$$\begin{aligned}{} & {} r^{2}\dot{r}=\pm \sqrt{{\mathcal {R}}}, \end{aligned}$$
(32)
$$\begin{aligned}{} & {} r^{2}\sum _{i=1}^{n-3}\prod _{n=1}^{i-1}\sin ^{2}[\theta _{n}]\dot{\theta }_{i}=\pm \sqrt{\Theta _{i}}, \end{aligned}$$
(33)
$$\begin{aligned}{} & {} \dot{\theta }_{n-2}=\frac{L}{r^{2}\prod _{i=1}^{n-3}\sin ^{2}\theta _{i}}, \end{aligned}$$
(34)

where “\(+\)” and “−” signs denote the outgoing and ingoing radial directions of the motion of photon, respectively. Furthermore, we have

$$\begin{aligned} {\mathcal {R}}= & {} r^{4}\frac{f(r)}{h(r)}E^{2}-r^{2}\left( L^{2}+{\mathcal {K}}\right) f(r),\nonumber \\ \Theta _{i}= & {} {\mathcal {K}}-\prod _{i=1}^{n-3}L^{2}\cot ^{2}\theta _{i}. \end{aligned}$$
(35)

The motion of photon in the spacetime is governed by Eqs. (31)–(34).

It is critical to discuss the effective potential for determining the boundary of the shadow of black holes. The effective potential can be calculated by rewriting the radial null geodesic equation (32) as follows

$$\begin{aligned} \left( \frac{dr}{d\tau }\right) ^{2}+V_{eff}=0, \end{aligned}$$
(36)

in which the effective potential is to the following form

$$\begin{aligned} V_{eff}=\frac{f(r)}{r^{2}}\left( {\mathcal {K}}+L^{2}\right) -\frac{f(r)}{h(r)}E^{2}. \end{aligned}$$
(37)

The unstable circular orbits of photons determine the boundary of apparent shape of the black hole. They correspond with the maximum value of the effective potential, which occurs at a distance, known as photon sphere radius \(r_{0}\) satisfying the following equations

$$\begin{aligned} V_{eff}\big |_{r_{0}}=\frac{dV_{eff}}{dr}\bigg |_{r_{0}}=0,\quad {\mathcal {R}}\big |_{r_{0}}=\frac{d{\mathcal {R}}}{dr}\bigg |_{r_{0}}=0. \end{aligned}$$
(38)

Consequently, the photon sphere radius \(r_{0}\) associated with the maximum of the effective potential for black hole in the spacetime (3) with arbitrary dimensions is the smallest value of the roots of the following equation

$$\begin{aligned} r_{0}h'(r_{0})-2h(r_{0})=0, \end{aligned}$$
(39)

where a prime stands for radial derivative.

3.2 Geometrical shapes of shadow

In this section we aim to find the shadow shape and size of the black holes in the spacetime (3) with arbitrary dimensions. To do this, we begin with the definition of two impact parameters \(\xi \) and \(\eta \). These impact parameters as functions of the constants of motion E, L, and \({\mathcal {K}}\) can characterize the properties of photons near black holes. They define as follows

$$\begin{aligned} \xi =\frac{L}{E},\qquad \eta =\frac{{\mathcal {K}}}{E^{2}}. \end{aligned}$$
(40)

Therefore, one can rewrite the effective potential and also, the function \({\mathcal {R}}\) in terms of these impact parameters as

$$\begin{aligned} V_{eff}= & {} E^{2}\left\{ \frac{f(r)}{r^{2}}\left( \eta +\xi ^{2}\right) -\frac{f(r)}{h(r)}\right\} ,\nonumber \\ {\mathcal {R}}= & {} E^{2}\left\{ r^{4}\frac{f(r)}{h(r)}-r^{2}f(r)\left( \eta +\xi ^{2}\right) \right\} . \end{aligned}$$
(41)

Finally, by inserting Eq. (41) into Eq. (38) one can find the following equation for two unknowns \(\xi \) and \(\eta \)

$$\begin{aligned} \eta +\xi ^{2}= & {} \frac{r_{0}^{2}}{2f(r_{0})+r_{0}f'(r_{0})}\left\{ 4\left( \frac{f(r_{0})}{h(r_{0})}\right) \right. \nonumber \\{} & {} \left. +r_{0} \left( \frac{f'(r_{0})h(r_{0})-f(r_{0})h'(r_{0})}{h^{2}(r_{0})}\right) \right\} . \end{aligned}$$
(42)

Therefore, the photon sphere radius achieved from Eq. (39) yields the quantity \(\eta +\xi ^{2}\) using Eq. (42). One can see that \(r_{0}\) has the dimension of the length and the quantity \(\eta +\xi ^{2}\) has the dimension of the length square.

The celestial coordinates \(\lambda \) and \(\psi \) [155] are employed to characterize the geometrical shape of the shadow as seen on the observer’s frame. Figure 1 is a schematic of the celestial coordinates used in this paper.

Fig. 1
figure 1

The schematic of the celestial coordinates on the far observer’s sky in which \(r_{o}\) is the spatial separation between the far distant observer and the black hole, and \(\tilde{\theta }_{o}\) is the angular coordinate of the far observer. Therefore, the location of the far observer is characterized with \((r_{o},\tilde{\theta }_{o})\). The coordinates \((\lambda ,\psi )\) are the apparent perpendicular distance of the image as seen from the axis of symmetry, and from its projection on the equatorial plane, respectively

These coordinates can be read as follows

$$\begin{aligned} \lambda= & {} \lim _{r_{o}\rightarrow \infty }\left( \frac{r_{o}^{2}P^{(\theta _{n-2})}}{P^{(t)}}\right) ,\nonumber \\ \psi= & {} \lim _{r_{o}\rightarrow \infty }\left( \frac{r_{o}^{2}P^{(\theta _{i})}}{P^{(t)}}\right) , \end{aligned}$$
(43)

where \(\left[ P^{(t)},P^{(\theta _{n-2})},P^{(\theta _{i})}\right] \) are its vi-tetrad momentum elements and \(r_{o}\) is the distance between the observer and the black hole. On the equatorial plane, one finds \(\lambda =-\xi \) and \(\psi =\pm \sqrt{\eta }\). Therefore, we can gain the following outcome

$$\begin{aligned} R_{s}^{2}\equiv \eta +\xi ^{2}=\lambda ^{2}+\psi ^{2}, \end{aligned}$$
(44)

in which \(R_{s}\) is the shadow radius in celestial coordinates. For non-rotating (static) black holes, the geometrical shape of the shadow is circle with radius \(R_{s}\).

3.3 Energy emission rate

Black holes can radiate through the phenomenon known as Hawking radiation. At very high energy, the absorption cross-section generally oscillates around a limiting constant \(\sigma _{lim}\). For a very far distant observer, however, the absorption cross-section advances toward the black hole shadow [79, 123]. One can prove that \(\sigma _{lim}\) is approximately equal to the photon sphere area, which in arbitrary dimensions can be represented as follows [123, 156, 157]

$$\begin{aligned} \sigma _{lim}\approx \frac{\pi ^{\frac{n-2}{2}}}{\Gamma \left[ \frac{n}{2}\right] }R_{s}^{n-2}. \end{aligned}$$
(45)

Thus, the complete form of the energy emission rate of higher-dimensional black holes can be read as

$$\begin{aligned} \frac{d^{2}E(\varpi )}{d\varpi dt}=\frac{2\pi ^{2}\sigma _{lim}}{e^{\frac{\varpi }{T}}-1}\varpi ^{n-1}, \end{aligned}$$
(46)

where \(\varpi \) is the emission frequency and T is the Hawking temperature of the black hole.

3.4 Deflection angle

Here we aim to provide the framework for studying the deflection angle of higher-dimensional black holes in the spacetime (3). In this regard, we want to utilize the Gauss–Bonnet theorem [158, 159]. We first should find the optical metric on the equatorial hyperplane \(\theta _{i}=\pi /2\) in the spacetime (3). Then, on this hyperplane, we set \(d\theta _{n-2}^{2}=d\phi ^{2}\) to find

$$\begin{aligned} ds^{2}=-h(r)dt^{2}+\frac{dr^{2}}{f(r)}+r^{2}d\phi ^{2}. \end{aligned}$$
(47)

Then, for the considered null geodesics for which \(ds^{2}=0\), the optical metric reads as follows

$$\begin{aligned} dt^{2}=\frac{dr^{2}}{h(r)f(r)}+\frac{r^{2}}{h(r)}d\phi ^{2}. \end{aligned}$$
(48)

For this optical metric, we can calculate the Gaussian optical curvature \(K=\frac{\bar{R}}{2}\) in which \(\bar{R}\) is the Ricci scalar of the metric (48) as follows

$$\begin{aligned} K = \frac{2\,rh(r)f(r)h''(r){-}2\,rf(r)h'(r)^{2}{+}h(r)h'(r)\left\{ rf'(r){+}2f(r)\right\} {-}2f'(r)h(r)^{2}}{2\,rh(r)}. \end{aligned}$$
(49)

In order to calculate the deflection angle, one should consider a non-singular manifold \({\mathcal {D}}_{\tilde{R}}\) with a geometrical size \(\tilde{R}\) to employ the Gauss–Bonnet theorem, so that [158, 159]

$$\begin{aligned} \int \int _{{\mathcal {D}}_{\tilde{R}}}KdS+\oint _{\partial {\mathcal {D}}_{\tilde{R}}}kdt +\sum _{i}\varphi _{i}=2\pi \zeta ({\mathcal {D}}_{\tilde{R}}), \end{aligned}$$
(50)

where \(dS=\sqrt{\bar{g}}drd\phi \) and dt are the surface and line element of the optical metric (48), respectively, \(\bar{g}\) is the determinant of the optical metric, k denotes the geodesic curvature of \({\mathcal {D}}_{\tilde{R}}\), and \(\varphi _{i}\) is the jump (exterior) angle at the i-th vertex, and also, \(\zeta ({\mathcal {D}}_{\tilde{R}})\) is the Euler characteristic number of \({\mathcal {D}}_{\tilde{R}}\). One can set \(\zeta ({\mathcal {D}}_{\tilde{R}})=1\). Then, considering a smooth curve y, which has the tangent vector \(\dot{y}\) and acceleration vector \(\ddot{y}\), the geodesic curvature k of y can be defined as follows where the unit speed condition \(\tilde{g}\left( \dot{y},\dot{y}\right) =1\) is employed

$$\begin{aligned} k=\tilde{g}\left( \nabla _{\dot{y}\dot{y},\ddot{y}}\right) , \end{aligned}$$
(51)

which is a measure of deviations of y from being a geodesic. In the limit \(\tilde{R}\rightarrow \infty \), two jump angles \(\varphi _{s}\) (of source) and \(\varphi _{o}\) (of observer) will become \(\pi /2\), i.e, \(\varphi _{s}+\varphi _{o}\rightarrow \pi \). Considering \(C_{\tilde{R}}:=r(\phi )\), we have and therefore, we can find \(\lim _{\tilde{R}\rightarrow \infty }dt=\tilde{R}d\phi \). Hence, \(k(C_{\tilde{R}})dt=d\phi \). Consequently, the Gauss–Bonnet theorem will reduce to the following form

(52)

Finally, using the straight light ray approximation \(r(\phi )=\xi /\sin \phi \), the Gauss–Bonnet theorem results in the following expression to calculate the deflection angle (for more details, see Refs. [158, 159] and references therein)

$$\begin{aligned} \Theta =\pi -\int _{0}^{\pi +\Theta }d\phi =-\int _{0}^{\pi }\int _{\frac{\xi }{\sin \phi }}^{\infty }KdS. \end{aligned}$$
(53)

3.5 Shadow observables

Black hole shadow observables can provide strong evidence for the existence of black holes. These observables refer to the features of the shadow casted by a black hole on its surrounding bright accretion disk. They are obtained from the images of the event horizon of a black hole, which can be captured currently utilizing EHT. Studying black hole shadow observables can provide us with valuable information about the properties of black holes [160,161,162,163]. The size and shape of the shadow can give us insights into the black hole parameters, which are expected to be constrained from the EHT data. Overall, studying black hole shadow observables is an important tool for understanding the mysterious and fascinating phenomena of black holes. To introduce the shadow observables, we propose that the observer is at the equatorial plane, where the angular coordinate of the observer or the inclination angle is \(\tilde{\theta }_{o}=\pi /2\).

Hioki and Maeda [164] suggested two characterized observables, \(\tilde{R}_{s}\) and \(\delta _{s}\) in order to investigate the size and distortion of black hole shadows. Based on Hioki-Maeda method, one can approximately describe the shadow of the black hole by a reference circle with the radius \(\tilde{R}_{s}\) so that \(\delta _{s}\) is the deviation of the left edge of the real shape of the shadow from the boundary of this reference circle [164]. In other words, \(\tilde{R}_{s}\) is the shadow size and \(\delta _{s}\) indicates the deformation of shadow shape from this circle of reference. The shadow reference circle in the celestial coordinates at the top, bottom, right, and left edges are located at \((\lambda _{t}, \psi _{t})\), \((\lambda _{b}, \psi _{b})\), \((\lambda _{r}, 0)\), and \((\lambda '_{l}, 0)\). Moreover, the leftmost edge of the shadow is located at \((\lambda _{l}, 0)\). We note that the indices t, b, r, and l stand for the top, bottom, right, and left edge of the shadow. Figure 2 is the schematic of the shadow reference circle in the celestial coordinates. With these preliminaries, one can define these observables as

$$\begin{aligned} \tilde{R}_{s}=\frac{\left( \lambda _{t}-\lambda _{r}\right) ^{2} +\psi _{t}^{2}}{2\left| \lambda _{r}-\lambda _{t}\right| }, \end{aligned}$$
(54)

and

$$\begin{aligned} \delta _{s}=\frac{\left| \lambda _{l}-\lambda '_{l}\right| }{\tilde{R}_{s}}. \end{aligned}$$
(55)
Fig. 2
figure 2

Illustration of the shadow reference circle in the celestial coordinates

Kumar and Ghosh [165] proposed that the shadow of some irregular black holes cannot be correctly characterized by \(\tilde{R}_{s}\) and \(\delta _{s}\) due to certain symmetry requirements in shadow shapes. Furthermore, due to noisy data, the shadow form may not be perfectly circular. Therefore, they introduced two new characterized observables, the shadow area \(A_{s}\) and oblateness \(D_{s}\) to describe haphazard shadows of any shape (not just circular shape), which are defined as follows

$$\begin{aligned} A_{s}=2\int \psi (r_{0})\,d\lambda (r_{0})=2\int _{r_{0}^{-}}^{r_{0}^{+}} \left( \psi (r_{0})\frac{\lambda (r_{0})}{dr_{0}}\right) dr_{0}, \end{aligned}$$
(56)

and

$$\begin{aligned} D_{s}=\frac{\lambda _{r}-\lambda _{l}}{\psi _{t}-\psi _{b}}, \end{aligned}$$
(57)

where \(r_{0}^{\pm }\) are retrograde and prograde orbits at the equatorial plane, respectively.

For non-rotating (spherically symmetric) black holes, as in the present study, one can verify that the shadow distortion can be eliminated so that \(\delta _{s}=0\) and the shadow oblateness equals unity, i.e., \(D_{s}=1\) [162, 166]. This indicates that for non-rotating black holes, the shadow shape is a perfect circle. Additionally, the retrograde and prograde orbits are not accessible for non-rotating black holes [162, 166]. In the subsequent section, however, we compare the shadow size of M87* supermassive black hole with the ALF and ALAdS charged higher-dimensional black holes in EHM gravity to constrain the electric charge and cosmological constant together with coupling constants of the EHM theory by following the procedure introduced by the EHT collaborations in Ref. [167].

4 Shadow and deflection angle of the higher-dimensional ALF and ALAdS black holes in the EHM gravity

In this section, we aim to study the shadow and deflection angle of the higher-dimensional ALF and ALAdS black holes in the EHM gravity utilizing the general framework expressed in the previous section. To do this end, we apply the line element of these black holes in EHM gravity on the formulas deduced in the framework to investigate how dimensionality, electric charge, and cosmological constant in EHM gravity affect the shadow and deflection angle behavior. In this regard, we will see whether the shadow behavior of black holes are dependent to dimensionality, electric charge and cosmological constant as the spacetime features in addition to the black hole parameters.

4.1 ALF charged black hole with extra dimensions

To study the shadow and deflection angle of the ALF black hole in EHM gravity with extra dimensions, we arbitrarily consider the electric charge values as \(Q=0.1, 0.5, 1, 1.5,\) and 2. Also, we take into account that the extra dimensions count \(n=4,5,\ldots ,11\) (note that \(n=4\) stands for one temporal in addition to three spatial dimensions as usual).

4.1.1 Effective potential

First, we want to check the behavior of the effective potential for the ALF black hole with extra dimensions in the EHM gravity. Inserting Eqs. (5) and (6) into Eq. (37) results in the effective potential for the higher-dimensional ALF charged black hole as follows

$$\begin{aligned} V_{eff}= & {} \frac{16(n-2)^{2}(n-3)^{2}r^{4n-2}}{\left( q^{2}r^{6}-4(n-2)(n-3)r^{2n}\right) ^{2}}\nonumber \\{} & {} \quad {\times }\bigg \{\left( {\mathcal {K}}{+}L^{2}\right) \left( 1{-}\frac{\mu }{r^{n-3}}{+}\frac{q^{2}}{2(n-2) (n{-}3)r^{2(n{-}3)}}\right. \nonumber \\{} & {} \quad \left. -\frac{q^{4}}{48(n-2)^{2}(n-3)^{2}r^{4(n-3)}}\right) -E^{2}r^{2}\bigg \}. \end{aligned}$$
(58)
Fig. 3
figure 3

The graph of the radial evolution of the effective potential for the ALF charged black hole with extra dimensions in EHM gravity for different values of n and Q in which we set \(M=1\)

Figure 3 depicts the behavior of the effective potential for the ALF charged black hole with extra dimensions as a function of radial coordinate r for different values of n and Q. In this figure, the effective potential peaks at the photon sphere radius \(r_{0}\) associated with each value of n and Q and in the limit \(r\rightarrow \infty \), the effective potential approaches a constant value. From Fig. 3a, we see that for a fixed value of Q, the effective potential for the higher-dimensional ALF charged black hole increases by growing n. Also, we find from Fig. 3b that increasing the value of Q for \(n=4\) leads to amplification of the effective potential for the black hole. However, form Fig. 3c we find that for \(n\ge 5\), although this amplifying of the effective potential continues but each curve of the effective potential corresponding to different values of Q finally coincide. This fact shows that the impact of higher dimensions dominates the effect of the electric charge in the ALF black hole with higher dimensions. Since the location of the maximum of the effective potential for the black hole, i.e., the photon sphere radius \(r_{0}\), characterizes the shadow boundary of the black hole, Fig. 3 shows that how n and Q affect the shadow boundary of the ALF black hole in the EHM gravity with extra dimensions.

4.1.2 Geometrical shapes of shadow

Now we are going to illustrate the geometrical shape of shadow of the ALF charged black hole with extra dimensions on the observer’s sky in the celestial coordinates introduced in previous section. In this regard, we first should collect some numerical data for \(r_{*}, r_{eh}, r_{0}\), and \(\sqrt{\eta +\xi ^{2}}\) associated with the black hole. Inserting Eq. (6) into Eq. (39) yields the photon sphere radius for the higher-dimensional ALF black hole in the EHM gravity. Moreover, applying Eqs. (5) and (6) into Eq. (42) and using Eq. (44) leads to find the radius of shadow circles for the higher-dimensional ALF charged black hole in celestial coordinates. In Table 1 we collect the numerical data associated with \(r_{*}\), \(r_{eh}\), and \(r_{0}\) for \(n=4,5,\ldots ,11\) and some different values of Q.

Table 1 Values of \(r_{*}\), \(r_{eh}\), and \(r_{0}\) of the higher-dimensional ALF charged black hole for different values of Q and n
Fig. 4
figure 4

Geometrical shape of the shadow of the higher-dimensional ALF charged black hole in celestial plane with \(M=1\)

Fig. 5
figure 5

Geometrical shape of the shadow of ALF charged black hole with higher dimensions in celestial plane with \(M=1\)

Based on the data provided in Table 1, one can plot the shadow circles of the ALF charged black hole with extra dimensions for different values of Q and n. In Fig. 4, we can see the geometrical shapes of shadow of the ALF charged black hole with extra dimensions in the celestial coordinates for different values of Q and n. Each plot in Fig. 4 is for a fixed value of Q. From Fig. 4 we see that for a fixed value of Q, the shadow shapes of the black hole decrease with increasing dimension. Therefore, the extra dimensions affect the shadow of the black hole significantly by reducing the size of its geometrical shape.

Also, in Fig. 5, we see the shadow circles of the ALF charged black hole with extra dimensions in the celestial coordinates for different values of Q with \(n=4\) in Fig. 5a and \(n=5\) in Fig. 5b. In Fig. 5a for \(n=4\) we see that by increasing the electric charge value, the size of shadow circles decrease. In Fig. 5b, however, for \(n=5\) the shadow size of the ALF charged black hole with higher dimensions for each value of electric charge approach each other while they experience a reduction in their size in comparison with corresponding ones for \(n=4\). One can see also the behavior for \(n>5\). Therefore, Fig. 5 shows us that for \(n\ge 5\), the shadow circles associated with different values of Q coincide on each other. Therefore, the impact of the electric charge on the shadow of the black hole in EHM gravity is suppressible.

4.1.3 Energy emission rate

Now we apply the values of \(r_{eh}\) from Table 1 into Eq. (10) to gain the values of the Hawking temperature of the ALF charged black hole with extra dimensions for different values of Q and n. Then, one can insert the values of \(\sqrt{\eta +\xi ^{2}}\) into Eq. (45) to obtain the values of \(\sigma _{lim}\) for different values Q and n corresponding to the ALF charged black hole with higher dimensions. Finally, one can apply the values of the Hawking temperature and \(\sigma _{lim}\) on Eq. (46) to gather the energy emission rate in terms of different values of Q and n associated with the higher-dimensional ALF black hole in EHM gravity.

Fig. 6
figure 6

The energy emission rate as a function of \(\varpi \) for the higher-dimensional charged ALF black hole in EHM gravity for different values of n with Q

The energy emission rate for the higher-dimensional charged ALF black hole in EHM gravity is illustrated in Fig. 6 as a function of the emission frequency \(\varpi \). From Fig. 6a, b, we see that for a fixed value of Q, the energy emission rate of the ALF charged black hole with extra dimensions extremely increases by growing n. Therefore, we found out that extra dimensions accelerate the evaporation of the ALF black hole in EHM gravity with higher dimensions. Additionally, from Fig. 6c for \(n=4\) one can see that increasing the electric charge value results in reducing the energy emission rate, especially for \(Q=2\). From Fig. 6d, however, one can find that for \(n=5\) the energy emission rates of the ALF charged black hole with extra dimensions associated with each value of the electric charge approach each other while they experience an amplification in their values in comparison with corresponding ones for \(n=4\) in Fig. 6c. One can also verify such a behavior for \(n>5\). Therefore, Fig. 6c, d show us that for \(n\ge 5\), the energy emission rates associated with different values of Q coincide with each other. So, although the impact of the electric charge is to amplify the energy emission rate of the black hole in EHM gravity, which causes black hole evaporation to accelerate, its effect is dominated by the impact of extra dimensions.

4.1.4 Deflection angle

Inserting Eqs. (5) and (6) into Eqs. (48) and (49), results in the Gaussian optical curvature for the higher-dimensional ALF black hole in EHM gravity, which up to the first order in mass and second order in electric charge of the black hole can be approximately found as follows

$$\begin{aligned} K\approx & {} -4\,\Gamma \left[ \frac{n-1}{2}\right] \nonumber \\{} & {} {\times } \left\{ \frac{M\pi ^{\frac{3{-}n}{2}} (n{-}2)(n{-}3)^{2}r^{1{-}n}{-}2Q^{2}\pi ^{3{-}n}r^{4{-}2n}\Gamma \left[ \frac{n{-}1}{2}\right] }{(n{-}2)(n{-}3)}\right\} .\nonumber \\ \end{aligned}$$
(59)

Furthermore, the surface element of the optical metric (48) for the higher-dimensional ALF black hole in EHM gravity corresponding to the metric coefficients (5) and (6) can be approximately found as follows

$$\begin{aligned} dS=\sqrt{\bar{g}}\,drd\phi =\frac{r}{h(r)\sqrt{f(r)}}dtd\phi \approx rdrd\phi . \end{aligned}$$
(60)

Now, employing Eqs. (59) and (60) in the deflection angle formula (53) leads to the deflection angle of the higher-dimensional ALF black hole in EHM gravity as follows

$$\begin{aligned} \Theta{} & {} = -\int _{0}^{\pi }\int _{\frac{\xi }{\sin \phi }}^{\infty }KdS\nonumber \\{} & {} \approx -\int _{0}^{\pi }\int _{\frac{\xi }{\sin \phi }}^{\infty }\Gamma \left[ \frac{n{-}1}{2}\right] \nonumber \\{} & {} \quad \times \left\{ \frac{M\pi ^{\frac{3{-}n}{2}}(n{-}2)(n{-}3)^{2}r^{1{-}n}{-}2Q^{2}\pi ^{3{-}n}r^{4{-}2n} \Gamma \left[ \frac{n-1}{2}\right] }{(n-2)(n-3)}\right\} rdrd\phi \nonumber \\{} & {} =\frac{1}{\pi ^{n}\xi ^{2n-3}}\left\{ 4M\xi ^{n}\pi ^{\frac{n+4}{2}}\Gamma \left[ \frac{n-2}{2}\right] \right. \nonumber \\{} & {} \quad \left. -\frac{Q^{2}\xi ^{3}\pi ^{\frac{7}{2}}\Gamma \left[ \frac{2n-5}{2}\right] \left( \Gamma \left[ \frac{n-3}{2}\right] \right) ^{2}}{\Gamma [n-1]}\right\} .\nonumber \\ \end{aligned}$$
(61)
Fig. 7
figure 7

The behavior of deflection angle of the higher-dimensional ALF charged black hole in EHM gravity in terms of \(\xi \) for different values of n and Q

The behavior of the deflection angle of the higher-dimensional ALF charged black hole is illustrated in Fig. 7 for different values of n with respect to \(Q=0.5\) in Fig. 7a and for different values of Q with respect to \(n=4, 5\) in Fig. 7b, c, respectively. From Fig. 7a, we see that decreasing the value of the impact parameter \(\xi \) results in extremely increasing the deflection angle of the black hole. Also, Fig. 7a shows us that for a fixed value of electric charge, the deflection angle of the black hole reduces by growing the number of extra dimensions. In Fig. 7b we see that for a fixed value of n, the deflection angle of the black hole decreases by increasing electric charge Q. However, as Fig. 7c shows, for \(n\ge 5\) the deflection angle curves of the black hole corresponding to each value of Q coincide. This again shows that the effect of the electric charge is dominated by the impact of extra dimensions in the ALF charged black hole.

4.1.5 Constraints from EHT observations of M87*

Here we aim to compare the deduced shadow radius of the higher-dimensional ALF charged black hole in EHM gravity with the shadow size of supermassive black hole, M87* captured by EHT. Within 1-\(\sigma \) (68%) confidence levels, one can find that the shadow size of M87* supermassive black hole captured by EHT lies within the interval [167]

$$\begin{aligned} 4.31\le R_{s, M87^{*}}\le 6.08. \end{aligned}$$
(62)

Comparing this with the shadow size of the higher-dimensional ALF charged black hole in EHM gravity enables us to constrain the electric charge values.

Fig. 8
figure 8

The shadow radius of the higher-dimensional ALF charged black hole in EHM gravity in comparison with the shadow size of M87* captured via EHT within 1-\(\sigma \) confidence level versus the electric charge. The brown (shaded) area is the excluded region, which is inconsistent with the observations of EHT, while the white (unshaded) region is the 1-\(\sigma \) confidence level of EHT data

Figure 8 indicates the behavior of the shadow radius of the higher-dimensional ALF charged black hole in EHM gravity in comparison with the EHT’s shadow size of M87* within 1-\(\sigma \) uncertainties given in Eq. (62) versus the electric charge. In Fig. 8, the white (unshaded) region denotes the 1-\(\sigma \) confidence level while the brown (shaded) areas are the excluded regions, which are incompatible with the EHT observations associated with shadow radius of M87*. From Fig. 8, we see that the shadows of the higher-dimensional ALF charged black hole in EHM gravity associated with \(n=5,\ldots ,11\) are incompatible with the observations of EHT. However, the shadow of the ALF charged black hole in EHM gravity with \(n=4\) lies in the 1-\(\sigma \) confidence level, so that in the range \(0\le Q<1.8\) the shadow radius of the four dimensional black hole in EHM gravity has a good consistency with EHT observations. Moreover, like Table 1 and Fig. 5a, we see from Fig. 8 that decreasing the electric charge value leads to reduce the shadow radius of the four dimensional ALF charged black hole. The decreasing the electric charge, however, has no effect on the shadow of the higher-dimensional ALF charged black hole in EHM gravity associated with \(n=5,\ldots ,11\) since the impact of the electric charge in comparison with the extra dimension effect can be eliminated.

4.2 ALAdS charged black hole with extra dimensions

Due to the complexity of the metric coefficients of the ALAdS charged black hole in EHM gravity with extra dimensions, we consider \(n=4\) in addition to two odd dimensions, \(n=5\) and \(n=7\). Moreover, based on the previously mentioned condition \((\alpha +\gamma \Lambda )<0\) for the ALAdS case, we utilize two different sets \((\alpha =0.01,\,\gamma =0.51)\) and \((\alpha =0.015,\,\gamma =0.81)\) by considering five different values for the negative cosmological constant, \(\Lambda =-0.02, -0.04, -0.06, -0.08\), and \(-0.10\). Moreover, we set \(Q=0.5\) to study the impact of extra dimensions and the negative cosmological constant.

4.2.1 Effective potential

As mentioned before, the effective potential plays a key role in studying shadow. We can find the effective potential for the ALAdS charged black hole with extra dimensions by inserting Eqs. (11)–(13) together with (14) for \(n=4\), and (15) for \(n=5\) and \(n=7\) into Eq. (37), which for \(n=4\) yields

$$\begin{aligned} V_{eff}= & {} \frac{4r^{4}(4+\beta \gamma )^{2}\left( 3g^{2}r^{2}+1\right) ^{2}}{\left( 6g^{2}r^{4} (4+\beta \gamma )-q^{2}+8r^{2}\right) ^{2}}\Bigg \{\frac{\left( {\mathcal {K}}+L^{2}\right) }{12r^{6}(4+\beta \gamma )^{2}}\nonumber \\{} & {} \quad \times \Bigg (-\sqrt{3}\,r^{3}\cot ^{-1}\left[ \sqrt{3}\,gr\right] \left( 3g^{2}q^{2}-2\beta \gamma \right) ^{2}g^{-1}\nonumber \\{} & {} \quad +q^{4}\left( 9g^{2}r^{2}-1\right) +48q^{2}r^{2}+12r^{3}(4+\beta \gamma )\nonumber \\{} & {} \quad \times \left( r \left( -\beta \gamma +g^{2}r^{2}(4+\beta \gamma )+4\right) \right. \nonumber \\{} & {} \quad \left. -\mu (4+\beta \gamma )\right) \Bigg )-E^{2}\Bigg \} \end{aligned}$$
(63)

and for \(n=5\) and \(n=7\) results in

$$\begin{aligned} V_{eff}= & {} \frac{(n{-}2)^{2}(4{+}\beta \gamma )^{2}\left( g^{2}r^{2}(n{-}1){+}n{-}3\right) ^{2}}{\left( g^{2}r^{2}(n{-}2)(n{-}1)(4{+}\beta \gamma ){-}q^{2}r^{6{-}2n}{+}4(n{-}3)(n{-}2)\right) ^{2}}\nonumber \\{} & {} \quad \times \Bigg \{\frac{\left( {\mathcal {K}}+L^{2}\right) }{r^{2}}\Bigg (-\frac{\mu }{r^{n-3}} +\frac{8g^{2}r^{2}(2+\beta \gamma )+16}{(4+\beta \gamma )^{2}} \nonumber \\{} & {} \quad +\frac{2q^{2}}{(n-2)(n-3)(4+\beta \gamma )r^{2n-6}}\nonumber \\{} & {} \quad -\frac{2\beta \gamma (n-3)q^{2}}{g^{2}(n-1)^{2}(n-2)(4+\beta \gamma )^{2}r^{2n-4}} \nonumber \\{} & {} \quad +\frac{(n-1)\beta ^{2}\gamma ^{2}g^{4}r^{4}}{(n-3)(4+\beta \gamma )^{2}}{}_{2}\nonumber \\{} & {} \quad \times \textrm{F}_{1} \left[ 1,\frac{n+1}{2};\frac{n+3}{2};\frac{(n-1)g^{2}r^{2}}{3-n}\right] \nonumber \\{} & {} \quad +\frac{2\beta \gamma (n-3)^{2}q^{2}}{g^{4}(n+1)(n-1)^{2}(n-2)(4+\beta \gamma )^{2}r^{2n-2}} {}_{2}\nonumber \\{} & {} \quad \times \textrm{F}_{1}\left[ 1,\frac{n+1}{2};\frac{n+3}{2};\frac{3-n}{(n-1)g^{2}r^{2}} \right] \nonumber \\{} & {} \quad -\frac{q^{4}}{g^{2}(n-1)(n-2)^{2}(3n-7)(4+\beta \gamma )^{2}r^{2(2n-5)}}{}_{2}\nonumber \\{} & {} \quad \times \textrm{F}_{1} \left[ 1,\frac{3n-7}{2};\frac{3n-5}{2};\frac{3-n}{(n-1)g^{2}r^{2}}\right] \Bigg ) -E^{2}\Bigg \}.\nonumber \\ \end{aligned}$$
(64)
Fig. 9
figure 9

The graph of radial evolution of the effective potential for the higher-dimensional ALAdS charged black hole in EHM gravity for different values of n and \(\Lambda \) in which we set \(Q=0.5\) and \(M=1\) using the set \((\alpha =0.01,\,\gamma =0.51)\)

Figure 9 is the illustration of the effective potential versus r for the ALAdS charged black hole with higher dimensions for different values of n and \(\Lambda \) for which we utilized the set \((\alpha =0.01,\,\gamma =0.51)\). We see from Fig. 9a that for the fixed value of the cosmological constant \(\Lambda =-0.02\), the effective potential for the higher-dimensional ALAdS black hole (like ALF one) in EHM gravity increases by growing n. Furthermore, Fig. 9b–d show that for a fixed value of n, increasing the value of \(\Lambda \) (i.e., decreasing its absolute value) leads to amplify the effective potential for the higher-dimensional ALAdS charged black hole. This amplification becomes more remarkable by increasing the number of dimensions n since in Fig. 9d for \(n=7\), the curve of effective potential related to \(\Lambda =-0.02\) has much larger values than the corresponding ones in Fig. 9b, c. Consequently, form Fig. 9, we find that the number of extra dimensions together with the cosmological constant have simultaneously an amplifying impact on the effective potential for the higher-dimensional ALAdS charged black hole in EHM gravity.

4.2.2 Geometrical shapes of shadow

One can characterize the geometrical shape of the shadow of the ALAdS charged black hole in EHM gravity with extra dimensions on the observer’s frame utilizing the celestial coordinates. Applying Eqs. (12) and (13) together with (14) for \(n=4\), and (15) for \(n=5\) and \(n=7\) onto Eq. (39) results in the radius of the photon sphere of the black hole. Also, one can gather the radius of shadow circles of the ALAdS black hole in EHM gravity with higher dimensions through inserting Eqs. (11)–(13) together with (14) for \(n=4\), and (15) for \(n=5\) and \(n=7\) into Eq. (42) and making use of Eq. (44). The numerical data associated with \(r_{*}\), \(r_{eh}\), and \(r_{0}\) for different values of \(\Lambda \) and n utilizing the considered set \((\alpha =0.01,\,\gamma =0.51)\) are provided in Table 2.

Table 2 Numerical values of \(r_{*}\), \(r_{eh}\), and \(r_{0}\) of the higher-dimensional ALAdS charged black hole in EHM gravity for different values of \(\Lambda \) and n considering the set \((\alpha =0.01,\,\gamma =0.51)\)

Using the data collected in Table 2, we illustrate of the shadow shapes in celestial coordinates of the higher-dimensional ALAdS black hole in EHM gravity in Fig. 10. Each plot in Fig. 10 is illustrated for a fixed value of \(\Lambda \). We see from Fig. 10 that when the cosmological constant \(\Lambda \) is fixed, the radius of shadow circles of the ALAdS charged black hole (like ALF one) decreases with increasing the number of dimensions.

Now by fixing the number of dimensions n, we plot the shadow circles of the ALAdS charged black hole with extra dimensions in EHM gravity in Fig. 11 for different values of \(\Lambda \). From Fig. 11, we can obviously find that decreasing the value of the negative cosmological constant (i.e., increasing its absolute value) results in remarkably growing the radius of the shadow circles of the ALAdS charged black hole. This means that turning off the cosmological constant yields smaller shadow sizes. Consequently, for the higher-dimensional charged ALAdS black hole in EHM gravity, from Figs. 10 and 11, we can see that the impact of the extra dimensions (cosmological constant) on the shadow of the black hole is to reduce (amplify) its size.

Fig. 10
figure 10

Geometrical shape of the shadow of the higher-dimensional ALAdS charged black hole in celestial plane with \(M=1\) using the set \((\alpha =0.01,\,\gamma =0.51)\)

Fig. 11
figure 11

Geometrical shape of the shadow of the higher-dimensional ALAdS charged black hole in celestial plane with \(M=1\) using the set \((\alpha =0.01,\,\gamma =0.51)\)

Fig. 12
figure 12

The energy emission rate as a function of \(\varpi \) for the higher-dimensional ALAdS charged black hole in EHM gravity for different values of n and \(\Lambda \)

4.2.3 Energy emission rate

One can insert \(r_{eh}\) values from Table 2 into Eq. (19) to find numerical values of the Hawking temperature of the ALAdS extra dimensional black hole in EHM gravity. Then, the numerical values of \(\sigma _{lim}\) in Eq. (45) for different \(\Lambda \) and n from the values of the shadow radius \(\sqrt{\eta +\xi ^{2}}\) of the black hole should be found. Consequently, one can find the expressions of the energy emission rate in terms of different values of \(\Lambda \) and n associated with the higher-dimensional ALAdS black hole in EHM gravity by inserting the Hawking temperature and \(\sigma _{lim}\) values into Eq. (46).

Figure 12 is the illustration of the energy emission rate for the charged ALAdS higher-dimensional black hole in EHM gravity in terms of the emission frequency \(\varpi \). In Fig. 12a the behavior of the energy emission rate is shown for the fixed value of the cosmological constant \(\Lambda =-0.02\) associated with \(n=4, 5\), and 7. Additionally, Fig. 12b, c are related to \(n=5\) and \(n=7\), respectively. From Fig. 12a we see that for a fixed value of \(\Lambda \), growing n results in significantly increasing the energy emission rate of the ALAdS charged black hole with extra dimensions. Thus, like ALF charged black hole, we found out that extra dimensions accelerate the evaporation of the ALAdS charged black hole with higher dimensions. Moreover, From Fig. 12b, c we see that for a fixed value of number of dimensions n, decreasing \(\Lambda \) (i.e., increasing its absolute value) results in reducing the energy emission rate of the ALAdS charged black hole with extra dimensions. This means that turning off the cosmological constant leads to amplify the energy emission rate. Also, the curves of the energy emission of the black hole in Fig. 12c associated with \(n=7\) have larger values than the corresponding ones in Fig. 12b for \(n=5\). Consequently, the impact of the cosmological constant is to reduce the energy emission rate of the charged ALAdS higher-dimensional black hole, which results in decelerate its evaporation while the effect of extra dimensions is to accelerate it.

4.2.4 Deflection angle

We apply Eqs. (11)–(13) and (15) for odd n’s for simplicity on Eqs. (48) and (49) to gain the Gaussian optical curvature for the higher-dimensional ALAdS charged black hole. The Gaussian optical curvature of the black hole up to the first order in source mass and cosmological constant and second order in electric charge and again second order in coupling constants \(\gamma \) and \(\alpha \), can be found as follows

$$\begin{aligned} K{} & {} \approx \frac{-8(n-3)\pi ^{1-n}r^{-2n}}{\gamma ^{2}(n-3)^{4}(n-2)^{5}(n-1)(n+1)} \nonumber \\{} & {} \quad \times \bigg \{\alpha ^{2}M(n-3)(n-2)^{2}(n^{2}-1)(n-4)\nonumber \\{} & {} \quad \times (5n-7)\pi ^{\frac{n+1}{2}} r^{n+5}\Gamma \left[ \frac{n-1}{2}\right] \nonumber \\{} & {} \quad +6\alpha \gamma \Lambda \pi ^{n-1}(n-3)(n-2)^{3}(n+1)(2n-3)r^{2-2n}\nonumber \\{} & {} \quad +540\pi ^{2}Q^{2}r^{4}\gamma ^{2}\left( \Gamma \left[ \frac{n-1}{2}\right] \right) ^{2}\bigg \}. \end{aligned}$$
(65)

Furthermore, the surface element of the optical metric (48) for the higher-dimensional ALAdS charged black hole in EHM gravity corresponding with the metric coefficients (11)–(13) and (15) for odd n’s can be found approximately as the same as Eq. (60). Now, by inserting Eqs. (60) and (65) into the deflection angle expression (53), one can get approximately the deflection angle of the higher-dimensional ALAdS black hole in EHM gravity as follows

$$\begin{aligned} \Theta= & {} -\int _{0}^{\pi }\int _{\frac{\xi }{\sin \phi }}^{\infty }KdS\nonumber \\= & {} -\int _{0}^{\pi }\int _{\frac{\xi }{\sin \phi }}^{\infty }Krdrd\phi \nonumber \\{} & {} \approx \frac{\xi ^{4-4n}}{(n-3)^{2}(n-2)^{4}}\nonumber \\{} & {} \quad \times \left\{ \frac{56\alpha ^{2}M(n-5)(n-3)(n-2) \pi ^{\frac{4-n}{2}}\xi ^{3n+3}\Gamma \left[ \frac{n-6}{2}\right] }{\gamma ^{2}(n-7)}\right. \nonumber \\{} & {} \quad +\frac{3\sqrt{\pi }\alpha \Lambda (n-2)\Gamma \left[ \frac{4n-3}{2}\right] }{\gamma (n-1)^{3}\Gamma [2n-4]}\nonumber \\{} & {} \quad \left. +\frac{540\pi ^{\frac{7-2n}{2}}Q^{2}\xi ^{2n+2}\left( \Gamma \left[ \frac{n-3}{2}\right] \right) ^{2}\Gamma \left[ \frac{2n-5}{2}\right] }{(n+1)\Gamma [n]}\right\} . \end{aligned}$$
(66)
Fig. 13
figure 13

The behavior of deflection angle of the higher-dimensional ALAdS black hole in EHM gravity in terms of \(\xi \) for \(n=5\) and \(\Lambda =-0.02\)

Figure 13 is the illustration of the deflection angle of the higher-dimensional ALAdS black hole in EHM gravity versus the impact parameter \(\xi \) with respect to \(\Lambda =-0.02\) and \(n=5\) for simplicity. From Fig. 13, we see that reducing the impact parameter \(\xi \) again results in increasing the deflection angle of the black hole.

4.2.5 Constraints from EHT observations of M87*

Now we want to compare the shadow radius of the higher-dimensional ALAdS charged black hole in EHM gravity with the shadow size of M87* supermassive black hole captured by EHT in Eq. (62) to constrain the cosmological constant values and coupling constants of the EHM theory.

Fig. 14
figure 14

The shadow radius of the higher-dimensional ALAdS charged black hole in EHM gravity in comparison with the shadow size of M87* captured via EHT within 1-\(\sigma \) confidence level. The brown (shaded) areas are the excluded regions, which are inconsistent with the observations of EHT while the white (unshaded) region is the 1-\(\sigma \) confidence level of EHT data

Figure 14 shows the behavior of the shadow radius of the higher-dimensional ALAdS charged black hole in EHM gravity in comparison with the shadow radius of M87* given by EHT within 1-\(\sigma \) uncertainties as seen in Eq. (62). In Fig. 14, the white (unshaded) region indicates the 1-\(\sigma \) confidence level while the brown (shaded) areas are the excluded regions, which are inconsistent with the observations of EHT related to the shadow radii of M87*. In Fig. 14a, b utilizing the sets \((\alpha =0.01,\,\gamma =0.51)\) and \((\alpha =0.015,\,\gamma =0.81)\), respectively, the comparison between the shadow radius of the higher-dimensional ALAdS charged black hole and M87* is shown versus the cosmological constant. From Fig. 14a we see that for \(n=4\), the shadow radius of the black hole is in consistence with M87* shadow for \(0<\Lambda <-0.025\) while for \(n=5\) and \(n=7\) such a consistency can be seen in \(-0.05<\Lambda <-0.07\) and \(-0.09<\Lambda \), respectively. Comparing Fig. 14a and Fig. 14b shows that these ranges shift a bit towards larger values of \(\Lambda \) while the values of the shadow radius of the black hole experiences a tiny amplification by increasing \(\alpha \) and \(\gamma \) in Fig. 14b. It should be noted that Fig. 14a, b show that omitting the cosmological constant leads to reduction of the shadow radius of the black hole. Moreover, Fig. 14c is for comparison between the shadow radii of the higher-dimensional ALAdS charged black hole and M87* versus the coupling constant \(\gamma \) with respect to the set \((\alpha =0.015,\,\Lambda =-0.10)\). From Fig. 14c, we see that for \(n=4\), the shadow radius of the black hole is compatible with M87* shadow in the range \(0.12<\gamma <0.17\) while for \(n=5\) and \(n=7\) such a compatibility appears in \(0.26<\gamma <0.36\) and \(0.46<\gamma \), respectively. Also, Fig. 14c indicates that increasing the coupling constant \(\gamma \) leads to amplification of the shadow radius of the black hole. Additionally, Fig. 14d is for comparing the shadow radius of the higher-dimensional ALAdS charged black hole and M87* versus coupling constant \(\alpha \) using the set \((\gamma =0.51,\,\Lambda =-0.10)\). In Fig. 14d, we see that for \(n=4\), the shadow radius of the black hole is compatible with M87* shadow in the interval \(0.03<\alpha <0.044\) while for \(n=5\) and \(n=7\) such a compatibility appears in \(0.016<\alpha <0.02\) and \(\alpha <0.012\), respectively. We see from Fig. 14d that increasing the coupling constant \(\alpha \) results in reducing the shadow size of the black hole. The key point here is that from Fig. 14 one can expect that the extra dimensions, especially \(n=5\) can be apparently observed from the shadow of black holes captured by EHT thanks to the presence of the cosmological constant in the EHM theory.

5 Summary and conclusions

In this study, according to string theory, braneworld models, and AdS/CFT correspondence, we motivated to take into account the higher-dimensional ALF and ALAdS charged black hole solutions of the EHM theory to investigate the behaviors of the corresponding shadow and deflection angle. Our main goal was to discover how extra dimensions and the other parameters of the theory affect the shadow of the black holes. To do this, we first provided the required general formalism to study the shadow behavior of these higher-dimensional black holes utilizing the Hamilton–Jacobi approach and Carter method to formulate the null geodesics around them and derive the corresponding effective potentials. Next, we introduced the celestial coordinates to specify the shadow shape of the higher-dimensional black holes on the observer’s sky. We also estimated the energy emission rate and deflection angle formulas in the higher-dimensional scenario. Additionally, we introduced the black hole shadow observables including shadow size and distortion, as well as shadow area and oblateness proposed by Hioki-Maeda and Kumar-Ghosh proposals, respectively. Then, employing the constructed framework, we studied the shadow behavior, deflection angle, and energy emission rate of the ALF and ALAdS charged black holes in EHM gravity with extra dimensions. We computed and analyzed the significant impacts of the electric charge, cosmological constant, and extra dimensions on the shadow, deflection angle, and energy emission rate of the black holes within the setup. Moreover, we constrain these parameters by comparing the shadow size of M87* from EHT observations with the shadow radius of the higher-dimensional ALF and ALAdS charged black holes.

For the higher-dimensional charged ALF case, we discovered that for a fixed value of the electric charge Q, the shadow size of the black hole decreases with increasing the number of extra dimensions n. Also, when the electric charge value increases with a fixed n, the shadow size of the black hole again decreases, whereas the effect of the electric charge in comparison with extra dimensions on the shadow of charged higher-dimensional ALF black hole is suppressible. Also, we saw that for a fixed value of Q, the energy emission rate of the ALF charged black hole with extra dimensions extremely increases by growing n. Also, growing the electric charge increases the energy emission rate, but its effect can be eliminated. Therefore, we found that extra dimensions accelerate the evaporation of the ALF black hole in EHM gravity with higher dimensions. Then, using the Gauss–Bonnet theorem, we have calculated the leading terms of the deflection angle in the weak-limit approximation. We have discussed the impact of charge and the extra dimensions on this optical quantity. It was obvious that for a fixed value of the electric charge, the deflection angle of the ALF black hole in EHM gravity with extra dimensions reduces by growing the number of dimensions. Also, for a fixed value of n, the deflection angle of the black hole decreases by increasing the electric charge Q. However, the effect of the electric charge is dominated by the impact of extra dimensions on the deflection angle of the black hole. Furthermore, by comparing the shadow radius of the black hole with M87* shadow released by EHT, we observed that only the shadow of four dimensional ALF charged black hole with \(0\le Q<1.8\) lies in the 1-\(\sigma \) uncertainties of EHT data.

On the other hand, for the higher-dimensional ALAdS charged black hole in the EHM gravity we observed that when the negative cosmological constant \(\Lambda \) is fixed, the radii of shadow circles of the higher-dimensional ALAdS charged black hole decrease by increasing the number of extra dimensions n. However, for a fixed n, the shadow radius of the higher-dimensional ALAdS charged black hole increases by decreasing the negative cosmological constant (i.e., increasing its absolute value). Also, we found that for a fixed value of \(\Lambda \), the energy emission rate of the ALAdS charged black hole with extra dimensions extremely increases by growing n, whereas for a fixed n, the energy emission rate of the black hole decreases by decreasing the negative cosmological constant (i.e., increasing its absolute value). Hence, we found that extra dimensions and negative cosmological constant accelerate the evaporation of the ALAdS charged black hole with higher dimensions. Moreover, we observed that increasing the coupling constant \(\gamma \) of the EHM gravity leads to amplify the shadow radius of the black hole whereas increasing the coupling constant \(\alpha \) of the theory results in reducing the shadow size of the black hole. Surprisingly, by comparing the shadow of M87* captured by EHT with the shadow of the black hole, we proved that the four, five, and seven dimensional ALAdS charged black hole are compatible with EHT data thanks to the presence of the negative cosmological constant.

In summary, we can came to conclusion that the shadows of higher-dimensional ALF and ALAdS charged black holes in EHM theory are characterized by the extra dimensions in addition to their parameters. In this regard, the extra dimensions within EHM theory affect the shadows of the black holes by reducing their size, significantly. On the other hand, owing to the existence of the negative cosmological constant within EHM theory, we concluded that it seems possible to detect the effects of the extra dimensions via EHT. The key point here is that from Fig. 14, one can expect that the extra dimensions, especially \(n=5\) can be apparently observed from the shadow of black holes captured by EHT thanks to the presence of the cosmological constant in the EHM theory. These outcomes may lead to the possibility of testing the higher-dimensional charged black hole solutions of EHM gravity by employing astrophysical observations.