1 Introduction

Many astronomical observations, such as type Ia supernovae (SNe Ia) [13], the cosmic microwave background (CMB) [46], gamma-ray bursts [7, 8] and the large-scale structure (LSS) [9], indicate that the universe is undergoing an accelerated expansion, which suggests that our universe may have an extra component like dark energy. The nature of this dark energy is still unknown, but the simplest and most interesting candidate is the cosmological constant [10]. This model may be consistent with most astronomical observations. The latest observation shows that the present cosmic age is about \(t_0=13.82\) Gyr in the \(\Lambda \)CDM model [6], but it still suffers from the cosmic age problem [11, 12]. The cosmic age problem is that some objects are older than the age of the universe at its redshift \(z\). In previous literature, many cosmological models have been tested by the old quasar APM 08279+5255 with age \(2.1\pm 0.3\) Gyr at \(z=3.91\) [13, 14], such as the \(\Lambda \)CDM [13, 15], the \(\Lambda (t)\) model [16], the interacting dark energy models [12], the generalized Chaplygin gas model [17, 18], the holographic dark energy model [19], braneworld models [2022], and the conformal gravity model [23]. But all of these models have a serious age problem except the conformal gravity model, which can accommodate this quasar at \(3\sigma \) confidence level [23].

In this paper, we will use the old quasar APM 08279+5255 at redshift \(z=3.91\) and the nine extremely old Global Clusters [24, 25] to investigate the cosmic age problem in the \(R_\mathrm{h}=ct\) universe. The data of these nine extremely old GCs listed in Table 1 are acquired from the Beijing–Arizona–Taiwan–Connecticut system with up-to-date theoretical synthesis models. The evolutionary population synthesis modeling has become a powerful tool for the age determination [26, 27]. In [24, 25], they get the ages of those GCs by using multi-color photometric CCD data and comparing them with up-to-date theoretical synthesis models. But the ages of GCs derived by different authors based on different measurements using same method are not always consistent [24]. We find that the nine of those GCs can give stronger constraints on the age of universe than the old quasar APM 08279+5255. Those nine extremely old GCs have been used to test the cosmic age problem in dark energy models in previous work and many dark energy models have a serious age problem [12]. The \(R_\mathrm{h}=ct\) universe is a model of the cosmos which is closely restricted by the cosmological principle and Weyl’s postulate [28]. In the \(R_\mathrm{h}=ct\) universe, the gravitational horizon \(R_\mathrm{h}\) is always equal to \(ct\). The \(R_\mathrm{h}=ct\) universe can fit the SNe Ia data well [29], explain the growth of high-\(z\) quasars [30], and account for the apparent absence in the CMB angular correlation [31]. As we discussed above, many cosmological models cannot pass the age test. But whether the \(R_\mathrm{h}=ct\) universe suffers from the cosmic age problem is still unknown.

Table 1 The properties of the nine extremely old Global Clusters from [24, 25]

The structure of this paper is as follows. In Sect. 2, we introduce the \(R_\mathrm{h}=ct\) universe. In Sect. 3, we give the constraints on the \(R_\mathrm{h}=ct\) universe from SNe Ia and \(H(z)\) data. Then we will test the \(R_\mathrm{h}=ct\) universe with the nine extremely oldest GCs and the old quasar APM 08279+5255. The age test in other cosmological models is presented in Sect. 4. Conclusions will be given in Sect. 5.

2 The \(R_\mathrm{h} = ct\) universe

The \(R_\mathrm{h} = ct\) universe is a model of the cosmos which is closely restricted by the cosmological principle and Weyl’s postulate [28, 32]. For a certain age of the universe \(t\), there is a limiting observable distance \(R_\mathrm{h}(t)\), which is called the cosmic horizon. Any signal beyond the cosmic horizon cannot be observed by us. The horizon is defined as

$$\begin{aligned} R_\mathrm{h} = \frac{2GM(R_\mathrm{h})}{c^2}, \end{aligned}$$
(1)

