1 Introduction

Exact solutions of the Einstein-Maxwell system are of vital importance in a variety of applications in relativistic astrophysics. Bonnor (1965) demonstrated that the electric charge plays a crucial role in the equilibrium of large bodies which can possibly halt gravitational collapse. The challenge in astrophysics is to find stable equilibrium solutions for charged fluid spheres, and to construct models of various astrophysical objects of immense gravity by considering the relevant matter distributions. Such models may successfully describe the characteristics of compact stellar objects like neutron stars, quark stars, etc.

One might argue for the occurrence of stable charged astrophysical compact objects in nature. It is true that all macroscopic bodies are charge neutral or they can have a small amount of charge as pointed out by Glendening (2000), so that it does not affect much in the structure of the star. However, there are early phases in the evolution of compact stars, for example right at the birth from the core collapse supernova, where charge neutrality is not attained immediately and the presence of the electromagnetic field has been shown to leave a huge effect in the structure of the star. Having said so, note it has also been shown by Ray et al. (2003) that from the balance of forces and the strength of their coupling, this huge charge which can disrupt the structure of the star, however leaves virtually no effect in the equation of state of the matter. Considering the protons as the carrier of the charge in the charged star, it was shown that every extra proton in a sea of 1018 baryons, can produce a total charge in the star that will change its structure.

Astrophysical compact stars are generally considered to be neutron stars. Over the past two decades, there has been considerable development in observations of compact stars. Although the mass of many of the compact stars are determined with a fair precision, the main problem comes in determining its radius. In some recent papers, improved techniques give accurate mass and radius of a few compact stars. The improved observational information about such compact stars have invoked considerable interest about the internal composition and consequent spacetime geometry of such objects.

As an alternative to neutron star models, strange stars have been suggested in the studies of compact relativistic astrophysical bodies. Similar to neutron stars, strange stars are considered likely to form from the core collapse of a massive star during a supernova explosion, or during a primordial phase transition where quarks clump together. Another hypothesis is that an accreting neutron star in a binary system, can accrete enough mass to induce a phase transition at the centre or the core, to become a strange star. In the literature, there are numerous models of neutron stars and strange stars. In this paper we use the most widely studied strange star model, namely the MIT Bag model. Studies of strange stars have been mostly performed within the framework of the Bag model as the physics of high densities is still not very clear. Chodos et al. (1974) used the phenomenological MIT Bag model, where they assumed that the quark confinement is caused by a universal bag pressure at the boundary of any region containing quarks, namely the hadrons. The equation of state describing the strange matter in the bag model has a simple linear form from the treatment of Witten (1984). Weber (2005) has shown that for a stable quark matter, the bag constant is restricted to a particular range.

It is remarkable to note that a strange matter equation of state seems to explain the observed compactness of many astrophysical bodies such as Her X-1, 4U 1820-30, SAX J 1808.4-3658, 4U 1728-34, PSR 0943+10, and RX J185635 as pointed out by Rahaman et al. (2012). Dey et al. (1998) studied a new approach for strange stars by assuming an interquark vector potential originating from gluon exchange and a density dependent scalar potential which restores chiral symmetry at a high density. In Dey et al. (1998) formulation, the equation of state can also be approximated to a linear form. If pulsars are modelled as strange stars, the linear equation of state appears to be a feature in the composition of such objects as established in the analysis of Sharma and Maharaj (2007a). For a given central density or pressure, the conservation equations can be integrated to compute the macroscopic features such as the mass and the radius of the star.

In situations where the densities inside the star are beyond nuclear matter density, the matter anisotropy can play a crucial role, as the conservation equations are modified. Usov (2004) suggested the consideration of anisotropy in modelling strange stars in the presence of strong electric field. The analysis of static spherically symmetric anisotropic fluid spheres is important in relativistic astrophysics. Since the first study of Bowers and Liang (1974) there has been much research in the study of anisotropic relativistic matter in general relativity. It has been pointed out that nuclear matter may be anisotropic in high density ranges of order 1015 g cm−3, where nuclear interactions have to be treated relativistically, originally in the treatment of Ruderman (1972). It has been noted that anisotropy can arise from different kinds of phase transitions by Sokolov (1980) or pion condensation by Sawyer (1972). The role of charge in a relativistic quark star was considered by Mak and Harko (2004).

