Abstract

In the present work, we investigate the existence of compact star model in the background of gravity theory, where represents the Ricci scalar and refers to the energy-momentum tensor trace. Here, we use Karmarkar condition for the interior stellar setup so that a complete and precise model following the embedding class-I strategy can be obtained. For this purpose, we assume anisotropic matter contents along with static and spherically symmetric geometry of compact star. As Karmarkar embedding condition yields a relationship of metric potentials, therefore we assume a suitable form for one of the metric components as , where and represent constants and is a free parameter, and evaluate the other. We approximate the values of physical parameters like , and by utilizing the known values of mass and radius for the compact star Vela X-1. The validity of the acquired model is then explored for different values of coupling parameter graphically. It is found that the resulting solution is physically interesting and well-behaved.

1. Introduction

General relativity (GR) is regarded as the most promising theory which has extremely good compatibility with the cosmic observations. In the background of GR, the examination of structural properties and the dynamic nature of high-density compact objects like neutron stars has gained significant interest in recent decades. Pulsars and other high magnetic-field spinning stars are some of the high-density compact objects that are regarded as a major discovery in astrophysics. Because of the lack of detailed description of such objects, it is considered that the matter of these compact objects can include composite subatomic particles. Consequently, the basic problem of astrophysics is to determine the configuration and formation of the fluid distribution in the internal setup of spherical objects. The first two precise solutions of Einstein field equations depicting a stable spherically symmetric configuration are found by Schwarzschild [1, 2] which further inspired many researchers to find the exact solutions of Einstein field equations using perfect matter [310]. Earlier, the spherically symmetric distribution of matter was thought to be made of isotropic fluid where . In 1992, Jeans [11] proposed the presence of anisotropy factor which highlights a deeper understanding of the distribution of matter under intense and peculiar conditions occurring within stellar objects. Ruderman [12] suggested that, at a very high density, the stars may show the anisotropic behavior where nuclear interaction is relativistic. There are several causes of anisotropy within a stellar structure like the existence of a superfluid, solid core, a combination of various liquids, phase fluctuations, magnetic field, and density [1315]. Bowers and Liang [16] investigated the characteristics of a fluid distribution (which is relativistic anisotropic) inside static spherically symmetric configuration. The possible effects of anisotropy on the stability of compact objects were investigated by Dev and Gleiser [1719]. They showed that the difference in pressures influences the physical properties of configuration, mass, and areas of excessive pressure. Herrera and Santos [20] explained the impact of localized anisotropy in self-gravitating objects. Moreover, this work has been extended for all feasible isotropic, anisotropic, and charged anisotropic solutions by adopting a general procedure for the spherically symmetric metric [21, 22].

Although GR is a successful theory, it faces certain obstacles after the cosmologists unfolded the scenario of dark universe. It is argued that observational data of many experiments [2325] is evident that the universe is expanding in its current state. This expansion was actually discovered by the two sovereign projects, namely, Supernova Cosmology Project and High-Z Supernova Search Team in 1998. This observation about the cosmological expansion of the universe has been perceived as exceptionally crucial mystery in modern physics. It is claimed that the major cause behind this expansion is the presence of some ambiguous dominant energy named as dark energy (DE). To study this expansion and the concept of DE, there are two ways to modify action of GR by modifying either the matter Lagrangian or the gravitational sector. Modifications of gravitational part result in alternate gravity theories like theory, where is the Ricci scalar, , where and are, respectively, energy-momentum tensor trace and torsion scalar, Gauss–Bonnet theory, Cartan gravity, Brans–Dicke framework, Rosen bimetric and M-theory, etc. In this respect, an interesting and significant extension of GR has been presented by Harko et al. [26], which involves a non-minimal coupling of curvature and matter field. This theory has been used in studying various cosmic aspects like thermodynamical laws, cosmological reconstruction, energy conditions, etc. [2730]. Shabani and Farhoudi [31] elaborated the “weak field limit” by using a dynamical procedure. They analyzed the cosmological solutions of theory by taking into account some parameters like Hubble parameter and EoS parameter. Noureen and Zubair [32] studied the instability of spherically symmetric star in gravity in the presence of anisotropic fluid distribution.

