SlideShare a Scribd company logo
Random walk
Dr. Anjali Devi J S
Assistant Professor (Contract Faculty) , Mahatma Gandhi University, Kerala.
Revision
• Random Experiment?
A process by which we observed something uncertain.
Example: Random Experiment- Toss a coin
Sample space{ Head, Tail}
• Random variable?
A numerical description or function of the outcome of a statistical
experiment.
• Random walk?
Random Walk- Applications
• Brownian motion
• Swimming of a E coli
• Polymer random coil
• Protein search for a binding site on DNA
Random motion of particles
What is Random walk?
• Radom walk is the process by which randomly- moving objects
wander away from where they started.
Brownian motion
Brownian motion of a big particle (dust particle) that collides with a large set of smaller particles (molecules of a
gas) which move with different velocities in different random directions.
2-dimensional random walk of a silver atom on
an Ag(111) surface
Simplest random walk is 1- dimensional walk
Suppose that the black dot below is sitting on a number
line. The black dot starts in the center.
1- dimensional Random walk…..
• Then, it takes a step, either forward or backward, with equal
probability. It keeps taking steps either forward or backward each
time.
• Let's call the 1st step a1, the second step a2, the third step a3 and so
on. Each "a" is either equal to +1 (if the step is forward) or -1 (if the
step is backward). The picture below shows a black dot that has taken
5 steps and ended up at -1 on the number line.
Random walk- Demonstration
x=0
x=-1 x=+1
Number of steps, N=0 Probability=1
Probability=1/2
N=1
N=2 x=-2 X=0 X=-2
Probability=1/3 2/3 1/3
N=3 x=-3 X=-1 X=+1 X=-3
Probability=1/4 2/4 2/4 1/4
Random walk
• At every step, object goes to right or left with probability ½
• There N steps, and 2 possible options at each step, so there are total
2N different possible paths.
• Note that every path has the same probability: (½)N
Random walk
• But we want to know the probability of object being at a certain
location after N steps.
• While every path has same probability, different ending locations has
different number of paths which lead to them.
Random walk- Demonstration
x=0
x=-1 x=+1
Number of steps, N=0 Probability=1
Probability=1/2
N=1
N=2 x=-2 X=0 X=-2
Probability=1/3 2/3 1/3
N=3 x=-3 X=-1 X=+1 X=-3
Probability=1/4 2/4 2/4 1/4
For N=2, there is only one path that leads to x=2
The position of object after N steps
• All paths are equally likely but we need to know the number of paths
that leads to object ending up at a particular value of x after N steps.
• The locations of the object after N steps is determined by ho many
steps it takes to the right , which we’ll call m, and how many it takes
to the left N-m
The position x of the object after these N steps is x =m-(N-m)=2m-N
Question
Find the position of foot ball which undergoes one dimensional
random walk after 10 steps. It is given that ball took 5 steps to right.
The position x of the object after these N steps is x =m-(N-m)=2m-N
Consider a drunkard whose motion is confined to the X-axis. For simplicity let us assume that
after every unit of time, he moves one step either to the right or to the left with probabilities p
and q respectively.
If he starts at the origin, how far his typical distance after N units of time have elapsed?
OR
What is the probability [PN(m)] that drunkard is at coordinate m?
Question
Answer
N=n1+n2
m =n1-n2
Let n1 be the number of steps to the right, n2 be the number of steps to left,
Answer (Contd)
Suppose we assume that drunkard has zero memory and that every step is completely
independent of the previous step and is only characterized by the probabilities p and q
The number of ways in which N steps can be composed of n1 right steps and n2 left
steps,
NCm
For each of these possibilities, probability is given by
pn1qn2
The overall probability of finding the drunkard at position m after N steps is,
PN(m)= NCmpn1qn2
PN(m)= NCmpn1qn2
n1=
N+m
𝟐
n2=
N−m
𝟐
On rearranging,
PN(m)=
𝑵!
𝒏𝟏! 𝑵−𝒏𝟏 !
𝒑𝒏𝟏𝒒𝑵−𝒏𝟏
Answer (Contd)
This is simply a binomial distribution
PN(m)=
𝑵!
𝒏𝟏! 𝑵−𝒏𝟏 !
𝒑𝒏𝟏𝒒𝑵−𝒏𝟏
Mean
The mean number of steps to the right is,
𝒏𝟏 =pN
The mean number of steps to the left is,
𝒏𝟐 =qN
Variance
The variance is given by,
𝜎𝑛1
2
= 𝑁𝑝𝑞
𝜎𝑛1 = 𝑁𝑝𝑞
The root mean square deviation is given by,
Unbiased Random walk
Random walk in the plane and space
Theorem
In the symmetric random walks in one and two dimensions there is probability
one that the particle will sooner or later (and therefore infinitely often) return
to initial position. In three dimensions, however, this probability is <1
Random walk: Notions and
notations
Epoch: A point on the time axis. A physical experiments may take some
time, but our ideal trials are timeless and occur at epochs.
𝑺𝟏, 𝑺𝟐,……. , 𝑺𝒏 -points on vertical x axis; they will be called the
positions of a particle performing a random walk
The event at epoch n the particle is at the point r will be denoted by
{𝑺𝒏 = 𝐫}
( Simply, we call this event as a “visit” to r at epoch n.)
For its probability 𝒑𝒏,𝒓
Random walk: Notions and
notations
The number 𝑵𝒏,𝒓 . 𝒐𝒇 𝒑𝒂𝒕𝒉𝒔 𝒇𝒓𝒐𝒎 𝒕𝒉𝒆 𝒐𝒓𝒊𝒈𝒊𝒏 to the point (n,r)
𝒑𝒏,𝒓=P {𝑺𝒏 = 𝐫} =𝑛𝐶𝑛+𝑟
2
2−𝑛
Random walk: Notions and
notations
A return to the origin occurs at epoch k if 𝑺𝒌 = 𝟎
Hence k necessarily even, and for k=2ν
The probability of return to the origin equals 𝒑2ν ,𝟎
Because of frequent occurrence of this probability , 𝒑2ν ,𝟎is
denoted as 𝒖2ν,𝒓
Random walk: Notions and
notations
𝑢2ν=2ν Cν2−2ν
First return to origin
A first return to origin occurs at epoch 2ν if
𝑆1 ≠ 0, … … . 𝑆2ν−1 ≠ 0, 𝑏𝑢𝑡 𝑆2ν = 0
The probability for this event will be denoted by 𝑓2ν
𝑓0=0
Basic Results
The Main Lemma
The probability that no return to the origin occurs up to and including epoch
2n is the same as the probability that a return occurs at epoch 2n.
In symbols,
P{𝑆1 ≠ 0, … … . , 𝑆2𝑛 ≠ 0}=𝑃{𝑆2𝑛 = 0}= 𝑢2𝑛
Lemma 1
Lemma 2
The Main Lemma
Basic Results
The probability that the first return to the origin (𝑓2𝑛) occurs at epoch 2n is
given by,
In symbols,
𝑓2𝑛 =
1
2𝑛 − 1
𝑢2𝑛
𝑢2𝑛 be the probability that the 2𝑛th trial
takes the particle to the initial position
Basic Results
Lemma(Reflection principle)
The number of paths from A to B which touch or cross the x axis equals
the number of paths from A’ to B.
The ballot theorem
Basic Results
Let n and x be positive integers. There are exactly
𝑥
𝑛
𝑁𝑛,𝑥 paths
(𝑠1, … … 𝑠𝑛 = 𝑥) from the origin to the point (n,x) such that
𝑠1>0,…. 𝑠1>0.
The theorem has received its name from the classical probability
problem: Ballot problem.
The ballot problem
In an election candidate A secures a votes and candidate B secures b votes.
What is the probability that A is ahead throughout the count?
P(A is ahead throughout the count)=
𝑁𝑎+𝑏
≠0
(0,𝑎−𝑏)
𝑁𝑎+𝑏(0,𝑎−𝑏)
=
𝑎−𝑏
𝑎+𝑏
Example:
If there are 5 voters, of whom 3 vote for candidate A
and 2 vote for candidate B, the probability that A will
always be in lead is,
1
5
Generating functions And Random walks
Recall, that if (𝑋𝑖) is independent and identically distributed, then
𝑆𝑛 = 𝑆0 +
𝑖=0
𝑛
𝑋𝑖
is a random walk
What is Generating functions?
• A generating function is an infinite series that has the ability to be
summed.
• These series act as filling cabinet where the information stored within
can be seen on the coefficient on 𝑧𝑛
𝐺 𝑎𝑛; 𝑧 =
𝑛=0
∞
𝑎𝑛𝑧𝑛
Probability Generating functions?
• A probability mass function is a list of probabilities for each possible
value the random variable can take on.
• These values can be extracted from special type of generating function
known as the probability generating function (p.g.f)
• The p.g.f is where the value of the coefficients on 𝑧𝑛
are the
probability the random variable takes the wanted value n.
Definition:Probability Generating functions
The probability generating function of the integer valued random variable
X is defined by
G(s)= 𝑘 𝑃 𝑋 = 𝑘 𝑠𝑘
Generating functions for random walk
If X has p.g.f G(z) then we have (when S0=0)
Gn(z)=E(𝑧𝑆𝑛)=(G(z))n
We can define the function H by
𝐻 𝑧, 𝑤 =
𝑛=0
∞
𝑤𝑛𝐺𝑛 𝑧 = (1 − 𝑤𝐺(𝑧))−1
This bivariate generating function tells everything about Sn
as P(Sn)=r is the coefficient of zrwn in 𝐻 𝑧, 𝑤
Further Reading
1. Elementary Probability, David Stirzaker,
Cambridge University Press.
2. Introduction to Probability Theory and Its
Applications, W. Feller (2nd Edn.), John
Wiley and Sons.