In the present work we study the regular exact model of the Einstein-Maxwell system found by Mafa Takisa and Maharaj (2013) by testing for consistency and compatibility with observations in this model. We use this model to find the maximum mass and physical parameters of observed compact objects, namely PSR J1614-2230, PSR J1903+327, Vela X-1, SMC X-1 and Cen X-3, which have been recently identified by Gangopadhyay et al. (2013) to be strange stars. In Sect. 2, the Einstein-Maxwell field equations are briefly reviewed and Mafa Takisa and Maharaj (2013) model is revisited. Recent observations are presented in Sect. 3. In Sect. 4, we present and discuss our results obtained for the uncharged case and compare them to values of masses derived from current accurate observations of compact objects. In Sect. 5, we apply finite charge to the uncharged systems presented in Sect. 4, and observe the changes. We discuss and conclude our results in Sect. 6.

2 The model

The metric of a static spherically symmetric spacetime in curvature coordinates reads

$$ ds^{2} = -e^{2\nu} dt^{2} + e^{2\lambda} dr^{2} + r^{2}\bigl(d\theta^{2} + \sin^{2}{\theta} d\phi^{2}\bigr), $$
(1)

where ν=ν(r) and λ=λ(r). The energy momentum tensor for an anisotropic charged imperfect fluid sphere is of the form

$$ T^{ab}=\mbox{diag} \biggl(-\rho -\frac{1}{2}E^2, p_r-\frac{1}{2}E^2, p_t + \frac{1}{2}E^2, p_t+ \frac{1}{2}E^2 \biggr), $$
(2)

where ρ, p r , p t and E are the density, radial pressure, tangential pressure and electric field intensity respectively. For a physically realistic relativistic star we expect that the matter distribution should satisfy a barotropic equation of state p r =p r (ρ); the linear case is given by

$$ p_r = \alpha\rho - \beta , $$
(3)

where β=αρ ε . The constant α is constrained by the sound speed causality condition (\(\alpha=\frac{dp_{r}}{dr}\leq 1\)) and ρ ε represents the density at the surface r=ε.

The gravitational interactions on the matter and electromagnetic fields are governed by a relevant set of field equations. These interactions are contained in the Einstein-Maxwell system

$$\begin{aligned}& G^{ab} = kT^{ab}, \end{aligned}$$
(4)
$$\begin{aligned}& F_{ab;c}+F_{bc;a}+F_{ca;b} = 0, \end{aligned}$$
(5)
$$\begin{aligned}& {F^{ab}}_{;b} = 4\pi J^{a}, \end{aligned}$$
(6)

where the coupling constant k=8π (G=c=1) in geometrised units. The system above is a highly nonlinear system of coupled, partial differential equations governing the behaviour of the gravitating system in the presence of the electromagnetic field.

For static, charged anisotropic matter with the line element (1), the Einstein-Maxwell system (4)–(6) takes the form

$$\begin{aligned}& 8\pi\rho + \frac{1}{2}E^{2}=\frac{1}{r^{2}} \bigl[ r\bigl(1-e^{-2\lambda}\bigr) \bigr]', \end{aligned}$$
(7)
$$\begin{aligned}& 8\pi p_r -\frac{1}{2}E^{2}=- \frac{1}{r^{2}} \bigl( 1-e^{-2\lambda} \bigr) + \frac{2\nu'}{r}e^{-2\lambda} , \end{aligned}$$
(8)
$$\begin{aligned}& 8\pi p_t + \frac{1}{2}E^{2}=e^{-2\lambda} \biggl( \nu'' + \nu'^{2}+ \frac{\nu'}{r}\lambda' -\frac{\lambda'}{r} -\nu \biggr), \end{aligned}$$
(9)
$$\begin{aligned}& \sigma = \frac{1}{4\pi r^{2}} e^{-\lambda}\bigl(r^{2}E \bigr)', \end{aligned}$$
(10)

