Introduction

A blackbody is an ideal object which can absorb all of the incident radiation of all frequency. The total power radiated per unit frequency per unit solid angle by a unit area of a blackbody emitter can be expressed by Planck’s law1,2

$${\text{P}}\left( \upnu \right) = \frac{{2{\text{h}}{\upnu ^3}}}{{{{\text{c}}^2}}}\frac{1}{{{{\text{e}}^{\frac{{{\text{h}}\upnu }}{{{\text{kT}}}}}} - 1}}$$
(1)

where ν is frequency, T is the absolute temperature, h is Planck’s constant, k is Boltzmann’s constant and c is the speed of light. Usually telescopes are used to measure this power spectrum of any celestial object. But due to its finite field of view a telescope can observe a small portion of the sky at any time. These small portions consist of different blackbody radiators with different temperature T and each of them are in thermal equilibrium. When a collection of blackbodies with probability distribution \({\upalpha }\left( {\text{T}} \right)\) and temperature T is considered, the total radiated power per unit area is given by the integration over the distribution as3

$${\text{W}}\left( \upnu \right) = \frac{{2{\text{h}}{\upnu ^3}}}{{{{\text{c}}^2}}}\int\limits_0^\infty {\frac{{\upalpha \left( {\text{T}} \right)}}{{{{\text{e}}^{\frac{{{\text{h}}\upnu }}{{{\text{kT}}}}}} - 1}}{\text{dT}}}$$
(2)

where W(ν) is the radiated power per unit frequency per unit area and per unit solid angle and \({\upalpha }\)(T) is the probability distribution of temperature of the blackbody. The dimension of \({\upalpha }\)(T) is \(\frac{1}{{\text{K}}}\).

The blackbody radiation inversion problem aims to find the probability distribution of temperature from the radiated power spectrum.

In practice, a set of discrete values of W(ν) are available experimentally. By using this set of data, \({\upalpha }\)(T) can be calculated by blackbody inversion method.

For mathematical convenience, a dimensionless parameter G(ν) = \(\frac{{c^{2} }}{{2h{\upnu }^{3} }}\) W(ν) is used.

$${\text{G}}\left( \upnu \right) = \int\limits_0^\infty {\frac{{\upalpha \left( {\text{T}} \right)}}{{{{\text{e}}^{\frac{{{\text{h}}\upnu }}{{{\text{kT}}}}}} - 1}}{\text{dT}}}$$
(3)

Equation (3) is the first kind of Fredholm integral equation and is an ill-posed problem. Bojarski was the first to propose a solution to this problem using Laplace transform with an iterative process4. Since then various other methods have been proposed for solving this problem like Tikonov regularization method5, universal function set method6, Mellin transform method7, modified Mobius inverse formula8, variational expectation maximization method9, maximum entropy method10, regularised GMRES method11. There are also several other methods available in literature as solutions to this problem12,13,14,15.

However, the required number of input data is large in the existing method. The number of data points required for successful inversion is 50 in6, 50 in11 and 32 in15. In this paper, a simple and robust method for blackbody radiation inversion is developed which uses 3 input data. The size of programming is also small in comparison to the previous methods. The present method for blackbody radiation inversion reduces the complexity of the overall program significantly.

This method is applied to obtain the probability distribution of temperature of the universe using cosmic microwave background radiation (CMB) from COBE, FIRAS data16. “Method and validation” section describes the method and its validation and “Cosmic microwave background radiation” section describes the application of this method in CMB radiation.

Method and validation

Equation (3) takes all possible values of temperature into consideration; hence the limit runs from zero to infinity. Here it is assumed that the temperature of black body radiators in a collection of blackbodies vary from T1 to T2 and they have a finite frequency range of ν. Therefore, Eq. (3) can be written as

$${\text{G}}(\upnu ) = \mathop \smallint \limits_{{{\text{T}}_{1} }}^{{{\text{T}}_{2} }} \frac{{{\upalpha }\left( {\text{T}} \right)}}{{{\text{e}}^{{\frac{{{{\text{h}\upnu }}}}{{{\text{kT}}}}}} - 1}}{\text{dT}}$$
(4)