where \(M(R_\mathrm{h})\) is the total mass enclosed within \(R_\mathrm{h}\) [28, 33]. From Eq. (1), we can find that the cosmic horizon is a Schwarzschild radius. If we write the energy density of matter as \(\rho \), then \(M(R_\mathrm{h})=4{\pi }{R_\mathrm{h}^3}{\rho }/(3c^2)\), so it yields

$$\begin{aligned} R_\mathrm{h}=\sqrt{({3c^4}/{(8{\pi }G{\rho }))}}. \end{aligned}$$
(2)

The expansion of the universe is calculated from the Friedmann equation

$$\begin{aligned} H^{2}=\left( \frac{\dot{a}}{a}\right) ^2=\frac{8{\pi }G{\rho }}{3c^2}-\frac{kc^2}{a^2}, \end{aligned}$$
(3)

where \(H=\dot{a}/a\) is the Hubble parameter, \(a\) is the scale factor, \(k\) is the spatial curvature constant and \(k=-1,0\) and \(+1\) corresponds to an open, flat, and closed universe, respectively. If we assume the universe is flat, from Eqs. (2) and (3), we have \(H=c/R_\mathrm{h}\). For the \(R_\mathrm{h} = ct\) universe, we have \(R_\mathrm{h} = ct\). We obtain

$$\begin{aligned} H=\frac{\dot{a}}{a}=\frac{1}{t}, \end{aligned}$$
(4)

where \(t\) is the age of universe. Solving Eq. (4) with \(a=\frac{1}{1+z}\) and the initial condition \(H=H_0\) when \(z=0\), one can get

$$\begin{aligned} H=H_0(1+z). \end{aligned}$$
(5)

The luminosity distance in the \(R_\mathrm{h}=ct\) universe is [33]

$$\begin{aligned} d_\mathrm{L}=(1+z)R_\mathrm{h}(t_0)\ln (1+z)=\frac{c(1+z)}{H_0}\ln (1+z), \end{aligned}$$
(6)

where \(t_0\) is the age of the local universe.

3 Observational constraints on the \(R_\mathrm{h}=ct\) universe

In this section, we constrain the \(R_\mathrm{h}=ct\) universe using the Union 2.1 SNe Ia data [34] and the observed Hubble parameter data \(H(z)\). The SNe Ia distance moduli and the value of \(H(z)\) reported in the literature depend on the specific cosmological model, i.e., \(\Lambda \)CDM. When we use them to constrain other cosmological models, the original data must be re-analyzed. Wei et al. [35] derived the SNe Ia distance moduli in the \(R_\mathrm{h}=ct\) universe. For the Hubble parameter data, we choose 19 model-independent data from [36]. Then we test the model with the nine extremely old GCs in M31 and the old quasar APM 08279+5255 based on the principle that any object is younger than its local universe.

3.1 Constraining the \(R_\mathrm{h}=ct\) universe with SNe Ia and \(H(z)\) data

SNe Ia supernovae are considered as the best standard candles to measure the distance and investigate the expansion of the universe. The Hubble parameter \(H(z)\) reveals the expansion of the universe directly. So we use the SNe Ia and \(H(z)\) data to constrain the \(R_\mathrm{h}=ct\) universe. The Union 2.1 sample contains 580 SNe Ia supernovae at a redshift less than 1.5 [34, 37, 38]. Wei et al. re-calculate those SNe Ia distance moduli in the \(R_h = ct\) universe and give their redshift \(z_i\), distance modulus \({\mu }_\mathrm{obs}(z_i)\), and its corresponding error \({\sigma }_i\). The theoretical distance modulus is defined as

$$\begin{aligned} {\mu }_\mathrm{th}(z_i)=5\log _{10}d_\mathrm{L}(z_i)+25. \end{aligned}$$
(7)

We can get the theoretical distance modulus \({\mu }_\mathrm{th}(z_i)\) for each SN Ia from Eqs. (6) and (7). The \({\chi }^2\) for SNe Ia is

$$\begin{aligned} {\chi }^2_\mathrm{SN}(H_0) = \sum \limits _{i=1}^{i=580}\frac{({\mu }_\mathrm{th}(z_i)-{\mu }_\mathrm{obs}(z_i))^2}{{\sigma }_i^2}. \end{aligned}$$
(8)

