MCB111: Mathematics in Biology (Fall 2023)


week 09:

Random Walks in Biology

Preliminars

Present all your reasoning, derivations, plots and code as part of the homework. Imagine that you are writing a short paper that anyone in class should to be able to understand. If you are stuck in some point, please describe the issue and how far you got. A jupyter notebook if you are working in Python is not required, but recommended.

A more realistic Brownian motion that includes random steps in time

You are going to implement a more sophisticated 1D random walk than the one we discussed in class.

Particles emit from a fixed point, that we define as \(x=0\). When the particle moves, it does it either to the left with probability \(p=0.5\) or to the right with probability \(q = 1-p = 0.5\). Nothing new so far.

The difference is that instead of moving with the tick of a clock, the particle can wait in a given position for a while before making the next move. We are going to assume that the time a particle waits at a position \(i\), \(t_w^i\), follows a exponential distribution, that is,

\[P(t^i_w = t) = \frac{e^{-t/\lambda}}{\lambda}\]

where \(\lambda\) is the mean rate.

Hints