GENERATION OF COLORED NOISE

Similar documents
Handbook of Stochastic Methods

Handbook of Stochastic Methods

STOCHASTIC PROCESSES IN PHYSICS AND CHEMISTRY

LANGEVIN THEORY OF BROWNIAN MOTION. Contents. 1 Langevin theory. 1 Langevin theory 1. 2 The Ornstein-Uhlenbeck process 8

08. Brownian Motion. University of Rhode Island. Gerhard Müller University of Rhode Island,

Path integrals for classical Markov processes

Table of Contents [ntc]

State Space Representation of Gaussian Processes

Langevin Methods. Burkhard Dünweg Max Planck Institute for Polymer Research Ackermannweg 10 D Mainz Germany

Lecture 2: Open quantum systems

APPLICATION OF A STOCHASTIC REPRESENTATION IN NUMERICAL STUDIES OF THE RELAXATION FROM A METASTABLE STATE

CHAPTER V. Brownian motion. V.1 Langevin dynamics

Quasi-Stationary Simulation: the Subcritical Contact Process

Stochastic equations for thermodynamics

Colored extrinsic fluctuations and stochastic gene expression: Supplementary information

Lecture 1: Pragmatic Introduction to Stochastic Differential Equations

Low-Resistant Band-Passing Noise and Its Dynamical Effects

CONTROL SYSTEMS, ROBOTICS AND AUTOMATION Vol. XI Stochastic Stability - H.J. Kushner

Ordering periodic spatial structures by non-equilibrium uctuations

Introduction to nonequilibrium physics

Exact numerical simulation of the Ornstein-Uhlenbeck process and its integral

Brownian motion and the Central Limit Theorem

Turbulent Flows. U (n) (m s 1 ) on the nth repetition of a turbulent flow experiment. CHAPTER 3: THE RANDOM NATURE OF TURBULENCE

The dynamics of small particles whose size is roughly 1 µmt or. smaller, in a fluid at room temperature, is extremely erratic, and is

Stochastic Particle Methods for Rarefied Gases

A path integral approach to the Langevin equation

A Bayesian method for the analysis of deterministic and stochastic time series

Stochastic Behavior of Dissipative Hamiltonian Systems with Limit Cycles

M4A42 APPLIED STOCHASTIC PROCESSES

16. Working with the Langevin and Fokker-Planck equations

Lecture 1: Brief Review on Stochastic Processes

Theorem on the Distribution of Short Time Single Particle Displacements

5.74 Introductory Quantum Mechanics II

Multivariate Generalized Ornstein-Uhlenbeck Processes

Stochastic differential equation models in biology Susanne Ditlevsen

Lecture 12: Detailed balance and Eigenfunction methods

SPDEs, criticality, and renormalisation

Melting of Ultrathin Lubricant Film Due to Dissipative Heating of Friction Surfaces

Smoluchowski Diffusion Equation

HIGH FRICTION LIMIT OF THE KRAMERS EQUATION : THE MULTIPLE TIME SCALE APPROACH. Lydéric Bocquet

Article (peer-reviewed)

arxiv: v7 [quant-ph] 22 Aug 2017

ENGR352 Problem Set 02

Modelling across different time and length scales

Brownian Motion and Langevin Equations

Laplace Transform of Spherical Bessel Functions

arxiv: v1 [cond-mat.stat-mech] 6 Mar 2008

Turbulent Flows. g u

Andreas Kreisel. Institut für Theoretische Physik Johann Wolfgang Goethe Universität Frankfurt am Main. July,

From time series to superstatistics

Numerical method for solving stochastic differential equations with dichotomous noise

Example 4.1 Let X be a random variable and f(t) a given function of time. Then. Y (t) = f(t)x. Y (t) = X sin(ωt + δ)

IV. Covariance Analysis

F r (t) = 0, (4.2) F (t) = r= r a (t)

Introduction to Stochastic SIR Model

Effects of data windows on the methods of surrogate data

NPTEL

FRG approach to interacting fermions with partial bosonization: from weak to strong coupling

Statistical Mechanics of Active Matter

Solution of the Anderson impurity model via the functional renormalization group

Polynomial Chaos and Karhunen-Loeve Expansion

and Joachim Peinke ForWind Center for Wind Energy Research Institute of Physics, Carl-von-Ossietzky University Oldenburg Oldenburg, Germany

Are there plasminos in superconductors?

