Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2024 Jul 14;14:16237. doi: 10.1038/s41598-024-65973-7

Compact stars with non-uniform relativistic polytrope

Mohamed I Nouh 1,, Mona M Foda 2, Mohamed S Aboueisha 1
PMCID: PMC11247101  PMID: 39004673

Abstract

This paper presents new relativistic composite polytropic models for compact stars by simultaneously solving Einstein field equations with the polytropic state equation to simulate the spherically symmetric, static matter distribution. Using a non-uniform polytropic index, we get the Tolman–Oppenheimer–Volkoff equation for the relativistic composite polytrope (CTOV). To analyze the star's structure, we numerically solve the CTOV equation and compute the Emden and mass functions for various relativistic parameters and polytropic indices appropriate for neutron stars. The calculation results show that, as the relativistic parameter approaches zero, we recover the well-known Lane-Emden equation from the Newtonian theory of polytropic stars; thus, testing the computational code by comparing composite Newtonian models to those in the literature yields good agreement. We compute composite relativistic models for the neutron star candidates Cen X-3, SAXJ1808.4-3658, and PSR J1614-22304. We compare the findings with various existing models in the literature. Based on the accepted models for PSR J1614-22304 and Cen X-3, the star's core radius is predicted to be between 50 and 60% percent of its total radius, while we found that the radius of the core of star SAXJ1808.4-3658 is around 30% of the total radius. Our findings show that the neutron star structure may be approximated by a composite relativistic polytrope, resulting in masses and radii that are quite consistent with observation.

Keywords: Composite polytrope, Compact stars, Relativistic effects, General relativity, Mass-radius relation

Subject terms: Astronomy and astrophysics; Astronomy and astrophysics; Statistical physics, thermodynamics and nonlinear dynamics

Introduction

Within the context of the general theory of relativity, research on compact objects and strange stars has emerged as a major topic in theoretical astrophysics in recent years. General relativistic models have been used for fluid spheres with intense gravitational fields, such as neutron stars and strange stars13. Compact objects (white dwarfs, neutron stars, black holes, and quark stars) are the ultimate stages in the evolution of normal stars. Compact stars are distinguished from high density because nuclear processes cease to exist in their interiors; they cannot support themselves against gravity4. The pressure of degenerate gas resists gravity in white dwarfs and neutron stars. The star material is compressed to an infinite density in black holes due to the force of gravity's full dominance over other forces5.

Polytropic equations of state have been widely applied to explore the stellar structure and have played an impressive role in astrophysics6. This equation of state has been studied in general relativity, for example, by79. These studies provide an approximate analytical solution for models with different polytropic indices and relativistic parameters. Still, general relativistic polytropes have been thoroughly studied in more compact configurations, such as neutron stars and super Chandrasekhar white dwarfs7,1015.

Most galaxies have stars that develop in gas and dust clouds with a non-uniform matter distribution. Compact stars are isotropic in general; however, isotropy is not a universal property of stellar objects. The extreme interior density and high gravity of compact objects suggest that the pressure within them may not be an ideal fluid. This suggestion implies that the pressure inside the fluid sphere may be split into two nonidentical parts, radial pressure and transverse pressure, which operate in opposite directions1. For a relativistic core-envelope model of compact stars, for example16, developed an anisotropic core-envelope neutron star model using polytropic index n = 1 for the core layer representing Bose-Einstein condensate matter and polytropic index n = 2 for the envelope layer, which represents the crust. Abellán et al.9 provided a generic framework for modeling general relativistic polytropes where both pressures satisfy a polytropic state equation and anisotropic pressure is present. Mathias et al.17 generated a core envelope star model in Karmarkar condition where the core is described as a quark matter and the envelope a neutron fluid18, generate a charged star model satisfying three layers with distinct equations of state19, constructed exact model for a dense stellar object utilizing the Einstein-Maxwell system of equations comprises three interior regions with distinct equations of state, and20 established a two-layered model with a quadratic EoS in the envelope layer and a polytropic core. An alternative approach may be called a non-uniform polytrope to model the internal structure of stars and planets (e.g.,21,22).

Neutron stars are one of the most compact in the cosmos, named after their core composition of massive neutrons. A neutron star's core crust with diluted neutron matter resembles unitary Fermi gas. Fermion couples with opposite spins behave like bosons at very low temperatures because they have zero total angular momentum. The Pauli exclusion principle does not apply to bosons, unlike fermions. They condense into the lowest-energy single-particle state below a minimal temperature, leading to superfluidity and Bose-Einstein Condensation (BEC)23. These stars serve as laboratories for studying high-density nuclear matter using a suitable equation of state (EoS) that relates matter density to pressure. Neutron stars typically have a mass of one to two solar masses (M ∼ 1−2 M) and a radius of around 10−14 km. The mass density (ρ) is around 1015 g cm−3, which is almost three times the standard nuclear density (ρc) of a heavy atomic nucleus (2.8 × 1014 g cm−3)2427.

In astrophysics, composite polytropic models are occasionally employed to simulate the interior structure of stars where equilibrium conditions vary across different zones31. Among the examples are stars in the late stages of evolution (e.g., white dwarfs and neutron stars) and stars with radiative envelopes around convective cores, or vice versa. Matter in neutron stars can be as diverse as nuclei buried in a sea of electrons at low densities in the outer crust, structures in the inner crust that are becoming more and more neutron-rich, uniform matter in the outer core that is extremely neutron-rich, and potentially exotic states of matter at high densities in the inner core. As a result, the double-layered hypothesis (core-envelope), which considers two neighboring layers of the star with distinct matter distributions and macroscopic physical characteristics, starts to make sense16,32.

