1 Introduction

Universe started with a Big Bang, which had a singularity that all the laws of physics would have broken down [1, 2]. Today, the first thing that is known that the two great theories of physics such as quantum mechanics and general relativity mostly work very well, except in some extreme conditions like the Big Bang [3]. There is something which is clearly still missing to explain this singularity [4]. Recently, cosmological models using non-linear electromagnetic fields (NEF) have been gain interest to remove singularity problem of the Universe at the Big Bang and also singularities of curvature invariants [5,6,7,8,9]. The Standard Cosmological Model (SCM) based on Friedmann–Robertson–Walker (FRW) geometry, also known as \(\Lambda CDM\) model, does not produce any solution for the singularity problem at the beginning of the Universe [10]. The SCM has a problem of singularities. If the Maxwell equations are intelligently modified, these singularities can be resolved. There are some cosmological models known as magnetic Universe that has no singularity because of the nonlinear modification of the Maxwell electrodynamics at strong fields such as early universe [11, 12], because of the background of the conformally flat Robertson–Walker metric, but the cost is the break up of the conformal invariance of Maxwell theory [12,13,14,15,16,17,18,19,20,21].

Moreover, today it is widely accepted fact among the physicist that the Universe is accelerating. The idea of an accelerating Universe is supported and confirmed by type Ia supernovae and the cosmic microwave background (CMB) [1, 10, 22, 23]. However the reason of the acceleration of the Universe is not entirely clear, nevertheless a number of solutions have been proposed [8, 10, 24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50]. One such solution is to introduce the cosmological constant in the Einstein’s field equations. In this scenario, the acceleration of Universe is driven by dark energy (DE) which can be thought of as a kind of space-filling fluid with constant energy density through the Universe [10, 51]. Another exotic form of matter proposed as a DE candidate is to consider a scalar field known as the quintessence [52]. On the other hand, the acceleration rate of the Universe in terms of the modified gravity theories continue to attract interest [51]. The simplest model which generalizes General Relativity is found by simply replacing the Ricci scalar (R) in the action by a function f(R). This idea led to many modified gravity models studied in the literature [53] or in the cosmological set up of a higher-order modified teleparallel theory (see [54,55,56,57,58,59,60,61,62,63] and references therein). Instead of doing modification of gravity, the nonlinear electrodynamics (NED) can be used to avoid singularities as well as resolve the horizon problem [12].

Recently, the idea of NED has been proposed as a solution to source the Universe acceleration [5,6,7]. In the early Universe the effect of the NED may have been very strong and, in principle, this may also explain the inflation. In this scenario the NEF can be considered as a source of the gravitational field and, as a consequence, nonlinear magnetic fields may be a driven mechanism of the inflation of the Universe. In this line of research, very recently many NED models have been investigated using a stochastic magnetic background, i. e. the cosmic background with the wavelength smaller than the curvature, with a non-vanishing \(< B^2>\), where matter should be identified with a primordial plasma [5, 6, 8, 12,13,14, 16, 64]. Thermal fluctuations in a dissipative plasma, i.e. plasma fluctuations, could source stochastic magnetic fields on a scale larger than the thermal wavelength [75]. Thus, there are the stochastic fluctuations of the electromagnetic field in a relativistic electron-positron plasma. Although homogeneous magnetic fields can affect the isotropy of the Universe, i.e. the energy-momentum tensor can become anisotropic which could cause an anisotropic expansion law and modify the CMB spectrum, the effect on the Universe geometry (isotropy) of magnetic fields tangled on scales much smaller than the Hubble radius are negligible [75]. Thus, averaging the magnetic fields, which are sources in general relativity [79], give the isotropy of the Friedman–Robertson–Walker (FRW) spacetime. On the other hand, bulk viscosity term is neglected in the electric conductivity of the primordial plasma by taking \(E^2=0\) [65,66,67,68,69]. The NED is useful to remove singularities of Big Bang and try to explain inflation naturally. Note that using the scalar fields for the inflation and early Universe have a problem with the fine exit. The problem is that after the inflation is started, it goes forever which is known as eternal inflation. However, we will propose a model where there is not any eternal inflation problem. For this purpose, we use the magnetic Universe with Nonlinear Electromagnetic Field (NEF) in the stochastic background with a nonzero value of \(< B^2>\) that supports the acceleration of the Universe. There are some cons and pros of NED from the Dirac-Born-Infeld (DBI) nonlinear electrodynamics such that for DBI theory, there is a duality symmetry, on the other hand, for the NED, it is broken but it is also violated for the QED. Other difference is the birefringence phenomenon that occur in NED and also in QED with quantum corrections, but not in DBI theory [14]. Moreover, the DBI model has a problem of causality.

It is believed that magnetic fields have important role on the evolution of our universe. However, we have known little information about the existence of magnetic fields at the early universe. Observations have manifested the existence of magnetic field in the universe, ranging from the stellar scale \(10^{-5}\) pc to the cosmological scale \(10^4~\mathrm {Mpc}\) [70, 71]. In particular, the magnetic field on large scales (\(\le 1\) Mpc) is deemed to be formed in the early universe [72], namely, the primordial magnetic field. By the recent CMB observations, the strength of the magnetic field is less than a few nano-gauss at the 1 Mpc scale [73]. Additionally, the \(\gamma \)-ray detections of the distant blazars imply that the magnetic field might be larger than \(10^{-16}\) G on the scales \(1 - 10^4\) Mpc [74].

On the other hand, we have no direct observational evidence of primordial magnetic fields. The amplitude of primordial magnetic fields is also debatable. However, we believe that they existed because may have been needed to seed the large magnetic fields observed today. Nowadays, many theories are proposed to obtain the origin of cosmic magnetic fields for instance primordial vorticity plasma (vortical motion during the radiation era of the early Universe, vortical thermal background by macroscopic parity-violating currents), quantum-chromo-dynamics phase transition, first-order electroweak phase transition via a dynamo mechanism, etc ([75] and references therein). In the last scenario, seed fields are provided by random magnetic field fluctuations which are always present on a scale of the order of a thermal wavelength. Primordial Nucleosynthesis limit the intensity of the magnetic seed fields to a current upper limit of \(10^{-9}\) G [76] and the lower limit \(B > 10^{-19}\) G from the \(\gamma \)-ray observations [77]. Today, magnetic fields have been observed in different types of galaxies and also cluster of galaxies at wide range of redshifts. Furthermore, a lower bound, \(B \ge 3 \times 10^{-16}G\), has been obtained for intergalactic magnetic fields [78]. Constraints from the Planck satellite in 2015 show that the upper limit to be of the order of \(B <10^{-9}~\mathrm{{G}}\) [79].

In late time epochs, the reason to use NED may be different than the early universe: it can be implemented as a phenomenological approach, in which the cosmic substratum is modeled as a material media with electric permeability and magnetic susceptibility that depend in nonlinear way on the fields [126]. Another argument is based on the view that General Relativity is a low energy quantum effective field theory of gravity, provided that the Einstein-Hilbert classical action is augmented by the additional terms required by the trace anomaly characteristic of NED [127].

In this paper we use a new model of Lagrangian of NED, dubbed “NED with an exponential correction”, which has a Maxwell limit at low energies and which is different than DBI nonlinear electrodynamics [5]. We assume that radiation of NED is dominated in the early Universe, to solve the initial singularity problem. We show that the NED with the gravitation field can create the negative pressure and cause the inflation and late cosmic acceleration of the Universe. In this regard, our manuscript is an extended version of the papers [5, 8, 14, 20, 21, 80], at which are used Nonlinear magnetic fields, as a source of inflation. This model of NED is valid for the early and current regime of the Universe, on the other hand for the late Universe, the magnetic field is very weak. However, the question whether one can explain the late regime of the Universe in terms of only NED remains, at least theoretically, as an open possibility. Hence, we additionally investigate whether the exponential NED can provide the late-time accelerated expansion of the Universe.

We perform a phase-space analysis of Einstein-NED cosmology without a matter source and including it. The advantage of the using phase-space analysis [41,42,43,44,45,46,47,48,49, 81,82,83,84,85,86,87,88,89,90,91] is that one can do more stability analysis with using visual plots using the trajectories in geometrical way so that it becomes easy to observe the property with the help of the attractors which are the most easily seen experimentally [92]. On the other hand, conceptually using NED has the advantage that no need to use some exotic fields such as scalar fields, branes or extra dimensions, it is just photon fields, and it is well known also in nonlinear optics which studying behavior of light in nonlinear media and also nonlinear collision of particles in quantum electrodynamics [93,94,95,96,97,98,99].

The paper is organized as follows. In Sect. 2 we introduce the Lagrangian of NED. In Sect. 3 we examine the acceleration and evolution of the Universe in terms of NED fields. In Sect. 4 we perform a detailed phase-space analysis of our Einstein-NED cosmology model. In Sect.  5 we consider a more realistic scenario, namely we include a matter source in our setup. In Sect. 6 we put constraints on the NED parameters using observational Hubble data from cosmic chronometers and using the latest SNIa data. Finally we summarize and discuss our results in Sect.  7.

2 General relativity coupled with non-linear electrodynamics with an exponential correction

In highly nonlinear energy density situations such as in the early Universe, NED is expected to play a crucial role in the evolution of the Universe [11, 19]. First it should be understand the contributions of nonlinear fields to inflation. For this purpose, we propose the following action GR coupled with the NED field as follows:

$$\begin{aligned} S=\int d^{4}x\sqrt{-g}\left[ \frac{R}{2}+\mathcal {L}_{NED}\right] , \end{aligned}$$
(1)

where R is the Ricci scalar and \(\mathcal {L}_{NED}\) is the Lagrangian of the NED fields and we have used units where \(8 \pi G=1, c=1\). The new NED Lagrangian density is chosen as follows:

$$\begin{aligned} \mathcal{L}_{NED}=-\frac{\mathcal{F}e^{-\alpha \mathcal F}}{(\alpha \mathcal{F}+\beta )}, \end{aligned}$$
(2)

where \(\alpha \) is a constant with \([B_{0}^{-2}]\) units, and \(B_0\) is the current value of the electromagnetic magnetic field, and \(\beta \) is a dimensionless parameter, \(\mathcal{F}=(1/4)F_{\mu \nu }F^{\mu \nu }=(B^{2}-E^{2})/2\), where \(F_{\mu \nu }=\partial _{\mu }A_{\nu }-\partial _{\nu }A_{\mu }\) is the field strength tensor. When \(\alpha \rightarrow 0\) and \(\beta \rightarrow 1\), the Lagrangian reduces to that of the classical Maxwell’s electrodynamics.

