We present a new class of exact interior solutions for anisotropic spheres to the Einstein field equations with a prescribed energy density. This category of solutions has similar energy density profiles to the models of Chaisi and Maharaj (Gen. Rel. Grav. 37, 1177-1189) whose approach we follow in the integration process. A distinguishing feature of the solutions presented is that they satisfy a barotropic equation of state linearly relating the radial pressure to the energy density.
Keywords Anisotropic relativistic stars · Exact solutions · Compact spheresSince the pioneering work of Bowers and Liang [1] on anisotropic stars many researchers, in recent years, have studied anisotropic matter in the context of general relativity; these include the investigations of Dev and Gleiser [2,3], Mak and Harko [4,5] and Herrera et al. [6,7] in different relativistic astrophysical situations. This research has been motivated on the grounds that anisotropy affects the critical mass, surface redshift and stability of highly compact relativistic bodies. Anisotropic matter appears to be a vital ingredient in the modelling of boson stars and strange matter with densities higher than neutron stars as pointed out by Mak and Harko [4] and Sharma and Mukherjee [8]