The Random Walk For Dummies

Similar documents
Random Models. Tusheng Zhang. February 14, 2013

Injections, Surjections, and the Pigeonhole Principle

Math 155 (Lecture 3)

Lecture 4 The Simple Random Walk

Lecture 2: April 3, 2013

PH 425 Quantum Measurement and Spin Winter SPINS Lab 1

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Lecture Overview. 2 Permutations and Combinations. n(n 1) (n (k 1)) = n(n 1) (n k + 1) =

Advanced Stochastic Processes.

Section 5.1 The Basics of Counting

Infinite Sequences and Series

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

Statistics 511 Additional Materials

Analytic Theory of Probabilities

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22

CALCULATION OF FIBONACCI VECTORS

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen)

PUTNAM TRAINING PROBABILITY

It is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function.

subcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016

Section 1.1. Calculus: Areas And Tangents. Difference Equations to Differential Equations

Chapter 6 Principles of Data Reduction

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Final Review for MATH 3510

IE 230 Seat # Name < KEY > Please read these directions. Closed book and notes. 60 minutes.

(b) What is the probability that a particle reaches the upper boundary n before the lower boundary m?

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

6.3 Testing Series With Positive Terms

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

Chapter 1 : Combinatorial Analysis

CIS Spring 2018 (instructor Val Tannen)

7.1 Convergence of sequences of random variables

Books Recommended for Further Reading

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

ECEN 644 HOMEWORK #5 SOLUTION SET

Counting Well-Formed Parenthesizations Easily

n outcome is (+1,+1, 1,..., 1). Let the r.v. X denote our position (relative to our starting point 0) after n moves. Thus X = X 1 + X 2 + +X n,

UNIT 2 DIFFERENT APPROACHES TO PROBABILITY THEORY

7.1 Convergence of sequences of random variables

Bertrand s Postulate

GG313 GEOLOGICAL DATA ANALYSIS

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

The standard deviation of the mean

The Binomial Theorem

4. Partial Sums and the Central Limit Theorem

18th Bay Area Mathematical Olympiad. Problems and Solutions. February 23, 2016

January 25, 2017 INTRODUCTION TO MATHEMATICAL STATISTICS

Probability and statistics: basic terms

Frequentist Inference

Analysis of Algorithms. Introduction. Contents

SEQUENCES AND SERIES

Properties and Tests of Zeros of Polynomial Functions

Sequences of Definite Integrals, Factorials and Double Factorials

Let us consider the following problem to warm up towards a more general statement.

Lecture 12: November 13, 2018

Math 105 TOPICS IN MATHEMATICS REVIEW OF LECTURES VII. 7. Binomial formula. Three lectures ago ( in Review of Lectuires IV ), we have covered

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Axioms of Measure Theory

Discrete probability distributions

Discrete Mathematics for CS Spring 2005 Clancy/Wagner Notes 21. Some Important Distributions

Physics 116A Solutions to Homework Set #1 Winter Boas, problem Use equation 1.8 to find a fraction describing

Measures of Spread: Standard Deviation

Product measures, Tonelli s and Fubini s theorems For use in MAT3400/4400, autumn 2014 Nadia S. Larsen. Version of 13 October 2014.

5. Likelihood Ratio Tests

Chapter 4. Fourier Series

Estimation for Complete Data

x a x a Lecture 2 Series (See Chapter 1 in Boas)

Section 11.8: Power Series

Topic 5: Basics of Probability

1 Generating functions for balls in boxes

Probability theory and mathematical statistics:

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 19

Worksheet on Generating Functions

Chapter 7 COMBINATIONS AND PERMUTATIONS. where we have the specific formula for the binomial coefficients:

Random Variables, Sampling and Estimation

The multiplicative structure of finite field and a construction of LRC

On Random Line Segments in the Unit Square

1 Approximating Integrals using Taylor Polynomials

Analysis of Experimental Measurements

Intermediate Math Circles November 4, 2009 Counting II

Optimally Sparse SVMs

Lecture 3: Catalan Numbers

Math 113 Exam 3 Practice

Machine Learning for Data Science (CS 4786)

Combinatorics and Newton s theorem

INFINITE SEQUENCES AND SERIES

End-of-Year Contest. ERHS Math Club. May 5, 2009

Math 61CM - Solutions to homework 3

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018)

Putnam Training Exercise Counting, Probability, Pigeonhole Principle (Answers)

Approximations and more PMFs and PDFs

Ma 530 Introduction to Power Series

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

Commutativity in Permutation Groups

SNAP Centre Workshop. Basic Algebraic Manipulation