Notice that in geometrized units, where \(8\pi G=1, c=1\), all the quantities have dimension of a power of length [L]. In this system of units, a quantity which has \(L^{n}T^{m}M^{p}\) in ordinary units converse to \(L^{n+m+p}\). To recover nongeometrized units, we have to use the conversion factor \(c^{m}(8 \pi G/c^2)^{p}\). Thus, the dimension of \(B_{0}\) and \(H_{0}\) is [\(L^{-1}\)] in geometrized units and the conversion factors are \(1 \text {Gauss}=1.44\times 10^{-24}\mathrm {cm}^{-1}\) and \(H_{0}=h\,1.08\times 10^{-30}\mathrm {cm}^{-1}\), where \(h =(73.24\pm 1.74)\times 10^{-2}\) as measured by [100]. Then we are dealing with magnetic fields of the order \(10^{-40}\mathrm {cm}^{-1} \lesssim B_0 \lesssim 10^{-33}\mathrm {cm}^{-1}\) in the present epoch.

After varying the action given in Eq. (1), one can find the Einstein field equations and the NED fields equation as follows:

$$\begin{aligned} R_{\mu \nu }-\frac{1}{2}g_{\mu \nu }R=-T_{\mu \nu }, \end{aligned}$$
(3)

where

$$\begin{aligned} \partial _{\mu }\left( \sqrt{-g}\frac{\partial \mathcal {L}_{NED}}{\partial \mathcal {F}}F^{\mu \nu }\right) =0. \end{aligned}$$
(4)

The energy momentum tensor [7]

$$\begin{aligned} T^{\mu \nu }=K_{\mu \lambda }F_{\nu }^{\lambda }-g^{\mu \nu }\mathcal {L}_{NED} , \quad K_{\mu \lambda }=\frac{\partial \mathcal {L}_{NED}}{\partial \mathcal {F}}F_{\mu \lambda },\end{aligned}$$
(5)

can be used to obtain the general form of the energy density \(\rho _{NED}\) and the pressure \(\ p_{NED}\) of NED fields as

$$\begin{aligned} \rho _{NED}=&-\mathcal{\mathcal {L}}_{NED}-E^{2}\frac{\partial \mathcal{\mathcal {L}}_{NED}}{\partial \mathcal{F}}\nonumber \\ =&-{\frac{{\mathrm{e}^{-\alpha \,\mathcal F}}\left( \left( {E}^{2}{\alpha }^{2}-\alpha \right) \mathcal{F}^{2}+\beta \,\left( {E}^{2}\alpha -1\right) \mathcal{F}-{E}^{2}\beta \right) }{\left( \alpha \,\mathcal{F}+\beta \right) ^{2}},} \end{aligned}$$
(6)

and

$$\begin{aligned} p_{NED}&=\mathcal{\mathcal {L}}_{NED}+\frac{\left( E^{2}-2B^{2}\right) }{3}\frac{\partial \mathcal {L}_{NED}}{\partial \mathcal {F}} \nonumber \\&=-\frac{2}{3}\,{\frac{\left[ \left( \left( {B}^{2}-1/2\,{E}^{2}\right) {\alpha }^{2}+3/2\,\alpha \right) \mathcal{F}^{2}+\beta \,\left( 3/2+\left( {B}^{2}-1/2\,{E}^{2}\right) \alpha \right) \mathcal{F}-\beta \,\left( {B}^{2}-1/2\,{E}^{2}\right) \right] {\mathrm{e}^{-\alpha \,\mathcal F}}}{\left( \alpha \,\mathcal{F}+\beta \right) ^{2}}}. \end{aligned}$$
(7)

To find the solution of the Einstein field equations, we consider the homogeneous and isotropic cosmological metric of FRW with following line element:

$$\begin{aligned} ds^{2}=-dt^{2}+a(t)^{2}\left[ dr^{2}+r^{2}\left( d\theta ^{2}+\sin ^2\theta \,d\phi ^{2}\right) \right] , \end{aligned}$$
(8)

with scale factor a(t).

The key point of this study is that it can be supposed that the stochastic magnetic fields are the cosmic background with the wavelength smaller than the curvature so we can use the averaging of EM fields which are sources in GR and then we can obtain the isotropic FRW spacetime [101]. In general, the averaged EM fields have the properties:

$$\begin{aligned} \langle E\rangle= & {} \langle B\rangle =0,\quad \langle E_{i}B_{j}\rangle =0, \nonumber \\ \langle E_{i}E_{j}\rangle= & {} \frac{1}{3}E^{2}g_{ij},\quad \langle B_{i}B_{j}\rangle =\frac{1}{3}B^{2}g_{ij}, \end{aligned}$$
(9)

where the averaging brackets \(\langle \) \(\rangle \) is used for a simplicity. The non-zero averaged magnetic field case is the most unexpected case [101], where the magnetic field of the Universe is frozen to occur the magnetic properties, it is necessary to screen the electric field of the charged primordial plasma. We use the Eqs. (6) and (7) (for \(E^{2}=0)\) and obtain:

$$\begin{aligned} \rho _{NED}={\frac{B^{2}{\mathrm{e}^{-1/2\,\alpha \,{B}^{2}}}}{\alpha \,{B}^{2}+2\,\beta }}, \end{aligned}$$
(10)

and

$$\begin{aligned} p_{NED}=-{\frac{2{B}^{2}\left( {B}^{4}{\alpha }^{2}+2\,\left( \beta +3/4\right) \alpha \,{B}^{2}-\beta \right) {\mathrm{e}^{-\frac{\alpha {B}^{2}}{2}}}}{3\left( \alpha \,{B}^{2}+2\,\beta \right) ^{2}}}. \end{aligned}$$
(11)

Through the analysis, it is imposed the energy condition \(\rho _{NED}\ge 0\), which implies \(2 \beta + \alpha B^2\ge 0\).

Afterwards, we use the FRW metric (8) and find the equation of the Friedmann:

$$\begin{aligned} 3\frac{\ddot{a}}{a}=-\frac{1}{2}\left( \rho _{NED}+3p_{NED}\right) , \end{aligned}$$
(12)

where we use the dot “.” to denote the time derivative. Furthermore, we check the condition of the accelerated Universe \(\rho _{NED}+3p_{NED}<0\) with the sources of NED fields using into Eqs. (6) and (7):

$$\begin{aligned}&\rho _{NED}+3p_{NED}= \nonumber \\&-{\frac{2{B}^{2}{\mathrm{e}^{-\frac{\alpha {B}^{2}}{2}}}\left( {B}^{4}{\alpha }^{2}+2\,\beta \,\alpha \,{B}^{2}+\alpha \,{B}^{2}-2\,\beta \right) }{\left( \alpha \,{B}^{2}+2\,\beta \right) ^{2}}}. \end{aligned}$$
(13)

The condition for the NED energy provide acceleration is \((\rho _{NED}+3p_{NED}<0)\), which combined with the physical condition \(\rho _{NED}\ge 0\) gives \(\beta \le 0,\alpha \,B^{2}>-2 \beta \) or \(\beta>0, \alpha \,B^{2}>-\frac{1}{2} (1+2 \beta )+\frac{1}{2} \sqrt{4 \beta ^2+12 \beta +1}\). As shown in Fig. (1) and the lower bound of \(\alpha B\) that gives acceleration when \(\beta =1\) is at \(\alpha \,B^{2}=-\frac{3}{2}+\frac{1}{2}\sqrt{17}\). Note that the source of the strong nonlinear electrodynamics field accelerates the Universe in the early stages, that is, for large \(\alpha B^2\) we enter the shadowed region in Fig. 1. Then we use the conservation of the energy-momentum tensor \((\nabla ^{\mu }T_{\mu \nu }=0\)) for the FRW metric (8) and find the continuity equation:

$$\begin{aligned} \dot{\rho }_{NED}+3\frac{\dot{a}}{a}\left( \rho _{NED}+p_{NED}\right) =0. \end{aligned}$$
(14)

It is noted that the Hubble parameter is defined as \(H=\frac{\dot{a}}{a}\) which is the expansion rate of our Universe. This equation gives

$$\begin{aligned} \frac{B e^{-\frac{1}{2} \alpha B^2} \left( 2 B H+\dot{B}\right) \left( -4 \beta +\alpha ^2 B^4+2 \alpha \beta B^2\right) }{\left( 2 \beta +\alpha B^2\right) ^2}=0. \end{aligned}$$
(15)

One can integrate (one of the branches of) the above equationFootnote 1 using the \(\rho \) and p to obtain the evolution of the magnetic field respect to the scale factor \(B(t)=\frac{B_{0}}{a(t)^{2}}\) where \(B_{0}\) is for \(a(t)=1\). Afterward, we rewrite the energy density \(\rho \) and the pressure \(\ p\) using the evolution of the magnetic field:

$$\begin{aligned} \rho _{NED}&={\frac{{ B_{0}}^{2}}{{a}^{4}}{\mathrm{e}^{-{\frac{\alpha \,{ B_{0}}^{2}}{2{a}^{4}}}}}\left( {\frac{\alpha \,{ B_{0}}^{2}}{{a}^{4}}}+2\,\beta \right) ^{-1}},~~ \end{aligned}$$
(16)
$$\begin{aligned} p_{NED}&=-\frac{2{ B_{0}}^{2}}{3{a}^{4}}{\mathrm{e}^{-{\frac{\alpha \,{ B_{0}}^{2}}{2{a}^{4}}}}} \left( {\frac{\alpha \,{B_{0}}^{2}}{{a}^{4}}}+2\,\beta \right) ^{-2}\nonumber \\&\quad \times \left( {\frac{{ B_{0}}^{4}{\alpha }^{2}}{{a}^{8}}}+2\,{\frac{\alpha \,\left( \beta +3/4\right) { B_{0}}^{2}}{{a}^{4}}}-\beta \right) . \end{aligned}$$
(17)

Using the equation of state (EoS)

$$\begin{aligned} \omega&=\frac{p_{NED}}{\rho _{NED}}=-\frac{2}{3}\left( {\frac{{ B}^{4}_0{\alpha }^{2}}{{a}^{8}}}+2\,{\frac{\alpha \,\left( \beta +3/4\right) { B}^{2}_0}{{a}^{4}}}-\beta \right) \nonumber \\&\quad \times \left( {\frac{\alpha \,{ B}^{2}_0}{{a}^{4}}}+2\,\beta \right) ^{-1}, \end{aligned}$$
(18)