where σ=σ(r) is called proper charge density and primes denote differentiation with respect to r. We note that equations (7)–(9) imply

$$ \frac{dp_{r}}{dr}=\frac{2}{r}(p_{t}-p_{r})-r( \rho+p_{r})\nu^{\prime}+\frac{E}{4\pi r^{2}} \bigl( r^{2}E \bigr)^{\prime}, $$
(11)

which is the Bianchi identity representing hydrostatic equilibrium of the charged anisotropic fluid. Equation (11) indicates that the anisotropy and charge influence the gradient of the pressure. These quantities may drastically affect quantities of physical importance such as surface tension as established by Sharma and Maharaj (2007b) in the generalised Tolman-Oppenheimer equation (11). We define the gravitational mass to be

$$ m(r)=4\pi\int^{r}_{0} \biggl( \rho(\omega)+\frac{E^{2}}{8\pi} \biggr)d\omega, $$
(12)

in the presence of charge.

In this paper, we utilise the results of Mafa Takisa and Maharaj (2013), with a linear equation of state. The motivation for this is that their results are consistent with the observed X-ray binary pulsar SAX J1808.4-3658. It is likely that the exact solutions of Mafa Takisa and Maharaj (2013) may be applicable to other observed astronomical bodies. With the equation of state (3), the solution to the Einstein-Maxwell system (7)–(10) can be written as

