1 Introduction

Claiming that in theoretical physics expansions in terms of power series are common almost sounds like an understatement. The harmonic oscillator, interpreted as the result of a lowest-order expansion in potential energy, is of textbook caliber, both in classical and quantum mechanics [1,2,3]. Moreover, we may regard Newtonian mechanics in general as an expansion of the special theory of relativity to low orders in velocity [3]. The same applies to hydrodynamics [4] in the context of the general theory of relativity [5] to low orders in velocity and mass density. Besides, the central equation of hydrodynamics, the Navier-Stokes equation, employs a lowest-order expansion in the symmetrized velocity gradient for the terms associated with viscous stress [4]. Textbook electrodynamics mostly is restricted to terms linear in the electric and magnetic fields [6]. Several famous treatments of elasticity theory put a major emphasis on quadratic terms in the energy density [7]. In many of these situations, if nonlinearities are considered, they are added as higher-order terms in the notion of a power series. Other examples concern generalized hydrodynamics [8, 9] or expansions in actually not small quantities such as space dimension [10]. All these approaches have proven highly successful and have their justification.

Despite this triumph one should always keep in mind that power series expansions are only an approximation and, depending on the context, may fail. In our minimal example, we refer to the stochastic motion of a Brownian particle when subject to linear friction and a stochastic driving force. We address this situation in the framework of the Fokker–Planck equation [11,12,13,14].

On short time scales, motion, if not completely overdamped, is ballistic. Yet, it becomes diffusive on longer scales. That is, the mean squared displacement increases linearly in time. We calculate the mean squared displacement using a power series. There, the term linear in time vanishes, which appears as a contradiction to the linear increase. As it turns out, to solve this riddle, all higher-order contributions of the power series need to be taken into account as well. Together, they restore the linear increase in time in the long-term limit.

The remaining contents are as follows. In Sect. 2, we recall the underlying stochastic Langevin and, after rescaling, associated Fokker–Planck equations. We show in Sect. 3 that a lowest-order expansion in time fails to predict the linear, diffusive time dependence of the mean squared displacement. Subsequently, we demonstrate in Sect. 4 how the addition of all higher-order contributions restores this linear dependence. A simple comparison with numerical integration of the Langevin equations and the resulting expression of the diffusion coefficient confirm our solution, see Sect. 5. We conclude in Sect. 6.

2 Stochastic equations of motion

To keep our example as simple as possible, we address the stochastic motion of a single Brownian particle in one spatial dimension. There, we mark by x the space coordinate and by v the velocity. This leads us to the conventional Langevin-type equations of motion [15]

$$\begin{aligned} m\,\frac{\mathrm {d}v}{\mathrm {d}t}= & {} -\zeta \,v +\Gamma (t), \end{aligned}$$
(1)
$$\begin{aligned} \frac{\mathrm {d}x}{\mathrm {d}t}= & {} v, \end{aligned}$$
(2)

where t denotes time. Moreover, m is the mass of the Brownian particle and \(\zeta \) represents the coefficient of linear friction that always acts against the current direction of motion. \(\Gamma (t)\) corresponds to the stochastic force that the particle is exposed to at time t. As is common, we consider \(\Gamma (t)\) to be distributed according to a Gaussian form and \(\delta \)-correlated in time, so that \(\langle \Gamma (t)\rangle =0\) and \(\langle \Gamma (t)\Gamma (t')\rangle =2K\,\delta (t-t')\). Thus, K sets the strength of the stochastic force acting on the Brownian particle. Physically, thermal fluctuations provide the background of this stochastic force. Therefore, K is set by the fluctuation–dissipation theorem, that is, \(K=\zeta \,k_B T\), where \(k_B\) is the Boltzmann constant and T denotes temperature.

Through well-known procedures, Eqs. (1) and (2) are transformed to the associated Fokker–Planck equation [13,14,15]. After rescaling, we obtain in dimensionless form

$$\begin{aligned} \partial _t f = \left\{ \! -v\,\partial _x + \partial _v v + \partial _v^2\, \right\} f. \end{aligned}$$
(3)

Here, \(f=f(x,v,t)\) represents the probability distribution to find the particle at time t with velocity v at position x. Normalization implies \(\int _{-\infty }^{\infty }\mathrm {d}x\int _{-\infty }^{\infty }\mathrm {d}v \,f(x,v,t)=1\). We have rescaled x by \((Km/\zeta ^3)^{1/2}\), v by \((K/m\zeta )^{1/2}\), t by \(m/\zeta \), and f by \(\zeta ^2/K\), where the latter is necessary to maintain the normalization condition. Overall, there is no free parameter left in Eq. (3) so that our subsequent considerations apply to any Brownian particle.

Without loss of generality, we consider the Brownian particle to be located at time \(t=0\) at position \(x=0\). In this way, we specify as an initial condition for the probability distribution

