1 Introduction

The earliest proposal for the possible existence of a dense star, such as a neutron star, was made by Landau (1932). Later, Tolman (1939) and Oppenheimer & Volkoff (1939), employing the celebrated Tolman–Oppenheimer–Volkoff (TOV) equations, obtained the stellar structure of neutron stars in general relativity (GR). Neutron stars became a topic of interest after the discovery of X-ray sources by Giacconi et al. (1962) and the discovery of pulsar in 1967 by Hewish et al. (1968). Pulsars were then identified as rotating neutron stars by Gold (1968, 1969). The binary neutron star was first discovered in 1975 by Hulse & Taylor (1975), and the millisecond pulsar (MSP) by Backer et al. (1982). In all subsequent observations until before 2010, the pulsars were found to have masses well below \(2\ M_\odot \).

However, the scenario underwent a remarkable ch-ange since 2010 when pulsars of stellar mass \(\sim \)2 \(M_\odot \) were observed to exist in the Universe. For instance, Demorest et al. (2010) discovered MSP J1614−2230 in 2010 having a pulsar mass of \(1.928\pm 0.017\) \( M_{\odot }\) (as re-estimated by Fonseca et al. 2016). Similarly, Antoniadis et al. (2013) discovered MSP J0348\(+\)0432 in 2013 with a pulsar mass of \(2.01\pm 0.04\) \(M_{\odot }\). In recent years, massive pulsars have been detected such as PSR J2215\(+\)5135 by Linares et al. (2018) with a pulsar mass of \(2.27_{-0.17}^{+0.15}\) \( M_{\odot }\), MSP J0740\(+\)6620 by Cromartie et al. (2020) with a pulsar mass of \(2.14_{-0.09}^{+0.10}\) \( M_{\odot }\), and PSR J0952−0607 by Bassa et al. (2017) with a pulsar mass of \(2.35\pm 0.17\) \(M_\odot \) Romani et al. (2022).

Recent gravitational wave detections also indicated the existence of massive neutron stars. The gravitational wave event GW170817 (Abbott et al. 2017), the first observed binary neutron star merger by the LIGO, reported component masses in the range of 1.0–1.89 \(M_\odot \) with a total mass of \(2.73^{+0.04}_{-0.01}\) \(M_\odot \) (Abbott et al. 2019). The next observed binary neutron star merger event GW190425 (Abbott et al. 2020a) reported component masses between 1.15 and 2.52 \(M_\odot \) with a total mass of \(3.4^{+0.3}_{-0.1}\) \(M_\odot \). Moreover, the GW190814 event was predicted to be the merger of a massive compact object of 2.50–2.67 \(M_\odot \) with a black hole of 22.2–24.3 \(M_\odot \) (Abbott et al. 2020b). The compact object, although too massive to be a neutron star and too light to be a black hole, might as well be a candidate for a massive neutron star.

The observational evidences for massive neutron stars naturally require a theoretical explanation including their stellar structure and composition of matter interior to such massive objects. However, such evidences bring about constraints on the equation of state, so that a stellar mass of \(\sim \)2 \(M_\odot \) could be obtained (Özel & Freire 2016). Consequently, efforts have been made to obtain an equation of state with a high degree of stiffness. In fact, high stiffness was incorporated for the high-density regions of the star by removing the hyperons from the nuclear matter (Fattoyev & Piekarewicz 2010; Hornick et al. 2018; Friman & Weise 2019). However, it was argued that hyperons would emerge in the high-density nuclear matter leading to softening of the equation of state (Dapo et al. 2010; Lonardoni et al. 2015).

There have been attempts to formulate the equation of state of neutron matter considering multi-body interactions employing various phenomenologies such as Skyrme-type forces (Vautherin & Brink 1970; Siemens & Pandharipande 1971; Friedman & Pandharipande 1981; Pandharipande & Ravenhall 1989; Chabanat et al. 1997, 1998), relativistic mean field (Walecka 1974; Boguta & Bodmer 1977; Müller & Serot 1996), chiral effective field theory (Drischler et al. 2021), the Urbana model (Akmal et al. 1998), relativistic Fermi liquid (Friman & Weise 2019), etc. Some of these equations of state are stiff enough to yield the maximum stable mass \(M_{\max }\sim 2\) \(M_\odot \) or even higher. However, some of these equations of state violate the condition of causality in the high-density region of the star.