More Related Content

What's hot

statistic mechanics
statistic mechanicsstatistic mechanics
statistic mechanics
Dharmendrapresentation
 
Quantum Cryptography abstract
Quantum Cryptography abstractQuantum Cryptography abstract
Quantum Cryptography abstract
Kalluri Madhuri
 
Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)
MikeBlyth
 
THE HARTREE FOCK METHOD
THE HARTREE FOCK METHODTHE HARTREE FOCK METHOD
THE HARTREE FOCK METHOD
Premashis Kumar
 
4 stochastic processes
4 stochastic processes4 stochastic processes
4 stochastic processes
Solo Hermelin
 
Probability
ProbabilityProbability
Probability
mrraymondstats
 
Ising model
Ising modelIsing model
Ising model
Muhammad Usama Daud
 
Born–Oppenheimer Approximation.pdf
Born–Oppenheimer Approximation.pdfBorn–Oppenheimer Approximation.pdf
Born–Oppenheimer Approximation.pdf
Anjali Devi J S
 
Markov chain
Markov chainMarkov chain
Markov chain
Luckshay Batra
 
Brillouin zones newton sow
Brillouin zones newton sowBrillouin zones newton sow
Brillouin zones newton sow
Soundar Rajan
 
MAGNETOSTATICS
MAGNETOSTATICSMAGNETOSTATICS
MAGNETOSTATICS
Karthik Kathan
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
DataminingTools Inc
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
Ritwik MG
 