$$\begin{aligned} f_0:=f(x,v,t=0)=\frac{1}{\sqrt{2\pi }}\mathrm {e}^{-\frac{1}{2}v^2}\delta (x). \end{aligned}$$
(4)

Again, \(\delta \) denotes the Dirac delta function. The exponential represents the equilibrium Boltzmann velocity distribution in our rescaled units.

3 Lowest order in time

We know that in the long term the mean squared displacement of a Brownian particle increases linearly in time. Thus, it is a tempting idea to expand the corresponding expression to lowest order in time and in this way determine the associated diffusion coefficient according to the relation \(\langle x^2\rangle =2Dt\).

Along these lines, we proceed via the formal solution of Eq. (3),

$$\begin{aligned} f=\mathrm {e}^{t\left( -v\,\partial _x + \partial _v v + \partial _v^2\right) }f_0. \end{aligned}$$
(5)

Thus, we find for the mean squared displacement

$$\begin{aligned} \langle x^2\rangle= & {} \int _{-\infty }^{\infty }\mathrm {d}x \int _{-\infty }^{\infty }\mathrm {d}v \, x^2\, \mathrm {e}^{t\left( -v\,\partial _x + \partial _v v + \partial _v^2\right) }f_0 \nonumber \\= & {} \int _{-\infty }^{\infty }\mathrm {d}x \int _{-\infty }^{\infty }\mathrm {d}v \, f_0\, \mathrm {e}^{t\left( v\,\partial _x - v\partial _v + \partial _v^2\right) }x^2, \end{aligned}$$
(6)

where we used partial integration to shift the exponential operator from \(f_0\) to \(x^2\) (see the “Appendix” for details).

In order to identify the lowest order in time t, we expand the exponential. To zeroth order in t, inserting Eq. (4), we obtain on the second line of Eq. (6)

$$\begin{aligned} \int _{-\infty }^{\infty }\mathrm {d}x \int _{-\infty }^{\infty }\mathrm {d}v \, f_0\,x^2 = 0, \end{aligned}$$
(7)

which results from the Dirac delta function in \(f_0\). Next, to first order in t, we might expect a nonvanishing contribution. After all, we know that the mean squared displacement in the end increases linearly in time. However, we find

$$\begin{aligned}&{ \int _{-\infty }^{\infty }{\mathrm {d}}x \int _{-\infty }^{\infty }{\mathrm {d}}v \, f_0\, {t\left( v\partial _x - v\partial _v + \partial _v^2\right) }x^2} \nonumber \\&\quad = \int _{-\infty }^{\infty }{\mathrm {d}}x \int _{-\infty }^{\infty }{\mathrm {d}}v \, f_0\,t\,2xv \nonumber \\&\quad = 0 \end{aligned}$$
(8)

which follows again by inserting Eq. (4). The mean squared displacement therefore does not increase linearly in time to lowest order. Instead, we find to second order in time t together with Eq. (4)

$$\begin{aligned}&{ \int _{-\infty }^{\infty }{\mathrm {d}}x \int _{-\infty }^{\infty }{\mathrm {d}}v \, f_0\, \frac{1}{2}{t^2\left( v\partial _x - v\partial _v + \partial _v^2\right) }^2x^2,} \nonumber \\&\quad =\frac{1}{2}t^2\int _{-\infty }^{\infty }{\mathrm {d}}x \int _{-\infty }^{\infty }{\mathrm {d}}v \, f_0\, \left( 2v^2-2xv\right) \nonumber \\&\quad =t^2. \end{aligned}$$
(9)

Thus, the lowest nonvanishing order of the mean squared displacement is quadratic in time, not linear. On the one hand, this is reasonable because it identifies the initial ballistic regime of motion for the Brownian particle, which later crosses over to diffusive motion. On the other hand, this triggers the question of how, then, at later times, can the motion become diffusive, that is, linear in time, if the linear term obviously vanishes?

4 Higher-order contributions

It turns out that, in order to answer this question, we need to calculate all higher-order contributions. To this end, we consider the power series expansion of the exponential

$$\begin{aligned} {\mathrm {e}}^{t\left( v\partial _x-v\partial _v+\partial _v^2\right) }x^2 = \sum _{n=0}^{\infty } \frac{1}{n!}t^n \left( v\partial _x\!-\!v\partial _v\!+\!\partial _v^2\right) ^nx^2.\nonumber \\ \end{aligned}$$
(10)

Applying the operator in brackets once to \(x^2\), we find for the nth term

$$\begin{aligned} 2\frac{1}{n!}t^n\left( v\partial _x-v\partial _v+\partial _v^2\right) ^{n-1}xv; \end{aligned}$$
(11)

twice, we find