Different approaches have been developed to formulate the analytical solutions of GR equations. One of them is to use the embedding of a four-dimensional curved spacetime into a higher-dimensional flat spacetime. Such type of embedding has proved to be a successful technique in the acquisition of several new exact models in cosmology and astrophysics [33]. Embedding approach, in fact, generates an extra differential equation establishing an interrelation between metric potentials which is known as Karmarkar condition [34]. Any valid assumption for one of the metric potentials can generate the whole solution [35, 36] and is regarded as class-I solution. Here, it is worthwhile to mention that the Schwarzschild solutions for interior and exterior geometry are of class-I and class-II, respectively [37]. In literature, numerous stellar models have been utilized to obtain different new classes of cosmologically viable embedding class-I solutions by assuming valid expressions of metric function. In this respect, various authors applied Karmarkar condition to model compact stars in the framework of GR as well as its different modified versions. Maurya and his collaborators [3845] studied compact stars evolving under different backgrounds and developed the compact object models using Karmarkar condition. They constructed well-behaved anisotropic solutions representing realistic compact stars like Her X-1, RXJ 1856-37, LMC X-4, EXO 1785-248, 4PSR J1903 + 327, and 4 U 1820-30. However, for anisotropic matter, numerous cosmic models for different compact objects [35, 36, 41, 42, 4654] are considered by assuming physically rational expressions of line elements to test distinctive newly defined models of realistic results in class-I embedding.

Many researchers worked on stellar modeling under Karmarkar condition [50, 51, 55]. Malaver [56] considered different forms of metric potentials to model compact star by using equation of state. Jasim et al. [57] studied a model for anisotropic fluid sphere under general relativity. Singh et al. [53] studied a new static model for anisotropic fluid distribution using Karmarkar condition in GR. Abbas et al. [58] have explored the modeling of quintessence compact stars satisfying Karmarkar condition. Naidu et al. [59] have checked the physical properties of radiating and collapsing stars using embedded class spacetime. Singh et al. [52] have also found the models of compact stars using non-flat embedded class-I spacetime. Zubair and Abbas [60] studied the interior models of some specific compact stars in the background of gravity theory using Krori and Barua solution [61]. Zubair et al. [62] also discussed the possible formation of compact stars using spherically symmetric metric in gravity theory. Moraes [63] investigated the “stellar equilibrium configurations” of compact stars in gravity theory using hydrostatic equilibrium equation and also verified the physical properties of the stars. Recently, Zubair and his collaborator [64] discussed the existence of spherical compact stellar models in theory using anisotropic matter. Some other remarkable work has been done on compact stars under modified gravity theories [6570].

Being inspired from this literature, we shall extend these works in theory. In this paper, we shall work on the modeling of compact star in the context of modified theory. To pursue this, we shall assume static and spherically symmetric geometry with anisotropic distribution of matter. In Section 2, we shall define the basics of gravity theory and present its field equations. In Section 3, we shall define the famous Karmarkar condition and present the corresponding embedding class-I solutions. Section 4 shall provide the matching of interior and exterior geometries via junction conditions and the determined values of unknown parameters. In Section 5, we shall provide the graphical analysis of the obtained model for compact star Vela X-1 against different . Here, we shall also check the physical stability of the achieved model. The last section shall provide a summary of major conclusions drawn.

2. Basics of Modified Framework and Field Equations

In this section, we shall briefly define the basics of theory and its field equations. The general action of the modified gravity theories is described as [26]where and herein we shall set for further calculations. Also, the symbols and represent the Lagrangian matter and determinant of metric tensor, respectively. By taking the variation of action (1) with respect to the metric tensor , we get the following form of field equations:where represents the Ricci tensor and stands for covariant derivative while and denote the derivatives with respect to Ricci scalar and energy-momentum tensor trace , respectively. Here, the introduced terms and are linked with the stress-energy tensor and are defined as

It is argued that, in the framework of theory, the tensor does not remain conserved as compared to other modified gravity theories [71, 72] and hence gives rise to the following conservation equation:

For the present work, let us assume anisotropic fluid distribution which is defined aswhere and both represent the four-velocity vectors. Also, denotes the matter density while and stand for radial and tangential pressures, respectively. For simplicity purposes, here we consider a simple and viable form of generic function given by , where and . Consequently, its final form can be written as

Further, we consider the spherically symmetric spacetime representing the internal structure of static celestial object and which is given by line element:where and both represent the metric potentials. Using equation (2) along with the metric defined in equation (7), we get the following form of field equations:where represents anisotropic function and is defined as .