Moreover, there exist formulations, usually referred to as unified equations of state, such as SLy4, FPS and BSk19-21 (Haensel & Potekhin 2004; Potekhin et al. 2013). These unified equations of state are based on Skyrme-type nucleon–nucleon interactions. SLy4 was constructed from SLy (Skyrme Lyone) type interactions (Chabanat et al. 1997, 1998) and FPS was from generalized Skyrme model (Pandharipande & Ravenhall 1989) by fitting to the estimates of Friedman & Pandharipande (1981). BSk19-21 were based on the corresponding energy density functionals (EDF), developed from generalized Skyrme force using the Hartee–Fock–Bogoliubov method by the Brussels–Montreal group (Goriely et al. 2010; Pearson et al. 2012, 2011). BSk19 EDF was fitted with constraints from the equation of state in (Friedman & Pandharipande 1981). BSk20 EDF was fitted with constraints from APR equation of state (Akmal et al. 1998), whereas BSk21 EDF was fitted with constraints from LS2 equation of state (Li & Schulze 2008). It may be noted that these hadronic equations of state are fitted with constraints coming from standard equations of state which have been very successful in modeling neutron stars.

These hadronic equations of state (SLy, FPS and BSk19-21) have certain advantageous features. Each of these equations of state is formulated using the same many-body interaction so that transitions between different hadronic regions of the star are continuous. They also remain causal up to reasonably high densities.

Among the five unified equations of state, SLy, BSk20 and BSk21 satisfy the 2 \(M_\odot \) constraint coming from observations of massive pulsars (Demorest et al. 2010; Antoniadis et al. 2013; Fonseca et al. 2016; Linares et al. 2018; Cromartie et al. 2020), as they are capable of yielding maximal stable mass \(M_\textrm{max}\sim 2\) \(M_\odot \) or greater, BSk21 giving the highest (Haensel & Potekhin 2004; Potekhin et al. 2013).

As we shall see in Section 4 below, when some of these hadronic equations of state (BSk19 and BSk20) are employed throughout the star, they violate the condition of causality (\(c_s\le c\)) just before the gravitational instability sets in, so that, at ultra-high densities in the core region, the speed of sound \(c_s\) exceeds the speed of light c. The remaining hadronic equations of state (Sly, FPS and BSk21) remain causal within their regions of gravitational stability.

It is also important to note that when these hadronic equations of state (SLy, FPS and BSk19-21) are emp-loyed throughout the star, to attain the maximal mass configurations (\(M_\textrm{max}\sim 2\ M_\odot \)), the central densities turn out to be \(\rho _c\sim 10\ \rho _\textrm{nuc}\), where \(\rho _\textrm{nuc}=2.67\times 10^{14}\) g cm\(^{-3}\) is the nuclear saturation density. Quark deconfinement is expected to occur at such ultra-high densities in the core region (Ivanenko & Kurdgelaidze 1969; Itoh 1970; Shuryak 1980).

The above facts indicate that hadronic equations of state are not adequate representations for the ultra-high density core region. On the other hand, they are most suitable to represent the outer regions of lower densities (where they are causal).

In this paper, we thus motivate the scenario of deconfined quark matter in the core region and hadronic matter in the region outside the core. For a simplistic analysis of this scenario, we employ the MIT bag model (Jaffe & Low 1979; Simonov 1981) to represent the deconfined quark matter in the core region and one of the unified equations of state (SLy4, FPS and BSk19-21, Haensel & Potekhin 2004; Potekhin et al. 2013) for the hadronic matter in the outer region. With this construction, we find that the hadronic equations of state remain causal because of crossover to the MIT bag model equation of state, so that causality is maintained throughout the star.

While there is no concrete result for the hadron-to-quark transition in the literature, Kojo (2016) suggested that typical models predict the phase transition to occur between 2 and 10 \(\rho _\textrm{nuc}\). On the other hand, Baym et al. (2018) suggests that quark matter equation of state should be applied for densities higher than \(\sim \)4–7 \(\rho _\textrm{nuc}\).

