1 Introduction

Neutron stars which are born in the aftermath of core-collapsing supernova (SN) explosions, are a cosmic laboratory and the best environment for the studying dense matter problems. It is notable that, in the center of neutron star because of high densities, the matter is envisaged to have a transition from hadronic matter to strange quark matter, see Refs. [1,2,3,4], for more details. Also, Glendenning in Ref. [5], showed that proper construction of phase transition between the hadron and quark, inside the neutron stars implies the coexistence of nucleonic matter and quark matter over a finite range of the pressure. Accordingly, a mixed hadron-quark phase exists in the neutron star, so that its energy is lower than that of the quark matter and nucleonic matter. Phase transition between quark matter core and hadronic external layers (hadron-quark phase) in neutron star is an interesting subject which has been investigated by many authors [6,7,8,9,10,11,12,13,14,15,16,17,18]. For example, the effects of quark-hadron matter in the center of neutron stars have been studied in Refs. [19, 20], and the obtained results have been shown that for \(PSR~J1614-2230\), and \( PSR~J0348+0432\) with masses about \(2M_{\,\odot }\), may contain a region of quark-hybrid matter in their center. Plumari et al. have investigated the effects of a quark core inside neutron star by considering the quark-gluon EoS in the framework of field correlator model [21]. They have found an upper limit for the mass of neutron stars by adjusting some parameters. This limit was in the range \(M_{\max }\simeq 2M_{\,\odot }\). In addition, Chen et al. have studied cold dense quark matter and hybrid stars with a Dyson-Schwinger quark model and various choices of the quark-gluon vertex [22]. They have showed that hadron states have the maximum mass lower than the pure nucleonic neutron stars, but higher than two solar masses. Their results depended on parameters of EoS. Also, Lastowiecki et al. have found that compact stars masses of about \(2M_{\,\odot }\) such as \( PSR~J1614-2230\) and \(PSR~J3048+0432\) were compatible with the possible existence of deconfined quark matter in their core [23]. Neutrino emissivity in the quark-hadron mixed phase of neutron stars have been investigated in Ref. [24]. According to importance of existence of quark matter in the neutron stars [15, 25,26,27,28,29,30, 30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49], we consider a neutron star to be composed of a hadronic matter layer, a mixed phase of quarks and hadrons, and in the core of star, a quark matter. One of our aims in this work is determining the structure of neutron star with a quark core and comparing it with observation data.

In order to study the structure of stars and their phenomenological properties, we must use the hydrostatic equilibrium equation (HEE). Indeed, this equation is based on the fact that a typical star will be in equilibrium when there is a balance between the gravitational force and the internal pressure. The first HEE equation was introduced by Tolman, Oppenheimer and Volkoff (TOV) [50,51,52] in the Einstein gravity which is known as TOV equation. Considering TOV equation, the structure of compact stars have been evaluated by many authors in Refs. [53,54,55,56,57,58,59,60,61].

According to this fact that, there are some massive neutron stars with mass more than two times of solar mass, \(M\ge 2M_{\,\odot }\), for example, \( 4U1700-377\) with \(M=2.4M_{\,\odot }\) [62], and \(J1748-2021B\) with \( M=2.7M_{\,\odot }\) [63], one of our goals in this work is related to answer this question: is there a quark core inside neutron stars with mass more than \(2M_{\,\odot }\) (\(M\ge 2M_{\,\odot }\)), by considering a suitable EoS which obtained by combining three different parts, a layer of hadronic matter, a mixed phase of quarks and hadrons, and a strange quark matter in core? In order to evaluate a suitable EoS, we will study energy, Le Chatelier’s principle and stability conditions of this EoS. Another our goal is related to the investigation of the effects of quark core in the structure of hybrid star. For this goal, we study the difference between the structure of hybrid stars and pure neutron stars.

The outline of the paper is as follows; First, in order to investigate the structure of neutron stars, we evaluate a suitable EoS which includes three different layers. Then, we compare the structure of neutron stars by considering the EoS with and without a quark core. Indeed, we study the effects of EoS by applying a quark core on the structure of neutron stars. Next, we compare our obtained results with those of observational data. The last section is devoted to closing remarks.