So \({\chi }^2_\mathrm{SN}\) has only one parameter, \(H_0\). We can get the best-fit \(H_0\) by minimizing \({\chi }^2_\mathrm{SN}\) (see Table 2). Reference [29] also found that the \(R_\mathrm{h}=ct\) universe can well fit the Union 2.1 sample.

Table 2 The best-fit values of the Hubble constant \(H_0\) in the \(R_\mathrm{h}=ct\) universe

The Hubble parameter values we use are obtained from previous published literature [3945]. These Hubble parameter data are complied in [46]. In [36], 19 model-independent values have been chosen. So we use these model-independent \(H(z)\) data. The \(\chi ^2\) for \(H(z)\) is

$$\begin{aligned} {\chi }^2_{H}(H_0) = \sum \limits _{i=1}^{i=19}\frac{(H_\mathrm{th}(z_i)-H_\mathrm{obs}(z_i))^2}{{\sigma }_{H_i}^2}. \end{aligned}$$
(9)

The total \({\chi }^2\) is \({\chi }_\mathrm{tot}^2(H_0) = {\chi }^2_\mathrm{SN}(H_0) + {\chi }^2_{H}(H_0)\). Then we minimize the total \({\chi }^2_\mathrm{tot}\) to get the best-fit parameter \(H_0\) of the \(R_\mathrm{h}=ct\) universe.

The best-fit Hubble constant is \(H_0 = 70.01\pm 0.40\,\mathrm{km}\,\mathrm{s}^{-1} \mathrm{Mpc}^{-1}\) at \(1\sigma \) confidence level with \({\chi }_\mathrm{min}^2=573.13\) from SNe Ia. After including the 19 Hubble parameter data, the best-fit Hubble parameter is \(H_0 = 69.83\pm 0.40\,\mathrm{km}\,\mathrm{s}^{-1}\,\mathrm{Mpc}^{-1}\) at \(1\sigma \) confidence level with \({\chi }_\mathrm{min}^2=604.03\). Recently, the Planck team derived the Hubble constant \(H_0 = 67.3\pm 1.2\,\mathrm{km}\,\mathrm{s}^{-1}\,\mathrm{Mpc}^{-1}\) in the \(\Lambda \)CDM model, which is consistent with our result.

3.2 Testing the \(R_\mathrm{h}=ct\) universe with old objects

The old objects are usually used to test cosmological models, especial the old high redshift objects [47]. In previous literature, many cosmological models cannot pass the cosmic age test. We use the nine extremely old GCs in M31 and the old quasar APM 08279+5255 to test the \(R_\mathrm{h}=ct\) universe. Any object at any redshift \(z\) must be younger than the age of the universe at \(z\), i.e., \(t_\mathrm{obj}(z)<t_\mathrm{cos}(z)\), where \(t_\mathrm{obj}(z)\) is the age of a object at redshift \(z\), and \(t_\mathrm{cos}(z)\) is the age of the universe at redshift \(z\). The age of a flat universe is given by [17]

$$\begin{aligned} t_\mathrm{cos}(z)={\int }^{\infty }_{z}\frac{\mathrm{d}\tilde{z}}{(1+\tilde{z})H(\tilde{z})}. \end{aligned}$$
(10)

From Eq. (5), the age of the \(R_\mathrm{h}=ct\) universe at redshift \(z\) is

$$\begin{aligned} t_\mathrm{cos}(z)=\frac{1}{H_0(1+z)}. \end{aligned}$$
(11)