We find that these bounds are satisfied when we take the first crossover between the MIT bag model and the unified equations of state to determine the transition from the quark region to the hadronic region. Namely, the transition points occur at 2.92 \(\rho _\textrm{nuc}\), 4.10 \(\rho _\textrm{nuc}\), 4.72 \(\rho _\textrm{nuc}\), 6.33 \(\rho _\textrm{nuc}\) and 6.78 \(\rho _\textrm{nuc}\) for transition from the MIT bag model to BSk21, BSk20, SLy, BSk19 and FPS, respectively. Such piece-wise continuous crossover happens in a small region so that we do not expect a significant change in the total mass if this cross-over is made smooth by interpolation. With this scheme, we study the stellar structure and obtain the maximal stable mass \(M_\textrm{max}\) for central densities \(\rho _c\sim 10\ \rho _\textrm{nuc}\). Our analysis reveals interesting features with the maximal mass within this framework.

The remainder of the paper is organized as follows. Section 2 briefly outlines the field equations. Section 3 presents the analytical representations of the unified equations of state and the MIT bag model. In Section 4, we give an outline of the methodology adopted in the numerical integration of the field equations together with the boundary conditions. Section 5 embodies the main motivation of this paper, with details of the stellar structure predicted by different combinations of the MIT bag model with the unified equations of state. Finally, the paper is concluded in Section 6 with a discussion of the results.

2 Field equations

In general relativity, the Einstein–Hilbert action is expressed as:

$$\begin{aligned} \mathcal {S}=\frac{1}{2c\kappa }\int d^{4}x\sqrt{-g}R+\int d^{4}x\sqrt{-g}\mathcal {L}_{m}, \end{aligned}$$
(1)

where \(\kappa =({8\pi G}/{c^4})\), with G the Newton’s constant, R the scalar curvature and \(\mathcal {L}_m\) is the matter Lagrangian. Varying the action with respect to the metric \(g^{ab}\), and applying Hamilton’s principle, the Einstein field equations are obtained as:

$$\begin{aligned} G_{ab}=R_{ab}-\frac{1}{2}g_{ab}R=\kappa T_{ab}, \end{aligned}$$
(2)

where \(R_{ab}\) is the Ricci tensor, and

$$\begin{aligned} T_{ab}=cg_{ab}\mathcal {L}_{m}-2c\frac{\delta \mathcal {L}_{m}}{\delta g^{ab}} \end{aligned}$$

is the energy-momentum tensor.

For a perfect fluid,

$$\begin{aligned} T_{ab}=\frac{(\varepsilon +P)}{c^{2}}u_{a}u_{b}+g_{ab}P, \end{aligned}$$

where \(\varepsilon =\rho c^2\) is the energy density, P is the pressure, and \(u^a\) is the four-velocity with \(u^au_a=-c^2\).

Using the spherically symmetric static metric, \(ds^{2}=-e^{\nu (r)}c^{2}\,dt^{2}+e^{\lambda (r)}dr^{2} +r^{2}d\theta ^{2}+r^{2}\sin ^{2}\theta d\varphi ^{2}\), leads to the field equations:

$$\begin{aligned}&\frac{d\lambda }{dr}= \frac{1-e^{\lambda }}{r} +\kappa re^{\lambda }\varepsilon (r),\nonumber \\&\frac{d\nu }{dr}= \frac{e^{\lambda }-1}{r} +\kappa re^{\lambda }P(r), \end{aligned}$$
(3)

where \(\lambda (r)\) and \(\nu (r)\) are the undetermined metric potentials. The radial profile of mass can be obtained from:

$$\begin{aligned} m(r)=\frac{c^2}{2G}r\{1-e^{-\lambda (r)}\}. \end{aligned}$$
(4)

From Equations (3), (4) and the conservation law, \(\nabla _{a}T^{ab}=0\), TOV equations are obtained as:

$$\begin{aligned}&\frac{dP}{dr}=\frac{-[P(r)+\varepsilon (r)]}{r[c^2r-2Gm(r)]}\left[ Gm(r)+\frac{4\pi G}{c^2} r^3P(r)\right] ,\end{aligned}$$
(5)
$$\begin{aligned}&\frac{dm(r)}{dr}=\frac{4\pi r^2\varepsilon (r)}{c^2}. \end{aligned}$$
(6)