Efficient Leaping Methods for Stochastic Chemical Systems

Stochastic Volatility and Correction to the Heat Equation

Exact power spectra of Brownian motion with solid friction

Critical behavior of nonequilibrium phase transitions to magnetically ordered states

Complex system approach to geospace and climate studies. Tatjana Živković

arxiv:chao-dyn/ v1 9 Aug 1993

Nonlinear Brownian motion and Higgs mechanism

Symmetry Properties and Exact Solutions of the Fokker-Planck Equation

Stochastic Processes. A stochastic process is a function of two variables:

arxiv: v1 [cond-mat.stat-mech] 7 Mar 2019

A Functional Central Limit Theorem for an ARMA(p, q) Process with Markov Switching

ELEMENTS OF PROBABILITY THEORY

Lecture 4: Introduction to stochastic processes and stochastic calculus

Quantum Dissipation: A Primer

Appendix 1A: Mathematical Properties of Lévy Stable Distributions. Consider the random variable < X <. The probability of obtaining X in the small

Mesoscale Simulation Methods. Ronojoy Adhikari The Institute of Mathematical Sciences Chennai

04. Random Variables: Concepts

Critique of the Fox-Lu model for Hodgkin-Huxley fluctuations in neuron ion channels

The Truth about diffusion (in liquids)

Diffusion in Fluctuating Media: Resonant Activation

Reliability Theory of Dynamically Loaded Structures (cont.)

Stochastic Processes. M. Sami Fadali Professor of Electrical Engineering University of Nevada, Reno

Entropic forces in Brownian motion

Influence of noise on the synchronization of the stochastic Kuramoto model

ELEG 3143 Probability & Stochastic Process Ch. 6 Stochastic Process

A Short Introduction to Diffusion Processes and Ito Calculus

Brownian Motion: Fokker-Planck Equation

Comment about Didactical formulation of the

A Class of Fast Methods for Processing Irregularly Sampled. or Otherwise Inhomogeneous One-Dimensional Data. Abstract

A simple technique to estimate partition functions and equilibrium constants from Monte Carlo simulations

Noise-induced fronts

Lecture 12: Detailed balance and Eigenfunction methods

The correlation between stochastic resonance and the average phase-synchronization time of a bistable system driven by colour-correlated noises

Nonequilibrium dynamics and transport near the chiral phase transition of a quark-meson model

Transitions in a Logistic Growth Model Induced by Noise Coupling and Noise Color

arxiv:nucl-th/ v1 23 Feb 2007 Pion-nucleon scattering within a gauged linear sigma model with parity-doubled nucleons

Session 1: Probability and Markov chains

Transcription:

International Journal of Modern Physics C, Vol. 12, No. 6 (2001) 851 855 c World Scientific Publishing Company GENERATION OF COLORED NOISE LORENZ BARTOSCH Institut für Theoretische Physik, Johann Wolfgang Goethe-Universität Frankfurt Robert-Mayer-Str. 8-10, D-60054 Frankfurt am Main, Germany E-mail: bartosch@itp.uni-frankfurt.de Received 29 May 2001 Revised 12 June 2001 In this work, we describe a simple Markovian algorithm to generate a typical sample path of colored noise described by an Ornstein Uhlenbeck process. The algorithm works equally well to simulate a real or complex disorder potential with exponentially decaying covariance and higher correlation functions given by Wick s theorem. As an input, we only need independent Gaussian random numbers which can easily be generated by the well-known Box Muller algorithm. Finally, we discuss an alternative method which can also be used to generate non-gaussian colored noise. Keywords: Generation of Colored Noise; Ornstein Uhlenbeck Process. 1. Introduction Fluctuations of the relevant degrees of freedom in nonequilibrium statistical physics are usually taken into account by adding a stochastic force X(t) to the deterministic equations of motion. The prototype stochastic differential equation has the form: dv = a(v, t)+b(v, t)x(t). (1) dt Here, v(t) is the relevant variable of interest, which usually is a function of time, a and a(v, t) andb(v, t) are certain known functions, which depend on the specific problem at hand. Equation (1) is known as the Langevin equation 1,2 and can easily be generalized to a matrix equation. It was first introduced by Langevin to describe Brownian motion. 3 In the case of Brownian motion, the relevant variable v(t) is the velocity of a heavy particle of unit mass, a(v, t) α v is the dissipative force due to friction, and b(v, t)x(t) X(t) isanadditive random force. The fluctuating random force is often called noise and can be of different origin. Internal forces such as thermal fluctuations are usually assumed to be Gaussian a In condensed matter systems, however, the disorder is often considered to be stationary such that in one-dimensional systems, a space-coordinate can play the role of time. 851