3. Karmarkar Condition and Embedding Class-I Compact Star Model

In this section, we shall define the well-famed Karmarkar condition and the corresponding embedding class-I solutions in theory. Eiesland provided [73] the necessary and sufficient condition for Riemannian space of class-I in the following form:

By using the above equation for spherically symmetric line element, it is easy to find a differential equation in terms of and as follows:

The integration of equation (13) yieldswhere and are introduced as integration constants.

With the help of the above equation, one can write the anisotropy function as follows:

By imposing isotropy condition, i.e., , it gives us three possibilities to find solutions:(1) and (2)Schwarzschild interior solution(3)Kohler-Chao cosmological solution

It is interesting to mention here that the first two solutions do not give any new and physical interesting result but the third one is a cosmological solution (as the pressure disappears at ).

Now, we shall find a compact star model filled with anisotropic fluid by taking Karmarkar condition into account. For this purpose, we assume the following form for one of the metric potentials [74]:where and represent arbitrary constants while is a free parameter. It is interesting to mention here that this choice of gravitational potential depicts finite, regular, and increasing behavior. Consequently, we get the following expression for the other metric potential:where

Hence, the embedding class-I solution can be written as

Now, by using the values of both metric potentials and in equations (8)–(11), we get the following expressions of matter density and radial and tangential pressures, respectively:where

4. Evaluation of Constants Using Junction or Matching Conditions

Here, we shall determine the values of arbitrary constants present in the obtained model using junction conditions. The matching conditions play a significant role in studying stellar objects by combining the internal and external geometries on the surface of the compact object . These conditions ensure that crucial characteristics of stellar development are examined smoothly. We have to match smoothly Schwarzschild metric which is taken as outer spacetime with the inner spacetime to attain the comprehensive set of parameters in terms of mass “M” and radius “R” of the star. The well-known Schwarzschild metric which is taken as exterior solution, for the present work, can be written aswhere , , and .

The contributions introduced by the model from the geometric and material sectors can significantly change the external spacetime encircling the compact object interior and even can avoid an appropriate connection by introducing unusual behaviors on the surface. In addition, vacuum approaches in the cases of modified gravity theories may or may not correlate with those of general relativity. Matching conditions also play their vital role in finding the mass and radius of the stellar model. In this regard, Senovilla [75] investigated the familiar Israel-Darmois [76, 77] matching conditions for gravity theory, taking into account the distribution of isotropic and anisotropic compact materials, and claimed that, in the domain of theory, these junction conditions are not fulfilled at all. In the framework of gravity theory, the presence of geometric and material modifications makes the situation more complex. In scenario, the matter contribution is from the trace of energy-momentum tensor but the matter contribution is quite distinct from that of general relativity in which Ricci scalar gives us the geometrical contribution which is coupled by the parameter .

It is worthy to point here that a radial coordinate condition, i.e., , must be implemented for avoiding the possible finding of black hole configuration. The junction conditions for the continuity of metric components and are defined as

By plugging all the corresponding values in equation (23), we obtain the following relations:

Here, the first two equations are linked with the external curvature continuity while the third equation is associated with the size of compact object. Due to the lack of free material substance, the continuity of the outer curvature is guaranteed, meaning that the boundary part is entirely regular and smooth. Otherwise, the presence of this material would lead to discontinuity. Using all these relations, we find the values of involved parameters as follows:where is a free parameter while for parameters and , we shall use the observed values of a well-known realistic compact star.

5. Physical Properties

In the following subsections, the physical requirements of the anisotropic stellar model will be examined graphically. For this, we take the compact star Vela X-1 into account whose mass and radius are already defined [78] and, consequently, the values of parameter , and will be calculated from equations (25)–(27). These values are summarized in the form of Table 1.

5.1. Regularity of Metric Potentials, , , , and

The graphical representation of metric potentials is provided in Figure 1 which shows that both metric components are physically acceptable; i.e., they admit regular, positive, and increasing behavior throughout surface of star for all chosen values. It is argued that both radial and transverse pressure components must be equal to satisfy the regularity at the center, i.e., , which leads toand hence affirms the regularity at . Also, the central density can be described aswhich indicates that the density behaves positively at the center.

Figure 2 shows the decreasing but positive behavior of towards the outer surface of star and which has maximum value at the center, for small and large values of .