We integrate the above equations simultaneously for the interior as well as the exterior of the neutron star with appropriate boundary conditions (as discussed in Section 4) employing different equations of state (as given in Section 3).

3 Equations of state

The nuclear matter in a neutron star is subjected to extreme conditions as it is under tremendous pressure with the central density \(\rho _c\sim 10^{15}\) g cm\(^{-3}\) for maximal mass configurations. This makes the nuclear matter highly degenerate and the equation of state is independent of temperature (Haensel & Potekhin 2004), except for a thin outer layer. The core is expected to consist of deconfined quark matter which we shall represent by the MIT-bag model (Jaffe & Low 1979; Simonov 1981). The hadronic matter in the outer region will be represented by a unified equation of state such as SLy, FPS (Haensel & Potekhin 2004), BSk19, BSk20 and BSk21 (Potekhin et al. 2013).

To have continuous representations for these equations of state, we employ the parameterized forms of the pressure P as a function of density \(\rho \). The parameterized form in the SLy and FPS unified equations of state is expressed as (Haensel & Potekhin 2004),

$$\begin{aligned}&\zeta =\frac{a_{1}+a_{2}\xi +a_{3}\xi ^{3}}{(a_{4}\xi +1) \left( e^{a_{5}(\xi -a_{6})}+1\right) }+\frac{a_{7}+a_{8}\xi }{e^{a_{9}(a_{10}-\xi )}+1}\nonumber \\&\qquad +\frac{a_{11}+a_{12}\xi }{e^{a_{13}(a_{14}-\xi )}+1} +\frac{a_{15}+a_{16}\xi }{e^{a_{17}(a_{18}-\xi )}+1}, \end{aligned}$$
(7)

where \(\zeta =\log (P/P_\textrm{ref})\) with \(P_\textrm{ref}=1.0\) dyne cm\(^{-2}\), and \(\xi =\log (\rho /\rho _\textrm{ref})\) with \(\rho _\textrm{ref}=1.0\) g cm\(^{-3}\). The eighteen parameters \(a_i\) are given in Haensel & Potekhin (2004).

Additionally, the parameterized form of the pressure P as a function of density \(\rho \) for BSk19, BSk20 and BSk21 unified equations of state is given by the expression (Potekhin et al. 2013)

$$\begin{aligned} \zeta&=\frac{a_{1}+a_{2}\xi +a_{3}\xi ^{3}}{(a_{4}\xi +1) (e^{a_{5}(\xi -a_{6})}+1)}+\frac{a_{7}+a_{8}\xi }{e^{a_{9}(a_{6}-\xi )} +1}\nonumber \\&\quad +\frac{a_{10}+a_{1}\xi }{e^{a_{12}(a_{13}-\xi )}+1} +\frac{a_{14}+a_{15}\xi }{e^{a_{16}(a_{17}-\xi )}+1}\nonumber \\&\quad +\frac{a_{18}}{[a_{19}(\xi -a_{20})]^{2}+1} +\frac{a_{21}}{[a_{22}(\xi -a_{23})]^{2}+1}, \nonumber \\ \end{aligned}$$
(8)

with \(\zeta =\log (P/P_\textrm{ref})\) and \(\xi =\log (\rho /\rho _\textrm{ref})\), as before. The twenty-three parameters \(a_i\) are given in Potekhin et al. (2013).

For the deconfined quark core, we employ the equation of state given by the MIT bag model (Jaffe & Low 1979; Simonov 1981),

$$\begin{aligned} P=k(\rho c^2-4B), \end{aligned}$$
(9)

where B is the bag constant. The parameter k depends on the mass of strange quark \(m_s\) and the QCD coupling \(\alpha _s\). For \(m_s=0\), \(k=1/3\), and for \(m_s=250\) MeV \(c^{-2}\), \(k=0.28\). The bag constant B takes a value \(0.982B_0<B<1.525B_0\) for \(m_s=0\), with \(B_0=60\) MeV fm\(^{-3}\) (Paschalidis & Stergioulas 2017). In this paper, we take \(B=60\) MeV fm\(^{-3}\) (i.e., \(B^{1/4}\sim 147\) MeV, corresponding to \(\alpha _s=0\), as in Figure 1 of Farhi & Jaffe 1984). Moreover, in the ultra-relativistic approximation, we take \(m_s=0\), so that \(k=1/3\).

