Random Walk on Circle Imagine a Markov process governing the random motion of a particle on a circular

Similar documents
The fundamental mass balance equation is ( 1 ) where: I = inputs P = production O = outputs L = losses A = accumulation

1 1 + x 2 dx. tan 1 (2) = ] ] x 3. Solution: Recall that the given integral is improper because. x 3. 1 x 3. dx = lim dx.

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

Week 1 Lecture 2 Problems 2, 5. What if something oscillates with no obvious spring? What is ω? (problem set problem)

Math 10B: Mock Mid II. April 13, 2016

(1) (2) Differentiation of (1) and then substitution of (3) leads to. Therefore, we will simply consider the second-order linear system given by (4)

Ordinary differential equations. Phys 750 Lecture 7

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

Chapter 2. First Order Scalar Equations

Then. 1 The eigenvalues of A are inside R = n i=1 R i. 2 Union of any k circles not intersecting the other (n k)

Math Week 14 April 16-20: sections first order systems of linear differential equations; 7.4 mass-spring systems.

Chapter 4. Truncation Errors

MATH 31B: MIDTERM 2 REVIEW. x 2 e x2 2x dx = 1. ue u du 2. x 2 e x2 e x2] + C 2. dx = x ln(x) 2 2. ln x dx = x ln x x + C. 2, or dx = 2u du.

Zürich. ETH Master Course: L Autonomous Mobile Robots Localization II

Space-time Galerkin POD for optimal control of Burgers equation. April 27, 2017 Absolventen Seminar Numerische Mathematik, TU Berlin

Chapter 3 Boundary Value Problem

Physics 127b: Statistical Mechanics. Fokker-Planck Equation. Time Evolution

THE SINE INTEGRAL. x dt t

THE MYSTERY OF STOCHASTIC MECHANICS. Edward Nelson Department of Mathematics Princeton University

4. Advanced Stability Theory

Math Wednesday March 3, , 4.3: First order systems of Differential Equations Why you should expect existence and uniqueness for the IVP

Nuclear Decay kinetics : Transient and Secular Equilibrium. What can we say about the plot to the right?

MATH 4330/5330, Fourier Analysis Section 6, Proof of Fourier s Theorem for Pointwise Convergence

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:

Solutions of Sample Problems for Third In-Class Exam Math 246, Spring 2011, Professor David Levermore

Math 2214 Solution Test 1B Fall 2017

Announcements: Warm-up Exercise:

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 1 Solutions

2.160 System Identification, Estimation, and Learning. Lecture Notes No. 8. March 6, 2006

Section 4.4 Logarithmic Properties

Continuous Time. Time-Domain System Analysis. Impulse Response. Impulse Response. Impulse Response. Impulse Response. ( t) + b 0.

AP Calculus BC Chapter 10 Part 1 AP Exam Problems

Stationary Distribution. Design and Analysis of Algorithms Andrei Bulatov

Section 4.4 Logarithmic Properties

An Introduction to Malliavin calculus and its applications

dy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page

Solutions from Chapter 9.1 and 9.2

23.5. Half-Range Series. Introduction. Prerequisites. Learning Outcomes

Solutions for homework 12

An random variable is a quantity that assumes different values with certain probabilities.

Modeling Economic Time Series with Stochastic Linear Difference Equations

THE BERNOULLI NUMBERS. t k. = lim. = lim = 1, d t B 1 = lim. 1+e t te t = lim t 0 (e t 1) 2. = lim = 1 2.

Finish reading Chapter 2 of Spivak, rereading earlier sections as necessary. handout and fill in some missing details!

Two Coupled Oscillators / Normal Modes

Chapter 4 The Fourier Series and Fourier Transform

10. State Space Methods

Lesson 3.1 Recursive Sequences

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k

Numerical Dispersion

u(x) = e x 2 y + 2 ) Integrate and solve for x (1 + x)y + y = cos x Answer: Divide both sides by 1 + x and solve for y. y = x y + cos x

f(s)dw Solution 1. Approximate f by piece-wise constant left-continuous non-random functions f n such that (f(s) f n (s)) 2 ds 0.

The expectation value of the field operator.

Hamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation:

Laplace transfom: t-translation rule , Haynes Miller and Jeremy Orloff