The Tolman–Oppenheimer–Volkoff (TOV) equation constrains the structure of spherically symmetric objects of isotropic material in static gravitational equilibrium, as modeled by general relativity. Besides applying the TOV equation to compact stars, there are many applications in astrophysics; for example, Gupta et al.28 determined the hydrostatic masses of the Galaxy cluster observed using Chandra X-ray data. Inspired by the new findings of star motions under the influence of dark matter, Bors and Stańczy29 explore the model representing the interaction of relativistic gravitationally attractive diffusive fermionic particles evaporating at high energy clusters of stellar systems30.

In the present paper, we derive the composite TOV equations (CTOV) with a non-uniform polytropic index to model condensed matter in compact stars. We numerically integrate the CTOV equations for a wide range of the polytropic index and relativistic parameters. We will compute composite polytropic models with n=1 and n=2 for neutron stars. The structure of the paper is as follows: in “Formulation of CTOV equation”, we derived the CTOV equation, “Results” deals with the results, and “Conclusion” is devoted to the conclusion.

Formulation of CTOV equation

The line element describing the interior space–time of a static spherically symmetric star in standard coordinates xa=t,r,θ,ϕ, takes the following form7

ds2=e2νrc2dt2-e2λrdr2-r2dθ2+sin2θdϕ2, 1

where ν and λ are functions of r only. Assuming that the matter distribution within the star is isotropic with the energy–momentum tensor in the form

Tαβ=ρuαuβ+Pc2uαuβ-gαβ, 2

where ρ is the mass density, P is the isotropic pressure and uα is the four-velocity vector satisfying the condition uαuβ=1. The Einstein field equations for the metric Eq. (1) and energy–momentum tensor Eq. (2) can be written as

e-2λ2λr-1r2+1r2=8πGc2ρ, 3
e-2λ(1r2+2vr)-1r2=8πGc4P, 4
e-2λν+ν2-νλ+1rν-λ=8πGc4P, 5

where G is the gravitational constant and c is the speed of light.

Using the radial component of the conservation law of energy–momentum tensor (T;βαβ=0) one can obtain the following relation

ρc2+Pνr=-Pr, 6

From Eq. (3) we get

e2λ=1-2Gm(r)c2r-1, 7

where m(r) is the gravitational mass enclosed in a sphere with radius r and is given by

m(r)=0r4πr2ρdr. 8

The first derivative of the mass function can be obtained from Eq. (4) as

νr=Gc2m(r)+4πGc4Pr3rr-2Gc2m(r). 9

By inserting Eq. (8) in Eq. (6), the TOV-equation can be written as

Pr=-ρc2+PGc2m(r)+4πGc4Pr3rr-2Gc2m(r). 10

Imposing the pressure P is related to the density ρ in the form of the polytropic equation of state as

P=kρ1+1n, 11

where

ρ=ρcθn, 12

where ρc is the central density, k is the pressure constant, and θ is the Emden function (the ratio of the density to the central density ρ/ρc). The polytropic index is denoted by n, which is given by the non-uniform formula adopted by31 as

n=a-btanhq-q1ϵ, 13

where a and b are determined according to the physical situation of the stellar internal structure (e.g., the star with radiative core and convective envelope), where q1=r0/R denotes the core boundary, q=r/R, and ϵ is the width of the transition layer.

According to the definition of the variable polytropic index, Eq. (13), n might take any possible values between the polytropic indexes n1 and n2 (where n1 works for the region from the center of the star to the first boundary of the transition region determined by ϵ while n2 works from the transition region's second boundary to the star's surface). From Eq. (13), as q takes values between 0–1, the polytropic indexes take values between n1 and n2. As a result, the star is modeled by a composite polytrope, not a double polytrope. For example, Wei31 takes n1 = 4, n2 = 1.5, a = 2.75, b = 1.25, q1 = 0.7, and ϵ = 0.001 to model the internal structure of the sun.

Performing the first derivative to Eq. (11) gives

dPdr=kθn+1dρc1+1ndr+kρc1+1ndθn+1dr. 14

To obtain dρc1+1ndr, we let

y=ρc1+1n, 15

then

lny=1+1nlnρc. 16

Differentiate both sides, we get

1ydydr=-nn2lnρc, 17

where

n=-bRϵsech2q-q1ϵ. 18

Now, using Eq. (17), we can write

dρc1+1ndr=an2Rϵρc1+1nlnρcsech2q-q1ϵ. 19

To calculate dθn+1dr, we let

Z=θn+1, 20

then

lnZ=n+1lnθ, 21

differentiate both sides, we get

1ZZ=nlnθ+n+1θθ. 22

Substitute Eq. (18) into Eq. (22), we get

1ZZ=-bRϵsech2q-q1ϵlnθ+n+1θθ, 23

then

dθn+1dr=-bRϵsech2q-q1ϵθn+1lnθ+n+1θθn+1θ. 24

Substitute Eqs. (19) and (24) into Eq. (14), we obtain

dPdr=bn2Rϵkθn+1ρc1+1nlnρcsech2q-q1ϵ+n+1kρc1+1nθnθ-bRϵkρc1+1nsech2q-q1ϵθn+1lnθ, 25

