1 Introduction

The idea of traversable wormholes was initiated by Morris and Thorne [1], they used the principle of general relativity to study the possibility of time travel for humans. The general theory of relativity envisages that the geometry and structure of space-time in the presence of matter is not unbending but is flexible and deformable. The denser the body is, the stronger the curvature of space is, which basically indicates to the notion of black holes. Nevertheless, in the latter case, the stuff of space-time drops its meaning at the curvature singularity. If somehow the creation of the singularity is avoided, then it would be possible to travel through the throat, so that there is no constraint to observer’s motion on the manifold. After, finding of the general theory of relativity, the possibility of such solution to the Einstein field equations was first time investigated by Flamm [2]. Subsequently, it was shown that his solution was unstable. However, the more detailed solutions of the wormhole was studied by Einstein and Rosen [3]. A wormhole is a topological feature of the space-time, which has basically been considered as a shortcut for the joining of two distinct points in the space-time or two distinct universe. The shape of the typical wormhole is like tube, which is asymptotically flat from both sides of the region. The radius of the throat of the wormhole is either constant or variable depending on its structure and the wormhole is termed as static or non-static respectively. One of the important essential condition to form a wormhole in general relativity is: the existence of an exotic matter component, which violates the energy conditions while the usual matter content satisfies these conditions. Subsequently, the general relativity predicts that the exotic form of matter component must be present near the throat of the wormhole [1]. Afterwards, it has been studied that exotic matter, which is threaded in the throat of wormhole, violates one of the energy condition, i.e., null energy condition (NEC) [4, 5]. Phantom energy is one possible candidate, which explains the cosmic accelerated expansion as well [6,7,8]. Moreover, the existence of phantom energy is problematic and no other appropriate exotic matter candidate is accessible, a substitute approach is usually monitored: the modifications of laws of gravity, proposed primarily for elucidation of accelerated expansion and avoiding singularities, could support the wormhole geometries. The presence of some form of energy-matter is necessary to sustain a wormhole solutions, because the wormhole is a non-vacuum solution of Einstein field equations. The matter content is assumed to satisfy the energy conditions near the throat of the wormhole, while the Lagrangian contains the higher order curvature terms which are required to sustain the wormhole solutions in modified gravity. Various authors studied wormhole geometries in modified gravity in different directions [9,10,11,12,13,14,15,16,17,18,19,20,21].

The general theory of relativity could be modified in various directions and this modification received huge consideration to explain accelerated expansion; wormhole structure; explaining flat rotation curves of galaxies and other mysterious phenomenon near black holes [22,23,24,25,26].

The f(R) modified gravity [27] attains ample consideration for its capability to elucidate the accelerated expansion of the universe. In the early 1980s, Starobinsky [28] discussed f(R) model by taking \(f(R)=R+\alpha R^2\), where \(\alpha >0\), representing inflationary scenario of the universe. Simple idea on which this theory is: the f(R) theory of gravity replaces the scalar curvature R in the Einstein gravitational action to an arbitrary function f(R), with R being the leading order contribution to f(R). Field equations obtained in this fashion have higher degree of complexity, and admit richer set of solutions than the standard general relativity. A simplification of f(R) gravity suggested in [29] integrates an unambiguous coupling between the matter Lagrangian and an arbitrary function of the scalar curvature, which leads to an extra force in the geodesic equation of a perfect fluid. Subsequently, it is shown that this extra force may be justification for the accelerated expansion of the universe [22, 30]. The dynamical behavior of the matter and dark energy effects have been obtained within extended theories of gravity [31,32,33,34]. Furthermore, many authors have studied the dynamics of cosmological models in f(R) gravity from various directions [35,36,37,38,39,40,41,42,43,44,45,46,47].

Apart from this some reviews on wormhole modeling in f(R) gravity are given as follows: Lobo and Oliveira [11] constructed traversable wormhole models in modified f(R) gravity and, they concluded that the higher order curvature derivative terms are responsible for the violation of the null energy condition and supporting the nonstandard wormhole structures. They considered constant redshift function, some specific shape functions and various equations of state to find the exact solutions. Saiedi and Esfahani [48] considered shape and redshift functions as constant and scale factor as some positive power of cosmic time. They investigated wormhole solutions in f(R) gravity and examined null and weak energy conditions. Bouhmadi-López et al. [49] considered the sum of energy density and radial pressure to be proportional to a constant less than the area of the wormhole mouth. They inspected the solutions of spherically symmetric wormhole and analyzed the stability regions. Najafi et al. [50] took an extra space-like dimension and studied traversable wormhole in FLRW model. They analyzed the effect of extra dimension on energy density, scale factor and shape function. Bahamonde et al. [51] studied cosmological wormhole in f(R) theory of gravity. They built a dynamical wormhole asymptotically approaching towards the FLRW universe and used the approximation of small wormholes for analysis. For the wormholes they considered, it was found that the presence of exotic matter near the throat is not needed, however it is always needed in case of general relativity. Rahaman et al. [52] studied wormhole solutions in Finslerian structure of space-time. They presented a wide variety of solutions and explored wormhole geometry by considering different choices of shape function and energy density. Zubair et al. [53] investigated wormhole solutions in the context of generalized \(f(R, \phi )\) gravity for three types of fluids. They explored energy conditions and obtained wormhole solutions without need of exotic matter. Kuhfittig [54] considered non-commutative geometry and discussed the existence of wormholes in f(R) gravity. He considered various shape functions and obtained wormhole solutions satisfying general properties. He also considered \(f(R) = \alpha R^2\) and determined wormhole solutions. Novikov [55] reviewed wormholes and categorized them into three classes. They determined the properties of wormholes and described the relation between black holes and wormholes. Sajadi and Riazi [56] obtained static multi-polytropic wormhole solutions in the framework of general relativity, and they examined gravitational lensing by the wormhole, and calculated the deflection angle for weak and strong field limits as well. Subsequently, various authors have been studied wormholes in different contexts [57,58,59,60,61,62,63,64,65,66,67]. Recently, Barros and Lobo [68] used three form fields and studied static and spherically symmetric wormhole structures. They found various numerical and analytical solutions and showed that in the presence of three-form fields the null and weak energy conditions are satisfied in whole space-time. Godani and Samanta [18] and Samanta et al. [19] investigated wormhole solutions by defining new form function in f(R) gravity and they tried to show the minimum requirement of exotic matter near the throat of the wormhole.

The motivation of this paper is to study the wormhole solutions in viable f(R) gravity by assuming some specific form of shape function. Subsequently, we have derived f(R) function from the wormhole equations, which should satisfy the viability condition of f(R) gravity. Furthermore, we have tried to avoid the presence of exotic matter near the throat by defining the suitable range of wormhole throat, so that energy condition could satisfy near the throat of the wormhole.

