1 Introduction

In 1965, Robert Wilson and Arno Penzias made the significant discovery of cosmic microwave background (CMB) radiation, nearly uniform radiation found in all directions [1]. Several studies have provided a detailed history of the cosmic microwave background radiation’s prediction and detection [2,3,4,5]. The detection of CMB radiation marks a crucial milestone in the Big Bang model of the universe, as it offers a compelling explanation for the remnants from the early cosmos. The presence of this radiation must be considered in all proposed universe models, making the cosmic microwave background an essential tool for precise cosmological measurements [6, 7]. The COBE satellite has played a pivotal role in advancing the field of cosmology by achieving remarkable accomplishments [8,9,10,11].

In the context of the early universe, non-extensive statistics have been considered a possible framework to describe the thermodynamic properties of the universe during certain phases. The concept of non-extensive statistics, proposed by physicist Constantino Tsallis, suggests a generalisation of the standard Boltzmann-Gibbs statistics, which describes systems with long-range interactions and non-additive entropy [12,13,14]. Till now, researchers have used non-extensive thermostatics to explore a range of physical systems, including two-dimensional turbulence, linear response theory, the solar neutrino problem, and the characteristics of black holes [15,16,17,18,19,20]. Also, non-extensive statistical mechanics have been applied to the CMB spectrum for the investigation of modification of dipole anisotropy and S-Z effect [21].

Departures from the ideal conditions in the early universe left their imprints in the cosmic microwave background radiation, which are observed as tiny anisotropies in an otherwise isotropic radiation. The standard cosmological theory suggests that the origin of these fluctuations is the underlying gravitational inhomogeneities. This gravitational interaction results in a non-extensive situation because of the divergence in the partition function [22]. Hence, studying the CMB temperature and its fluctuations within a non-extensive framework is better suited. Here, we use Tsallis statistics with the index ‘q’. As pointed out in [23], \(|\text{q}-1|\) has a tight constraint of \({10}^{-5}\). This sets our goal to compute the relative differences of the models by varying ‘q’.

Here, to investigate the parameters of CMB radiation, we used the data sets of COBE/FIRAS, which reflects the relationship between the frequency and intensity of the CMB spectrum [24]. This paper aims to calculate the parameters (i.e., temperature and uncertainty) of CMB radiation within the framework of non-extensive statistical mechanics, employing the formulation of blackbody radiation inversion (we used the concept of mixing black bodies [25]). An essential aspect of this research involves comparing the results obtained using two different ways of analysing statistics: extensive (q = 1) and non-extensive (q ≠ 1) cases. q is the non-extensive index. This comparison aims to understand the deviation of results from standard Boltzmann statistics (q = 1). The solution to the blackbody radiation inversion (BRI) problem involves comparing the observed radiation spectrum (COBE/FIRAS data) of an object with the theoretical spectrum (our approach) of black bodies at different temperatures. The process of solving the blackbody radiation inversion problem is explained in detail in Sect. 2.

We have investigated three cases: (i) generalised energy density per unit frequency [26], (ii) generalised Planck’s radiation law by C. Tsallis [27], and (iii) Standard Planck’s law (q = 1). These two formulas are fitted to experimental data [24] to find the value of q, T and the best-fit value of q is used for further calculation. Here, we took two non-extensive cases, i.e., different q values. Additionally, we reconstruct the intensity of the CMB spectrum evidencing our methodology. The Probability distribution functions for q = 1 (i.e., Boltzmann-Gibbs’s statistics) and q  1 are compared.

This paper is comprised of five sections. Section 2 represents the methodology for calculating the best-fit value of the q, T from two different generalised Planck’s formula and application of the BRI technique, Sect. 3 represents the results, Sect. 4 reflects the comparison of all the probability values, and Sect. 5 compromises the discussion of results.

2 Methodology

We have investigated the monopole temperature and fluctuation in temperature of CMB for three cases: (a) For generalised Planck’s law in terms of energy density (we have calculated the intensity from energy density using I = \(\frac{\text{U}\times \text{c}}{4{\uppi }}\); c is the velocity of light), (b) non-extensive Intensity formula for Planck’s distribution by C. Tsallis, and (c) for Planck’s law (q = 1).

Curve fitting is a commonly used method for finding a mathematical function closely matching a given dataset. This technique can be applied in various situations, such as determining the overall pattern in collected data, isolating data from noisy backgrounds, and extracting specific parameters from the curve. In our case, we focus on the third application mentioned. By choosing q, T (CMB monopole temperature) as an unknown parameter and using the experimental data from the source [24], we calculate the value of q, T as the best-fit parameter by fitting Eqs. (1) and (2) as the mathematical function. The obtained fit is depicted in Figs. 1 and 2, respectively. The value of q will be used in further calculations.

2.1 Determining the best-fit values for q and T