Equation (25) shows that the constant a disappeared due to the differentiation of Eq. (13); as a result, the constant b is only found in Equation (25).

Then, we can rewrite Eq. (25) as

dPdr=bRϵPsech2q-q1ϵ1n2lnρc-lnθ+n+1Pθθr, 26

Inserting Eqs. (11), (12), and (26) into Eq. (6) yields

ρcθnc2+kρc1+1nθ1+ndνdr=-bRϵkρc1+1nθ1+nsech2q-q1ϵ1n2lnρc-lnθ-n+1kρc1+1nθnθr, 27

then

1+kρc1nc2θdνdr=-bRϵkρc1nc2θsech2q-q1ϵ1n2lnρc-lnθ-n+1kρc1nc2θr, 28

where the relativistic parameter σ is given by

σ=Pcρcc2=kρc1nc2. 29

After some manipulations, Eq. (28) can be written as

dνdr=-bRϵσθ1+σθsech2q-q1ϵ1n2lnρc-lnθ-n+1σθ1+σθ, 30

Inserting Eqs. (29), (30) and (7) into Eq. (4), we get

1r21-2Gm(r)c2r1-2brRϵσθ1+σθsech2q-q1ϵ1n2lnρc-lnθ-2n+1σr1+σθθ-1r2-8πGc4kρc1+1nθn+1=0 31

Multiply the last equation by r2 we obtain

1-2Gm(r)c2r1-2brRϵσθ1+σθsech2q-q1ϵ1n2lnρc-lnθ-2n+1σr1+σθθ-1-2Gc4kρc1nθdmdr=0, 32

where we use

dmrdr=4πr2ρcθn. 33

Using Eq. (29), we get

1-2Gm(r)c2r1-2brRϵσθ1+σθsech2q-q1ϵ1n2lnρc-lnθ-2n+1σr1+σθ1-2Gm(r)c2rθ-1-2Gc2σθdmdr=0, 34

Now, we can rewrite Eq. (34) as

σn+1r1+σθ1-2Gm(r)c2rθ+Gm(r)c2r+brRϵσθ1+σθsech2q-q1ϵ1n2lnρc-lnθ1-2Gm(r)c2r+Gc2σθdmdr=0 35

Let

r=ξl,υ=mM,l=4πGρcσ(n+1)c21/2, 36

where M and l are the characteristic mass scale and characteristic length scale of the polytrope.

Using Eq. (36), Eq. (35) can be written as

σn+11+σθ1-2GυMlc2ξξdθdξ+GυMlc2ξ+bξlRσθϵ1+σθsech2q-q1ϵlnρcn2-lnθ1-2GυMlc2ξ+Gc2σθMldυdξ=0 37

Knowing that

M=4πρcl3υ=c21+nσυGl,ξ1=lR, 38

then Eq. (37) can be written as

ξ21+σθ1-2σn+1υξdθdξ+bξ2ξ1θϵ1+σθn+1sech2q-q1ϵlnρcn2-lnθ1-2σn+1υξ+υ+σθξdυdξ=0 39

and

υξ=ξ2θnξ 40

where the Eqs. (39) and (40) must be solved under the boundary conditions

θ0=1,υ0=0 41

Results

As we see from Eqs. (11), (12), and (39), the physical parameters of the polytrope are functions of the Emden and mass functions (θ,ν).To calculate the Emden and the mass functions (θ,ν), we numerically integrated Eqs. (28) using the Rung-Kutta method package of Mathematica 13.2. The inputs to the code are the relativistic parameter (σ), the core boundary (q1), the ratio q, and the width of the transition layer (ϵ).The appropriate values of the constants a and b in Eq. (13) could be determined from the two relations a = (n1 + n2)/2 and b = n1-a, where n1 and n2 are the polytopic indices of the first and second polytropes, respectively. In Table 1, we listed some of the possible values of a, b, n1, and n2. We can compute the model with a single polytrope if we use n1 = n2 (i.e., a = n and b = 0).

Table 1.

The constants a and b in Eq. (13) and the corresponding polytropic indices of the first polytrope n1 and the second polytrope n2.

n1 n2 A B
0 1 0.5 −0.5
0.5 1 0.75 −0.25
1 2 1.5 −0.5
2 1 1.5 0.5
3 1.5 2.25 0.75
3 3 3 0
4 1.5 2.75 1.25

We test the code by performing different calculations: the first test is for the Newtonian and relativistic single polytrope with n = 3 (i.e., n1 = 3, n2 = 3, a = 3, b = 0). In Fig. 1, we plot the Emden (the upper panel) and mass (the lower panel) functions calculated with the relativistic parameters σ=0 for Newtonian polytrope and σ=0.3 for relativistic polytropes. For comparison, the calculations for the single Newtonian and relativistic polytropes are taken from8, which indicates that we agreed with maximum absolute errors of 10–7 and 10–5 for the Newtonian and relativistic polytropes, respectively.

Figure 1.

Figure 1

Comparison between solutions of composite polytrope (n1 = 3 and n2 = 3, CTOV equation-solid lines) and single polytrope (n = 3, TOV equation-dashed lines) with n = 3, σ = 0 and 0.3. The upper panel is for the Emden function, and the lower panel is for the mass function.

