1 Introduction

Gravitational lensing by black holes is one of the most powerful astrophysical tools for investigating the strong-field features of gravity and provide us with information about the distant stars that are too dim to be observed. It can help us detect exotic objects and hence verify alternative theories of gravity. The gravitational lensing theories were developed, among others, by Liebes [1], Refsdal [2], and Bourassa and Kantowski [3]. They have successfully explained the astronomical observations but in the weak field approximation. However, when a lens is a compact object with a photon sphere (such as a black hole), a strong field treatment of gravitational lensing is needed instead because photons passing close to the photon sphere have large deflection angles. Virbhadra and Ellis [4] obtained the lens equation using an asymptotically flat background metric, in the strong-field limit for a Schwarzchild black hole numerically. Apart from the primary and secondary images, they reported two infinite sets of faint relativistic images. An exact lens equation without reference to a background metric was found by Fritelli et al. [5]. Later, Bozza [6] used the strong field limit approximation to obtain analytical expressions for the positions and magnification of the relativistic images and extended his method of lensing for a general class of static and spherically symmetric spacetimes to show that the logarithmic divergence of the deflection angle at photon sphere is a generic feature for such spacetimes. Bozza’s [6] methods was extended to several static, spherically symmetric metrics which includes Reissner–Nordström black holes [7], braneworld black holes [8,9,10,11], charged black hole of heterotic string theory [12]. The strong gravitational field continues to receive significant attention, more recent works include lensing from other black holes [13,14,15,16] and from various modifications of Schwarzschild geometry [17,18,19,20,21,22,23], and more recently in 4D Einstein-Gauss-Bonnet gravity [24,25,26]. The gravitational lensing by a primary photon sphere with unstable circular light orbits and by a secondary photon sphere on a wormhole throat in a black-bounce regular spacetime shows the existence of an antiphoton sphere and the formation of infinite images near it [27]. The gravitational lensing received a boost when Event Horizon Telescope (EHT) [28, 29] unravelled the first-ever image of the supermassive black hole M87*. These results offer testing grounds for gravity theories on offering a compelling probe of the strong gravitational fields. With this motivation, this paper investigates the strong-field gravitational lensing of light by the hairy black holes in Horndeski gravity [30].

As a modification to GR, the simplest extensions are the scalar–tensor theories like Horndeski gravity [31], probably the most general four-dimensional scalar–tensor theory with equations of motion containing up to second-order derivatives of the dynamical fields. Horndeski theory of gravitation is described by the action principle formulated from the metric and a scalar field that leads to field equations with no derivatives beyond second order for the metric and the scalar field, and the theory has the same symmetries as GR, namely, diffeomorphism and local Lorentz invariance. (see e.g. [32, 33]). All the terms present in the action of Horndeski gravity have been shown to be originating from Galileons, i.e. scalar–tensor models having Galilean symmetry in flat spacetime [34]. There are compelling arguments that suggest that certain modifications are required in GR at both very high and very low energy scales. Gravitational collapses are destined to unavoidable singularities, while on cosmological scales, to describe the observed accelerated expansion of the Universe, GR relies on the yet unexplained presence of dark energy [35]. Horndeski theories [36] which have been studied in both the strong gravity on compact objects, such as neutron stars, black holes [37] and in cosmological regimes to describe the accelerated expansion [38]. The space of solutions for Horndeski’s theory of gravity is endowed with hairy black holes [39,40,41,42,43,44], Among the static and spherically symmetric hairy black holes in scalar–tensor theories the simplest case in which solutions admits a hairy profile with a radially dependent scalar field was studied in [41, 45,46,47,48]. The time-dependent hairy black hole solutions within the Horndeski class of theories have also been obtained [49]. In [50], authors provide a no-hair theorem for static and spherically symmetric black hole solutions with vanishing Galileon hair at infinity which has further examined by Babichev et al. [41] considering Horndeski theories and beyond it. They demonstrated that shift-symmetric Horndeski theories including the extended ones allow for static and asymptotically flat black holes with a static scalar field [41] such that the Noether current associated with shift symmetry vanishes, while the scalar field cannot be trivial; In turn, it leads to hairy black holes for the quartic Horndeski gravity [41]. Lately, the investigation of black holes in Horndeski and beyond Horndeski theories has received significant attention [30, 51,52,53,54,55,56,57].

The strong field gravitational lensing effects caused by the charged Galileon black hole [58] was performed by Zhao and Xie [59] and compared with the Schwarzschild black hole, the Reissner–Nordström black hole and the tidal Reissner–Nordström black hole. They found that in specific parameter space, the observables generated by the charged Galileon black hole are close to those given by the tidal black hole. Badía and Eiroa [51] analysed the behaviour as gravitational lenses for the spherically symmetric and asymptotically flat black holes obtained in Horndeski gravity [41]. They found that the lensing effects by a Horndeski black hole are more substantial than in the Schwarzschild case for a specific case. Later, Wang et al. [60] regarded gravitational lensing by the charged Horndeski black hole [43] and also compared with those of the Reissner–Nordström, tidal Reissner–Nordström and charged Galileon black holes, opening a road for distinguishing these black holes.

We investigate the predictions of spherical hairy black holes in quartic Horndeski gravity [30] for the strong-field gravitational lensing effects of supermassive black holes at the center of the Milky Way and other galaxies. Our most exciting result is that the difference between the angular positions of relativistic primary and secondary images in Horndeski gravity and GR could be as large as \(\mu \)as. Also, the calculated values of time delay between these images are different in GR and Horndeski gravity, and the difference could be as significant as seconds. These suggest that observational tests of Horndeski gravity are indeed feasible.

The paper is organized as follows: We begin with briefly reviewing the hairy black holes in Horndeski gravity in the Sect. 2. Restrictions on parameters from the horizon structure and deflection of light is the subject of Sect. 3. Moreover, we also discuss the strong lensing observables by the hairy black holes, including the image positions \(\theta _{\infty }\), separation s, magnifications \(\mu _n\) in Sect. 3. Time delay between the first and second image when they are on the same side of source have been calculated for supermassive black holes SgrA*, M87* and those at the centers of 21 other galaxies in Sect. 4. A numerically analysis of the observables by taking the supermassive black holes NGC 4649, NGC 1332, Sgr A* and M87*, as the lens is part of Sect. 5. Finally, we summarize our results to end the paper in Sect. 6.

We will work in units where \(G = c = 1\).

2 Hairy black holes in Horndeski theory of gravity

Horndeski gravity is described by the action formulated from the metric and the scalar field [41]. It involves 4 arbitrary functions \(Q_i\) (\(i=2, \ldots 5\)) of kinetic term \(\chi =-{\partial ^\mu \phi \partial _\mu \phi }/{2}\) [41]. Here, we have considered the particular type of the action of [41] which is quartic, i.e, \(Q_5\) term is absent \((Q_5=0)\). The hairy black hole solution we are interested is derived from the quartic Horndeski gravity [30] whose action reads