The Binomial Theorem

Please do NOT write in this box. Multiple Choice. Total

The Riemann Zeta Function

Transcription:

The Radom Walk For Dummies Richard A Mote Abstract We look at the priciples goverig the oe-dimesioal discrete radom walk First we review five basic cocepts of probability theory The we cosider the Beroulli process ad the Catala umbers i greater depth Fially we determie the probability that, if a druk is foud agai at the bar, the this is his first retur visit Itroductio The radom walk has bee a topic of iterest i may disciplies, but it has bee of particular iterest i probability theory Ideed, every studet of probability theory has heard of the radom walk, especially i the form of a druk leavig a bar ad waderig aimlessly up ad dow the street Amog other issues, the followig four have bee ivestigated i oe, two, ad three dimesios: The expected positio x of the druk after steps The maximum positio x that the druk has reached after steps The expected time of the druk s last visit to The probability that the druk has t stumbled upo his ow path after steps These issues are discussed, for example, i Rota s book o probability [3] The oe-dimesioal discrete case is most widely kow because it is simple, yet illustrates may iterestig ad importat features I this paper, we treat this case of the first issue above Thus we aswer a basic questio: What is the probability that the druk is at a certai distace x, from the bar, after steps? I Sectio, we review five basic topics: the sample space, the biomial coefficiet, radom variables, the Beroulli process, ad Catala umbers I Sectio 3, we fid the probability distributio for the positio of the druk after steps I Sectio, we proceed to calculate the probability that the druk arrives at the bar for the first time after steps Fially, i Sectio 5, we determie the coditioal probability that the druk s first retur occurs o the th step give that he is ideed at the bar the; the formula is surprisigly simple The Basics I this sectio, we review five cocepts of probability theory, which we will use to study the radom walk of the druk First, a sample space Ω is defied to be the set of all possible outcomes of a experimet Cosider the coi toss as a example A sigle toss has two possible outcomes: heads H, or tails T ; thus Ω = {H, T } If we toss the coi twice, the there are differet possibilities; ow Ω = {T T, T H, HT, HH} Secod, the biomial coefficiet ( k) is defied to be the umber of k-combiatios of a -elemet set I other words, it is the umber of differet ways to pick k elemets out of The biomial coefficiet is give by the formula, ( )! = k ( k)! k! 3

MIT Udergraduate Joural of Mathematics This formula is proved i [, p 6] Third, a radom variable is defied to be a fuctio X that assigs to each elemet c, i the sample space of a experimet, oe ad oly oe real umber X(c) The sample space Ω of X is the set of real umbers x such that x = X(c) for some c i the sample space of the experimet This defiitio is foud i [, p ] Fourth, a Beroulli process is defied to be a sequece of radom variables X, X, X 3, Each X i records the outcome of a experimet modeled by the toss of a coi Let p equal the probability of gettig a head, ad q the probability of gettig a tail Sice these are the oly possible outcomes, p + q = Let X i be if the th trial yields a head, ad be if a tail Thus, the sample space Ω of a Beroulli process is the set of all possible sequeces of ad Fifth ad fially, the th Catala umber c couts certai arragemets of paretheses A well-formed arragemet is a list of paretheses where each ope parethesis ca be paired with a correspodig closed parethesis to its right The th Catala umber is the umber of such well-formed arragemets For example, whe = 3, the possible well-formed arragemets are ()()(), ()(()), (())(), (()()), ((())) Accordig to [, p 53], the th Catala umber c is give by the formula, c = ( ) + Thus, for example, the first six Catala umbers are,,, 5,, ad 3 How It All Ties I Suppose a druk leaves a bar ad walks aimlessly up ad dow the street, totally disorieted We model the street as a lie with the bar at the origi, ad assume that the druk takes uit steps, so we may record his positio with a iteger Thus, for example, if he takes 5 steps to the left, he will be at positio 5 We ow calculate the probability that the druk is at positio x after steps Assume that the druk s walk ca be modeled by a Beroulli process Say that the ith step is represeted by the radom variable X i A value of idicates a step to the left; a value of, a step to the right, so that G = X + X + + X gives the positio of the druk after steps We wat to kow the distributio of the radom variable G Deote the value of G by x Deote the umber of steps take to the right by r, the umber to the left by l The It follows that x = r l ad = r + l r = (x + ) ad l = ( x) Now, there are ( l) ways that l give steps ca occur amog total steps This is also the umber of ways of arrivig at the poit x, ad each way has probability p r q l Note that ad x must have the same parity because x = l We ca therefore coclude that the probability distributio at poit x is give by the formula,

