### MCB111: Mathematics in Biology (Fall 2019)

# week 11:

# From the Markov stochastic process to chemical concentration changes

In this notes, we deduce how the differential equations that control the change of concentrations of the different species in a set of chemical reactions as the averages of the master equation describing a stochastic Markov process underlying the reactions.

In other words, we are going to go from a Markov birth/death master equation describing a stochastic process, to a set of ordinary differental equations describing the behavior of the compounds concentrations changes with time.

## An example

### The chemical reaction

We have a system that converts two compounds A, B into two different ones C, and D. The reaction is given by

In the w11 lecture we indicated that the differential equations describing the change of the concentrations of the four compounds over time is

Here we are going to deduce this results from the master equation describing the underlying stochastic Markov process.

### The master equation

The reaction

indicates that instantaneously one molecule of the A and B compounds disappear and a molecule of the C and D compounds appears with probability .

If the system has molecules of the four different compounds, in one small time interval , the number of molecules changes to with probability because any combination of one and one molecule can be used in the reaction that results in one and one more molecules.

In a time interval , the system reacts according to the following probability distribution,

Then, the master equation following the description in the w10 lecture can be written as

And in the limit of we obtain the differential equation

### The deterministic solution

By taking averages over the number of particles we obtain

which can be re-written as

or

so that

Similarly, one can find the results for the change with time of the concentrations of the other species B, C and D.

## The general case

### A general multiple chemical reaction

In the w11 lecture, we indicated that for reactions involving substrates , with rate constants ,

the differential equation controlling the average number of particles per volume unit are given by

where is the stoichiometry of species in reaction ,

and is the mass action law reaction ,

Here we are going to deduce this results directly from the master equation.

### The master equation

The master equation following the description in the w10 lecture can be written as

where the propensity is defined as the sum of the propensities for all reactions

And in the limit of we obtain the differential equation

### The deterministic solution

By taking averages over the number of particles we obtain

which can be re-written as

that is

The first and third term cancel out, and we obtain,

so that

Introducing the mass action law for a reaction as the average of the propensities,

then we obtain the final result