$$\begin{aligned} S&=\int d^4x \sqrt{-g}\Big \{Q_2(\chi )+Q_3(\chi )\square \phi + Q_4(\chi )R \end{aligned}$$
(1)
$$\begin{aligned}&\quad + Q_4,_\chi [(\square \phi )^2-(\nabla ^\mu \nabla ^\nu \phi )(\nabla _\mu \nabla _\nu \phi )]\Big \}, \end{aligned}$$
(2)

where \(g \equiv \text {det}(g_{\mu \nu })\), \(g_{\mu \nu }\) is the metric tensor, R and \(G_{\mu \nu }\), respectively, denote Ricci scalar and Einstein tensor. The \(\square \) is the d’Alembert operator and \(\nabla _\mu \) is the covariant derivative. The 4-current vector associated with the Noether charge is [30],

$$\begin{aligned} j^\nu =\frac{1}{\sqrt{-g}}\frac{\delta S}{\delta (\phi _{,\mu })}, \end{aligned}$$

which results into

$$\begin{aligned} j^\nu= & {} -Q_2,_\chi \phi ^{, \nu }-Q_3,_\chi (\phi ^{, \nu }\square \phi +\chi ^{, \nu })~~~~~~~~~~~~~~~~~~~~\nonumber \\&-Q_4,_\chi (\phi ^{, \nu }R-2R^{\nu \sigma }\phi ,_\sigma )~~~~~~~~~~~~~~~~~~~~~~~~~~~\nonumber \\&-Q_4,_\chi ,_\chi \{\phi ^{, \nu }[(\square \phi )^2-(\nabla _\alpha \nabla _\beta \phi )(\nabla ^\alpha \nabla ^\beta \phi )]\nonumber \\&+2(\chi ^{, \nu }\square \phi -\chi ,_\mu \nabla ^{\mu }\nabla ^{\nu }\phi ) \}, \end{aligned}$$
(3)

where we have used the usual convention for the Riemann tensor

$$\begin{aligned} \nabla _\rho \nabla _\beta \nabla _\alpha \phi -\nabla _\beta \nabla _\rho \nabla _\alpha \phi =-R^\sigma _{~\alpha \rho \beta }\nabla _\sigma \phi . \end{aligned}$$
(4)

Varying the action (1) with respect to metric tensor \(g^{\mu \nu }\) we obtain the field equations [30, 41]

$$\begin{aligned} Q_4 G_{\mu \nu }= T_{\mu \nu }, \end{aligned}$$
(5)

where

$$\begin{aligned} T_{\mu \nu }&=\frac{1}{2}(Q_2,_\chi \phi ,_\mu \phi ,_\nu +Q_2 g_{\mu \nu }) +\frac{1}{2}Q_3,_\chi (\phi ,_\mu \phi ,_\nu \square \phi ~~~\nonumber \\&-g_{\mu \nu } \chi ,_\alpha \phi ^{, \alpha }+\chi ,_\mu \phi ,_\nu +\chi ,_\nu \phi ,_\mu )\nonumber \\&- Q_4,_\chi \Big \{\frac{1}{2}g_{\mu \nu }[(\square \phi )^2\nonumber \\&-(\nabla _\alpha \nabla _\beta \phi )(\nabla ^\alpha \nabla ^\beta \phi )-2R_{\sigma \gamma }\phi ^{,\sigma }\phi ^{,\gamma }] -\nabla _\mu \nabla _\nu \phi \square \phi \nonumber \\&+\nabla _\gamma \nabla _\mu \phi \nabla ^\gamma \nabla _\nu \phi -\frac{1}{2}\phi ,_\mu \phi ,_\nu R +R_{\sigma \mu }\phi ^{,\sigma }\phi ,_{\nu }\nonumber \\&+R_{\sigma \nu }\phi ^{,\sigma }\phi ,_{\mu }+R_{\sigma \nu \gamma \mu } \phi ^{,\sigma }\phi ^{,\gamma } \Big \}~~~~~~~~~~~~~~\nonumber \\&-Q_4,_\chi ,_\chi \Big \{g_{\mu \nu }(\chi ,_{\alpha }\phi ^{,\alpha }\square \phi +\chi _{,\alpha } \chi ^{, \alpha })+\frac{1}{2}\phi ,_\mu \phi ,_\nu \nonumber \\&\times (\nabla _\alpha \nabla _\beta \phi \nabla ^\alpha \nabla ^\beta \phi -(\square \phi )^2) - \chi ,_\mu \chi ,_\nu \nonumber \\&- \square \phi ( \chi ,_\mu \phi ,_\nu + \chi ,_\nu \phi ,_\mu ) \nonumber \\&- \chi ,_\gamma [\phi ^{,\gamma }\nabla _\mu \nabla _\nu \phi -(\nabla ^\gamma \nabla _\mu \phi )\phi ,_{\nu } -(\nabla ^\gamma \nabla _\nu \phi )\phi ,_{\mu }] \Big \}. \end{aligned}$$
(6)
Fig. 1
figure 1

The horizons of the hairy black hole in Horndeski gravity. When \(-\infty< q < 0\) the black hole admits both event horizon \(x_{+}\) and Cauchy horizon \(x_{-}\), otherwise has only event horizon for \(q>0\)

Henceforth, we shall specialise to a scalar field \(\phi \equiv \phi (r)\) [30, 41]. It will be the source of a static and spherically symmetric spacetime. The integration of field equations leads to the black hole solution [30]

$$\begin{aligned} ds^2=-A(r)dt^2+B(r)dr^2+r^2(d\theta ^2+\sin ^2\theta d\varphi ^2), \end{aligned}$$
(7)

where

$$\begin{aligned} A(r)=\frac{1}{B(r)}=1 -\frac{2m}{r} + \frac{q_o}{r}\ln \left( {\frac{r}{2m}}\right) , \end{aligned}$$
(8)

where m is the integration constant related to the black hole mass and \(q_o\) is a constant that results from Horndeski gravity. The metric (7) represents a hairy black hole in the quartic Horndeski gravity and encompasses the Schwarzschild metric in the limit \(q_o \rightarrow 0\). The solution (7) is asymptotically flat since \(\displaystyle {\lim _{r \rightarrow \infty }}\) \( A(r)=1/B(r)=1\). The Kretschmann and Ricci scalars diverge [30] along \(r=0\), establishing the metric (7) is scalar polynomial singular.

Indeed, the first exact black hole solution to Horndeski theory, for the vanishing cosmological term, was obtained by Rinaldi [39], wherein the scalar field becomes imaginary in external communication, and the weak energy condition is violated outside the horizon. It was addressed by the inclusion of a cosmological term in action makes it possible to find a black hole with a real scalar field outside [42]. Cisterna and Erices [43] continued in this line and generalize the results [42] by adding a Maxwell term to find flat charged black holes in the Horndeski scenario. Several charged Galileon black holes were obtained by Babichev et al. [58].