We use the best-fit value of Hubble constant \(H_0 = 70.01 \pm 0.40\, \mathrm{km}\,\mathrm{s}^{-1}\,\mathrm{Mpc}^{-1}\) from SNe Ia data to calculate the age of the universe. For this result, the age of the local \(R_\mathrm{h}=ct\) universe \(t_0 = 13.97 \pm 0.08\) Gyr. For the best-fit value of Hubble constant \(H_0 = 69.83 \pm 0.40\mathrm{km}\,\mathrm{s}^{-1}\,\mathrm{Mpc}^{-1}\) from SNe Ia and Hubble parameter data, the age of local universe is \(t_0 = 14.01 \pm 0.08\) Gyr. We choose the second one. In Fig. 1, the blue line shows the evolution of cosmic age at different redshifts, and the red lines are for the \(1\sigma \) dispersion. For a given diagonal line, the area below this diagonal line corresponds to a larger cosmic age. From Fig. 1, we find that the \(R_\mathrm{h}=ct\) universe accommodates the old quasar APM 08279+5255 at more than \(3\sigma \) confidence level. In Fig. 2, the blue line shows the best-fit line of the age of local universe, and the red lines are for the \(1\sigma \) dispersion. From Fig. 2, we find that five GCs (B239, B144D, B260, B383, B495) can be accommodated by the \(R_\mathrm{h}=ct\) universe at \(1\sigma \) confidence level but the other four GCs (B129, B024, B297D, B050) cannot. But the age estimates of some GCs are controversial. For example, the metallicities of B129, B024, B297D, and B050 measured by [24, 25] are higher than those of [48]. The values are significantly different. So the GCs ages derived by [24, 25] may be larger than the true ages. Due to the uncertainty of the age determination, we can claim that the \(R_\mathrm{h}=ct\) universe can marginally solve the cosmic age problem.

Fig. 1
figure 1

The blue line shows the evolution of cosmic age in the \(R_\mathrm{h}=ct\) universe using the best-fit value from SNe Ia and Hubble parameter; the red lines are the \(1\sigma \) deviation. The star is the old quasar APM 08279+5255. We can find the quasar is below the lines, which means the old quasar APM 08279+5255 is younger than the age of the \(R_\mathrm{h}=ct\) universe. The open circles are old galaxies data with \(1\sigma \) error taken from [50]. The inset shows the dispersion and data clearly

Fig. 2
figure 2

The blue line shows the cosmic age in the \(R_\mathrm{h}=ct\) using the best-fit value from SNe Ia and the Hubble parameter, the red lines are for the \(1\sigma \) deviation. The red circles are the nine extremely old GCs and this also gives the error of their age

4 Testing other models

In order to compare with the \(R_\mathrm{h}=ct\) universe, we also investigate some other models. The theoretical luminosity distance is

$$\begin{aligned} d_\mathrm{L}=c(1+z)\int ^z_0 \frac{\mathrm{d}\tilde{z}}{H(\tilde{z})}, \end{aligned}$$
(12)

where \(H(z)\) is the Hubble parameter. Then we can use Eq. (7) to get the distance modulus. But the SNe Ia data should be re-optimized for each model except the \(\Lambda \)CDM model, which needs lots of work. So, like previous literature, we just use the SNe Ia data based on the \(\Lambda \)CDM model. The 19 model-independent Hubble parameters chosen by [36] are also used.

4.1 \(\Lambda \)CDM model

The Hubble parameter in the flat \(\Lambda \)CDM model is

$$\begin{aligned} H(z)=H_0\sqrt{\Omega _\mathrm{m}(1+z)^3 + (1-\Omega _\mathrm{m})}. \end{aligned}$$
(13)

Using the same method as that used in the \(R_\mathrm{h}=ct\) model, we find that the best-fit Hubble constant value is \(H_0 = 69.93 \pm 0.50\,\mathrm{km}\,\mathrm{s}^{-1}\,\mathrm{Mpc}^{-1}\) and the best-fit \(\Omega _\mathrm{m}\) value is \(\Omega _\mathrm{m}=0.28 \pm 0.02\). Panel (a) of Fig. 3 shows the constraints on the \(h\)\(\Omega _\mathrm{m}\) plane at \(1\sigma \), \(2\sigma \), and \(3\sigma \) confidence levels. The blue line and the two red lines represent the age of that old quasar APM 08279+5255 and \(1\sigma \) error, respectively. From Fig. 3 we can see that the \(\Lambda \)CDM model cannot accommodate the old quasar APM 08279+5255. From Eq. (10), we can find that the age of the local universe, which means \(z=0\), is \(t_0=13.71^{+0.30}_{-0.28}\mathrm{\,Gyr}\). From Fig. 4, which is similar to Fig. 2, we can also find that there are only five GCs (B239, B144D, B260, B383, B495) that can be accommodated by the \(\Lambda \)CDM universe at \(1\sigma \) confidence level.