Now, we shall move to the calculation of composite Newtonian polytrope (i.e. σ=0, n1 to n2). We calculated a model appropriate for the planet with a mass of 10 M Θ (M Θ is the mass of the earth), n1 = 0.5, n2 = 1, and a central density of 22.79 g cm−330. Figure 2 displays the density profile of the planet model. The calculation revealed that the density at the n1–n2 interface is 4.51 g cm−3, which agrees with the interface density (0.4.47 g cm−3) calculated by21.

Figure 2.

Figure 2

Composite polytropic model for the planet with 10 M Θ, n1 = 0.5 and n2 = 1, central density 22.79 g cm−3.

A neutron star (NS) interior comprises two primary components: the solid crust and liquid core. Nuclear clusters comprise the non-uniform crust, whereas the core is homogenous and uniform. We calculated composite polytropic models using n1 = 1 and n2 = 2 with two values of the central pressures Pc=1×1035 and 2×1035 dyne cm−2 and different central densities, as listed in Table 2. The relativistic parameter is calculated from the equation σ=Pc/(ρcc2); the maximum value of σ that fulfils the causality condition is given by σ max = n/(n + 1), where the sound velocity (vs) must be smaller than the speed of light (vs/c < 1). It is important to mention that the interface of the present composite models occurs when the polytropic index changes at the interface from n = 1 to n = 1.00001; this indicates that the models are of multi-layered polytrope, not double-layered polytrope.

Table 2.

Values of the central densities, central pressures, and relativistic parameters for eight composite models calculated with polytropic indexes n1 = 1 to n2 = 2.

Pc=1×1035(dyne cm-2) Pc=2×1035(dyne cm-2)
models ρc(1015) (g cm-3) σ R (km) M (Mʘ) CF models ρc(1015) (g cm-3) σ R (km) M (Mʘ) CF
Model 1 1 0.1111 8.7969 0.7848 0.090 Model 5 1 0.2222 12.0391 1.7721 0.147
Model 2 1.5 0.0744 5.8619 0.3658 0.062 Model 6 1.5 0.1481 8.1546 0.9056 0.111
Model 3 2 0.0555 4.3964 0.2106 0.048 Model 7 2 0.1111 6.2230 0.5542 0.090
Model 4 2.5 0.0444 3.5171 0.1366 0.038 Model 8 2.5 0.0888 4.4740 0.3649 0.073

The results of calculations are plotted in Fig. 3 for the density profiles, pressure distributions, masses-radius relations, and the compactification factors (CF = m(r)/r). Comparisons between models with the same central densities but different central pressures (i.e., varying relativistic parameters), for example, model 1 and model 5 or model 2 and model 6, show that increasing the σ lead to increase the radius of the star by about 30%. Also, as the σ increases, the mass of the star increases. In Table 2, we list the CF calculated against the relativistic parameter σ, for any two models with the same central densities but different central pressures: the C.F. increases with increasing σ (i.e., increasing Pc). For instance, the C.F. of model 1 is about 60% of the CF of model 5 (the central pressure of model 5 is double that of model 1). Also, the CF of model 3 is about 50% of that of model 1 (the central density of model 3 is double that of model 1). The density and pressure profiles vary smoothly from the center toward the surface of the polytrope without discontinuity through the transition region (with width ϵ) between n1 and n2. In the present calculations, we propose ϵ = 0.01 to allow a larger range of the variation of the polytropic index when crossing the transition region.

Figure 3.

Figure 3

Density profiles, pressure profiles, mass-radius relations, and compactification factor for eight composite relativistic polytropic models computed for polytropic indexes from n = 1 to n = 2.

To model the structure of the neutron star candidates Cen X-3 (mass 1.49 ± 0.49 Mʘ and radius 9.51 ± 0.13 km33), PSR J1614-2230 (mass 1.97 ± 0.04 Mʘ and radius 13 ± 2 km34,35), and SAXJ1808.4–3658 (mass 0.9 ± 0.3 Mʘ and radius 7.951 ± 1 km36), we computed four polytropic models for each star. Tables 3, 4 and 5 provide the relativistic parameter (σ), the central density (ρc), and the central pressure (Pc) as input parameters to the code; the output parameters are the interface density(ρi), the interface pressure (Pi), the radius of the core (Rc), the radius (R), and the mass (M). These computed physical quantities may be compared to the values of core-envelope models computed for n1 = 1 in the core and n2 = 2 in the crust for Cen X-3, PSRJ1614-2330, and SAXJ1808.4-365816,32. In Figs. 4, 5 and 6, we plotted the variation of the Emden function (upper left), mass function (upper right), density (middle left), pressure (middle right), and mass (bottom) of the composite relativistic models for the three neutron stars. In what follows, we shall present results obtained for each star.

Table 3.

Physical parameters of the polytropic models for Cen X-3.

Model σ ρc(1015) Pc (1035) ρi(1015) Pi (1035) Rc (km) R (km) M (Mʘ)
Model_Cen1 0.150 1.20 1.61784 0.7707 0.6787 5.889 9.17 1.03
Model_Cen2 0.20 1.30 2.33688 0.7818 0.8453 6.116 10.17 1.41
Model_Cen3 0.214 1.35 2.5958 0.7948 0.8994 6.117 10.39 1.50
Model_Cen4 0.220 1.40 2.7683 0.8162 0.9414 5.993 10.28 1.48

Table 4.

Physical parameters of the polytropic models for PSR J1614-2230.