2 Traversable wormhole and equations

The static and spherically symmetric metric for wormhole geometry is given by

$$\begin{aligned} ds^2=-e^{2\Phi (r)}dt^2+\frac{dr^2}{1-b(r)/r} + r^2(d\theta ^2+sin^2\theta d\phi ^2),\nonumber \\ \end{aligned}$$
(1)

where r is the radial coordinate varying from \(r_0\ne 0\) to \(\infty \), \(\Phi (r)\) is the redshift function and b(r) is the shape function. The wormhole has a throat at its center that joins two asymptotically flat space-times. The function \(\Phi (r)\) is responsible for the determination of gravitational redshift, so we call this \(\Phi (r)\) as a redshift function. For a traversable wormhole, event horizon should be absent and the effect of tidal gravitational forces should be very small on a traveler. Therefore, to avoid event horizon or non-traversable condition, we required \(e^{2\Phi (r)}\ne 0\). We may have \(e^{2\Phi (r)}\rightarrow 0\) provided \(\Phi (r)\rightarrow -\infty \), so to avoid this situation, we have to avoid \(\Phi (r)\rightarrow -\infty \), so we required \(\Phi (r)\) is every where finite. Hence, accordingly, we will have to choose \(\Phi (r)\) such a way that \(e^{2\Phi (r)}\ne 0\). It is not necessary that, \(\Phi (r)\) is only constant, it could be variable as well. For asymptotically flat region \(\Leftrightarrow \) we required \(\Phi \rightarrow 0\) and no horizon or singularity \(\Rightarrow \) \(\Phi \) is every where finite [1]. However, in this paper, for simplicity we consider constant redshift function. The function b(r) is responsible for the shape of wormhole that should satisfy the following conditions: (i) \(b(r_0)=r_0\), (ii) \(\frac{b(r)-b'(r)r}{b(r)^2}>0\), (iii) \(b'(r_0)-1\le 0\), (iv) \(\frac{b(r)}{r}<1\) for \(r>r_0\) and (v) \(\frac{b(r)}{r}\rightarrow 0\) as \(r\rightarrow \infty \).

The f(R) theory of gravity, a generalization of Einstein’s theory of relativity, generalizes the action as

$$\begin{aligned} S_G=\dfrac{1}{2k}\int [f(R) + L_m]\sqrt{-g}d^4x, \end{aligned}$$
(2)

where \(k=8\pi G\), \(L_m\) and g stand for the matter Lagrangian density and the determinant of the metric \(g_{\mu \nu }\) respectively. For simplicity, k is taken as unity.

Differentiating Eq. (2) with respect to the metric \(g_{\mu \nu }\), the field equations are obtained as

$$\begin{aligned} FR_{\mu \nu } -\dfrac{1}{2}fg_{\mu \nu }-\triangledown _\mu \triangledown _\nu F+\square Fg_{\mu \nu }= T_{\mu \nu }^m, \end{aligned}$$
(3)

where \(R_{\mu \nu }\) and R denote Ricci tensor and curvature scalar respectively and \(F=\frac{df}{dR}\). The contraction of 3, gives

$$\begin{aligned} FR-2f+3\square F=T, \end{aligned}$$
(4)

where \(T=T^{\mu }_{\mu }\) is the trace of the stress energy tensor.

From Eqs. (3) and (4), the effective field equation is obtained as

$$\begin{aligned} G_{\mu \nu }\equiv R_{\mu \nu }-\frac{1}{2}Rg_{\mu \nu }=T_{\mu \nu }^{eff}, \end{aligned}$$
(5)

where \(T_{\mu \nu }^{eff}=T_{\mu \nu }^{c}+T_{\mu \nu }^{m}/F\) and \(T_{\mu \nu }^{c}=\frac{1}{F}[\triangledown _\mu \triangledown _\nu F-\frac{1}{4}g_{\mu \nu }(FR+\square F+T)]\). The energy momentum tensor for the matter source of the wormholes is \(T_{\mu \nu }=\frac{\partial L_m}{\partial g^{\mu \nu }}\), which is defined as

$$\begin{aligned} T_{\mu \nu } = (\rho + p_t)u_\mu u_\nu - p_tg_{\mu \nu }+(p_r-p_t)X_\mu X_\nu , \end{aligned}$$
(6)

such that

$$\begin{aligned} u^{\mu }u_\mu =-1 \text{ and } X^{\mu }X_\mu =1, \end{aligned}$$
(7)

where \(\rho \), \(p_t\) and \(p_r\) stand for the energy density, tangential pressure and radial pressure respectively.

The Ricci scalar R given by \(R=\frac{2b'(r)}{r^2}\) and Einstein’s field equations for the metric 1 in f(R) gravity are obtained as:

$$\begin{aligned}&\rho =\frac{Fb'(r)}{r^2}-H \end{aligned}$$
(8)
$$\begin{aligned}&p_r=-\frac{b(r)F}{r^3}{-}\Bigg (1{-}\frac{b(r)}{r}\Bigg )\Bigg [F''{+}\frac{F'(rb'(r){-}b(r))}{2r^2\Big (1{-}\frac{b(r)}{r}\Big )}\Bigg ]{+}H\nonumber \\ \end{aligned}$$
(9)
$$\begin{aligned}&p_t=\frac{F(b(r)-rb'(r))}{2r^3}-\frac{F'}{r}\Bigg (1-\frac{b(r)}{r}\Bigg )+H, \end{aligned}$$
(10)

where \(H=\frac{1}{4}(FR+\square F+T)\) and prime upon a function denotes the derivative of that function with respect to radial coordinate r.

The anisotropy parameter is defined as

$$\begin{aligned} \triangle =p_t-p_r. \end{aligned}$$
(11)

The geometry is attractive or repulsive in nature according as \(\triangle \) is negative or positive. If \(\triangle = 0\), then the geometry has an isotropic pressure.

3 Energy conditions

The important energy conditions are the null energy condition (NEC), weak energy condition (WEC), strong energy condition (SEC) and dominant energy condition (DEC). For any null vector, the null energy condition (NEC) is defined as \(NEC\Leftrightarrow T_{\mu \nu }k^{\mu }k^{\nu }\ge 0\). Alternately, in terms of the principal pressures NEC is defined as \(NEC\Leftrightarrow ~~ \forall i, ~\rho +p_{i}\ge 0\). For a timelike vector, the weak energy condition (WEC) is defined as \(WEC\Leftrightarrow T_{\mu \nu }V^{\mu }V^{\nu }\ge 0\). In terms of the principal pressures, it is defined as \(WEC\Leftrightarrow \rho \ge 0;\) and \(\forall i, ~~ \rho +p_{i}\ge 0\). For a timelike vector, the strong energy condition (SEC) is defined as \(SEC\Leftrightarrow (T_{\mu \nu }-\frac{T}{2}g_{\mu \nu })V^{\mu }V^{\nu }\ge 0\), where T is the trace of the stress-energy tensor. In terms of the principal pressures, SEC is defined as \(T=-\rho +\sum _j{p_j}\) and \(SEC\Leftrightarrow \forall j, ~ \rho +p_j\ge 0, ~ \rho +\sum _j{p_j}\ge 0\). For any timelike vector, the dominant energy condition (DEC) is defined as \(DEC\Leftrightarrow T_{\mu \nu }V^{\mu }V^{\nu }\ge 0\), and \(T_{\mu \nu }V^{\mu }\) is not space like. In terms of the principal pressures \(DEC\Leftrightarrow \rho \ge 0;\) and \(\forall i, ~ p_i\in [-\rho , ~+\rho ]\).

In this paper, these conditions are investigated in terms of principal pressures which are as follows:

  1. (I)

    \(\rho + p_r\ge 0\), \(\rho + p_t\ge 0\) (NEC)

  2. (II)

    \(\rho \ge 0\), \(\rho + p_r\ge 0\), \(\rho + p_t\ge 0\) (WEC)

  3. (III)

    \(\rho + p_r\ge 0\), \(\rho + p_t\ge 0\), \(\rho + p_r +2p_t\ge 0\) (SEC)

  4. (IV)

    \(\rho \ge 0\), \(\rho - |p_r|\ge 0\), \(\rho - |p_t|\ge 0\) (DEC)

A normal matter always satisfies these energy conditions because it possesses positive pressure and positive energy density. The wormholes are non-vacuum solutions of Einstein’s field equations and according to Einstein’s field theory, they are filled with a matter which is different from the normal matter and is known as exotic matter. This matter does not validate the energy conditions.

4 Wormhole solutions and viable f(R) model

In this section, f(R) model is derived and field equations mentioned in Sect. 2 are solved. Furthermore, the energy density \(\rho \), energy condition terms \(\rho +p_r\), \(\rho +p_t\), \(\rho +p_r+2p_t\), \(\rho -|p_r|\), \(\rho -|p_t|\) and anisotropy parameter \(\triangle \) are computed.

Several authors have studied wormhole modelling by considering power-law shape function [8, 11, 54, 56, 69,70,71]. In this paper, we use \(b(r)=r_0(\frac{r}{r_0})^\gamma \), where \(0<\gamma <1\), the equation of state \(p_r=\omega \rho \), where \(\omega \) is equation of state parameter and Eqs. (8) and (9), the function f(R) is obtained as

$$\begin{aligned} f(R)=k ((\gamma +1) r (\omega +1)-(\gamma +1) \omega -1)^{\frac{\gamma ^2-1}{\gamma +1}}, \end{aligned}$$
(12)

where k is constant of integration. For Simplicity, we have taken \(k=1\). So, we have

$$\begin{aligned} f(R)= ((\gamma +1) r (\omega +1)-(\gamma +1) \omega -1)^{\frac{\gamma ^2-1}{\gamma +1}}, \end{aligned}$$
(13)

Using the Ricci scalar \(R=\frac{2b^{'}(r)}{r^2}\) and the form function \(b(r)=r_0(\frac{r}{r_0})^\gamma \), we can write

$$\begin{aligned} r=\left( \frac{r_0^{\gamma +1}}{2(\gamma +1)}\right) ^{\frac{1}{\gamma -2}}R^{\frac{1}{\gamma -2}} \end{aligned}$$
(14)

Now, the Eq. (13) becomes

$$\begin{aligned} f(R)= \bigg [(\gamma +1)^{\frac{3{-}\gamma }{2-\gamma }}(\omega +1)r_0^{\frac{\gamma +1}{\gamma -2}}\frac{1}{2} R^{\frac{1}{\gamma -2}}{-}(\gamma +1) \omega -1\bigg ]^{\gamma -1}\nonumber \\ \end{aligned}$$
(15)

In the early 1980s, Starobinsky [28] showed that the model \(f(R)=R+\alpha R^2\), where \(\alpha >0\) can be responsible for inflationary phase of the early universe. The presence of quadratic term \(\alpha R^2\) was responsible for this fact and gave rise to an asymptotically exact de Sitter solution. If the term \(\alpha R^2\) becomes smaller than the linear term R, then the inflation will be stopped. Hence, this model is a suitable one to discuss the inflationary stage of the early universe. However, this model is not a suitable candidate to discuss the present cosmic accelerated expansion. Afterwards, the models \(f(R)=R-\frac{\alpha }{R^n}\) (where \(\alpha >0\) and \(n>0\)) were proposed as a candidate for dark energy to explain the late time cosmic accelerated expansion [72,73,74,75]. Moreover, because of the instability associated with negative value of \(f_{,RR}\), these models are do not satisfy local gravity conditions [76,77,78,79,80]. So this makes it very crucial to make a set of conditions which are viable for f(R) models in metric formalism. These conditions as stated as follows [81]:

  • To avoid anti-gravity, we required, \(f_{,R}>0\) for \(R\ge R_0\), where \(R_0\) is the Ricci scalar at present epoch and is positive.

  • To avoid complex valued function of f(R), we required f(R) should be real valued function. For real valued condition of our derived f(R) function, we required \(\omega >-1.4\) and \(r>1\).

  • \(f_{,RR}>0\) for \(R\ge R_0\). This is required for consistency with local gravity tests [77, 79, 80, 82], for the presence of the matter-dominated epoch [83], and for the stability of cosmological perturbations [84,85,86,87].

  • \(f(R)\rightarrow R-2\Lambda \) for \(R\gg R_0\). This is required for consistency with local gravity tests [87,88,89,90,91] and for the presence of the matter-dominated epoch [83] .

  • \(0<\frac{Rf_{,RR}}{f_{,R}}<1\) at \(\frac{Rf_{,R}}{f}=2\). This is required for the stability of the late-time de Sitter point [83, 92, 93].

In this paper, the f(R) model derived in Eq. (15) is found to be satisfied all the above conditions. Therefore, we can say that our derived f(R) function is a viable f(R) model. Now, Using this viable f(R) model and Eqs. (8), (9) and (10), we obtained the following terms:

$$\begin{aligned} \rho= & {} \frac{1}{4} \left( \frac{r}{{r_0}}\right) ^{-\gamma } ((\gamma +1) r (\omega +1)-(\gamma +1) \omega -1)^{\gamma -4}\\&\times \left[ \gamma ^4 (-\omega ) (\omega +1) \left( r (\omega +1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&+\left. \left. \omega \left( 2-3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) +\gamma ^3 \left( 2 r^2 (\omega +1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&-\left. \left. r \left( 5 \omega ^2+6 \omega +1\right) \left( \frac{r}{{r_0}}\right) ^\gamma -2 \omega \left( 3 \omega ^2\right. \right. \right. \\&\times \left. \left. \left. \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) {-}\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma {+}1\right) {-}3 \left( \frac{r}{{r_0}}\right) ^\gamma \,{{+}}\,2\right) \right) \right. \\&+\left. \gamma ^2 (\omega +1) \left( 4 r^2 (\omega +1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&+\left. \left. r \left( 3 \omega ^2-4 \omega -3\right) \left( \frac{r}{{r_0}}\right) ^\gamma +\omega ^2 \left( 6-9 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right. \right. \\&-\left. \left. 2 \omega \left( 7 \left( \frac{r}{{r_0}}\right) ^\gamma -8\right) +3 \left( \frac{r}{{r_0}}\right) ^\gamma -2\right) \right. \\&+\left. 2 \gamma (\omega +1)^2 \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma +r (\omega -1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&+\left. \left. \omega \left( 6 \left( \frac{r}{{r_0}}\right) ^\gamma -7\right) -5 \left( \frac{r}{{r_0}}\right) ^\gamma +5\right) \right. \\&+\left. 12 (\omega +1)^3 \left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) \right] \end{aligned}$$

The energy density \(\rho \) is plotted in Fig. 1a with respect to the radial coordinate r, and it is obtained that the energy density is positive for \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 0.9\). From this computation, we realize, if we consider the size of the throat of the wormhole is either \(r_0=0.9\) or may be \(r_0>0.9\), then we do not observe any negative energy density. That means, the throat of the wormhole is filled with non-exotic matter.

$$\begin{aligned} p_r= & {} \frac{1}{4}\omega \left( \frac{r}{{r_0}}\right) ^{-\gamma } ((\gamma +1) r (\omega +1)-(\gamma +1) \omega -1)^{\gamma -4}\nonumber \\&\times \left[ \gamma ^4 (-\omega ) (\omega +1) \left( r (\omega +1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. \omega \left( 2-3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) +\gamma ^3 \left( 2 r^2 (\omega +1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&\left. \left. -r \left( 5 \omega ^2+6 \omega +1\right) \left( \frac{r}{{r_0}}\right) ^\gamma -2 \omega \left( 3 \omega ^2\right. \right. \right. \nonumber \\&\times \left. \left. \left. \left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) -\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma +1\right) \right. \right. \right. \nonumber \\&-\left. \left. \left. 3 \left( \frac{r}{{r_0}}\right) ^\gamma +2\right) \right) +\gamma ^2 (\omega +1) \left( 4 r^2 (\omega +1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. r \left( 3 \omega ^2-4 \omega -3\right) \left( \frac{r}{{r_0}}\right) ^\gamma +\omega ^2 \left( 6-9 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right. \right. \nonumber \\&\left. \left. -2 \omega \left( 7 \left( \frac{r}{{r_0}}\right) ^\gamma -8\right) +3 \left( \frac{r}{{r_0}}\right) ^\gamma -2\right) \right. \nonumber \\&+\left. 2 \gamma (\omega +1)^2 \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma +r (\omega -1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. \omega \left( 6 \left( \frac{r}{{r_0}}\right) ^\gamma -7\right) -5 \left( \frac{r}{{r_0}}\right) ^\gamma +5\right) \right. \nonumber \\&+\left. 12 (\omega +1)^3 \left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) \right] \nonumber \\ \end{aligned}$$
$$\begin{aligned} p_t= & {} \frac{1}{4} \left( \frac{r}{{r_0}}\right) ^{-\gamma } ((\gamma +1) r (\omega +1)-(\gamma +1) \omega -1)^{\gamma -4} \nonumber \\&\times \left( \gamma ^4 \omega (\omega +1) \left( r (\omega +1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. \omega \left( 2-3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) +\gamma ^3 \left( r^2 (\omega -1) (\omega +1)^2 \right. \right. \nonumber \\&\times \left. \left. \left( \frac{r}{{r_0}}\right) ^\gamma +\omega \left( \omega ^2 \left( 5 \left( \frac{r}{{r_0}}\right) ^\gamma -4\right) \right. \right. \right. \nonumber \\&-\left. \left. \left. 3 \omega \left( \frac{r}{{r_0}}\right) ^\gamma -6 \left( \frac{r}{{r_0}}\right) ^\gamma +4\right) +r (\omega +1)\right. \right. \nonumber \\&\times \left. \left. \left( \omega \left( 5 \left( \frac{r}{{r_0}}\right) ^\gamma -2\right) +\left( \frac{r}{{r_0}}\right) ^\gamma -2 \omega ^2\right) \right) \right. \nonumber \\&+\left. \gamma ^2 (\omega +1) \left( 4 r^2 \omega (\omega +1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. \omega ^2 \left( 13 \left( \frac{r}{{r_0}}\right) ^\gamma -6\right) -r \left( 11 \omega ^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \right. \nonumber \\&+\left. \left. \left. \left. \omega \left( 4 \left( \frac{r}{{r_0}}\right) ^\gamma +52\right) -3 \left( \frac{r}{{r_0}}\right) ^\gamma +2\right) \right. \right. \right. \nonumber \\&+\left. \left. \left. 12 \omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) -3 \left( \frac{r}{{r_0}}\right) ^\gamma +2\right) \right. \right. cv\nonumber \\&\left. \gamma (\omega +1)^2 \left( r^2 (5 \omega +3)\left( \frac{r}{{r_0}}\right) ^\gamma -\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma -8\right) \right. \right. \nonumber \\&-\left. \left. 2 r (3 \omega +1) \left( 3 \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) \right. \right. \nonumber \\&+\left. \left. \left. 9 \left( \frac{r}{{r_0}}\right) ^\gamma -8\right) +2 (\omega +1)^3 \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \right. \nonumber \\&-\left. \left. 3 \left( \frac{r}{{r_0}}\right) ^\gamma +r \left( 2-4 \left( \frac{r}{{r_0}}\right) ^\gamma \right) +4\right) \right) \nonumber \\ \end{aligned}$$
$$\begin{aligned} \rho {+}p_r= & {} \frac{1}{4}(1{+}\omega ) \left( \frac{r}{{r_0}}\right) ^{{-}\gamma } ((\gamma {+}1) r (\omega {+}1){-}(\gamma {+}1) \omega {-}1)^{\gamma {-}4}\nonumber \\&\times \left[ \gamma ^4 ({-}\omega ) (\omega {+}1) \left( r (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( 2{-}3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) {+}\gamma ^3 \left( 2 r^2 (\omega {+}1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{-}\left. \left. r \left( 5 \omega ^2{+}6 \omega {+}1\right) \left( \frac{r}{{r_0}}\right) ^\gamma {-}2 \omega \left( 3 \omega ^2\right. \right. \right. \nonumber \\&\times \left. \left. \left. \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) {-}\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma {+}1\right) {-}3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}2\right) \right) \right. \nonumber \\&{+}\left. \gamma ^2 (\omega {+}1) \left( 4 r^2 (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. r \left( 3 \omega ^2{-}4 \omega {-}3\right) \left( \frac{r}{{r_0}}\right) ^\gamma {+}\omega ^2 \left( 6{-}9 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right. \right. \nonumber \\&{-}\left. \left. 2 \omega \left( 7 \left( \frac{r}{{r_0}}\right) ^\gamma {-}8\right) {+}3 \left( \frac{r}{{r_0}}\right) ^\gamma {-}2\right) \right. \nonumber \\&{+}\left. 2 \gamma (\omega {+}1)^2 \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma {+}r (\omega {-}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( 6 \left( \frac{r}{{r_0}}\right) ^\gamma {-}7\right) {-}5 \left( \frac{r}{{r_0}}\right) ^\gamma {+}5\right) \right. \nonumber \\&{+}\left. 12 (\omega {+}1)^3 \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) \right] \end{aligned}$$
(16)

In Fig. 1b, the behavior of the term \(\rho +p_r\) is plotted and it is found that the term \(\rho +p_r\) is positive for \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 0.9\).

$$\begin{aligned} \rho {+}p_t= & {} \frac{1}{4} \left( \frac{r}{{r_0}}\right) ^{{-}\gamma } ((\gamma {+}1) r (\omega {+}1)-(\gamma {+}1) \omega -1)^{\gamma -4}\nonumber \\&\quad \times \left[ \gamma ^4 (-\omega ) (\omega {+}1) \left( r (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( 2-3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) {+}\gamma ^3 \left( 2 r^2 (\omega {+}1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&-\left. \left. r \left( 5 \omega ^2{+}6 \omega {+}1\right) \left( \frac{r}{{r_0}}\right) ^\gamma -2 \omega \left( 3 \omega ^2\right. \right. \right. \nonumber \\&\times \left. \left. \left. \left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) -\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma {+}1\right) -3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}2\right) \right) \right. \nonumber \\&+\left. \gamma ^2 (\omega {+}1) \left( 4 r^2 (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. r \left( 3 \omega ^2-4 \omega -3\right) \left( \frac{r}{{r_0}}\right) ^\gamma {+}\omega ^2 \left( 6-9 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right. \right. \nonumber \\&-\left. \left. 2 \omega \left( 7 \left( \frac{r}{{r_0}}\right) ^\gamma -8\right) {+}3 \left( \frac{r}{{r_0}}\right) ^\gamma -2\right) \right. \nonumber \\&{+}\left. 2 \gamma (\omega {+}1)^2 \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma {+}r (\omega -1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( 6 \left( \frac{r}{{r_0}}\right) ^\gamma -7\right) -5 \left( \frac{r}{{r_0}}\right) ^\gamma {+}5\right) \right. \nonumber \\&{+}\left. 12 (\omega {+}1)^3 \left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) \right] \nonumber \\&{+}\frac{1}{4} \left( \frac{r}{{r_0}}\right) ^{-\gamma } ((\gamma {+}1) r (\omega {+}1)-(\gamma {+}1) \omega -1)^{\gamma -4}\nonumber \\&\times \left( \gamma ^4 \omega (\omega {+}1) \left( r (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( 2-3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) {+}\gamma ^3 \left( r^2 (\omega -1) (\omega {+}1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( \omega ^2 \left( 5 \left( \frac{r}{{r_0}}\right) ^\gamma -4\right) \right. \right. \right. \nonumber \\&-\left. \left. \left. 3 \omega \left( \frac{r}{{r_0}}\right) ^\gamma -6 \left( \frac{r}{{r_0}}\right) ^\gamma {+}4\right) {+}r (\omega {+}1)\right. \right. \nonumber \\&\times \left. \left. \left( \omega \left( 5 \left( \frac{r}{{r_0}}\right) ^\gamma -2\right) {+}\left( \frac{r}{{r_0}}\right) ^\gamma -2 \omega ^2\right) \right) \right. \nonumber \\&{+}\left. \gamma ^2 (\omega {+}1) \left( 4 r^2 \omega (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega ^2 \left( 13 \left( \frac{r}{{r_0}}\right) ^\gamma -6\right) -r \left( 11 \omega ^2 \left( \frac{r}{{r_0}}\right) ^\gamma {+}\omega \left( 4 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \right. \right. \nonumber \\&{+}\left. \left. \left. \left. 52\right) -3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}2\right) {+}12 \omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) -3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}2\right) \right. \nonumber \\&{+}\left. \gamma (\omega {+}1)^2 \left( r^2 (5 \omega {+}3) \right. \right. \nonumber \\&\times \left. \left. \left( \frac{r}{{r_0}}\right) ^\gamma -\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma -8\right) -2 r \right. \right. \nonumber \\&\times \left. \left. (3 \omega {+}1) \left( 3 \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) {+}9 \left( \frac{r}{{r_0}}\right) ^\gamma -8\right) {+}2 (\omega {+}1)^3 \right. \nonumber \\&\times \left. \left. \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. -3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}r \left( 2-4 \left( \frac{r}{{r_0}}\right) ^\gamma \right) {+}4\right) \right) \end{aligned}$$
(17)

In Fig. 1c, the behavior of the term \(\rho +p_t\) is plotted and it is found that the term \(\rho +p_t\) is positive for \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.4\).

$$\begin{aligned} \rho +p_r+2p_t= & {} \frac{1}{4}(1+\omega )\nonumber \\&\times \left( \frac{r}{{r_0}}\right) ^{-\gamma } ((\gamma +1) r (\omega +1)-(\gamma +1) \omega -1)^{\gamma -4}\nonumber \\&\times \left[ \gamma ^4 (-\omega ) (\omega +1) \left( r (\omega +1) \right. \right. \nonumber \\&\times \left. \left. \left( \frac{r}{{r_0}}\right) ^\gamma +\omega \left( 2-3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) \right. \nonumber \\&+\left. \gamma ^3 \left( 2 r^2 (\omega +1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma -r \left( 5 \omega ^2+6 \omega +1\right) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&- \left. \left. 2 \omega \left( 3 \omega ^2\left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) -\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma +1\right) \right. \right. \right. \nonumber \\&-\left. \left. \left. 3 \left( \frac{r}{{r_0}}\right) ^\gamma +2\right) \right) +\gamma ^2 (\omega +1) \left( 4 r^2 \right. \right. \nonumber \\&\times \left. \left. (\omega +1) \left( \frac{r}{{r_0}}\right) ^\gamma +r \left( 3 \omega ^2-4 \omega -3\right) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. \omega ^2 \left( 6-9 \left( \frac{r}{{r_0}}\right) ^\gamma \right) -2 \omega \left( 7 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \right. \nonumber \\&-\left. \left. \left. 8\right) +3 \left( \frac{r}{{r_0}}\right) ^\gamma -2\right) +2 \gamma (\omega +1)^2 \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. r (\omega -1) \left( \frac{r}{{r_0}}\right) ^\gamma +\omega \left( 6 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \right. \nonumber \\&-\left. \left. \left. \left. \left. 7\right) -5 \left( \frac{r}{{r_0}}\right) ^\gamma +5\right) 8\right) +3 \left( \frac{r}{{r_0}}\right) ^\gamma -2\right) \right. \nonumber \\&+\left. 12 (\omega +1)^3 \left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) \right] \nonumber \\&+\frac{1}{2} \left( \frac{r}{{r_0}}\right) ^{-\gamma } ((\gamma +1) r (\omega +1)-(\gamma +1) \omega -1)^{\gamma -4}\nonumber \\&\times \left( \gamma ^4 \omega (\omega +1) \left( r (\omega +1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. \omega \left( 2{-}3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) +\gamma ^3 \left( r^2 (\omega -1) (\omega +1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. \omega \left( \omega ^2 \left( 5 \left( \frac{r}{{r_0}}\right) ^\gamma -4\right) \right. \right. \right. \nonumber \\&-\left. \left. \left. 3 \omega \left( \frac{r}{{r_0}}\right) ^\gamma -6 \left( \frac{r}{{r_0}}\right) ^\gamma +4\right) +r (\omega +1)\right. \right. \nonumber \\&\times \left. \left. \left( \omega \left( 5 \left( \frac{r}{{r_0}}\right) ^\gamma -2\right) +\left( \frac{r}{{r_0}}\right) ^\gamma -2 \omega ^2\right) \right) \right. \nonumber \\&+\left. \gamma ^2 (\omega +1) \left( 4 r^2 \omega (\omega +1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&+\left. \left. \omega ^2 \left( 13 \left( \frac{r}{{r_0}}\right) ^\gamma -6\right) -r \left( 11 \omega ^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \right. \nonumber \\&+\left. \left. \left. \omega \left( 4 \left( \frac{r}{{r_0}}\right) ^\gamma +52\right) -3 \left( \frac{r}{{r_0}}\right) ^\gamma +2\right) \right. \right. \nonumber \\&+\left. \left. 12 \omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) -3 \left( \frac{r}{{r_0}}\right) ^\gamma +2\right) \right. \nonumber \\&+\gamma (\omega +1)^2 \left( r^2 (5 \omega +3)\left( \frac{r}{{r_0}}\right) ^\gamma -\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma -8\right) \right. \nonumber \\&-\left. 2 r (3 \omega +1) \left( 3 \left( \frac{r}{{r_0}}\right) ^\gamma -1\right) \right. \nonumber \\&+\left. \left. 9 \left( \frac{r}{{r_0}}\right) ^\gamma -8\right) +2 (\omega +1)^3\left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&-\left. \left. 3 \left( \frac{r}{{r_0}}\right) ^\gamma +r \left( 2-4 \left( \frac{r}{{r_0}}\right) ^\gamma \right) +4\right) \right) \end{aligned}$$
(18)

The behavior of the term \(\rho +p_r+2p_t\) is plotted in the Fig. 1d with respect the radial coordinate r, and it is found to be positive for \(0.7\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.7\).

$$\begin{aligned} \rho {-}|p_r|= & {} \frac{1}{4} \left( \frac{r}{{r_0}}\right) ^{{-}\gamma } ((\gamma {+}1) r (\omega {+}1){-}(\gamma {+}1) \omega {-}1)^{\gamma {-}4}\\&\times \left[ \gamma ^4 ({-}\omega ) (\omega {+}1) \left( r (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&{+}\left. \left. \omega \left( 2{-}3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) {+}\gamma ^3 \left( 2 r^2 (\omega {+}1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&{-}\left. \left. r \left( 5 \omega ^2{+}6 \omega {+}1\right) \left( \frac{r}{{r_0}}\right) ^\gamma {-}2 \omega \left( 3 \omega ^2\right. \right. \right. \\&\times \left. \left. \left. \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) {-}\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma {+}1\right) {-}3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}2\right) \right) \right. \\&{+}\left. \gamma ^2 (\omega {+}1) \left( 4 r^2 (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&{+}\left. \left. r \left( 3 \omega ^2{-}4 \omega {-}3\right) \left( \frac{r}{{r_0}}\right) ^\gamma {+}\omega ^2 \left( 6{-}9 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right. \right. \\&{-}\left. \left. 2 \omega \left( 7 \left( \frac{r}{{r_0}}\right) ^\gamma {-}8\right) {+}3 \left( \frac{r}{{r_0}}\right) ^\gamma {-}2\right) \right. \\&{+}\left. 2 \gamma (\omega {+}1)^2 \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma {+}r (\omega {-}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&{+}\left. \left. \omega \left( 6 \left( \frac{r}{{r_0}}\right) ^\gamma {-}7\right) {-}5 \left( \frac{r}{{r_0}}\right) ^\gamma {+}5\right) \right. \\&{+}\left. 12 (\omega {+}1)^3 \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) \right] \\&{-}\Bigg |\frac{1}{4}\omega \left( \frac{r}{{r_0}}\right) ^{{-}\gamma } ((\gamma {+}1) r (\omega {+}1){-}(\gamma {+}1) \omega {-}1)^{\gamma {-}4}\\&\left[ \gamma ^4 ({-}\omega ) (\omega {+}1) \left( r (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&{+}\left. \left. \omega \left( 2{-}3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) {+}\gamma ^3 \left( 2 r^2 (\omega {+}1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&{-}\left. \left. r \left( 5 \omega ^2{+}6 \omega {+}1\right) \left( \frac{r}{{r_0}}\right) ^\gamma {-}2 \omega \left( 3 \omega ^2\right. \right. \right. \\&\times \left. \left. \left. \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) {-}\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma {+}1\right) {-}3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}2\right) \right) \right. \\&{+}\left. \gamma ^2 (\omega {+}1) \left( 4 r^2 (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&{+}\left. \left. r \left( 3 \omega ^2{-}4 \omega {-}3\right) \left( \frac{r}{{r_0}}\right) ^\gamma {+}\omega ^2 \left( 6{-}9 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right. \right. \\&{-}\left. \left. 2 \omega \left( 7 \left( \frac{r}{{r_0}}\right) ^\gamma {-}8\right) {+}3 \left( \frac{r}{{r_0}}\right) ^\gamma {-}2\right) \right. \\&{+}\left. 2 \gamma (\omega {+}1)^2 \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma {+}r (\omega {-}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \\&{+}\left. \left. \omega \left( 6 \left( \frac{r}{{r_0}}\right) ^\gamma {-}7\right) {-}5 \left( \frac{r}{{r_0}}\right) ^\gamma {+}5\right) \right. \\&{+}\left. 12 (\omega {+}1)^3 \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) \right] \Bigg | \end{aligned}$$

The nature of the dominate energy condition term \(\rho -|p_r|\) is plotted in Fig. 1e and it is found to be positive only for \(0.2\le \gamma <1\), \(0\le \omega \le 0.9\) and \(r\ge 1.6\).

$$\begin{aligned} \rho {-}|p_t|= & {} \frac{1}{4} \left( \frac{r}{{r_0}}\right) ^{{-}\gamma } ((\gamma {+}1) r (\omega {+}1){-}(\gamma {+}1) \omega {-}1)^{\gamma {-}4}\nonumber \\&\left[ \gamma ^4 ({-}\omega ) (\omega {+}1) \left( r (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( 2{-}3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) {+}\gamma ^3 \left( 2 r^2 (\omega {+}1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{-}\left. \left. r \left( 5 \omega ^2{+}6 \omega {+}1\right) \left( \frac{r}{{r_0}}\right) ^\gamma {-}2 \omega \left( 3 \omega ^2\right. \right. \right. \nonumber \\&\times \left. \left. \left. \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) {-}\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma {+}1\right) \right. \right. \right. \nonumber \\&{-}\left. \left. 3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}2\right) \right) \nonumber \\&{+}\left. \gamma ^2 (\omega {+}1) \left( 4 r^2 (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. r \left( 3 \omega ^2{-}4 \omega {-}3\right) \left( \frac{r}{{r_0}}\right) ^\gamma {+}\omega ^2 \left( 6{-}9 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right. \right. \nonumber \\&{-}\left. \left. 2 \omega \left( 7 \left( \frac{r}{{r_0}}\right) ^\gamma {-}8\right) {+}3 \left( \frac{r}{{r_0}}\right) ^\gamma {-}2\right) \right. \nonumber \\&{+}\left. 2 \gamma (\omega {+}1)^2 \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma {+}r (\omega {-}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( 6 \left( \frac{r}{{r_0}}\right) ^\gamma {-}7\right) {-}5 \left( \frac{r}{{r_0}}\right) ^\gamma {+}5\right) \right. \nonumber \\&{+}\left. 12 (\omega {+}1)^3 \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) \right] \nonumber \\&{-}\Bigg |\frac{1}{4} \left( \frac{r}{{r_0}}\right) ^{{-}\gamma } ((\gamma {+}1) r (\omega {+}1){-}(\gamma {+}1) \omega {-}1)^{\gamma {-}4}\nonumber \\&\times \left( \gamma ^4 \omega (\omega {+}1) \left( r (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( 2{{-}}3 \left( \frac{r}{{r_0}}\right) ^\gamma \right) \right) {+}\gamma ^3 \left( r^2 (\omega {-}1) (\omega {+}1)^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega \left( \omega ^2 \left( 5 \left( \frac{r}{{r_0}}\right) ^\gamma {-}4\right) \right. \right. \right. \nonumber \\&{-}\left. \left. \left. 3 \omega \left( \frac{r}{{r_0}}\right) ^\gamma {-}6 \left( \frac{r}{{r_0}}\right) ^\gamma {+}4\right) {+}r (\omega {+}1)\right. \right. \nonumber \\&\times \left. \left. \left( \omega \left( 5 \left( \frac{r}{{r_0}}\right) ^\gamma {-}2\right) {+}\left( \frac{r}{{r_0}}\right) ^\gamma {-}2 \omega ^2\right) \right) \right. \nonumber \\&{+}\left. \gamma ^2 (\omega {+}1) \left( 4 r^2 \omega (\omega {+}1) \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \nonumber \\&{+}\left. \left. \omega ^2 \left( 13 \left( \frac{r}{{r_0}}\right) ^\gamma {-}6\right) \right. \right. \nonumber \\&{-}\left. \left. r \left( 11 \omega ^2 \left( \frac{r}{{r_0}}\right) ^\gamma {+}\omega \left( 4 \left( \frac{r}{{r_0}}\right) ^\gamma \right. \right. \right. \right. \nonumber \\&{+}\left. \left. \left. \left. 52\right) {-}3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}2\right) {+}12 \omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) \right. \right. \nonumber \\&{-}\left. \left. 3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}2\right) {+}\gamma (\omega {+}1)^2 \left( r^2 (5 \omega {+}3) \right. \right. \nonumber \\&\times \left. \left. \left( \frac{r}{{r_0}}\right) ^\gamma {-}\omega \left( \left( \frac{r}{{r_0}}\right) ^\gamma {-}8\right) \right. \right. \nonumber \\&{-}\left. \left. 2 r (3 \omega {+}1) \left( 3 \left( \frac{r}{{r_0}}\right) ^\gamma {-}1\right) \right. \right. \nonumber \\&{+}\left. \left. 9 \left( \frac{r}{{r_0}}\right) ^\gamma {-}8\right) {+}2 (\omega {+}1)^3 \right. \nonumber \\&\times \left. \left. \left( r^2 \left( \frac{r}{{r_0}}\right) ^\gamma \right. {-}3 \left( \frac{r}{{r_0}}\right) ^\gamma {+}r \left( 2{-}4 \left( \frac{r}{{r_0}}\right) ^\gamma \right) {+}4\right) \right) \Bigg |\nonumber \\ \end{aligned}$$
(19)

The nature of the second dominate energy condition term \(\rho -|p_t|\) is plotted in Fig. 1f and it is found to be positive only for \(0.2\le \gamma <1\), \(0\le \omega \le 0.9\) and \(r\ge 1.6\).

Fig. 1
figure 1

a The energy density \(\rho \) is positive for \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 0.9\). So in this figure we plotted the energy density with respect to r and \(\omega \) taking \(\gamma = 0.5\). b The first NEC term \(\rho +p_r\) is obtained to be positive for \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 0.9\), so in this figure we plotted \(\rho +p_r\) with respect to r for \(\gamma = 0.5\) and \(\omega >0\). c The second NEC term is found to be positive for \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.4\), so, in this figure we plotted \(\rho +p_t\) with respect to r for \(\gamma =0.5\) and \(\omega \ge 0\). d The term \(\rho +p_r+2p_t\) is found to be positive for \(0.7\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.7\). So, this figure is plotted for the term \(\rho +p_r+2p_t\) with respect to r for \(\gamma =0.8\), \(\omega \ge 0\) and \(r\ge 1.7\). e This figure indicates that the behavior of the dominant energy condition term \(\rho -|p_r|\) with respect to r and it is found to be positive for \(\gamma =0.5\). f This figure indicates that the behavior of the dominant energy condition term \(\rho -|p_t|\) with respect to r and it is found to be positive for \(\gamma =0.5\). g The anisotropy parameter (\(\triangle \)) is found to be positive for \(r>0.9\) and \(\omega >0\). In this figure, we have plotted \(\triangle \) with respect to \(r>0.9\) and \( \omega >0\), taking \( \gamma =0.5\), which shows the repulsive nature of geometry

5 Results and discussion

In literature, violation or non-violation of energy conditions in the context of wormhole solutions is explored using the framework of various theories of gravity. The f(R) theory of gravity is one among these theories. In this work, considering the shape function \(b(r)=r_0\big (\frac{r}{r_0}\big )^\gamma \), where \(0<\gamma <1\), the function f(R) is derived as \(f(R)=k ((\gamma +1) r (\omega +1)-(\gamma +1) \omega -1)^{\frac{\gamma ^2-1}{\gamma +1}}\), where k is constant and energy condition terms are computed in Sect. 4. For simplicity, \(k=1\) is considered. This section is devoted to the analysis of energy conditions which include null energy condition (NEC), weak energy condition (WEC), strong energy condition (SEC) and dominant energy condition (DEC). The spherical regions are determined where these energy conditions are valid. The results obtained are as follows:

The energy density is examined and found to be positive for \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 0.9\). Otherwise, it is found to be negative or imaginary. In Fig. 1a, the energy density is plotted with respect to r and \(\omega \), taking \(\gamma = 0.5\). Hence, from the Fig. 1a, we confirm that the energy density can not be negative, if we assume the size of the throat of the wormhole is \(r_0>0.9\) and the range of the parameters \(\gamma \) and \(\omega \) are \(0.43\le \gamma <1\) and \(\omega \ge 0\) respectively. Subsequently, the null energy condition terms are examined. The first NEC term \(\rho +p_r\) is obtained to be positive for \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 0.9\), while second NEC term is found to be positive for \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.4\). Hence, to satisfy NEC, the common region is \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.4\). So, the NEC will be satisfied within this range \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.4\). NEC terms are plotted in Fig. 1b, c for \(\gamma = 0.5\). Subsequently, from the Fig. 1a–c, we observed that the WEC will be satisfied for the range \(0.43\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.4\). Further, the nature of strong energy condition (SEC) term \(\rho +p_r+2p_t\) is observed and it is found to possess positive values for \(0.7\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.7\). This SEC term is plotted in Fig. 1d using \(\gamma =0.8\), so from the Fig. 1b–d, it is observed that the SEC will be satisfied for the range \(0.7\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 1.7\). Now, the dominant energy condition terms \(\rho -|p_r|\) and \(\rho -|p_t|\) are analyzed and found to be positive only for \(0.2\le \gamma <1\), \(0\le \omega \le 0.9\) and \(r\ge 1.6\). These terms are also plotted in Fig. 1e, using \(\gamma =0.5\).