In this section, we analyse the data obtained from the COBE satellite and compare it to the modified generalised intensity equation within the framework of non-extensive thermostatics [26]. The experimental data used for this analysis can be found on the NASA website [24]. The main objective of this analysis is to determine the best-fit values for q and T that provide the best fit.

The generalised energy density for unit frequency is given as (refer to Eq. 26 of reference [26]).

$$U(v,\,q,\,T)=\frac{8\pi{hv}^3q}{c^3}\frac{e^{(2q-1)\frac{hv}{kT}}- e^{(q-1)\frac{hv}{KT}}}{\left\{e^{(2q-1)\frac{hv}{KT}}-1\right\}^2}$$
(1)

From Eq. (1) the spectral radiance can be written as.

$$I_1(v,\,q,\,T)=\frac{2hv^3q}{c^2}\frac{e^{(2q-1)\frac{hv}{kT}}- e^{(q-1)\frac{hv}{KT}}}{\left\{e^{(2q-1)\frac{hv}{KT}}-1\right\}^2}$$
(2)

where h is Planck’s constant, ν is the frequency, k is the Boltzmann constant, T is the temperature of CMB, q is the non-extensivity parameter (entropy index), and \({\text{I}}_{1}\) is the spectral radiance. The parameter ‘q’ in the context of Tsallis statistics plays a crucial role in characterising the departure from classical statistical mechanics, particularly the Boltzmann-Gibbs statistics.

Fig. 1
figure 1

Fitting Eq. 2 with experimental data with error bars(1σ) is shown. The value of χ2/dof = 56.99/41 = 1.39 (95% confidence level) offers a good fitting. The fitting value of q is found to be 0.99888 ± 0.00016. The value of T found from best fit is T = (2.72223 ± 0.00076) K consistent with the literature (i.e., T = 2.72548 ± 0.00057) [28]

Above Fig. 1 exhibits an exceptional agreement with the COBE/FIRAS outcome, indicated by a favourable χ2/dof value of approximately 1 and a T value consistent with the literature. This motivates us to explore a more coherent scenario by considering a non-extensive formulation of Planck’s distribution, represented by Eq. 5. Dof refers to the degrees of freedom. The degrees of freedom depend on the number of parameters we are estimating in a model. In our case, we are estimating q and T by fitting an equation to the original COBE data. Since the original dataset consists of 43 data points, so there are 41 degrees of freedom.

The expression for photon density per unit volume was originally introduced by Tsallis in 1995 within the framework of non-extensive statistics (refer to Eq. 15 of reference [27]). This formula generalises Planck’s law for blackbody radiation by incorporating the parameter q, which characterises non-extensive behaviour. It can be represented as

$${\text{D}}_{\text{q}}\left({\upnu }\right) \sim {\text{D}}_{\text{P}\text{l}\text{a}\text{n}\text{c}\text{k}}\left({\upnu }\right){(1-{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}})}^{q-1}\left[ 1+(1-\text{q})\frac{\text{h}{\upnu }}{\text{k}\text{T}}\left\{ \frac{1+{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}}- \frac{\frac{\text{h}{\upnu }}{\text{k}\text{T}}}{2} \frac{1+3{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{{\left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}\right)}^{2}}\right\}\right]$$
(3)

In subsequent work by Biyajima et al. in 2012 [29], energy density for Planck’s radiation was derived from Eq. 3 in the non-extensive framework. For \(\left|\text{q}-1\right|\ll 1\) for energy density per unit frequency can be approximated as

$${\text{U}\left({\upnu }, \text{q}, \text{T}\right)=\text{U}}_{\text{P}\text{l}\text{a}\text{n}\text{c}\text{k}}\left({\upnu }, \text{T}\right)+ \frac{8{\uppi }\text{h}{{\upnu }}^{3}}{{c}^{3}} \frac{q-1}{{\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-1}\left\{\text{l}\text{n} \left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}\right)- \frac{\text{h}{\upnu }}{\text{k}\text{T}} \frac{1+{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}} + \frac{{\left(\frac{\text{h}{\upnu }}{\text{k}\text{T}}\right)}^{2}}{2} \frac{1+3{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{{\left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}\right)}^{2}}\right\}$$
(4)

Where \({U}_{Planck}\left(\nu , T\right)= \frac{8{\uppi }\text{h}{{\upnu }}^{3}}{{c}^{3}} \frac{1}{{\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-1}\)

From Eq. 4 the spectral radiance can be written as.

$$I_2(v,\,q,\,T)=\frac{2hv^3}{c^2}\frac{1}{{\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-1}\left[ 1+(\text{q}-1)\left\{\text{l}\text{n} \left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}\right)- \frac{\text{h}{\upnu }}{\text{k}\text{T}} \frac{1+{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}} + \frac{{\left(\frac{\text{h}{\upnu }}{\text{k}\text{T}}\right)}^{2}}{2} \frac{1+3{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{{\left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}\right)}^{2}}\right\}\right]$$
(5)

The fitting shows the Eq. 5 to the COBE/FIRAS data shown in Fig. 2.