Using change of variable T = T1 + (T2 – T1)t, Eq. (4) becomes15

$${\text{G}}(\upnu ) = \left( {{\text{T}}_{{2}} {-}{\text{ T}}_{{1}} } \right)\mathop \int \limits_{0}^{1} \frac{{{\upalpha }\left( {{\text{T}}_{1} + \left( {{\text{T}}_{2} - {\text{T}}_{1} } \right){\text{t}}} \right)}}{{{\text{e}}^{{\left[ {\frac{{{{\text{h}\upnu }}}}{{{\text{k}}\left( {{\text{T}}_{1} + \left( {{\text{T}}_{2} - {\text{T}}_{1} } \right){\text{t}}} \right)}}} \right]}} - 1}}{\text{dt}}$$
(5)
$${\text{G}}(\upnu ) \, = \mathop \smallint \limits_{0}^{1} {\text{K}}\left( {{\upnu },{\text{t}}} \right){\text{ a}}\left( {\text{t}} \right){\text{dt}}$$
(6)
$${\text{Where}}\;\;{\text{K}}\left( {{\upnu },{\text{t}}} \right) = \frac{{{\text{T}}_{2} - {\text{T}}_{1} }}{{{\text{e}}^{{\left[ {\frac{{{{\text{h}\upnu }}}}{{{\text{k}}\left( {{\text{T}}_{1} + \left( {{\text{T}}_{2} - {\text{T}}_{1} } \right){\text{t}}} \right)}}} \right]}} - 1}}$$
(7)

And a(t) = \({\upalpha }\)(T1 + (T2 – T1) t).

The required interval of a(t) is [0,1].

Equation (6) informs that the problem of solving \({\upalpha }\)(T) is equivalent to solving a(t).

In the present article, an analytical function represented by Eq. (8) is proposed as a(t).

$${\text{a}}\left( {\text{t}} \right) \, = {\text{k}}_{{1}} {\text{e}}^{{ - {\text{k}}_{2} {\text{t}}^{2} }} \sinh \left( {{\text{k}}_{3}^{2} {\text{t}}} \right)$$
(8)

Equation (8) can be expanded as

$${\text{a}}\left( {\text{t}} \right) \, = {\text{k}}_{{1}} {\text{e}}^{{ - {\text{k}}_{2} {\text{t}}^{2} }} \left( {\frac{{{\text{e}}^{{{\text{k}}_{3}^{2} {\text{t}}}} - {\text{e}}^{{ - {\text{k}}_{3}^{2} {\text{t}}}} }}{2}} \right)$$
(9)

In this method we are trying to obtain the probability distribution of temperature. The nature of the probability distribution is expected to be close to gaussian. So, Eq. (8) is chosen in such a way that for large vales of k3, the \({\text{e}}^{{ - {\text{k}}_{3}^{2} {\text{t}}}}\) part in the sine hyperbolic function is very small. When k2 \(\approx\) \({\text{k}}_{3}^{2}\), Eq. (8) represents a gaussian distribution provided the value of k1 is small.

The lower and upper limits of temperatures (T1, T2) are taken as 1 K and 6 K respectively. The motive behind this choice is that we will use this method to analyse the CMB spectrum and it closely resembles a blackbody radiation at a temperature range similar to T1 and T2. Then, t = \(\frac{{{\text{T}} - 1}}{5}\) or,

$${\upalpha }\left( {\text{T}} \right) = {\text{k}}_{{1}} {\text{e}}^{{ - {\text{k}}_{2} \left( {\frac{{{\text{T}} - 1}}{5}} \right)^{2} }} \sinh \left( {{\text{k}}_{3}^{2} \frac{{{\text{T}} - 1}}{5}} \right)$$
(10)

where k1, k2 and k3 are three determinable parameters such that the interval of \({\upalpha }\left( {\text{t}} \right)\) is [0,1] and T is absolute temperature.

The data have been simulated by using model function Eq. (11),