852 L. Bartosch with very small correlation times τ. Since a finite expectation value X(t) = x can be incorporated into a(v, t), it is no restriction to assume X(t) =0, (2) where signifies averaging over the probability distribution of X(t). A Gaussian stochastic process with standard deviation σ and correlation time τ is characterized by the covariance: X(t)X(t ) = σ 2 e t t /τ, (3) and all higher moments given by Wick s theorem. This process is called the Ornstein Uhlenbeck process, 4 which by Doob s theorem (see for example van Kampen 2 ) is essentially the only stationary Gaussian Markov process. The white-noise limit may be taken by letting τ approach 0 while keeping the quantity D σ 2 τ constant. In this limit, the covariance becomes diagonal, such that disorder at different times is uncorrelated and X(t)X(t ) =2Dδ(t t ). (4) While the white noise limit usually leads to a good approximation of internal fluctuations, inthecaseofexternal fluctuations, the relevant variables can vary substantially over the correlation time τ. In this case, it is essential to consider colored noise, i.e., finite τ. Unfortunately, in most cases, the finite correlation time leads to a serious complication when trying to solve the Langevin equation. Techniques which turn out to be successful in solving the white noise limit can only be applied after coupling the stochastic equations of motion to an extra equation, which takes care of the finite correlation time. Often, the only way out lies in a numerical simulation of the stochastic process. It is therefore important to find a method to generate typical disorder realizations. In the following, we describe a very simple algorithm to generate a concrete sample path of the Ornstein Uhlenbeck process with finite correlation time τ, which can be useful in various applications. This algorithm can already be found in similar form in the mathematical literature on stochastic processes 5 and was also used in different physical situations such as the Kramers problem (see for example Refs. 6 and 7). For the generation of spatio-temporal colored noise, see Ref. 8. 2. Simple Algorithm to Generate Gaussian Colored Noise Independent Gaussian random numbers Z n with zero mean and unit variance can be generated by the Box Muller algorithm. 9,b The following recursive algorithm (which we will refer to as Algorithm I) maps these onto real correlated Gaussian b Note that the Box Muller algorithm needs a good number generator to generate independent uniformly distributed random numbers.

Generation of Colored Noise 853 Fig. 1. Sample path of X(t) withσ = 1 as a function of t/τ. random numbers X n X(t n ) at the sample points t n (t 0 <t 1 < <t N 1 )with X n =0and X m X n = σ 2 e tm tn /τ : X 0 = σz 0, (5) X n = ρ n X n 1 + 1 ρ 2 n σz n, (6) where the correlation coefficients ρ n are given by ρ n = e tn tn 1 /τ. Setting ρ 0 =0, Eq. (5) is also included in Eq. (6). A sample path generated by this algorithm is presented in Fig. 1. Using Z n =0and Z m Z n = δ mn, it is easy to see recursively from Eqs. (5) and (6) that the first two moments of X n are in fact given by X n = 0 and X m X n = σ 2 e tm tn /τ. Because the X n s are given by a linear combination of the Gaussian random variables X n and a linear combination can only turn one Gaussian distribution into another Gaussian distribution, 5 the X n s also have to be Gaussian random variables. Higher correlation functions are therefore given by Wick s theorem. 2 Obviously, the sample path in Fig. 1 is consistent with the above correlation functions: X n is centered around zero with variance Xn 2 σ2 =1,and for t n t m τ, wehave X n X m 0. It is also easy to generalize the above Algorithm I to a complex disorder potential. In this case, one would like to have X(t) =0, X(t)X (t ) = σ 2 e t t /τ and X(t)X(t ) = 0. Generating Re X n and Im X n independently as before, one sees that to get the desired correlation functions, in Eqs. (5) and (6), one has to replace σ by σ/ 2. Since X n =ReX n + i Im X n only depends linearly on Re X n and Im X n, the complex X n are also Gaussian random variables. 3. Non-Gaussian Colored Noise The above Algorithm I is very simple and proves to be successful in generating Gaussian colored noise. However, external fluctuations do not have to be Gaussian,