Fig. 2
figure 2

Fitting of Eq. 5 with experimental data is shown. The value of χ2/dof = 60.27/41 = 1.47 and the value of T shows a good fitting. The fitting value of q is found to be 1.00012 ± 0.00001

2.2 Application of the BRI technique to find the mean temperature and spreading using the best-fit value of q

2.2.1 For Eq. 2 (q = 0.99888)

Blackbody radiation refers to the electromagnetic radiation emitted by an idealised object known as a blackbody. A blackbody is an object that absorbs all incident radiation and emits radiation at all wavelengths according to its temperature. The spectral radiance of a blackbody is described by Planck’s law, which relates the temperature of the blackbody to the intensity of radiation emitted at different frequencies [30, 31]. Here, we have considered the generalised Planck’s law, which includes q (i.e., entropy index different from unity). So, from Eq. 2, we can write a dimensionless parameter G1(ν) = \(\frac{{\text{c}}^{2}}{2\text{h}{{\upnu }}^{3}}\)\({\text{I}}_{1}\)(ν) as in Eq. 6 (for mathematical simplicity).

$$G_1(v)=\frac{e^{(2q-1)\frac{hv}{kT}}- e^{(q-1)\frac{hv}{KT}}}{\left\{e^{(2q-1)\frac{hv}{KT}}-1\right\}^2}$$
(6)

Typically, telescopes are employed to measure the power spectrum of celestial objects. However, telescopes have a limited field of view, allowing them to observe only a tiny section of the sky at a given time. These observed sections consist of various blackbody radiators, each with temperature (T), all in thermal equilibrium. When considering a collection of blackbodies with a probability distribution, say α(T) (for different cases we have mentioned as α1(T), α2(T), α3(T)), the total power radiated per unit area can be determined by integrating over the temperature distribution as,

$$G_1(v)=\int\limits_0^\infty\frac{e^{(2q-1)\frac{hv}{kT}}- e^{(q-1)\frac{hv}{KT}}}{\left\{e^{(2q-1)\frac{hv}{KT}}-1\right\}^2}\alpha_1(T)\,dT$$
(7)

Equation (7) is a Fredholm integral equation known as an ill-posed problem. Ill-posed ness refers to the instability of the result for tiny fluctuation in the input parameters. Historically, multiple methods have been employed to solve such integrals, which involve Laplace transform by Bojarski [32], Tikhonov regularisation method [33], universal function set method [34], Mellin transform set method [35], the modified Mobius inverse formula [36], maximum entropy method [37], regularised GMRES method [38] and Bernstein polynomials [39] among many. One common problem with these methods is the number of required data points for a stable inversion, which is 50 in the reference 32,36 and 37 in the reference. The literature presents one way to circumvent this requirement while producing a stable solution [40]. It assumes a probability distribution with unknown parameters, which can be calculated using the spectral data. The authors have shown how this approach can reproduce the input data robustly. The choice of the function is further modified in the paper [41], with a Gaussian distribution function resulting in tighter constraints of CMB spectral distortions. Although the initially chosen functions are different in these studies, the final functions converge to a Gaussian, which is to be expected, assuming the data are instances of a random distribution. In this research paper, a simple approach for blackbody radiation inversion, which relies on only three input data points, has been applied. Moreover, this method boasts a smaller program size compared to previous methods. Consequently, the current blackbody radiation inversion technique significantly reduces the overall program’s complexity.

In Eq. 7, the total integral over space is taken. Referring to earlier experimental data [28], the cosmic microwave background (CMB) spectrum exhibits similarities to that of a blackbody spectrum characterised by a temperature of (2.72548 ± 0.00057) K. The full width at a tenth of the maximum (FWTM) for a Gaussian distribution is 4.29193 z (z is the standard deviation). For a reasonable choice of z = 0.8 and T = 2.72548 K; \({\text{T}}_{1}\)= 2.72548 - \(\frac{1}{2}\) × 0.8 × 4.29193 = 1.008 K and \({\text{T}}_{2}\)= 2.72548 + \(\frac{1}{2}\) × 0.8 × 4.29193 = 4.442 K. So, it’s reasonable to choose the limit from 1 K to 6 K for considering beyond 1z. The limits in the integration correspond to the temperature distribution width for a tenth of maxima in the probability distribution. The contribution from the probability distribution function beyond these points is negligible and not considered. Furthermore, for clarification, we have checked the variation of results for different T1 and T2 in the later section.