$$\begin{aligned}& e^{2\lambda} = \frac{1+ar^{2}}{1+(a-b)r^{2}}, \end{aligned}$$
(13)
$$\begin{aligned}& e^{2\nu} = A^{2}\bigl(1+ar^{2} \bigr)^{2t}\bigl[1+(a-b)r^{2}\bigr]^{2n} \\ & \phantom{e^{2\nu} =}{} \times\exp \biggl[-\frac{ar^{2}[ s(1+\alpha)+2\beta ]}{ 4(a-b)} \biggr], \end{aligned}$$
(14)
$$\begin{aligned}& \rho = \frac{2b(3+ar^{2})-sa^{2}r^{4}}{16\pi(1+ar^{2})^{2}}, \end{aligned}$$
(15)
$$\begin{aligned}& p_{r} = \frac{\alpha[2b(3+ar^{2})-sa^{2}r^{4}]}{16\pi(1+ar^{2})^{2}}-\beta, \end{aligned}$$
(16)
$$\begin{aligned}& p_{t} = p_{r}+\Delta, \end{aligned}$$
(17)
$$\begin{aligned}& 8\pi\Delta = \frac{-b}{(1+ar^{2})}-\frac{b(1+5\alpha)}{(1+\alpha)(1+ar^{2})^{2}} \\& \phantom{8\pi\Delta = }{}+ \frac{2\beta}{1+\alpha}+\frac{r^{2}[1+(a-b)r^{2}]}{(1+ar^{2})} \\& \phantom{8\pi\Delta = }{} \times\biggl\{ 4 \biggl(\frac{a^{2}t(t-1)}{(1+ar^{2})^{2}} +\frac{2a(a-b)tn}{(1+ar^{2})[1+(a-b)r^{2}]} \biggr) \\& \phantom{8\pi\Delta = }{}+ \biggl(\frac{4(a-b)^{2}n(n-1)}{[1+(a-b)r^{2}]^{2}} \biggr) \\& \phantom{8\pi\Delta = } {}-a\bigl[s(1+\alpha)+2\beta\bigr] \\& \phantom{8\pi\Delta = }{} \times\frac{(a(t+n)[1+(a-b)r^{2}]-bn)}{(a-b)(1+ar^{2})[1+(a-b)r^{2}]} \\& \phantom{8\pi\Delta = } {}+\frac{a^{2}[s(1+\alpha)+2\beta]^{2}}{16(a-b)^{2}}\biggr\} \\& \phantom{8\pi\Delta = }{} -\frac{4[1+ar^{2}(2+(a-b)r^{2})]-b(5+\alpha)r^{2}}{4(a-b)(1+\alpha)(1+ar^{2})^{3}[1+(a-b)r^{2}]} \\& \phantom{8\pi\Delta = } {}\times\bigl[-8b^{2}n+a^{3}r^{2}\bigl(-8(t+n)+ \bigl[s(1+\alpha)+2\beta\bigr]r^{2}\bigr) \\& \phantom{8\pi\Delta = }{} +a^{2}(8(t+n) \bigl(2br^{2}-1\bigr) \\& \phantom{8\pi\Delta = } {}+\bigl[s(1+\alpha)+2\beta\bigr]\bigl(2-br^{2}\bigr)r^{2} +a\bigl(-8b^{2}(t+n)r^{2} \\& \phantom{8\pi\Delta = }{} +\bigl[s(1+\alpha) +2\beta\bigr] \\& \phantom{8\pi\Delta = } {}+b\bigl(8t+16n-\bigl[s(1+\alpha)+2\beta\bigr]r^{2}\bigr)\bigr) \bigr], \end{aligned}$$
(18)
$$\begin{aligned}& E^{2}= \frac{sa^{2}r^{4}}{(1+ar^{2})^{2}}, \end{aligned}$$
(19)
$$\begin{aligned}& \sigma^{2} = \frac{sa^{2}r^{2}[1+(a-b)r^{2}](2+ar^{2})^{2}}{\pi(1+ar^{2})^{5}}, \end{aligned}$$
(20)
$$\begin{aligned}& m(r)=\frac{1}{8} \biggl[\frac{ s(-15-10ar^{2}+2a^{2}r^{4})r}{3a(1+ar^{2})} + \frac{4br^{3}}{(1+ar^{2})} \\& \phantom{m(r)=}{}+\frac{5s\arctan(\sqrt{ar^{2}})}{a^{3/2}} \biggr], \end{aligned}$$
(21)

where A, a, b and s are constants. In the above equations the constants m and n are given by

$$\begin{aligned}& t = \frac{4\alpha b-(1+\alpha)s}{8b}, \\& n = \frac{1}{8b(a-b)^{2}}\bigl[a^{2}\bigl((1+\alpha)s-4\alpha b\bigr) 2ab^{2}(1+5\alpha) \\& \phantom{n =}{}+b^{2}\bigl(-2b(1+3\alpha)+2\beta\bigr) \bigr]. \end{aligned}$$

The exact solution (13)–(21) of the Einstein-Maxwell system is written in terms of elementary functions.

The constants a, b, s have the dimension of length −2. We make the following transformations for simplicity in numerical calculations:

$$\tilde{a}=a \Re^{2},\quad\quad\tilde{b}=b\Re^{2},\quad\quad\tilde{s}=s \Re^{2}, $$

where ℜ is a parameter which has the dimension of length. Based on the requirements of Delgaty and Lake (1998), we impose restrictions on our model to make it physically relevant. The values of \(\tilde{a}\), \(\tilde{b}\), \(\tilde{s}\) should be chosen so that:

  • The energy density ρ remains positive inside the star,

  • The radial pressure p r should vanish at the boundary of the star (p r (ε)=0),

  • The tangential pressure p t should be positive within the interior of star,

  • The gradient of pressure \(\frac{dp_{r}}{dr}<0\) in the interior of the star,

  • At the centre p r (0)=p t (0) and Δ(0)=0,

  • The metric functions e 2λ, e 2ν and the electric field intensity E should be positive and non singular throughout the interior of the star.

  • At the centre density ρ(0)=ρ c must be finite.

  • Across the boundary r=ε:

    $$\begin{aligned} e^{2\nu(\varepsilon)} =&1-\frac{2M}{\varepsilon}+\frac{Q^{2}}{\varepsilon^{2}}, \\ e^{2\lambda(\varepsilon)} =& \biggl(1-\frac{2M}{\varepsilon}+ \frac{Q^{2}}{\varepsilon^{2}} \biggr)^{-1}, \\ m(\varepsilon) =&M. \end{aligned}$$

3 Recent observations

For a pulsar in a binary system, Jacoby et al. (2005) and Verbiest et al. (2008) used detection of the general relativistic Shapiro delay to infer the masses of both the neutron star and its binary companion to high precision. Based on this approach Demorest et al. (2010) presented radio timing observations of the binary millisecond pulsar PSR J1614-2230, which showed a strong Shapiro delay signature. The implied pulsar mass of (1.97±0.08M ) is by far the highest yet measured with accurate precision.

Freire et al. (2011) utilised the Arecibo and Green Bank radio timing observations and included a full determination of the relativistic Shapiro delay, a very precise measurement of the apsidal motion and new constraints of the orbital orientation of the system. Through a detailed analysis, they derived new constraints on the mass of the pulsar and its companion and determined the accurate mass for PSR J1903+0327 (1.667±0.02M ).

Recently Rawls et al. (2011) have found an improved method for determining the mass of neutron stars such as (Vela X-1, SMC X-1, Cen X-3) in eclipsing X-ray pulsar binaries. They used a numerical code based on Roche geometry with various optimisers to analyse the published data for these systems, which they supplemented with new spectroscopic and photometric data for 4U 1538-52. This allowed them to model the eclipse duration more accurately, and they calculated an improved value for the neutron star masses. Their derived values are (1.77±0.08M ) for Vela X-1, (1.29±0.05M ) for LMC X-4 and (1.29±0.08M ) for Cen X-3.

There have been similar observations for other stars, but for our present work, we restrict ourselves to these five stars only.

4 Uncharged stars

In this section, we use the analytical solutions (13)–(21) to calculate the mass and radius of five different compact stars (PSR J1614-2230, PSR J1903+327, Vela X-1, SMC X-1, Cen X-3), and compare the output to the recent accurate maximum mass values as mentioned in the previous section. We consider the equation of state of strange stars and choose the central density ρ c in the range of 2.2×1015 g cm−3ρ c ≤5.5×1015 g cm−3, \(\tilde{a}=53.34\), ℜ=43.245 km, α=0.33, ρ ε =0.5×1015 g cm−3. Then the model yields the above stars which are represented in Table 1. We regain the accurate mass and corresponding radius for each star. For PSR J1614-2230, with ρ c =3.45×1015 g cm−3, leads to M=1.97M and R=10.30 km. For PSR J1903+327, ρ c =3.14×1015 g cm−3 and we obtain M=1.667M and R=9.82 km. By taking ρ c =3.25×1015 g cm−3, we get the mass and radius of Vela X-1 M=1.77M and R=9.99 km. The value 2.72×1015 g cm−3 leads to M=1.29M and R=9.13 km which corresponds to SMC X-1. Finally for Cen X-3, we take ρ c =2.95×1015 g cm−3, and obtain the accurate mass and the radius (M=1.49M and R=9.51 km).

Table 1 Masses of different stars and radius for uncharged case \((\tilde{s}=0.0)\)

5 Charged stars

The parameters used in Sect. 4 have generated results which are consistent with observational data. Consequently, we use these values to study charged bodies. We take the central density in the range of 2.2×1015 g cm−3ρ≤5.5×1015 g cm−3, \(\tilde{a}=53.34\), ℜ=43.245 km, α=0.33, ρ ε =0.5×1015 g cm−3, \(\tilde{s}=0.0, 7.5, 14.5\) and M =1.477. Then the corresponding results are given in Table 2. It is clear that the presence of electric charge leads to a considerable increase in the mass of a stellar object obeying the linear equation of state. On the other hand the radius of different charged configurations (\(\tilde{s}= 7.5, 14.5\)) is smaller than the maximum radius of the uncharged case (\(\tilde{s}=0.0\)). A similar situation arises in the analysis of Mak and Harko (2004).

Table 2 Masses of different stars and radius for charged case (\(\tilde{s}\neq0\)). For \(\tilde{s}=0.1\), the results are similar to the uncharged case \(\tilde{s}=0.0\). A little difference appears at \(\tilde{s}=7.5\) and the effect of charge becomes significant at \(\tilde{s}=14.5\)

To illustrate the behaviour of physical parameters at the interior of different stars, we have plotted the energy density ρ, radial pressure p r , tangential pressure p t and the measure of anisotropy Δ. Figures 1, 2, 3, 4, 5 represent PSR J1614-2230, SMC X-1, PSR J1903+327, Cen X-3 and Vela X-1 respectively. The density profiles are positive and well behaved inside all stars. The effect of electric charge is more significant near the surface of stars; this situation is consistent with the form of the electric field of Mafa Takisa and Maharaj (2013) in (19) which vanishes at the centre E(0)=0. We note that the interior profile of radial pressure p r , tangential pressure p r and the measure of anisotropy Δ profiles of PSR J1614-2230, PSR J1903+327, Vela X-1, SMC X-1 and Cen X-3 stars are completely unaffected by the electric charge layer, since the latter is mostly located in a spherical shell close the surface. A similar statement has also been made by Negreiros et al. (2009). The tangential pressure p t profiles for all studied stars are well behaved, increasing in the vicinity of the centre, reaches a maximum, and becomes a decreasing function. This is reasonable since the conservation of angular momentum during the quasi-equilibrium contraction of a massive body should lead to high values of p t in central regions of the star, as pointed out by Karmakar et al. (2007). The anisotropy is increasing in the neighbourhood of the centre, reaches a maximum value, then starts decreasing up to the boundary. The anisotropy profile is similar to the model of Sharma and Maharaj (2007a).

Fig. 1
figure 1

PSRJ1614-2230, for the uncharged and charged cases

Fig. 2
figure 2

SMC X-1, for the uncharged and charged cases

Fig. 3
figure 3

PSRJ1903+327, for the uncharged and charged cases

Fig. 4
figure 4

Cen X-3, for the uncharged and charged cases

Fig. 5
figure 5

Vela X-1, for the uncharged and charged cases

6 Discussion

We have used Mafa Takisa and Maharaj (2013) result to model compact stars. In our investigation, we have considered a constant slope α=1/3 in the equation of state, and the surface density ρ s =0.5×1015 g cm−3. The surface density chosen in this work is approximately close to 4B=0.45×1015 g cm−3 of Alcock et al. (1986). It shows that, for particular parameters values, the model can be used to describe the observed compact stars (PSR J1614-2230, PSR J1903+327, Vela X-1, SMC X-1, Cen X-3). The recent measurement of the mass of PSR J1614-2230 provides one of the strongest observational constraints on the equation of state thus far. In our present result we have found the mass value of M=1.97M , ρ c =3.45×1015 g cm−3 and R=10.30 km as the corresponding radius for the pulsar PSR J1614-2230. As accurate and reliable radius measurements of this star are not yet available, our theoretical result may be useful in future investigations. From the general relativistic structure equations and according to Buchdahl (1959), the maximum allowable compactness (mass-radius ratio) for an uncharged star is set by \(\frac{2M}{R} <\frac{8}{9}\). The compactness values for all stars shown in Table 1, shows the acceptability of our model. Unlike others models, for example the models of Thirukkanesh and Maharaj (2008) and Mafa Takisa and Maharaj (2013), the masses for the charged case \(\tilde{s}\neq0\) increases. For the maximum charge case with \(\tilde{s}=14.5\), it has been observed that our class of solutions gives us a maximum mass for PSR J1614-2230 of M=2.13M , with electric field \(E=4.91059\times 10^{20}~{\mathrm{V/m}}\). This translates to an increase of 10 % of mass with charge. Our results are in agreement with the work done by Negreiros et al. (2009), who have demonstrated that the presence of electric fields of similar magnitude, generated by charge distributions located near the surface of strange quark stars, may increase the stellar mass by up to 15 %; this helps in the interpretation of massive compact stars, with masses of around M=2.0M . We conclude by pointing out that such solutions may be used to construct a suitable model of a superdense object both with both uncharged and charged matter.