Further, the behavior of both pressures (radial and tangential) is shown in Figure 3 which indicates that both pressure components exhibit positive decreasing behavior from the center to the outer surface of the star. From Figure 4, the behavior of anisotropy parameter can be observed which indicates that this function vanishes at the center. It is seen that the anisotropy parameter has positive (non-vanishing) increasing behavior from the center towards the outer surface of star when small values of are taken into account, while, for larger values of , it shows negative behavior which is non-realistic. It is worthy to mention here that the non-negative condition of anisotropy parameter is completely fulfilled for for . Further, the graphical illustration of gradients is shown in Figures 5 and 6. It is seen that the gradients of , and are decreasing function of and exhibit negative behavior and, consequently, the conditions , and are satisfied for all chosen values of .

5.2. Energy Conditions

Some special restrictions known as energy conditions must be verified for physically valid matter fields. In the context of gravity theory, Chakraborty [79] verified the authenticity of the energy conditions by investigating these constraints in a general way for perfect fluid spheres. In order to examine the viability of proposed model, we shall explore these conditions, namely, null energy condition (NEC), weak energy condition (WEC), and strong energy condition (SEC), graphically which are defined as

The graphical behavior of these energy conditions by taking different small and large values of is provided in Figure 7 which indicates that these energy conditions are satisfied throughout the star surface for all chosen values of .

5.3. Mass Function, Red-Shift, and Compactness Parameter

Compact stellar structure’s mass to radius relation is defined as

For the obtained stellar system, the graphical interpretation of mass function can be seen in the left plot of Figure 8 which shows that it has regularity at the center and exhibits monotonically increasing function versus for . Now, we define the compactness parameter of the stellar function as follows:

The graph of compactness parameter is provided in the right plot of Figure 8 which indicates that it exhibits positive and increasing behavior versus for small as well as large choices of . The red-shift function of self-gravitating system is defined as

The graphical behavior of surface red-shift function is shown in Figure 9 which indicates that it is a monotonically decreasing function of and hence meets all physical requirements for a realistic compact.

5.4. Tolman–Oppenheimer–Volkoff (TOV) Equation or Equilibrium Condition

The non-conservative property of gravity gives rise to a confusion that our existing stellar model is in hydrostatic equilibrium or not. Thus, in order to make sure of proper physical conduct, the usual conservation law (identity of Bianchi) can be revised; that is,

In the context of gravity, we acquire the TOV equation for anisotropic fluid sphere by using the above equation and which is defined aswherewhere , and represent, respectively, the force contributions coming from gravitation, anisotropy, and hydrostatic force. For a stable anisotropic configuration, the sum of all the forces must be equal to zero (as can be seen from equation (35)). Their graphical behavior of these forces depicts that anisotropic and hydrostatic forces have a combined positive effect, while the gravitational force has a repellent and dominant behavior. Hence, all three forces collectively counterbalance each other’s effect and leave the stellar configuration in equilibrium state. The graphical behavior of these forces is provided in Figure 10.

5.5. Stability Condition Analysis via Causality Conditions

Here, we shall explore radial and transverse velocities of sound and the stability condition of the proposed stellar system graphically. For a stable stellar model of anisotropic configuration, the velocities should be less than 1; i.e., and [80]. These velocities are defined as

Their plots are shown in Figure 11 which indicate that they satisfy the causality condition. Moreover, there is another method to check the stability of a compact object, known as Herrera cracking condition [6], which suggests that both potentially stable and unstable systems can be determined by taking into account some variations in the distribution of sound propagation. The difference of both velocities should be . The plot of Herrera cracking condition is shown in Figure 12 which indicates that the obtained stellar system satisfies this condition for small choices of but is greater than 0 for larger choices.

5.6. Stability Analysis via Adiabatic Index

The adiabatic index examination is crucial for the configuration of a compact body with spherically symmetric configuration because it defines the intensity of the state equation at a defined density [81, 82]. Several researchers [60, 83] have provided the most exquisite way to examine the stability of symmetrical compact object in the face of insignificant radial adiabatic disruption by following the pioneering work of Chandrasekhar [84]. Heintzmann and Hillebrandt [85] proposed that a spherically symmetric model will be stable throughout if the condition holds, where is the adiabatic index and is defined as

The graphical description of adiabatic index is shown in Figure 13 which shows that the stability under adiabatic index is acquired for the present model. Thus, it can be concluded that the model is stable everywhere inside the stellar object because is greater than for all chosen values.

