1 Introduction

The observations concerning the accelerated expansion of the Universe, the rotation curves of galaxies, and the anisotropy of the microwave background radiation can be explained within General Relativity by the presence of dark matter (\(\sim \) 25%) and dark energy (\(\sim \) 70%), besides the ordinary barionic matter (\(\sim \) 5%). In the concordance or \(\Lambda \)CDM model, the dark energy contribution comes in the form of a cosmological constant \(\Lambda \) and the cold dark matter in the form of non-relativistic fluid, supplemented by an inflationary scenario driven by a scalar field called the inflaton. Although successful, this model is not free of difficulties, such as the extremely small observed value of \(\Lambda \) compared to the expected one if thought as originated from a vacuum energy in particle physics, or the unclear nature of dark matter (although several candidates exist). Other approaches can be adopted, such as modified gravity theories, in order to try to avoid these problems and explain the observed features of the Universe without dark matter and dark energy. Quantum gravity also provides motivation for modified gravity. One well known theory is F(R) gravity [1,2,3,4] in which the Einstein–Hilbert Lagrangian is replaced by a function F(R) of the Ricci scalar R. In recent years, several solutions of the field equations in F(R) gravity have been found, including static and spherically symmetric black holes [1, 5,6,7,8,9,10,11,12,13], traversable wormholes [14,15,16], and branes [17].

The Darmois–Israel junction conditions [18, 19] provide the tools for matching two solutions across a hypersurface in General Relativity. These conditions allow for the study of thin shells of matter, by relating the energy–momentum tensor at the joining hypersurface with the space-times at both sides of it. The formalism has been broadly adopted in many different scenarios due to its flexibility and simplicity; among them it is used to model vacuum bubbles and thin layers around black holes [20,21,22,23,24,25,26,27,28], gravastars [29,30,31,32], and wormholes [33,34,35,36,37,38,39,40,41,42]. In the case of highly symmetric configurations, the stability analysis is usually easy to perform, at least for perturbations preserving the symmetry.

The junction conditions in F(R) theories [43, 44] are more restrictive than in General Relativity. For non-linear F(R), the trace of the second fundamental form should always be continuous at the matching hypersurface [44]. Except in the quadratic case, the curvature scalar R should also be continuous there [44]. In quadratic F(R) gravity, the hypersurface has in general, in addition to the standard energy–momentum tensor, an external energy flux vector, an external scalar pressure (or tension), and another energy–momentum contribution resembling classical dipole distributions. All these contributions have to be present [44,45,46] in order to have a divergence-free energy–momentum tensor, which guarantees local conservation. It was recently shown that these features are shared by any theory with a quadratic lagrangian [47]. The junction conditions in F(R) were recently applied to the construction of thin-shell wormholes [48,49,50,51] and bubbles [52, 53]. A particularly interesting example of a pure double layer in quadratic F(R) was found [52].

In this work, we construct spherical thin shells surrounding non-charged black holes by using the junction conditions in F(R) gravity and we analyze the stability of the static configurations under perturbations that preserve the symmetry. In Sect. 2, we review the general formalism for spherical geometries with constant curvature scalars at both sides of the shell. In Sect. 3, we perform the construction and we study the stability of charged thin shells outside the black hole event horizon. Finally, in Sect. 4, we present the conclusions of the paper. We adopt a system of units in which \(c=G=1\), with c the speed of light and G the gravitational constant.

2 Spherical thin shells: construction and stability

We begin by reviewing the formalism for spherical thin shells in four dimensional F(R) gravity introduced in Ref. [53]. We consider a manifold composed of two regions with a constant curvature scalar in each, separated by a thin shell of matter. For this purpose, we take two different spherically symmetric solutions in F(R) gravity, with metrics

$$\begin{aligned} ds^2= & {} -A_{1,2} (r_{1,2}) dt_{1,2}^2+A_{1,2} (r_{1,2})^{-1} dr_{1,2}^2\nonumber \\&+\, r_{1,2}^2(d\theta ^2 + \sin ^2\theta d\varphi ^2), \end{aligned}$$
(1)

where \(r_{1,2}>0\) are the radial coordinates corresponding to each geometry, and \(0\le \theta \le \pi \) and \(0\le \varphi <2\pi \) are the angular coordinates. We proceed with the construction of a new manifold by selecting a radius \(a \equiv a_1=a_2\) and cutting two regions \({\mathcal {M}}_1\) and \({\mathcal {M}}_2\) defined as the inner \(0\le r_1 \le a\) and the outer \(r_2\ge a\) parts of the geometries 1 and 2, respectively. These regions are pasted to one another at the surface \(\Sigma \) with radius a. This construction results in the spacetime \({\mathcal {M}}={\mathcal {M}}_1 \cup {\mathcal {M}}_2\), with the inner zone corresponding to \({\mathcal {M}}_1\) and the exterior one to \({\mathcal {M}}_2\). The angular coordinates have been naturally identified everywhere from the beginning. We define a new global radial coordinate \(r\in [0,+\infty )\) by identifying r with \(r_1\) in \({\mathcal {M}}_1\) and with \(r_2\) in \({\mathcal {M}}_2\), respectively. Then, the global coordinates are \(X^{\alpha }_{1,2} = (t_{1,2},r,\theta , \varphi )\), while on the surface \(\Sigma \), corresponding to \(G(r)\equiv r-a =0\), we adopt the coordinates \(\xi ^{i}=(\tau ,\theta ,\varphi )\), with \(\tau \) the proper time. In what follows, we take the radius of the surface \(\Sigma \) as a function \(a(\tau )\) of the proper time. The equality of the proper time at the sides of the shell requires that