The above equations of state are displayed in Figure 1. The crossover between the MIT bag model and the unified equations of state are shown in the inset.

Fig. 1
figure 1

Plots for different unified equations of state expressed by Equations (7) and (8), and the MIT bag model given by Equation (9). The inset shows the crossover points between the MIT bag model and the unified equations of state.

Fig. 2
figure 2

Radial profiles of the metric potentials \(\lambda (r)\) (top) and \(\nu (r)\) (bottom) for central densities corresponding to the maximal mass \(M_\textrm{max}\) using different combined equations of state.

4 Initial conditions and numerical integration

To obtain the stellar structure of neutron stars and the metric potentials, we need to solve the TOV Equations (3), (5) and (6) by numerical integration. We re-scale these equations by defining dimensionless quantities, \(\eta =r/r_g\), \(\tilde{P}=P/P_0\), and \(\tilde{\rho }=\rho /\rho _0\), where \(P_0=4B\), \(\rho _0=P_0/c^2\) and \(r_g=GM_{\odot }/c^2=1.4766\times 10^{5}\) cm, the half of Schwarzchild radius of the Sun.

We set the initial conditions for carrying out the numerical integrations as follows. Initially, we supply a value for the central density \(\rho (0)=\rho _c\). We note that \(\lambda \rightarrow 0\) and \(\nu \rightarrow \nu _c\) as \(r\rightarrow 0\). Although it is straightforward to set the initial value \(\lambda (0)=0\), it is not so straightforward to set the initial value \(\nu (0)=\nu _c\) consistent with the initial choice \(\rho (0)=\rho _c\). Since there is no direct dependence on \(\nu \) in any of the equations, the central value \(\nu _c\) is undetermined at this stage. However, it can be fixed to obtain an asymptotically flat solution at infinity. Consequently, the central value \(\nu _c\) is fixed by looking at the exterior far-field solution, requiring it to be asymptotically flat so that \(\lambda \rightarrow 0\) and \(\nu \rightarrow 0\) as \(r\rightarrow \infty \).

To validate this procedure, we solve Equations (3), (5) and (6) employing the above initial conditions using different unified equations of state individually throughout the star, standard results for which are already available (Chabanat et al. 1997; Potekhin et al. 2013). For each of these equations of state, we obtained the radial profiles of \(\lambda (r)\) and \(\nu (r)\) for the maximal central density corresponding to the maximal stable mass \(M_\textrm{max}\). We have confirmed that both \(\lambda (r)\) and \(\nu (r)\) asymptotically approach zero at infinity so that the space-time appro-aches the Minkowski flat geometry asymptotically.

The stellar mass of the star is obtained from

$$\begin{aligned} M=\frac{c^2}{2G}r_s\{1-e^{-\lambda (r_s)}\}, \end{aligned}$$
(10)

where \(r_s\) is the stellar radius, determined from the condition of pressure approaching zero.

Our calculation with the purely hadronic equations of state yields the maximal stable mass \(M_\textrm{max}\) to be 2.05, 1.81, 1.86, 2.16 and 2.27 \(M_\odot \) with SLy, FPS, BSk19, BSk20 and BSk21, respectively. These values agree well with previous calculations by Chabanat et al. (1997) and Potekhin et al. (2013) validating our numerical procedure. We also note that the maximal stellar mass \(M_\textrm{max}\) is obtained for central densities between \(2\times 10^{15}\) and \(3.5\times 10^{15}\) g cm\(^{-3}\) across these hadronic equations of state.

However, just prior to attaining the maximal stable mass \(M_\textrm{max}\), BSk19 and BSk20 violate the condition of causality so that the velocity of sound given by:

$$\begin{aligned} c_s=\sqrt{\frac{\partial P}{\partial \rho }} \end{aligned}$$

exceeds the velocity of light c. On the other hand, \(M_\textrm{max}\) given by SLy, FPS and BSk21 remain causal within the gravitational threshold of stability.

5 Stellar structure with combined equations of state