5.7. Equation of State Parameter

In this subsection, we shall define and check the behavior of radial and transverse equation of state (EoS) parameters. The radial and tangential EoS parameters are defined by the following expressions:where and denote the radial and tangential pressures while denotes density of the anisotropic fluid. The graphical analysis of these parameters is provided in Figure 14 which shows that both components have monotonically decreasing behavior with respect to . The radial and transverse components are less than 1 for the smaller choices of . The transverse component satisfies the condition for the range only when larger choices of are taken into account.

6. Concluding Remarks

In this paper, we have discussed the modeling of static, spherically symmetric stellar object filled with anisotropic matter distribution in the framework of theory. For obtaining closed solution to the dynamical equations, we have considered the simple linear form of generic function and utilized the well-known Karmarkar and Pandey-Sharma conditions for having embedding class-I spacetime. We have found a relationship between metric potentials and and then by assuming an interesting form of metric component , we have evaluated the resulting form of which leads to a special class of anisotropic spherical compact object. In order to check the physical validity of computed stellar solutions, one need to fix the values of involved constant parameters. For this reason, we have utilized the junction conditions across the boundary by taking Schwarzschild geometry as outer spacetime and found the values of unknown parameters which are summarized in Table 1. Here, we have applied the observed mass and radius of realistic compact star, namely, Vela X-1. For checking different physical characteristics of the constructed model, we have taken some large as well as small values of like , and 10. The numerical values of central density, surface density, and central pressure are shown in Table 2. The graphically examined essential physical properties of the proposed stellar object can be summarized as follows:(i)The behavior of metric potentials and indicated that these are monotonically increasing function of and well-behaved for all values of . Both components fulfill the requirement of a realistic stellar configuration.(ii)The graphical analysis of and pressure components depicted that these all are monotonically decreasing (with maximum value at the center) and positive versus for different values of . Further, the graphical illustration of anisotropic function showed that it is increasing radially outwards to the star surface while zero at the center, only for small choices of . For large values, anisotropic function exhibited negative behavior versus radial coordinate. It is argued that the positive refers to , which indicates the outward-directed anisotropic force while negative refers to inward-directed anisotropic force. The outward-directed anisotropic force balances the gravitational force and hence corresponds to a stable realistic star configuration. Thus, in the present study, we can conclude that, for small choices, the anisotropic pressure is repulsive and hence supports the structure of compact object while for large values, it may not be stable. Further, the graphical behavior of density and pressures gradients is shown in Figures 5 and 6 which indicates that all these gradients are negative and decreasing in nature.(iii)The graphical illustration of energy conditions indicated that these bounds are satisfied for chosen values of .(iv)The behavior of mass function, compactness parameter, and red-shift function has been examined graphically. The graphical behavior of mass and compactness parameter indicated that these functions are regular, positive in nature, and gradually increasing function of while red-shift function showed positive but decreasing behavior. It is worthy to point out here that, in our case, red-shift satisfies the Bohmer and Harko condition; i.e., for anisotropic matter.(v)It has been shown that the dominating gravitational force is balanced by the combined effect of the other two forces (anisotropic and hydrostatic force) which gives us a stable configuration. Hence, our model has satisfied the Tolman–Oppenheimer–Volkoff equilibrium condition as shown graphically.(vi)We have also examined the stability through causality condition which indicated that both radial and transverse velocities are in accordance with their respective conditions to be in equilibrium. Further, we have checked the validity of Herrera’s cracking condition graphically which also confirmed the stability of our proposed stellar model.(vii)Moreover, the stability of the stellar model has also been analyzed by the well-known adiabatic index. It can be from the graphical behavior that this satisfied the condition, i.e., , throughout the stellar evolution.(viii)Lastly, we have explored the behavior of equation of state parameters. It has been seen that both radial and tangential parameters are less than 1 and showed decreasing behavior for all values of using the data of compact star Vela X-1.

From all the above discussion, it can be concluded that our defined model is stable, physically realistic, and interesting.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The authors, M. Zubair and Hina Javaid, thank the Higher Education Commission, Islamabad, Pakistan, for its financial support under the NRPU project with grant number 5329/Federal/NRPU/R&D/HEC/2016. Saira Waheed thanks Prince Mohammad Bin Fahd University, Al Khobar 31952, Saudi Arabia, for financial support.