$$\begin{aligned} \frac{dt_{1,2}}{d\tau } = \frac{\sqrt{A_{1,2}(a) + {\dot{a}} ^2}}{A_{1,2}(a)} , \end{aligned}$$

in which the free signs were fixed by choosing all times \(t_{1,2}\) and \(\tau \) to run to the future, and \({\dot{a}}\) is the proper time derivative of a. We denote the first fundamental form by \(h_{\mu \nu }\), the second fundamental form (or extrinsic curvature) by \(K_{\mu \nu }\), and the unit normals at the surface \(\Sigma \) by \(n^{1,2}_\gamma \) (pointing from \({\mathcal {M}}_1\) to \({\mathcal {M}}_2\)). The first fundamental form associated with the two sides of the shell is given by

$$\begin{aligned} h^{1,2}_{ij}= \left. g^{1,2}_{\mu \nu }\frac{\partial X^{\mu }_{1,2}}{\partial \xi ^{i}}\frac{\partial X^{\nu }_{1,2}}{\partial \xi ^{j}}\right| _{\Sigma }, \end{aligned}$$
(2)

and the second fundamental form has components

$$\begin{aligned} K_{ij}^{1,2 }=-n_{\gamma }^{1,2 }\left. \left( \frac{\partial ^{2}X^{\gamma }_{1,2} }{\partial \xi ^{i}\partial \xi ^{j}}+\Gamma _{\alpha \beta }^{\gamma } \frac{ \partial X^{\alpha }_{1,2}}{\partial \xi ^{i}}\frac{\partial X^{\beta }_{1,2}}{ \partial \xi ^{j}}\right) \right| _{\Sigma }, \end{aligned}$$
(3)

with the unit normals (\(n^{\gamma }n_{\gamma }=1\)) determined by

$$\begin{aligned} n_{\gamma }^{1,2 }=\left\{ \left. \left| g^{\alpha \beta }_{1,2}\frac{\partial G}{\partial X^{\alpha }_{1,2}}\frac{\partial G}{\partial X^{\beta }_{1,2}}\right| ^{-1/2} \frac{\partial G}{\partial X^{\gamma }_{1,2}} \right\} \right| _{\Sigma }. \end{aligned}$$
(4)

We adopt at the surface \(\Sigma \) the orthonormal basis \(\{ e_{\hat{\tau }}=e_{\tau }, e_{\hat{\theta }}=a^{-1}e_{\theta }, e_{\hat{\varphi }}=(a\sin \theta )^{-1} e_{\varphi }\} \). Then, for the geometry given by (1), the first fundamental form results \(h^{1,2}_{\hat{\imath }\hat{\jmath }}= \mathrm {diag}(-1,1,1)\), the unit normals read

$$\begin{aligned} n_{\gamma }^{1,2}= \left( -{\dot{a}},\frac{\sqrt{A_{1,2}(a)+{\dot{a}}^2}}{A_{1,2}(a)},0,0 \right) , \end{aligned}$$
(5)

and the second fundamental form non-null components are

$$\begin{aligned} K_{\hat{\theta }\hat{\theta }}^{1,2}=K_{\hat{\varphi }\hat{\varphi }}^{1,2 }=\frac{1}{a}\sqrt{A_{1,2} (a) +{\dot{a}}^2} \end{aligned}$$
(6)

and