The gravitational lensing by the spherically symmetric and asymptotically flat black holes [41] in Horndeski gravity considered to distinguish it from the Reissner–Nordström geometry [51]; the black hole metric reads [41, 51]

$$\begin{aligned} ds^2 = -\Big (1- \frac{2m}{r}-\frac{\tilde{\gamma }}{r^2}\Big )dt^2+\frac{dr^2}{\left( 1- \frac{2M}{r}-\frac{\tilde{\gamma }}{r^2}\right) } + r^2 d\Omega ^2, \end{aligned}$$
(9)

where \(\tilde{\gamma }=\tau ^2/(2\sigma \xi )\) with \(\sigma =M_{pl}^2/16\pi \) and \(\tau \), \(\xi \) are dimensionless parameters [41, 51]. Further, the gravitational lensing by a charged Galileon black hole [58] leads to estimate the observables which can be close to those of a tidal Reissner–Nordström black hole or those of a Reissner–Nordström black hole [59]. The metric of charged Galileon black hole reads [58, 59]

$$\begin{aligned} ds^2= & {} -\Big (1- \frac{2m}{r}+\frac{\tilde{\Gamma }}{r^2}\Big )dt^2+\frac{dr^2}{\Big (1- \frac{2M}{r}+\frac{\tilde{\Gamma }}{r^2}\Big )g(r)} \nonumber \\&+ r^2 d\Omega ^2, \end{aligned}$$
(10)

where \(g(r)=\Big (1+\frac{\tilde{\Gamma }}{r^2} \Big )\) and \(\tilde{\Gamma }=(U^2+V^2)/[2(3\eta \nu ^2-2)]\), with U and V being the magnetic and electric charge respectively. \(\nu \) is the linear coefficient of time whereas \(\eta \) indicated the non-minimal kinetic coupling between the scalar field and gravity [58, 59]. Also, gravitational lensing by charged black holes from a class of the Horndeski theory when the scalar field coupled only through the Einstein tensor [43] was considered by Wang et al. [43, 60]

$$\begin{aligned} ds^2= & {} -\Big (1- \frac{2m}{r}+\frac{Q}{r^2}-\frac{Q^2}{12r^4}\Big )dt^2\nonumber \\&+ \frac{h(r) dr^2}{\Big (1- \frac{2M}{r}+\frac{Q}{r^2}-\frac{Q^2}{12r^4}\Big )} + r^2 d\Omega ^2, \end{aligned}$$
(11)

where \(h(r) = \Big (1-\frac{Q}{2r^2}\Big )^2\) and Q is the electric charge. It is more complicated than the charged Galileon black hole considered. The charged Horndeski black hole is different from a Reissner–Nordström black hole [43, 60].

We shall compare the strong deflection lensing observables by hairy Horndeski black holes and their deviations from the above three black holes viz. by neutral Horndeski black holes, charged Galileon black holes and Charged Horndeski black holes with M87* and Sgr A* as the lens.

3 Strong gravitational lensing by hairy black hole in Horndeski gravity

In this section we shall study gravitational lensing by hairy black hole (7) to investigate how the parameter \(q_o\) affects the lensing observables in strong field limit. It should give us useful insights about the possible effects of the parameter \(q_o\) on strong gravitational lensing. It is convenient to measure quantities \(r,q_o,t\) in terms of the Schwarzschild radius 2m [6] and use x instead of r, to rewrite the metric (7) as

$$\begin{aligned} ds^2= & {} -A(x)dt^2+B(x)dx^2\nonumber \\&+C(x)\Big (d\theta ^2+\sin ^2\theta d\phi ^2\Big ), \end{aligned}$$
(12)

where

$$\begin{aligned} A(x)=\frac{1}{B(x)}=1- \frac{1}{x}+\frac{q}{x}\ln (x),\;\;\;\; C(x)=x^2, \end{aligned}$$
(13)

and \(q=q_o/2m\). For our study of lensing we shall restrict the value of q in the range \(-1 \le q \le 0\). In addition to curvature scalar polynomial singularity at \(x=0\) the metric (12) is also singular at points where \(A(x)=0\), which are coordinate singularities and the corresponding surfaces are called horizons. In the domain \(-1 \le q < 0\), a simple root analysis of \(A(x)=0\) implies existence of two positive roots (\(x_{\pm }\)), corresponding to the Cauchy (\(x_{-}\)) and event horizon (\(x_{+}\)), given by

$$\begin{aligned} x_{-}=q~ \text {ProductLog}~\left[ \frac{\text {exp}~(1/q)}{q}\right] , \;\; x_{+}=1, \end{aligned}$$
(14)

where \(\text {ProductLog}~(z)\), for arbitrary z, is defined as the principal solution of the equation \(w~\text {exp}~(w)=z\).

The metric (12) always has a horizon at \(x=1\), irrespective of the value of the parameter q. For \(0 \le q < \infty \), the metric (12) has only one horizon namely event horizon fixed at radius \(x=1\) (cf. Fig. 1). For \(-1 \le q < 0\), unlike the Schwarzschild spacetime, it displays two horizons (Cauchy and event) (cf. Fig. 1). The event horizon (\(x_{+}\)) is fixed at the radius \(x=1\), while Cauchy horizon (\(x_{-}\)) increases with decreasing q and merges with the event horizon (\(x_{+}\)) in the limit \(q \rightarrow -1\) (cf. Fig. 2). Since the metric (12) has curvature singularity at \(x=0\), the existence of horizon for any value of q means the cosmic censorship hypothesis [61] is respected for hairy black hole in Horndeski gravity.

The strong field gravitational lensing is governed by deflection angle and lens equation. For this, we first observe that a light-like geodesic of the metric (12) admits two constants of motion, namely the energy \({\mathcal {E}}=-p_{\mu }\xi ^{\mu }_{(t)}\) and angular momentum \({\mathcal {L}}=p_{\mu }\xi ^{\mu }_{(\phi )}\), where \(\xi ^{\mu }_{(t)}\) and \(\xi ^{\mu }_{(\phi )}\) are, respectively, the Killing vectors due to time-translational and rotational invariance. The null geodesic equation satisfies \(ds^2=0\), which gives

$$\begin{aligned} \left( \frac{dx}{d\tau }\right) ^2\equiv {\dot{x}}^2={{{\mathcal {E}}}}^2-\frac{{\mathcal {L}}^2A(x)}{C(x)}. \end{aligned}$$
(15)
Fig. 2
figure 2

The event horizon \(x_{+}\) (solid line) and Cauchy horizon \(x_{-}\) (dashed line) for black holes in Horndeski gravity

The static and spherically symmetric compact objects with a strong gravitational field in general relativity have circular photon orbits called photon spheres. The photon sphere being one of the crucial character for strong gravitational lensing [4, 6] does not evolve with time, or in other words, null geodesic initially tangent to the photon sphere hypersurface remains tangent to it. The radius of photon sphere, \(x_{ps}\) is the greatest positive solution of the equation [6, 16]