The Radom Walk For Dummies 5 { ( ) P (G = x) = l p r q l, if x = mod ;, otherwise Cosider for example the case p = q = ; this is the case of the symmetric radom walk The probability P (G = x) of beig at positio x after steps is give i Table 3- This table is simply a pascal triagle iterspersed with s Table 3- The Symmetric Radom Walk \ x -5 - -3 - - 3 5 3 3 3 6 6 6 6 6 6 5 5 5 The probability distributio i this particular case is give by ( )( ) ( )/ P (G = x) = = l l Sice every path is equally likely i the symmetric radom walk, the probability ca be iterpreted purely combiatorially The probability is the umber of differet ways of arrivig at x divided by the size of the sample space The sample space is the set of all the possible paths of legth Sice the druk has two choices at each poit, ad he takes a total of steps, the total umber of possibilities is Takig a Step Further From ow o, we assume that the radom walk is symmetric; that is, p = What is the probability that the druk s first retur is at the th step? Here is where Catala umbers eter Observe that there is a oe-to-oe correspodece betwee paths ad arragemets of paretheses First, let a ope parethesis represet a step to the left, ad a closed parethesis a step to the right For ow, we cosider oly the case where the druk s first step is towards the left, sice the case to the right is clearly symmetric to it From Sectio, recall the defiitio of the Catala umber c : it is the umber of well-formed arragemets of paretheses Note that, for well-formed arragemets, the umber of ope paretheses is always at least that of closed paretheses, regardless of what first k parethesis we pick Because of the correspodece betwee paths ad arragemets, the Catala umbers cout the umber of paths that the druk ca take, which start ad ed at the bar, without ever crossig to the right side of the bar We ow adapt our correspodece to the problem of the druk s first retur The druk takes his first step to the left O the ext steps, we isist that the druk s path correspods to a well-formed arragemet so that at step he is at positio

6 MIT Udergraduate Joural of Mathematics without ever crossig to the right of The the fial step brigs the druk back ito the bar This couts the total umber of differet paths that the druk ca take give the coditio that the first retur be at the th step Summarizig, we have the followig sequece of steps: Step The druk takes oe step to the left The ext - steps The druk follows a path, which correspods to a well-formed arragemet, that restricts the druk to be either at poit or to the left of it, ad that forces him to be at after the ( )st step Step The druk s first retur visit occurs whe he takes oe step to the right ad ito the bar Hece, the umber of paths the druk ca take is simply the Catala umber c, sice the well-ordered restrictio applies oly to the middle steps We kow that the th Catala umber is equal to + ( ) So the ( )st Catala umber is simply ( ) Allowig the druk to take his first step to the right will double the total umber of paths that the druk ca take So the total is ( ) To compute the probability of first retur, we eed oly divide this quatity by the size of the total sample space The latter was see at the ed of Sectio 3 to be sice there are steps Therefore, the probability that the druk reaches the bar for the first time after steps is ( ) / So, for example, cosider the probability that the first retur is at Step = 6; this probablity is give by ( )/ 6 = 3 6 5 Coditioal Probability ad the First Retur We ow cosider a variat of the problem studied i the previous sectio: Give that the druk is at the bar at Step, what is the probability that this is his first retur visit? This problem is like the previous oe The oly differece is that the sample space has bee reduced Istead of cosiderig all of the possible paths, we ow cosider the total umber of paths give that, i the ed, the druk will be at the bar, which he may or may ot have passed by earlier

The Radom Walk For Dummies 7 To fid the probability that the druk will be at the bar after steps, we use the coclusios from Sectio 3 to obtai ( ) P (G = ) = p () q () Sice p = q =, this expressio becomes ( ) / The umerator i this expressio represets the umber of paths the druk ca take provided he is at the bar at the th step This is sample space we eed for the coditioal probability From Sectio, recall that, if the druk s first retur visit is o the th step, the the umber of paths that the druk ca take is ( ) O the other had, i Sectio 3, we foud the umber of paths that the druk ca take that put him back at the bar o Step ; this umber is simply ( ) Fially we divide these two umbers, gettig ( ) / ( ) = / ( )! ()! ( )!( )!!!, which simplifies to / ( ) = ( ) = The fial simplicity is amazig! The formula is just ad is uexpectedly simple! #(steps), Refereces [] Brualdi, R, Itroductory Combiatorics, Pretice-Hall, Third Editio, 999 [] Hogg, Robert V, Itroductio to Mathematical Statistics, Fifth Editio, 995 [3] Rota, G C, Probability Theory, Prelimiary Editio, 99

This page will be blak