then we use Eqs. (16) and (17) and obtain the radiation or other relativistic fluid case:

$$\begin{aligned} \lim _{a\rightarrow \infty }\omega =\frac{1}{3}. \end{aligned}$$
(19)
Fig. 1
figure 1

Are presented the regions which gives acceleration in the plane \(Y=\alpha B\) vs. \(\beta \)

Defining \(Y \!\equiv \![\alpha B_{0}^{2}/a^{4}]\), we have \(\omega \!=\!-\frac{2 \left( \!-\beta +Y^2+2 \left( \!\beta +\frac{3}{4}\!\right) Y\!\right) }{3 (2 \beta +Y)}\). Now, by choosing the value \(\beta =1\), at \(Y=\sqrt{5}-1\), is obtained an EoS corresponding to de Sitter spacetime i.e. \(\omega =-1\) (the usual cosmological constant), at \(Y=\frac{65-\sqrt{7}}{4}\) , we have \(\omega =0\) for non-relativistic matter (baryons, CDM), also for some values we have \(-1<\omega <-1/3\) which is called “quintessence”, a dynamical dark energy resulting in accelerating expansion. The models with \(\omega <-1\) has been termed “phantom” dark energy. We can also refer dark energy as vacuum energy, because one possible source of dark energy is quantum-mechanical fluctuations of the vacuum. In Fig. 2 is it plotted \(\omega \) versus \(Y=\alpha B_{0}^{2}/a^{4}\). For small a (large Y) the universe has large negative equation of state, it crosses the value \(\omega =-1\) at \(Y=\sqrt{5}-1\). At \(Y= \frac{1}{2} \left( \sqrt{17}-3\right) \) the universe changes from acceleration to deceleration. For large a (\(Y\rightarrow 0\)) we see that \(\omega \) approaches 1 / 3 (radiation dominated universe).

Fig. 2
figure 2

\(\omega \) versus \(Y=\alpha B_{0}^{2}/a^{4}\) for \(\beta =1\)

Now we show that the spacetime will be flat at \(t\rightarrow \infty \) (\(a\rightarrow \infty \)) and that singularities are removed at the early/late phase of the Universe (\(a\rightarrow 0\)). For this purpose we calculate the Ricci scalar (which represents the curvature of spacetime), the Ricci tensor squared, and the Kretschmann scalar.

The Ricci scalar is calculated by using Einstein’s field Eq.  (3) and the energy-momentum tensor as follows:

$$\begin{aligned} R= (\rho _{NED}-3p_{NED}), \end{aligned}$$
(20)

The Ricci tensor squared \(R_{\mu \nu }R^{\mu \nu }\) and the Kretschmann scalar \(R_{\mu \nu \alpha \beta }R^{\mu \nu \alpha \beta }\) are also obtained as

$$\begin{aligned} R_{\mu \nu }R^{\mu \nu }=\left( \rho _{NED}^{2}+3p_{NED}^{2}\right) , \end{aligned}$$
(21)

and

$$\begin{aligned} R_{\mu \nu \alpha \beta }R^{\mu \nu \alpha \beta }=\left( \frac{5}{3}\rho _{NED}^{2}+2\rho _{NED} p_{NED}+3p_{NED}^{2}\right) . \end{aligned}$$
(22)

Furthermore, taking the limits \(a\rightarrow 0\) and at \(a\rightarrow \infty \) in (16) and in (17) we have

$$\begin{aligned}&\lim _{a\rightarrow 0}\rho _{NED}(a)=\lim _{a\rightarrow 0}p_{NED}(a)=0 \end{aligned}$$
(23)
$$\begin{aligned}&\lim _{a\rightarrow \infty }\rho _{NED}(a)=\lim _{a\rightarrow \infty }p_{NED}(a) =0. \end{aligned}$$
(24)

Finally, when we check the limits of the energy density and pressure, and use the expressions (20), (21) and (22) we conclude that the Ricci scalar, the Ricci tensor squared, and the Kretschmann scalar are non singular at \(a(t)\rightarrow 0\) and at \(a(t)\rightarrow \infty \), and these show that the spacetime will be flat at \(t\rightarrow \infty \) and singularities are removed at the early/late phase of the Universe.

3 Acceleration and evolution of the universe

Now, we find the evolution of the Universe using the Einstein’s equations and the energy density given in Eqs. (16) and (17). Without considering dust like matter, we study the evolution of the Universe. To calculate the scale factor as a function of time, first we use the second Friedmann’s equation in flat Universe:

$$\begin{aligned} \left( \frac{\dot{a}}{a}\right) ^{2}=\frac{\rho _{NED}}{3}, \end{aligned}$$
(25)

and one can obtain the equation which shows conservation of energy for a particle moving in a effective potential V(a):

$$\begin{aligned} \dot{a}^{2}+V_{\text {eff}}(a)=0, \end{aligned}$$
(26)

with \(V_{\text {eff}}(a)=-\frac{1}{6}\,{\frac{{B_{0}}^{2}}{{a}^{2}}{\mathrm{e}^{-\,{\frac{\alpha \,{B_{0}}^{2}}{2{a}^{4}}}}}\left( \,{\frac{\alpha \,{ B_{0}}^{2}}{{2a}^{4}}}+1\right) ^{-1}}\).

Fig. 3
figure 3

The function of effective potential \(V_{\text {eff}}(a)\) vs. scale factor a

Fig. 4
figure 4

The function of scale factor a(t) vs. cosmic time t

We use Eq. (26), to get a qualitative feel for the evolution of the early Universe. Figure 3 shows the effective potential \(V_{\text {eff}}(a)\) as function of the scale factor. The effective potential with a positive slope yields a force tending to slow down positive motion along the horizontal axis, while the portion of the effective potential with a negative slope yields a force tending to speed up positive motion along the horizontal axis. These two conditions occur to the right and the left, respectively, of the minimum scale factor at \(a_{c}=\frac{\sqrt{2}\root 4 \of {\left( 2\,\beta +1+\sqrt{4\,{\beta }^{2}+12\,\beta +1}\right) {B_{0}}^{2}\alpha \,{\beta }^{3}}}{2\beta }\approx 1.15\). By analogy, then, a(t) accelerates to the left of \(a_{c}\) and decelerates to the right of \(a_{c}\). This acceleration is due to nonlinear electrodynamics which behaves similarly to dark energy.

Using the Eq. (25) with the energy density in Eq. (16), we obtain the equation as follows:

$$\begin{aligned} { \dot{a}}^{2}=\frac{B_{0}^2}{6} a^{-2} \left( \frac{\alpha B_{0}^2}{2 a^4}+\beta \right) ^{-1} e^{-\frac{\alpha B_{0}^2}{2 a^4}}. \end{aligned}$$
(27)

Expanding (27) around small \(B=\frac{B_0}{a^2}\) (that is, large a), we obtain \(\dot{a}^2=\frac{B_0^2}{6 a^2 \beta }+O\left( \frac{B_0}{a^2}\right) ^3\). Neglecting error terms, we calculate approximate cosmic time [102] as follows: \(\frac{d a}{d t}=\frac{B_0}{\sqrt{6 \beta } a} \implies t-t_0=\frac{\sqrt{\frac{3}{2}} a^2 \sqrt{\beta }}{B_0}\) where \(t_{0}\) is a constant of integration which gives only the shift in time as shown in Fig. 4. Note that without losing generality, the integration constant has been shifted to \(t_{0}=0\). Then, by simplicity we have imposed the condition \(\beta =1\). One can also obtain the evaluation of the scale factor for (\(\alpha =B_{0}=1)\) as follows:

$$\begin{aligned} a=\root 4 \of {2/3}\sqrt{ t}. \end{aligned}$$
(28)

Note that evolution of the scale factor has similar feature with radiation dominated Universe and for \(t=0\) it reduces to zero

$$\begin{aligned} a_{0}=a(t=0)=0. \end{aligned}$$
(29)

The function of \(a_{0}\) is a radius of the Universe which shows that Universe begins from the zero point. One can also show them in terms of redshift where \(a=(1+z)^{-1}\).

Now, looking at large a in Fig. 3 we see that \(V_{\text {eff}}\) tends to zero as \(a\rightarrow \infty \) (that, is, when \(B=B_0 a^{-2}\) goes to zero); In Fig. 4, a goes to \(\infty \). \(\dot{a} \rightarrow \frac{B_0}{\sqrt{6} a \sqrt{\beta }}=\frac{\sqrt{B_0}}{2^{3/4} \root 4 \of {3} \root 4 \of {\beta } \sqrt{t-t_0}}\). All is consistent with \(a\rightarrow \infty , \dot{a}\rightarrow 0, t\rightarrow \infty \).

To complete the analysis we expand around large B, that is, small a, we have \(\dot{a}^2= e^{-\frac{\alpha B^2}{2}} \left( \frac{a^2}{3 \alpha }+O\left( \left( \frac{1}{B}\right) ^2\right) \right) \). Substituting definition of \(B=B_0 a^{-2}\), and neglecting error terms we obtain \(\dot{a}^2 =\frac{a^2 e^{-\frac{\alpha B_0^2}{2 a^4}}}{3 \alpha }\). Integrating we obtain \(t-t_0=-\frac{1}{4} \sqrt{3} \sqrt{\alpha } \text {Ei}\left( \frac{B_0^2 \alpha }{4 a^4}\right) \). For \(\alpha =B_0=1\) we have that \((\dot{a}, t-t_0)=\left( \frac{a e^{-\frac{1}{4 a^4}}}{\sqrt{3}},-\frac{1}{4} \sqrt{3} \text {Ei}\left( \frac{1}{4 a^4}\right) \right) \) that tends to \((0,-\infty )\) in the limit \(a\rightarrow 0\). This solution corresponds to the shallow region of the potential showed in (3) near the origin \(a=0\), where \(\dot{a}=-V_{\text {eff}}\rightarrow 0\), and it is achieved in the early universe.

The next step is to check the causality of the Universe using the speed of the sound. The speed of the sound should be smaller than the local light speed (\(c_{s}\le 1\)) [103]. Moreover, we check the square sound speed to avoid the Laplacian instability, we require the conditions that must be positive (\(c_{s}^{2}>0\)). Furthermore there exists a range in the parameter space where it is violated the condition for the absence of Laplace instability, “forbidden region”. Now our model is free of Laplacian instability. Our all calculations are based on allowed region where there is no Laplacian instability.

If the Universe satisfied these conditions, there is a classical stability. The square of the sound speed is found from Eqs. (6) and (7);