Hence, from the above discussion we concluded, NEC, WEC, SEC and DEC hold for \(0.7\le \gamma <1\), \(0\le \omega \le 0.9\) and \(r\ge 1.7\). Validation of all energy conditions indicates that there is no exotic matter present in the region. Therefore, from this study, we could say that the presence of exotic matter is not a necessary condition to construct a traversable wormhole in modified f(R) gravity. That means the construction of traversable wormhole could be possible without requirement of exotic matter in modified f(R) gravity. Finally, the anisotropy parameter describing the nature of geometry of wormhole is also investigated and found to be negative for \(0.2\le \gamma <1\), \(\omega \ge 0\) and \(r\ge 0.9\). It is also plotted in Fig. 1g. This depicts the attractive nature of geometry inside the wormhole. Thus, for \(r\ge 1.7\), the wormholes are filled with normal matter and possess attractive geometry. These results are also summarized in Tables 1 and 2.

6 Conclusion

This work is focussed on the exploration of wormhole solutions using the framework of f(R) gravity. The shape function \(b(r)=r_0(\frac{r}{r_0})^\gamma \), where \(0<\gamma <1\), defining the shape of wormhole is considered. Using this shape function and the equation of state \(p_r=\omega \rho \), the function f(R) is computed as \(f(R)=k \bigg [(\gamma +1)^{\frac{3-\gamma }{2-\gamma }}(\omega +1)r_0^{\frac{\gamma +1}{\gamma -2}}\frac{1}{2} R^{\frac{1}{\gamma -2}}-(\gamma +1) \omega -1\bigg ]^{\gamma -1}\), where k is constant, which satisfies the viability conditions for f(R) models. In general relativity, the violation of null energy condition (NEC) is necessary for the existence of wormhole solutions [1]. However, in the present study NEC is satisfied for \(r\in [1.4,\infty )\). WEC, SEC and DEC all are satisfied for \(r\in [1.7,\infty )\). Thus, if we consider the size of the throat \(r_0\) of the wormhole either \(r_0=1.7\) or \(r_0>1.7\), then all the energy conditions are satisfied throughout the wormhole geometry. Further, the wormholes possess repulsive gravitational structure filled with non-exotic matter near the throat. These observed properties of geometry, matter and energy conditions ensure the existence of wormhole solutions without violation of energy conditions away from the throat for \(r\ge 1.7\) which depicts the significance of the work.

Table 1 Summary of results
Table 2 Ranges for the satisfaction of energy conditions