1 Introduction

The standard \(\Lambda \)CDM model describes the evolution of the universe in agreement with observations [1]. The fast expansion at the early stages of the evolution can be explained in terms of a scalar field (inflaton). A quantization of the scalar field and gravitational perturbations leads to fluctuations which can explain structure formation and the power spectrum of density fluctuations in the universe [2,3,4,5,6,7]. The model is introducing some new (dark) forms of matter and energy which are not interacting with the inflaton. If we assume that there are some interactions of the inflaton with the unknown forms of matter then the wave equation for the inflaton is transformed into a stochastic equation which in a flat expanding metric (with the scale factor a and \(H=a^{-1}\partial _{t}a\)) takes the form

$$\begin{aligned}&\partial _{t}^{2}\phi -a^{-2}\triangle \phi +(3H+\gamma ^{2})\partial _{t}\phi \nonumber \\&\quad +V^{\prime }(\phi )+\frac{3}{2}\gamma ^{2}H\phi =\gamma a^{-\frac{3}{2}}\eta , \end{aligned}$$
(1)

where \(\gamma ^{2}\) is a friction related to the Gaussian noise

$$\begin{aligned} \langle \eta (t)\eta (s)\rangle =\delta (t-s) \end{aligned}$$
(2)

according to the fluctuation-dissipation relation. Equation (1) has been derived in [8] (see also [9]). The friction \(\gamma ^{2}\) is proportional to temperature. The noise \(\eta \) comes from the thermal (Gibbs) distribution of the initial positions and velocities of the particles of the environment (in general, the environment may consist of any degrees of freedom which are unobservable and averaged in a description of an interaction with \(\phi \)). Equation (1) is a basis of the warm inflation [10]. In such a model the resonant reheating is unnecessary as the temperature during inflation does not fall to zero owing to the creation of radiation as a result of the decay of the inflaton. The quantum fluctuations of the inflaton and gravitational perturbations are usually described [3, 7] in a linear approximation. Starobinsky [4, 11] (see also [12]) discovered that quantum fields at large time in an expanding universe behave like a classical diffusion process. Then, the high momentum part of the quantum field can be treated as an additional (quantum) noise in the inflaton wave equation. Such a treatment of quantum fluctuations during inflation goes beyond a linear approximation. The quantum noise has been widely studied in Refs. [13,14,15,16,17,18,19,20,21,22,23]. The Fokker–Planck equation for the probability distribution of the inflaton has been explored in detail. In principle, the Fokker–Planck equation contains all the information about the probability distribution. In particular, the power spectrum of fluctuations could be calculated as discussed in [21, 22] (see also Appendix B here). However, in [23] (following [11], see also [24, 25]) an alternative method has been proposed for a calculation of the power spectrum of the quantum noise based on fluctuations of the e-folds. In this paper we extend the method to the calculation of the power spectrum of the system which contains both the quantum noise and the thermal noise. The plan of this paper is the following. In Sect. 2 we discuss the stochastic equation with the quantum and thermal noises in the slow roll approximation. In Sect. 3 following Refs. [23, 26] we obtain general formulas for the expectation values of e-folds and the fluctuations of e-folds (spectral function). Then, in Sect. 4 we discuss approximations leading to some explicit formulas for the spectral function and the spectral index. In Appendices A and B we discuss fluctuations in soluble models and the relation between Ito and Stratonovitch stochastic equations.

2 Slow roll stochastic equations

We consider two sources of noise in Eq. (1) the thermal noise \(\eta \) and the quantum noise \(\eta _{S}\) [4, 11, 12]. The quantum noise comes from the large momentum part (above the Hubble horizon) of the scalar field. It can be considered as a part of the quantum inflaton equation. The thermal noise results from an approximation of the interaction with an environment by a Markov process. In Einstein equations the environment could be represented as dark matter or dark energy if we properly choose the environmental interactions [27,28,29]. We consider Eq. (1) in the slow-roll approximation

$$\begin{aligned} (3H+\gamma ^{2})\circ d\phi= & {} -V^{\prime }dt -\frac{3}{2}\gamma ^{2}H\phi dt+\gamma a^{-\frac{3}{2}}\circ dB\nonumber \\&+\frac{3}{2\pi }H^{\frac{5}{2}}\circ dW \end{aligned}$$
(3)

In Eq. (3) we write \(\eta =\partial _{t}B\), \(\eta _{S}=\partial _{t}W\) and assume that W and B are independent Gaussian variables. We use the notation \(\circ dW\) (after [30]) for the Stratonvitch interpretation of the stochastic differential and the conventional notation of the differential in the Ito interpretation. The difference between Ito and Stratonovitch integrals consists in a different discrete time approximations of the Riemann sums approximating the integral. The Stratonovitch integral \(\int f\circ dW\) treats time approximation of f and W (in the Riemann sum) in a symmetric way (so called middle point approximation) whereas in the Ito integral the time in dW is later than in f. For an integral with a differentiable function W the various discrete approximations would lead to the same result. However, W is not differentiable. We discuss both interpretations of the stochastic differential for an easy comparison with literature on the subject. The Ito stochastic differential equation can be expressed by the Stratonovitch equation using the rule [30] \(f\circ dW= fdW+ \frac{1}{2}dfdW\). So, both equations differ by a correction term. The Stratonovitch form is convenient for calculations because it preserves the standard rules of differentiation (the Leibniz rule) [30]. It must be checked in mathematical models which form of the stochastic equation better describes physical processes.

