Stochastic Processes: Basics
Transcript
In this video, I am going to cover Chapter 4 of my Stochastic Modeling book. That's the chapter about the basics of stochastic processes, including definition and examples of martingales and Markov chains. More precisely, here are the different topics we are going to cover in this video but also the next videos along with all the logical connections. As usual, in case you are interested in one specific part of this video, check out the description of the video or the
thumbnail of the video with the specific timings so you can jump directly to the part you are interested in. First, I am going to define the general concept of stochastic process and related notions that we call state space, sample path, and realization. In case your stochastic process evolves in time, which is the most typical type of stochastic process we see in practice, another important concept behind the notion of stochastic process is the concept of filtration. A filtration
is basically a sequence of sub-σ-algebras of F, that I am going to call G_n, and you can think of G_n as the amount of information you know at time n, so that's basically everything you learned from time 0 to time n. I am going to call that the σ-algebra of the past and present. This concept is important to define the notions of martingales and Markov chains. More precisely, a martingale, or also related processes called submartingales and supermartingales, are defined
from looking at the conditional expectation of the future given the σ-algebra of the past and present. That's how we define a martingale. The definition is a little bit dry but I am going to give you the intuition behind the definition and, using this intuition, you can often guess whether a process is indeed a martingale or not. Basically, you can think of a martingale as a stochastic process modeling a fair game. The concept of martingale was introduced by Paul Levy
but most of the early results in martingale theory were proved by Joseph Doob. Then, we will look at the concept of Markov chain. Like for martingales, Markov chains are defined from looking at the filtration but in combination not with the conditional expectation but with conditional probabilities. In particular, the process is defined by looking at conditional probabilities of typical events in the future, which is unknown/random, given the σ-algebra
of the past and present, which is known. That's how we define a discrete-time Markov chain. I am also going to give you some intuition behind the definition, and we will see that a Markov chain is basically a stochastic process that is memoryless, meaning that, to make predictions about the future of the process given past and present, you can only use the present information, you can forget the past. So, that's some kind of memoryless property. The concept of
Markov chain was introduced by Markov and many of the results in the field were proved by Kolmogorov also. Then after, I am going to look at different examples, the four examples here. For each of those four examples, we are going to check whether the stochastic process is or is not a martingale and/or a Markov chain. In particular, to check whether those processes are martingales and/or Markov chains, we need to use the techniques I covered in Chapter 2, in
particular about the conditional expectation of a random variable given a σ-algebra when this random variable is measurable with respect to the σ-algebra or independent of this σ-algebra. These are two important properties we saw in Chapter 2. That's those properties we are going to use today to check whether each of those four processes is a martingale or is a Markov chain. More precisely, the first example is just a sequence of independent coin flips of
a fair coin. The second example is a very popular stochastic process in probability theory called symmetric random walk, I am going to look at the symmetric random walk on the integers. The next one is called the betting random walk, that's some kind of nice variation of the symmetric random walk that is used to model games, like games at the casino. Then, the last example is something I am going to call the two-coin process, that's more or less the same as the
first process but using two biased coins instead of one fair coin. Those models are designed to show that the concepts of martingale and Markov chain do not imply each other but do not exclude each other either. In particular, among those four examples, one is both a Markov chain and a martingale, another one is a martingale but not a Markov chain, another one is a Markov chain but not a martingale, and the last one is going to be none of the two. That's to show you that
the four possibilities happen, and that's how those four examples are designed. That's going to conclude this video but I also have some connections with future videos so I can give you an overview of what we are going to do in the future. Chapter 5 is about martingales. Today, I am only going to give you the definition of a martingale and some examples of stochastic processes, and for those stochastic processes we are going to check whether we have a martingale or
not, but I am not going to cover all the properties of martingales. In Chapter 5, we are really going to look at all the properties of martingales, in particular the optional stopping theorem, upcrossing inequality, martingale convergence theorem, and all the convergence theory about martingales. Then, Chapter 6 is about Galton-Watson branching processes, those processes are important in biology, they model the dynamics of populations but they can be viewed as more
general invasion models that can be used outside the field of biology. We can think of Chapter 6 as an application of Chapter 5 in the sense that, to study those processes, you need to use results from martingale theory. So that's going to be an application of Chapter 5. Then, Chapter 7 is about discrete-time Markov chains. Same as for Chapter 5, I am not going to only give you the definition, we are going to look at all the theory of discrete-time Markov chains, including
recurrence/transience irreducibility positive recurrence, aperiodicity, the notion of stationary distribution, and all the convergence theory about this type of processes. That's going to be Chapter 7. Chapter 8 is about random walks, and exactly like Galton-Watson branching processes is an application of martingale theory, this chapter is going to be an application of Chapter 7. By random walk here, I don't mean just the symmetric random walk on the integers we are going to study
today, I mean really very general random walks that evolve on general connected graphs, and for those processes we are going to study the notions of recurrence/transience but also some interesting connection between those processes and electrical networks in physics. Then, Chapter 9 is about Poisson processes. The main three properties about Poisson processes but also Poisson point processes that I am also going to cover are the superposition property, the thinning property, and
the conditioning property. We are going to prove all those three things when we cover Chapter 9. Finally, Chapter 10 is the one about continuous-time Markov chains, and one important result we will see in this topic is the fact that, under some conditions, a continuous-time Markov chain can be viewed as the combination of a discrete-time Markov chain that keeps track of the sequence of states visited by the process and a collection of Poisson processes that keep track of
the times at which the process jumps. First, let's look at the definition of a stochastic process and the notion of filtration, and the intuition behind those two different notions. First, a stochastic process is just a collection of random variables X_i, all defined on the same probability space (Ω, F, P), so you have in the background a single probability space, and with values in a set S with its Borel σ-algebra. I want to point out that this collection is basically of the
form X_i for i belonging to a general set I. This set I can be anything, that can be finite, countable, uncountable, that can be a one-dimensional set or something in higher dimensions. Also, what do we mean by the Borel σ-algebra on the set S? At the very least, we need to assume that S is a topological space, in which case the Borel σ-algebra on S is going to be the σ-algebra generated by the open sets but, in general in practice, S is just a subset of R
in which case the Borel σ-algebra on this set is just the one generated by the intervals like we defined in Chapter 1. If S is finite or countable, is a finite or countable subset of R, in this case the Borel σ-algebra is just the set of all the possible subsets of S. That's what we mean by a stochastic process, that's any collection of random variables defined on the same probability space. Now, a few more definitions. The set Ω is called the set of realizations of
the process. In the case of probability theory, we say that Ω is the sample space and it corresponds to set of all the possible outcomes of an experiment. Now, instead of using the word outcome, we use the word realization, but outcomes and realizations are more or less the same thing. It's just the word we use in the context of stochastic processes. Next definition. This set S here is called the state space of the process. That's the set of all the possible states or
possible values those random variables can take. Then, a third definition that is kind of interesting is ... To motivate the definition, just look at really the definition of a stochastic process, that's a collection of, a very general collection of random variables or measurable functions. If you fix i ∈ I, then what you do is you extract from your process one single random variable. Another thing you can do (because they are all defined on the same set Ω) is, instead
of fixing an i ∈ I, you can fix an ω ∈ Ω. So you fix one realization, and in this case, if you look at the value of X_i but at all those points, instead of having a collection of measurable functions or random variables, you end up with a collection of elements in S. This collection is called a sample path, and sometimes I am going to use the word realization of the process instead of sample path just because to fix a sample path more or less what you have to do is
just fix a realization ω ∈ Ω. Each time you fix a realization, then implicitly you can look at the value of those functions at this realization ω, and you fix a sample path, so realizations induce sample paths, and so the two are related in this sense. Now, I want to point out that, when you write a numerical simulation of a stochastic process and you run your program, what you see, the output you see, is not strictly speaking the stochastic process, but these are
sample paths of the stochastic process. Now, if you run your program enough then you see a lot of sample paths or a lot of realizations of your process and that gives you a good idea of how your process behaves but strictly speaking you cannot see a stochastic process, you cannot visualize that, that's an abstract concept, that's a collection of measurable functions. When you run a program, the only thing you see are sample paths, not the stochastic process itself. Now, I want to
come back to this set I. I told you this set I can be anything but most of the time in practice the set I is going to be used to model a temporal structure. Eventually, instead of having a collection of random variables, you have a sequence of random variables indexed by basically a set with a total order, and you have something that evolves in time. But it's also possible that your set I is more general and some stochastic processes do not evolve in time. Examples of such
stochastic processes would be all kinds of random graphs. For instance, Erdos-Renyi graphs, scale-free networks, and so on, if you heard about that. A random graph or complex network is basically a static object, that's not something that evolves in time, but that a random structure that is obtained by looking at a collection of random variables, and so strictly speaking those mathematical objects are still stochastic processes even if they do not evolve in time. In
this video, I am going to only focus on things that evolve in time. Martingales and Markov chains are stochastic processes with a temporal structure. How do we use the set I to model a temporal structure? First, have in mind that for us, human beings, time is a one-dimensional thing, is a one-dimensional space, and time can only go in one direction. That means that if you take an i in I, and think of this i as time, then everything that is smaller than i would be interpreted as the
past, what happened ... or all the times before time i, but everything that is larger than i would be interpreted as the future, that is still random, and is still unknown. What I mean is that, because in our mind time is a one-dimensional space, and time can only go in one direction, we have this notion of past, present, and future. The only way you can have those notions of past, present, and future, is if you assume that I is a set equipped with a total order, in which you can
order the elements. So you indeed have the past, that is before, that is smaller than the future. In practice, we have two natural choices for I when we want to model evolution in time. I can be the set of nonnegative integers, in which case we have discrete time, what we call discrete time, or I can be the set of nonnegative real numbers, in which case we deal with continuous time. Discrete time means that now the possible times are 0, 1, 2, 3, and so on. So your stochastic process here
becomes, let's say X_n for n larger or equal to 0, integer, and so your process is basically a sequence X_0, X_1, X_2, and X_n in general represents the state of the process at time n. You can do the same in continuous time. Just assume that now, instead of a collection X_n where n is in this set, you ave something that we typically call Xt, where t is larger or equal to 0, and Xt represents the state of your process at time t, t can be any positive real number. Now, we have a total order
on those two sets, which means that we have the notion of past, present, future. If n in discrete time is the current time then every integer, nonnegative but smaller than n are interpreted as the past, and all the integers strictly larger than n will be interpreted as the future. In this video, I am going to focus on the discrete time case. That means in particular that I am only going to define the concepts of martingales and Markov chains in discrete time but you can define
the same classes of stochastic processes in continuous time, the definitions are basically the same. It's just that things are a little bit easier to conceptualize in discrete time. In case you have discrete time, something that evolves in discrete time, or at least in general that evolves in time, an important notion that you have in the background behind your notion of stochastic process is the notion of filtration. A filtration is defined as a nondecreasing sequence G_n of
sub-σ-algebras of F, and we are going to interpret, for each fixed n, we are going to interpret G_n as the information available at time n. Have in mind that if you see your process from time 0 to time n then the past is now known, you saw it, and it's fixed, it's deterministic. At the opposite, the future is unknown, that's the random part, that's the thing you don't know yet. So G_n basically just tells you that you know everything that happened between time 0 and time n
but you don't know the future. Of course, as time evolves, you accumulate more and more information. That's why we assume that a filtration is a nondecreasing sequence of σ-algebras, nondecreasing because as time evolves you know more and more, and so your σ-algebras contain more and more information, and they are larger and larger. Next definition. We say that the process X_n ... you see that this collection here, because now we assume that I = N, that becomes X_n for n an integer
larger or equal to 0, I am going to just write X_n for short like that, but this is a notation to say the collection or the sequence X_0, X_1, X_2, X_n, and so on. We say that the process X_n is adapted to the filtration G_n if, for all n, X_n is G_n-measurable. Remember in Chapter 2 we saw that X_n G_n-measurable means that if you know G_n then you know X_n. Based on that, the interpretation of X_n is adapted to G_n is the fact that the process itself is part of the
information available. If you know G_n, so everything you know up to time n, includes the evolution of the process or the sample path of the process from time 0 to time n. That's what it means that X_n is adapted to G_n. In practice, we don't use a very general filtration, in general we use something simpler, that's just what we call the natural filtration. The natural filtration is the sequence F_n of sub-σ-algebras of F and, in general, F_n is the σ-algebra generated by the random
variables X_1, X_2, up to X_n. Notice that, because this σ-algebra is generated by a bunch of random variables including X_n, that means that if you know F_n then you know X_n, so in particular any stochastic process is adapted to its natural filtration. That's one first observation. Notice also that F_n is indeed a filtration, these are sub-σ-algebras of F, and at each time step you add more random variables and so more information, so indeed this is a nondecreasing
sequence of sub-σ-algebras, and X_n is adapted to F_n. Notice also that by design the amount of information you put in F_n is exactly the information contained in the process, and so you can think of the natural filtration as the smallest possible filtration the process X_n is adapted to. That's typically the filtration we use in practice. Like I just explained, interpretation of the natural filtration: the natural filtration corresponds to the information
available when only the process is knows, you don't have any other process in the background running that is part of the information, the only thing you can observe is your process itself. Now, let's define the notion of martingales and related stochastic processes called submartingales and supermartingales. In the discrete-time setting, your process is like this, it's written like that, it's X_n. We say that the process X_n is a martingale with respect to a filtration G_n, so you
need a filtration in the background, if for all n, X_n is in L^1 so that means that all those random variables X_n are integrable, and the stochastic process X_n itself is adapted to the filtration G_n. Remember that what this means is that if you know G_n you know X_n, and another way to think of that is just to say that at time n you know what happened in the process, that means that at time n you know X_0, X_1, X_2, up to X_n. What happens in the
process is part of the information available. Very often in practice we say that X_n is a martingale without specifying the filtration. In this case, what we mean is that the process X_n is a martingale with respect to its natural filtration. When the filtration is not specified, we mean the natural filtration. The most important condition is the second one here in blue, that's the one we use to prove theorems/properties about martingales. It says that the expected value of
X_{n + 1} given G_n is equal to X_n for all n. What this means is that, regardless of what happened in this past including the present, what you can expect at the next time step is, on average, the same as what you see right now. So for this reason, that helps to think of X_n as the fortune of a gambler playing a fair game. I am going to display that. If you think of X_n as the fortune of a gambler playing a fair game, so martingale means fair game, then indeed you should have this
relationship. That means that, no matter what was your fortune at times 0, 1, 2, 3, up to time n, if you play the game one more time, and by n (time n) I mean the number of times you play the game, regardless of what happened in the past, of how your fortune evolved in the past, on average what you are going to have after playing the game one more time should be equal to the amount of money you have right now. So martingale means fair game. Of course, many stochastic processes in practice
are martingales and they do not model the evolution of the fortune if you play a fair game but still that helps to have this interpretation in mind to have a good intuition of the way the process is going to evolve. Let's look at that in a picture. Here I have the picture of the sample path of the process from time 0 to time n. That's basically what you know, that's the information you know at time n, assuming that G_n is just equal to the natural filtration. You don't have extra
information, you know exactly that. Saying that you have a martingale would mean that, on average, at the next time step, at time n + 1, you are going to be at the same level as here. That means that you have basically some mean zero increment. The part of the trajectory or sample path in black is basically what happened in the past, that's fixed, that's deterministic. The white here, all the white points are let's say all the possible futures, what can happen after you play again the
game one more time, and then what you want is that, on average, where you are going to end up is the same as X_n itself so the level of this black point here. That's what we mean by a martingale: fair game, mean zero increments. Now, let's define the notions of submartingales and supermartingales. Submartingales and supermartingales also satisfy the first property but the second property is relaxed. Instead of having "equal", for a submartingale you have a
"larger or equal to" and for a supermartingale you have a "less or equal to". So, same story as for martingales: you can think of submartingales and supermartingales as processes that keep track of your fortune if you play a game but in the case of submartingales the game is favorable because regardless of all the possible pasts, on average, what you are going to have at the next time step is larger or equal to X_n. At the opposite, a supermartingale is going to be a model for an
unfavorable game where you are more likely to lose than to win on average. Given all the possible pasts, the expected value of your fortune at the next time step is going to be less than what you have right now. Just one last comment. The reason we call those processes submartingale and supermartingale is because the notion of submartingale is related to the notion of sub-harmonic function while supermartingales are related to super-harmonic functions. Now,
let's look at the definition of a discrete-time Markov chain. Here is the definition. We say that the process X_n is a discrete-time Markov chain with finite or countable state space S (assuming that the state space is finite or countable is typical in practice for at least discrete-time Markov chains) if we have the following equation: the conditional probability that X_{n + 1} is in a set B given F_n is equal to the probability of the same event X_{n + 1} ∈ B given only X_n. This should
be true for all subsets B of the state space S. Notice that, because the state space S is finite or countable, any subset of S is going to be a Borel set. For this reason, X_{n + 1} ∈ B is indeed the pre-image of a Borel set by the random variable X_{n + 1}, which is measurable, and so this set here is indeed an event, so we can indeed look at the conditional probability of this event. This event, because B can be anything, is a typical event in the future, at time n + 1. What I mean by
that is that any event happening at time n + 1 must be of this form, must be of the form X_{n + 1} in the set B. What this equation tells you basically is that if you look at any possible event in the future, the probability that this event happens given that you know the past, all the past, and the present, is equal to the conditional probability of the same event but only given the present. What this means is that to estimate the probability of something happening in the future,
you do not need to know all the past, you only need to know the present, only the present is relevant. Eventually, the intuition behind the notion of discrete-time Markov chain, or even Markov chain in continuous time, is this notion of memoryless that we can express saying that the future of the process depends on the past only through the present, and another a little bit more fancy way to say the same thing is to say that, given the present, past and future are
independent. Again, that's this idea of memoryless. If you see the process from time 0 to time n, and you have knowledge of all that sample path of the process, to estimate the probability of something happening in the future you can just forget all the past and only remember the present. The process is going to forget the past and only have in mind the present. That's a good way to ... that's a good intuition behind the notion of Markov chain. Looking at again this definition and
the interpretation in a picture, I again have exactly like here let's say a sample path of the process from time 0 to time n. Let's assume that we are right now at time n, so all the black dots here is what we know, that represents basically this sub-σ-algebra F_n, that's our knowledge of the past. Then, what this property says is that, to estimate the probability of something happening in the future, so the probability that the process is going to jump here. Now the white dot is
unknown, that's only one possible future, then the probability that indeed we jump to this point depends only on our position at the current time, and you can just forget all the past of the process. That's the first interpretation. The second one, which is mathematically equivalent, says basically that assuming that you let the process evolve more and you have let's say a white trajectory in the future, then given only the state of the process at this time n then the black
part of your sample path excluding this point and the white part of the trajectory are both going to be independent, given that you know where you are at the current time n. Now, let's look at our four examples of stochastic processes starting from this sequence of independent coin flips. More precisely, the definition is here. I am going to call the process W_n. We start with a fair coin so that comes up with Heads or Tails with the same probability 1/2. We assume that consecutive coin
flips are also independent. The process is defined by just saying that, at each unit of time we flip the coin, if at time n we get Heads then we set W_n = +1, but if we get Tails then, at this time, W_n = -1. This process is not the most exciting because those random variables W_n are independent, which is a very strong assumption, but we can use this process later to generate the symmetric random walk on the integers and the betting random walk. The main objective now for
this process is to check whether this process is a martingale or a Markov chain. To prove those, we need to obviously use techniques that we saw in Chapter 2, looking at conditional expectation of a random variable given a σ-algebra, and decomposing basically this random variable in the future as a part that is fully known, so completely in the past or present, and a part that is completely unknown, independent of past and present. That's the typical technique we use
to prove that a stochastic process is a martingale or a Markov chain. Let's look at first whether this process is a martingale. Without doing any calculations, intuitively, it does not matter what were the outcomes of the coin flips between time 1 and time n, the next coin flip will be on average zero. Because regardless of the past, and even the present, at each time step you get +1 or -1 with the same probability 1/2 so the expected value of W_n is zero. And clearly,
the future does not even depend on past or present because the coin flips are independent. So what we expect is that, given the past and the present, the conditional expectation of W_{n + 1}, at the next time step in the future, should be equal to zero. But W_n is never equal to zero. That can be larger, equal to +1, or smaller, equal to -1, which suggests that W_n is in fact not a martingale. It's in fact not either a submartingale or a supermartingale, and the proof
is here. That's just again using basic properties that we saw in Chapter 2. What we are using is the fact that W_{n + 1} and F_n are independent. Why is that? F_n is the filtration and so, for this particular n, F_n is going to be the σ-algebra generated by W_1, W_2, and so on, up to W_n. But all those random variables are independent by assumption. This means that W_{n + 1} is independent of W_1, W_2, ..., W_n, so W_{n + 1} is independent of F_n. Using techniques that we saw in Chapter 2, that
say that basically the conditional expectation of a random variable given a σ-algebra is just equal to the unconditional expectation of this random variable if the random variable and the σ-algebra are independent. Using this property, we can write that the expected value of W_{n + 1} given F_n is just equal to the expected value of W_{n + 1}. Basically, F_n does not give any information about what's going to happen at the next coin flip. So this is just equal to expected
value of W_{n + 1}, and clearly this is equal to zero, because you get +1 or -1 with the same probability 1/2, and obviously that's not larger or smaller than W_n, W_n can be +1 or -1. So conclusion: this process W_n is not a martingale. Even if this is a very basic example, that's important because what we will see in the future is the fact that if a process is a martingale then, by using basic properties of the conditional expectation, you can prove that the
expected value of your process should be constant. But this provides a counter-example showing that the converse is not true. It's possible that a stochastic process has a constant expected value, that's the case here, expected value of W_n is always equal to zero, and still the process is not a martingale. Next step. Is it a Markov chain or not? Well, the answer is yes. In fact that's a degenerate case of Markov chain in the sense that, given the past and the present,
the future does not even depend on the present because things again are fully independent. So given past and present, the probability of events in the future are equal to the unconditional probability even if you do not know the present, and so that gives you a case of Markov chain this time but that's a degenerate case where your conditional probability does not even depend on W_n in this case. And the proof is about the same as here. We again use independence to say that
the probability of W_{n + 1} = 1 given F_n is equal to the unconditional probability, probability that W_{n + 1} = 1. For that, I am using the fact that this event is W_{n + 1} measurable but W_{n + 1} is independent of F_n so this event and all events in F_n are independent. Property of the conditional probability given a σ-algebra tells us that this conditional probability is just equal to the unconditional probability. But clearly the probability that W_{n + 1} = 1, which is
by the way a typical event in the future, you have this one or equal to -1, the proof for = -1 is exactly the same, the probability that W_{n + 1} = 1, that's exactly the probability that you flip the coin and get Heads, which is 1/2, so you get this 1/2. But then using the exact same reasoning, you can also say that the probability that W_{n + 1} = 1 given W_n, because W_{n + 1} and W_n are independent, by assumption, that's a very strong assumption, in this case you have
also that this conditional probability is equal to the unconditional probability that W_{n + 1} = 1, which is also equal to 1/2. So eventually, you get that the probability of a typical event in the future, at the next time step, given F_n, is equal to the probability of the same event but given only W_n. Conclusion: we have a Markov chain. So this example shows in particular that Markov does not imply martingale. Now, let's look at our second example: the symmetric random walk
on the integers, that we are going to study further when we cover Chapter 8. I am now going to call the process X_n, and you can think of X_n as the position of a particle at time n that jumps right or left with the same probability 1/2. Here, I have a picture of the integers. What this means is that if your particle is here at time n then, at the next time step, that's going to be on the right with probability 1/2 or on the left with probability 1/2. That's just the way
the process is defined. Here are some examples of realizations or sample paths of the process. You have three of them with three different colors. Here, time goes from time 0 to time 400, and each of those random walks or particles start at position 0. Each time you go up here that means that you increase the position so that corresponds to a jump to the right, while when the trajectory goes down that corresponds to a jump to the left. The way you can simulate this
process is basically by starting at 0 and flipping a fair coin. You flip a fair coin. Each time you get Heads, you go up, each time you get Tails, you go down. Or in the picture where you have the particle on the horizontal line, that means that each time you flip the coin and get Heads, you move the particle to the right, each time you flip the coin and you get Tails, you move the particle to the left. So another way to visualize the process is just by replacing those
probabilities 1/2 1/2 by Heads and Tails by using the same fair coin as in the first example. That's what I mean by: you can generate this process X_n by using the previous process that we studied already W_n. In fact, you can in general write your process X_n that way. X_n can be written as, or is equal in distribution to X_0, the initial position of the particle plus W_1 + W_2, and so on, up to W_n. That's the way you can generate the process. You start from position X_0,
you flip your fair coin, if you get Heads then your W_1 = +1, which means that time 1 your particle is at position X_0 + 1, or you can also get Tails, which probability 1/2, in which case your W_1 = -1 and the position of the particle at time 1 is going to be the initial position -1. And you can keep flipping the coin and, at each time step, that's going to give you the increment, whether the particle goes to the right or to the left. Having this in mind is going to
be important to eventually check whether this process is martingale or a Markov chain. Before doing any calculations, let's think of whether it's a martingale intuitively, without using any math. Have in mind that I told you: a martingale models a fair game. And now you have a fair coin. In this case, we had a fair coin but we don't really keep track of the amount of money you have if you play a fair game. We just keep track of the coin flips. While here you can rethink of
your process as indeed the fortune of a gambler playing a fair game. You can think of X_0 as the amount of money you have if you go to the casino, when you go to the casino. And then the game you are going to play consists in flipping a fair coin, this coin. Each time you get Heads, you win $1, each time you get Tails, you lose $1. That's indeed a fair game, and this process X_n, instead of looking at it as the position of a particle, you can rethink of this process as the amount of
money you have if you play this fair game. So it seems that intuitively the answer to martingale should be yes. This process is a martingale. This is only the intuition. The way you prove that indeed this is a martingale is by using this decomposition. Remember that we saw in Chapter 2 that the conditional expectation of a random variable given a σ-algebra is difficult to compute if your random variable is not measurable with respect to this σ-algebra or is not
independent. You are in none of those two extreme cases, and so we don't really know what to do. But I also told you that the way you solve the problem typically is by writing your random variable as a sum or product (if possible) of a part that is fully known, measurable with respect to the σ-algebra, and a part that is independent of your σ-algebra. And that's what we can do in this case. That's hidden behind this expression. Why is that? To check whether we
have a martingale, we need to look at a quantity like that: expected value of X_{n + 1} given F_n. Now, what is X_{n + 1}? X_{n + 1} is obtained from X_n by adding W_{n + 1}. So if you write X_{n + 1} as X_n + W_{n + 1}, you indeed have ... like X_{n + 1} written as a sum X_n, that is F_n measurable by definition (at time n you know X_n) and W_{n + 1} that is indeed independent of F_n. That's what we already had here: W_{n + 1} is independent of F_n. So now the F_n I am using here
that's the one generated by this process, not W_n, but still if you know X_0, X_1, up to X_n, this is not going to give you any information about the outcome of the next coin flip. By using this decomposition, you can indeed prove that the process is a martingale, and here is the proof. You just start with the conditional expectation you are interested in, you look at E (X_{n + 1} | F_n), you rewrite X_{n + 1} using this expression, you see
that X_{n + 1} is of the same form but plus W_{n + 1} so that tells you that X_{n + 1} = X_n + W_{n + 1}. Using the fact that the conditional expectation is linear, you can rewrite this expected value/conditional expectation of the sum as the sum of the conditional expectations. But then E (X_n | F_n) is just equal to X_n, you are in the case of perfect information, if you know F_n you know X_n. And another part that is E (W_{n + 1} | F_n). We already proved before that by independence that's
expected value of W_{n + 1} which is 0. And so eventually you can rewrite your conditional expectation as X_n that you know plus an increment, the expected value of an increment that you do not know at all, independent of the past and the present, expected value of W_{n + 1} but this is 0 and so you get that this is equal to X_n, so indeed we have a martingale. The conditional expectation of the future given past and present is equal to the value at the current
time. So we have a martingale. Now, is it Markov or not? Again you can use your intuition to see whether it's indeed Markov or not. Just look at this picture. It's clear that whether you are going to be at this integer or at this integer at time n + 1 depends on whether you are here or somewhere else at time n. What matters is the position of the particle at time n. If you know the position of the particle at time n, you can say I am going to be one less or one more at the
next time step both with probability 1/2. The past trajectory of the particle does not matter so intuitively this should be a Markov chain. The future given past and present should depend only on the present. The way you prove that is again to use this decomposition. Let's look at a typical event in the future, at the next time step, so I am looking at the probability that X_{n + 1} = x given F_n. And we want to prove that this is also equal to the conditional probability
of the same event but given only the random variable X_n. For that, I am using the same decomposition as before: X_{n + 1} = X_n + W_{n + 1} so this event is the same as the event that W_{n + 1} = x - X_n. Now, what is the probability that W_{n + 1} = x - X_n? That should be 0 if this quantity is not equal to +1 or -1. But at the opposite this is equal to 1/2 if this quantity is equal to either +1 or -1. Saying that this is +1 or -1, that's exactly, means that |x - X_n| = 1,
and so eventually we end up with the conditional probability of this event given F_n is just equal to 1/2 times indicator function on the event that |x - X_n| = 1. The fact that you can extract the 1/2 here is for the same reason as before. This W_{n + 1} is independent of F_n and so you have this unconditional probability, just probability that W_{n + 1} is equal to +1 or -1. Probability that X_{n + 1} = x given F_n is equal to 1/2 times the indicator function on the event

Ask anything
We've read this whole study set, so questions about it get the best answers.