$$\begin{aligned} \frac{C'(x)}{C(x)}= & {} \frac{A'(x)}{A(x)} \implies x_{ps}\nonumber \\= & {} \frac{3q}{2}~\text {ProductLog}\left[ \frac{2\text {exp}~(\frac{1}{3}+\frac{1}{q})}{3q}\right] . \end{aligned}$$
(16)

From Fig. 4, we observe that when \(q \rightarrow 0\), we recover the photon sphere radius, \(x_{ps}=1.5\) for the Schwarzschild black hole spacetime [6]. The radial effective potential from Eq. (15), takes the form

$$\begin{aligned} \frac{V_{\text {eff}}(x)}{{{{\mathcal {E}}}}^2}= & {} \frac{u^2}{x^2}\left[ 1- \frac{1}{x}+\frac{q}{x}\ln (x)\right] -1, \end{aligned}$$
(17)

which describes different kinds of possible trajectories. By solving \(V_{\text {eff}}(x_0)=0\) and recognising the ratio \({\mathcal {L}}/{\mathcal {E}}\) as the impact parameter, we get the expression for impact parameter u in terms of the closest approach distance \(x_0\) as follows [6]

$$\begin{aligned} u\equiv \frac{{{\mathcal {L}}}}{{{\mathcal {E}}}} =\sqrt{\frac{C(x_0)}{A(x_0)}}. \end{aligned}$$
(18)

Photons, coming from the far distance source, approach the black hole with some impact parameter and get deflected symmetrically to infinity, meanwhile reaching a minimum distance (\(x_0\)) near the black hole.

Fig. 3
figure 3

Variation of the effective potential \(V_{\text {eff}}\) as a function of radial coordinate x, for different values of q and u. The photons with critical impact parameter (\(u_{ps}\)) (black solid curve) make unstable circular orbits