In order to simplify further discussion we assume that \(3H>>\gamma ^{2}\) and \(V^{\prime }>>\frac{3}{2}\gamma ^{2}H\phi \). The friction term \(\gamma ^{2}\partial _{t}\phi \) is usually related to the decay of the inflaton into radiation [31]. The omission of the \(\gamma ^{2}\) terms on the lhs of Eq. (1) means a negligible density of radiation (which can be true during inflation [32]). Now, the stochastic equation (3) reads

$$\begin{aligned} d\phi= & {} -\frac{1}{3H}V^{\prime }dt+\frac{\gamma }{3} a^{-\frac{3}{2}}H^{-1}\circ dB(t)\nonumber \\&+\frac{1}{2\pi }H^{\frac{3}{2}}\circ dW(t). \end{aligned}$$
(4)

The Starobinsky [11, 12] slow-roll (quantum) system corresponds to the limit \(\gamma \rightarrow 0\) of Eq. (4). In order to obtain an agreement with the inhomogeneous inflaton and gravity perturbations (most easily treated in the uniform curvature gauge [33, 34]) we must change the world time t into the e-folding time \(\nu \) [21,22,23] (usually denoted by N; we change notation for typographical reasons) describing the change of the scale factor

$$\begin{aligned} \nu =\int _{0}^{t}Hds=\ln \left( \frac{a}{a_{0}}\right) . \end{aligned}$$
(5)

Now, the diffusion (small roll) system reads

$$\begin{aligned} d\phi= & {} -\frac{1}{3}V^{\prime }H^{-2}d\nu +\frac{\gamma }{3} a^{-\frac{3}{2}}H^{-\frac{3}{2}}\circ dB(\nu )\nonumber \\&+\frac{1}{2\pi }H\circ dW(\nu ), \end{aligned}$$
(6)

together with the differential form of the Friedman equation (taking a derivative in the Friedman equation can allow to treat the environment as a dark energy [27])

$$\begin{aligned} d\ln (H)=-4\pi G(\partial _{\nu }\phi )^{2}d\nu . \end{aligned}$$
(7)

We can insert in Eq. (4) either \(a(\phi )\) as a function of \(\phi \) or \(a=a_{0}\exp (\nu )\) (in such a case we obtain a non-stationary stochastic equation).

In the slow-roll approximation we can derive from Eq. (7) in the no-noise limit

$$\begin{aligned} H= \sqrt{\frac{8\pi G}{3}V}, \end{aligned}$$
(8)

(V entering Eq. (6) can be determined by H from the wave equation up to an arbitrary constant). Then, from Eqs. (4) and (5) in the no noise limit

$$\begin{aligned} \ln (a)=-8\pi G\int d\phi (V^{\prime })^{-1}V. \end{aligned}$$
(9)

We could take in Eq. (9) the noise into account by means of perturbation methods (the relation between \(a(\nu )\) and \(\phi (\nu )\) will still be discussed in Appendices A and B).

The probability distribution of the solution of Eq. (4) (Stratonovitch interpretation) satisfies the Fokker–Planck equation [26, 30, 35]

$$\begin{aligned} \partial _{t}P= & {} \partial _{\phi }\frac{\gamma ^{2}}{18Ha^{\frac{3}{2}}}\partial _{\phi }\frac{1}{Ha^{\frac{3}{2}}}P +\frac{1}{8\pi ^{2}}\partial _{\phi }H^{\frac{3}{2}}\partial _{\phi }H^{\frac{3}{2}}P\nonumber \\&+\partial _{\phi }(3H)^{-1}V^{\prime }P. \end{aligned}$$
(10)

In the Ito interpretation of Eq. (4)

$$\begin{aligned} \partial _{t}P= & {} \partial _{\phi }\partial _{\phi }\frac{\gamma ^{2}}{18H^{2}a^{3}}P +\frac{1}{8\pi ^{2}}\partial _{\phi }\partial _{\phi }H^{3}P\nonumber \\&+\partial _{\phi }(3H)^{-1}V^{\prime }P . \end{aligned}$$
(11)

If in the e-folding time we treat a as depending on \(\phi \) (not on \(\nu \)), then we obtain a stationary form of the Fokker–Planck equation which for the Ito version is

$$\begin{aligned} \partial _{\nu }P= & {} \frac{\gamma ^{2}}{18}\partial _{\phi }\partial _{\phi }\frac{1}{a^{3}H^{3}}P +\frac{1}{8\pi ^{2}}\partial _{\phi }\partial _{\phi }H^{2} P +\partial _{\phi }(3H^{2})^{-1}V^{\prime }P\nonumber \\ \end{aligned}$$
(12)