Fig. 3
figure 3

Contour plot for the \(\Lambda \mathrm{CDM}\) model, I\(\Lambda \)CDM model, the GCG model, and the holographic dark energy model, respectively. The ellipses represent confidence intervals from \(1\sigma \) to \(3\sigma \) and the blue star means the optimal value. The blue line represents that the age of universe at \(z=3.91\) is 2.1 Gyr and the two red lines represent the \(1\sigma \) error \(\pm 0.3\) Gyr. The arrowhead points to the allowed region

Fig. 4
figure 4

Similar to Fig. 2 but for the \( \Lambda \,\mathrm{CDM}\) model, the I\(\Lambda \)CDM model, the generalized Chaplygin gas model, and the holographic dark energy model, respectively

4.2 Interacting dark energy model

In [12], they introduce three interacting dark energy models. We take the first one called I\(\Lambda \)CDM as an example. For a flat universe, the Hubble parameter in this model is

$$\begin{aligned} H(z)=H_0\sqrt{\frac{\Omega _\mathrm{m}}{1-\alpha }(1+z)^{3(1-\alpha )}+\left( 1-\frac{\Omega _\mathrm{m}}{1-\alpha }\right) }, \end{aligned}$$
(14)

where the \(\alpha \) is a parameter denoting the strength of interaction. The best-fit values are \(H_0 \!=\! 69.95 \pm 0.50\, \mathrm{km}\,\mathrm{s}^{-1}\,\mathrm{Mpc}^{-1}\), \(\Omega _\mathrm{m}=0.28 \pm 0.03\) and \(\alpha = -0.01\). From Panel (b) of Fig. 3, we can see that the I\(\Lambda \)CDM cannot accommodate the old quasar APM 08279+5255. From Eq. (10), we can find that the age of the local universe is \(t_0=13.62^{+0.31}_{-0.27}\mathrm{Gyr}\). From Fig. 4, we can also find that there are only four GCs (B239, B144D, B260, B383) that can be accommodated by the I\(\Lambda \)CDM universe at \(1\sigma \) confidence level.

4.3 Generalized Chaplygin gas model

For the generalized Chaplygin gas (GCG) model, one has [17, 18]:

$$\begin{aligned}&H(z)\nonumber \\&\quad =H_0 \sqrt{\Omega _\mathrm{b}(1+z)^3 + (1-\Omega _\mathrm{b})[A_s\!+\!(1-A_s)(1+z)^{3(1+\alpha )}]^{\frac{1}{1+\alpha }}},\nonumber \\ \end{aligned}$$
(15)

where \(\Omega _\mathrm{b}\) is the energy density of baryon matter, and \(A_s\) and \(\alpha \) are model parameters. The best-fit parameters are \(H_0 = 70.07 \pm 0.35\, \mathrm{km}\,\mathrm{s}^{-1}\,\mathrm{Mpc}^{-1}\), \(A_s=0.78\pm 0.05\), and \(\alpha =0.17 \pm 0.38\). From panel (c) of Fig. 3, we can see that the age of the old quasar APM 08279+5255 is in tension (over the \(2\sigma \) confidence level) with the age of universe for GCG model. A similar result is also found by [18]. From Eq. (10), we can find that the age of the local universe is \(t_0=13.73^{+0.38}_{-0.62}\,\mathrm{Gyr}\). From Fig. 4, we can also find that there are only five GCs (B239, B144D, B260, B383, B495) that can be accommodated by the GCG model at \(1\sigma \) confidence level.

4.4 Holographic dark energy model

We will test the holographic dark energy model in this section. The Hubble parameter in this model is [49]

$$\begin{aligned} H(z)=H_0\sqrt{\frac{\Omega _{m_0}(1+z)^3}{1-\Omega _{ \Lambda }}}, \end{aligned}$$
(16)