As we have seen in the preceding section, some of the unified equations of state (BSk19 and BSk20) yield maximal masses by violating the condition of causality, occurring in the high-density central region of the star. Moreover, the maximal mass was obtained for central densities between \(2\times 10^{15}\) and \(3.5\times 10^{15}\) g cm\(^{-3}\). At such high densities, we expect the core region to be composed of deconfined quark matter rather than hadronic matter. We thus take the MIT bag model to represent the deconfined quark matter in the core region. The region away from the core, on the other hand, is expected to be made up of predominantly hadronic matter that can be represented by one of the unified equations of state. This gives five combined equations of state, which we shall represent as MIT-SLy, MIT-FPS, MIT-BSk19, MIT-BSk20 and MIT-BSk21.

We take the crossover between the regions of deconfined quark matter and hadronic matter as the first intersection point between the two curves where both MIT bag model and the unified equation of state have the same pressure and the same density (shown in the inset of Figure 1). This gives piece-wise continuous curves for each combination of equations of state. With these models, we numerically integrate the TOV equations given by (3), (5) and (6), employing the boundary conditions as described in Section 4. This yields the interior and exterior solutions for the metric potentials \(\lambda (r)\) and \(\nu (r)\), and the radial profiles of density \(\rho (r)\), pressure P(r) and mass m(r) for different combinations of the equations of state.

We display in Figure 2 the radial profiles of the metric potentials \(\lambda (r)\) and \(\nu (r)\) for different combinations of the MIT bag model with the unified equations of state corresponding to the maximal stable mass \(M_\textrm{max}\) (shown in Table 1). These metric potentials display different behaviors up to 40 km from the center and thereafter they vary in similar ways with respect to different equations of state. Moreover, we have confirmed that both \(\lambda (r)\) and \(\nu (r)\) approach zero at large values of r signifying an asymptotic approach to a flat Minkowski space-time at infinity.

Figure 3 shows the density profiles corresponding to the maximum stable mass \(M_\textrm{max}\) for different combined equations of state. Although the MIT bag model represents the core in all cases, there are significant differences among the maximal central densities leading to different density profiles in all cases. Moreover, the density profiles show significant variation in the region near the surface where different unified equations of state describe the hadronic matter.

Table 1 summarizes the results for the maximum stable mass \(M_\textrm{max}\) obtained with different combinations of equations of state. It is evident that, although the central region is governed by the MIT bag model, the maximum central density \(\rho _{c,\mathrm max}\), the maximal mass \(M_\textrm{max}\) and the stellar radius \(r_s\) differ for different combinations of equations of state. It is important to note that all these maximal central densities are consistent with the causality condition on the speed of sound, \(c_s\le c\).

Table 1 Maximal stable mass \(M_\textrm{max}\), the corresponding central density \(\rho _c\), and stellar radius \(r_s\) for different equations of state. The table also shows the speed of sound \(c_{s,c}\) at the center and \(r_\textrm{peak}\) is the radial position of the peak in \(\rho r^2\).
Fig. 3
figure 3

Density profiles \(\rho (r)\) for central densities corresponding to the maximal mass \(M_\textrm{max}\) using different combined equations of state.

Figure 4 displays the pressure profiles for the maximum stable masses with the five combinations of equations of state. These profiles exhibit significant variation in the core region described by the MIT bag model, whereas there are small variations in the region near the surface described by different unified equations of state.

Figure 5 displays the mass profile m(r) given by Equation (4) for the maximum stable masses \(M_\textrm{max}\) for different combinations of equations of state. The flattening of the curves near the surface occur due to negligible contribution to the total mass from near the surface.

Fig. 4
figure 4

Pressure profiles P(r) for central densities corresponding to the maximal mass \(M_\textrm{max}\) using different combined equations of state.

Fig. 5
figure 5

Radial profiles of the mass m(r) corresponding to the maximal mass \(M_\textrm{max}\) with different combinations of equations of state.

Unlike the cases with the individual equations of state, the maximum stable mass in the present combined cases are below 2 \(M_{\odot }\) as shown in Table 1. For example, BSk21 alone gave a maximum stable mass of 2.27 \(M_\odot \) with a central density of \(2.30\times 10^{15}\) g cm\(^{-3}\), whereas the combination MIT-BSk21 yields 1.98 \(M_\odot \) with a central density of \(2.03\times 10^{15}\) g cm\(^{-3}\). Although the value 1.98 \(M_\odot \) is obtained with a deconfined quark core, it is the closest to the value of 2 \(M_\odot \) among the combinations considered herein.