Markov chains1
Markov chains1Markov chains1
Markov chains1
Kinshook Chaturvedi
 
Evidences for covalent bonding in complexes
Evidences for covalent bonding in complexesEvidences for covalent bonding in complexes
Evidences for covalent bonding in complexes
Mithil Fal Desai
 
Classification of magnetic materials on the basis of magnetic moment
Classification of magnetic materials on the basis of magnetic momentClassification of magnetic materials on the basis of magnetic moment
Classification of magnetic materials on the basis of magnetic moment
Vikshit Ganjoo
 
Probablity ppt maths
Probablity ppt mathsProbablity ppt maths
Probablity ppt maths
neelkanth ramteke
 
Applications of schrodinger equation
Applications of schrodinger equationApplications of schrodinger equation
Applications of schrodinger equation
Zalman Ali
 
Maths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsMaths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectors
Jaydev Kishnani
 
Eigenvalues
EigenvaluesEigenvalues
Eigenvalues
Tarun Gehlot
 

What's hot (20)

statistic mechanics
statistic mechanicsstatistic mechanics
statistic mechanics
 
Quantum Cryptography abstract
Quantum Cryptography abstractQuantum Cryptography abstract
Quantum Cryptography abstract
 
Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)Logistic regression (blyth 2006) (simplified)
Logistic regression (blyth 2006) (simplified)
 
THE HARTREE FOCK METHOD
THE HARTREE FOCK METHODTHE HARTREE FOCK METHOD
THE HARTREE FOCK METHOD
 
4 stochastic processes
4 stochastic processes4 stochastic processes
4 stochastic processes
 
Probability
ProbabilityProbability
Probability
 
Ising model
Ising modelIsing model
Ising model
 
Born–Oppenheimer Approximation.pdf
Born–Oppenheimer Approximation.pdfBorn–Oppenheimer Approximation.pdf
Born–Oppenheimer Approximation.pdf
 