$$\begin{aligned}&c_{s}^{2}=\frac{dp}{d\rho }=\frac{dp/d\mathcal {F}}{d\rho /d\mathcal {F}} ={\frac{-24\,{a}^{16}{\beta }^{2}-20\,\beta \, \left( \beta +{\frac{11}{5}}\right) \alpha \,{B_0}^{2}{a}^{12} +8\,\left( \beta -1/2\right) \beta \,{\alpha }^{2}{ B_0}^{4}{a}^{8}+8\,{\alpha }^{3}{ B_0}^{6}\left( \beta +3/8\right) {a}^{4}+2\,{ B_0}^{8}{\alpha }^{4}}{24\,{a}^{16}{\beta }^{2}-12\,{ B_0}^{2}\beta \,\alpha \,\left( \beta -1\right) {a}^{12}-12\,{ B_0}^{4}{a}^{8}{\alpha }^{2}\beta -3\,{ B_0}^{6}{a}^{4}{\alpha }^{3}}},\nonumber \\ \end{aligned}$$
(30)

and the classical stability \((c_{s}^{2}>0)\) for the absence of Laplacian instabilities and causality of the Universe using the speed of sound \(c_{s}\le 1\), occurs as shown in Figs. 5 and 6, respectively.

Fig. 5
figure 5

The plot shows the classical stability with variables \(\alpha \), \(\beta \) and B

Fig. 6
figure 6

The plot shows the causality with variables \(\alpha \), \(\beta \) and B

Finally, we deal with the configuration \(\mathcal{F} = - \beta /\alpha ,\) which corresponds to \(2 \beta + \alpha B^2= 0\). Using the parametrization \(B=B_0 a^{-2}\), and the definition \(Y=\alpha B_0^2 a^{-4}\), this configuration appears when \(Y=-2 \beta \) (in Fig 2. \(\beta \) has been chosen equal to 1), and it is attained as \(a\rightarrow a_s:= \frac{\root 4 \of {-\alpha } \sqrt{B_0}}{\root 4 \of {2}}\) (\(\alpha \) negative). Expanding Eq. (27) in a neighborhood of the value \(a=a_s\) we have \(\dot{a} = \frac{{B_0}^{3/4} \sqrt{e}}{2\ 2^{3/8} \sqrt{3} \root 8 \of {-\alpha } \sqrt{a-a_s}}+O\left( \sqrt{a-a_s}\right) \). Hence, \(a(t)\rightarrow a_s+\left( \frac{3}{2}\right) ^{2/3} \root 3 \of {C^2 t^2}\) where \(C=\frac{{B_0}^{3/4} \sqrt{e}}{2\ 2^{3/8} \sqrt{3} \root 8 \of {-\alpha }}\). The Hubble factor as \(t\rightarrow 0\) goes as \(H\rightarrow \frac{\root 3 \of {\frac{2}{3}} \root 3 \of {C^2}}{a_s} t^{-\frac{1}{3}}\). By integrating the approximated equation \(\frac{\dot{a}}{a}\approx \frac{\root 3 \of {\frac{2}{3}} \root 3 \of {C^2}}{a_s} t^{-\frac{1}{3}}\) we have \(a=a_s e^{\frac{\left( \frac{3}{2}\right) ^{2/3} C^{2/3} t^{2/3}}{a_s}}=a_s+\left( \frac{3}{2}\right) ^{2/3} C^{2/3} t^{2/3}+\frac{3 \root 3 \of {\frac{3}{2}} C^{4/3} t^{4/3}}{4a_s}+O\left( t^{5/3}\right) \), such that we obtain correction terms to the previous asymptotic formula as \(t\rightarrow 0\). On the other hand, for large t we have \(H\rightarrow \frac{2}{3} t^{-1}\), which corresponds to matter domination. The scale factor around \(a_s\) corresponds to the inflationary solution \( a(t) = \exp [A t^f ]\) with \(f=\frac{2}{3}\), that is followed with matter domination. A scale factor of the form \(a(t) = \exp \big (At^f\big )\) where \(A>0\) and \(0<f<1\) was introduced in [104,105,106] in the context of inflation. Since the expansion of the universe with this scale factor is slower than the de Sitter inflation (\(a(t) = \exp (Ht)\) where H is constant), but faster than the power-law inflation (\(a(t) = t^q\) where \(q> 1\)), it was called intermediate inflation. Intermediate inflationary models arise in the standard inflationary framework as exact cosmological solutions in the slow-roll approximation to potentials that decay with inverse power-law of the inflaton field [107]. These models have been studied in some warm inflationary scenarios [108,109,110,111,112,113,114,115,116,117,118]. From a quantum mechanical point of view, this mechanism might provide an explanation for the large scale magnetic fields observed today. In particular the inflation period amplifies the quantum perturbations of the electromagnetic field leading to the current classical perturbations.

4 Phase space analysis

The Eq. (26) represents the motion of a particle of the unit mass in the potential \(U_{\text {eff}}(a) = -\frac{\rho _{NED}(a) a^2}{6}\). We have that the Eq.  (26) is satisfied on the zero energy level, where \(\rho _{NED}\) plays the role of effective energy density parameterized through the scale factor a(t). Therefore the standard cosmological model can be simply represented in the terms of a dynamical system of a Newtonian type:

$$\begin{aligned} \ddot{a}=-\frac{\partial U_{\text {eff}}}{\partial a}, \quad U_{\text {eff}}=-\frac{B_0^2 a^2 e^{-\frac{\alpha B_0^2}{2 a^4}}}{6 \left( 2 \beta a^4+\alpha B_0^2\right) }, \end{aligned}$$
(31)

where the scale factor a plays the role of a positional variable of a fictitious particle of the unit mass, which mimics the expansion of the Universe.

For simplicity, we use introduce the new constant \(b_0=\frac{1}{2} {B_0}^2 \alpha \), and introduce the time rescaling \(\tau =\frac{t}{B_0}, B_0> 0\), and the variables

$$\begin{aligned} x=a, \quad y=\frac{\dot{a}}{B_0}, \end{aligned}$$
(32)

The system is then equivalent to

$$\begin{aligned}&\frac{d x}{d\tau }= y, \quad \frac{d y}{d \tau }= \frac{e^{-\frac{b_0}{x^4}} \left( 2 b_0^2-\beta x^8+b_0 x^4 (2\beta +1)\right) }{6 x^3 \left( b_0+\beta x^4\right) ^2}. \end{aligned}$$
(33)

By definition \(x\ge 0\) (since we consider that the scale factor is non-negative). For this reason, it is convenient to define the new variables

$$\begin{aligned} x=e^u, y=v, \end{aligned}$$
(34)

which takes values on the real line, and the time variable

$$\begin{aligned} \eta =\int a^{-1} d\tau \equiv \int e^{-u} d\tau . \end{aligned}$$
(35)

This system can be written in the form

$$\begin{aligned}&\frac{d u}{d\eta }= v, \quad \frac{d v}{d \eta }= -\frac{\partial W(u)}{\partial u}. \end{aligned}$$
(36)

Thus, \(\frac{v^2}{2}+W(u)=E\), is the constant of energy. From the above system we see that, generically, the fixed points are situated on the axis u (\(v=0\)). From the characteristic equation it follows that just three types of fixed points are admitted:

  1. 1.

    saddle if \(u_0: \frac{\partial W}{\partial u}|_{u=u_0}=0\) and \(\frac{\partial ^2 W}{\partial u^2}|_{u=u_0}<0;\)

  2. 2.

    focus if \(u_0: \frac{\partial W}{\partial u}|_{u=u_0}=0\) and \(\frac{\partial ^2 W}{\partial u^2}|_{u=u_0}>0;\)

  3. 3.

    degenerated critical point if \(u_0: \frac{\partial W}{\partial u}|_{u=u_0}=0\) and \(\frac{\partial ^2 W}{\partial u^2}|_{u=u_0}=0.\)

In the concrete example we have

$$\begin{aligned} W(u)=-\frac{e^{-b_0 e^{-4 u}}}{12 \left( b_0 e^{-2 u}+\beta e^{2 u}\right) }. \end{aligned}$$
(37)

Imposing the condition \(b _{0}+\beta e^{4 u}\ge 0\) we find that the fixed point at the finite region of the phase space is \(A:(u, v)=\left( \frac{1}{4} \ln \left( \frac{b_{0} \left( 1+2 \beta +\sqrt{4 \beta (\beta +3)+1}\right) }{2 \beta }\right) , 0\right) \), that exists for \(\beta>0, b_{0}>0\). Then, \(W''(u_0)\) is positive (where \(u_0\) is the coordinate of A).