SZG Macro 2011 Lecture 3: Dynamic Programming. SZG macro 2011 lecture 3 1

THE 2-BODY PROBLEM. FIGURE 1. A pair of ellipses sharing a common focus. (c,b) c+a ROBERT J. VANDERBEI

Lecture 4: November 13

INSTANTANEOUS VELOCITY

Theory of! Partial Differential Equations!

k 1 k 2 x (1) x 2 = k 1 x 1 = k 2 k 1 +k 2 x (2) x k series x (3) k 2 x 2 = k 1 k 2 = k 1+k 2 = 1 k k 2 k series

Fractional Method of Characteristics for Fractional Partial Differential Equations

Laplace Transforms. Examples. Is this equation differential? y 2 2y + 1 = 0, y 2 2y + 1 = 0, (y ) 2 2y + 1 = cos x,

Comparison between the Discrete and Continuous Time Models

14 Autoregressive Moving Average Models

Hamilton- J acobi Equation: Explicit Formulas In this lecture we try to apply the method of characteristics to the Hamilton-Jacobi equation: u t

) were both constant and we brought them from under the integral.

Unit Root Time Series. Univariate random walk

Lecture 6: Wiener Process

Notes 04 largely plagiarized by %khc

Homework 10 (Stats 620, Winter 2017) Due Tuesday April 18, in class Questions are derived from problems in Stochastic Processes by S. Ross.

( ) 2. Review Exercise 2. cos θ 2 3 = = 2 tan. cos. 2 x = = x a. Since π π, = 2. sin = = 2+ = = cotx. 2 sin θ 2+

2.1: What is physics? Ch02: Motion along a straight line. 2.2: Motion. 2.3: Position, Displacement, Distance

The Arcsine Distribution

Mon Apr 9 EP 7.6 Convolutions and Laplace transforms. Announcements: Warm-up Exercise:

Outline. lse-logo. Outline. Outline. 1 Wald Test. 2 The Likelihood Ratio Test. 3 Lagrange Multiplier Tests

What Ties Return Volatilities to Price Valuations and Fundamentals? On-Line Appendix

Solutions to Assignment 1

EECE 301 Signals & Systems Prof. Mark Fowler

System of Linear Differential Equations

ψ ( t) = c n ( t) t n ( )ψ( ) t ku t,t 0 ψ I V kn

Data Fusion using Kalman Filter. Ioannis Rekleitis

APPLICATION OF CHEBYSHEV APPROXIMATION IN THE PROCESS OF VARIATIONAL ITERATION METHOD FOR SOLVING DIFFERENTIAL- ALGEBRAIC EQUATIONS

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

a. Show that these lines intersect by finding the point of intersection. b. Find an equation for the plane containing these lines.

DISCRETE GRONWALL LEMMA AND APPLICATIONS

6. 6 v ; degree = 7; leading coefficient = 6; 7. The expression has 3 terms; t p no; subtracting x from 3x ( 3x x 2x)

Math 2214 Solution Test 1A Spring 2016

Chapter 6. Systems of First Order Linear Differential Equations

ES.1803 Topic 22 Notes Jeremy Orloff

Math Final Exam Solutions

MA 214 Calculus IV (Spring 2016) Section 2. Homework Assignment 1 Solutions

on the interval (x + 1) 0! x < ", where x represents feet from the first fence post. How many square feet of fence had to be painted?

Applications of the Basic Equations Chapter 3. Paul A. Ullrich

Physics 180A Fall 2008 Test points. Provide the best answer to the following questions and problems. Watch your sig figs.

ENGI 9420 Engineering Analysis Assignment 2 Solutions

KEY. Math 334 Midterm I Fall 2008 sections 001 and 003 Instructor: Scott Glasgow

!!"#"$%&#'()!"#&'(*%)+,&',-)./0)1-*23)

Roller-Coaster Coordinate System

Economics 8105 Macroeconomic Theory Recitation 6

AP Calculus BC - Parametric equations and vectors Chapter 9- AP Exam Problems solutions

Transcription:

Random Walk on Circle Imagine a Markov process governing he random moion of a paricle on a circular laice: 1 2 γ γ γ The paricle moves o he righ or lef wih probabiliy γ and says where i is wih probabiliy 1 2γ.