2 Equation of state

A neutron star with a quark core composed of a hadronic matter layer, a mixed part of quarks and hadrons and a quark matter in core. Thus we calculate the EoS of different parts of this star in the following subsections.

2.1 Hadron phase

We use the lowest order constrained variational (LOCV) many-body method to determine the EoS of nucleonic matter [64,65,66,67]. We consider a cluster expansion of the energy functional up to the two-body term,

$$\begin{aligned} E([f])=\frac{\left<\psi \mid H\mid \ \psi \right>}{N\left<\psi \mid \psi \right>}=E_{1}+E_{2}, \end{aligned}$$
(1)

in which H is the Hamiltonian of the system. Also, \(\psi \) is the total wave function in which we consider a trail many-body wave function as \(\psi =F\phi \). Here \(\phi \) is a uncorrelated ground-state wave function of N independent nucleons, and F is a proper N-body correlation function which is taken according to the Jastrow ansatz, \(F={\mathcal {S}} \prod _{i>j}f(ij)\), in which \({\mathcal {S}}\) and f(ij) are the symmetrizing operator and the two-body correlation function, respectively. Using the Jastrow ansatz and after some algebra, the energy is calculated (see [68], for more details). The one body term is \(E_{1}=\sum _{i=1,2}{\frac{3 }{5}\frac{\hbar ^{2}k_{i}^{2}}{2m_{i}}\frac{\rho _{i}}{\rho }}\), for an asymmetrical nucleonic matter, where \(\rho _{i}\) are the nucleonic densities associated with the protons and neutrons \((\rho =\rho _{p}+\rho _{n})\) and \(k_{i}=(6\pi ^{2}\rho _{i})^{1/3}\) is the Fermi momentum of particle i. The two-body energy is \(E_{2}=\frac{1}{2N} \sum _{ij}<ij|\nu (12)|ij-ji>\). In this relation, the operator \(\nu (12)\) is the effective nuclear potential. The complete calculation for nuclear matter has been presented in Ref. [65]. It should be noted that for calculation of the structure properties of neutron star, the equation of state of hadronic matter has a crucial role. On the other hand, various nucleon-nucleon potentials lead to the different equations of state. Therefore, the maximum mass of neutron star depends highly on the inter-nucleon potential [69]. Here the three-body nucleon-nucleon potential is very important for the nucleonic matter calculations. In the present paper, for the hadronic matter calculations, we use the \(UV14 + TNI\) potential in which the effect of three-body nuclear force has been considered.

2.2 Quark phase

The total energy of strange quark matter with deconfined up (u), down (d) and strange (s) quarks within MIT bag model [70, 71] is given by

$$\begin{aligned} {\mathcal {E}}_{tot}={\mathcal {E}}_{u}+{\mathcal {E}}_{d}+{\mathcal {E}}_{s}+B. \end{aligned}$$
(2)

The quark confinement in MIT bag model is satisfied by a density dependent bag constant B, that is interpreted as the difference between energy densities of non interacting and interacting quarks. We use a density dependent with the Gaussian form [72, 73],

$$\begin{aligned} B(\rho )=B_{\infty }+(B_{0}-B_{\infty })\exp \left[ {-\beta \left( \frac{\rho }{ \rho _{0}}\right) ^{2}}\right] . \end{aligned}$$
(3)

In the Eq. (2) \({\mathcal {E}}_{i}\) is

$$\begin{aligned} {\mathcal {E}}_{i}=\frac{3m_{i}^{4}}{8\pi ^{2}}\left[ x_{i}(2x_{i}^{2}+1)\left( \sqrt{ 1+x_{i}^{2}}\right) -\sinh ^{-1}x_{i}\right] , \end{aligned}$$

where \(x_{i}=\frac{k_{F}^{(i)}}{m_{i}}\) and, \(k_{F}^{(i)}=(\rho _{i}\pi ^{2})^{1/3}\) is the fermi momentum of quark i. See Ref. [72] for more details.

Now, by using the energy density from Eq. (2), we can obtain the EoS of quark matter in the MIT bag model,