where \(\Omega _\mathrm{{m}_0}\) is the matter density at present and \(\Omega _{\Lambda }\) is the energy density of the dark energy at redshift \(z\), which can be calculated by

$$\begin{aligned} \ln {\Omega _{\Lambda }}&-\frac{d}{2+d}\ln {(1-\sqrt{\Omega _{ \Lambda }})}+\frac{d}{2-d}\ln {(1+\sqrt{\Omega _{\Lambda }})},\nonumber \\&-\frac{8}{4-d^2}\ln {(d+2\sqrt{\Omega _{\Lambda }})}=-\ln (1+z)+y_0, \end{aligned}$$
(17)

where \(d\) is a free parameter and \(y_0\) is a constant which can be calculated by Eq. (17) with \(z=0\) and \(\Omega _{ \Lambda }=1-\Omega _\mathrm{m_0}\). The best-fit parameters are \(H_0 = 70.13 \pm 0.51\, \mathrm{km}\,\mathrm{s}^{-1}\,\mathrm{Mpc}^{-1}\), \(\Omega _\mathrm{m_0}=0.27 \pm 0.02\) and \(d=0.81 \pm 0.05\). From panel (d) of Fig. 3, we can see that the holographic dark energy model cannot accommodate the old quasar APM 08279+5255. From Eq. (10), we can find that the age of the local universe is \(t_0=13.65^{+0.27}_{-0.26}\,\mathrm{Gyr}\). From Fig. 4, we can also find that there are only four GCs (B239, B144D, B260, B383) that can be accommodated by the holographic dark energy model at \(1\sigma \) confidence level.

5 Conclusions

In this paper, we test the cosmic age problem in several cosmological models by using nine extremely old GCs in M31 and the old quasar APM 08279+5255. We find that the best-fit value of the Hubble constant in the \(R_\mathrm{h}=ct\) universe is \(H_0 = 70.01 \pm 0.40\, \mathrm{km}\,\mathrm{s}^{-1} \mathrm{Mpc}^{-1}\) at \(1\sigma \) confidence level by using the SNe Ia data. In this case, the age of the local \(R_\mathrm{h}=ct\) universe \(t_0 = 13.97 \pm 0.08~\mathrm{Gyr}\). If we fit the \(R_\mathrm{h}=ct\) universe with the SNe Ia and \(H(z)\) data, the Hubble constant is \(H_0 = 69.83 \pm 0.40\,\mathrm{km}\,\mathrm{s}^{-1}\,\mathrm{Mpc}^{-1}\) at the \(1\sigma \) confidence level. The age of the local universe is \(t_0 = 14.01 \pm 0.08\) Gyr. From Fig. 1, we find that the \(R_\mathrm{h}=ct\) universe can accommodate the old quasar APM 08279+5255 at more than 3\(\sigma \) confidence level. From Fig. 2, we find that there are five GCs (B239, B144D, B260, B383, B495) that can be accommodated by the \(R_\mathrm{h}=ct\) universe at \(1\sigma \) confidence level. But the age estimates of some GCs are controversial. For example, the metallicities of B129, B024, B297D, and B050 measured by [24, 25] and [48] are significantly different. So the derived ages are different. Due to the uncertainty of the age determination, we can claim that the \(R_\mathrm{h}=ct\) universe can marginally solve the cosmic age problem.

Using the same method, we also test some other cosmological models, such as \(\Lambda \)CDM, the interacting dark energy model, the generalized Chaplygin gas model, and the holographic dark energy model. In Sect. 4, we show that these models cannot accommodate all nine old GCs in M31. Meanwhile, for the old quasar APM 08279+5255 at \(z=3.91\), the \(R_\mathrm{h}=ct\) model can accommodate it at more than \(3\sigma \) confidence level. But these models cannot accommodate it. The generalized Chaplygin gas model is in tension (over the \(2\sigma \) confidence level) with the age of APM 08279+5255. So the \(R_\mathrm{h}=ct\) universe can marginally solve the cosmic age problem, especially at high redshift.