Abstract
We present a systematic method for generating solutions of charged, spherically symmetric compact objects in modified f(R) gravity. The stellar interior is modeled with an anisotropic matter distribution, allowing distinct radial and tangential stresses. The modified field equations initially provide three relations among five unknown functions. To construct a consistent system, we impose a linear equation of state together with two geometric constraints: the conformally flat condition (vanishing Weyl tensor) and the Karmarkar condition associated with class-I embedding. These conditions lead to a closed expression for the energy density, which serves as a generating function for the model. Within this framework, the radial pressure, tangential pressure, and anisotropy factor naturally emerge as key drivers in the generation of solutions. The resulting Riccati equation is transformed into a second-order linear homogeneous form, enabling explicit construction of stellar models. Our analysis demonstrates that once a particular solution is identified, entire families of generating solutions can be obtained in f(R) gravity, with the anisotropy factor playing a central role in their formulation.
Citation: Noureen I, Mardan SA, Zahra A, Anwar I (2026) Generating solutions for charged compact configurations in f(R) gravity. PLoS One 21(7): e0349625. https://doi.org/10.1371/journal.pone.0349625
Editor: Zhenhua Li, Henan Polytechnic University, CHINA
Received: November 18, 2025; Accepted: May 2, 2026; Published: July 6, 2026
Copyright: © 2026 Noureen et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the paper and its Supporting Information files.
Funding: This article has been produced with the financial support of the European Union under the REFRESH – Research Excellence For Region Sustainability and High-tech Industries project number CZ.10.03.01/00/22_003/0000048 via the Operational Programme Just Transition.
Competing interests: The authors have declared that no competing interests exist.
1 Introduction
Gravity is the fundamental and dominant force that governs the formation, structure, and evolution of stellar bodies. It dictates how stars develop, stabilize, and eventually reach their final stages of evolution. The study of the universe is always an interesting field for researchers and is a highly focused area. A stellar body is in a stable condition when outer forces and the inner-directed gravitational pull of the system are in balance. The existence of neutron stars, black holes, or white dwarfs is the result of the gravitational collapse of compact objects. These stellar remnants are extremely dense in nature [1].
General theory of relativity (GR) introduced by Albert Einstein [2] provides a new conception of the universe. According to Einstein’s theory, it is dynamical system susceptible of mathematical modelling and physical measurements. Before that, it was considered that time and space are the only universal components of Newtonian mechanics. The theory of GR gives coherent and comprehensive information or explanation about space, matter, time, and gravity in weak gravitational fields.
Although GR has been a tremendous success in explaining the gravitational phenomena, several unsolved issues in both contemporary astrophysics and cosmology have led to the exploration of alternative theories of gravity. The late-time accelerated expansion of the universe, which is observable and has not been fully understood, including the dark matter, dark energy, and singularity formation during gravitational collapse, provides evidence that GR needs amendment in the strong-field and large-scale regimes [3,4]. Particularly, gravitational theories beyond GR are best tested by examining compact objects, including neutron stars and other compact stellar forms, in which the high curvature effects are important. These and other arguments have generated the growing interest in higher-order theories of gravity which can include corrections due to higher-order curvature and provide a more comprehensive account of gravitational interactions still consistent with observational constraints [5–7].
The present illustration of the universe indicates some clarification in theoretical work, which fulfills all the requirements and strongly necessitates alternative gravitational theories. Alternate modified theories are based on enlargement and corrections to GR. However, an extended theory of gravity is validated only if it has negligible corrections in weak field regimes. In other words, extended theories of gravity are physically acceptable only if their results reduce to GR in limiting cases [8–11]. A large number of alternative theories of gravity have been proposed till now; they may carry higher order curvature invariants, scalar tensor gravities are also very significant as well as introduction of extra spatial dimensions may be utilized to interpret large scale structures. Such alternative theories include f(R), f(T), f(R,T), f(G,T) gravities, Kaluza Klein theory, Brans Dicke theory etc [12–16].
The f(R) gravity is one of the extended theories, which is an evident and highly motivated generalization of GR: it is achieved by replacing the Ricci scalar R in the Einstein Hilbert action by a nonlinear form f(R). This change adds the higher-order curvature terms, which are important in the strong gravitational fields, e.g., those of compact stellar objects. The structure of f(R) gravity is especially attractive since it is capable of successfully explaining cosmic acceleration and attempting reasonable corrections to GR without introducing extra exotic matter fields. Moreover, it enables the creation of physically realistic models of stars and makes it easier to study the major characteristics of anisotropy, stability, and energy states. The fact that the appropriate functional forms of f(R) are flexible enough allows the construction of models that are consistent in theory and have the right observational constraints, thus being a good and solid choice to study the structure and stability of compact objects in modified gravity [17]. Buchdahl [18], who proposed a pioneering extension of Einstein’s theory, investigated nonlinear gravitational Lagrangians in which the Ricci scalar R in the Einstein–Hilbert action is replaced by a more general function of curvature. This early work laid the conceptual foundation of modern modified gravity theories and demonstrated that higher-order curvature terms may have important consequences in cosmology and gravitation. In particular, he showed that nonlinear functions of R could provide viable alternatives to standard GR in describing large-scale cosmic dynamics.
Many authors have modified Einstein Hilbert (EH) action for this theory by using higher-order curvature invariants [19–21] given as follows:
where g stands for determinant of the metric, represents the coupling constant and
denote the matter field action. Variation of above action through metric variational principle yields covariant form of modified field equations (FEs). A large number of researchers have made great contributions in the study of modified gravity theories, both through the development of analytical and numerical models to investigate the structure and stability of compact objects. Their works form a solid background to explore the impact of features like anisotropy, charge, and curvature corrections on stellar equilibrium in alternative gravity models [22–25].
In relativistic astrophysics the charged gravitating sources is known as important ingredient to study impact of electromagnetic effects that can be induced through Maxwell source. The research of such stellar compact objects, the electromagnetic FEs in static spherically space-times provide the basis for investigation of compact sources comprising heat conduction that covers energy dissipation. Maxwell equations exhibits linearity whereas Einstein equations are highly non-linear differential equations of second order. They are solved for the system with symmetry [26]. For static spherically symmetric interior space-time Solutions of the Einstein-Maxwell FEs is very important to study combined of gravitational pull and electromagnetic forces. It is important to note that compact objects such as neutron stars, strange stars, and other ultra-dense remnants provide one of the best laboratories for testing gravitational theories beyond GR. In these systems, the matter density, spacetime curvature, and internal pressure gradients become extremely large, making curvature corrections predicted by modified gravity potentially significant. Therefore, obtaining interior solutions for charged and anisotropic stellar configurations is not only mathematically useful but also essential for understanding how modified gravity may alter observable quantities such as density, radial and tangential pressure and anisotropy [27].
The electric charge may also be viewed as an extra degree of freedom in the general relativistic or extended gravity framework in the context of the construction of physically realistic models of compact stars. The introduction of a charge distribution makes it possible to discretely flex the FEs to produce precise or numerical solutions whilst preserving favorable physical properties like regularity at the centre, positivity of the density of energy, and causality of sound speeds [28]. The charge is added to the effective pressure and energy density by the electromagnetic field tensor, which alters the Tolman Oppenheimer Volkowoff (TOV) equation and affects the star equilibrium configuration. Thus by adding charge to the solution-generating process one can not only generate a wider range of compact star models, but also has a systematic means to investigate the effects of electromagnetism on stability, anisotropy, and observable properties such as mass-radius relations [29–31]. The inclusion of electric charge may also have important astrophysical consequences. Several studies indicate that intense gravitational collapse, phase transitions, or charge separation mechanisms in ultra-dense matter may support non-negligible local charge distributions. The resulting electromagnetic repulsion can partially counterbalance gravitational attraction, modify hydrostatic equilibrium, and permit more massive stable configurations. In this sense, charged solutions serve as useful theoretical probes of the interplay between gravitation and electromagnetism in extreme environments [32].
Many scientists have explored an embedding space-time metric for the formation of compact stars which fulfill Karmarkar condition. Karmarkar condition is a differential equation which appears while using embedding method by linking up relation between metric potentials [33]. For perfect fluid which is non static Gupta et al. [34] have considered plane symmetric metric to investigate the embedding class-I solutions. In [35], the authors developed a generalized and accurate framework for modeling compact anisotropic stars. To examine validity of generic solutions one may use different physical parameters like mass-radius relationship, compactness, redshift, energy conditions and stability. In the context of development of astrophysical framework Karmarkar condition method was used by Ospino et al. [36].
The most commonly used linear equation of state is a first-order approximation to the fundamental dependence of pressure and density between dark matter and in dense matter, but is not analytically tractable, and is often chosen to model compact stars [37,38]. The reason to adopt conformal flatness is that it can be used to reduce the Weyl tenor to zero, eliminating tidal forces and making it easier to interpret matter distribution in highly compact configurations. The Karmarkar condition gives a geometry embedding constraint, which brings the system of field equations to a single generating function, simplifying the solution procedure significantly but still giving realistic stellar models. Geometric restrictions (conformally flat and Karmarkar conditions) that are imposed between metric functions make it significantly easier to find solutions to the field equations, and provide well-behaved interior solutions to anisotropic compact stars [39].
The conformal symmetry of space-time are associated to the general framework. When a spacetime admits conformal symmetry, it necessarily possesses a conformal Killing vector field [40]. For the development of persistent system of equations, assumption of conformal flatness is more appropriate in most of the cases. In [41], the author examined the general form of conformal Killing vectors in spherically symmetric spacetimes.The reason behind conformal flatness adoption is that it can be used to reduce the Weyl tenor to zero, eliminating tidal forces and making it easier to interpret matter distribution in highly compact configurations. The Karmarkar condition gives a geometry embedding constraint, which brings the system of field equations to a single generating function, simplifying the solution procedure significantly but still giving realistic stellar models. Geometric restrictions (conformally flat and Karmarkar conditions) that are imposed between metric functions make it significantly easier to find solutions to the field equations, and provide well-behaved interior solutions to anisotropic compact stars Masan et al. [42] made comprehensive analysis about the motion (Kinematics and dynamics) of conformal killing vectors.
In a gravitating system the irregular pressure distribution is measured in term of anisotropy describing unequal pressure stresses. For constructing static, anisotropic, spherically symmetric solutions, Núñez et al. [43] developed a general technique that realizes a non-local EoS consistent with the prescribed density profile, under the condition of a vanishing Weyl tensor. Herrera et al. constructed Conformally flat interior solutions for locally anisotropic fluid to the Einstein equations [44]. Extending their findings to higher-dimensional spacetimes, Harko et al. [45] studied the hydrostatic equilibrium in a static anisotropic relativistic fluid sphere with a cosmological constant. Similarly, a number of classes of exact solutions to the Einstein FEs representing static, spherically symmetric anisotropic compact objects were given by Mak et al. [46]. Pressure anisotropy is a realistic ingredient in compact-star interiors. At extreme densities, anisotropic stresses may arise due to strong interactions, magnetic fields, viscosity, or multi-fluid composition. When radial and tangential pressures differ, the equilibrium and stability of the star are substantially affected. Positive anisotropy may support higher compactness, whereas negative anisotropy may enhance collapse tendencies. Hence, anisotropic models are often more realistic than ideal perfect-fluid approximations for dense stellar matter [47].
When the transverse pressure link up dominating energy criteria Ivanov calculated surface redshift of anisotropic compact objects [48]. The author in [49] discussed about relativistic fluids in the context of importance of anisotropy for spherically symmetric fluid. Many authors worked on models of compact objects [50–53]. In [54], the author presented solutions to the Einstein-Maxwell equations that address the problem of charged spheres within a one-parameter group of conformal motions, obtaining five analytical solutions for a static and spherically symmetric charge matter distribution. Thirukkanesh and Maharaj [55] studied anisotropic, relativistic, charged spheres that are related to compact stars. In the context of charged Krori–Barua spacetime solutions, Rahaman et al. [56] investigated ultra-compact astrophysical objects. Physically plausible models of charged compact stars were also covered by Kalam et al. [57].
In many fields of physics and mathematics, nonlinear ordinary differential equation of first order is known as the RE generally used. It is in the form
here J(x), K(x) and L(x) are continuous functions of x. The general RE has many specific cases for distinct values of J(x), K(x) and L(x). Existence of an EoS describe a relation between pressure and density. The RE describes the relation between radial and transverse pressures [26]. For a solution of general RE, if a particular solution is known, then it can be constructed. There is no specific algorithm to find a certain solution consist on such functions [58–60].
Actually generating solution is a technique to illustrate from any already described solution to FEs containing killing vector, how one-parameter set of new solutions can be found. Transformations in already contained potentials are either continuous or discrete to form a new set of solutions [61,62].
The current work consists of the development of a general framework for charged spherically symmetric generating solutions in a modified theory for embedding class solutions. The arrangement of the paper is as follows: In sec. 2, we have developed FEs for a charged spherically symmetric compact object and anisotropy factor. In sec. 3, we focused on finding generating solutions with the help of the Karmarkar condition and conformal motion. In sec. 4, we present a detailed discussion of our results.
2 Development of modified field equations
We consider a static spherically symmetric line element for a compact object to be given as
where and
represent metric potentials/coefficients, and modified FEs are given by
In FEs, the Einstein tensor represents the geometric part and corresponds to the metric (3). On right hand,
contributes usual matter energy momentum tensor and
is electromagnetic tensor. The contribution of dark components can be determined through the effective energy momentum tensor
. The usual matter distribution for anisotropic pressure stresses given by
where and
represents radial and transverse pressures and
is the energy density,
denote 4-velocity and
stands for radial 4-vector. These quantities satisfy the conditions
and
.
With the help of the metric variational principle, taking variation in (1) leads to the following form [3]:
where ,
represents the matter energy momentum tensor,
denotes the de’Alembertian operator, and
is the covariant derivative.
The effective energy-momentum tensor, which incorporates dark-source contributions, is defined as :
Ricci scalar is given by
represents electromagnetic energy-momentum tensor and is given as,
Now represents the electromagnetic field strength tensor that satisfies the Maxwell equations.
The non-zero components of the electromagnetic field tensor are F01 and F10
From Eq. (10) the electric field component can be written as.
The set of modified FEs is given by
Here (′) denotes the differentiation with respect to ’r’. After simplification (12)-(15), taking we get
The Eqs. (16)–(18) describes a set of modified FEs consist only first and second order derivatives of , to associate it with the four-acceleration a1, with transformation 2a1 =
[26]. The system consists of three equations with five unknowns such as
,
,
,
and
. We can take randomly two of them, where under consideration model is physically viable if it satisfy a number of conditions like regularity, stability and matching conditions too. Distinct constraints can be applied on the modified FEs. The EoS
=
is the existence of constraint. It is important to describe the anisotropy measure between the matter configuration denoted by
=
–
which is called anisotropy factor. For this using Eqs. (17) and (18) we have
We apply two conditions on the space-time to get linear RE. We apply conformally flat condition first, which occurs when the value of Weyl tensor vanishes [63–66]. If Killing vectors K occur, it is a particular and specific case of space-times with conformal motion satisfying the following equation.
Where and
represent the Lie derivative algorithm and conformal component, respectively. [26] describes the following equation as
where is a integration constant and for conformally flat spacetime if
= 0. we left
Recently, many researchers have worked on the class one embedding of space-times. By using the Karmarkar condition, we apply a technique in order to obtain static spherical solutions for embedding class one. The Karmarkar condition links up two main parts of the metric potentials of a spherically symmetric space-time. They may be incorporated within a flat space-time. For accomplish this the components of Riemann’s tensor and Karmarkar connection must be coupled [33].
After eliminating the zero component of above equation, we get
that leads to the following differential equation
Equations (16)–(19) and (21) exhibit linearity in the variable y = , while Eq. (26) is linear in y =
. It is important to note that Eq. (16) does not contain parameter a1, whereas Eq. (17) explicitly contains a1. The remaining equations take the form of either Bernoulli or Riccati differential equations with respect to a1. To simplify the analysis, these nonlinear equations can be transformed into linear form by introducing the substitution
. This transformation is particularly advantageous, as it converts the nonlinear Riccati equation into a second-order linear ordinary differential equation. Consequently, standard linear solution techniques and well-established classes of solutions can be effectively applied [59]. The RE is given by
where f0, f1, f2, and g are functions of the independent variable r. To illustrate special cases, we first consider the linear and Bernoulli forms of Eq. (27). The linear case is obtained when f2 = 0, reducing Eq. (27) to
Eq. (28) is directly integrable and its solution can be expressed as
Next, we consider the Bernoulli equation, obtained when f0 = 0 and :
So its solution is
Dividing by , Eq. (32) can be rewritten as
Its general solution is then given by
It is well known that the Riccati equation given in Eq. (27) does not admit a general closed-form solution. However, certain special cases are integrable. For instance, when f2 = 0, Eq. (27) reduces to a linear differential equation, which can be solved exactly [33]. On the other hand, when f0 = 0 and n = 2, Eq. (27) takes the form of a Bernoulli equation, which also admits a general solution. In this case, the solution can be written as
Moreover, by introducing the transformation , the Riccati equation can be converted into an integrable linear equation in z. Furthermore, the Riccati equation can be transformed into a second-order homogeneous linear differential equation by introducing a new function u [35]. In the particular case when
, the transformed equation takes the form
Substituting into Eq. (27) recovers the original Riccati equation, confirming the consistency of the transformation. It is important to note that the parameter a1 does not appear in the expression for the energy density; therefore, it cannot be employed as a generating function.
Eq. (16) can be rewritten in the form of y as
The expression of the energy density above offers a platform on which new classes of generating solutions can be built in the context of modified f(R) gravity.
3 Generating solutions
In the following subsections, we derive generating solutions within the framework of modified gravity by solving Eqs. (17)–(19).
3.1 Derivation of solutions from the radial pressure condition
From Eq. (17) we derive the generating solution for radial pressure . Making use of Eq. (37) into Eq. (17) along with metric potentials given in Eq. (3), We obtain the following form
leading to
A simple generating function involving y, a1 and can be obtain from Eq. (39). For related approaches and solutions involving specific forms of
and y, the reader is referred to Refs. [67–69]. Now, by adopting ageneral EoS of the form
and substituting Eq. (38) into Eq. (39), we obtain
Eq. (41) represents a nonlinear relationship between the metric potentials and the parameter a1 in terms of y. To proceed further, we consider a special case of the general EoS, namely the linear EoS given by
where is the bag constant and a is a constant satisfying
. Linear EoS has good reasons to be adopted in the modeling of charged compact objects, especially in quark stars and bag models. In these systems, matter is thought to have been deconfined in a quark state of matter, where the pressure is a linear relationship to the energy density.This linear relation has been useful in explaining the physical behavior of ultra-dense matter at high energies. It is also worth noting that the case
can be recovered as a particular instance of this EoS [70]. Consequently, Eq. (40) reduces to
The linear RE in terms of y is obtained from Eq. (43), and the unknowns a, a1, and b can be solved for using Eq. (35). For the solution of above DE Eq. (43) integrating factor calculated as , where
After simplification as mentioned above we get the generic solution of linear Riccati Eq. (43) becomes
where C1 is a constant of integration and can be calculated using the initial condition at r = 0, , giving C1 = 0.
3.2 Derivation of solutions from the transverse pressure condition
From Eq. (18) of transverse pressure a linear RE can be derived for y as mentioned above
The solution of above linear Riccati Eq. (46) using Eq. (35) can be rewritten as
where
and
Applying the initial condition r = 0 with yields C2 = 0. Substituting this into Eq. (46), a linear RE for a1 can be obtained as
simplification of Eq. (50) for known values of y and . Moreover it can be transformed into a linear homogeneous DE of order two following Eqs. (35) and (36) as
where
In certain cases, Eq. (51) can be obtained more easily than the original Riccati equation, while still allowing the discussion of many important functions. By assuming , we reduce the problem to a first-order linear differential equation, which is directly integrable. This approach can be regarded as a “double linear” formulation. Consequently, if any two of the quantities
, y, and a1 are specified, the remaining variable,
, can serve as a generating function for constructing solutions in modified gravity models of stellar objects.
3.3 Generating solution from anisotropy factor
Following the same procedure which we have already discussed about calculation of generating solution. we will find the generating solution using anisotropy factor given in Eq. (19).
Equation (53) is a linear RE in term of y.
By putting , Eq. (53) becomes
the solution of above equation can be written as [71]
where
and
Eq. (53), can be rewrite as a linear RE for a1.
Following Eq. (36) it may be transformed into linear form as.
So, Eq. (59) is double linear, same as Eq. (51). If any two constants , y and a1 are known, Eq. (19) can be used as a generating function in f(R) as a solution for stellar models.
4 Conclusion
Extended theories of gravity have grabbed the attention of many researchers due to combined motivation in the field of high energy physics, cosmology and astrophysics. Modified theories of gravity has revealed so many hidden facts about our universe and shown that it has the same bases. One of the most well known theory of gravity is f(R) gravity. we have focused on spherically symmetric charged compact object in f(R) gravity and developed basic formulation of FEs Eqs. (12)-(15) using Einstein Maxwell charged component.
The modified Einstein-Maxwell equations are used to describe the combined interaction of gravity and electromagnetism when two important effects, which are gravitational and electromagnetic effects are used. These equations describe both Einstein’s field equations for gravity and Maxwell’s equations for electromagnetism into a single framework. As Einstein’s theory is strongly based on equivalence principle which sets the stage for how charge interact with gravity. In classical electromagnetism as described by Maxwell’s equations, electric charges create electric fields and it incorporates how gravity effects on charge. Theory of GR predicts that the presence of mass and energy affects electromagnetic fields as well. Therefore, It is vital to study impact of charge in modified gravities and more specifically generating solutions for this setup.
In this article, we have developed generating functions which provide solutions to modified FEs constrained by conformal symmetry and EoS for compact objects. The modified FEs, given by Eqs. (16)–(18), are nonlinear. To obtain solutions of embedding class one, we employ the Karmarkar condition together with the conformal flatness constraint. The conformal Killing vectors have a significant contribution in adding a symmetry that makes the field equations simpler and allows them to be used to construct exact solutions. The conformal symmetry brought about by these vectors simplifies the nonlinear field equations and maintains the underlying geometry of spacetime structure [72,73].
For this three distinct cases have been taken under consideration to obtain generating solutions in f(R) gravity. We have shown that modified FEs (17)-(19) for two pressures ,
and the anisotropy factor
=
–
may be used as generating functions. It can also be a generating function for perfect fluid models when
= 0. However, the first modifying FE (16) for
does not consist a1, so we cannot use it in the development of generating solution. When
term is used in EoS, then combination of Eqs. (16)-(17) can be used as a generating solution providing a relation between the two metric potentials. For development of linear RE in modified gravity, space-time encompassed by two conditions which are elimination of Karmarkar condition for class-I metric and Weyl tensor. Now we are going to discuss a detailed explanation of three cases.
- First and simplest generating solution for embedding class-I has been obtained using modified FE for radial pressure. It has been obtained using transformation from Eq. (37) and linear EoS Eq. (42). Eq. (43) present a linear RE in term of y and its solution has been obtained by showing integrating factor in Eq. (45). With the help of initial condition r = 0 for particular solution constant of integration has been calculated which is
.
- Now another generating solution which is calculated using third modified FE for transverse pressure. Following the same procedure the transformation given in Eq. (37) is used to obtain linear RE in term of y given by Eq. (46). It has been solved using integrating factor shown in Eq. (47) and its particular solution has been obtained using initial condition. Another type of linear RE is obtained in a1, which is then used to develop a double linear equation. In addition, employing Eq. (52) in Eq. (50) yields a linear homogeneous DE of second order in the term of u.
- Eq. (19) is used to obtain third generating solution for anisotropy factor
. For this we implement transformation of Eq. (37) on Eq. (19) and follow the same criteria to get generating solution in Eq. (55). A double linear RE has been obtained in a1. Also by using Eq. (52) in Eq. (58) a linear homogeneous DE of second order has been developed in Eq. (59) in term of u.
In this work development of new solutions with the help of a single parameter has been done. For this through transformation already mentioned potentials are transformed into new one. It is important to note that present paper is about general framework on generating solutions for charged objects and it is possible to obtain in the systems of f(R) gravity when some particular solution is known. It is also shown that anisotropy factor may serves as important and basic source of generating solutions.
The generating function must guarantee regularity at the center, and positive and finite energy density and pressure, monotonic reduction of the thermodynamic variables, energy and causality conditions, perturbation stability, and smooth matching of the generated solutions to an appropriate exterior spacetime at the boundary, so that the generated solutions should correspond to physically admissible stellar solutions [74,75]. Within this context, the present work develops a framework for generating solutions of charged compact objects, providing a systematic method to construct families of physically relevant stellar models in modified gravity. Once a physically acceptable generating function is chosen, the corresponding density, pressures, and metric potentials can be examined under standard viability criteria such as positivity of matter variables and monotonic decrease of density and pressure profiles. Therefore, the framework developed here has direct astrophysical utility for exploring realistic compact-star structures in alternative gravity theories.
References
- 1.
Ferreras I. Fundamentals of galaxy dynamics, formation and evolution. London: UCL Press; 2019.
- 2. Einstein A. Die Feldgleichungen der Gravitation. Sitzungsber Preuss Akad Wiss Berlin. 1915;1915:844–7.
- 3. Sotiriou TP, Faraoni V. f(R) theories of gravity. Rev Mod Phys. 2010;82:451–97.
- 4. Hendi SS, Momeni D. Black-hole solutions in F(R) gravity with conformal anomaly. Eur Phys J C. 2011;71:1823.
- 5.
Faraoni V, Capozziello S. Beyond Einstein gravity: A survey of gravitational theories for cosmology and astrophysics. Dordrecht: Springer Dordrecht; 2011.
- 6. Kausar HR, Noureen I, Shahzad MU. Dynamical analysis of charged anisotropic spherical star in f(R) gravity. Eur Phys J Plus. 2015;130:204.
- 7. Zubair M, Azmat H, Noureen I. Dynamical analysis of cylindrically symmetric anisotropic sources in f(R,T) gravity. Eur Phys J C. 2017;77:169.
- 8. Azmat H, Zubair M, Noureen I. Dynamics of shearing viscous fluids in f(R,T) gravity. Int J Mod Phys D. 2018;27:1750181.
- 9. Zubair M, Azmat H, Noureen I. Anisotropic stellar filaments evolving under expansion-free condition in f(R,T) gravity. Int J Mod Phys D. 2018;27:1850047.
- 10. Noureen I, Usman-ul-Haq, Mardan SA. Impact of f(R,T) gravity in evolution of charged viscous fluids. Int J Mod Phys D. 2021;30:2150027.
- 11. Nashed GGL, Capozziello S. Anisotropic compact stars in f(R) gravity. Eur Phys J C. 2021;81:481.
- 12. Noureen I, Arshad N, Mardan SA. Development of local density perturbation scheme in f(R) gravity to identify cracking points. Eur Phys J C. 2022;82:621.
- 13. Mardan SA, Amjad Z, Noureen I. Frameworks for generalized anisotropic conformally flat polytropes in f(R) gravity. Eur Phys J C. 2022;82:794.
- 14. Zahra A, Mardan SA, Noureen I. Analysis of heat flow in the post-quasi-static approximation for gravitational collapse in five dimensions. Eur Phys J C. 2023;83:51.
- 15. Noureen I, Raza A, Mardan SA. Stability analysis of anisotropic stars in f(R,T) gravity through cracking technique. Eur Phys J C. 2023;83:1055.
- 16. Khan S, Siddiqui AA, Mardan SA, Noureen I. Impact of complexity factor on anisotropic generalized polytropes in f(R,T) gravity. Eur Phys J Plus. 2023;138:848.
- 17. Capozziello S, Francaviglia M. Extended theories of gravity and their cosmological and astrophysical applications. Gen Relativ Gravit. 2007;40:357–420.
- 18. Buchdahl HA. Non-linear Lagrangians and cosmological theory. Mon Not R Astron Soc. 1970;150:1–8.
- 19. Utiyama R, DeWitt BS. Renormalization of a classical gravitational field interacting with quantized matter fields. J Math Phys. 1962;3:608–18.
- 20. Stelle KS. Renormalization of higher-derivative quantum gravity. Physical Review D. 1977;16:953–69.
- 21. Schmidt HJ. Fourth order gravity: equations, history, and applications to cosmology. Int J Geom Methods Mod Phys. 2007;4:209–48.
- 22. Ilyas M, Athar AR, Yousaf Z, Masud B, Khan F. The bouncing behavior in f(R) gravity. Indian J Phys. 2022;96:4007–17.
- 23. Ilyas M, Athar AR. Some specific wormhole solutions in f(R,T) gravity. Phys Scr. 2022;97:045003.
- 24. Ditta A, Tiecheng X, Mustafa G, Errehymy A. The effect of modified hybrid and logarithmic teleparallel gravity on the interior solutions of compact stars. Eur Phys J C. 2023;83:1020.
- 25. Ditta A, Tiecheng X, Mustafa G, Sofuoğlu D, Mahmood A. Dark energy compact stars in extended teleparallel gravity. Phys Scr. 2024;99(1):025012.
- 26. Ivanov BV. Linear and Riccati equations in generating functions for stellar models in general relativity. Eur Phys J Plus. 2020;135:377.
- 27. Minazzoli O, Wavasseur M. Compact objects with scalar charge embedded in a magnetic or electric field in Einstein--Maxwell-dilaton theories. Eur Phys J C. 2025;85:474.
- 28. Sagar KG, Pant N, Pandey B. Charged compact star with Gaussian density profile showing spin retardation. Phys Dark Univ. 2024;46:101581.
- 29. Ghezzi CR. Relativistic structure, stability, and gravitational collapse of charged neutron stars. Phys Rev D. 2005;72:104017.
- 30. Naseer T, Said JL. Existence of non-singular stellar solutions within the context of electromagnetic field: a comparison between minimal and non-minimal gravity models. Eur Phys J C. 2024;84:808.
- 31. Naseer T, Sharif M, Chand F. Interplay of anisotropy and electric charge in modified matter-geometry coupled gravity model in the context of stellar structures. Phys Dark Univ. 2025;48:101840.
- 32. Maurya SK, Govender M. A family of charged compact objects with anisotropic pressure. Eur Phys J C. 2017;77:420.
- 33. Karmarkar KR. Gravitational metrics of spherical symmetry and class one. Proc Indian Acad Sci A. 1948;27:56–60.
- 34. Gupta YK, Sharma JR. Non-static non-conformally flat fluid plates of embedding class one. Gen Relat Gravit. 1996;28:1447–53.
- 35. Maurya SK, Gupta YK, Ray S, Deb D. Generalised model for anisotropic compact stars. Eur Phys J C. 2016;76:693.
- 36. Ospino J, Nunez LA. Karmarkar scalar condition. Eur Phys J C. 2020;80:166.
- 37. Sharma R, Maharaj SD. A class of relativistic stars with a linear equation of state. Mon Not R Astron Soc. 2007;375:1265–8.
- 38. Naseer T, Sharif M, Tehreem A. Impact of gravitational decoupling on relativistic compact models admitting a linear equation of state. Phys Dark Univ. 2025;50:102133.
- 39. Singh KN, Bhar P, Laishram M, Rahaman F. A generalized class one static solution. Heliyon. 2019;5:e01929.
- 40. Ojako S, Goswami R, Maharaj SD, Narain R. Conformal symmetries in generalised Vaidya spacetimes. Class Quant Gravit. 2020;37:055005.
- 41. Manjonjo AM, Maharaj SD, Moopanar S. Conformal vectors and stellar models. Eur Phys J Plus. 2017;132:62.
- 42. Maartens R, Mason DP, Tsamparlis M. Kinematic and dynamic properties of conformal Killing vectors in anisotropic fluids. J Math Phys. 1986;27:2987–94.
- 43. Hernandez H, Nunez LA. Nonlocal equation of state in anisotropic static fluid spheres in general relativity. Can J Phys. 2001;82:29–51.
- 44. Herrera L, Di Prisco A, Ospino J, Fuenmayor E. Conformally flat anisotropic spheres in general relativity. J Math Phys. 2001;42:2129–43.
- 45. Harko T, Mak MK. Anisotropic charged fluid spheres in D space-time dimensions. J Math Phys. 2000;41:4752–64.
- 46. Mak MK, Dobson PN, Harko JT. Exact model for anisotropic relativistic stars. Int J Mod Phys D. 2002;11:207–21.
- 47. Nashed GG, Capozziello S. Anisotropic compact stars in f(R) gravity. Eur Phys J C. 2021;81:481.
- 48. Ivanov BV. Maximum bounds on the surface redshift of anisotropic stars. Phys Rev D. 2002;65(1):104011.
- 49. Ivanov BV. The importance of anisotropy for relativistic fluids with spherical symmetry. Int J Theor Phys. 2010;49:1236–43.
- 50. Azam M, Mardan SA, Noureen I, Rehman MA. Study of polytropes with generalized polytropic equation of state. Eur Phys J C. 2016;76:315.
- 51. Mardan SA, Rehman M, Noureen I, Jamil RN. Impact of generalized polytropic equation of state on charged anisotropic polytropes. Eur Phys C. 2020;80:119.
- 52. Bhar P, Rej P. Stable and self-consistent charged gravastar model within the framework of f(R,T) gravity. Eur Phys J C. 2021;81:763.
- 53. Mardan SA, Noureen I, Khalid A. Charged anisotropic compact star core-envelope model with polytropic core and linear envelope. Eur Phys J C. 2021;81:912.
- 54. Krori KD, Borgohain P, Das K, Sarma A. Charged matter and a one-parameter group of conformal motions: II. Can J Phys. 1986;64:887–9.
- 55. Thirukkanesh S, Maharaj SD. Charged anisotropic matter with a linear equation of state. Class Quantum Grav. 2008;25:235001.
- 56. Rahaman F, Sharma R, Ray S, Maulick R, Karar I. Strange stars in Krori--Barua space-time. Eur Phys J C. 2012;72:2071.
- 57. Kalam M, Rahaman F, Ray S, Hossein SM, Karar I, Naskar J. Anisotropic strange star with de Sitter spacetime. Eur Phys J C. 2012;72:2248.
- 58.
Zwillinger D. Handbook of Differential Equations. Boston: Academic Press; 1989.
- 59.
Polyanin AD, Zaitsev VF. Handbook of exact solutions for ordinary differential equations. 2nd ed. Boca Raton: Chapman and Hall/CRC; 2003.
- 60. Neirameh A, Shokooh S, Eslami M. Solutions structure of integrable families of Riccati equations and their applications to the perturbed nonlinear fractional Schrodinger equation. Comput Methods Differ Equ. 2016;4:261–75.
- 61. Geroch R. A method for generating solutions of Einstein's equations. J Math Phys. 1971;12:918–24.
- 62. Contopoulos IG, Esposito FP, Kleidis K, Papadopoulos DB, Witten L. Generating solutions to the Einstein--Maxwell equations. Gen Relat Quant Cosmol. 2015;24:1550101.
- 63. Ivanov BV. A conformally flat realistic anisotropic model for a compact star. Eur Phys J C. 2018;78:332.
- 64. Shamir MF, Fayyaz I. Traversable wormhole solutions in f(R) gravity via Karmarkar condition. Eur Phys J C. 2020;80:1102.
- 65. Abbas G, Nazar H. Stellar shear-free gravitational collapse with Karmarkar condition in f(R) gravity. Int J Mod Phys A. 2019;34:1950220.
- 66. Waheed S, Mustafa G, Zubair M, Ashraf A. Physically acceptable embedded class-I compact stars in modified gravity with Karmarkar condition. Symmetry. 2020;12:962.
- 67. Bhar P, Singh KN, Manna T. Anisotropic compact star with Tolman IV gravitational potential. Astrophys Space Sci. 2016;361:284.
- 68. Maurya SK. Relativistic modeling of compact stars for anisotropic matter distribution. Eur Phys J A. 2017;53:89.
- 69. Nojiri S, Odintsov SD. Introduction to modified gravity and gravitational alternative for dark energy. Int J Geom Meth Mod Phys. 2007;4:115–46.
- 70. Ahmad Z, Shah H, Khan S. Spherical gravitational collapse in f(R) gravity with linear equation of state. Commun Theor Phys. 2018;70:185–9.
- 71. Tamta R, Fuloria PF. A new charged anisotropic compact star model in general relativity. J Mod Phys. 2017;8:1762–78.
- 72. Khan S, Hussain T, Bokhari AH, Khan GA. Conformal Killing vectors of plane symmetric four dimensional Lorentzian manifolds. Eur Phys J C. 2015;75:523.
- 73. Manjonjo AM, Maharaj SD, Moopanar S. Static models with conformal symmetry. Class Quantum Grav. 2018;35:045015.
- 74. Delgaty MSR, Lake K. Physical acceptability of isolated, static, spherically symmetric, perfect fluid solutions of Einstein's equations. Comput Phys Commun. 1998;115:395–415.
- 75. Bhar P, Murad MH, Pant N. Relativistic anisotropic stellar models with Tolman VII spacetime. Astrophys Space Sci. 2015;359:13.