$$\begin{aligned} P(\rho )=\rho \frac{\partial {\mathcal {E}}}{\partial \rho }-{\mathcal {E}}. \end{aligned}$$
(4)

2.3 Mixed phase

The hadron-quark phase happens in the high range of baryon density values. The occupied fraction of space by quark matter smoothly increases from zero where there is no quark to unity when the last nucleons dissolve into the quarks. In this phase, there are a mixture of hadrons, quarks and electrons. According to the Gibss equilibrium condition, the pressures, the temperatures and chemical potentials of both hadron and quark phases are equal [5], \((\mu _{p}^{Q}=\mu _{p}^{H})\) and \((\mu _{n}^{Q}=\mu _{n}^{H})\) where \(\mu _{n}^{H}\) (\(\mu _{p}^{H}\)) and \(\mu _{n}^{Q}\) (\(\mu _{p}^{Q}\)) are neutrons (protons) chemical potential in the hadron phase and the quark phase, respectively. It is notable that \(\mu _{n}\) and \(\mu _{p}\) are given by

$$\begin{aligned} \mu _{n}=\frac{\partial {\mathcal {E}}}{\partial \rho _{n}},\quad \mu _{p}=\frac{ \partial {\mathcal {E}}}{\partial \rho _{p}}. \end{aligned}$$
(5)

As the chemical potentials determine the charge densities, the volume fraction occupied by quark matter, \(\chi \), can be obtained by the requirement of global charge neutrality. Then the total energy density and baryon density of mixed phase could be determined,

$$\begin{aligned}&\chi \left( \frac{2}{3}\rho _{u}-\frac{1}{3}\rho _{d}-\frac{1}{3}\rho _{s}\right) +(1-\chi )\rho _{p}-\rho _{e} =0, \end{aligned}$$
(6)
$$\begin{aligned}&\chi \rho _{Q}+(1-\chi )\rho _{H} =\rho _{B}, \end{aligned}$$
(7)
$$\begin{aligned}&\chi {\mathcal {E}}_{QP}+(1-\chi ){\mathcal {E}}_{HP} ={\mathcal {E}}_{MP}. \end{aligned}$$
(8)

Calculations regarding the EoS of mixed phase has been fully discussed in Ref. [72].

At this stage we can determine EoS of neutron star with quark core using the results of proceeding sections. Also we investigate the energy and stability conditions for our results. For this purpose at first, we extract a mathematical form for the EoS presented as a polynomial function in the following form

$$\begin{aligned} P=\sum _{i=1}^{7}a_{i}{\mathcal {E}}^{7-i}, \end{aligned}$$
(9)

where \(a_{i}\) are

$$\begin{aligned} a_{1}= & {} 1.194\times 10^{-57},\quad a_{2}=-0.2467\times 10^{-40}, \nonumber \\ a_{3}= & {} 2.011\times 10^{-25},\quad a_{4}=-8.123\times 10^{-10}, \nonumber \\ a_{5}= & {} 1.656\times 10^{6},\qquad a_{6}=-1.201\times 10^{21}, \nonumber \\ a_{7}= & {} 2.915\times 10^{35}. \end{aligned}$$
(10)

In order to do more investigation of the obtained EoS, we evaluate energy, Le Chatelier’s principle and stability conditions as follows.

2.4 Energy conditions

It is expected that the energy conditions are satisfied by any EoS of matter. In general, there are four energy conditions. The null energy condition (NEC), weak energy condition (WEC), strong energy condition (SEC) and dominant energy condition (DEC). The two first cases state that for any matter distribution, energy should be non-negative. The weak energy apply to time-like vectors and the null energy condition is for null vectors. The strange energy condition states that the gravitational field is attractive. The last condition means that the energy flow rate of matter is less than the speed of light [74]. These conditions in the center of neutron star are given as follows