So that, according to the previous classification it is a focus. For the particular case \(b_0=0.5, \beta =1\) we find that the fixed point A has coordinates \(u=0.144262\) for which \(a=1.15519\) which corresponds to the minimum of V(a) in Fig. 3. Additionally, in the limit \(u\rightarrow + \infty \), we have \(W'(u)\rightarrow 0, W''(u)\rightarrow 0\), hence, in this regime we can expect to have degenerate critical points. Furthermore, for \({b_0}{\beta }<0\) there are no fixed points at the finite region of the phase-plane.

Since the above system is in general unbounded, then we introduce the compactification

$$\begin{aligned} U=\frac{u}{\sqrt{1+u^2+v^2}}, \quad V=\frac{v}{\sqrt{1+u^2+v^2}}, \end{aligned}$$
(38)

we have the equivalent flow

$$\begin{aligned}&\frac{d U}{d\eta }=\frac{U V \sqrt{1-U^2-V^2} \left( -2 b_{0}^2-b_{0} (2 \beta +1) e^{\frac{4 U}{\sqrt{1-U^2-V^2}}}+\beta e^{\frac{8 U}{\sqrt{1-U^2-V^2}}}\right) \exp \left( -b_{0} e^{-\frac{4 U}{\sqrt{1-U^2-V^2}}}-\frac{2 U}{\sqrt{1-U^2-V^2}}\right) }{6 \left( b_{0}+\beta e^{\frac{4 U}{\sqrt{1-U^2-V^2}}}\right) ^2} \nonumber \\&\;\;\;\;\;\;\;\;\;\;\;\;\;\; + V(1-U^2-V^2)+V^3, \end{aligned}$$
(39)
$$\begin{aligned}&\frac{d V}{d\eta }=\frac{\left( V^2-1\right) \sqrt{1-U^2-V^2} \left( -2 b_{0}^2-b_{0} (2 \beta +1) e^{\frac{4 U}{\sqrt{1-U^2-V^2}}}+\beta e^{\frac{8 U}{\sqrt{1-U^2-V^2}}}\right) \exp \left( -b_{0} e^{-\frac{4 U}{\sqrt{1-U^2-V^2}}}-\frac{2 U}{\sqrt{1-U^2-V^2}}\right) }{6 \left( b_{0}+\beta e^{\frac{4 U}{\sqrt{1-U^2-V^2}}}\right) ^2}\nonumber \\&\;\;\;\;\;\;\;\;\;\;\;\;\;\; -U V^2. \end{aligned}$$
(40)

For the choice \(\beta = \frac{2 b_{0}^2+b_{0}}{1- 2 b_{0}}, 0<b_{0}<\frac{1}{2}\) which implies \(\beta>0, b_0>0\), the fixed point A exists. In Fig. 7 it is presented the dynamics of system (39)–(40) for the choice \(\beta = \frac{2 b_{0}^2+b_{0}}{1- 2 b_{0}}, b_{0}=0.06\). In this case A is a focus according to the previous classification. Now, for \(\beta = \frac{2 b_{0}^2+b_{0}}{1- 2 b_{0}}, 0<b_{0}<\frac{1}{2}\), \(\frac{e^{-b_{0}} \left( 2 b_{0}\left( 4 b_{0}^2-6 b_{0}+1\right) +1\right) }{6 b_{0}}=: k^2>0 \). Then, the equations near the origin of coordinates (fixed point A), can be written as

$$\begin{aligned} \frac{d U}{d\eta }=V, \quad \frac{d V}{d\eta }=-k^2 U \end{aligned}$$
(41)

where we have neglected the higher order terms, such that, close to the origin, the solutions can be approximated by

$$\begin{aligned}&U(\eta )=U_0 \cos (\eta k)+\frac{V_0 \sin (\eta k)}{k}, \end{aligned}$$
(42)
$$\begin{aligned}&V(\eta )= -k U_0 \sin (\eta k)+V_0 \cos (\eta k). \end{aligned}$$
(43)

Thus, the orbits of the original system near the origin can be approximated by the ellipses given by

$$\begin{aligned} U(\eta )^2+k^{-2}V(\eta )^2=\text {constant}=U_0^2+k^{-2}V_0^2, \end{aligned}$$
(44)

which leads to periodic solutions:

$$\begin{aligned} a=e^{\frac{U}{\sqrt{1-U^2-V^2}}}, \quad \dot{a}=\frac{B_0 V}{\sqrt{1-U^2-V^2}}, \end{aligned}$$
(45)

where U and V are given by (42), (43)

Fig. 7
figure 7

Dynamics of system (39)–(40) for the choice \(\beta = \frac{2 b_{0}^2+b_{0}}{1- 2 b_{0}}, b_{0}=0.06\)

Fig. 8
figure 8

Behavior of the scale factor and its first derivative in terms of the parameter \(\eta \). In the figure it is shown a typical behavior for the choice \(\beta = \frac{2 b_{0}^2+b_{0}}{1- 2 b_{0}}, b_{0}=0.06\), \(B_0=0.5, U_0=V_0=0.2\)

The relation between \(\eta \) and the cosmic time t can be found by using

$$\begin{aligned} t-t_0=B_0 \int _0^{\eta } a(\vartheta ) d \vartheta , \end{aligned}$$
(46)

which in general must be integrated numerically.

In the Fig. 8 it is shown the behavior of the scale factor and its first derivative in terms of the parameter \(\eta \). This is the realization of a cyclic Universe in our model supported by NED. The scale factor goes below and above the value \(a=1\), reaching a maximum and a minimum value of a, and a is bounded away zero (there is no initial singularity, as expected from our NED proposal).

Now let us assume arbitrary \(b_0>0, \beta >0\) and obtain a second order expansion around A. For the sake of simplicity of notation we define \(\mu = \frac{b_{0} \left( 1+2 \beta \sqrt{4 \beta ^2+12 \beta +1}\right) }{2 \beta }\) and \(k^2:=\frac{e^{-\frac{b_{0}}{\mu }} (\mu -2 b_{0}) \left( -4 b_{0}^2+4 b_{0} \mu +\mu ^2\right) \left( \ln ^2(\mu )+16\right) }{96 b_{0} \mu ^{5/2}}>0\). The existence conditions \(b_0>0, \beta >0\) implies \(b_{0}>0, \mu >2 b_{0}\).

By neglecting higher orders terms we obtain

$$\begin{aligned}&\frac{d U}{d\eta }=V \left( 1-\frac{\ln ^2(\mu )}{\ln ^2(\mu )+16}\right) \end{aligned}$$
(47)
$$\begin{aligned}&\frac{d V}{d\eta }=-k^2 \left( U-\frac{\ln (\mu )}{\sqrt{\ln ^2(\mu )+16}}\right) . \end{aligned}$$
(48)

Taking as initial condition \(U(0)=\delta _{U}+\frac{\ln (\mu )}{\sqrt{\ln ^2(\mu )+16}},V(0)=\delta _{V}\), and under the conditions \(b_0>0, \beta >0\), the solution is given by

$$\begin{aligned} U(\eta )&=\frac{\ln (\mu )}{\sqrt{\ln ^2(\mu )+16}}+ \delta _{U} \cos \left( \frac{4 \eta k}{\sqrt{\ln ^2(\mu )+16}}\right) \nonumber \\&\quad +\frac{4 \delta _{V} \sin \left( \frac{4 \eta k}{\sqrt{\ln ^2(\mu )+16}}\right) }{k \sqrt{\ln ^2(\mu )+16}}, \end{aligned}$$
(49)
$$\begin{aligned} V(\eta )&=-\frac{1}{4} \delta _{U} k \sqrt{\ln ^2(\mu )+16} \sin \left( \frac{4 \eta k}{\sqrt{\ln ^2(\mu )+16}}\right) \nonumber \\&\quad +\delta _{V} \cos \left( \frac{4 \eta k}{\sqrt{\ln ^2(\mu )+16}}\right) , \end{aligned}$$
(50)

This solution approximates the exact solutions of the full system surrounding A. The orbits near A can be approximated by the ellipses

$$\begin{aligned}&\left( U-\frac{\ln (\mu )}{\sqrt{\ln ^2(\mu )+16}}\right) ^2+\frac{16 V^2}{k^2 \left( \ln ^2(\mu )+16\right) }\nonumber \\&\quad =\delta _{U}^2+\frac{16\delta _{V}^2}{k^2 \left( \log ^2(\mu )+16\right) }. \end{aligned}$$
(51)

with center A. Once we know the expressions of \(U(\eta ), V(\eta )\), we can calculate the parametric expressions of a and \(\dot{a}\) as functions of \(\eta \) through

$$\begin{aligned} a=e^{\frac{U}{\sqrt{1-U^2-V^2}}}, \quad \dot{a}=\frac{B_0 V}{\sqrt{1-U^2-V^2}}, \end{aligned}$$
(52)

where U and V are defined by (49) and (50), respectively. Finally, the dynamics at the circle at infinity can be represented by the flow of

$$\begin{aligned}&\frac{d U}{d\eta }=V^3, \quad \frac{d V}{d\eta }=-U V^2. \end{aligned}$$
(53)

The orbits lying on the circle at infinity can be parametrized as

$$\begin{aligned} U(\eta )= \pm \frac{c_2+\eta }{\sqrt{\left( c_2+\eta \right) {}^2+1}}, \quad V(\eta )= \sqrt{\frac{1}{\left( c_2+\eta \right) {}^2+1}} \end{aligned}$$

or

$$\begin{aligned} U(\eta )=\pm \frac{\eta -c_2}{\sqrt{\left( \eta -c_2\right) {}^2+1}}, \quad V(\eta )= -\sqrt{\frac{1}{\left( \eta -c_2\right) {}^2+1}}. \end{aligned}$$

Thus, there are fixed points lying on the circumference at infinity \((U,V)=(\pm 1,0)\). Thus, apart of the singular points at infinity described before, and the point at the finite region \((U,V)=\left( \frac{\ln \left( \mu \right) }{\sqrt{\ln ^2\left( \mu \right) +4}},0\right) \), \(\mu = \frac{b_{0} \left( 1+2 \beta \sqrt{4 \beta ^2+12 \beta +1}\right) }{2 \beta }\), we have that for \(b_0 \beta <0\), there exists the singular line: \(\left\{ (X,Y):b_{0}+\beta e^{\frac{4 U}{\sqrt{1-U^2-V^2}}}=0\right\} .\)

4.1 Integrability and connection with the observables

In this section we comment on the integrability of the system at hand, and calculate some observables in terms of redshift.

As we commented before, from the conservation of the energy-momentum tensor \((\nabla ^{\mu }T_{\mu \nu }=0\)) for the FRW metric we have

$$\begin{aligned} \frac{B e^{-\frac{1}{2} \alpha B^2} \left( 2 B H+\dot{B}\right) \left( -4 \beta +\alpha ^2 B^4+2 \alpha \beta B^2\right) }{\left( 2 \beta +\alpha B^2\right) ^2}=0, \end{aligned}$$
(54)

and from (10) we have

$$\begin{aligned} 3H^2:=\rho _{NED}={\frac{B^{2}{\mathrm{e}^{-1/2\,\alpha \,{B}^{2}}}}{\alpha \,{B}^{2}+2\,\beta }} . \end{aligned}$$
(55)

As we mentioned before, we have the trivial solution \(B=0\), the regime \(\alpha B^2\rightarrow \infty \) and the constant solutions B, such that \( \left( -4 \beta +\alpha ^2 B^4+2 \alpha \beta B^2\right) =0\). Concerning the former solutions we have the following results:

  1. 1.

    \(\alpha B^2= -\beta -\sqrt{\beta ^2 + 4\beta }\), is a real value for \(\beta>0, \alpha <0 \;\text {or}\; \beta \le -4, \alpha >0\). Equation (55) means that H is constant and equal to a cosmological constant \(H=\sqrt{\Lambda }\), with

    $$\begin{aligned} \Lambda =\frac{e^{\frac{1}{2} \left( \beta +\sqrt{\beta (\beta +4)}\right) } \left( \beta +\sqrt{\beta (\beta +4)}+2\right) }{6 \alpha }, \end{aligned}$$

    but under the above conditions results in \(\Lambda <0\), which implies \(a\propto e^{i \sqrt{|\Lambda |} t}\). So, we discard these solutions. Furthermore, we have a second class of solutions given by

  2. 2.

    \(\alpha B^2= -\beta +\sqrt{\beta ^2 + 4\beta }\) is a real value for \(\beta>0, \alpha>0 \;\text {or}\; \beta \le -4, \alpha >0\). As before, equation (55) means that H is constant and equal to a cosmological constant \(H=\sqrt{\Lambda }\) with

    $$\begin{aligned} \Lambda =\frac{e^{\frac{1}{2} \left( \beta -\sqrt{\beta (\beta +4)}\right) } \left( \beta -\sqrt{\beta (\beta +4)}+2\right) }{6 \alpha }. \end{aligned}$$

    For \(\beta \le -4, \alpha >0\) we have \(\Lambda <0\), which implies \(a\propto e^{i \sqrt{|\Lambda |} t}\). So, we discard these solutions. However, for \(\beta>0, \alpha >0\), we obtain \(\Lambda >0\) as required in, and then we arrive a a regime similar to de-Sitter type Universe, with \(a\propto e^{\sqrt{\Lambda } t}\).

Summarizing, our model supports the inflation similar to de-Sitter Universe, with

$$\begin{aligned} a\propto e^{\sqrt{\Lambda } t}, \quad \Lambda =\frac{e^{\frac{1}{2} \left( \beta -\sqrt{\beta (\beta +4)}\right) } \left( \beta -\sqrt{\beta (\beta +4)}+2\right) }{6 \alpha }, \end{aligned}$$
(56)

provided \(\beta>0, \alpha >0\).

Now, assuming that B is not a constant or trivial, it is easy to recast the field equations as

$$\begin{aligned} \dot{B}= -2 B H, \quad \dot{H}= \frac{B^2 e^{-\frac{1}{2} \alpha B^2} \left( -4 \beta +\alpha ^2 B^4+2 \alpha \beta B^2\right) }{3 \left( 2 \beta +\alpha B^2\right) ^2}, \end{aligned}$$
(57)

The other restriction from Eq. (55) is

$$\begin{aligned} \frac{B^2 e^{-\frac{1}{2} \alpha B^2}}{2 \beta +\alpha B^2}=3 H^2\ge 0. \end{aligned}$$
(58)

Using the previous restriction and introducing the logarithmic time variable \(N=\ln a\), we obtain the equations

$$\begin{aligned} \frac{d B}{d N}= -2 B, \quad \frac{d H}{d N}= \frac{H \left( -4 \beta +\alpha ^2 B^4+2 \alpha \beta B^2\right) }{2 \beta +\alpha B^2}, \end{aligned}$$
(59)

We use convention that \(a=1\), is the present value of the scale factor, so that \(N=0\) today. We define \(H(0)=H_0\) and \(B(0)=B_0\) the current values of the Hubble factor and the magnetic field respectively. It is convenient to define the dimensionless parameters

$$\begin{aligned} h_0=\alpha H_0^2, \quad b_0=\frac{\alpha B_0^2}{2}. \end{aligned}$$
(60)

Integrating the system (59), evaluating \(N=\ln a\) and \(a=\frac{1}{1+z}\), we obtain

$$\begin{aligned}&B(z)=B_0 (z+1)^2, \end{aligned}$$
(61)
$$\begin{aligned}&H(z)=\frac{H_0 (z+1)^2 \sqrt{ \beta +b_0} e^{-\frac{1}{2} b_0\left( (z+1)^4-1\right) }}{\sqrt{ \beta + b_0(z+1)^4}}, \end{aligned}$$
(62)
$$\begin{aligned}&q=-1- 2 b_0 (z+1)^4+\frac{2 \beta }{ \beta + b_0 (z+1)^4}, \end{aligned}$$
(63)

where we have taken the reference values \(z=0, a=1\) for today, such that, as \(z\rightarrow -1\), the contribution of magnetic fields at cosmological scales is negligible [119]. The current value of the deceleration parameter is

$$\begin{aligned}&q_0=1- 2\left( 3 h_0 e^{b_0}+ b_0\right) . \end{aligned}$$
(64)

Thus, to accommodate the current accelerated phase it is required \(h_0 >\frac{1}{6}e^{-b_0}\left( 1-2 b_0\right) \). Summarizing, the function H(z) has the free parameters \(H_0, h_0, b_0\) than can be contrasted against data and experiments. Then, we calculate the model parameters as:

$$\begin{aligned} \alpha =\frac{h_0}{H_0^2},\; B_0=H_0 \sqrt{\frac{2 b_0}{h_0}},\; \beta = b_0 \left( \frac{e^{-b_0}}{3h_0}-1\right) . \end{aligned}$$
(65)

Notice that our analysis is performed in geometrized units where the dimension of \(B_{0}\) and \(H_{0}\) is [\(L^{-1}\)]. In geometrized units, \(8\pi G=1\) and \(c=1\), the conversion factors are \(1 \text {Gauss}=1.44\times 10^{-24}\mathrm {cm}^{-1}\), and \(H_{0}=h\,1.08\times 10^{-30}\mathrm {cm}^{-1}\). Then we are dealing with magnetic fields of the order \(10^{-40}\mathrm {cm}^{-1} \lesssim B_0 \lesssim 10^{-33}\mathrm {cm}^{-1}\) in the present epoch [78, 79].

5 General Relativity coupled with Non-Linear Electrodynamics with an exponential correction in the presence of matter

To introduce a more realistic model we include an additional matter source with constant equation of state parameter \(w_m=p_m/\rho _m\) (with \(0\le w_m\le 1\) for standard matter) and with continuity equation

$$\begin{aligned} \dot{\rho }_m +3 H(1+w_m)\rho _m=0. \end{aligned}$$
(66)

Integrating out the last equation we obtain \(\rho _m=\rho _{m,0} a^{-3(1+w_m)}\). In this case, the second Friedmann’s equation in flat Universe becomes

$$\begin{aligned} \left( \frac{\dot{a}}{a}\right) ^{2}=\frac{\rho _{NED}+\rho _{m,0} a^{-3(1+w_m)}}{3}, \end{aligned}$$
(67)

Hence, the effective potential is now

$$\begin{aligned} U_{\text {eff}}=-\frac{B_0^2 a^2 e^{-\frac{b_0}{a^4}}}{12 \left( \beta a^4+ b_0\right) }-\frac{\rho _{m,0}}{6} a^{-1-3 w_m}. \end{aligned}$$
(68)

where, as in the previous case, we have introduced the new constants \(b_0=\frac{1}{2} {B_0}^2 \alpha \) and \(\rho _{m,0} =\rho _0 B_0^2\). Defining the variables

$$\begin{aligned} a=e^u, \frac{\dot{a}}{B_0}=v, \end{aligned}$$
(69)

which takes values on the real line, and the new time variable

$$\begin{aligned} \eta =\frac{1}{B_0}\int a^{-1} dt\equiv \frac{1}{B_0} \int e^{-u} dt, \end{aligned}$$
(70)

the system is then equivalent to

$$\begin{aligned}&\frac{d u}{d\eta }= v, \quad \frac{d v}{d \eta }= -\frac{\partial U_{\text {eff}}}{\partial u}. \end{aligned}$$
(71)

where the effective potential is

$$\begin{aligned} U_{\text {eff}}(u)=-\frac{1}{6} \rho _{0} e^{-u (3 w_m+1)}-\frac{e^{-b_0 e^{-4 u}}}{12 \left( b_0 e^{-2 u}+\beta e^{2 u}\right) } \end{aligned}$$
(72)

Now, the fixed points are found by solving numerically

$$\begin{aligned}&\frac{e^{-b_{0} e^{-4 u}-2 u} \left( 2 b_{0}^2+b_{0} (2 \beta +1) e^{4 u}-\beta e^{8 u}\right) }{6 \left( b_{0}+\beta e^{4 u}\right) ^2} \nonumber \\&\;\;\;\;\;\;\;\;\;\;-\frac{1}{6} \rho _{0} (3 w_m+1) e^{-u (3 w_m+1)}=0. \end{aligned}$$
(73)

As before the above system is in general unbounded, so that we introduce the compactification

$$\begin{aligned} U=\frac{u}{\sqrt{1+u^2+v^2}}, \quad V=\frac{v}{\sqrt{1+u^2+v^2}}. \end{aligned}$$
(74)

Hence, we have the equivalent flow

$$\begin{aligned} \frac{d U}{d\eta }= & {} \frac{U V \sqrt{1-U^2-V^2} \left( -2 b_{0}^2-b_{0} (2 \beta +1) e^{\frac{4 U}{\sqrt{1-U^2-V^2}}}+\beta e^{\frac{8 U}{\sqrt{1-U^2-V^2}}}\right) \exp \left( -b_{0} e^{-\frac{4 U}{\sqrt{1-U^2-V^2}}}-\frac{2 U}{\sqrt{1-U^2-V^2}}\right) }{6 \left( b_{0}+\beta e^{\frac{4 U}{\sqrt{1-U^2-V^2}}}\right) ^2} \nonumber \\&\quad +\frac{1}{6} \rho _{0} U V (3 w_m+1) \sqrt{1-U^2-V^2} e^{-\frac{U (3 w_m+1)}{\sqrt{1-U^2-V^2}}}+V(1-U^2-V^2)+V^3, \end{aligned}$$
(75)
$$\begin{aligned} \frac{d V}{d\eta }= & {} \frac{\left( V^2-1\right) \sqrt{1-U^2-V^2} \left( -2 b_{0}^2-b_{0} (2 \beta +1) e^{\frac{4 U}{\sqrt{1-U^2-V^2}}}+\beta e^{\frac{8 U}{\sqrt{1-U^2-V^2}}}\right) \exp \left( -b_{0} e^{-\frac{4 U}{\sqrt{1-U^2-V^2}}}-\frac{2 U}{\sqrt{1-U^2-V^2}}\right) }{6 \left( b_{0}+\beta e^{\frac{4 U}{\sqrt{1-U^2-V^2}}}\right) ^2}\nonumber \\&\quad +\frac{1}{6} \rho _{0} e^{-\frac{U (3 w_m+1)}{\sqrt{1-U^2-V^2}}} \left( V^2-1\right) (3 w_m+1)\sqrt{1-U^2-V^2}-U V^2 . \end{aligned}$$
(76)

For the special choice of parameters \(\frac{e^{-b_{0}} \left( 2 b_{0}^2+2 b_{0} \beta +b_{0}-\beta \right) }{6 (b_{0}+\beta )^2}-\frac{1}{6} \rho _{0} (3 w_m+1)=0\), the origin is a fixed point of the dynamical system. Given

$$\begin{aligned}&\gamma := U_{\text {eff}}''(0)\\&\quad =\frac{e^{-b_{0}} \left( b_{0}^2 \left( -\left( 8 b_{0}^2+2 b _{0}+(6 b _{0}+3) w_m+3\right) \right) +\beta ^2 (2 (7-4 b _{0}) b _{0}+(3-6 b _{0}) w_m-1)-4 b _{0} \beta (b _{0} (4 b _{0}+3 w_m-3)-3)\right) }{6 (b _{0}+\beta )^3}. \end{aligned}$$

Depending of whether sign it has, the origin is a saddle (\(U_{\text {eff}}''(0)<0\)) or a focus (\(U_{\text {eff}}''(0)>0\)).

Assuming \(\gamma >0\), and by taking a linear expansion around the origin, we find the approximate system

$$\begin{aligned}&\frac{d U}{d\eta }=V, \quad \frac{d V}{d\eta }=-\gamma U, \end{aligned}$$
(77)

with solution

$$\begin{aligned}&U(\eta )= U_0 \cos \left( \sqrt{\gamma } \eta \right) +\frac{V_0 \sin \left( \sqrt{\gamma } \eta \right) }{\sqrt{\gamma }}, \end{aligned}$$
(78)
$$\begin{aligned}&V(\eta )= V_0 \cos \left( \sqrt{\gamma } \eta \right) -\sqrt{\gamma } U_0 \sin \left( \sqrt{\gamma } \eta \right) . \end{aligned}$$
(79)

Finally we have the parametric solution

$$\begin{aligned} a=\exp \left( \frac{U}{\sqrt{1-U^2-V^2}}\right) , \dot{a}= \frac{B_0 V}{\sqrt{1-U^2-V^2}}, \end{aligned}$$
(80)

which is a periodic solution for \(\gamma >0\).

For \(\gamma <0\), the solution is

$$\begin{aligned}&U(\eta )= U_0 \cosh \left( \sqrt{-\gamma } \eta \right) +\frac{V_0 \sinh \left( \sqrt{-\gamma } \eta \right) }{\sqrt{-\gamma }}, \end{aligned}$$
(81)
$$\begin{aligned}&V(\eta )= V_0 \cosh \left( \sqrt{-\gamma } \eta \right) -\sqrt{-\gamma } U_0 \sinh \left( \sqrt{-\gamma } \eta \right) , \end{aligned}$$
(82)

and has we commented before the origin is a saddle.

On the other hand, in the same way as for (39)–(40), the asymptotic system near the fixed point at infinity for \(U>0, w_m>0\) is

$$\begin{aligned}&\frac{d U}{d\eta }=V^3, \quad \frac{d V}{d\eta }=-U V^2. \end{aligned}$$
(83)

The orbits lying on the circle at infinity can be parametrized as

$$\begin{aligned} U(\eta )= \pm \frac{c_2+\eta }{\sqrt{\left( c_2+\eta \right) {}^2+1}}, \quad V(\eta )= \sqrt{\frac{1}{\left( c_2+\eta \right) {}^2+1}} \end{aligned}$$

or

$$\begin{aligned} U(\eta )=\pm \frac{\eta -c_2}{\sqrt{\left( \eta -c_2\right) {}^2+1}}, \quad V(\eta )= -\sqrt{\frac{1}{\left( \eta -c_2\right) {}^2+1}}. \end{aligned}$$

Thus, there are fixed points lying on the circumference at infinity \((U,V)=(\pm 1,0)\).

Now, we proceed to the numerical integration of system (75)–(76) for some values of \(b_0\) and \(\beta \), and for (a) dust and (b) for stiff matter. There is a numerical evidence, as showed in Fig. 9, of the realization of a cyclic Universe in our model supported by NED. That is, the scale factor goes below and above the value \(a=1\), reaching a maximum and a minimum value of a, and a is bounded away zero, as expected from our NED proposal. As shown in Fig. 9b, e, when A is a saddle, there are other cyclic solutions.

Fig. 9
figure 9

Dynamics of system (75)–(76) for the for some values of \(b_0\) and \(\beta \), and for a) dust \(w_m=0\) and b) for stiff matter \(w_m=1\). We have assumed \(\frac{e^{-b_{0}} \left( 2 b_{0}^2+2 b_{0} \beta +b_{0}-\beta \right) }{6 (b_{0}+\beta )^2}-\frac{1}{6} \rho _{0} (3 w_m+1)=0\)