We further see from Table 1 that the maximal masses correlate well with the stellar radii. To understand this correlation, we plot in Figure 6 the profile of \(\rho r^2\) for each of the combined equations of state. We note from Figure 6 that the peaks in the radial profiles of \(\rho r^2\), and hence the mass distribution, continues farther outwards for the combination MIT-BSk21 compared to the rest of the combinations, giving the highest maximal mass. The positions of these peaks are given in Table 1. As the peaks shift to higher values of r, the mass distribution also shifts to higher values of r so that the contribution to the total mass increases. This indicates that the position of the peak is correlated with the maximal mass.

The contribution to mass \(\Delta M_{12}\) contained between the radial coordinates \(r_1\) and \(r_2\), given by

$$\begin{aligned} \Delta {M}_{12}=4\pi \int _{r_1}^{r_2}{}\rho r^{2} dr, \end{aligned}$$
(11)

is determined by the area under the curve between \(r_1\) and \(r_2\) in Figure 6. Thus the contribution to \(\Delta M_{12}\) from the central region (between 0 and 2 km, say) is much smaller compared to the total mass in all cases. Moreover, the contribution from near the surface is negligible as the curves fall almost vertically near the surface in all cases. Thus the dominant contribution to the total mass comes from the intermediate region surrounding the peak value of \(\rho r^2\).

We further see from Figure 6 that the MIT-BSk21 peak (as well as its profile) extends up to a higher radial coordinate compared to the other four combinations. This is correlated well with the fact that MIT-BSk21 yields the highest maximal mass. In addition, we observe that MIT-FPS and MIT-BSk19 have nearly the same peak positions (and profiles), explaining nearly equal masses for them. Moreover, MIT-SLy and MIT-BSk20 have similar peak positions (and profiles), giving similar masses.

The above behaviors of increasing mass are correlated well with the shift in the position of the peaks towards higher radial coordinates (as shown in Table 1). Since the integrand for \(\Delta M_{12}\) given by Equation (11) is weighted by the factor \(r^2\), it is the extent of the mass distribution that determines the maximal mass. Thus, it is the matter far from the center that gives a dominant contribution to the total mass.

Fig. 6
figure 6

Radial profiles of \(\rho r^2\) corresponding to the maximal mass \(M_\textrm{max}\) with different combinations of equations of state. These radial profiles illustrate the fact that the mass distribution moves to higher radial values as the peak value of \(\rho r^2\) moves to the right, giving the highest total mass for the combination MIT-BSk21.

Fig. 7
figure 7

Mass-radius relations with different combinations of equations of state. Each curve is shown up to the corresponding \(M_\textrm{max}\) value.

In the MIT-BSk21 combination, the transition from the MIT bag model to BSk21 takes place at a lower density (higher radius) as compared to other combined cases. As a consequence, the MIT bag model dictates the stellar structure by forming a larger quark core region compared to the other combinations. In comparison, in the combinations MIT-BSk20 and MIT-SLy, the quark core is smaller, whereas, in MIT-FPS and MIT-BSk19, the quark core is the smallest. In each combined case, a wide region around the peak is governed by the unified equation of state.

Figure 7 displays the mass-radius curves obtained for different combined equations of state. The maximum mass value in each of these curves corresponds to the maximal stable mass \(M_\textrm{max}\). The figure shows only the stable branches so that the curves stop at the \(M_\textrm{max}\) values. It is seen that the combination MIT-BSk21 yields the highest maximal mass, and the MIT-FPS combination yields the lowest. The combinations of MIT-FPS and MIT-BSk19 give nearly coincident mass-radius curves and maximal masses. The maximal masses are summarized in Table 1.

Figure 8 displays the mass versus central density curves for different combinations of the MIT bag model with the unified equations of state. In each case, the maximum stable mass \(M_\textrm{max}\) corresponds to the maxima of the curve, where \(({\partial M}/{\partial \rho _c})=0\). The region with the higher density segment beyond the maxima corresponds to the unstable regime, where \(({\partial M}/{\partial \rho _c}<0\)). The stable regime corresponds to the segment where the mass increases with an increase in central density, that is, for \(({\partial M}/{\partial \rho _c})>0\). It is important to note that the maximum stable mass in each of these combined cases does not violate the causality condition (\(c_s\le c\)), as shown in Table 1