$$\begin{aligned} NEC\rightarrow & {} P_{c}+{\mathcal {E}}_{c}\ge 0, \end{aligned}$$
(11)
$$ \begin{aligned} WEC\rightarrow & {} P_{c}+{\mathcal {E}}_{c}\ge 0\quad \& \quad {\mathcal {E}} _{c}\ge 0, \end{aligned}$$
(12)
$$ \begin{aligned} SEC\rightarrow & {} P_{c}+{\mathcal {E}}_{c}\ge 0\quad \& \quad 3P_{c}+{\mathcal {E}} _{c}\ge 0, \end{aligned}$$
(13)
$$\begin{aligned} DEC\rightarrow & {} {\mathcal {E}}_{c}>|P_{c}|, \end{aligned}$$
(14)

where \({\mathcal {E}}_{c}\) and \(P_{c}\) are the density and pressure in the center of neutron star (\(r=0\)), respectively. The results of above conditions for our EoS are given in Table 1.

We see that our EoS satisfied all mentioned energy conditions.

Table 1 Energy conditions for neutron star with a quark core

2.5 Stability

According to the stability condition for the EoS of neutron star matter in a physically acceptable model, the corresponding extracted velocity of sound (v) must be less than the light velocity (c) [75, 76]. Thus the stability condition is given \(0\le v^{2}=(\frac{dP}{d{\mathcal {E}}} )\le c^{2}\) or \(0\le \frac{v^{2}}{c^{2}}=\frac{1}{c^{2}}(\frac{dP}{d {\mathcal {E}}})\le 1\). Using Eq. 9 we compute \(\frac{v^{2}}{c^{2}}\) versus density which is presented in Fig. 1. It is evident that stability condition is satisfied by the EoS of neutron star with quark matter.

Fig. 1
figure 1

Sound speed versus density

Table 2 Structure properties of neutron star without quark matter (NS) and with quark core (NS + Q)

2.6 Le Chatelier’s principle

Le Chatelier’s principle is defined as: the matter of star satisfies \(dP/d {\mathcal {E}}\ge 0\) which is a essential condition of a stable body both as a whole and also with respect to the non-equilibrium elementary regions with spontaneous expansion or contraction [77]. According the Fig. 1, the Le Chatelier’s principle is established.

The above results show that we encounter with a suitable EoS for studying the neutron stars with a quark matter in the core. Therefore, we consider our EoS and investigate the structure of neutron star with three different layers.

3 Structure of the neutron star with and without quark matter

In this section, we study the effect of quark matter on the structure of neutron stars, and then compare our results with the structure of neutron stars without quark matter. Employing the obtained EoS for neutron star with the quark matter and using TOV equation, we have gotten interesting results which are given in Table 2.

Fig. 2
figure 2

Mass-radius relation for the neutron stars with and without the quark matter

As one can see, considering the quark matter in the core of neutron stars change their structure properties. Indeed, there are some interesting results when we consider the quark matter in the calculation of structure of neutron stars. For example, by considering the quark matter, the maximum mass decreases (see Table 2 and Fig. 2, for more details). In order to do more investigation of the effect of quark matter, we calculate another properties of the neutron star such as the average density, compactness, Kretschmann scalar, gravitational redshift and dynamical stability.

3.1 Average density

The average density of an object has the following form,

$$\begin{aligned} {\overline{\rho }}=\frac{M}{\frac{4}{3}\pi R^{3}}, \end{aligned}$$
(15)

where for our system, M and R are the gravitational mass and radius of a neutron star. The presented results in Table 2, show that by considering the quark matter in the neutron star core, the average density from the perspective of a distant observer (or a observer outside the neutron star) decreases. Indeed, by adding the quark matter to the core of neutron star, the total average density (this average density is not related to density of center of neutron star) of this system decreases.

3.2 Compactness

The compactness of a spherical object is usually defined as the ratio of Schwarzschild radius to the radius of object (\(\sigma =\frac{R_{Sch}}{R}\)), which may be indicated as the strength of gravity of compact objects. Our results for the compactness are presented in Table 2. Similar to the average density, by applying the quark matter in the calculation of structure of neutron star, the compactness from the perspective of a distant observer (or a observer outside the neutron star) decreases.

3.3 Kretschmann scalar