Markov chain
Markov chainMarkov chain
Markov chain
 
Brillouin zones newton sow
Brillouin zones newton sowBrillouin zones newton sow
Brillouin zones newton sow
 
MAGNETOSTATICS
MAGNETOSTATICSMAGNETOSTATICS
MAGNETOSTATICS
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Quantum computing
Quantum computingQuantum computing
Quantum computing
 
Markov chains1
Markov chains1Markov chains1
Markov chains1
 
Evidences for covalent bonding in complexes
Evidences for covalent bonding in complexesEvidences for covalent bonding in complexes
Evidences for covalent bonding in complexes
 
Classification of magnetic materials on the basis of magnetic moment
Classification of magnetic materials on the basis of magnetic momentClassification of magnetic materials on the basis of magnetic moment
Classification of magnetic materials on the basis of magnetic moment
 
Probablity ppt maths
Probablity ppt mathsProbablity ppt maths
Probablity ppt maths
 
Applications of schrodinger equation
Applications of schrodinger equationApplications of schrodinger equation
Applications of schrodinger equation
 
Maths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsMaths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectors
 
Eigenvalues
EigenvaluesEigenvalues
Eigenvalues
 

Similar to 1. Random walk.pdf

LET-Review-3-5.pptx
LET-Review-3-5.pptxLET-Review-3-5.pptx
LET-Review-3-5.pptx
CheeneeRivera
 
AIMA_ch3_L2-complement.ppt kjekfkjekjfkjefkjefkjek
AIMA_ch3_L2-complement.ppt kjekfkjekjfkjefkjefkjekAIMA_ch3_L2-complement.ppt kjekfkjekjfkjefkjefkjek
AIMA_ch3_L2-complement.ppt kjekfkjekjfkjefkjefkjek
pavan402055
 
In three of the exercises below there is given a code of a method na.pdf
In three of the exercises below there is given a code of a method na.pdfIn three of the exercises below there is given a code of a method na.pdf
In three of the exercises below there is given a code of a method na.pdf
feelinggift
 
Stat 2153 Stochastic Process and Markov chain
Stat 2153 Stochastic Process and Markov chainStat 2153 Stochastic Process and Markov chain
Stat 2153 Stochastic Process and Markov chain
Khulna University
 
Estimating the Evolution Direction of Populations to Improve Genetic Algorithms
Estimating the Evolution Direction of Populations to Improve Genetic AlgorithmsEstimating the Evolution Direction of Populations to Improve Genetic Algorithms
Estimating the Evolution Direction of Populations to Improve Genetic Algorithms
Annibale Panichella
 
PTSP PPT.pdf
PTSP PPT.pdfPTSP PPT.pdf
PTSP PPT.pdf
goutamkrsahoo
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
Shwetha Pejathaya
 
Deep learning and neural networks (using simple mathematics)
Deep learning and neural networks (using simple mathematics)Deep learning and neural networks (using simple mathematics)
Deep learning and neural networks (using simple mathematics)
Amine Bendahmane
 
Heuristic search
Heuristic searchHeuristic search
Heuristic search
Soheil Khodayari
 
CSE680-07QuickSort.pptx
CSE680-07QuickSort.pptxCSE680-07QuickSort.pptx
CSE680-07QuickSort.pptx
DeepakM509554
 
introduction-brownian-motion final
introduction-brownian-motion finalintroduction-brownian-motion final
introduction-brownian-motion final
K Thanh P Ng
 
Unit II PPT.pptx
Unit II PPT.pptxUnit II PPT.pptx
Unit II PPT.pptx
VIKASPALEKAR18PHD100
 
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptxGrade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
ErlenaMirador1
 
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptxGrade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
ErlenaMirador1
 
2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.
WeihanKhor2
 
Convex Hull Algorithm Analysis
Convex Hull Algorithm AnalysisConvex Hull Algorithm Analysis
Convex Hull Algorithm Analysis
Rex Yuan
 
Grovers Algorithm
Grovers Algorithm Grovers Algorithm
Grovers Algorithm
CaseyHaaland
 
Lecture5.pptx
Lecture5.pptxLecture5.pptx
Lecture5.pptx
ARVIND SARDAR
 
Discrete probability
Discrete probabilityDiscrete probability
Discrete probability
Ranjan Kumar
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
Ranjan Kumar
 

Similar to 1. Random walk.pdf (20)

LET-Review-3-5.pptx
LET-Review-3-5.pptxLET-Review-3-5.pptx
LET-Review-3-5.pptx
 