Fig. 10
figure 10

1D marginalized posterior distributions and the 2D \(68, 95, 99.7\%\) confidence levels for the h, \(h_{0}\), and \(b_{0}\) parameters of the NED cosmology without a matter field obtained from OHD and SNIa data

Fig. 11
figure 11

1D marginalized posterior distributions and the 2D \(68, 95, 99.7\%\) confidence levels for the \(\Omega _{m0}\), h, \(h_{0}\), and \(b_{0}\) parameters of the NED cosmology including dust matter obtained from OHD and SNIa data

5.1 Integrability and connection with the observables

In this section we comment on the integrability of the system at hand, and calculate some observables in terms of redshift. We assume that B is not a constant or trivial.

By introducing the logarithmic time variable \(N=\ln a\), it is easy to recast the field equations as

$$\begin{aligned}&\frac{d B}{d N}= -2 B, \end{aligned}$$
(84)
$$\begin{aligned}&\frac{d H}{d N}=\frac{B^2 e^{-\frac{1}{2} \alpha B^2} \left( -4 \beta +\alpha ^2 B^4+2 \alpha \beta B^2\right) }{3 H \left( 2 \beta +\alpha B^2\right) ^2}-\frac{1}{2} (w_m+1) \frac{\rho _{m}}{H}, \end{aligned}$$
(85)
$$\begin{aligned}&\frac{d\rho _{m}}{d N}= -3 (w_m+1) \rho _{m}, \end{aligned}$$
(86)
$$\begin{aligned}&\frac{B^2 e^{-\frac{1}{2} \alpha B^2}}{2 \beta +\alpha B^2}+\rho _m=3 H^2. \end{aligned}$$
(87)