854 L. Bartosch and there might be a need to generate a typical chain characterized by different statistics. Let us now describe an algorithm based on an expansion of a stochastic process in terms of harmonic functions, 10 which in the following we will refer to as Algorithm II. If S(ω) represents the power spectrum of the stochastic process, a typical sample path may be generated for large N by (see Refs. 11 and 13): X(t) = N 1 2 [2S(ω n ) ω] 1/2 cos(ω n t + φ n ). (7) n=0 Here, the φ n are independent random phases, which are uniformly distributed over the interval (0, 2π), ω = ω max /N,whereω max is an upper cutoff of the noise spectrum, and ω n = n ω. Algorithm II has the advantage that it is applicable to an arbitrary given spectrum S(ω). In the case of Gaussian colored noise, the spectrum can be found by taking the Fourier transform of Eq. (3), resulting in: S(ω) = 1 σ 2 τ π 1+ω 2 τ 2. (8) In comparison to Algorithm I, which unfortunately only works to generate a sample path of an Ornstein Uhlenbeck process, Algorithm II has the disadvantage that for it to become accurate, both ω max and then N have to be chosen sufficiently large. Even when using a fast Fourier transform, which results in O(N log 2 N) operations, 9 this can lead to large computation times. In addition, the sample paths are always periodic with period 2πN/ω max, which can lead to further complications. For a more quantitative comparison between the two Algorithms, see the Comment by Manella and Palleschi 12 on Ref. 13. 4. Summary In summary, we have described a very simple algorithm to simulate a real or complex Ornstein Uhlenbeck process and an alternative algorithm, which is not restricted to generate Gaussian colored noise. When generating Gaussian colored noise, the advantage of the former in comparison to the latter is that it takes advantage of the Markov property of the Ornstein Uhlenbeck process: to generate X n, we only need to know X n 1. When numerically solving an initial value problem of a stochastic differential equation, the disorder may be simultaneously generated with the propagation of the desired solution. In addition, arbitrary long chains can be easily generated. We have used the described algorithm to generate the fluctuating order parameterfield (x) X(t) of the so-called fluctuating gap model (see Refs. 14 and 15). The above method enabled us to calculate the density of states for arbitrary correlation lengths ξ τ with unprecedented numerical accuracy. The algorithm, however, should be useful in all contexts, where there is a need to generate colored noise described by an Ornstein Uhlenbeck process. Acknowledgments I would like to thank Peter Kopietz and Nias Djonlagić for stimulating discussions.

Generation of Colored Noise 855 References 1. C. W. Gardiner, Handbook of Stochastic Methods for Physics, Chemistry, and the Natural Sciences (Springer-Verlag, Berlin, Heidelberg, 1983). 2. N. G. van Kampen, Stochastic Processes in Physics and Chemistry (North-Holland, Amsterdam, 1981). 3. A. Einstein, Ann. Phys. (Leipzig) 17, 549 (1905). 4. G. E. Uhlenbeck and L. S. Ornstein, Phys. Rev. 36, 823 (1930); reprinted in N. Wax, Selected Papers on Noise and Stochastic Processes (Dover Publications, New York, 1954). 5. W. Feller, An Introduction to Probability Theory and its Applications, Vol. II, 2nd edition (Wiley, New York, 1971). 6. R. F. Fox, I. R. Gatland, R. Roy, and G. Vemuri, Phys. Rev. A 38, 5938 (1988). 7. R. Manella and V. Palleschi, Phys. Rev. A 40, 3381 (1989). 8. J. García-Ojalvo, J. M. Sancho, and L. Ramírez-Piscina, Phys. Rev. A 46, 4670 (1992). 9. W. H. Press, B. P. Flannery, S. A. Teukolsky, and W. T. Vetterling, Numerical Recipes in C, 2nd edition (Cambridge University Press, Cambridge, 1992). 10. A. Einstein and L. Hopf, Ann. Phys. (Leipzig) 33, 1095 (1910). 11. J. Cacko, Random Processes: Measurement, Analysis and Simulation (Elsevier, Amsterdam, 1988). 12. R. Manella and V. Palleschi, Phys. Rev. A 46, 8028 (1992). 13. K. Y. R. Billah and M. Shinozuka, Phys. Rev. A 42, 7492 (1990). 14. L. Bartosch and P. Kopietz, Phys. Rev. B 60, 15488 (1999). 15. L. Bartosch, Ann. Phys. (Leipzig) 10, 799 (2001).