Model σ ρc(1015) Pc (1035) ρi(1015) Pi (1035) Rc (km) R (km) M (Mʘ)
Model_PSR1 0.250 1 2.2470 0.55799 0.69412 7.125 12.7701 2.02548
Model_PSR2 0.290 0.7 1.8245 0.4909 0.8975 9.170 13.076 1.8406
Model_PSR3 0.298 0.7 1.8749 0.4875 0.9093 9.380 13.469 1.9705
Model_PSR4 0.30 0.75 2.0223 0.3835 0.5288 8.259 16.1530 2.8407

Table 5.

Physical parameters of the polytropic models for SAXJ1808.4-3658.

Model σ ρc(1015) Pc (1035) ρi(1015) Pi (1035) Rc (km) R (km) M (Mʘ)
Model_SAX1 0.086 1.25 0.9745 0.4210 0.1097 3.163 9.3920 0.8686
Model_SAX2 0.095 1.5 1.2807 0.4816 0.1320 2.891 9.0060 0.8902
Model_SAX3 0.10 1.5 1.3482 0.4689 0.1317 2.853 9.1277 0.9230
Model_SAX4 0.12 2 2.1571 0.5596 0.1689 2.422 8.6593 0.9813

Figure 4.

Figure 4

Variation of the Emden function (upper left), mass function (upper right), density (middle left), pressure (middle right), mass (bottom left), and the metric potential (bottom right) of the composite relativistic models for the star Cen X-3. The observed mass and radius are M = 1.49 Mʘ and R = 9.51 km.

Figure 5.

Figure 5

Variation of the Emden function (upper left), mass function (upper right), density (middle left), pressure (middle right), mass (bottom left), and the metric potential (bottom right) of the composite relativistic models for the star PSRJ1614-2330. The observed mass and radius are M = 1.97 Mʘ and R = 13 km.

Figure 6.

Figure 6

Variation of the Emden function (upper left), mass function (upper right), density (middle left), pressure (middle right), mass (bottom left), and the metric potential (bottom right) of the composite relativistic models for the star SAXJ1808.4-3658. The observed mass and radius are M = 0.9 Mʘ and R = 7.951 km.

Cen X-3, an occulting spectroscopic binary system member, is located in the galactic plane approximately 5.7 kiloparsecs away from the Carina-Sagittarius arm37. The visible component is Krzeminski's Star, a supergiant, whereas the X-ray is a revolving, magnetized neutron star. In Fig. 4, we plotted the density, pressure, and mass variation with the radius of the three models. In all models, the distributions of θ,ν, ρ, and P decreases smoothly from the center to the surface without discontinuity. The observed mass and radius values (M = 1.49 Mʘ, R = 9.51 km) fit approximately model_Cen4 with a total mass M = 1.48 Mʘ and radius R = 10.28 km. Comparison of the interface range of density and pressure of our models (ρi = 0.7707–0.8162 g cm−3, Pi = 0.6787–0.9414 dyne cm−2) for the star Cen X-3 and that from28 (ρi=1.2051×1015 g cm−3 and Pi=1.977×1035 dyne cm−2) gives smaller values of the interface density and pressure but a larger radius for the four models, that is simply because the core in our models represents about 60% of the total radius of the star while in28 the core occupied about 33% only.

PSR J1614-2230 is a millisecond pulsar in a binary system with a white dwarf in the Scorpius constellation. It spins on its axis around 317 times per second for a duration of 3.15 ms. It was discovered in 2006 using the Parkes telescope while studying unexplained gamma-ray sources in the Energetic Gamma Ray Experiment Telescope catalog35. The mass of PSR J1614-2230 (1.97 Mʘ) is the second greatest among all known neutron stars. A neutron star of such great mass limits the composition and structure of neutron stars, which are little known36. Our result for this star is listed in Table 4 and displayed in Fig. 5. The polytropic models predict that the core is about 60%-70% of the star's radius, so we found that the values of the density and pressure at the interface are smaller than those of the core-envelope model34. The observed mass and radius of the star are well fitted to model_PSR3 (the accepted model for PSR J1614-2230) with total mass M = 1.97 Mʘ and radius R = 13.46 km, which are in good agreement with observations.

In 1998, the Italian-Dutch BeppoSAX spacecraft detected SAX J1808.4-3658, the first accreting millisecond pulsar. NASA's RXTE satellite observed X-ray pulsations at the 401 Hz neutron star spin frequency during an outburst in 199836. A brown dwarf binary partner with a predicted mass of 0.05 solar masses orbits the neutron star every 2.01 h. SAX J1808.4-3658 has shown X-ray burst oscillations, quasi-periodic oscillations, and coherent X-ray pulsations, making it a key to understanding the timing behavior of low-mass X-ray binaries. The mass and radius from model_SAX4 (with total mass and radius 0.9813 Mʘ and 8.6593 km) best fit the observed mass and radius (Fig. 6). The accepted model for this star predicts density and pressure at the center are as 2 × 1015 g cm−3 and 2.157 × 1035 dyne cm−2 higher than that predicted by16 and model_SAX1 (model_SAX1 is computed at the same values of the central density and pressure as16).

In Figs. 4, 5, and 6, we plotted the metric potentials e2ν(r)ande-2λ(r) for the models proposed for the three stars. As is shown in the figures and demonstrated by Tooper7, the two metrics have to be well-defined at the center and regular as well as singularity-free throughout the interior of the star. The metric functions of the model satisfy e-2λ(0)=1ande2ν(0)=const, i.e., finite at the center (r = 0) of the stellar configuration. Moreover, the derivatives of these potentials vanish at the center of the star, i.e., (e2ν)r=0=(e-2λ)r=0=0, which implies that the metric is regular at the center and well-behaved throughout the stellar interior. The component grr=e-2λ is always greater than or equal to unity, while the component grr=e2ν is always less than unity and has a minimum at r = 0.