$$\begin{aligned} K_{\hat{\tau }\hat{\tau }}^{1,2 }=-\frac{A '_{1,2}(a)+2\ddot{a}}{2\sqrt{A_{1,2}(a)+{\dot{a}}^2}}, \end{aligned}$$
(7)

where the prime on \(A_{1,2}(r)\) represents the derivative with respect to r.

From now on, we denote with a prime on F(R) the derivative with respect to the curvature scalar R and the jump of any quantity \(\Upsilon \) across \(\Sigma \) by \([\Upsilon ]\equiv (\Upsilon ^{2}-\Upsilon ^{1})|_\Sigma \). The junction formalism in F(R) gravity theories provides the conditions that should be fulfilled at \(\Sigma \). One of them is the continuity of the first fundamental form i.e. \([h_{\mu \nu }]=0\). It is straightforward to verify that this condition is satisfied by our construction. Another one is the continuity of the trace of the second fundamental form, i.e. \([K^{\mu }_{\;\; \mu }]=0\), which by using Eqs. (6) and (7), takes the form

$$\begin{aligned}&-\frac{2a\ddot{a}+a A_{1}'(a) + 4(A_{1}(a)+{\dot{a}}^2)}{\sqrt{A_{1}(a)+{\dot{a}}^2}}\nonumber \\&\quad +\frac{2a\ddot{a}+a A_{2}'(a) + 4(A_{2}(a)+{\dot{a}}^2)}{\sqrt{A_{2}(a)+{\dot{a}}^2}}=0. \end{aligned}$$
(8)

When \(F'''(R) \ne 0\) the continuity of R across the \(\Sigma \) is also required i.e. \([R]=0\). The field equations at \(\Sigma \) read [44]

$$\begin{aligned} \kappa S_{\mu \nu }= & {} -F'(R)[K_{\mu \nu }]+ F''(R)[\eta ^\gamma \nabla _\gamma R] h_{\mu \nu },\nonumber \\ n^{\mu }S_{\mu \nu }= & {} 0, \end{aligned}$$
(9)

with \(\kappa =8\pi \) and \(S_{\mu \nu }\) the energy–momentum tensor at the shell. If \(F'''(R) = 0\) (quadratic case), the curvature scalar can be discontinuous at \(\Sigma \), and the field equations adopt the form [44]

$$\begin{aligned} \kappa S_{\mu \nu }= & {} -[K_{\mu \nu }]+2\alpha \left( [n^{\gamma }\nabla _{\gamma }R] h_{\mu \nu }-[RK_{\mu \nu }] \right) , \nonumber \\ n^{\mu }S_{\mu \nu }= & {} 0; \end{aligned}$$
(10)

supplemented by three other contributions: an external energy flux vector

$$\begin{aligned} \kappa {\mathcal {T}}_\mu =-2\alpha {\bar{\nabla }}_\mu [R], \quad n^{\mu }{\mathcal {T}}_\mu =0, \end{aligned}$$
(11)

with \({\bar{\nabla }}\) the intrinsic covariant derivative on \(\Sigma \), an external scalar pressure or tension

$$\begin{aligned} \kappa {\mathcal {T}}=2\alpha [R] K^\gamma {}_\gamma , \end{aligned}$$
(12)

and a two-covariant symmetric tensor distribution

$$\begin{aligned} \kappa {\mathcal {T}}_{\mu \nu }=\nabla _{\gamma } \left( 2\alpha [R] h_{\mu \nu } n^{\gamma } \delta ^{\Sigma }\right) , \end{aligned}$$
(13)

with \(\delta ^{\Sigma }\) the Dirac delta on \(\Sigma \). This last expression admits an equivalent form

$$\begin{aligned} \kappa \left<{\mathcal {T}}_{\mu \nu },\Psi ^{\mu \nu } \right> = -\int _\Sigma 2\alpha [R] h_{\mu \nu } n^\gamma \nabla _\gamma \Psi ^{\mu \nu }, \end{aligned}$$
(14)

for any test tensor field \(\Psi ^{\mu \nu }\). In quadratic F(R), the shell has, in addition to the standard energy–momentum tensor \(S_{\mu \nu }\), an external energy flux vector \({\mathcal {T}} _{\mu }\), an external scalar tension/pressure \({\mathcal {T}} \), and a double layer tensor distribution \({\mathcal {T}}_{\mu \nu }\) of Dirac “delta prime” type, having a resemblance with classical dipole distributions. All these contributions are necessary in order to ensure the energy–momentum tensor to be divergence-free, a condition that is required for conservation locally [44].

2.1 The same constant curvature scalar \(R_0\)

We firstly study the case with a constant curvature scalar \(R_0\) at both sides of \(\Sigma \). Then, the condition \([R]=0\) is automatically fulfilled when required, and Eqs. (9) and (10) both simplify to give

$$\begin{aligned} \kappa S_{\mu \nu }=-F'(R_0)[K_{\mu \nu }]. \end{aligned}$$
(15)

In quadratic F(R) the contributions \({\mathcal {T}} \), \({\mathcal {T}} _{\mu }\) and \({\mathcal {T}}_{\mu \nu }\) are all zero due to their proportionality to [R]. The energy–momentum tensor in the orthonormal basis takes the form \(S_{_{\hat{\imath }\hat{\jmath } }}=\mathrm{diag}(\sigma ,p_{\hat{\theta }},p_{\hat{\varphi }})\), with \(\sigma \) the surface energy density and \(p_{\hat{\theta }}=p_{\hat{\varphi }}=p\) the transverse pressures, so from Eq. (15) we find that

$$\begin{aligned} \sigma = \frac{F'(R_0)}{2\kappa }\left( \frac{2\ddot{a}+A_{2}'(a)}{\sqrt{A_{2}(a)+{\dot{a}}^2}}-\frac{2\ddot{a}+A_{1}'(a)}{\sqrt{A_{1}(a)+{\dot{a}}^2}}\right) \end{aligned}$$
(16)

and

$$\begin{aligned} p=\frac{- F'(R_0)}{\kappa a}\left( \sqrt{A_{2}(a)+{\dot{a}}^2}-\sqrt{A_{1}(a)+{\dot{a}}^2}\right) . \end{aligned}$$
(17)

In F(R) gravity, the inequality \(F'(R)>0\) implies that the effective Newton constant \(G_{eff} = G/F'(R) = 1/F'(R)\) is positive [8], so preventing, from a quantum point of view, the graviton to be a ghost. An interesting discussion about this issue, within a wormhole scenario, is presented in Ref. [54]. We assume the absence of ghosts, so we demand that \(F'(R_0)>0\) from now on. Normal matter satisfies the weak energy condition, which in the orthonormal frame requires that \(\sigma \ge 0\) and \(\sigma + p \ge 0\); if it does not, the matter is exotic. From Eqs. (8), (16), and (17) we obtain the equation of state

$$\begin{aligned} \sigma -2p=0. \end{aligned}$$
(18)

By taking the time derivative of the equation of state and using Eqs. (16) and (17), we obtain the conservation equation

$$\begin{aligned} \frac{d(\sigma {\mathcal {A}})}{d\tau }+p\frac{d {\mathcal {A}}}{d\tau }=0, \end{aligned}$$
(19)

where \({\mathcal {A}}=4\pi a^2\) is the area of the shell. The first term in this equation represents the internal energy change while the second one is the work done by the internal forces at the shell.

For static configurations with a constant radius \(a_0\), Eq. (8) reduces to

$$\begin{aligned} -\frac{a_0 A_{1}'(a_0) + 4A_{1}(a_0)}{\sqrt{A_{1}(a_0)}}+\frac{a_0 A_{2}'(a_0)+ 4A_{2}(a_0)}{\sqrt{A_{2}(a_0)}}=0. \end{aligned}$$
(20)

The surface energy density \(\sigma _0\) and the pressure \(p _0\) take the form

$$\begin{aligned} \sigma _0=\frac{F'(R_0)}{2\kappa }\left( \frac{A_{2}'(a_0)}{\sqrt{A_{2}(a_0)}}-\frac{A_{1}'(a_0)}{\sqrt{A_{1}(a_0)}}\right) \end{aligned}$$
(21)

and

$$\begin{aligned} p_0= \frac{-F'(R_0)}{\kappa a_0}\left( \sqrt{A_{2}(a_0)}-\sqrt{A_{1}(a_0)}\right) , \end{aligned}$$
(22)

respectively; they fulfill the equation of state \(\sigma _0 - 2 p_0=0\).

We analyze the stability of static solutions under perturbations preserving the spherical symmetry. By using that \(\ddot{a}= (1/2)d({\dot{a}}^2)/da\) and with the definition \(z=\sqrt{A_{2}(a)+{\dot{a}}^2}-\sqrt{A_{1}(a)+{\dot{a}}^2}\), we can rewrite Eq. (8) to give \(az'(a)+2z(a)=0\); so by solving this equation we find an expression for \({\dot{a}}^{2}\) in terms of an effective potential

$$\begin{aligned} {\dot{a}}^{2}=-V(a), \end{aligned}$$
(23)

where

$$\begin{aligned} V(a)= & {} -\frac{a_{0}^4\left( \sqrt{A_{2}(a_{0})}-\sqrt{A_{1}(a_{0})}\right) ^2}{4a^4}\nonumber \\&+\frac{A_{1}(a)+A_{2}(a)}{2} \nonumber \\&-\frac{a^4 \left( A_{2}(a)-A_{1}(a)\right) ^{2}}{4 a_{0}^4\left( \sqrt{A_{2}(a_{0})}-\sqrt{A_{1}(a_{0})}\right) ^2}. \end{aligned}$$
(24)

It is easy to see that \(V(a_0)=0\) and by using Eq. (20) that \(V'(a_0)=0\). The second derivative of the potential at \(a_0\) reads

$$\begin{aligned} V''(a_0)= & {} -\frac{5 \left( \sqrt{A_{2}(a_{0})}-\sqrt{A_{1}(a_{0}})\right) ^{2}}{a_{0}^2} \nonumber \\&-\frac{3\left( \sqrt{A_{1}(a_{0})}+\sqrt{A_{2}(a_{0}})\right) ^{2}}{a_{0}^2}\nonumber \\&-\frac{\left( A_{2}'(a_{0})-A_{1}'(a_{0})\right) ^2}{2\left( \sqrt{A_{2}(a_{0})}-\sqrt{A_{1}(a_{0})}\right) ^{2}}\nonumber \\&-\frac{4\left( \sqrt{A_{1}(a_{0})}+\sqrt{A_{2}(a_{0}})\right) ^{2}\left( A_{2}'(a_{0})-A_{1}'(a_{0})\right) }{a_{0}\left( A_2(a_0)-A_1(a_0)\right) } \nonumber \\&-\frac{\left( \sqrt{A_{1}(a_{0})}+\sqrt{A_{2}(a_{0})}\right) ^{2}\left( A_{2}''(a_{0})-A_{1}''(a_{0})\right) }{2\left( A_{2}(a_{0})-A_{1}(a_{0})\right) }\nonumber \\&+\frac{A_{1}''(a_{0})+A_{2}''(a_{0})}{2}. \end{aligned}$$
(25)

A static configuration having a radius \(a_0\) is stable if and only if \(V''(a_0)>0\), corresponding to a minimum of the potential.

2.2 Different and constant curvature scalars \(R_1\) and \(R_2\)

Now we take two different curvature scalars \(R_1\) and \(R_2\) at the sides of the shell \(\Sigma \). The jump \([R]\ne 0\) restricts our study to the quadratic case \(F(R)=R-2\Lambda +\alpha R^{2}\) case. Consequently, we only demand the continuity of the first fundamental form and of the trace of the second fundamental form, i.e. \([h_{\mu \nu }]=0\) and \([K^{\mu }_{\;\; \mu }]=0\). We proceed as above, but now with constant \(R_1 \ne R_2\). The shell radius a has to satisfy Eq. (8). From Eq. (10), the field equations take the form

$$\begin{aligned} \kappa S_{\mu \nu } =-[K_{\mu \nu }]-2\alpha [RK_{\mu \nu }]; \end{aligned}$$
(26)

then, using that \(S_{\hat{\imath }\hat{\jmath } }=\mathrm{diag}(\sigma ,p,p)\) in the orthonormal basis, we find that the energy density and the transverse pressure at the shell are

$$\begin{aligned} \sigma= & {} -\frac{2 \ddot{a}+A'_{1}(a)}{2\kappa \sqrt{A_{1}(a)+{\dot{a}}^2}}\left( 1+2\alpha R_{1}\right) \nonumber \\&+\frac{2 \ddot{a}+A'_{2}(a)}{2\kappa \sqrt{A_{2}(a)+{\dot{a}}^2}}\left( 1+2\alpha R_{2}\right) , \end{aligned}$$
(27)
$$\begin{aligned} p= & {} \frac{\sqrt{A_{1}(a)+{\dot{a}}^2}}{\kappa a} \left( 1+2\alpha R_{1} \right) \nonumber \\&-\frac{\sqrt{A_{2}(a)+{\dot{a}}^2}}{\kappa a} \left( 1+2\alpha R_{2} \right) , \end{aligned}$$
(28)

respectively. As it was explained before, we assume that \(F'(R_1)=1+ 2\alpha R_1>0\) and \(F'(R_2)=1+ 2\alpha R_2>0\), in order to avoid the presence of ghosts. The matter is normal at \(\Sigma \) if it satisfies the weak energy condition. From Eq. (11) we obtain that \({\mathcal {T}}_\mu =0\) and from to Eq. (12) the external scalar tension/pressure \({\mathcal {T}}\) is given by

$$\begin{aligned} {\mathcal {T}}=\frac{2\alpha [R]}{\kappa \sqrt{A_{1}(a)+{\dot{a}}^2}}\left( \ddot{a}+\frac{A'_{1}(a)}{2}+\frac{2}{a}\left( A_{1}(a)+{\dot{a}}^2\right) \right) ,\nonumber \\ \end{aligned}$$
(29)

or, using Eq. (8), by the expression

$$\begin{aligned} {\mathcal {T}}= & {} -\frac{ 2a\ddot{a}+a A_{1}'(a)+4 \left( A_{1}(a) +{\dot{a}}^2\right) }{\kappa a\sqrt{A_{1}(a) +{\dot{a}}^2}}\alpha R_{1}\nonumber \\&+\frac{2a\ddot{a}+a A_{2}'(a)+4 \left( A_{2}(a) +{\dot{a}}^2\right) }{\kappa a\sqrt{A_{2}(a) +{\dot{a}}^2}}\alpha R_{2}. \end{aligned}$$
(30)

From Eqs. (27), (28), and (30) we obtain the equation of state relating \(\sigma \), p, and \({\mathcal {T}}\)

$$\begin{aligned} \sigma -2p={\mathcal {T}}. \end{aligned}$$
(31)

By taking the time derivative of Eq. (31) and with the help of Eqs. (27) and (28), we readily find the generalized conservation equation

$$\begin{aligned} \frac{d}{d\tau }({\mathcal {A}}\sigma )+ p \frac{d{\mathcal {A}}}{d\tau } = {\mathcal {A}} \frac{d{\mathcal {T}}}{d\tau }, \end{aligned}$$
(32)

with the area \({\mathcal {A}}\) defined above. In the left hand side of this equation, the first term is thought as the change in the total energy of the shell, the second one as the work done by the internal pressure, while the right hand side represents an external flux. The double layer distribution \({\mathcal {T}}_{\mu \nu }\), should satisfy Eq. (14), which in our case adopts the form

$$\begin{aligned} \langle {\mathcal {T}}_{\mu \nu } ,\Psi ^{\mu \nu } \rangle = - \int _{\Sigma } {\mathcal {P}}_{\mu \nu } \left( n^t \nabla _t \Psi ^{\mu \nu } + n^r \nabla _r \Psi ^{\mu \nu } \right) , \end{aligned}$$
(33)

for any test tensor field \(\Psi ^{\mu \nu }\). The components in the orthonormal basis of the double layer distribution strength are

$$\begin{aligned} - {\mathcal {P}}_{\tau \tau } ={\mathcal {P}}_{\hat{\theta }\hat{\theta } }={\mathcal {P}}_{\hat{\varphi }\hat{\varphi } }=\frac{2\alpha [R]}{\kappa }, \end{aligned}$$
(34)

which only depend on \(\alpha \) and [R]; as a consequence, the dependence of \({\mathcal {T}}_{\hat{\imath }\hat{\jmath } }\) with the metric comes from the unit normal and the covariant derivative.

In the static configurations, the radius \(a_0\) should fulfill Eq. (20), and from Eqs. (27), (28), and (30), the surface energy density \(\sigma _0\), the pressure \(p_0\), and the external tension/pressure \({\mathcal {T}}_0\) read

$$\begin{aligned} \sigma _0= & {} - \frac{A'_{1}(a_{0})}{2\kappa \sqrt{A_{1}(a_{0})}}\left( 1+2\alpha R_{1}\right) \nonumber \\&+\frac{A'_{2}(a_{0})}{2\kappa \sqrt{A_{2}(a_{0})}}\left( 1+2\alpha R_{2}\right) , \end{aligned}$$
(35)
$$\begin{aligned} p_0= & {} \frac{\sqrt{A_{1}(a_{0})}}{\kappa a_{0}} \left( 1+2\alpha R_{1} \right) \nonumber \\&-\frac{\sqrt{A_{2}(a_{0})}}{\kappa a_{0}} \left( 1+2\alpha R_{2} \right) , \end{aligned}$$
(36)

and

$$\begin{aligned} {\mathcal {T}}_0= & {} -\frac{ a_0 A_{1}'(a_0) + 4 A_{1}(a_0)}{\kappa a_0 \sqrt{A_{1}(a_0)}}\alpha R_{1} \nonumber \\&+\frac{a_0 A_{2}'(a_0)+4 A_{2}(a_0)}{\kappa a_0 \sqrt{A_{2}(a_0)}}\alpha R_{2}, \end{aligned}$$
(37)

respectively. The equation of state becomes \(\sigma _0 -2 p_0 = {\mathcal {T}}_0\). The shell has a null external energy flux vector \({\mathcal {T}} _{\mu }^{(0)}\) and a non-null double layer distribution \({\mathcal {T}}_{\mu \nu }^{(0)}\) given by Eq. (33), with \(n^t \nabla _t \Psi ^{\mu \nu } =0\) and the strength shown in Eq. (34).

Following the same procedure of the previous sub-section, the stability of the static configurations is found from Eq. (23) in terms of the potential of Eq. (24), with its second derivative given by Eq. (25); again \(V''(a_0)>0\) correspond to the stable ones.

3 Charged thin shells

We start from the action corresponding to F(R) gravity coupled to Maxwell electrodynamics

$$\begin{aligned} S=\frac{1}{2 \kappa }\int d^4x \sqrt{|g|} (F(R)-{\mathcal {F}}_{\mu \nu }{\mathcal {F}}^{\mu \nu }), \end{aligned}$$
(38)

where \(g=\det (g_{\mu \nu })\) is the determinant of the metric tensor and \({\mathcal {F}}_{\mu \nu }=\partial _{\mu }{\mathcal {A}}_{\nu } -\partial _{\nu }{\mathcal {A}}_{\mu }\) is the electromagnetic tensor. In the metric formalism, the field equations obtained from this action, considering an electromagnetic potential \({\mathcal {A}}_{\mu }=({\mathcal {V}}(r),0,0,0)\) and a constant curvature scalar R, admit a spherically symmetric solution given by Eq. (1), in which the metric function [8, 9] has the form

$$\begin{aligned} A (r) = 1-\frac{2M}{r}+\frac{Q^2}{ F'(R) r^2}-\frac{R r^2}{12}, \end{aligned}$$
(39)

with Q the charge and M the mass. The electromagnetic potential is \({\mathcal {V}}(r)=-Q/r\) and the cosmological constant is related with the curvature scalar by \(4\Lambda = R\).

3.1 Curvature scalar \(R_0\) at both sides

For the construction of the thin shell \(\Sigma \), we take the metric function given by Eq. (39), with mass \( M_1 \ne 0 \) and null charge for the internal region \({\mathcal {M}}_1 \), and mass \( M_2 \ne 0 \) and charge Q for the external region \( {\mathcal {M}}_2 \). At both sides of \(\Sigma \) we adopt the same value \( R_0 \) for the curvature scalar. Therefore, the metric functions read

$$\begin{aligned} A _1(r) = 1-\frac{2M_1}{r}-\frac{R_0 r^2}{12}, \end{aligned}$$
(40)

for the internal zone, and

$$\begin{aligned} A _2(r) = 1-\frac{2M_2}{r}+\frac{Q^2}{ F'(R_0) r^2}-\frac{R_0 r^2}{12}. \end{aligned}$$
(41)

for the external one. The possible horizons result from the zeros of the expressions \( A_{1} (r) \) and \( A_{2} (r) \). Both metrics are singular at \( r = 0 \). When \( A_{1} (r) = 0 \) we get a polynomial of third degree if \( R_0 \ne 0 \), its real and positive roots correspond to the radii of the different horizons. For \( R_0 \leqslant 0 \) there is only the presence of an event horizon. When \( 0< R_0 < 4 / (9M_1 ^ 2) \) there is a cosmological horizon in addition to the event horizon. For the metric function \( A_{2} (r)\), the horizons are determined by the solutions of the quadratic equation when \( R_0 = 0 \), while for \( R_0 \ne 0 \) they are given by the real and positive roots of a fourth degree polynomial. The critical charge value \( Q_c \) has an important role in the study of the solutions, since it determines the number of horizons of the geometry. If \( R_0 <0 \) and \(0< | Q | <Q_c \) there are two horizons, the internal and the event ones. When \( | Q | = Q_c \), they fuse into one, and if \( | Q |> Q_c \) only a naked singularity is left. For \( R_0 > 0 \) the metric has a cosmological horizon. Besides it, when \( 0< | Q | < Q_c \) there exist an internal and an event horizons, if \( | Q | = Q_c \) both merged into one, and they finally disappear when \( | Q |> Q_c \), so that there is a naked singularity at the origin.

Fig. 1
figure 1

Shells around black holes in F(R) gravity, for different values of the curvature scalar \( R_0 \). The solid lines represent the stable static solutions with radius \( a_0 \), while the dashed lines the unstable ones. The masses satisfy the relation \( M_1 / M_2 = 0.5 \) and \( \alpha / M ^ 2_2 = 0.1 \) is taken. The charge Q corresponds to the exterior geometry. The meshed zones represent normal matter, while the gray areas have no physical meaning

In order to start the construction of the shell we choose a radius a satisfying Eq. (8), larger than the event horizon radius in \( {\mathcal {M}}_1 \), so the black hole is always present, and when \( R_0> 0 \), also smaller than the cosmological horizon radius coming from the original geometry for this region. On the other hand, this radius a should be large enough to avoid the presence of the event horizon and the singularity of the geometry used for the region \( {\mathcal {M}}_2 \). When \( R_0> 0 \), it also has to be smaller than the cosmological horizon of this outer region. As we mentioned in the previous section, it is necessary that \( F '(R_0)> 0 \) to avoid ghosts. It is also preferable that the matter on the shell satisfies the weak energy condition, in order to guarantee the presence of normal matter on \( \Sigma \). The energy density and the pressure are given by Eqs. (16) and (17), respectively, which fulfill the equation of state (18).

In the static case, the radius \( a_0 \) should satisfy Eq. (20), while \( \sigma _0 \) and \( p_0 \) are given by Eqs. (21) and (22). The potential (24) allows for the stability analysis of the solutions, which is determined from the sign of \( V '' (a_0) \), given by Eq. (25); the stable ones correspond to \( V '' (a_0)> 0 \). The results are presented graphically in Fig. 1, in which the most representative ones are shown. All quantities are adimensionalized with the mass \( M_2 \) of the outer region; the relations \(M_1 / M_2 = 0.5 \) and \( \alpha / M ^ 2_2 = 0.1 \) are adopted in all plots. The meshed zones represent those that satisfy the weak energy condition, and the gray areas have no physical meaning. Solid lines represent stable solutions, while unstable solutions are drawn with dotted lines. The behavior of the solutions does not vary significantly with the modulus of the value of the curvature scalar \( R_0 \), but mainly with its sign, obtaining that

  • When \( R_0 <0 \), for \( |Q| <Q_ {c} \), there is only an unstable solution composed by normal matter. For larger values of |Q| , there are two solutions made of exotic matter, one of them is stable while the other, close to the event horizon of the black hole, is unstable.

  • For \( R_0> 0 \) and \( | Q | <Q_ {c} \) there is an unstable solution constituted by normal matter. For values \( | Q |> Q_ {c} \) and a restricted range of charge, there are three solutions composed by exotic matter, one of them is stable. For values of |Q| much larger than \( Q_c \), there is only an unstable solution close to the event horizon of the black hole.

The function \( F (R_0) \), which is present through its derivative, does not produce significant changes in the qualitative behavior of the solutions, it only affects them by modifying their scale. The quotient \( | Q | / \sqrt{F '(R_0)} \) can be interpreted as an effective charge.

3.2 Curvature scalars \(R_1 \ne R_2\)

Analogously to the previous sub-section, we construct the shell by taking the mass \( M_1\ne 0 \) and a null charge for the internal region \( {\mathcal {M}}_1 \), and the mass \( M_2 \ne 0 \) and the charge Q for the external one \( {\mathcal {M}}_2 \). But now, we adopt different curvature scalars at the sides of the shell \( \Sigma \), so that \( [R]\ne 0 \). Then, the metric functions are

$$\begin{aligned} A _1(r) = 1-\frac{2M_1}{r}-\frac{R_1 r^2}{12} \end{aligned}$$
(42)

and

$$\begin{aligned} A _2(r) = 1-\frac{2M_2}{r}+\frac{Q^2}{ F'(R_2) r^2}-\frac{R_2 r^2}{12}. \end{aligned}$$
(43)

The possible horizons are found as explained in the previous sub-section, with the replacement of \(R_0\) by \(R_1\) or \(R_2\) as appropriate, retaining the same characteristics described therein.

Fig. 2
figure 2

Shells around black holes in F(R) gravity, for different values of curvature scalars \( R_1 \) and \( R_2 \). The solid lines represent the stable static solutions with radius \( a_0 \), while the dashed lines the unstable ones. The mass ratio used is \( M_1 / M_2 = 0.5 \) and \( \alpha / M ^ 2_2 = 0.1 \) is taken. The charge Q corresponds to the exterior geometry. The meshed zones represent normal matter and the gray areas have no physical meaning

Fig. 3
figure 3

Idem Fig. 2, but with \( R_1 = 0.39 \) and \( R_2 = 0.3 \). We observe that there is a stable solution with normal matter and null charge at the shell

The radius a of the shell is properly chosen, in the same way as done in the previous sub-section, and it should satisfy Eq. (8). The surface energy density is obtained by Eq. (27), the pressure by Eq. (28) and the external tension/pressure by Eq. (30). These three equations determine, together with Eq. (8), the equation of state at the shell (31). We also have that \( {\mathcal {T}}_\mu = 0 \) and, because \( [R]\ne 0 \), the non-null tensor \( {\mathcal {T}}_{\mu \nu } \), with a dipolar density \( {\mathcal {P}}_{\mu \nu } \) given by Eq. (34).

In the static case, the construction of the shell is done by choosing a radius \( a_0 \) that satisfies the Eq. (20). Besides, we assume that \(F'(R_1)>0\) and \(F'(R_2)>0\) in order to avoid the presence of ghosts. Again, we prefer matter fulfilling the weak energy condition. The surface energy density, pressure, and external tension/pressure are obtained from Eqs. (35), (36), and (37), respectively. As it is mentioned above, a non-null dipolar distribution given by Eq. (34) is also present. The stability of the solutions is determined by using the Eq. (25), through the study of the sign of \( V '' (a_0) \), which guarantees the stability of the solution when \( V '' ( a_0)> 0 \). The results are displayed in Fig. 2. Again, the quantities are adimensionalized with the mass \( M_2 \), and the relations \( M_1 / M_2 = 0.5 \) and \( \alpha / M^2_2 = 0.1 \) are used. The meshed zones are those where the solution is composed by normal matter, while the gray ones have no physical meaning. The solid lines represent the stable solutions and the dotted ones the unstable ones. The behavior of the solutions basically depends on the relation between the values of the curvature scalars \( R_1 \) and \( R_2 \), the main features are

  • For \( R_1 > R_2 \) and values of |Q| close to \( Q_c \), there are two solutions, one stable and the another unstable, both made of normal matter. For larger values of |Q| , unstable solutions constituted by exotic matter predominate. Only for a restricted range of |Q| there is a stable solution consisting of exotic matter.

  • For \( R_1 < R_2 \) and charge values \( | Q | < Q_c \), there is an unstable solution made of normal matter. For \( | Q | > Q_c \) and for a broad range of values of charge, there are two solutions composed by exotic matter, one of them stable.

Again, the quotient \( | Q | / \sqrt{F '(R_2)} \) can be understood as an effective charge. In particular, with a suitable choice of parameters, i.e. \( R_1 = 0.39 \) and \( R_2 = 0.3 \), we have found that a stable solution made of normal matter and without charge is possible, as shown in Fig. 3.

4 Conclusions

In this work, we have studied spherically symmetric thin shells of matter around black holes within F(R) theories of gravity. We have adopted constant curvature scalars at both sides of the shell and we have analyzed two scenarios: one in which the curvature scalars are equal to the same value \( R_0 \), and the other in which the values of the curvature scalars \( R_1 \) and \( R_2 \) are different. The case with both curvature scalars equal to \( R_0 \) does not impose any limitations on the function F(R) . The matter at the shell should fulfill the equation of state \( \sigma - 2p = 0 \) that relates the surface energy density \(\sigma \) and the pressure p. When the curvature scalars are different, it is necessary to restrict the analysis to quadratic F(R) . Then, for \( R_1 \ne R_2 \) the shell is composed by matter that satisfies the equation of state \( \sigma - 2p = {\mathcal {T}} \), which depends on the external tension/pressure \({\mathcal {T}}\); it also requires the presence of the vector \( {\mathcal {T}}_\mu = 0 \) and the tensor \( {\mathcal {T}} _{\mu \nu } \ne 0 \) contributions. In particular, we have constructed a thin shell of matter surrounding a static non-charged black hole with mass \( M_1 \). The geometry outside the shell corresponds to a solution with mass \( M_2 \) and charge Q.

In the case with the same value of the curvature scalar at both sides of the shell, the behavior of the solutions is determined by the sign of \( R_0 \), and it is always possible to find unstable solutions with normal matter. On the other hand, stable solutions constituted by normal matter are not found; those that are stable are present, but always built with exotic matter, within a small range of |Q| when \( R_0> 0 \) or for large values of |Q| when \( R_0 < 0 \). This result is similar to the one obtained in Ref. [53] for bubbles, with the main difference being that for the shells around black holes there is an extra solution, unstable and constituted by exotic matter, with values of the shell radius close to the event horizon one.

For different values of the curvature scalar at the regions separated by the shell, the solutions have a distinct behavior depending on the relation between \( R_1 \) and \( R_2 \). Only in the case with \( R_1> R_2 \) it is possible to find stable solutions constituted by normal matter for |Q| close to \( Q_c \). The rest of the solutions are unstable and made of exotic matter, with the exception of a small range of |Q| for which the shell is stable but, once again, it is composed by exotic matter. When \( R_1 <R_2 \), we have only found unstable solutions constituted by normal matter for \( |Q| < Q_c \), or by exotic matter for \(|Q| > Q_c \). The only stable solution for this case is made of exotic matter for a broad range of values of the charge. These results are similar to those found in Ref. [53] in the case of \( R_1 \ne R_2 \), with the difference that, in shells surrounding black holes, an additional unstable solution emerges close to the event horizon. Compared with the case of the Ref. [53], it is more complicated to find an appropriate set of parameters that allow the construction of a stable shell around the black hole, made of normal matter and without charge. However, we have found that it is possible to build such a case, for a limited range of values of \( R_1 \) and \( R_2 \), and we have shown an example with \( R_1 = 0.39 \) and \( R_2 = 0.3 \).

It is well known that there is an equivalence between any F(R) gravity theory and a properly taken scalar–tensor theory [1, 2]; in particular, quadratic F(R) is equivalent to Brans–Dicke theory with a parameter \(\omega =0\), with a potential \(V(\phi )= 2 \Lambda +(\phi ^2 -2\phi -3)/(4\alpha )\), where the scalar field \(\phi \) and the curvature scalar are related by \(\phi =2\alpha R-1\). Then, it is worthy to note that the results obtained here can be translated to the corresponding scalar–tensor theory.