It turns out that light ray exist in the region where \(V_{\text {eff}}(x) \leqslant 0\) (cf. Fig. 3). Further, one can define an unstable (or a stable circular orbit) satisfying \(V_{\text {eff}}(x)=V'_{\text {eff}}(x)=0\) and \(V''_{\text {eff}}(x_{ps}) < 0\) (or \(V''_{\text {eff}}(x_{ps}) > 0\)). Next, the first and second derivative of \(V_{\text {eff}}(x)\) are

$$\begin{aligned} \frac{V'_{\text {eff}}(x)}{{{\mathcal {E}}}^2}= & {} \frac{u^2}{x^4}\left[ 3+q-2x-3q\ln (x)\right] , \end{aligned}$$
(19)
$$\begin{aligned} \frac{V''_{\text {eff}}(x)}{{{\mathcal {E}}}^2}= & {} -\frac{u^2}{x^5}\left[ 12+7q-6x-12q\ln (x)\right] . \end{aligned}$$
(20)

For the hairy black hole in Horndeski gravity we find that \(V''_{\text {eff}}(x_{ps}) < 0\), which corresponds to the unstable photon circular orbits (cf. Fig. 3). These photon circular orbits are unstable [62] against small radial perturbations, which would finally drive photons into the black hole or toward spatial infinity.

The deflection angle becomes unboundedly large at \(x_0=x_{ps}\) and is finite only for \(x_0>x_{ps}\). The critical impact parameter \(u_{ps}\) is defined as

$$\begin{aligned} u_{ps}=\sqrt{\frac{C(x_{ps})}{A(x_{ps})}}, \end{aligned}$$
(21)

and depicted in Fig. 4. The photons with impact parameter \(u < u_{ps}\) fall into the black hole, while photons with impact parameter \(u > u_{ps}\), reaching the minimum distance \(x_0\) near the black hole, are scattered to infinity. The photons only with impact parameter exactly equal to the critical impact parameter \(u_{ps}\) revolve around the black hole in unstable circular orbits and generate a photon sphere of radius \(x_{ps}\).

The deflection angle for the spacetime (12) is given by [6, 16]

$$\begin{aligned} \alpha _D(x_0)=I(x_0)-\pi = 2\int ^{\infty }_{x_0}\frac{\sqrt{B(x)}dx}{\sqrt{C(x)} \sqrt{\frac{C(x)A(x_0)}{C(x_0)A(x)}-1}}-\pi , \end{aligned}$$
(22)

where \(x_0\) is the closest approach distance of the winding photon. Following Bozza [6, 16], we define a variable \(z=1-x_0/x\) and exploring the relation between the impact parameter u and closest approach distance \(x_0\) in Eq. (18), we find the deflection angle in strong field limit yields

$$\begin{aligned} \alpha _D(u)= & {} -{\bar{a}}\log {\bigg (\frac{u}{u_{ps}}-1\bigg )}\nonumber \\&+{\bar{b}} + \mathcal {O}(u-u_{ps}) \log (u-u_{ps}), \end{aligned}$$
(23)

where \(u \approx \theta D_{OL}\). The coefficients \({\bar{a}}\) and \({\bar{b}}\) for the case of hairy black hole in Horndeski gravity are given by

$$\begin{aligned} {\bar{a}}= & {} \frac{1}{\sqrt{1+\frac{3}{2}\frac{q}{x_{ps}}}},\nonumber \\ {\bar{b}}= & {} -\pi +b_R+{\bar{a}}\log \left[ {\frac{2p_2(x_{ps})}{A(x_{ps})}}\right] , \end{aligned}$$
(24)
$$\begin{aligned} b_R= & {} \int _{0}^{1} [R(z,x_{ps})f(z,x_{ps})\nonumber \\&-R(0,x_{ps})f_0(z,x_{ps})]dz, \end{aligned}$$
(25)
$$\begin{aligned} R(z,x_0)= & {} \frac{2x^2\sqrt{ABC_0}}{x_0C}=2,\nonumber \\ f(z,x_0)= & {} \frac{1}{\sqrt{A_0-A\frac{C_0}{C}}}, \end{aligned}$$
(26)
$$\begin{aligned} f_0(z,x_0)= & {} \frac{1}{\sqrt{p_1(x_0)z+p_2(x_0)z^2}}, \end{aligned}$$
(27)
$$\begin{aligned} p_1(x_0)= & {} \frac{3q\log {(x_0)}+2x_0-q-3}{x_0}, \end{aligned}$$
(28)
$$\begin{aligned} p_2(x_0)= & {} \frac{-6q\log {(x_0)}-2x_0+5q+6}{2x_0}. \end{aligned}$$
(29)
Fig. 4
figure 4

The behavior of the photon sphere radius \(x_{ps}\) (left) and the critical impact parameter \(u_{ps}\) (right) as a function of the hair parameter q. As \(q \rightarrow 0\), the values \(x_{ps} \rightarrow 1.5\) and \(u_{ps} \rightarrow 2.598\) correspond to the Schwarzschild black hole

Fig. 5
figure 5

The behavior of strong lensing coefficients \({\bar{a}}\) and \({\bar{b}}\) as a function of the hair parameter q. \({\bar{a}}=1\) and \({\bar{b}}=-0.4002\) at \(q=0\) correspond to the values Schwarzschild black hole

The deflection angle for the hairy black hole (12) is depicted in Fig. 6, which is monotonically decreasing and \(\alpha _D \rightarrow \infty \) as \(u \rightarrow u_{ps}\). When compared with the Schwarzschild black hole (cf. Fig. 6), the deflection angle for the hairy black hole increases with the increasing magnitude of q. A light ray whose u is close enough to \(u_{ps}\) can pass close to the photon sphere and go around the lens once, twice, thrice, or many times before reaching the observer. Thus strong gravitational field, in addition to the primary and secondary images, can give a large number (theoretically an infinite sequence) of images on both sides of the optic axis, which is the line joining the observer and the lens. The two infinite sets of relativistic images correspond to clockwise winding around the black hole and the other produced by counterclockwise winding. When \(x_0 \approx x_{ps}\), the coefficient \(p_1(x_0)\) vanishes and the leading term of the divergence in \(f_0(z,x_0)\) is \(z^{-1}\) [6], thus the integral diverges logarithmically. The coefficient \(b_R\) is evaluated numerically. The coefficient \({\bar{a}}\) decreases while \({\bar{b}}\) increases at first and then, reaching its maximum at \(q \approx -0.45\) (cf. Fig. 5), decreases. The coefficients \({\bar{a}}=1\) and \({\bar{b}}=-0.4002\) [6] correspond to the case of the Schwarzschild black hole (cf. Table 1).

The strong deflection limit is adopted for the (approximate) analytic calculations, in which the deflection angle is given by Eq. (23), with the coefficients \({\bar{a}}\) and \({\bar{b}}\) depending on the specific form of the metric (Fig. 6). The lens equation geometrically governs the connection between the lens observer and the light source. We assume that the source and observer are far from the black hole (lens) and they are perfectly aligned; the equation for small lensing angle reads [63]

$$\begin{aligned} \beta =\theta -\frac{D_{LS}}{D_{OS}}\Delta \alpha _{n}, \end{aligned}$$
(30)

where \(\Delta \alpha _{n}=\alpha -2n\pi \) is the offset of deflection angle looping over \(2n\pi \) and n is an integer. Here, \(\beta \) and \(\theta \) are the angular separations between the source and the black hole, and the image and the black hole respectively. \(D_{OL}\) and \(D_{OS}\) are, respectively, the distance between the observer and the lens and the distance between the observer and the source. Using the Eqs. (23) and  (30), the position of the n-th relativistic image can be approximated as [6]

$$\begin{aligned} \theta _n=\theta ^0_n+\frac{u_{ps}e_n(\beta -\theta ^0_n)D_{OS}}{{\bar{a}}D_{LS}D_{OL}}, \end{aligned}$$
(31)

where

$$\begin{aligned} e_n=\text {exp}\left( {\frac{{\bar{b}}-2n\pi }{{\bar{a}}}}\right) , \end{aligned}$$
(32)

\(\theta ^0_n\) are the image positions corresponding to \(\alpha =2n\pi \). As gravitational lensing conserves surface brightness, the magnification is the quotient of the solid angles subtended by the nth image, and the source [4, 6, 64]. The magnification of nth relativistic image is thus given by [6]

$$\begin{aligned} \mu _n=\left( \frac{\beta }{\theta } \; \;\frac{d\beta }{d\theta } \right) ^{-1}\Bigg |_{\theta _n ^0} = \frac{u^2_{ps}e_n(1+e_n)D_{OS}}{{\bar{a}}\beta D_{LS}D^2_{OL}}. \end{aligned}$$
(33)

The first relativistic image is the brightest one, and the magnifications decrease exponentially with n. The magnifications are proportional to 1/\(D_{OL}^2\), which is a very small factor and thus the relativistic images are very faint, unless \(\beta \) has values close to zero, i.e. nearly perfect alignment.

Table 1 Estimates for the strong lensing coefficients \({\bar{a}}\), \({\bar{b}}\) and the critical impact parameter \(u_{ps}/R_{s}\) for the hairy black hole in Horndeski gravity. The values at \(q=0\) corresponds to the Schwarzschild black hole. \({\bar{a}}\), \({\bar{a}}\) are dimensionless whereas \(u_m\) is in the units of Schwarzschild radius \(R_s=2GM/c^2\)
Fig. 6
figure 6

a (Left) The Variation of deflection angle as a function of impact parameter u for different values of the parameter q. Points on the horizontal axis represent the values of the impact parameter \(u=u_{ps}\) at which the deflection angle diverges. b (Right) Deflection angles evaluated at \(u=u_{ps}+0.001\) as function of the parameter q

Fig. 7
figure 7

The behavior of lensing observables \(\theta _{\infty }\) (left), s (right) as a function of hair parameter q in strong field limit by considering the supermassive black holes at the centres of nearby galaxies as hairy black holes in Horndeski gravity

Table 2 Estimates for the lensing observables of primary images for black holes in Horndeski gravity and compared with Schwarzschild black \((q=0)\) in GR considering the supermassive black holes Sgr A*, M87*, NGC 4649, and NGC 1332 as lens. The observable \(r_{mag}\) does not depend upon the mass or distance of the black hole from the observer

If \(\theta _{\infty }\) represents the asymptotic position of a set of images in the limit \(n\rightarrow \infty \), we consider that only the outermost image \(\theta _1\) is resolved as a single image and all the remaining ones are packed together at \(\theta _{\infty }\). Having obtained the deflection angle (23) and lens equation (30) we calculate three observables of relativistic images (cf. Table 2), angular position of the asymptotic relativistic images (\(\theta _{\infty }\)), angular separation between the outermost and asymptotic relativistic images (s) and relative magnification of the outermost relativistic image with other relativistic images (\(r_{\text {mag}}\)) [6, 65]

$$\begin{aligned} \theta _{\infty }&= \frac{u_{ps}}{D_{OL}}, \end{aligned}$$
(34)
$$\begin{aligned} s&= \theta _1-\theta _{\infty }=\theta _\infty ~\text {exp}\left( {\frac{{\bar{b}}}{{\bar{a}}}-\frac{2\pi }{{\bar{a}}}}\right) , \end{aligned}$$
(35)
$$\begin{aligned} r_{\text {mag}}&= \frac{5\pi }{{\bar{a}}~\text {log}(10)}. \end{aligned}$$
(36)

The strong deflection limit coefficients \({\bar{a}}\), \({\bar{b}}\) and the critical impact parameter \(u_{ps}\) can be obtained after measuring s, \(r_{\text {mag}}\) and \(\theta _{\infty }\). Then, comparing their values with those predicted by the theoretical models, we can identify the nature of the hairy black holes (lens).

Table 3 Estimation of time delay for supermassive black holes at the center of nearby galaxies in the case Schwarzschild and hairy black holes in Horndeski gravity \((q=-0.5)\). Mass (M) and distance (\(D_{OL}\)) are given in the units of solar mass and Mpc, respectively. Time Delays are expressed in minutes
Table 4 Image positions of first and second order primary and secondary images due to lensing by Sgr A* with \(d=D_{LS}/D_{OS}=0.5\): GR and Horndeski Gravity \((q=-0.5)\) predictions for angular positions \(\theta \) of primary (p) and secondary images (s) are given for different values of angular source position \(\beta \). (a) All values of \(\theta \) are in \(\mu \)as. (b) We have used \(M_{\text {Sgr A*}}= 4.3\times 10^6 \, \mathrm{M_\odot }\), \(D_{OL}= 8.3 \times 10^{6} \, \mathrm{pc}\)
Table 5 Image positions of first and second order primary and secondary images due to lensing by M87* with \(d=D_{LS}/D_{OS}=0.5\): GR and Horndeski Gravity \((q=-0.5)\) predictions for angular positions \(\theta \) of primary (p) and secondary images (s) are given for different values of angular source position \(\beta \). (a) All values of \(\theta \) are in \(\mu \)as. (b) We have used \(M_{\text {M87*}}= 6.5 \times 10^9 \, M_\odot \)\(D_{OL}= 16.8 \times 10^6 \, \mathrm{pc}\)

4 Time delay in strong field limit

The time difference is caused by the photon taking different paths while winding the black hole, so there is a time delay between different images, which generally depends upon which side of the lens, the images are formed. If we can distinguish the time signals of the first image and other packed images, we can calculate the time delay of two signals [66]. The time spent by the photon winding the black is given by [66]

$$\begin{aligned} {\tilde{T}}(u) = {\tilde{a}} \log \left( \frac{u}{u_{ps}} -1\right) + {\tilde{b}} +\mathcal {O}(u-u_{ps}). \end{aligned}$$
(37)

The images are highly demagnified, and the separation between the images is of the order of \(\mu \)as, so we must at least distinguish the outermost relativistic image from the rest, and we assume the source to be variable, which generally are abundant in all galaxies, otherwise, there is no time delay to measure. The time delay when two images are on the same side is [66]

$$\begin{aligned} \Delta T^s_{n,m}&= 2\pi (n-m)\frac{{\tilde{a}}}{{\bar{a}}} + 2 \sqrt{\frac{ B(x_{ps})u_{ps}}{A(x_{ps})c}}\nonumber \\&\quad \times \left[ \text {exp}\left( {\frac{{\bar{b}}-2 m \pi \pm \beta }{2{\bar{a}}}}\right) -\text {exp}\left( {\frac{{\bar{b}}-2 n \pi \pm \beta }{2{\bar{a}}}}\right) \right] . \end{aligned}$$
(38)

The upper sign before \(\beta \) signifies that both the images are on the same side of the source and the lower sign if the images are on the other side. When the images are on the opposite sides of lens, the time dilation between \(m{\text {th}}\) and \(n{\text {th}}\) relativistic image is give

$$\begin{aligned} \Delta T^o_{n,m}&= [2\pi (n-m)-2\beta ]\frac{{\tilde{a}}}{{\bar{a}}} + 2 \sqrt{\frac{ B(x_{ps})u_{ps}}{A(x_{ps})c}}\nonumber \\&\quad \times \left[ \text {exp}\left( {\frac{{\bar{b}}-2 m \pi + \beta }{2{\bar{a}}}}\right) -\text {exp}\left( {\frac{{\bar{b}}-2 n \pi + \beta }{2{\bar{a}}}}\right) \right] . \end{aligned}$$
(39)

The contribution of second term in Eqs. (38) and (39) is very small. For spherically symmetric black holes, the time delay between the first and second relativistic image is given by

$$\begin{aligned} \Delta T^s_{2,1} = 2\pi u_{ps} = 2\pi D_{OL} \theta _{\infty }. \end{aligned}$$
(40)

Using Eq. (40), if we can measure the time delay with an accuracy of \( 5\% \) and critical impact parameter with negligible error, we can get the distance of the black hole with an accuracy of \(5\%\). In Table 3, we compare the values of time delay between the first and second relativistic image considering the black hole at the center of several nearby galaxies to be Schwarzschild black hole and hairy black hole in Horndeski gravity at \(q = -0.5\).

Table 6 Magnifications of first order and second order relativistic images due to lensing by Sgr A* with \(d=D_{LS}/D_{OS}=0.5\): GR and Horndeski Gravity \((q=-0.5)\) predictions for magnifications \(\mu _n\) is given for different values of angular source position \(\beta \). (a) 1p and 1s refer to first order relativistic images on the same side as primary and secondary images, respectively. (b) We have used \(M_{\text {Sgr A*}}= 4.3\times 10^6 \, \mathrm{m}\), \(D_{OL}= 8.3 \times 10^{6} \, \mathrm{pc}\) (c) Angular positions of first order relativistic images in GR and Horndeski Gravity are, respectively, \(\theta _{1p,\mathrm{GR}}\approx -\theta _{1s,\mathrm{GR}}\approx 26.3628 \mu as\) and \(\theta _{1p,\mathrm{HG}}\approx -\theta _{1s,\mathrm{HG}}\approx 34.244 \mu as\) and are highly insensitive to the angular source position \(\beta \)
Table 7 Magnifications of first and second order relativistic images due to lensing by M87* with \(d=D_{LS}/D_{OS}=0.5\): GR and Horndeski Gravity \((q=-0.5)\) predictions for magnifications \(\mu _n\) is given for different values of angular source position \(\beta \). (a) 1p and 1s refer to first order relativistic images on the same side as primary and secondary images, respectively. (b) We have used \(M_{\text {M87*}}= 6.5 \times 10^9 \, \mathrm{m}\), \(D_{OL}= 16.8 \times 10^6 \, \mathrm{pc}\). (c) Angular positions of first order relativistic images in GR and Horndeski Gravity are, respectively, \(\theta _{1p,\mathrm{GR}}\approx -\theta _{1s,\mathrm{GR}}\approx 19.8068 \mu as\) and \(\theta _{1p,\mathrm{HG}}\approx -\theta _{1s,\mathrm{HG}}\approx 25.7284 \mu as\) and are highly insensitive to the angular source position \(\beta \)

5 Gravitational lensing parameters for supermassive black holes

The EHT collaboration has revealed the first direct image of the black hole M87*, which is as per the shadow of a Kerr black hole of general relativity, i.e., it may not be as per a nonrotating black hole [28]. The inferred size of the shadow of M87* and the inferred circularity deviation \(\Delta C \le 10 \%\) for the M87* black hole agree with the prediction based on a Kerr black hole. However, this deviation from the circularity of the shadow happens when the black hole is rapidly rotating spin \(a \approx 1\), i.e., the shadow cast by rotating black holes is more or less circular when a takes a smaller value [67,68,69]. As shown in Ref. [70], the constraints on the a in the modified theories of gravity shadow are only slightly changing when the nonrotating hairy metrics are used. One can also use the EHT observation results to test these nonrotating hairy black holes. Hence, we model the supermassive black holes in the nearby galaxies especially Sgr A*, M87*, NGC4649 and NGC1332 as the hairy black hole to estimate and compare the observables with those of Schwarzschild black hole of GR.

Using Eq. (30), we compute the angular positions for first and second order relativistic primary and secondary images; the images on the same and opposite sides of the source respectively, taking \(d=D_{LS}/D_{OS}=0.5\), for Sgr A* and M87* black holes. First (Second) order relativistic images are produced after the light winds, once (twice) around the black hole before reaching the observer. From the results in Tables 4 and 5 it shows that in the Horndeski gravity the angular positions of images are larger than their corresponding values in GR and are very insensitive to the position of the source \(\beta \). The angular positions \(\theta _{1p} > |\theta _{1s}|\) for higher values of \(\beta \), however, for small values of \(\beta \) the values are extremely close. The same is true for any pair of second or higher order relativistic images. In Horndeski gravity the first and second order primary images are about 7.8 and 7.6 \(\mu \)as larger than their corresponding values in GR at \(q=-0.5\), an effect too tiny to be observed with today’s telescopes, especially since these relativistic images are highly demagnified. However the deviation becomes significant at higher magnitude of q and the next generation telescope (ngEHT) which renders these observables, the deviations could be used to test Horndeski gravity.

Fig. 8
figure 8

The behavior of strong lensing observable \(r_{mag}\) as function of the parameter q. It is independent of the black holes mass or its distance from the observer

Fig. 9
figure 9

The behaviour of lensing Observables \(\theta _{\infty }\), s for quartic Horndeski black holes (QH), charged Horndeski black holes (CH), Horndeski black holes (NH) and charged Galilleon black holes (CG) with q by modelling them as Sgr A* black hole (left) and M87* black hole (right). The parameter q is \(q_e\), \(\gamma \) and \(\Gamma \) for charged Horndeski black holes, Horndeski black holes and charged Galilleon black holes, respectively

The characteristic observables which include position of the innermost image \(\theta _{\infty }\) and the separation s, are depicted in Fig. 7 and tabulated in Table 2. Considering the Sgr A* and M87* as the lens we find that these observables vary rapidly with parameter q; with \(\theta _{\infty }\) ranging in between 26.33 and 51.52 \(\mu \)as for Sgr A* and 19.78 and 38.71 \(\mu \)as for M87* and the latter are consistent with the EHT measured diameters of M87* shadow \(42\pm 3~\mu \text {as}\). The deviation from their GR counterpart are quite significant and can reach as much as 25.1912 \(\mu \)as for Sgr A* and 18.92\(\mu \)as for M87*. Further, the separation s due to hairy black holes for Sgr A* and M87* range between 0.0329 and 1.15426 \(\mu \)as and 0.024 and 0.867 \(\mu \)as, respectively. We also obtain these results for NGC 4649 and NGC 1332 and found that the deviation is also of the order of \(\mathcal {O}(\mu )\)as. As the deviation of position of the images are quite significant at higher magnitude of q and these images could be resolved, it is possible to measure the brightness difference. The relative magnification of the first and second order images of Tables 4 and 5 are tabulated in Tables 6 and 7 using Eq. (33) for black holes in GR and Horndeski gravity at \((q=-0.5)\). The first order images in Horndeski gravity are highly magnified than the second order images as well the corresponding images in GR. However, the ratio of the flux of the first image to the all other images rapidly decreases with decreasing q implying that the Schwarzschild images are brighter than the hairy black holes in Horndeski gravity (cf. Fig. 8). We have also depicted the differences between the quartic Horndeski black holes (12) from those of charged Horndeski black holes [60], Horndeski black holes [51] and charged Galileon black holes [59] in Fig. 9 for Sgr A* and M87* (see also, Table 8). We have measured all the distances in terms of Schwarzschild radius and used, respectively, \(q_e^2=Q/(4M^2)\), \(\gamma ^2=\tilde{\gamma }/(4M^2)\) and \(\Gamma ^2=\tilde{\Gamma }/(4M^2)\) for charged Horndeski black holes, Horndeski black holes, charged Galileon black holes. The charged Galileon black holes are indistinguishable from the charged Horndeski black holes, for most of the values of q (cf. Fig. 9). In general, these three black holes, are potentially different from those of quartic Horndeski black holes. For a given negative value of q, the quartic Horndeski black hole possesses the largest values of \(\theta _{\infty }\) and s. Contrary to these observables, the brightness difference \(r_{mag}\) is smallest for the quartic Horndeski black hole (cf. Fig. 10). The observables of quartic Horndeski black holes deviate from the three black holes (cf. Figs. 910), but the absolute deviation is of \(\mathcal {O} (\mu \)as) when \(-0.4<q<0\) (cf. Table 9). For large q, the deviation of \(\theta _{\infty }\) could be more than 10\(\mu \)as but this value of q is not allowed by EHT observation of M87*. Finally, we use fourteen supermassive black holes, which considerably differ from Sgr A* and M87*, to calculate the time delays between the first and second-order relativistic primary images \(\Delta T^s_{2,1}\) in Table 3. For Sgr A* and M87*, the time delay can reach \(\sim 14.82\) min and \(\sim 21201.2\) min at \(q=-0.5\) and hence deviate from their corresponding black hole in GR by \(\sim 3.32\) min and \(\sim 4758.1\) min. Although these deviations are insignificant for Sgr A* but for M87* and other black holes, these are sufficient values to test and compare the Horndeski gravity from GR.

Fig. 10
figure 10

The behavior of strong lensing observable \(r_{mag}\) for quartic Horndeski black holes (QH), charged Horndeski black holes (CH), Horndeski black holes (NH) and charged Galilleon black holes (CG). The parameter q is \(q_e\), \(\gamma \) and \(\Gamma \) for charged Horndeski black holes, Horndeski black holes and charged Galilleon black holes, respectively

Table 8 The lensing Observables \(\theta _{\infty }\), s, \(r_{\text {mag}}\), lensing coefficients \({\bar{a}}\), \({\bar{b}}\) and critical impact parameter \(u_m\) for QH, CH, NH and CG by modelling them as Sgr A* and M87* black holes. \(r_{mag}\), \({\bar{a}}\), \({\bar{b}}\) are dimensionless whereas \(u_m\) is in the units of Schwarzschild radius \(R_s=2GM/c^2\)
Table 9 The lensing observables \(\theta _{\infty }\), s and \(r_{\text {mag}}\) for QH, CH, NH and CG at \(q=-0.139322\) and Schwarzschild black hole (SC) by modelling them as Sgr A* and M87*. The deviation of these black holes (BHs) from quartic Horndeski black hole at \(q=-0.139322\) have also been calculated where \(\delta (\langle \text {BH} \rangle )=X_{\text {QH}} - X_{\langle \text {BH} \rangle }\) with \(\langle \text {BH} \rangle \) = SC, CH, NH, CG

5.1 Constraint on the parameter q from EHT observations of M87*

The EHT observation unveiled event-horizon-scale images of the supermassive black hole M87* as an asymmetric bright emission ring with a size of a diameter of \( 42 \pm 3\; \mu \)as, and it is consistent with the shadow of a Kerr black hole of general relativity. The EHT data indicated a mass for the M87* black hole of \((6.5 \pm 0.7) \times 10^9 M_\odot \). It offers a new and powerful gravitational test of the black-hole metric in the strong-field regime [70].

The spacetimes that deviate from the Kerr metric can lead to significant deviations in the predicted black-hole shadows inconsistent with even the current EHT measurements. The shadow-size measurements place significant constraints on deviation parameters that control each black hole metric [70,71,72,73]. The EHT observation disfavors a nonrotating black hole M87*, and the inferred size of the shadow of M87* is indeed consistent with the prediction based on a Kerr black hole. However, the size of the black-hole shadow both in the Kerr metric and in other parametric extensions depends very weakly on the black-hole spin [67, 70]. It turns out that the constraints on the parameters in the modified theories of gravity deduced EHT observations do have slight change for the nonrotating metrics [70]. Thereby, the EHT observation can also be adopted to test these hairy black holes in the Horedenski theory appropriately. The observables in the strong deflection gravitational lensing contain the apparent radius of the photon sphere (the angular size of the shadow) \(\theta _{\infty }\). Taking M87* as the lens with EHT observation, we find its observable \(\theta _{\infty }\) for the hairy black holes in the Horndeski theory and find that the angular radius of the shadows \(\theta _{\infty }\) range from 19.86271 \(\mu \text {as}< \theta _{\infty }< 25.5064 ~\mu \)as only when \(-0.5< q < 0.0\). Indeed, we find that 39\(~\mu \text {as}< 2 \theta _{\infty }< 45~\mu \)as only when \(-0.281979< q < 0.0\), i.e., the measured diameter \( 42 \pm 3\; \mu \)as of the M87* shadow by EHT constraint the parameter q, and for \(q=-0.139322\), we find that \(2\theta _{\infty }=42~\mu \)as. Thus, requiring that the shadow size is consistent to within \(1 \sigma \) bound, the 2017 EHT observation for M87* places a bound on the deviation parameter q.

6 Conclusion

One of the most renowned scalar–tensor theories is Horndeski gravity, in which scalar fields constitute additional degrees of freedom and is the most general four-dimensional scalar–tensor theory with equations of motion containing second-order derivatives of the dynamical fields. We have investigated gravitational lensing effects of spherically symmetric hairy black holes in Horndeski gravity having additional parameter q and also consider the predictions of Horndeski gravity for lensing effects by supermassive black holes Sgr A*, M87* and 21 others in comparison with GR. We examined the effect of the parameter q on the light deflection angle \(\alpha _{D}\), strong lensing coefficients \({\bar{a}}\), \({\bar{b}}\) and lensing observables \(\theta _{\infty }\), s, \(r_{\text {mag}}\), \(u_{ps}\) and time delay \(\Delta T^s_{2,1}\) in the strong-field regime, due to the hairy black hole in Horndeski gravity and compared them to the Schwarzschild (\(q=0\)) black hole of GR. We found that \({\bar{a}}\) and \(u_{ps}\) increase monotonically with increasing magnitude of q while \({\bar{b}}\) first increases, reaching its maximum at \(q \approx -0.45\), and then decreases. The numerical values, in our selected range of q, are positive for \({\bar{a}}\) while negative for \({\bar{b}}\). We found that deflection angle \(\alpha _D\), for fixed impact parameter u, is greater for the hairy black hole in Horndeski gravity when compared to the Schwarzschild black hole and increases with the increasing magnitude of q. Also, the photon sphere radius \(x_{ps}\) increases with decreasing q, making bigger photon spheres in the hairy black hole in Horndeski gravity when compared to the Schwarzschild black holes of GR.

We calculated lensing observables \(\theta _{\infty } \), s and \(r_{\text {mag}}\) of the relativistic images for supermassive black holes, namely, Sgr A*, M87*, NGC 4649 and NGC 1332 by considering the spacetime to be described by the hairy black hole in Horndeski gravity. In its predictions for gravitational lensing due to supermassive black holes, Horndeski gravity exhibits potentially observable departures from GR. The presence of parameter q rapidly increases \(\theta _{\infty } \) and s when compared to the Schwarzschild (\(q=0\)) black hole. We observe that \(\theta _{\infty }\) ranges between 26.33 and 51.52 \(\mu \)as for Sgr A* and its deviation from its GR counterpart can reach as much as 25.1912 \(\mu \)as while as for M87* it ranges between 19.78 and 38.71 \(\mu \)as and deviation is as high as 18.92\(\mu \)as. On the other hand the seperation s due to hairy black holes for Sgr A* and M87* range between 0.0329 and 1.15426 \(\mu \)as and 0.024 and 0.867 \(\mu \)as, respectively. In the limit, \(q \rightarrow 0\), our results reduce exactly to the Schwarzschild black hole results. The angular positions of images though are very insensitive to the position of the source \(\beta \) with \(\theta _{1p} > |\theta _{1s}|\) at higher values. \(\theta _{1p}\) and \(\theta _{2p}\), which are the angular positions of first and second order primary images are 7.8 \(\mu \)as and 7.6 \(\mu \)as larger than their corresponding values in GR at \(q=-0.5\). The first order images in Horndeski gravity are highly magnified than the corresponding images in GR. However, \(r_{\text {mag}}\) rapidly decreases with q suggesting that the Schwarzschild images are brighter than the hairy black holes in Horndeski gravity. Finally, the time delay of the first and second order images for hairy black holes in Horndeski gravity is significantly larger (e.g. \(\sim 4758.1\) min for M87* ) than the GR counterparts for astronomical measurements, provided we have enough angular resolution separating two relativistic images, except for Sgr A* for which the deviation is \(\sim 3.32\) min; an effect too tiny to be detected by EHT.

We have also investigated strong deflection gravitational lensings by the Horndeski black holes and compared observable signatures with those of the neutral Horndeski, Galileon and charged Horndeski black holes via observation of the supermassive black holes M87* and SgrA*. It may provide hints for distinguishing these black holes and that it is possible to detect some effects of the strong deflection lensing by the hairy Horndeski black holes and other black holes with the EHT observations, but it is unconvincing to discern these black holes as deviations are too small, i.e., \(\mathcal {O}(\mu \)as).

Many interesting avenues are amenable for future work from the hairy black holes in Horndeski gravity; most importantly is to consider the rotating black holes as there is observational evidence that black holes rotate. Our results will certainly be different in this case, and likely substantively for near-extremal solutions. Also, it will be interesting to analyze the relationship between the null geodesics and thermodynamic phase transition in AdS background in the context photon sphere. Further, gravitational lensing in the strong field may open fascinating perspectives for testing modified theories of gravity and estimating the parameters associated with the supermassive black holes.