$$\begin{aligned} 2\frac{1}{n!}t^n\left( v\partial _x-v\partial _v+\partial _v^2\right) ^{n-2} \left( v^2-xv\right) ; \end{aligned}$$
(12)

three times, we find

$$\begin{aligned} 2\frac{1}{n!}t^n\left( v\partial _x-v\partial _v+\partial _v^2\right) ^{n-3} \left( -3v^2+xv+2\right) ;\nonumber \\ \end{aligned}$$
(13)

four times, we find

$$\begin{aligned} 2\frac{1}{n!}t^n\left( v\partial _x-v\partial _v+\partial _v^2\right) ^{n-4} \left( 7v^2-xv-6\right) ; \end{aligned}$$
(14)

five times, we find

$$\begin{aligned} 2\frac{1}{n!}t^n\left( v\partial _x-v\partial _v+\partial _v^2\right) ^{n-5} \left( -15v^2+xv+14\right) ;\nonumber \\ \end{aligned}$$
(15)

six times, we find

$$\begin{aligned} 2\frac{1}{n!}t^n\left( v\partial _x-v\partial _v+\partial _v^2\right) ^{n-6} \left( 31v^2-xv-30\right) ;\nonumber \\ \end{aligned}$$
(16)

seven times, we find

$$\begin{aligned} 2\frac{1}{n!}t^n\left( v\partial _x-v\partial _v+\partial _v^2\right) ^{n-7} \left( -63v^2+xv+62\right) ;\nonumber \\ \end{aligned}$$
(17)

and so on. Thus, Eqs. (11)–(17) directly provide the results for the terms for \(n=1\)–7 by inserting these numbers, respectively.

Our claim from inspecting Eqs. (11)–(17) is that the nth term in the power series of Eq. (10) for \(n\ge 2\) is given by

$$\begin{aligned}&{2\frac{1}{n!}t^n\Big [ (-1)^{n-1}xv +(-1)^n\left( 2^{n-1}-1\right) v^2} \nonumber \\&\quad +(-1)^{n-1}\left( 2^{n-1}-2\right) \Big ]. \end{aligned}$$
(18)

We prove this claim by induction in that we apply once more the operator \(\left( v\partial _x-v\partial _v+\partial _v^2\right) \) to the term in square brackets in Eq. (18),

$$\begin{aligned}&{\left( v\partial _x-v\partial _v+\partial _v^2\right) \Big [ (-1)^{n-1}xv }+(-1)^n\left( 2^{n-1}-1\right) v^2\nonumber \\&\qquad +(-1)^{n-1}\left( 2^{n-1}-2\right) \Big ] \nonumber \\&\quad = (-1)^{n-1}v^2 +(-1)^n xv -2(-1)^n\left( 2^{n-1}-1\right) v^2 \nonumber \\&\qquad +2(-1)^n\left( 2^{n-1}-1\right) \nonumber \\&\quad =(-1)^{(n+1)-1}xv +(-1)^{n+1}\left( 2^{(n+1)-1}-1\right) v^2 \nonumber \\&\qquad +(-1)^{(n+1)-1}\left( 2^{(n+1)-1}-2\right) . \end{aligned}$$
(19)

This result equals the term in square brackets in Eq. (18) with n increased by 1, which completes the induction. Moreover, Eq. (18) for \(n=2\) leads to the same result as Eq. (12) for \(n=2\). Together, we have proven that Eq. (18) provides the correct result for terms \(n\ge 2\) in the power series of Eq. (10).

Summarizing, we find

$$\begin{aligned}&{ \mathrm {e}^{t\left( v\partial _x-v\partial _v+\partial _v^2\right) }x^2}\nonumber \\&\quad = x^2 + 2txv + 2\sum _{n=2}^{\infty }\frac{1}{n!}t^n \Big [ (-1)^{n-1}xv \nonumber \\&\qquad +(-1)^n\left( 2^{n-1}-1\right) v^2 \nonumber \\&\qquad +(-1)^{n-1}\left( 2^{n-1}-2\right) \Big ]. \end{aligned}$$
(20)

This expression is inserted into Eq. (6). Together with \(f_0\), we integrate it over x and v. Due to the form of \(f_0\), see Eq. (4), the integration of x and \(x^2\) yields 0. The integration of \(v^2\) together with \(f_0\) yields 1.

Combining Eqs. (4), (6), and (20), we therefore obtain

$$\begin{aligned} \langle x^2\rangle= & {} 2\sum _{n=2}^{\infty }\frac{1}{n!}t^n(-1)^n \Big [ 2^{n-1}-1-(2^{n-1}-2) \Big ] \nonumber \\= & {} 2\sum _{n=2}^{\infty }\frac{1}{n!}(-t)^n. \end{aligned}$$
(21)

In this expression, we identify the power series expansion of an exponential, except that the zeroth- and first-order contributions are missing. The latter observation is crucial. It takes us back to the result in Sect. 3 of vanishing linear order in time of the mean squared displacement. Now, however, we can resolve this issue.