6 Conclusions

In this work, we studied the stellar structure and maximal mass of neutron stars using different combinations of equations of state. As we have discussed earlier, the relativistic equations of state, without involving quark deconfinement in the central region, have been employed throughout the star, yielding maximal mass \(\sim \)2 \(M_\odot \) or even higher (cf. Table III in Read et al. 2009). However, as shown by Read et al. (2009) some of the relativistic equations of state violate the condition of causality upon piecewise polytropic fits to the tabulated equations of state in the high-density region.

Fig. 8
figure 8

Mass versus central density for different combinations of equations of state.

When a unified equation of state is used throughout the star, we have seen in Section 4 that some of them yield the maximal mass \(M_\textrm{max}\sim 2\ M_\odot \) or higher. However, BSk19 and BSk20 violate the causality condition (\(c_s\le c\)) in the high-density central region for the maximal mass.

We also found that the central density corresponding to the maximal mass \(M_\textrm{max}\) is \(\rho _c\sim 10\rho _\textrm{nuc}\) or even higher, where \(\rho _\textrm{nuc}=2.67\times 10^{14}\) g cm\(^{-3}\) is the nuclear saturation density. This indicates that the matter is mainly deconfined quark matter in the central region. The MIT bag model is therefore a more suitable choice than the unified equations of state in the central region. The outer region, on the other hand, may be assumed to be composed of mainly hadronic matter where one of the unified equations of state can be employed. The crossover between these two regions is determined by the matching point between the two equations of state. Since the crossover between the two phases happens in a small region, an accurate interpolation is not expected to make a significant difference in the total mass and a piece-wise continuous representation is expected to be reliable.

As shown in Table 1, these combined equations of state yield maximal masses slightly \(<\!\!2\) \(M_\odot \), whereas, the MIT-BSk21 combination almost touches this value. In addition, we find that the causality condition (\(c_s\le c\)) is well-respected for all these combined equations of state.

Our calculations illustrate another important feature in determining the maximal mass. The integrand determining the total mass of the star is weighted by \(r^2\) and the peak in \(\rho r^2 \) occurs far from the center. Thus the dominant contribution to the total mass comes from the region around the peak. The regions near the center as well as the surface give small contributions to the total mass. The combination MIT-BSk21 yields the highest maximal mass as its peak in \(\rho r^2\) occurs at the highest radial coordinate r (among the combinations considered). It may also be important to note that the deconfined quark core for MIT-BSk21 extends to a higher radial coordinate than the other combinations. The peak in \(\rho r^2 \) occurs in the outer hadonic matter region and it is moved to a higher radial coordinate for MIT-BSk21 than in the other combinations. The positions of the peaks in \(\rho r^2 \) are well-correlated with the maximal mass as displayed in Table 1.

Recently, Romani et al. (2022) estimated a pulsar mass of \(2.35\pm 0.17\) \(M_\odot \) for PSR J0952−0607 observed by Bassa et al. (2017) which is a rapidly rotating neutron star with pulsar frequency 707 Hz. As shown earlier by Shapiro & Teukolsky (1983) and Friedman & Ipser (1987), a rapidly rotating neutron star can support 20–25% more mass than the gravitational threshold of the non-rotating neutron star. Our gravitational threshold being 1.98 \(M_\odot \) for a non-rotating neutron star, the increased threshold due to rotation would be 2.38–2.48 \(M_\odot \). This is consistent with the new benchmark of 2.35 \(M_\odot \).

Our study thus illustrates that it is possible to approach the desired value of 2 \(M_\odot \) for a non-rotating neutron star with a proper combination of equations of state for deconfined quark matter and hadronic matter so that the peak in \(\rho r^2\) occurs at a sufficiently high value of the radial coordinate. Since the total mass is significantly dependent on the outer region where the peak in \(\rho r^2\) occurs, an adequate formulation of the equation of state for hadronic matter is also important. In the realistic scenario, we expect a continuous phase transition from the deconfined quark matter in the core region to the hadronic matter in the outer region. This phase transition, which is not yet well understood, needs an adequate formulation based on quantum chromodynamics. This is however a formidable task and improvements in the neutron star models would require well-formulated phenomenological models accounting for the necessary features of such continuous phase transition.