To infer the stability of the accepted CTOV models for the three stars, the following conditions should be fulfilled17,18:

  1. The density ρ and the pressure P should be positive, finite, and have regular behavior free from singularity within the stellar interior, i.e.,ρ0,P0. According to Figs. 4, 5 and 6, we can see that this condition is satisfied by the models.

  2. The gradients of the density and pressure must be negative inside the star, i.e., dρdr0,dPdr0 and the pressure should vanish at the stellar boundary; these are shown graphically in Figs. 7a, 8a, and 9a.

  3. For stable stellar configurations, the speed of sound within the star must be less than the speed of light, i.e.,0dPdρ1. This is known as the causality condition, and it is satisfied by the model, see Figs. 7b, 8b, and 9b.

  4. For an isotropic fluid sphere, the following energy conditions should be satisfied for stability.

    Null energy condition (NEC): ρ0.

    Weak energy condition (WEC): ρ+P0.

    Strong energy condition (SEC): ρ+3P0.

    Dominant energy condition (DEC): ρ-P0.

    The models fulfill all these energy conditions see Figs. 7c, 8c, and 9c.

  5. Stability via adiabatic index: To obtain a sable model for a relativistic isotropic fluid sphere, the adiabatic index Γ should be greater than 4/337. The adiabatic index for isotropic stellar configuration is given by38

    Γ=ρ+PPdPdρ.

    Figures 7d, 8d, and 9d show that the adiabatic index is greater than 4/3 throughout the stellar interior.

  6. For the matter within the star to be non-exotic, the value of the EoS parameter ω should be positive and must satisfy Zeldovich’s condition, 0ω=Pρ1, at the stellar center39. The models fulfill this condition; see Figs. 7e, 8e, and 9e.

Figure 7.

Figure 7

Stability of model_Cen4 (Table 3) proposed for modeling the star Cen X-3.

Figure 8.

Figure 8

Stability of model_PSR3 (Table 4) proposed for modeling the star PSR J1614-22304.

Figure 9.

Figure 9

Stability of model_SAX1 (Table 5) proposed for modeling the star SAXJ1808.4-3658.

Conclusions

By simultaneously solving the polytropic equation of state and Einstein field equations, this work offered innovative composite polytropic models for compact stars. Using a non-uniform polytropic index, we obtained the Tolman–Oppenheimer–Volkoff equation for the relativistic composite polytrope (CTOV). We used numerical integration to solve the CTOV equation. We estimated the mass and Emden functions for various relativistic parameters and polytropic indices appropriate for neutron stars to examine the star's structure. When we test the computational code by comparing composite Newtonian models with those published in the literature, we find good agreement because the computation results demonstrate that, as the relativistic parameter approaches zero, we recover the well-known Lane-Emden equation from the Newtonian theory of polytropic stars.

Additionally, there was good agreement between the relativistic model of the single polytrope estimated from the TOV and that computed from the CTOV. From the star's center to its surface, the distributions of the mass function, the Emden function, the density, the pressure, and the mass exhibit smooth variation. One advantage of the computed CTOV models is that they are multi-layered, not double-layered.

Using observable values of the mass and radius of the pulsars Cen X-3, PSR J1614-22304, and SAXJ1808.4-3658 and with central density and pressure compatible with neutron core pulsars, we verified the physical correctness of the model. We used central density and pressure parameters similar to those in the literature to construct four models for each star so that they could be compared. According to the accepted models for Cen X-3 and PSR J1614-22304, the core radius of the star is estimated to be between 50 and 60% of its overall radius. We found that the core radius of star SAXJ1808.4-3658 is around 30% of the overall radius. We computed the masses and radii of the three stars as follows: M = 1.48 Mʘ and R = 10.28 km for Cen X-3, M = 1.97 Mʘ and R = 13.46 km for PSR J1614-2230, and M = 0.98 Mʘ and R = 8.65 km for SAXJ1808.4-3658. Taking into account the errors in observation, the computed masses and radius are in good agreement for the three investigated stars.

The metric potentials for the models proposed for the three stars are found to be well-defined at the center and regular as well as singularity-free throughout the interior of the star. It can be confirmed that every single physical parameter, stability condition, and energy condition inside the stars are on a sustainable trend and vary smoothly without interruption.

Using a single EoS may not be the best option for realistic modeling of the entire star22,40. For example, using composite EoS instead of single EOS41, used polytropic equations to simulate the EoS in each location in the star: the crust, the outer core, and the inner core; four polytropes are used in the crust and three in the outer and inner cores. Then, a piecewise function with seven polytropes represents the whole EoS.

Conversely, more electromagnetic and gravitational-wave measurements are being made of neutron stars. These measurements enable us to restrict the dense matter equation of state and comprehend the fundamental processes inside these small objects. The TOV equations may be reversed using these accurate observations to get the EOS for neutron stars with global parameters like mass and radius. Many techniques are implemented to obtain EOS from the observed mass-radius relation of neutron stars; examples of these techniques are4244. To obtain a homogenous sample of the CTOV models, we can calculate the grid of models covering an extensive range of the central density and relativistic parameters and compare the computed mass-radius relation with the observations. Consequently, the CTOV models for neutron stars may be compared to models calculated based on non-analytical EOS; this will be done in future work.