As before \(a=1\) corresponds to present value of the scale factor, so that \(N=0\) today and \(H(0)=H_0\), \(B(0)=B_0\) and \(\rho _{m}(0)=3 H_0^2 \Omega _{m0}\) are the current values of the Hubble factor, the magnetic field, and the matter density, respectively, where we have defined the current normalized energy density \(\Omega _m(0)=:\frac{\rho _m}{3 H^2}|_{\text {today}}=\Omega _{m0}\). We use the dimensionless parameters \(h_0=\alpha H_0^2, \quad b_0=\frac{\alpha B_0^2}{2}\).

Integrating the above system and evaluating \(N=\ln a\) and \(a=\frac{1}{1+z}\), we obtain

$$\begin{aligned}&B(z)=B_0 (z+1)^2, \end{aligned}$$
(88)
$$\begin{aligned}&\rho _m(z)=3 {H_0}^2\Omega _{m 0} (1+z)^{3(1+w_m)}, \end{aligned}$$
(89)
$$\begin{aligned}&H(z)=H_0\sqrt{\frac{(1-\Omega _{m 0}) (z+1)^4 e^{-b_0 z (z+2) (z (z+2)+2)}}{3 h_0 (1-\Omega _{m 0}) z (z+2) (z (z+2)+2) e^{b_0}+1}+\Omega _{m 0} (z+1)^{3 (w_m+1)}}, \end{aligned}$$
(90)
$$\begin{aligned}&q+1= \frac{\frac{4 b_0 (\Omega _{m0}-1)(z+1)^8 e^{b_0 \left( 1-(z+1)^4\right) }}{{3 h_0 (\Omega _{m0}-1) \left( 1-(z+1)^4\right) e^{b_0}}+1}-\frac{4 (\Omega _{m0}-1)e^{b_0 \left( 1- (z+1)^4\right) } \left( 3 h_0(\Omega _{m0}-1) e^{b_0}+1\right) }{\left( 3 h_0 (\Omega _{m0}-1) \left( 1-(z+1)^4\right) e^{b_0}+1\right) ^2}+3 (w_m+1) \Omega _{m0} \left( {z+1}\right) ^{3( w_m+1)}}{2 \left( \Omega _{m0} \left( {z+1}\right) ^{3 (w_m+1)}-\frac{(\Omega _{m0}-1)(z+1)^4 e^{b_0 \left( 1-(z+1)^4 \right) }}{3 h_0 (\Omega _{m0}-1) \left( 1-(z+1)^4 \right) e^{b_0}+1}\right) }. \end{aligned}$$
(91)

Summarizing, the function H(z) has the free parameters \(H_0, \Omega _{m0}, h_0, b_0\) than can be contrasted against data and experiments. Then, we calculate the model parameters as:

$$\begin{aligned} \alpha =\frac{h_0}{H_0^2},\; B_0=H_0 \sqrt{\frac{2 b_0}{h_0}},\; \beta = b_0 \left( \frac{e^{-b_0}}{3h_0 (1-\Omega _{m0})}-1\right) , \end{aligned}$$
(92)

and the current value of q is

$$\begin{aligned} q_0&= 1+\frac{1}{2} (3 w_m-1) \Omega _{m0} \nonumber \\&\quad -2 (1-\Omega _{m0}) \left( b_0+3 h_0 (1-\Omega _{m0}) e^{b_0}\right) . \end{aligned}$$
(93)

6 Observational constraints

Table 1 Mean values for the NED parameters (\(\Omega _{m0}\), h, \(\alpha \), and \(B_{0}\)) derived from OHD and SNIa data (JLA sample). When the SNIa data are used, we estimate \(M^{1}_{B}=-18.88^{+0.05}_{-0.05}\;(-18.94^{+0.05}_{-0.05})\), \(\delta _{M}=-0.06^{+0.02}_{-0.01}\), \(a=0.14^{+0.006}_{-0.006}\), and \(b=3.10^{+0.08}_{-0.08}\) for no matter (matter) case

In this section we test two NED models: without a fluid component and including it as dust matter (associated to a dark matter component), i.e. its equation of state is \(w_{m}=0\). The free parameters \(H_0, h_0, b_0\), and \(\Omega _{m0}\) (when dust matter is considered) are constrained using the observational Hubble data from cosmic chronometers and the latest SNIa data. Next we calculate the model parameters using Eqs. (65) and (92).

Fig. 12
figure 12

Fitting to OHD data (blue dots) using the mean values of the NED parameters into the theoretical H(z) (solid line) for the case without matter (Eq. 62, top panel) and including matter (Eq. 90, bottom panel)

Fig. 13
figure 13