Another quantity that gives us information of the strength of gravity is related to the spacetime curvature. According to this fact that, in the Schwarzschild spacetime, the components of the Ricci tensor (\(R_{\mu \nu }\)) and the Ricci scalar (\(R_{\mu \nu }R^{\mu \nu }\)) are zero outside the star, and therefore these quantities do not give us any information about the spacetime curvature. Therefore, we use another quantity in order to evaluate the curvature of spacetime. The quantity that can help us to find out the curvature of spacetime is related to the Riemann tensor (\(R_{\mu \nu \gamma \delta }\)). The Riemann tensor may have more components, and also for simplicity, we can evaluate the Kretschmann scalar for measurement of the curvature in a vacuum. So, the curvature at the surface of a neutron star is given as [78,79,80]

$$\begin{aligned} K=\frac{4\sqrt{3}GM}{c^{2}R^{3}}. \end{aligned}$$
(16)

Our results confirm that by adding the quark matter to the core of neutron star, the strength of gravity decreases (see Table 2).

3.4 Gravitational redshift

The gravitational redshift is given as follows,

$$\begin{aligned} z=\frac{1}{\sqrt{1-\frac{2GM}{c^{2}R}}}-1. \end{aligned}$$
(17)

The result related to the gravitational redshift are given in Table 2. This result shows that by considering a quark core inside a neutron star, the gravitational redshift decreases.

3.5 Dynamical stability

Here we use Shapiro and Teukolsky’s approach [81], for studying the dynamical stability of stellar model against the infinitesimal radial adiabatic perturbation. In this approach, the dynamical stability condition only require that the pressure-averaged value of the adiabatic index be more than 4/3, but not for the local value of the adiabatic index. This relation is given by

$$\begin{aligned} {\overline{\gamma }}=\frac{\int _{0}^{R}\gamma pr^{2}dr}{\int _{0}^{R}pr^{2}dr}, \end{aligned}$$
(18)

where it must be more than 4/3. Here, we consider Shapiro and Teukolsky’s approach for evaluating the dynamical stability of hybrid stars extracted from our EoS. Our calculation about the pressure-averaged value of the adiabatic index (Eq. 18) are

$$\begin{aligned} {\overline{\gamma }}_{NS}= & {} 2.98, \end{aligned}$$
(19)
$$\begin{aligned} {\overline{\gamma }}_{NS+Q}= & {} 2.38. \end{aligned}$$
(20)

The above quantities show that the pressure-averaged value of the adiabatic index for neutron stars with and without a quark core are 2.38 and 2.98, respectively. Therefore these quantities are more than 4/3. This shows that the obtained pure neutron stars and hybrid stars obey the dynamical stability.

Table 3 Properties of neutron star with the gravitational mass equal to \( 1.4M_{\,\odot }\) for NS and NS + Q
Table 4 Properties of neutron star with the gravitational mass equal to \( 1.8M_{\,\odot }\) for NS and NS+Q
Fig. 3
figure 3

Mass-the central density relation for the neutron stars with and without the quark matter

Another interesting results is related to contraction of neutron stars due to the quark core (see Tables 3 and 4, for more details). In the other words, the obtained results in Tables 3 and 4 and Figs. 2 and 3 show that the radius of neutron stars without the quark matter (NS) and with the gravitational mass equal to \(1.4M_{\,\odot }\) (or \( 1.8M_{\,\odot }\)) are greater than the radius of neutron stars with a quark core (NS + Q). Indeed, for the same gravitational masses of NS and NS + Q, the compactness, the Kretschmann scalar and the gravitational redshift increase due to the reduced radius. In addition, this difference appears for the neutron stars with the gravitational mass higher than the solar mass (\(M\ge M_{\,\odot }\)) (see Figs. 2 and 3).

Briefly, we can see that the existence of quark matter inside the neutron stars leads to decreasing for the maximum mass and so it contracts them. These results indicate that by applying the mentioned EoS in Eq. (9), the cores of neutron stars with mass more than \(2M_{\,\odot }\), do not have any quark matter. Indeed, the presented EoS in paper (Eq. 9), can not predict the existence of massive hybrid stars with more than \( 2M_{\,\odot }\), because by adding the quark matter to the structure of these stars, the maximum masses decreases.