Random Walk on Circle (cond.) The random walk can be defined as follows: p +1 (i) = N 1 j=0 p +1 (i j)p ( j) where (1 2γ) if i = j p +1 (i j) = γ if i = j ± 1 mod N 0 oherwise. and i, j {0,1,...,N 1}.

Random Walk on Circle (cond.) Because Markov processes are linear, he disribuion a ime +1 can be compued from he disribuion a ime by mari vecor produc: (+1) = P (). Because he random walk is shif-invarian, he ransiion mari P is circulan: (1 2γ) γ 0... 0 γ P = γ (1 2γ) γ... 0 0......... γ 0 0... γ (1 2γ)

Diffusion in he Frequency Domain Since P is circulan, i is diagonalized by he DFT: P = WΛW where he mari Λ conains he eigenvalues of P on is diagonal: λ 0 0 0... 0 Λ = 0 λ 1 0... 0........ 0 0 0... λ N 1

Diffusion in he Frequency Domain (cond.) Muliplying boh sides of his epression by W yields P = WΛW W P = W WΛW W P = ΛW W p 0 = Λw 0 where p 0 and w 0 are he firs columns of P and W. Since w 0 = 1 N and Λ is diagonal, i follows ha W (1 2γ) γ 0. 0 γ = 1 N = 1 N λ 0 0 0. 0 + 1 N λ 0 λ 1. λ N 1. 0 λ 1 0. 0 + + 1 N 0 0. 0 λ N 1

Diffusion in he Frequency Domain (cond.) We see ha he eigenvalues are N imes he DFT of P s firs column: λ m = γe j2πm 1 N + (1 2γ) + γe j2πm (N 1) N. Because (N 1) mod N and 1 = (N 1) mod N are conjugae frequencies e j2πm(n 1) N +e j2πm 1 N = 2cos ( 2πm (N 1) N I follows ha he eigenvalues of P are real. Since γ < 1/2 and ( ) (N 1) 0 < cos 2πm < 1 N for 0 < m < N 1, i follows ha λ 0 = 1 and 0 < λ m < 1 for m > 0. ).

Diffusion in he Frequency Domain (cond.) The updae equaion for he Markov process looks like his: (+1) = WΛW (). Because Λ is diagonal, higher powers of P are easy o compue: where Λ = P = WΛ W λ 0 0 0... 0 0 λ 1 0... 0....... 0 0 0... λ N 1. Significanly, given an iniial disribuion, (0), he disribuion a any fuure ime, (), can be compued by evaluaing: () = WΛ W (0).

Limiing Disribuion of Diffusion Process Taking he limi as goes o infiniy yields lim () = lim WΛ W (0) = lim ( N 1 λ mw m w H m m=0 ) (0) where H is conjugae ranspose. Since λ 0 = 1 and lim λ m = 0 for m 0 i follows ha lim () = w 0 w H 0 (0) = 1 N 1 because w 0 = 1 N 1, and n 1 n=0 n = 1. We see ha probabiliy mass is uniformly disribued among he sies in he ring.

Diffusion Equaion The following epression for P +1 in erms of P, P+1, and P 1 is ermed he maser equaion for he diffusion process: P +1 = P 2γP + γp 1 + γp +1 where 2γP is he probabiliy mass which leaves P in one sep and γp 1 + γp +1 is he probabiliy mass which eners P in one sep.