AIMA_ch3_L2-complement.ppt kjekfkjekjfkjefkjefkjek
AIMA_ch3_L2-complement.ppt kjekfkjekjfkjefkjefkjekAIMA_ch3_L2-complement.ppt kjekfkjekjfkjefkjefkjek
AIMA_ch3_L2-complement.ppt kjekfkjekjfkjefkjefkjek
 
In three of the exercises below there is given a code of a method na.pdf
In three of the exercises below there is given a code of a method na.pdfIn three of the exercises below there is given a code of a method na.pdf
In three of the exercises below there is given a code of a method na.pdf
 
Stat 2153 Stochastic Process and Markov chain
Stat 2153 Stochastic Process and Markov chainStat 2153 Stochastic Process and Markov chain
Stat 2153 Stochastic Process and Markov chain
 
Estimating the Evolution Direction of Populations to Improve Genetic Algorithms
Estimating the Evolution Direction of Populations to Improve Genetic AlgorithmsEstimating the Evolution Direction of Populations to Improve Genetic Algorithms
Estimating the Evolution Direction of Populations to Improve Genetic Algorithms
 
PTSP PPT.pdf
PTSP PPT.pdfPTSP PPT.pdf
PTSP PPT.pdf
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
 
Deep learning and neural networks (using simple mathematics)
Deep learning and neural networks (using simple mathematics)Deep learning and neural networks (using simple mathematics)
Deep learning and neural networks (using simple mathematics)
 
Heuristic search
Heuristic searchHeuristic search
Heuristic search
 
CSE680-07QuickSort.pptx
CSE680-07QuickSort.pptxCSE680-07QuickSort.pptx
CSE680-07QuickSort.pptx
 
introduction-brownian-motion final
introduction-brownian-motion finalintroduction-brownian-motion final
introduction-brownian-motion final
 
Unit II PPT.pptx
Unit II PPT.pptxUnit II PPT.pptx
Unit II PPT.pptx
 
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptxGrade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
 
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptxGrade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
Grade 10_Math-Lesson 2-3 Graphs of Polynomial Functions .pptx
 
2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.2 Review of Statistics. 2 Review of Statistics.
2 Review of Statistics. 2 Review of Statistics.
 
Convex Hull Algorithm Analysis
Convex Hull Algorithm AnalysisConvex Hull Algorithm Analysis
Convex Hull Algorithm Analysis
 
Grovers Algorithm
Grovers Algorithm Grovers Algorithm
Grovers Algorithm
 
Lecture5.pptx
Lecture5.pptxLecture5.pptx
Lecture5.pptx
 
Discrete probability
Discrete probabilityDiscrete probability
Discrete probability
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 

More from Anjali Devi J S

Classical & Quantum Statistics
Classical & Quantum StatisticsClassical & Quantum Statistics
Classical & Quantum Statistics
Anjali Devi J S
 
Phase diagram
Phase diagramPhase diagram
Phase diagram
Anjali Devi J S
 
Coordination complexes-bonding and magnetism.pdf
Coordination complexes-bonding and magnetism.pdfCoordination complexes-bonding and magnetism.pdf
Coordination complexes-bonding and magnetism.pdf
Anjali Devi J S
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
Anjali Devi J S
 
Probability
ProbabilityProbability
Probability
Anjali Devi J S
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
Anjali Devi J S
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
Anjali Devi J S
 
Computational Chemistry- An Introduction
Computational Chemistry- An IntroductionComputational Chemistry- An Introduction
Computational Chemistry- An Introduction
Anjali Devi J S
 
Gamma function
Gamma functionGamma function
Gamma function
Anjali Devi J S
 
Lagrange multiplier
 Lagrange multiplier Lagrange multiplier
Lagrange multiplier
Anjali Devi J S
 
Stirling's approximation
Stirling's approximationStirling's approximation
Stirling's approximation
Anjali Devi J S
 
Combinatorics
CombinatoricsCombinatorics
Combinatorics
Anjali Devi J S
 
Raman imaging -Anjali Devi J S
Raman imaging -Anjali Devi J SRaman imaging -Anjali Devi J S
Raman imaging -Anjali Devi J S
Anjali Devi J S
 
Dynamic Light Scattering Anjali Devi J S
Dynamic Light Scattering Anjali Devi J SDynamic Light Scattering Anjali Devi J S
Dynamic Light Scattering Anjali Devi J S
Anjali Devi J S
 
Anticancer ruthenium(ii) complexes - Anjali Devi J S
Anticancer ruthenium(ii) complexes - Anjali Devi J SAnticancer ruthenium(ii) complexes - Anjali Devi J S
Anticancer ruthenium(ii) complexes - Anjali Devi J S
Anjali Devi J S
 

More from Anjali Devi J S (15)

Classical & Quantum Statistics
Classical & Quantum StatisticsClassical & Quantum Statistics
Classical & Quantum Statistics
 
Phase diagram
Phase diagramPhase diagram
Phase diagram
 
Coordination complexes-bonding and magnetism.pdf
Coordination complexes-bonding and magnetism.pdfCoordination complexes-bonding and magnetism.pdf
Coordination complexes-bonding and magnetism.pdf
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Probability
ProbabilityProbability
Probability
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
 
Binomial distribution
Binomial distributionBinomial distribution
Binomial distribution
 
Computational Chemistry- An Introduction
Computational Chemistry- An IntroductionComputational Chemistry- An Introduction
Computational Chemistry- An Introduction
 
Gamma function
Gamma functionGamma function
Gamma function
 
Lagrange multiplier
 Lagrange multiplier Lagrange multiplier
Lagrange multiplier
 
Stirling's approximation
Stirling's approximationStirling's approximation
Stirling's approximation
 
Combinatorics
CombinatoricsCombinatorics
Combinatorics
 
Raman imaging -Anjali Devi J S
Raman imaging -Anjali Devi J SRaman imaging -Anjali Devi J S
Raman imaging -Anjali Devi J S
 
Dynamic Light Scattering Anjali Devi J S
Dynamic Light Scattering Anjali Devi J SDynamic Light Scattering Anjali Devi J S
Dynamic Light Scattering Anjali Devi J S
 
Anticancer ruthenium(ii) complexes - Anjali Devi J S
Anticancer ruthenium(ii) complexes - Anjali Devi J SAnticancer ruthenium(ii) complexes - Anjali Devi J S
Anticancer ruthenium(ii) complexes - Anjali Devi J S
 

Recently uploaded

aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
İsa Badur
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
RitabrataSarkar3
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
Aditi Bajpai
 
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptxBREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
RASHMI M G
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
IshaGoswami9
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Ana Luísa Pinho
 
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdfTopic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
TinyAnderson
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
Anagha Prasad
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
KrushnaDarade1
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
Texas Alliance of Groundwater Districts
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
University of Maribor
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
University of Maribor
 
20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx
Sharon Liu
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
MAGOTI ERNEST
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills MN
 
Nucleophilic Addition of carbonyl compounds.pptx
Nucleophilic Addition of carbonyl  compounds.pptxNucleophilic Addition of carbonyl  compounds.pptx
Nucleophilic Addition of carbonyl compounds.pptx
SSR02
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
PRIYANKA PATEL
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
Daniel Tubbenhauer
 

Recently uploaded (20)

aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
 
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptxBREEDING METHODS FOR DISEASE RESISTANCE.pptx
BREEDING METHODS FOR DISEASE RESISTANCE.pptx
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
 
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdfTopic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
 
20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
 
Nucleophilic Addition of carbonyl compounds.pptx
Nucleophilic Addition of carbonyl  compounds.pptxNucleophilic Addition of carbonyl  compounds.pptx
Nucleophilic Addition of carbonyl compounds.pptx
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
 

1. Random walk.pdf

  • 1. Random walk Dr. Anjali Devi J S Assistant Professor (Contract Faculty) , Mahatma Gandhi University, Kerala.
  • 2. Revision • Random Experiment? A process by which we observed something uncertain. Example: Random Experiment- Toss a coin Sample space{ Head, Tail} • Random variable? A numerical description or function of the outcome of a statistical experiment. • Random walk?
  • 3. Random Walk- Applications • Brownian motion • Swimming of a E coli • Polymer random coil • Protein search for a binding site on DNA Random motion of particles
  • 4. What is Random walk? • Radom walk is the process by which randomly- moving objects wander away from where they started.
  • 5. Brownian motion Brownian motion of a big particle (dust particle) that collides with a large set of smaller particles (molecules of a gas) which move with different velocities in different random directions.
  • 6. 2-dimensional random walk of a silver atom on an Ag(111) surface
  • 7. Simplest random walk is 1- dimensional walk Suppose that the black dot below is sitting on a number line. The black dot starts in the center.
  • 8. 1- dimensional Random walk….. • Then, it takes a step, either forward or backward, with equal probability. It keeps taking steps either forward or backward each time. • Let's call the 1st step a1, the second step a2, the third step a3 and so on. Each "a" is either equal to +1 (if the step is forward) or -1 (if the step is backward). The picture below shows a black dot that has taken 5 steps and ended up at -1 on the number line.
  • 9. Random walk- Demonstration x=0 x=-1 x=+1 Number of steps, N=0 Probability=1 Probability=1/2 N=1 N=2 x=-2 X=0 X=-2 Probability=1/3 2/3 1/3 N=3 x=-3 X=-1 X=+1 X=-3 Probability=1/4 2/4 2/4 1/4
  • 10. Random walk • At every step, object goes to right or left with probability ½ • There N steps, and 2 possible options at each step, so there are total 2N different possible paths. • Note that every path has the same probability: (½)N
  • 11. Random walk • But we want to know the probability of object being at a certain location after N steps. • While every path has same probability, different ending locations has different number of paths which lead to them.
  • 12. Random walk- Demonstration x=0 x=-1 x=+1 Number of steps, N=0 Probability=1 Probability=1/2 N=1 N=2 x=-2 X=0 X=-2 Probability=1/3 2/3 1/3 N=3 x=-3 X=-1 X=+1 X=-3 Probability=1/4 2/4 2/4 1/4 For N=2, there is only one path that leads to x=2
  • 13. The position of object after N steps • All paths are equally likely but we need to know the number of paths that leads to object ending up at a particular value of x after N steps. • The locations of the object after N steps is determined by ho many steps it takes to the right , which we’ll call m, and how many it takes to the left N-m The position x of the object after these N steps is x =m-(N-m)=2m-N
  • 14. Question Find the position of foot ball which undergoes one dimensional random walk after 10 steps. It is given that ball took 5 steps to right. The position x of the object after these N steps is x =m-(N-m)=2m-N
  • 15. Consider a drunkard whose motion is confined to the X-axis. For simplicity let us assume that after every unit of time, he moves one step either to the right or to the left with probabilities p and q respectively. If he starts at the origin, how far his typical distance after N units of time have elapsed? OR What is the probability [PN(m)] that drunkard is at coordinate m? Question Answer N=n1+n2 m =n1-n2 Let n1 be the number of steps to the right, n2 be the number of steps to left,
  • 16. Answer (Contd) Suppose we assume that drunkard has zero memory and that every step is completely independent of the previous step and is only characterized by the probabilities p and q The number of ways in which N steps can be composed of n1 right steps and n2 left steps, NCm For each of these possibilities, probability is given by pn1qn2 The overall probability of finding the drunkard at position m after N steps is, PN(m)= NCmpn1qn2 PN(m)= NCmpn1qn2
  • 17. n1= N+m 𝟐 n2= N−m 𝟐 On rearranging, PN(m)= 𝑵! 𝒏𝟏! 𝑵−𝒏𝟏 ! 𝒑𝒏𝟏𝒒𝑵−𝒏𝟏 Answer (Contd) This is simply a binomial distribution
  • 19. Mean The mean number of steps to the right is, 𝒏𝟏 =pN The mean number of steps to the left is, 𝒏𝟐 =qN
  • 20. Variance The variance is given by, 𝜎𝑛1 2 = 𝑁𝑝𝑞 𝜎𝑛1 = 𝑁𝑝𝑞 The root mean square deviation is given by,
  • 22. Random walk in the plane and space Theorem In the symmetric random walks in one and two dimensions there is probability one that the particle will sooner or later (and therefore infinitely often) return to initial position. In three dimensions, however, this probability is <1
  • 23. Random walk: Notions and notations Epoch: A point on the time axis. A physical experiments may take some time, but our ideal trials are timeless and occur at epochs. 𝑺𝟏, 𝑺𝟐,……. , 𝑺𝒏 -points on vertical x axis; they will be called the positions of a particle performing a random walk The event at epoch n the particle is at the point r will be denoted by {𝑺𝒏 = 𝐫} ( Simply, we call this event as a “visit” to r at epoch n.) For its probability 𝒑𝒏,𝒓
  • 24. Random walk: Notions and notations The number 𝑵𝒏,𝒓 . 𝒐𝒇 𝒑𝒂𝒕𝒉𝒔 𝒇𝒓𝒐𝒎 𝒕𝒉𝒆 𝒐𝒓𝒊𝒈𝒊𝒏 to the point (n,r) 𝒑𝒏,𝒓=P {𝑺𝒏 = 𝐫} =𝑛𝐶𝑛+𝑟 2 2−𝑛
  • 25. Random walk: Notions and notations A return to the origin occurs at epoch k if 𝑺𝒌 = 𝟎 Hence k necessarily even, and for k=2ν The probability of return to the origin equals 𝒑2ν ,𝟎 Because of frequent occurrence of this probability , 𝒑2ν ,𝟎is denoted as 𝒖2ν,𝒓
  • 26. Random walk: Notions and notations 𝑢2ν=2ν Cν2−2ν
  • 27. First return to origin A first return to origin occurs at epoch 2ν if 𝑆1 ≠ 0, … … . 𝑆2ν−1 ≠ 0, 𝑏𝑢𝑡 𝑆2ν = 0 The probability for this event will be denoted by 𝑓2ν 𝑓0=0
  • 28. Basic Results The Main Lemma The probability that no return to the origin occurs up to and including epoch 2n is the same as the probability that a return occurs at epoch 2n. In symbols, P{𝑆1 ≠ 0, … … . , 𝑆2𝑛 ≠ 0}=𝑃{𝑆2𝑛 = 0}= 𝑢2𝑛 Lemma 1
  • 29. Lemma 2 The Main Lemma Basic Results The probability that the first return to the origin (𝑓2𝑛) occurs at epoch 2n is given by, In symbols, 𝑓2𝑛 = 1 2𝑛 − 1 𝑢2𝑛 𝑢2𝑛 be the probability that the 2𝑛th trial takes the particle to the initial position
  • 30. Basic Results Lemma(Reflection principle) The number of paths from A to B which touch or cross the x axis equals the number of paths from A’ to B.
  • 31. The ballot theorem Basic Results Let n and x be positive integers. There are exactly 𝑥 𝑛 𝑁𝑛,𝑥 paths (𝑠1, … … 𝑠𝑛 = 𝑥) from the origin to the point (n,x) such that 𝑠1>0,…. 𝑠1>0. The theorem has received its name from the classical probability problem: Ballot problem.
  • 32. The ballot problem In an election candidate A secures a votes and candidate B secures b votes. What is the probability that A is ahead throughout the count? P(A is ahead throughout the count)= 𝑁𝑎+𝑏 ≠0 (0,𝑎−𝑏) 𝑁𝑎+𝑏(0,𝑎−𝑏) = 𝑎−𝑏 𝑎+𝑏
  • 33. Example: If there are 5 voters, of whom 3 vote for candidate A and 2 vote for candidate B, the probability that A will always be in lead is, 1 5
  • 34. Generating functions And Random walks Recall, that if (𝑋𝑖) is independent and identically distributed, then 𝑆𝑛 = 𝑆0 + 𝑖=0 𝑛 𝑋𝑖 is a random walk
  • 35. What is Generating functions? • A generating function is an infinite series that has the ability to be summed. • These series act as filling cabinet where the information stored within can be seen on the coefficient on 𝑧𝑛 𝐺 𝑎𝑛; 𝑧 = 𝑛=0 ∞ 𝑎𝑛𝑧𝑛
  • 36. Probability Generating functions? • A probability mass function is a list of probabilities for each possible value the random variable can take on. • These values can be extracted from special type of generating function known as the probability generating function (p.g.f) • The p.g.f is where the value of the coefficients on 𝑧𝑛 are the probability the random variable takes the wanted value n.
  • 37. Definition:Probability Generating functions The probability generating function of the integer valued random variable X is defined by G(s)= 𝑘 𝑃 𝑋 = 𝑘 𝑠𝑘
  • 38. Generating functions for random walk If X has p.g.f G(z) then we have (when S0=0) Gn(z)=E(𝑧𝑆𝑛)=(G(z))n We can define the function H by 𝐻 𝑧, 𝑤 = 𝑛=0 ∞ 𝑤𝑛𝐺𝑛 𝑧 = (1 − 𝑤𝐺(𝑧))−1 This bivariate generating function tells everything about Sn as P(Sn)=r is the coefficient of zrwn in 𝐻 𝑧, 𝑤
  • 39. Further Reading 1. Elementary Probability, David Stirzaker, Cambridge University Press. 2. Introduction to Probability Theory and Its Applications, W. Feller (2nd Edn.), John Wiley and Sons.