4 Summary and conclusion

The paper at hand studied the structure of cold hybrid stars which included three different parts: (i) a layer of hadronic matter, (ii) a mixed phase of quarks and hadrons, and (iii) a quark matter in the core. For layer of hadronic matter we used the lowest-order constrained variational (LOCV) many-body method employing the \(UV14+TNI\) potential for the nucleon-nucleon interaction (for more details about neutron star with hadron matter and \( UV14+TNI\) potential see Ref. [69]). In another layer (mixed phase of quarks and hadrons), we considered Gibss equilibrium condition. Indeed for this layer, the temperature, pressures and chemical potentials of both hadron and quark phases are equal. Finally, we considered a quark matter in the core of neutron stars, and for this region, we used the total energy which included up, down and strange quarks within MIT bag model. We applied TOV equation for obtaining the structure properties of these stars. Our results indicated that the maximum mass, the average density, compactness, gravitational redshift, and Kretschmann scalar of neutron stars decrease by adding a quark core to them. These results led to contraction of hybrid stars. On the other hand, by applying the mentioned EoS in this paper, we found an upper limit for the maximum mass of hybrid stars. In other word, hybrid stars in our model, did not have mass more than two times of the solar mass (\(M_{\max }\le 2M_{\,\odot }\)). It is notable that, Hoyos et al. have evaluated the properties of neutron stars by applying top-down holographic model for strongly interacting quark matter [82]. They have obtained an EoS which was matched with state-of-the-art results for dense nuclear. Also, they have solved TOV equation with their EoS, and found the maximal stellar masses in the excess of two solar masses. Their results showed that there are no any quark matter inside these massive neutron stars. In other words, their results confirm our conclusions about the existence an upper limit for neutron stars with a quark core, i.e, \( M_{\max }\le 2M_{\,\odot }\). However there were some difference between their results with ours. For example, the obtained radius of neutron stars in our calculations were greater than their results (the radius of a neutron star with \(M\simeq 2M_{\,\odot }\), was about 9.7 km [82], but we found that it was about 10 km). Finally, we investigated the dynamical stability of neutron stars with and without the quark core. Our calculations indicated that these neutron stars are stable against the radial adiabatic infinitesimal perturbations. Briefly, we obtained the quite interesting results for hybrid stars, such as;

  1. (i)

    the EoS derived in this work satisfied the energy, Le Chatelier and stability conditions.

  2. (ii)

    considering the EoS introduced in this paper, we found that the maximum mass of cold hybrid stars could not be more than \(2M_{\,\odot }\)(\(M_{\max }\le 2M_{\,\odot }\)). In other word, there are no cold massive hybrid stars in the mass range \(M_{\max }>2M_{\,\odot }\), when we applied our EoS. Therefore, our results showed that inside the neutron stars such as \( 4U~1700-377\) [62] with the mass about \(2.4M_{\odot }\), and \( J1748-2021B\) [63] with the mass about \(2.7M_{\odot }\), there is no any quark matter.

  3. (iii)

    the maximum mass, the average density, compactness, the Kretschmann scalar, and gravitational redshift of neutron stars decrease owing to the existence of quark matter in the structure them.

  4. (iv)

    the neutron stars are contracted due to the presence of quark matter in their center.

  5. (v)

    the obtained results indicated that the studied hybrid stars in this paper are stable against the radial adiabatic infinitesimal perturbations.

  6. (vi)

    for neutron stars with the gravitational mass more than one solar mass (\( M\ge M_{\odot }\)), there was a difference between NS and NS + Q. In other words, there was no any difference between the properties of NS and NS + Q in the range \(M<M_{\odot }\).

It will be worthwhile to study the effects of the magnetic field [83,84,85,86], generalization of static compact objects to anisotropic [87,88,89,90,91,92], rotating [93,94,95,96,97,98,99,100,101,102], rapidly rotating [103,104,105,106,107,108,109,110] on the structure properties of neutron stars with a quark matter in core can be interesting topics. We leave these issues for future works.