Formally, we may provide the zeroth- and first-order contributions by adding them, if we directly subtract them again. In this way, we can reformulate the sum to an exponential form,

$$\begin{aligned} \langle x^2\rangle= & {} -2 +2t +2\sum _{n=0}^{\infty }\frac{1}{n!}(-t)^n \nonumber \\= & {} 2\left( t -1 +\mathrm {e}^{-t}\right) . \end{aligned}$$
(22)

Thus, introducing the exponential adds the term linear in time to the mean squared displacement.

This is our central result. It now does contain explicitly the linear dependence of the mean squared displacement on time, which identifies diffusive behavior. This is true particularly at elevated times when the exponential dependence has decayed towards zero. At short times, we again find the ballistic behavior \(\langle x^2\rangle \approx t^2\) to lowest order, as already identified in Sect. 3.

Interpreting Eq. (22) and the way that guided us towards it leads us to the following observation. The linear dependence on time of the mean squared displacement is not found as a low-order term from its power series expansion. Instead, in the power series expansion, the term linear in time initially vanishes, which may come as a bit of a surprise if one is used to working with power series expansions on a daily basis. Remarkably, however, all higher-order terms act together to restore the linear dependence. We have revealed this context in Eq. (22) by completing the power series expansion of the exponential function. Therefore, we note that all higher-order terms here are necessary and contribute to obtain the low-order linear dependence on time of the mean squared displacement.

5 Confirmation of our result

To briefly test our result in Eq. (22), we perform straightforward particle-based simulations of Eqs. (1) and (2), after rescaling them to dimensionless units. The values of the stochastic force are drawn from a random number generator [16] and cast to a Gaussian distribution [17]. We calculate the trajectories using simple Euler forward integration in time and a time step of \(\Delta t=0.001\). To obtain the mean squared displacement, we average over \(10^6\) particle trajectories.

Our results from the particle-based simulations are shown in Fig. 1 together with our functional form displayed in Eq. (22). Both approaches lead to identical curves, which verifies our calculation and interpretation.

Fig. 1
figure 1

Mean squared displacement for the motion of a Brownian particle. We compare the functional form obtained in Eq. (22) by analytical calculation from the Fokker–Planck equation (“FP”, solid line) involving all higher-order contributions with results from particle-based simulations of the Langevin representation (“L”, data points) in Eqs. (1) and (2). Both types of approach lead to identical curves

A final check concerns the diffusion coefficient D. Via the definition \(\langle x^2\rangle =2Dt\), we obtain from the term linear in time t in Eq. (22) the value \(D=1\) in rescaled units. Scaling the equation \(\langle x^2\rangle =2Dt\) back to dimensionful spatial positions x and times t, we find

$$\begin{aligned} D=\frac{k_BT}{\zeta }. \end{aligned}$$
(23)

This is the correct result according to the fluctuation–dissipation relation [15].

6 Conclusions

The main purpose of our work is to demonstrate on a very basic, illustrative example that expansions to given finite orders can lead to misleading results. Specifically, we address the mean squared displacement of an individual particle performing Brownian motion. We calculate this quantity in an analytical, yet unconventional way. To this end, the formal solution to the associated Fokker–Planck equation for the probability distribution in exponential form is employed.

Expanding this solution demonstrates that the low-order contribution linear in time vanishes. This observation contradicts our experience that the mean squared displacement for the diffusive behavior of Brownian particles does grow linearly in time. Remarkably, as we have demonstrated, we instead need to evaluate all higher-order contributions. Together, they to lowest order restore the linear time dependence characteristic for the diffusive behavior.

We briefly recapitulate the physical reason for the failure of reproducing the linear growth of the mean squared displacement in time by the low-order expansion. In our situation, we correctly identified the initial but transient ballistic behavior of the Brownian particle. It is this behavior at the earliest times that is associated with the lowest-order temporal terms, correctly identified on the smallest time scales of the problem. Thus, caution is generally appropriate when dealing with series expansions in situations or systems featuring transient initial or intermediate regimes. For clarity, we repeat that, in our investigation, we did not assume the dynamics of the Brownian particle to be completely overdamped. Instead, we kept the inertial contribution.

Our motivation behind this presentation is twofold. On the one hand, we wish to outline the unconventional way of calculating the mean squared displacement. Although a bit more complex, this route may open the possibility to calculate diffusion coefficients also in the context of stochastic motion under nonlinear friction [18,19,20,21,22,23,24,25]. On the other hand, we wish to stress, using this basic example, that we always need to scrutinize the strategies of solution that we apply. Depending on the context, this statement even applies to well-established and straightforward basic expansion techniques. In the present framework, we demonstrate how the initial question of vanishing linear order can be solved by including all higher-order contributions.