The top and bottom panels show the reconstruction of the deceleration parameter q(z) using the h, \(h_{0}\), and \(b_{0}\) mean values from OHD and SNIa data respectively into the theoretical q(z) given by (63). The shadowed areas represent the \(1\sigma \) and \(2\sigma \) confidence levels. The inset shows the q(z) behavior in the range \(0<z<0.2\)

Fig. 14
figure 14

The top and bottom panels show the reconstruction of the deceleration parameter q(z) using using the \(\Omega _{m0}\), h, \(h_{0}\), and \(b_{0}\) mean values from OHD and SNIa data respectively into the theoretical q(z) given by (91). The shadowed areas represent the \(1\sigma \) and \(2\sigma \) confidence levels

  • Observational Hubble data (OHD). The differential age (DA) method measures H(z) between two passively-evolving galaxies with similar metallicities and separated by a small redshift interval (cosmic chronometers) [120, 121]. The data provided by the DA method are cosmological-model-independent and then they can be used to probe alternative cosmological models. Here, we use the latest OHD obtained from DA technique, which contains 31 data points covering \(0< z < 1.97\), compiled by [122] and references therein. The figure-of-merit for the OHD is written as

    $$\begin{aligned} \chi _{\text{ OHD }}^2 = \sum _{i=1}^{31} \frac{ \left[ H(z_{i}) -H_{da}(z_{i})\right] ^2 }{\sigma _{H_i}^{2}} +\left( \frac{H_{0}-73.24}{1.74}\right) ^{2}, \end{aligned}$$
    (94)

    where \(H(z_{i})\) is the theoretical Hubble parameter (given by either Eq. 62 or Eq. 90, depending on whether we consider no matter or we include it, respectively), \(H_{da}(z_{i})\) is the observational one at redshift \(z_{i}\), and \(\sigma _{H_i}\) its error. Notice that in the last expression, we also consider the measurement of \(H_{0}=73.24\pm 1.74~\mathrm{{Kms}}^{-1}\mathrm{{Mpc^{-1}}}\) by [100] as a Gaussian prior.

  • Type Ia Supernovae. The first evidence of the accelerating expansion of the Universe was provided by the observations of distant type Ia Supernovae (SNIa) [22, 23]. Over the last years, the high-resolution SNIa observations have demonstrated be a key cosmological probe due the shape their light curves can be standardizable. Thus, any alternative cosmological model should be confronted with the latest SNIa data. Here, we use the joint-light-analysis (JLA) compilation by [123] consisting in 740 data points in the range \(0.01<z<1.2\). For the JLA sample, the observational distance modulus can be computed as

    $$\begin{aligned} \mu _{obs}=m_{B}-\left( M_{B}-a\,X_{1}+b\,{C}\right) , \end{aligned}$$
    (95)

    where \(m_{B}\) is the observed peak magnitude in rest-frame B band, \(X_{1}\) is the time stretching of the light-curve, C is the supernova color at maximum brightness, and \(M_{B}\)Footnote 2, a, and b are nuisance parameters in the distance estimate. On the other hand, the theoretical distance modulus is given by \(\mu _{th}=5\log _{10}(d_{L}/10pc)\), where \(d_{L}\), the luminosity distance predicted by the NED cosmology (an interesting study of the SNIa luminosity distance in Born-Infeld NED cosmology is presented in [125]), reads as

    $$\begin{aligned} d_{L}=(1+z)c \int ^{z}_{0}\frac{\mathrm {dz}^{\prime }}{H(z^{\prime })}. \end{aligned}$$
    (97)

    Therefore, the figure-of-merit for the SNIa data can be written as

    $$\begin{aligned} \chi ^{2}_{\text{ SNIa }}=\mathbf {\left( \mu _{obs} - \mu _{th}\right) ^{\dag }}\mathrm {Cov}(a,b)^{-1}\mathbf {\left( \mu _{obs} - \mu _{th} \right) }, \end{aligned}$$
    (98)

    where \(\mathrm {Cov}(a,b)\) is the covariance matrixFootnote 3 of \(\mathbf {\mu _{obs}}\) provided by [123].

To constrain the free parameters, (\(\Omega _{m0}\), h, \(h_0\), and \(b_{0}\)), we perform a Bayesian Monte Carlo Markov Chain (MCMC) analysis employing the emcee python module using 800 walkers, 500 steps in the burn-in-phase, and 4000 MCMC steps to guaranty the convergence. We consider a Gaussian prior on \(\Omega _{m0}\) as measured by [124] and uniform priors [0, 1] for both \(h_{0}\) and \(b_{0}\).

Figures 10 and 11 show the 1D marginalized posterior distribution and the 2D confidence contours for the h, \(h_{0}\), and \(b_{0}\) parameters for the NED cosmology without matter and \(\Omega _{m0}\), h, \(h_{0}\), and \(b_{0}\) when the matter component is included respectively. Notice that both OHD and SNIa data provide consistent constraints on the NED parameters for both models.

Table 1 gives the mean values for the NED model parameters using different cosmological data for both cases: without and including a matter component. The chi-square values indicate a over-fitting to OHD but a good-fitting to SNIa data. All our constraints on the current magnetic field, \(B_{0}\sim 10^{-31}\mathrm {cm^{-1}}\), are larger than the upper limit \(10^{-33}\mathrm {cm^{-1}}\) by the Planck satellite implying that NED cosmologies could not be suitable to explain the Universe dynamics at late times. Nevertheless, the Fig. 12 illustrates a good fitting of the NED cosmology without (top panel) and with (bottom panel) matter to OHD. In addition, the Figs. 13 and 14 show the reconstructed deceleration parameter q(z) in the range \(0<z<2\) for each data set without matter and including matter respectively. If the matter component is not included, although the data sets predict an accelerated phase in the early Universe, a non accelerated Universe is preferred in the current epoch. However, a late cosmic acceleration dynamics is allowed within the \(2\sigma \) confidence levels. When a matter component is included in the NED cosmology, the data set predict a q(z) dynamics similar to that of the standard model. Indeed, \(q(z)\rightarrow 1/2\) when \(z\rightarrow \infty \). Moreover, both cosmological data favor up to \(2\sigma \) confidence levels an accelerating expansion in the current epoch, i.e., the Universe passes of a decelerated phase to an accelerated stage at redshift \(\sim 0.6\) for the OHD (top panel) and SNIa (bottom panel) constraints. Therefore, although the NED cosmology including dust matter (\(w_{m}=0\)) predict a higher \(B_{0}\) value, it is able to drive a late-time cosmic acceleration which is consistent with the \(Y-\beta \) allowed regions of the Fig. 1.

7 Conclusion

In this paper, we have considered a new field of NED as a source of gravity to shed light on the dynamics behind the accelerating Universe and solve the singularity problem of the Big Bang and the Universe curvature.

We have argued that the NED on cosmological scales could reveal the acceleration of the Universe during the inflationary era. We have also shown that, after this period of cosmic inflation the Universe undergoes decelerated expansion and asymptotically approaches the Minkowski spacetime.

From the dynamical system approach we have found for parameters \(\beta = \frac{2 b_{0}^2+b_{0}}{1- 2 b_{0}}, b_{0}=0.06\), \(B_0=0.5, U_0=V_0=0.2\), and assuming no background matter, the realization of a cyclic Universe in our model supported by NED near the value \(a_0=1\). The scale factor goes below and above the value \(a=1\), reaching a maximum and a minimum value of a, and a is bounded away zero (there is no initial singularity, as expected from our NED proposal). For our two models (not including matter, and for prefect fluid), We have found approximated solutions in parametric form for the scalar factor and its time derivative, which are valid in the neighborhood of the fixed point at the finite region. For some values of the parameters we found also the realization of a cyclic Universe.

For the model without matter, we have found solutions with B constant (\(\alpha B^2= -\beta +\sqrt{\beta ^2 + 4\beta }\)), which supports the inflation similar to de-Sitter Universe, with \(a\propto e^{\sqrt{\Lambda } t}, \Lambda =\frac{e^{\frac{1}{2} \left( \beta -\sqrt{\beta (\beta +4)}\right) } \left( \beta -\sqrt{\beta (\beta +4)}+2\right) }{6 \alpha }, \beta>0, \alpha >0\).

In the case of evolving H, it was provided explicit expressions for H(z) by direct integration of the equations of motion in the two models: with and without including a perfect fluid. We have tested these NED models by performing a Bayesian Monte Carlo Markov Chain (MCMC) analysis using OHD and SNIa data. We have found that the first case predicts \(B_{0}\) values higher limits than the Planck satellites bounds. That is \(B_{0}\sim 10^{-31}\mathrm {cm^{-1}}\), are larger than the upper limit \(10^{-33}\mathrm {cm^{-1}}\). In addition, although NED without matter is able to fit the OHD, it prefers no late cosmic acceleration. For the model including a fluid, we consider dust matter with an equation of state \(w_{m}=0\) which is associated to a dark matter component. In this particular example we conclude that this is a good model for the early time Universe, but there are not statistical differences with the usual model for the radiation epoch. We have reconstructed the deceleration parameter q(z) in the range \(0<z<2\) as shown in Fig. 14 for OHD (top panel) and SNIa data (bottom panel). Notice that \(q(z)\rightarrow 1/2\) when \(z\rightarrow \infty \). In addition, both cosmological data predict an accelerating expansion, i.e., the Universe passes of a decelerated phase to an accelerated stage at redshift \(\sim 0.6\). Nevertheless, the \(B_{0}\) estimation is higher than the upper limit by Planck measurements. That is, first we have proved that a model based on NED alone does not passes the late cosmic acceleration test. Second, we have proved that dust matter plus NED passed this test, and could provide late-time acceleration (the combined effect of both matter contributions).

Summarizing, using in a combined way the powerful of phase-space analysis, and the observational fit, one is able to falsify (in the sense of test) a theoretical cosmological model based on NED. From one side, dynamical systems tools allows to identify regions in the parameter space to provide stability conditions for fixed points with physical meaning. Furthermore, it was possible to use 2D phase spaces, showing trajectories in a geometrical way, so that it becomes easy to observe the property with the help of the attractors which are the most easily seen experimentally. On the other hand, comparison with data allows to refine more the region of parameters. In principle, although the NED cosmology including dust matter predict a value of \(B_{0}\) greater than the upper bound found by Planck satellite, it is able to drive a late-time cosmic acceleration which is consistent with our dynamical systems analysis and it is preferred by OHD and SNIa data sets. In our opinion this is a very interesting result and deserves discussion.