$$So,\,G_{1}(v)=\underset{{\text{T}}_{1}}{\overset{{\text{T}}_{2}}{\int }}\frac{{\text{e}}^{(2\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-{\text{e}}^{(\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}\text{T}}}}{{\left\{{\text{e}}^{(2\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-1\right\}}^{2}}\alpha_{1}(T)\,dT$$
(8)

To solve this Fredholm equation of the second kind, we need to employ a change of variable [39], T = T1 + (T2 -T1) t. The newly introduced variable ‘t’ falls within the range of values from 0 to 1. The value of ‘t’ in terms of ‘T’ is t = \(\frac{\text{T}-{\text{T}}_{1}}{{\text{T}}_{2}-{\text{T}}_{1}}\) = \(\frac{\text{T}-1}{5}\). The value of q used here is obtained from fitting (Fig. 1), i.e., 0.99888.

$$G_{1}(v)=(T_{2}-T_{1})\underset{0}{\overset{1}{\int }}\frac{{\text{e}}^{(2\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}({{\text{T}}_{1}} + ({{\text{T}}_{2}} -{{\text{T}}_{1}}\left) \text{t}\right)}}-{\text{e}}^{(\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}({{\text{T}}_{1}} + ({{\text{T}}_{2}} -{{\text{T}}_{1}}\left) \text{t}\right)}}}{{\left\{{\text{e}}^{(2\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}({{\text{T}}_{1}} + ({{\text{T}}_{2}} -{{\text{T}}_{1}}\left) \text{t}\right)}}-1\right\}}^{2}}\alpha_{1}(T_{1}+(T_{2}-T_{1})\,t)\,dT$$
(9)

We now assume an analytical Gaussian function w(t) = α (T1 + (T2 -T1) t) = \({\text{x}.\text{e}}^{-\left(\frac{{(\text{t}-\text{y})}^{2}}{{\text{r}}^{2}}\right)}\). Here ‘x’ denotes the overall amplitude, ‘y’ represents the peak position of the Gaussian function and ‘r’ indicates the full width at half maximum. The chosen function w(t) is used in the literature [41] and validated for standard extensive case (q = 1). We will continue our work employing the identical function for non-extensive case. Employing w(t) in Eq. (9) it becomes,

$$G_{1}(v)=(T_{2}-T_{1})\underset{0}{\overset{1}{\int }}\frac{{\text{e}}^{(2\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}({{\text{T}}_{1}} + ({{\text{T}}_{2}} -{{\text{T}}_{1}}\left) \text{t}\right)}}-{\text{e}}^{(\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}({{\text{T}}_{1}} + ({{\text{T}}_{2}} -{{\text{T}}_{1}}\left) \text{t}\right)}}}{\{{{\text{e}}^{(2\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}({{\text{T}}_{1}} + ({{\text{T}}_{2}} -{{\text{T}}_{1}}\left) \text{t}\right)}}-1\}}^{2}}x.e^-(\frac{(t-y)^2}{r^2})\,dt$$
(10)

Our objective is to determine the distribution α1(T); therefore, the probability function is expressed in terms of ‘T’. w(t) can be rewritten in terms of ‘T’ as follows:

$$w(T)={\text{x}.\text{e}}^{-\left(\frac{{\left(\right(\frac{\text{T}-1}{5})-\text{y})}^{2}}{{\text{r}}^{2}}\right)}$$
(11)

The experimental value of G(ν) can be calculated using Eq. 12 (for subsections 2. b. i, 2. b. ii, 2. b. iii, it will be \({\text{G}}_{1}\) (ν), \({\text{G}}_{2}\) (ν), \({\text{G}}_{3}\) (ν), respectively). The experimental values of \({\text{I}}_{monopole}\) are given [24].

$$G(v)=\frac{{\text{c}}^{2}}{2\text{h}{{\upnu }}^{3}} {\text{I}}_{monopole}$$
(12)

Taking Eq. (10) into the left-hand side and using the calculated \({\text{G}}_{1}\)(ν) from Eq. (12) on the right-hand side, a set of three equations is derived for a corresponding set of three frequencies. These equations are then mathematically simulated, determining x, y, and r values. This process is repeated for another nine sets of frequencies, and the obtained values are organised in a table. The calculated x, y, and r values are plugged into Eq. (11), leading to the generation of ten probability distributions (pdf) of temperature (for each set of frequencies). We have used more data sets (10 sets), ensuring comprehensive coverage over the entire frequency spectrum. All the calculated parameters are listed in Table 1.

Table 1 The values of x, y, r for different probability functions, each denoted by symbols as a1(T),a2(T),a3(T),a4(T),a5(T),a6(T),a7(T),a8(T),a9(T),a10(T) is given. Each corresponds to distinct frequency sets
$$\text{Y}\left(\text{T}\right)=\frac{\sum {\text{a}}_{\text{i}}\left(\text{T}\right)}{10}$$
(13)

Y(T) is the average of all probability distribution functions. Figure 3 below shows a plot of Y(T) against temperature.

Fig. 3
figure 3

Y(T) versus temperature is shown. To enhance the clarity of the graph, the x-axis scale is taken from 2.5 K to 3.0 K

2.2.2 For Eq. 5 {q = 1.00012 (Tsallis Formula)}

We delve deeper into a more coherent scenario by examining a non-extensive formulation of Planck’s distribution, as expressed by Eq. 5. Here, we will apply the BRI technique to find the probability distribution function of temperature. The q value used for calculation is found from fitting in Fig. 2, i.e., q = 1.00012.