$${\text{b}}\left( {\text{T}} \right) \, = {\text{e}}^{{ - { }\frac{{\left( {{\text{T}} - {\updelta }} \right)^{2} }}{\gamma }}}$$
(11)

Equation (11) is used in Eq. (4) in place of \({\upalpha }\left( {\text{T}} \right)\) and the values of G(ν) are calculated. This process is repeated with different frequencies \(\nu\). These simulated data are put in the left-hand side of Eq. (6). Three of such equations for three different values of frequency \(\nu\) are obtained. These three equations with three unknowns k1, k2 and k3 are then solved. Thus, the function \({\upalpha }\left( {\text{T}} \right)\) is obtained with these three parameters.

Taking b(T) = \({\text{e}}^{{ - { }\frac{{\left( {{\text{T}} - 3.5} \right)^{2} }}{1}}}\), we calculate \({\upalpha }\left( {\text{T}} \right)\) for three different frequencies of 5 \(\times\) 1011 Hz, 6 \(\times\) 1011 Hz and 7 \(\times\) 1011 Hz. Since we will be using this method in the CMB spectrum, the range of frequency is chosen such a way that it resembles the frequencies in the data we have16. It is observed in Fig. 1a that we have reconstructed the temperature distribution that resembles the model temperature distribution. The difference between b(T) and \({\upalpha }\left( {\text{T}} \right)\) is expressed as d1(T) = b(T) − \({\upalpha }\left( {\text{T}} \right)\) and it is plotted in Fig. 1b against absolute temperature.

Figure 1
figure 1

(a) Model function b(T) and reconstructed function \({\upalpha }\)(T) are plotted against absolute temperature. Here b(T) = \({\text{e}}^{{ - { }\frac{{\left( {{\text{T}} - 3.5} \right)^{2} }}{1}}}\) and three frequencies of 5 \(\times\) 1011 Hz, 6 \(\times\) 1011 Hz and 7 \(\times\) 1011 Hz are used to calculate \({\upalpha }\)(T). (b) The difference between b(T) and \({\upalpha }\left( {\text{T}} \right)\), d1(T) = b(T) − \({\upalpha }\left( {\text{T}} \right)\) is plotted against absolute temperature.

The \(\frac{{\Delta {\text{I}}}}{{\text{I}}}\) value obtained from Fig. 1b is 0.0119 for T = 3 K. Here I is the value of b(T) and \(\Delta {\text{I}}\) is the value of d1(T) for a specific temperature T. The method is sensitive to the chosen frequency. To quantify this sensitivity, we choose sets of frequencies as i, where i includes three frequencies with \({\upnu }_{1}\) = i \(\times\) 1011 Hz, \({\upnu }_{2}\) = (i + 1)\(\times\) 1011 Hz and \({\upnu }_{3}\) = (i + 2)\(\times\) 1011 Hz. This set is then used in Eq. (5) to calculate \({\upalpha }\)(T). The standard deviation from the model function is calculated by Eq. (12)

$$\sigma \, = \sqrt {\frac{{\mathop \sum \nolimits_{{{\text{j}} = 1}}^{{\text{N}}} \left[ {{\text{b}}_{{\text{j}}} \left( {\text{T}} \right) - {\upalpha }_{{\text{j}}} \left( {\text{T}} \right)} \right]^{2} }}{{\text{N}}}}$$
(12)

where N is the number of data used for the calculation of standard deviation and we have taken N = 51.

It is inferred from Fig. 2 that the standard deviation is less for the sets of i = 1, 2, 5 and 6. Therefore, it is expected to use either of these set of frequencies. All the values of k1, k2 and k3 that are calculated during the validation, are listed in Table 1.

Figure 2
figure 2

The standard deviation is plotted against the chosen set of frequencies. We have used different profiles of b(T) by varying \({\updelta }\) and \(\gamma\) in Eq. (10). For (a) \({\updelta }\) = 3, (b) \({\updelta }\) = 3.5 and (c) \({\updelta }\) = 4. For different \(\gamma\) values, the standard deviation differs slightly.

Table 1 It lists all the values of k1, k2 and k3 obtained during the validation process.

Cosmic microwave background radiation