and Stratonovitch version

$$\begin{aligned} \partial _{\nu }P= & {} \frac{\gamma ^{2}}{18}\partial _{\phi }\frac{1}{(Ha)^{\frac{3}{2}}}\partial _{\phi }\frac{1}{(Ha)^{\frac{3}{2}}}P +\frac{1}{8\pi ^{2}}\partial _{\phi }H\partial _{\phi }H P\nonumber \\&+\partial _{\phi }(3H^{2})^{-1}V^{\prime }P. \end{aligned}$$
(13)

If we express a by the \(\nu \) time then Eq. (13) reads

$$\begin{aligned} \partial _{\nu }P= & {} \frac{\gamma ^{2}}{18}\exp (-3\nu )\partial _{\phi }\frac{1}{H^{\frac{3}{2}}}\partial _{\phi }\frac{1}{H^{\frac{3}{2}}}P +\frac{1}{8\pi ^{2}}\partial _{\phi }H\partial _{\phi }H P\nonumber \\&+\partial _{\phi }(3H^{2})^{-1}V^{\prime }P \end{aligned}$$
(14)

It can be seen from Eqs. (6) and (14) that quantum and thermal fluctuations are of the same order if \(\gamma ^{2}\simeq e^{3\nu }H(\nu )^{5}\). The estimate of the dissipation strength \(\gamma \) is relevant for an estimate of the power spectrum and the spectral index at the end of Sect. 4.

Equation (14) does not depend on the \(a(\phi )\) approximation. \(H(\phi )\) as a function of \(\phi \) in Eqs. (10)–(14) can be obtained from Eq. (8). The dependence of a on \(\phi \) in Eqs. (10)–(13) in the slow-roll approximation is determined by Eq. (9). Let us consider simple examples. If \(V=g\phi ^{n}\) (chaotic inflation [36]) then

$$\begin{aligned} \frac{a(\phi )}{a_{0}}=\exp \Big (-4\pi Gn^{-1}\phi ^{2}\Big ). \end{aligned}$$
(15)

If \(V=g\exp (\lambda \phi )\) then

$$\begin{aligned} \frac{a(\phi )}{a_{0}}=\exp \Big (-\frac{8\pi G}{\lambda }\phi \Big ), \end{aligned}$$
(16)

Note that if \(\phi \rightarrow +\infty \) then \(a\rightarrow 0\), if \(\phi \rightarrow -\infty \) then \(a\rightarrow \infty \).

For a flat potential

$$\begin{aligned} V=\frac{\phi ^{2}}{K+\phi ^{2}} \end{aligned}$$
(17)

we have

$$\begin{aligned} \frac{a(\phi )}{a_{0}}=\exp \Big (-2\pi G\phi ^{2}-\frac{\pi G}{K}\phi ^{4}\Big ). \end{aligned}$$
(18)

For “natural inflation” [37]

$$\begin{aligned} V=g(1-\cos \phi ). \end{aligned}$$
(19)

Then,