Diffusion Equaion (cond.) The above epression for = = 1 can be generalized for arbirary and by defining γ = D ( ) 2 : P + = P 2DP +DP }{{ ( ) } 2 ( ) + DP 2 + }{{ ( ) } 2 ou in where D is ermed he diffusion consan. Solving for ( ) P + P / yields: ( ) P + P / ) /( ) 2 = ( DP+ 2DP + DP = ( ) DP+ DP + DP DP /( ) 2

Diffusion Equaion (cond.) ( P + P ) / = D ( ) P+ P + P P /( ) 2 = D [ (P+ P ) ( )] P P /( ) 2 which can be rewrien as follows: P + P = D [ P + P P P ].

Diffusion Equaion (cond.) Taking he limi as = 0: ( ) P + P lim = 0 [ ( P+ P ) lim D ( ] P P ) 0 yields a parial differenial equaion (PDE): P = P D 2 2 which is known as he diffusion equaion.

Finie Difference Approimaion of P The value of he funcion, P, a he poin, (+,), can be epressed as a Taylor series epansion abou he poin, (,), as follows: P+ = P + P + ( )2 2 P, 2! 2 + O[( ) 3 ]., By rearranging he above, we derive he forward difference approimaion for P P+ P = P + O[ ].,,:

Backward Difference Approimaion of P The value of he funcion, P, a he poin, (,), can be epressed as a Taylor series epansion abou he poin, (,), as follows: P = P P + ( )2 2 P, 2! 2 + O[( ) 3 ]., By rearranging he above, we derive he backward difference approimaion for P,: P P = P + O[ ].,

Cenered Difference Approimaion of P P + ( )2, 2! P + = P + 2 P 2 + ( )3, 3! 3 P 3 +O[( ) 4 ], P = P P + ( )2 2 P, 2! 2 + ( )3, 3! 3 P 3 Subracing P from P + yields: P+ P = 2 P 2 ( )3 3! +, 3 P 3 + O[( ) 4 ]., +O[( ) 4 ],

Cenered Difference Appro. of P (cond.) This can be rearranged o yield he cenered difference approimaion for P P + P 2 = P + O[( ) 2 ]., : Noice ha he cenered difference approimaion is second order accurae.

Finie Difference Approimaion of 2 P 2 The value of he funcion, P/, a he poin, ( +,), can be epressed as a Taylor series epansion abou he poin, (,), as follows: P = P +, +, 2 P 2 + ( )2 3 P, 2! 3 + O[( ) 3 ]., Given he above we can derive he forward difference approimaion for 2 P 2, : P +, P, = 2 P 2 + O[ ].,

Finie Difference Appro. of 2 P 2 (cond.) For reasons of symmery, we approimae P +, and P, using backward differences: [ P ] + P P P = 2 P 2 + O[ ]., Combining erms yields he following epression for 2 P 2, : P+ 2P + P = ( ) 2 2 P 2 + O[ ].,

Diffusion Equaion (reprise) Applying he finie difference approimaions we ve derived o he diffusion equaion: P = P D 2 2 yields P + P ( P + = D 2P + P ( ) 2 which can be re-arranged o yield: P + P = D [ P + P P P which (we recall) is equivalen o he maser equaion: P 2DP ( ) 2 +DP P + = ( ) +DP 2 + ] ) ( ) 2.

Wave Equaion The parial differenial equaion governing wave moion is: 2 P = P 2 c2 2. 2 Applying he finie difference approimaions for 2 P 2, and 2 P 2, yields: P + 2P + P c 2 ( ) 2 Solving for P + updae formula: 2 [ 1 c 2 ( P + ) 2 ] ( P + 2P + P ( ) 2 gives he following = P + P +c 2 ( ). ) 2 ( P + + P ).

Firs Order in Time Unforunaely, his formula is secondorder in ime. To derive a formula which is firs-order in ime, we recall ha 2 P 2, = P,+ P, + O[ ]. P Replacing P,+ wih P + and using he resuling epression for 2 P 2, and a cenered difference approimaion for 2 P 2, in he wave equaion yields: P + P P, ( P c 2 + 2P + P ( ) 2 Muliplying boh sides by : P + P Ṗ c 2 ( P ( ) 2 + 2P + P ). ).

Firs Order in Time (cond.) Muliplying boh sides by again, and hen adding P and Ṗ o boh sides yields: P + P + Ṗ ) 2 ( ) P + 2P + P ( +c 2 which can be rearranged o give an updae equaion for P which is firs-order in ime: P + = [ ( ) ] 2 1 2c 2 P + Ṗ ( ) 2 ( +c 2 P + + P ).

Firs Order in Time (cond.) To derive an updae equaion for Ṗ which is also firs-order in ime, we once again begin wih 2 P P,+ P, 2, = + O[ ]. Using he above and a cenered difference approimaion for 2 P 2, in he wave equaion resuls in: P,+ P, ( P c 2 + 2P + P ( ) 2 ). Wriing Ṗ for P, yields he following updae equaion for Ṗ: Ṗ + = Ṗ +c 2 ( P ( ) 2 + 2P + P We observe ha he updae equaions for boh P and Ṗ are firs-order in ime. ).