Cosmic microwave background radiation is the afterglow as predicted by the hot big bang model. The presence of such radiation in the universe was first suggested in the late 1940s17. It was only in 1965 when a signal was first detected which was reported to be coming from every direction of the observed sky18. This was the first detection of the radiation which later became to be known as cosmic microwave background radiation. The study of CMB can unravel the mysteries of the initial stage of the universe and its evolution for the last 13.7 billion years. Right after its first detection a lot of work has been done on CMB19,20,21,22,23,24,25.

The first detection showed the radiation to be isotropic, i.e. similar in every direction. But subsequent studies showed that the radiation is in fact anisotropic in nature26,27. More recent studies focus on the different types of distortions in the CMB spectrum28,29,30,31,32. It suggests that the radiation is not of a blackbody with single temperature, rather it is a superposition of different blackbodies that are at different temperatures. When several blackbodies of different temperatures are mixed together it creates y and \({\upmu }\) type distortions32,33. In this paper we have calculated the distortions present in the CMB spectrum.

The blackbody radiation inversion (BRI), as discussed in “Method and validation” section, is applied to the cosmic microwave background radiation for obtaining the temperature of the universe and the probability distribution of temperature. We have used the data of COBE FIRAS to calculate intensity16. For the input of the BRI, the spectral irradiance I(λ) is transformed to the power spectrum W(ν) according to the relation

$${\text{W}}\left( \upnu \right){\text{d}}\upnu \, = - {\text{ I}}\left( \uplambda \right){\text{d}}\uplambda$$
(13)

where λ (= \(\frac{c}{{\upnu }}\)) is the wavelength. For each value of W(ν) corresponding to a particular frequency ν, we have an integral equation in Eq. (6). Three of such equations are taken to calculate k1, k2 and k3 of Eq. (10). Table 2 shows the values of k1, k2 and k3 that we have calculated.

Table 2 k1, k2 and k3 values for different probability distribution function are listed.

We have taken the average of these probability distribution functions as M(T),

$${\text{M}}\left( {\text{T}} \right) = \frac{{{{\text{a}}_1}\left( {\text{T}} \right) + {{\text{a}}_2}\left( {\text{T}} \right) + {{\text{a}}_3}\left( {\text{T}} \right) + {{\text{a}}_4}\left( {\text{T}} \right)}}{4}$$
(14)

Since M(T) is a probability distribution, it should be normalised for the temperature range T1 = 1 K to T2 = 6 K. We normalise M(T) with normalisation constant 0.982 (\(\frac{1}{{\mathop \smallint \nolimits_{1}^{6} {\text{M}}\left( {\text{T}} \right){\text{dT}}}}\) = 0.982). \({\upalpha }\)(T) is the normalised probability distribution of temperature.

$${\upalpha }\left( {\text{T}} \right) = 0.982 \times {\text{M}}\left( {\text{T}} \right)$$
(15)

The moments of different order of \({\upalpha }\)(T) are calculated by using Eq. (16)

$${\text{nth Moment}} = \mathop \smallint \limits_{1}^{6} \left( {{\text{T}} - {\upmu }} \right)^{{\text{n}}} {\upalpha }\left( {\text{T}} \right){\text{dT}}$$
(16)

where n is the order of the moment and µ is the mean value.

First order moment or mean value is calculated as

$$\upmu = \int \limits_{1}^{6} {\text{T}} \times {\upalpha }\left( {\text{T}} \right){\text{dT}} \cong 2.69$$
(17)

The mean temperature is 2.69 K, which is close to the average value 2.725 K23.

Second order moment or variance is calculated as

$${\upsigma }^{2} = \mathop \smallint \limits_{1}^{6} \left( {{\text{T}} - {\upmu }} \right)^{2} {\upalpha }\left( {\text{T}} \right){\text{dT = }}0.0{38}$$
(18)

So, standard deviation

$${\upsigma } = { }\sqrt {{\upsigma }^{2} } = \, 0.{195}$$
(19)

σ indicates the uncertainty in temperature which is 0.195 K23.

Third order standardised moment or Skewness is calculated as

$${{ \upmu }}_{3} = \mathop \int \limits_{1}^{6} \left( {{\text{T}} - {\upmu }} \right)^{3} {\upalpha }\left( {\text{T}} \right){\text{dT}} = { 8}.{3}0{3} \times {1}0^{{ - {4}}}$$
(20)
$$\upbeta_{{3}} = \frac{{{\upmu }3}}{{{\upsigma }^{3} }} = 1.118 \times 10^{{ - {3}}}$$
(21)

An ideal normal distribution has a skewness of 0. We get a positive skewness which describes its deviation from ideal behaviour. A positive skewness suggests that the tail of the distribution right to the mean is more extended than the left-hand side tail34,35.

Fourth order standardised moment about mean

$${\upmu }_{4} = \mathop \smallint \limits_{1}^{6} \left( {{\text{t}} - {\upmu }} \right)^{4} {\upalpha }\left( {\text{t}} \right){\text{dT}} = { 4}.{429}\times 10^{{ - {3}}}$$
(22)
$${\text{Excess kurtosis}}\;\;{\upgamma }_{2} = \upbeta_{{2}} - {3}, \quad {\text{ where }}\upbeta_{{2}} = \frac{{{\upmu }^4}}{{{\upsigma }^{4} }} = 3.056.$$
(23)

Kurtosis represents the peakedness and tailedness of a distribution. An ideal normal distribution has a kurtosis of 3, so 3 is subtracted from β2 to measure the deviation from ideal normal behaviour. In our calculation \({\upgamma }_{2}\) (= β2 − 3) yields 0.0563, a positive number. A distribution with positive kurtosis is called Leptokurtic. A positive kurtosis means that the peak of the curve is slightly higher than the normal distribution while the tail and shoulder portion is slightly pushed towards the mean value34,35.

From the standard deviation \({\upsigma }\) and mean value µ, a Gaussian function (\(\frac{1}{{{\upsigma }\sqrt {2{\uppi }} }}{\text{e}}^{{ - \frac{{\left( {{\text{x}} - {\upmu }} \right)^{2} }}{{2{{\upsigma }}^{2} }}}} { }\)) is constructed in Eq. (24).

$${\text{s}}\left( {\text{T}} \right) \, = { 2}.0{44} \times {\text{e}}^{{ - \frac{{\left( {{\text{T}} - 2.69} \right)^{2} }}{0.076}}}$$
(24)

\({\upalpha }\)(T) and s(T) are plotted against absolute temperature in Fig. 3a. And the difference between α(T) and s(T), expressed as d2(T) = \({\upalpha }\)(T) – s(T) is plotted against absolute temperature in Fig. 3b.

Figure 3
figure 3

(a) The calculated temperature distribution \({\upalpha }\)(T) and the Gaussian function s(T) are plotted against absolute temperature. (b) The difference between \({{ \upalpha }}\)(T) and s(T), expressed as d2(T) = \({\upalpha }\)(T) – s(T) is plotted against absolute temperature.

A deviation from the ideal gaussian behaviour is observed. The \(\frac{{\Delta {\text{I}}}}{{\text{I}}}\) value obtained from Fig. 3b is 0.0194 for T = 2.5 K. Here I is the value of s(T) and \(\Delta {\text{I}}\) is the value of d2(T) for a specific temperature T. The deviation in Fig. 3b (0.0194) is larger than the deviation in Fig. 1b (0.0119). So, this deviation in Fig. 3b is not due to the error in the inversion method we have used. A small deviation from ideal Gaussian behaviour is also predicted when non-extensive case is considered36. The temperature distribution of CMB is found to be primarily between 2 and 3.5 K.

To verify the accuracy of our method to obtain probability distribution of temperature, we reconstructed the intensity of the radiation by using the calculated \({\upalpha }\)(T) in Eq. (2) for different frequencies ν. W(\(\nu\)) is then converted to I(λ) by using Eq. (13). Figure 4 displays the overlay of reconstructed data on the original data of COBE FIRAS.

Figure 4
figure 4

The obtained probability distribution of temperature is used to reconstruct the intensity of the original input data. Both of the intensities are plotted together against wavelength. The error bars are also shown.

The small error bars are not visible in Fig. 4. Hence the values of the intensity and the error are given in Table 3 for the original and reconstructed data. The order of the error in the reconstructed spectrum (~ 10−13 W/m2 × μm × sr) is larger than the error in the original spectrum (~ 10−14 W/m2 × μm × sr). It is evident from Fig. 4 that the present method can faithfully reconstruct the original data.

Table 3 The values of original and reconstructed data for intensity are listed.

In this paper, the original data of COBE/FIRAS are used as the input in the blackbody radiation inversion problem. These data are thus mathematically processed to obtain the distortion of the CMB spectrum. The standard deviation between the original and reconstructed data is 0.142 \(\times\) 10−10 W/m2 × μm × sr or 5.209 \(\times\) 10−20 W/m2 \(\times \;{\text{Hz}} \times\) sr for the wavelength of 1049 μm. The deviation is the distortion present in the CMB spectrum. The spread in the probability distribution of the temperature (Fig. 3a) suggests that there are multiple blackbodies with different temperatures (\(\Delta {\text{T}} = {\upsigma }\)). Due to this mixing of blackbodies, the original spectrum becomes distorted. So, the calculated deviation is interpreted as the distortion of the CMB spectrum.

The COBE data shows a spectrum similar to a perfect blackbody21. But the possible distortions are limited by the maximum sensitivity of the instrument. It has y distortion of |y|< 1.5 \(\times\) 10−5 and \({\upmu }\) distortion of |\({\upmu }\)|< 9.0 \(\times\) 10−521. In our calculation we have obtained the temperature as Tnew = T [1 + \(\left( {\frac{{\Delta {\text{T}}}}{{\text{T}}}} \right)^{2}\)] = 2.704 K for T = 2.69 K and \(\Delta {\text{T}} = { }\) 0.195 K. The y and \({\upmu }\) distortions are calculated as y = \(\frac{1}{2}\left( {\frac{{\Delta {\text{T}}}}{{\text{T}}}} \right)^{2}\) \(\approx\) 10−3 and \({\upmu }\) = \(2.8 \times \left( {\frac{{\Delta {\text{T}}}}{{\text{T}}}} \right)^{2}\) \(\approx\) 10−230.

The present set of data, collected by the COBE/FIRAS satellite is not sensitive enough to detect the distortions beyond the 10−5 order. More precise datasets are required to study these distortions. The TRIS, used between 1996 to 2000, had the limit of \({\upmu } <\) 6.0 \(\times\) 10−537. A balloon borne instrument ARCADE (Absolute Radiometer for Cosmology, Astrophysics, and Diffuse Emission) used in 2006, had the upper limit of \({\upmu } <\) 6.0 \(\times\) 10−438. Two new projects, PIXIE39 and PRISM40 aim to find the distortions with 103–104 times better sensitivity than COBE/FIRAS. PIXIE has \(\Delta\)I = 5 \(\times\) 10−26 W/m2srHz and detection of |y|= 1 \(\times\) 10−8 and |\({\upmu }\)|= 5.0 \(\times\) 10−8 is possible. PRISM is better than PIXIE with \(\Delta\)I = 6 \(\times\) 10−27 W/m2srHz and sensitive to y and \({\upmu }\) distortion of ~ 10−9.

The distortions obtained in our calculation are limited by the sensitivity of available measured data. The experiments planned in the future39,40 are expected to provide data with better precision that will help in carrying out more precise calculations and lead to a better understanding of CMB.

Discussion

A novel method of blackbody radiation inversion is studied. This technique is then applied to study cosmic microwave background radiation and some of its most important features. We have described the deviation of the temperature probability distribution from ideal gaussian distribution. The distortion in the spectrum, caused due to mixing of blackbodies are mathematically described as well. Our approach is much simpler than the existing techniques and the computational bulkiness is significantly reduced. While we can obtain the probability distribution of the temperature effectively, the present method is not completely general in nature. The frequency range needs to be selected to minimise the error in the calculation.