$$\begin{aligned} a(\phi )=a_{0}\exp \Bigg (8\pi G\ln \Bigg (2\cos ^{2}(\frac{\phi }{2}\Bigg )\Bigg ). \end{aligned}$$
(20)

In the case of the double-well potential

$$\begin{aligned} V(\phi )= & {} \frac{g}{4}\bigg (\phi ^{2}-\frac{\mu ^{2}}{g}\bigg )^{2} \nonumber \\ a= & {} a_{0}\vert \phi \vert ^{\frac{2\pi G\mu ^{2}}{g}}\exp (-\pi G\phi ^{2}). \end{aligned}$$
(21)

The noise corrected \(a(\phi )\) relation could in principle be derived from the solution of Eq. (6) but in general this is possible only on a perturbative level (see Appendix A).

3 Expectation value of e-folds

We treat \(\nu \) (in Eq. (5)) as a random time (because a is random). Let us consider a differential of a function of the stochastic process (6) in the e-folding time in the Stratonovitch sense

$$\begin{aligned} df= & {} \partial _{\phi }f\circ d\phi \nonumber \\= & {} \partial _{\phi }f\circ \left( -\frac{1}{3H^{2}}V^{\prime }d\nu +\frac{\gamma }{3(aH)^{\frac{3}{2}}}dB(\nu )+\frac{1}{2\pi } HdW(\nu )\right) \nonumber \\= & {} \partial _{\phi }f \bigg ( -\frac{1}{3H^{2}}V^{\prime }d\nu +\frac{\gamma }{3(aH)^{\frac{3}{2}}}dB(\nu )+\frac{1}{2\pi } HdW(\nu )\bigg )\nonumber \\&+\Bigg (\frac{1}{2}\frac{\gamma }{3(aH)^{\frac{3}{2}}}\partial _{\phi }\frac{\gamma }{3(aH)^{\frac{3}{2}}}\partial _{\phi }f +\frac{1}{8\pi ^{2}}\partial _{\phi }H\partial _{\phi }Hf\Bigg )d\nu .\nonumber \\ \end{aligned}$$
(22)

For the Ito stochastic equation

$$\begin{aligned} df= & {} \partial _{\phi }f\circ d\phi \nonumber \\= & {} \partial _{\phi }f\circ \left( -\frac{1}{3H^{2}}V^{\prime }d\nu +\frac{\gamma }{3(aH)^{\frac{3}{2}}}dB(\nu )+\frac{1}{2\pi } HdW(\nu )\right) \nonumber \\= & {} \partial _{\phi }f\left( -\frac{1}{3H^{2}}V^{\prime }d\nu +\frac{\gamma }{3(aH)^{\frac{3}{2}}}dB(\nu )+\frac{1}{2\pi } HdW(\nu )\right) \nonumber \\&+\Bigg (\frac{1}{2}\Bigg (\frac{\gamma }{3(aH)^{\frac{3}{2}}}\Bigg )^{2}\partial _{\phi }\partial _{\phi }f +\frac{1}{8\pi ^{2}}H^{2}\partial _{\phi }\partial _{\phi }f\Bigg )d\nu . \end{aligned}$$
(23)

In the rest of this section we follow Refs. [23, 26, 38]. In the Stratonovitch case we choose a function f

$$\begin{aligned}&-\partial _{\phi }f_{S}\frac{1}{3H^{2}}V^{\prime } + \frac{1}{18}\frac{\gamma }{(aH)^{\frac{3}{2}}}\partial _{\phi }\frac{\gamma }{(aH)^{\frac{3}{2}}}\partial _{\phi }f_{S}\nonumber \\&\quad +\frac{1}{8\pi ^{2}}\partial _{\phi }H\partial _{\phi }Hf_{S}=-1 \end{aligned}$$
(24)

and in the Ito case

$$\begin{aligned}&-\partial _{\phi }f_{I} \frac{1}{3H^{2}}V^{\prime }+ \frac{1}{18}\Bigg (\frac{\gamma }{(aH)^{\frac{3}{2}}}\Bigg )^{2}\partial _{\phi }\partial _{\phi }f_{I}\nonumber \\&\quad +\frac{1}{8\pi ^{2}}H^{2}\partial _{\phi }\partial _{\phi }f_{I}=-1. \end{aligned}$$
(25)

Then, integrating df between \(\nu =0\) and \(\nu \) corresponding to the values \(\phi (0)=\phi _{in}\) and \(\phi (\nu )=\phi \) we obtain (the expectation value of the Ito integral is equal to zero)

$$\begin{aligned} \langle \nu \rangle = \langle f(\phi _{in})\rangle -\langle f(\phi )\rangle . \end{aligned}$$
(26)

Let \(\partial _{\phi }f=u\). Equations (24) and (25) for u are of the form

$$\begin{aligned} \partial _{\phi }u+Q(\phi )u=-r, \end{aligned}$$
(27)

where

$$\begin{aligned} Q=-\frac{1}{3H^{2}}V^{\prime }\Big (\frac{H^{2}}{8\pi ^{2}}+\frac{\gamma ^{2}}{18a^{3}H^{3}}\Big )^{-1} \end{aligned}$$
(28)

and (Ito interpretation)

$$\begin{aligned} r=\Big (\frac{H^{2}}{8\pi ^{2}}+\frac{\gamma ^{2}}{18a^{3}H^{3}}\Big )^{-1}. \end{aligned}$$
(29)

The solution of Eq. (27) is

$$\begin{aligned} u(\phi )=-\int _{\phi _{*}}^{\phi }d\psi r(\psi )\exp \Big (-\int _{\psi }^{\phi }Q(X)dX\Big ), \end{aligned}$$
(30)

where \(\phi _{*}\) is chosen to satisfy proper boundary conditions.

Then (an analog of the formula derived by Starobinsky and Vennin [23])

$$\begin{aligned} f(\phi )=-\int _{\phi _{1}}^{\phi }d\phi ^{\prime }\int _{\phi _{*}}^{\phi ^{\prime }}d\psi r(\psi )\exp \Big (-\int _{\psi }^{\phi ^{\prime }}Q(X)dX\Big ).\nonumber \\ \end{aligned}$$
(31)

This solution satisfies \(f(\phi _{1})=0\) and \(\phi _{*}\) is chosen so that \(f(\phi _{2})=0\). Then, according to Eq. (26)(setting \(\phi =\phi _{2}\) to get \(f(\phi _{2})=0\)) we have (an approximate formula for a mean value of e-folds appeared already in [11])

$$\begin{aligned} \langle \nu \rangle =-\int _{\phi _{1}}^{\phi _{in}}d\phi ^{\prime }\int _{\phi _{*}}^{\phi ^{\prime }}d\psi r(\psi )\exp \Big (-\int _{\psi }^{\phi ^{\prime }}Q(X)dX\Big ).\nonumber \\ \end{aligned}$$
(32)

\(\nu \) is the umber of e-folds between \(\phi _{in}\) and \(\phi _{end}=\phi _{1}\). We have to determine \(\phi _{*}\) from the condition \(f(\phi _{2})=0\).

Another method is considered in [26]. There, the solution of Eq. (27) is written in the form

$$\begin{aligned} u(\phi )= & {} \exp \Big (-\int _{\phi _{*}}^{\phi }Q(X)dX\Big )u(\phi _{*})\nonumber \\&-\int _{\phi _{*}}^{\phi }d\psi r(\psi )\exp \Big (-\int _{\psi }^{\phi }Q(X)dX\Big ) \end{aligned}$$
(33)

Then, the boundary conditions are expressed by \(u(\phi _{*})\) and \(\phi _{*}\). Integrating Eq. (33)

$$\begin{aligned} f(\phi )= & {} \int _{\phi _{1}}^{\phi }d\phi ^{\prime }\exp \left( -\int _{\phi _{*}}^{\phi ^{\prime }}Q\right) u(\phi _{*})\nonumber \\&-\int _{\phi _{1}}^{\phi }d\phi ^{\prime }\int _{\phi _{*}}^{\phi ^{\prime }}d\psi r(\psi )\exp (-\int _{\psi }^{\phi ^{\prime }}Q). \end{aligned}$$
(34)

We demand

$$\begin{aligned} 0= & {} f(\phi _{2})=\int _{\phi _{1}}^{\phi _{2}}d\phi ^{\prime }\exp \left( -\int _{\phi _{*}}^{\phi ^{\prime }}Q\right) u(\phi _{*})\nonumber \\&-\int _{\phi _{1}}^{\phi _{2}}d\phi ^{\prime }\int _{\phi _{*}}^{\phi ^{\prime }}d\psi r(\psi )\exp \bigg (-\int _{\psi }^{\phi ^{\prime }}Q\bigg ) \end{aligned}$$
(35)

Solving for \(u(\phi _{*})\) gives the formula for \(\nu \)

$$\begin{aligned} \langle \nu \rangle= & {} \Bigg (\int _{\phi _{1}}^{\phi _{in}}d\phi ^{\prime }\exp \Bigg (-\int _{\phi _{*}}^{\phi ^{\prime }}Q\Bigg ) \nonumber \\&\times \int _{\phi _{1}}^{\phi _{2}}d\phi ^{\prime }\int _{\phi _{*}}^{\phi ^{\prime }}d\psi r(\psi )\exp \Bigg (-\int _{\psi }^{\phi ^{\prime }}Q\Bigg )\nonumber \\&- \int _{\phi _{1}}^{\phi _{2}}d\phi ^{\prime }\exp \Bigg (-\int _{\phi _{*}}^{\phi ^{\prime }}Q\Bigg ) \int _{\phi _{1}}^{\phi _{in}}d\phi ^{\prime }\int _{\phi _{*}}^{\phi ^{\prime }}d\psi r(\psi )\nonumber \\&\times \exp \Bigg (-\int _{\psi }^{\phi ^{\prime }}Q)\Bigg )\nonumber \\&\times \Bigg (\int _{\phi _{1}}^{\phi _{2}}d\phi ^{\prime }\exp (-\int _{\phi _{*}}^{\phi ^{\prime }}Q)\Bigg )^{-1}. \end{aligned}$$
(36)

\(\phi _{*},\phi _{1},\phi _{2}\) are arbitrary but a useful choice is \(\phi _{1}=\phi _{end}\), \(\phi _{2}=\infty \) and \(\phi _{*}=\phi _{in}\). So, we calculate the first hitting of a boundary of an interval \([\phi _{end},\infty ]\) by the process starting from \(\phi _{in}\) (we know that \(\phi =\infty \) cannot be achieved, so there remains \(\phi _{end}\)). There may be some problems with integrability in Eq. (36) with some potentials in an infinite interval [24, 25] (if there is no thermal noise). Then, \(\int Q\simeq -V^{-1}\) and the integrability may fail if either \(V=0\) or V does not grow fast enough.

From the formula (23) we have

$$\begin{aligned} \nu= & {} f_{I}(\phi _{in})+\int _{0}^{\phi }\partial _{\phi }f_{I}\Bigg ( \frac{\gamma }{3(aH)^{\frac{3}{2}}}dB(\nu )\nonumber \\&+\frac{1}{2\pi } HdW(\nu )\Bigg ). \end{aligned}$$
(37)

Taking the square and then the expectation value of Eq. (37) we obtain

$$\begin{aligned} \langle \nu ^{2}\rangle\equiv & {} \langle \nu \rangle ^{2}+\langle (\delta \nu )^{2}\rangle \nonumber \\= & {} \langle \nu \rangle ^{2}+ \left\langle \int _{0}^{\nu }d\nu ^{\prime }(\partial _{\phi }f_{I})^{2}\left( \frac{\gamma ^{2}}{9(aH)^{3}} +\frac{H^{2}}{4\pi ^{2}}\right) \right\rangle \end{aligned}$$
(38)

(an analogous formula holds true for \(f_{S}\)). Assume that we find a function \(F_{S}\) such that

$$\begin{aligned}&-\partial _{\phi }F_{S}\frac{1}{3H^{2}}V^{\prime } + \frac{1}{18}\frac{\gamma }{(aH)^{\frac{3}{2}}}\partial _{\phi }\frac{\gamma }{(aH)^{\frac{3}{2}}}\partial _{\phi }F_{S}\nonumber \\&\qquad +\frac{1}{8\pi ^{2}}\partial _{\phi }H\partial _{\phi }HF_{S}\nonumber \\&\quad = -(\partial _{\phi }f_{S})^{2}\left( \frac{\gamma ^{2}}{9(aH)^{3}}+\frac{H^{2}}{4\pi ^{2}}\right) \end{aligned}$$
(39)

in the Stratonovitch case and \(F_{I}\)

$$\begin{aligned}&-\partial _{\phi }F_{I}\frac{1}{3H^{2}}V^{\prime }+ \frac{1}{18}\Bigg (\frac{\gamma }{(aH)^{\frac{3}{2}}}\Bigg )^{2}\partial _{\phi }\partial _{\phi }F_{I} +\frac{1}{8\pi ^{2}}H^{2}\partial _{\phi }\partial _{\phi }F_{I}\nonumber \\&\quad = -\left( \partial _{\phi }f_{I}\right) ^{2}\left( \frac{\gamma ^{2}}{9(aH)^{3}}+\frac{H^{2}}{4\pi ^{2}}\right) \end{aligned}$$
(40)

in the Ito case. Then, calculating dF in the same way as we did for df in Eqs. (22) and (23) using Eqs. (38)–(40) and taking the expectation value we find

$$\begin{aligned} \langle \nu ^{2}\rangle -\langle \nu \rangle ^{2}=F(\phi _{in}). \end{aligned}$$
(41)

Let us denote \(U=\partial _{\phi }F_{I}\). Then, in the Ito version we have the equation

$$\begin{aligned} \partial _{\phi }U+QU=-R \end{aligned}$$
(42)

with Q defined in Eq. (28) and

$$\begin{aligned} R=2(\partial _{\phi }f_{I})^{2}. \end{aligned}$$
(43)

The solution follows the one of Eq. (27) as expressed either in Eq. (30) or in Eq. (33). In the next section we discuss perturbative solutions of Eqs. (27) and (42).

4 e-folds, their fluctuations and the power spectrum

The general integral formulae in Sect. 3 do not allow an explicit calculation of the functions F and f needed for a computation of the e-folds and their fluctuations. We need a perturbative approach. We write Eq. (27) as an iterative perturbation expansion in \(\frac{1}{Q}\) starting with \(u^{(1)}=-\frac{r}{Q}\)

$$\begin{aligned} u^{(n+1)}=-\frac{1}{Q}\partial _{\phi }u^{(n)}. \end{aligned}$$
(44)

Then, the zeroth order approximation in Eq. (27) corresponds to setting \(\frac{1}{Q}\partial _{\phi }u=0\). Hence,

$$\begin{aligned} u^{(1)}=f^{\prime }= -rQ^{-1}=8\pi G V(V^{\prime })^{-1}. \end{aligned}$$
(45)

In this approximation we have derived the “classical” formula (9) for e-folds. We have

$$\begin{aligned} \partial _{\phi }u^{(1)}=8\pi G\left( 1-\frac{\eta }{2\epsilon }\right) \end{aligned}$$
(46)

with

$$\begin{aligned} \epsilon= & {} \frac{1}{16\pi G}\left( \frac{V^{\prime }}{V}\right) ^{2} \end{aligned}$$
(47)
$$\begin{aligned} \eta= & {} \frac{1}{8\pi G}\frac{V^{\prime \prime }}{V}. \end{aligned}$$
(48)

Hence, \(\partial _{\phi } u^{(1)}\ne 0\) in general. We get \(\partial _{\phi } u^{(1)}=0\) for the exponential potential. For a power-law potential \(\phi ^{n}\) we have \(\partial _{\phi }u^{(1)}=\frac{8\pi G}{n}\). \(u^{(1)}\) is independent of \(\gamma \) but \(u^{(2)}\) (44) depends on \(\gamma \) as Q does. If the thermal noise is absent then the expansion (44) is an expansion in G (i.e., in the inverse of the Planck mass). Next, we need an approximation for the solution of Eq. (42). Applying again the expansion (44) in \(\frac{1}{Q}\) (in the lowest order \(\frac{1}{Q}\partial _{\phi }U\simeq 0\)) we obtain

$$\begin{aligned} U^{(1)}= & {} \partial _{\phi }F^{I}=-RQ^{-1}\nonumber \\= & {} 6(8\pi G)^{2}V^{2}(V^{\prime })^{-3}H^{2}\left( \frac{H^{2}}{8\pi ^{2}}+\frac{\gamma ^{2}}{18a^{3}H^{3}}\right) . \end{aligned}$$
(49)

In the next order

$$\begin{aligned} U^{(2)}=3H^{2}\left( \frac{H^{2}}{8\pi ^{2}}+\frac{\gamma ^{2}}{18a^{3}H^{3}}\right) (V^{\prime })^{-1}\partial _{\phi }U^{(1)}. \end{aligned}$$
(50)

The power spectrum \({{\mathcal {P}}}\simeq Uu^{-1}\) at \(\gamma =0\) derived from Eqs. (45) and (49) coincides with the standard formula [3,4,5,6,7, 39,40,41,42]. It can be obtained from the general formulae of Sect. 3 which involve \(\int Q\). These formulae for e-foldings in the quantum case (cold inflation) have been discussed by Starobinsky and Vennin [23]. If \(\gamma =0\) then

$$\begin{aligned} \int _{\psi }^{\phi }Q=-\frac{3}{8G^{2}}\frac{1}{V(\phi )}+\frac{3}{8G^{2}}\frac{1}{V(\psi )}. \end{aligned}$$

In order to calculate the integrals (30)–(36) they perform the Taylor expansion of \(\frac{1}{V(\psi )}\) around \(\phi \)

$$\begin{aligned} \frac{1}{V(\psi )}=\frac{1}{V(\phi )}+\partial _{\phi }\frac{1}{V(\phi )}(\psi -\phi )+\cdots \end{aligned}$$
(51)

Changing variables

$$\begin{aligned} \psi -\phi =G^{2}X \end{aligned}$$

and expanding the exponential in \(G^{2}\) we derive the perturbation expansion (44).

Next, let us consider the thermal noise using the method of Starobinsky and Vennin [4, 23, 38] (which is equivalent to the expansion (44) in \(\gamma ^{2}G^{-\frac{1}{2}}\) and in G). Then, in Eq. (28) (without the quantum noise)

$$\begin{aligned} Q=-\frac{6}{\gamma ^{2}}\sqrt{\frac{8\pi G}{3}}V^{\prime }\sqrt{V}a^{3} \end{aligned}$$
(52)

and in Eq. (29)

$$\begin{aligned} r=\gamma ^{-2} 48\pi G\left( \frac{3}{8\pi G}\right) ^{\frac{1}{2}}V^{\frac{3}{2}}a^{3} \end{aligned}$$
(53)

We have by an integration by parts

$$\begin{aligned} \int _{\psi }^{\phi }Q= & {} -\frac{4}{\gamma ^{2}}\sqrt{\frac{8\pi G}{3}}\Big ( a^{3}(\phi )V^{\frac{3}{2}}(\phi )\nonumber \\&-a^{3}(\psi )V^{\frac{3}{2}}(\psi )\Big ) -\frac{32\pi G}{\gamma ^{2}}\sqrt{\frac{8\pi G}{3}}\int _{\psi }^{\phi }\frac{V^{\frac{5}{2}}a^{3}}{V^{\prime }}.\nonumber \\ \end{aligned}$$
(54)

Let

$$\begin{aligned} \Omega (\psi )=\frac{4}{\gamma ^{2}}\sqrt{\frac{8\pi G}{3}}a^{3}(\psi )V^{\frac{3}{2}}(\psi ). \end{aligned}$$
(55)

We repeat the approximation (51) used in [23, 38] when applied to Eq. (31). We expand in Eq. (31) the exponential function

$$\begin{aligned} \Omega (\psi )=\Omega (\phi )+\partial _{\phi }\Omega (\phi )(\psi -\phi )+\cdots \end{aligned}$$
(56)

Then, in the integral (31) we have (neglecting \(\partial _{\phi }a\simeq G\) and the second term in Eq. (54) being of higher order in G)

$$\begin{aligned} \langle \nu \rangle= & {} \int d\phi r(\phi )\int ^{\phi } d\psi \exp (\partial _{\phi }\Omega (\phi )\psi )\nonumber \\\simeq & {} 8\pi G \int d\phi \frac{V}{V^{\prime }} \end{aligned}$$
(57)

By means of integral formulae of Sect. 3 as well as with the perturbation expansion (44) we obtain in the first order the same formula for e-folds as we could get in the calculation without noise (showing that the stochastic method of reaching the boundary has the correct no noise limit; the stochastic formula will still be discussed in Appendix A). The calculation of \(\langle \delta \nu ^{2}\rangle \) with the thermal noise on the basis of Eq. (41) involves calculation of the integral

$$\begin{aligned} F\simeq 2\int ^{\phi } d\psi (f^{\prime }(\psi ))^{2}\exp \left( -\int _{\psi }^{\phi }Q\right) \end{aligned}$$
(58)

with Q of Eq. (52). The Taylor expansion (56) in the integral (58) gives

$$\begin{aligned} U=F^{\prime }=-\gamma ^{2}(8\pi G)^{2}(24\pi G)^{-\frac{1}{2}}V^{\frac{3}{2}}(V^{\prime })^{-3}a^{-3}. \end{aligned}$$
(59)

The power spectrum can be defined by fluctuations of the e-folds

$$\begin{aligned} {{\mathcal {P}}}=\frac{d\langle (\delta \nu )^{2}\rangle }{d\langle \nu \rangle }, \end{aligned}$$
(60)

where \(\langle (\delta \nu )^{2}\rangle \) is defined in Eq. (38). We have

$$\begin{aligned} \frac{d}{d\langle \nu \rangle }=-(f^{\prime })^{-1}\frac{d}{d\phi }. \end{aligned}$$
(61)

Hence

$$\begin{aligned} {{\mathcal {P}}}=F^{\prime }(f^{\prime })^{-1}\equiv \frac{U}{u} \end{aligned}$$
(62)

(evaluated at the horizon crossing \(k=aH\) [43]) where f is defined in Eqs. (24) and (25) and F in Eqs. (39) and (40) (calculated from Eq. (42)). It has been shown [23, 38] that the formula (62) in the expansion (51) (no thermal noise) coincides with the standard one for the cold inflation [3,4,5,6,7, 33, 39,40,41,42,43] because we obtain from Eqs. (41), (42), (45) and (51)

$$\begin{aligned} {{\mathcal {P}}}_{q}=\frac{2G^{2}}{3}8\pi G V^{3}(V^{\prime })^{-2}. \end{aligned}$$
(63)

It is difficult to calculate \({{\mathcal {P}}}\) analytically for general quantum and thermal noise using the formulae of Sect. 3. We calculate the power spectrum with no quantum noise (solely thermal noise) applying for \(F^{\prime }\) the same approximation which we used in Eq. (62) (for \(\langle \nu \rangle \), i.e. for \(f^{\prime }\)). Then, from Eq. (63)

$$\begin{aligned} {{\mathcal {P}}}_{th}=8\pi G\gamma ^{2}(24\pi G)^{-\frac{1}{2}}a^{-3}V^{\frac{1}{2}}(V^{\prime })^{-2}. \end{aligned}$$
(64)

From the \(\frac{1}{Q}\) expansion using Eqs. (45), (49) and (62) we obtain

$$\begin{aligned} {{\mathcal {P}}}={{\mathcal {P}}}_{th}+{{\mathcal {P}}}_{q} \end{aligned}$$
(65)

(this simple additivity holds true only in the lowest order of the \(\frac{1}{Q}\) expansion as can be seen from Eq. (50)). The spectral index \(n_{S}\) can be calculated as a derivative (61) over \(\langle \nu \rangle \) of \(\ln {{\mathcal {P}}}\). Then

$$\begin{aligned} n_{S}-1=- (f^{\prime })^{-1}\frac{d}{d\phi }\ln \mathcal{P}=-F^{\prime \prime }(f^{\prime }F^{\prime })^{-1}+f^{\prime \prime }(f^{\prime })^{-2}\nonumber \\ \end{aligned}$$
(66)

We obtain from Eq. (64) (the spectral index for warm inflation is calculated in [44, 45] but under different assumptions)

$$\begin{aligned} n_{S}^{th}-1=-3-\epsilon +2\eta . \end{aligned}$$
(67)

For the quantum stochastic inflation the formula (63) gives

$$\begin{aligned} n^{q}_{S}-1=-6\epsilon +2\eta \end{aligned}$$
(68)

(in agreement with [39,40,41,42,43]). On the basis of the \(\frac{1}{Q}\) expansion using Eqs. (66) and (65) we obtain for the spectral index of the scalar field in thermal and quantum noises

$$\begin{aligned} n_{S}-1=({{\mathcal {P}}}_{q}+{{\mathcal {P}}}_{th})^{-1}\Big (\mathcal{P}_{q}(n^{q}_{S}-1)+(n_{S}^{th}-1){{\mathcal {P}}}_{th}\Big ).\nonumber \\ \end{aligned}$$
(69)

For a small \(\gamma \) from Eq. (69) and Eqs. (63) and (64)

$$\begin{aligned} n_{S}-1=\Big ( (n^{q}_{S}-1)+\frac{32\pi ^{2}\gamma ^{2}}{9}H^{-5}a^{-3}(n_{S}^{th}-n_{S}^{q})\Big ). \end{aligned}$$

5 Summary

The method of a description of inflation in terms of the fluctuations of e-folds (called \(\delta N\) method) has been suggested long time ago [4, 41, 46], developed recently and applied to detailed estimates of inflation parameters [23,24,25, 47,48,49,50,51]. In this paper we have extended this formalism to include a thermal noise. The thermal noise modifies the results on power spectrum. In principle, the method allows to calculate the inflationary parameters non-perturbatively for a larger class of potentials. In the lowest order of a perturbative expansion we have obtained a formula for the power spectrum which is just a sum of the density of thermal (proportional to \(\gamma ^{2}\)) and quantum fluctuations. The spectral index is an average of spectral indices of thermal and quantum fluctuations with the corresponding power spectra. The correction to the power spectrum is proportional to \(\gamma ^{2}\) (which is small for low temperature in the warm inflation models). The spectral index depends on the inflaton potential. It is measurable in observations [1]. Its value can give some information on the inflaton potential as well as on the friction in inflaton wave equation.