Equation 5 can be written in terms of dimensionless parameter \({\text{G}}_{2}(v)=\frac{c^2}{2hv^3}I_{2}(v)\)

$${\text{G}}_{2}\left({\upnu }\right) = \frac{1}{{\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-1}\left[ 1+(\text{q}-1)\left\{\text{l}\text{n} \left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}\right)- \frac{\text{h}{\upnu }}{\text{k}\text{T}} \frac{1+{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}} + \frac{{\left(\frac{\text{h}{\upnu }}{\text{k}\text{T}}\right)}^{2}}{2} \frac{1+3{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{{\left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}\right)}^{2}}\right\}\right]$$
(14)

The same Blackbody Radiation Inversion (BRI) technique and methodology mentioned in subsection 2.b.i is utilised in this subsection. Hence, from Eq. 5, it is possible to compute a dimensionless parameter, \({\text{G}}_{2}\)(ν). This is to reduce the mathematical complexity. Additionally, by introducing \({{\upalpha }}_{2}\)(T) as the chosen probability distribution function (pdf) and integrating over the temperature range from T1 = 1 K to T2 = 6 K, along with employing a change in a variable, Eq. 14 can be expressed as follows.

$${\text{G}}_{2}\left({\upnu }\right)=\left({\text{T}}_{2}-{\text{T}}_{1}\right)\underset{0}{\overset{1}{\int }}\frac{1}{{\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}\left({\text{T}}_{1} + \left({\text{T}}_{2} -{\text{T}}_{1}\right)\text{t}\right)}}-1}\left[ 1+\left\{\text{l}\text{n} \left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\left({\text{T}}_{1} + \left({\text{T}}_{2} -{\text{T}}_{1}\right)\text{t}\right)}}\right)- \frac{\text{h}{\upnu }}{\text{k}\left({\text{T}}_{1} + \left({\text{T}}_{2} -{\text{T}}_{1}\right)\text{t}\right)} \frac{1+{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\left({\text{T}}_{1} + \left({\text{T}}_{2} -{\text{T}}_{1}\right)\text{t}\right)}} }{1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\left({\text{T}}_{1} + \left({\text{T}}_{2} -{\text{T}}_{1}\right)\text{t}\right)}}} + \frac{{\left(\frac{\text{h}{\upnu }}{\text{k}\left({\text{T}}_{1} + \left({\text{T}}_{2} -{\text{T}}_{1}\right)\text{t}\right)}\right)}^{2}}{2} \frac{1+3{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\left({\text{T}}_{1} + \left({\text{T}}_{2} -{\text{T}}_{1}\right)\text{t}\right)}} }{{\left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\left({\text{T}}_{1} + \left({\text{T}}_{2} -{\text{T}}_{1}\right)\text{t}\right)}}\right)}^{2}}\right\}\right]{{\upalpha }}_{2}\left({\text{T}}_{1} + \left({\text{T}}_{2} -{\text{T}}_{1}\right)\text{t}\right) \text{d}\text{t}$$
(15)

Now, introducing our chosen Gaussian function w(t) in the place of \({{\upalpha }}_{2}({\text{T}}_{1} + ({\text{T}}_{2} -{\text{T}}_{1}\left)\text{t}\right)\), we can find the value of pdf. By substituting Eq. (15) into the L.H.S. and using the calculated G(ν) from Eq. (12) R.H.S., a set of three equations is derived for a corresponding set of three frequencies. These equations are then computed, and the values for x, y, and r, are determined. This process is repeated for another nine sets of frequencies, and the obtained values are listed in Table 2. For each set of frequencies, the calculated x, y, and r values are plugged into Eq. (11), leading to the generation of ten probability distributions of temperature.

Table 2 Values and notations for various probability functions, which correspond to multiple sets of frequencies, are given
$$\text{B}\left(\text{T}\right)=\frac{\sum {\text{b}}_{\text{i}}\left(\text{T}\right)}{10}$$
(16)

B(T) is the average of all probability distribution functions. The following Fig. 4 illustrates the average function B(T) against temperature.

Fig. 4
figure 4

B(T) versus temperature is shown. To enhance the clarity of the graph, the x-axis scale is taken from 2.5 K to 3.0 K

2.2.3 Putting q = 1 in Eq. 1 or 2

In the preceding Sect. (2.2.1 and 2.2.2), we employ the methodology of blackbody radiation inversion to find the average probability distribution of temperature. Now, in this section, we aim to evaluate the find the average probability distribution of temperature through the approach of extensive statistics. We set the parameter q equal to 1 in Eq. 1 or 2 to achieve this. When we substitute this value into either Eq. 1 or 2, the expressions take the following form:

$${\text{I}}_{3}\left({\upnu }\right) = \frac{2\text{h}{{\upnu }}^{3}}{{\text{c}}^{2}} \frac{1}{\left({\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-1 \right)}$$
(17)

Applying the BRI approach (Mentioned in detail in Sect. 2.2.1 and 2.2.2) we get the integral equation as,

$${\text{G}}_{3}\left({\upnu }\right) = \left({\text{T}}_{2}-{\text{T}}_{1}\right) {\int }_{0}^{1}\frac{{{\upalpha }}_{3}({\text{T}}_{1} + ({\text{T}}_{2} -{\text{T}}_{1}\left)\text{t}\right))}{\left({\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}({\text{T}}_{1} + ({\text{T}}_{2} -{\text{T}}_{1}\left)\text{t}\right)}}-1 \right)} \text{d}\text{t}$$
(18)

In this approach, the defined Gaussian function denoted as w(t) = α (T1 + (T2 -T1) t) = \({\text{x}.\text{e}}^{-\left(\frac{{(\text{t}-\text{y})}^{2}}{{\text{r}}^{2}}\right)}\) is substituted for α3 in Eq. 18. It becomes,

$${\text{G}}_{3}\left({\upnu }\right) = \left({\text{T}}_{2}-{\text{T}}_{1}\right) {\int }_{0}^{1}\frac{{\text{x}.\text{e}}^{-\left(\frac{{(\text{t}-\text{y})}^{2}}{{\text{r}}^{2}}\right)} }{\left({\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}({\text{T}}_{1} + ({\text{T}}_{2} -{\text{T}}_{1}\left)\text{t}\right)}}-1 \right)} \text{d}\text{t}$$
(19)

This helps determine the probability distribution function. By plugging this substitution into Eq. 19 and equating it to a precomputed value of G(ν) = \(\frac{{\text{c}}^{2}}{2\text{h}{{\upnu }}^{3}} {\text{I}}_{monopole}\) in Eq. 12, a set of three equations is derived for three frequencies. These equations are then solved through mathematical simulation to find values for parameters x, y, and r. The same process is repeated for another nine sets of three frequencies. Using these values, ten temperature probability distributions are generated using Eq. 11. All the values of x, y, and r, and the notation of pdfs are listed in Table 3.

Table 3 Values of x, y, r and notations for various probability functions are given. Each corresponds to a distinct set of frequencies

The average of the above probability distributions is denoted as X(T).

$$\text{X}\left(\text{T}\right)=\frac{\sum {\text{c}}_{\text{i}}\left(\text{T}\right)}{10}$$
(20)

The following Fig. 5 illustrates the average ten distinct probability functions.

Fig. 5
figure 5

X(T) vs. temperature is shown. To enhance the clarity of the graph, the x-axis scale is taken from 2.5 K to 3.0 K

3 Results

3.1 For Sect. 2.2.1

The Normalised probability distribution of temperature is given by,

$$\alpha_{1}(T)=\frac{1}{{\int }_{1}^{6}\text{Y}\left(\text{T}\right)\text{d}\text{T}}\times\,Y(T)=0.995\,\times\,Y(T)$$
(21)

The ‘mean normalised temperature’ and ‘spreading’ is given by.

$$T={\int }_{1}^{6}\text{T}.{{\upalpha }}_{1}\left(\text{T}\right)\text{d}\text{T} \cong 2.723 \text{K}$$
(22)
$$\alpha^{2}={\int }_{1}^{6}{\left(\text{T}-2.723 \right)}^{2} {{\upalpha }}_{1}\left(\text{T}\right) \text{d}\text{T}=1.412\times10^{-4}$$
(23)

Interpreting the spreading as uncertainty, the value of σ is calculated to be 0.012 K.

We used the calculated normalised α1(T) = 0.995 × Y(T) and T = 2.723 K in the following Eq. 24 to reconstruct the radiation intensity. This is to access the accuracy of our approach of solving BRI problem. Figure 6 compares the original spectrum data from COBE/FIRAS and the reconstructed data.

Fig. 6
figure 6

Illustrates the experimental and reconstructed intensities graphed against frequency. It demonstrates a significant similarity between the reconstructed and COBE/FIRAS datasets

$$I_{1}(v)=\frac{2\text{h}{{\upnu }}^{3}}{{\text{c}}^{2}}\underset{1}{\overset{6}{\int }}\frac{{\text{e}}^{(2\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-{\text{e}}^{(\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}\text{T}}}}{{\left\{{\text{e}}^{(2\text{q}-1)\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-1\right\}}^{2}}\times 0.995 \times \text{Y}\left(\text{T}\right)\text{d}\text{T}$$
(24)

The frequencies, along with the corresponding original and reconstructed intensities with corresponding uncertainties relevant to the above figure are enumerated in a table (refer Appendix 1).

$${{\upchi }}^{2}=\sum {{\text{w}}_{\text{i}} [{(\text{R}}_{\text{i}}-{\text{O}}_{\text{i}})]}^{2}$$
(25)

Equation 25, represented by χ2, is the sum of weighted squared differences between the reconstructed data points (\({\text{R}}_{\text{i}}\)) and the original data points (\({\text{O}}_{\text{i}}\)). The weights (\({\text{w}}_{\text{i}}\)) are determined by \(\frac{1}{{{\upsigma }}_{\text{i}}^{2}}\) on each data point.

The values of σi, denoting the errors/uncertainties in the data points, can be found in the referenced paper [11]. The reduced chi-square (χ2/dof), where dof represents the number of degrees of freedom, has been calculated to be 1.07 (calculated using data given in Appendix 1). Here the number of degrees of freedom is 43.

3.2 For Sect. 2.2.2

The Normalised probability distribution of temperature is denoted as \({{\upalpha }}_{2}\)(T).

$$\alpha_{2}(T)\frac{1}{{\int }_{1}^{6}\text{B}\left(\text{T}\right)\text{d}\text{T}}\times\,B(T)=0.995\times\,B(T)$$
(26)

The ‘first order moment’ or the ‘mean normalised temperature’ and second order moment’ or ‘spreading’ is calculated as

$$\text{T} ={\int }_{1}^{6}\text{T}. {{\upalpha }}_{2}\left(\text{T}\right)\text{d}\text{T} \cong 2.727 \text{K}$$
(27)
$$\alpha^{2}=0.995{\int }_{1}^{6}{\left(\text{T}-2.726 \right)}^{2} {{\upalpha }}_{2}\left(\text{T}\right) \text{d}\text{T}=3.691\times10^{-4}$$
(28)

Hence, σ (spreading in pdf of temperature) = 0.019 K.

By utilising the calculated \({{\upalpha }}_{2}\)(T) = 0.995 × B(T) and T = 2.727 K in the following Eq. 29, we reconstructed the radiation intensity. Figure 7 compares the original spectrum data from COBE/FIRAS and the reconstructed data.

Fig. 7
figure 7

Illustrates the experimental and reconstructed intensities (using Eq. 29) graphed against frequency. It demonstrates a significant similarity between the reconstructed and COBE/FIRAS datasets

$${\text{I}}_{2}\left({\upnu }\right)=\frac{2\text{h}{{\upnu }}^{3}}{{\text{c}}^{2}}\underset{1}{\overset{6}{\int }}\frac{1}{{\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-1}\left[ 1+\left\{\text{l}\text{n} \left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}\right)- \frac{\text{h}{\upnu }}{\text{k}\text{T}} \frac{1+{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}} + \frac{{\left(\frac{\text{h}{\upnu }}{\text{k}\text{T}}\right)}^{2}}{2} \frac{1+3{\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}} }{{\left(1- {\text{e}}^{\frac{-\text{h}{\upnu }}{\text{k}\text{T}}}\right)}^{2}}\right\}\right]\times 0.995 \times \text{B}\left(\text{T}\right)dT$$
(29)

Refer Appendix 2 for all the relevant data produced for Fig. 7. The reduced chi-square using Eq. 25 is calculated to be 1.07.

3.3 For Sect. 2.2.3

The normalised probability distribution of temperature is denoted as α3(T).

$$\alpha_{3}(T)\frac{1}{{\int }_{1}^{6}\text{X}\left(\text{T}\right)\text{d}\text{T}}\times\,X(T)=0.998\,\times\,X(T)$$
(30)

The ‘first order moment’ or the ‘mean normalised temperature’ and ‘second order moment’ or ‘spreading’ is calculated as.

$$T={\int }_{1}^{6}\text{T}. {{\upalpha }}_{3}\left(\text{T}\right) \text{d}\text{T} \cong 2.732 \text{K}$$
(31)
$$\alpha^{2}{\int }_{1}^{6}{\left(\text{T}-2.732 \right)}^{2} {{\upalpha }}_{3}\left(\text{T}\right) \text{d}\text{T}=1.844\times\,10^{-4}$$
(32)

From this, the uncertainty in temperature σ = 0.014 K.

By utilising the calculated \({{\upalpha }}_{3}\)(T) = 0.998 × X(T) and T = 2.732 K in the following Eq. 33, we reconstructed the radiation intensity. Figure 8 compares the original spectrum data from COBE/FIRAS and the reconstructed data.

Fig. 8
figure 8

Illustrates the experimental and reconstructed intensities graphed against frequency. It demonstrates a significant similarity between the reconstructed and COBE/FIRAS datasets. The reduced chi-square is calculated to be 1.07 using Eq. 25

$${\text{I}}_{3}\left({\upnu }\right) = \frac{2\text{h}{{\upnu }}^{3}}{{\text{c}}^{2}} {\int }_{1}^{6}\frac{0.998 \times \text{X}\left(\text{T}\right)}{\left({\text{e}}^{\frac{\text{h}{\upnu }}{\text{k}\text{T}}}-1 \right)} \text{d}\text{T}$$
(33)

All the relevant data for Fig. 8 is listed in Appendix 3.

The calculation of temperature and spreading for CMB monopole spectrum (using q = 1, i.e., standard Planck’s law) was done in the literature [40]. In that paper, the author used four distinct probability functions. Here, we have increased the number of probability functions, i.e., ten functions. Importantly, we have maintained consistent frequencies across all three cases (in Sect. 2.2.1, 2.2.2, and 2.2.3). This choice allows us to showcase the change in CMB temperature and its associated uncertainty. Furthermore, it’s noteworthy to mention that the results in reference [41] (T = 2.741 ± 0.018) K and in this work (2.732 ± 0.014) K are nearly consistent. Increasing the number of probability functions contributes to aligning the calculated temperature closer to the standard temperature, 2.72548 K.

We also incorporate experimental errors in Intensities (\({{\Delta }\text{I}}_{\text{m}\text{o}\text{n}\text{o}\text{p}\text{o}\text{l}\text{e}}\)) associated with these selected frequencies in Eq. 12 while calculating the temperature and its corresponding uncertainty. The values of errors (1σ) in intensity are given in NASA website [24] (also can refer appendices). Also, we can check the dependency of the result by varying the values of T1 and T2 within the range. All the values are listed below in Table 4.

Table 4 Variation in mean temperature and spreading with changing values of T1 and T2

The above table shows that if we vary the integral limits within the chosen range, the value of mean temperature and spreading do not change much. All the values are nearly equal. So, taking integral value from 1 K to 6 K is reasonable.

4 Comparison of the probability distribution of temperatures q = 1, q = 0.99888 ± 00016, q = 1.00012 ± 00001

In the preceding sections, we have calculated the probability distribution of temperature for three different models described by Eqs. (2), (5), and (17). Equations 2 and 5 characterise a blackbody spectrum with non-extensive statistics, and Eq. 17 characterises a blackbody spectrum with extensive thermostatics. The existence of a non-extensive nature in the CMB spectra has been concluded [42] with q = 1.045\(\pm\)0.005 using Wilkinson Microwave Anisotropy Probe (WMAP) data at 99% confidence level. Our study incorporates values of q = 0.99888 ± 00016 (\(\left|\text{q}-1\right|\) = \({10}^{-3}\)), q = 1.00012 ± 00001 (\(\left|\text{q}-1\right|\) = \({10}^{-4}\)), and q = 1 at 95% confidence level. A comparison among the corresponding probability distribution functions is shown in Fig. 9. The vertical axis is the normalised probability distribution with units of [\(\frac{1}{K}\)] while the horizontal axis is the temperature with units [K].

Fig. 9
figure 9

Normalized probability distributions of temperature for q = 1, q = 0.99888 and q = 1.00012 are shown. As the distributions are normalised, the relative height of the peaks denotes the relative probability, which is highest for q = 1

The figure illustrates that the mean value of all probability distributions is nearly the same. We have summarised our findings in Table 5.

Table 5 Summarized results of all the sections

The best-fit value of q ≈ 1. This suggests that the system exhibits behaviour close to extensivity. The uncertainties associated with the q values are very small, indicating a high level of confidence in the obtained results.

5 Discussion

Assuming that the CMB follows a perfect blackbody spectrum, the best-fit value of the temperature is observed as T = 2.725 K. Still, fluctuations \(\frac{{\Delta }\text{I}}{\text{I}}\) of the order of \({10}^{-5}\) indicates presence of µ and y distortions, whose values can be estimated using the COBE data and the lower/upper bounds are µ < \({10}^{-5}\) and y < \({10}^{-6}\) respectively according to fixsen et al. [11]. Mixing of blackbodies also leads to µ and y distortions and can be estimated by the formula µ = \(2.8 \times {\left(\frac{{\Delta }\text{T}}{\text{T}}\right)}^{2}\) and y = \(0.5 \times {\left(\frac{{\Delta }\text{T}}{\text{T}}\right)}^{2}\) [43]. Here, for q = 1, \(\frac{{\Delta }\text{T}}{\text{T}}\) is 0.0051. Hence µ = 7.2 × 10−5 and y = 1.3 × 10−5; which are close to the values as explained by fixsen et al. We calculate \(\left|\text{q}-1\right|={10}^{-3}\) and \(\left|\text{q}-1\right|={10}^{-4}\) for two cases by fitting COBE/FIRAS data with Eqs. 2 and 5, indicating departures from the extensive Planck blackbody law. While no formula for µ and y distortions using non-extensive Planck blackbodies in the literature, our analysis suggests that their values would be similar to those in the extensive case due to the similarity in \(\frac{{\Delta }\text{T}}{\text{T}}\). The value of \(\frac{{\Delta }\text{T}}{\text{T}}\) (= 0.0044 for q < 1) and (= 0.00696 for q > 1) are close to the extensive case and µ and y depends on \(\frac{{\Delta }\text{T}}{\text{T}}\). Therefore, the upper limits of µ and y from this study are expected to be approximately the same as in the extensive and Fixsen cases.