Acknowledgements

The authors thank the editors and reviewers for their valuable comments.

Author contributions

M.N. conceived the idea of the study, analysis of the results and wrote the first draft. M.F. conducted the analytical solution. M.A. performed the analysis of the results.

Funding

Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB).

Data availability

The datasets used and/or analysed during the current study are available from the corresponding author upon reasonable request.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Kuhfitting PK. Some remarks on exact wormhole solutions. Adv. Stud. Theor. Phys. 2011;5:365–367. [Google Scholar]
  • 2.Bicak J. Einstein equations: Exact solutions. Encycl. Math. Phys. 2006;2:165–173. doi: 10.1016/B0-12-512666-2/00057-2. [DOI] [Google Scholar]
  • 3.Haensel P, Zdunik JL, Schaefer R. Strange quark stars. Astrophys. J. 1986;160:121–128. [Google Scholar]
  • 4.Kumar J, Bharti P. Relativistic models for anisotropic compact stars: A review. NewAR. 2022;95:101662. doi: 10.1016/j.newar.2022.101662. [DOI] [Google Scholar]
  • 5.Karttunen, H., Kröger, P., Oja, H., Poutanen, M. & Donner, K.J. Fundamental Astronomy. Springer Study Edition. (Springer, 1987).
  • 6.Chandrasekhar S. An Introduction to the Study of Stellar Structure. University of Chicago; 1939. [Google Scholar]
  • 7.Tooper R. General relativistic polytropic fluid spheres. Astrophys. J. 1964;140:434. doi: 10.1086/147939. [DOI] [Google Scholar]
  • 8.Saad ANS, Nouh MI, Shaker AA, Kamel TM. Stability of the relativistic polytropes. RMxAA. 2021;57:407. doi: 10.22201/ia.01851101p.2021.57.02.13. [DOI] [Google Scholar]
  • 9.Abellán G, Fuenmayor E, Herrera L. The double polytrope for anisotropic matter: Newtonian case. Phys. Dark Univ. 2020;28:100549. doi: 10.1016/j.dark.2020.100549. [DOI] [Google Scholar]
  • 10.Herrera L, Barreto W. Newtonian polytropes for anisotropic matter: General framework and applications. Phys. Rev. D. 2013;87:087303. doi: 10.1103/PhysRevD.87.087303. [DOI] [Google Scholar]
  • 11.Herrera L, Barreto W. General relativistic polytropes for anisotropic matter: The general formalism and applications. Phys. Rev. D. 2013;88:084022. doi: 10.1103/PhysRevD.88.084022. [DOI] [Google Scholar]
  • 12.Herrera L, Di Prisco A, Barreto W, Ospino J. Conformally flat polytropes for anisotropic matter. Gen. Relativ. Gravit. 2014;46:1827. doi: 10.1007/s10714-014-1827-7. [DOI] [Google Scholar]
  • 13.Nouh MI, Saad AS, Elsanhoury WH, Shaker AA, Korany B, Kamel TM. White dwarfs as a polytropic gas sphere. Ap. 2016;59:540. doi: 10.1007/s10511-016-9456-3. [DOI] [Google Scholar]
  • 14.Astashenok AV, Odintsov SD, Oikonomou VK. Maximal masses of white dwarfs for polytropes in R2 gravity and theoretical constraints. PhRvD. 2022;106:124010. [Google Scholar]
  • 15.Aboueisha MS, Nouh MI, Abdel-Salam EA-B, Kamel TM, Beheary MM, Gadallah KAK. Analysis of the fractional relativistic polytropic gas spheres. NatSR. 2023;13:14304. doi: 10.1038/s41598-023-41392-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Nasheeha RN, Thirukkanesh S, Ragel FC. Core-envelope polytropic star with distinct polytropic indexes. InJPh.tmp. 2023 doi: 10.1007/s12648-023-02857-y. [DOI] [Google Scholar]
  • 17.Mathias AV, Sunzu JM, Mkenyeleye JM. Double-layered anisotropic stellar model of embedding class I with gaseous envelope. NewA. 2024;106:102115. doi: 10.1016/j.newast.2023.102115. [DOI] [Google Scholar]
  • 18.Olengeile L, Sunzu JM, Mkenyeleye JM. Three-layered super dense star with charged anisotropic fluid. NewA. 2024;110:102229. doi: 10.1016/j.newast.2024.102229. [DOI] [Google Scholar]
  • 19.Lighuda AS, Maharaj SD, Sunzu JM, Mureithi EW. Three-layered star comprising polytropic, quark and gaseous matter. Prama. 2023;97:5. doi: 10.1007/s12043-022-02475-z. [DOI] [Google Scholar]
  • 20.Sunzu JM, Lighuda AS. A generalised double layered model with polytropic and quadratic equations of state. NewA. 2023;100:101977. doi: 10.1016/j.newast.2022.101977. [DOI] [Google Scholar]
  • 21.Liu SF, Guillochon J, Lin DNC, Ramirez-Ruiz E. On the survivability and metamorphism of tidally disrupted giant planets: The role of dense cores. ApJ. 2013;762:37. doi: 10.1088/0004-637X/762/1/37. [DOI] [Google Scholar]
  • 22.Criss RE, Hofmeister AM. Analytical representations for simple and composite polytropes and their moments of inertia. NewA. 2015;36:26. doi: 10.1016/j.newast.2014.09.012. [DOI] [Google Scholar]
  • 23.Chavanis PH, Harko T. Bose–Einstein condensate general relativistic stars. Phys. Rev. D. 2012;86:0640110. doi: 10.1103/PhysRevD.86.064011. [DOI] [Google Scholar]
  • 24.Lattimer JM, Prakash M. The equation of state of hot, dense matter and neutron stars. Phys. Rep. 2016;621:127. doi: 10.1016/j.physrep.2015.12.005. [DOI] [Google Scholar]
  • 25.Hebeler K, et al. Equation of state and neutron star properties constrained by nuclear physics and observation. Astrophys. J. 2013;773:11. doi: 10.1088/0004-637X/773/1/11. [DOI] [Google Scholar]
  • 26.Özel F, Freire P. Masses, radii, and the equation of state of neutron stars. Ann. Rev. A. 2016;54:401. doi: 10.1146/annurev-astro-081915-023322. [DOI] [Google Scholar]
  • 27.Steiner AW, et al. Constraining the mass and radius of neutron stars in globular clusters. Mon. Not. R. Astron. Soc. 2018;476:421. doi: 10.1093/mnras/sty215. [DOI] [Google Scholar]
  • 28.Gupta S, Desai S. Galaxy cluster hydrostatic masses using Tolman–Oppenheimer–Volkoff equation. PDU. 2020;28:100499. doi: 10.1016/j.dark.2020.100499. [DOI] [Google Scholar]
  • 29.Bors D, Stanczy R. Mathematical model for Sagittarius A* and related Tolman–Oppenheimer–Volkoff equations. MMAS. 2023;46:12052. doi: 10.1002/mma.9165. [DOI] [Google Scholar]
  • 30.Martins YX, de Teixeira DSP, Campos LFA, Biezuner RJ. All-sky search for long-duration gravitational-wave transients in the second Advanced LIGO observing run. PhRvD. 2019;99:023007. doi: 10.1103/PhysRevD.99.023007. [DOI] [Google Scholar]
  • 31.Wei X. Construct a realistic stellar model with polytropic relation. A&C. 2022;41:100650. doi: 10.1016/j.ascom.2022.100650. [DOI] [Google Scholar]
  • 32.Pant RP, Gedela S, Bisht RK, Pant N. Core-envelope model of super dense star with distinct equation of states. Eur. Phys. J. C. 2019;79:602. doi: 10.1140/epjc/s10052-019-7098-4. [DOI] [Google Scholar]
  • 33.Falanga, M., Bozzo, E., Lutovinov, A., Bonnet-Bidaud, J. M., Fetisova, Y. & Puls, J. Ephemeris, orbital decay, and masses of ten eclipsing high-mass X-ray binaries. Astron. Astrophys. 577, A130. arXiv:1502.07126. Bibcode: 2015A&A...577A.130F (2015).
  • 34.Demorest P, Pennucci T, Ransom S, Roberts M, Hessels J. A two-solar-mass neutron star measured using Shapiro delay. Nature. 2010;467:1081. doi: 10.1038/nature09466. [DOI] [PubMed] [Google Scholar]
  • 35.Crawford F, Roberts MSE, Hessels JWT, Ransom SM, Livingstone M, Tam CR, Kaspi VM. A survey of 56 midlatitude EGRET error boxes for radio pulsars. Astrophys. J. 2006;652(2):1499–1507. doi: 10.1086/508403. [DOI] [Google Scholar]
  • 36.Wijnands R, van der Klis M. A millisecond pulsar in an X-ray binary system. Nature. 1998;394(6691):344–346. doi: 10.1038/28557. [DOI] [Google Scholar]
  • 37.Heintzmann H, Hillebrandt W. Neutron stars with an anisotropic equation of state: Mass, redshift and stability. AAP. 1975;38:51. [Google Scholar]
  • 38.Chandrasekhar S. The dynamical instability of gaseous masses approaching the schwarzschild limit in general relativity. Astrophys. J. 1964;140:417. doi: 10.1086/147938. [DOI] [Google Scholar]
  • 39.Zeldovich YB, Novikov ID. Relativistic Astrophysics. Stars and Relativity. University of Chicago Press; 1971. [Google Scholar]
  • 40.Frønsdal C. Stability of polytropes. PhRvD. 2008;77:104019. doi: 10.1103/PhysRevD.77.104019. [DOI] [Google Scholar]
  • 41.Yagi K, Stein LC, Pappas G, Yunes N, Apostolatos TA. Why I-Love-Q: Explaining why universality emerges in compact objects. PhRvD. 2014;90:063010. doi: 10.1103/PhysRevD.90.063010. [DOI] [Google Scholar]
  • 42.Tsang CY, Tsang MB, Lynch WG, Kumar R, Horowitz CJ. Determination of the equation of state from nuclear experiments and neutron star observations. NatAs. 2024;8:328. [Google Scholar]
  • 43.Wu Z, Wen D. From masses and radii of neutron stars to EOS of nuclear matter through neural network. ChPhC. 2024;48:024101. doi: 10.1088/1674-1137/ad0e04. [DOI] [Google Scholar]
  • 44.Morawski F, Bejger M. Neural network reconstruction of the dense matter equation of state derived from the parameters of neutron stars. A&A. 2020;642:A78. doi: 10.1051/0004-6361/202038130. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The datasets used and/or analysed during the current study are available from the corresponding author upon reasonable request.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES