Lecture 1. Tutorial on Stochastic Processes
Back to WebsiteNotes/qsb2024/index
Ingredients:
Question:
what is
master equation
and then
configuration: position in a line (
transitions
we can write
solution with moment generating function
Introduce
to obtain
Assuming
The average reads
and the variance
The long term behavior can be obtained by expanding
which corresponds to
solution as sum of steps
In a time step
which can be rewritten as
where
After
where
Since all the
where
and
For small
and defining
By changing variable we then get
configuration: non-negative integers (
transitions
average
from which
and then
which is solved by
The probability dynamics is defined by
for
It is convenient to introduce the moment generating function
from which we get
we have
and
In order to solve, we must introduce the \textbf{MOMENT GENERATING FUNCTIONS} (for the pleasure of MM):
This is useful because now we can write an equation for g instead of P:
We separated the summation in two parts: the first, from one up to infinity behaves as previously derived, and the second accounts for
where:
Exploiting this trick we get:
Now let's analyze the blue term:
Now for the orange term:
In conclusion:
Putting everything together we obtain the partial differential equation:
We end up with the following equation:
In order to solve we need boundary conditions. In order to ensure that at time 0 the population is
which, in terms of g becomes:
Thus we have the system:
Given this LPDE we are interested into finding a solution, to do so we'll use the method of characteristics. This method consists into finding a surface into the variable space ((z,t)) such that our partial differential equation reduces into ordinary differential equations.
Now to do so we will introduce another variable (s) to parametrize this curve:
Lastly we must impose that the (s)-derivative is null this condition translates into:
Now there are infinite ways we can choose (s) to satisfy the previous equation. In this case we choose that:
Imposing these two conditions, I know I'm in a constant value of g. Now I want to solve the latter equation:
Using separation of variables:
By choosing
We have found a relation between (s) and (z). Now, exploiting the fact that
Rewriting the previous equation
Raising it to the
Let's now look at what we have in our hands. Starting from the least interesting, which is calculating the first moment:
The average at time t is equal to the behavior we expected for the population in the deterministic solution at the beginning!
By calculating the second moment we obtain that the variance is:
Recap: we are interested in the probability of having a population of n at time t, and we solved by introducing the moment generating function. Looking at the solutions, we obtained that the mean is equal to the deterministic result we had already obtained 2 months ago and that the variance is time-dependent. The main difference is given by the rate birth/death:
and the average is simply
Another quantity that is interesting to study is the probability that, at a given time, the population goes extinct, meaning
From the solution obtained above we get
As always, we want to take the limit for large times, and again separating the cases:
The largest is the initial population size, the faster the probability will decrease.
2. if
No matter how big is the population size, given a larger death rate than the birth rate the population will go extinct.
Let's consider a (large!) population growing with a stochastic growth rate
Population growth will be determined by
In order to simplify the notation here let's fix
which can be written as
from which we get
For large
where
and
Interesting observation:
So we have that for large
On the other hand
The average is dominated by unlikely events, and the average grows as
with
From the equations above it is easy to see that
follows a biased random walk
The continuous limit reads therefore
One can obtain the equivalent equation under Ito prescription
with