Skip to content

Menu

WorksAgricultural and Biological Sciences

Conservative deterministic Markov models in mathematical biology: uniqueness of steady states, reversibility and computational methods

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_xfzxxkks. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Ordinary differential equations are commonly used throughout the sciences to build mechanistic models of time-dependent processes. Often, such models are Markov models describing the time-evolution of different interconnected "states". When these models have no "sources" or "sinks", they naturally conserve the total population of the system. When each state is reachable (directly or indirectly) from any other state, these models are called irreducible. For many applications, a deterministic system of ordinary differential equations (ODE) is the most suitable modelling approach. We summarise important mathematical results which show that this irreducibility property guarantees the existence and uniqueness of global stable equilibria, and discuss the computationally-efficient implementation of such ODE-based models. We also discuss the condition of microscopic reversibility and show how it guarantees non-oscillatory behaviour, which enables additional efficiencies in computations. These properties and methods are demonstrated through example models of biological phenomena, where we demonstrate their importance for efficient model fitting and simulation.

Introduction

Mathematical models are commonly used to describe time-varying phenomena throughout mathematical biology. Mathematical models in which the evolution of the system in question is dependent only on the instantaneous state of the system, and not past behaviour, are said to satisfy the Markov property ([22]). Whilst such models may be formulated probabilistically, deterministic approximations can often be suitable. This may be true when the model describes a large number of individuals which are each subject to the same dynamics, for example [17]. Here, we focus on the properties of deterministic Markov models and provide two case studies concerning mathematical biology models.

Though relevant in some mathematical biology contexts ([21, 15, 10, 7]), basic results on the properties of such models are often not discussed in detail, or are discussed within a probabilistic setting ([26]). Results concerning deterministic formulations are covered in general terms and technical detail in existing literature ([5, 42]), but, authors typically discuss broader classes of problems and the relevant results are not always contextualised with examples pertaining to mathematical biology.

In this article, we present a small collection of essential methods and properties, which prove to be important in cell-biology applications. For example, the method for steady-state computation presented by [14] relies on microscopic reversibility, a property satisfied by the certain models that they discuss. However, some models used in practice do not satisfy this property, and we give a general derivation of a method that can be applied to any relevant model, irrespective of microscopic reversibility. Similarly, [25] discuss Markov models in the context of cellular electrophysiology and introduce specific examples and discuss large-time behaviour. We provide a more general discussion, exploring the existence and uniqueness of Markov models more generally, covering the aforementioned models discussed in [25], and any other model satisfying the conditions outlined below.

Our primary focus is the class of ODE-based models which approximate finite-state continuous-time Markov chains (CTMCs) ([22, 42, 47]). These CTMCs describe a single entity stochastically transitioning between some collection of states at randomly distributed times, where the distribution of waiting times and subsequent state-to-state transition is dependent only on the current state. Assuming a finite collection of states, we consider an N×NN \times N transition-rate matrix, Q\mathbf{Q}, where NN is the number of states, and for i,j≤Ni,j \leq N with i≠ji \ne j, the jthj^{\text{th}} entry in the ithi^{\text{th}} row is Qi,jQ_{i,j}—the transition rate from state ii to state jj. For all examples provided in this article, the matrix Q\mathbf{Q} is either constant, or time-dependent such that for any i,ji,j either Qi,j(t)=0Q_{i,j}(t)=0 for all tt or Qi,j(t)>0Q_{i,j}(t)>0 for all tt. In this way, the model topology (the state-to-state connections described by the model) does not change over time.

The results discussed in Section 2.1 concern only the model topology, and are not dependent on particular values of transition rates (besides them being always positive, or 0). Therefore, we omit time-inhomogeneity for now, and describe the average behaviour of many individuals subject to these state-to-state transitions with the equation,

dxdt=QTx,(1)\frac{\mathrm{d}\mathbf{x}}{\mathrm{d}t}=\mathbf{Q}^{\mathsf{T}}\mathbf{x}, \tag*{(1)}

where x\mathbf{x} represents the amount of individuals in each state of the system. If x(t)\mathbf{x}(t) is interpreted as a probability vector describing the probability that a randomly-transitioning individual is in each state at time tt (necessitating that these probabilities sum to 1), (1) is exactly the Kolmogorov forward equation of the equivalent CTMC [22].

Nevertheless, the above governing equation is a purely deterministic description of how the state of a system evolves over time [25]. In some contexts, such as ion-channel models in electrophysiology, these models are referred to as Markov models [40, 14, 45]. And we use the same term throughout this article.

The number of states, the value of transition rates, and the model topology may all vary between models. These properties are encoded in the transition-rate matrix, Q\mathbf{Q}, which necessarily satisfies the following properties (where Qi,jQ_{i,j} denotes the element on the iith row and jjth column of Q\mathbf{Q}):

Q is a real-valued N×N matrix;(2)\mathbf{Q}\text{ is a real-valued }N \times N\text{ matrix}; \tag*{(2)}
Qi,j≥0 for all i≠j;(3)Q_{i,j} \ge0\text{ for all }i \ne j; \tag*{(3)}
Q1=0 (each row of Q sums to 0).(4)\mathbf{Q}\mathbf{1}=\mathbf{0}\text{ (each row of }\mathbf{Q}\text{ sums to 0)}. \tag*{(4)}

Such a transition-rate matrix necessarily has non-positive entries along the diagonal because for any diagonal element, we have Qi,i=−∑j≠iQi,jQ_{i,i}=-\sum_{j\ne i}Q_{i,j}, which is negative provided there is a non-zero transition rate from state ii to any other state. The total occupancy of the system can be written as a scalar product of the states with a vector of ones, that is 1Tx\mathbf{1}^{\mathsf{T}}\mathbf{x}. We can see this total occupancy of the system, 1Tx\mathbf{1}^{\mathsf{T}}\mathbf{x}, is conserved because,

ddt(1Tx)=1Tdxdt=1T(QTx)=(1TQT)x=(Q1)Tx=0,(5)\frac{\mathrm{d}}{\mathrm{d}t}\left(\mathbf{1}^{\mathsf{T}}\mathbf{x}\right)=\mathbf{1}^{\mathsf{T}}\frac{\mathrm{d}\mathbf{x}}{\mathrm{d}t}=\mathbf{1}^{\mathsf{T}}\left(\mathbf{Q}^{\mathsf{T}}\mathbf{x}\right)=\left(\mathbf{1}^{\mathsf{T}}\mathbf{Q}^{\mathsf{T}}\right)\mathbf{x}=\left(\mathbf{Q}\mathbf{1}\right)^{\mathsf{T}}\mathbf{x}=0, \tag*{(5)}

using Condition (4). For this reason, we refer to Condition (4) as the conservation constraint.

Because Qi,i=−∑j≠iQi,jQ_{i,i}=-\sum_{j\ne i}Q_{i,j} we have dxidt≥Qi,ixi\frac{\mathrm{d}x_i}{\mathrm{d}t}\ge Q_{i,i}x_i and so, if xi(0)>0x_i(0)>0, we have xi(t)≥xi(0)eQi,it>0x_i(t)\ge x_i(0)e^{Q_{i,i}t}>0. Therefore, provided xi(0)>0x_i(0)>0, the occupancy of each state remains positive for all tt. Hence, as is common throughout the literature [14], we may constrain our initial conditions such that 1Tx(0)=1\mathbf{1}^{\mathsf{T}}\mathbf{x}(0)=1. In this way, x(t)\mathbf{x}(t) may be interpreted as a vector of probabilities summing to one.

We also require that every state in the model is reachable from every other state (though not necessarily directly via a single transition). Models satisfying this condition in addition to Conditions (2)–(4) are said to be irreducible. Irreducible Markov models are commonly encountered in mathematical biology, and have a number of desirable properties, as discussed in Section 2. Examples of various models satisfying these conditions are shown in Figure 1.

Figure 1. Examples of reducible and irreducible Markov models for biological applications. The irreducible models shown in Panels a and b are explored in this paper. The absorbing-state model in Panel c can be seen to be reducible, as there is no path from state RR to state II. Whereas the model in d, representing the production and decay of mRNA, contains source and sink terms, and hence cannot be irreducible.

Note that the above describes models with constant transition rates, but biological models may include transition rates which vary over time. These transition rates may depend on other variables (such as transmembrane potential in certain ion-channel models). For example, let VV be some external variable, and let k(V)k(V) be a transition rate that is dependent on VV. Then if for all such kk, we have k(V)>0k(V) > 0 for all VV, the existence of a non-zero transition rate between any two states is unaffected by changes to VV. In other words, the model topology is independent of VV.

Key results regarding the existence and uniqueness of steady states (presented in Section 2) depend only on this model topology, and these properties are therefore independent of external variables like VV. Both the examples covered in Sections 5.1 and 5.2 concern irreducible Markov models which include some dependence on time-dependent external variables. Nevertheless, despite concerning only cases where Q\mathbf{Q} is constant, the results discussed in Section 2 and 3 prove useful for these examples.

We begin in Section 2 by connecting the properties of Q\mathbf{Q} with its graphical representation, and show how graph-theoretic properties ensure the existence of globally stable equilibria. Here Proposition 1 shows that such equilibria are guaranteed to exist provided Q\mathbf{Q} is irreducible, and/or equivalent graphical conditions are met.

In Section 3, we discuss an additional property which is often imposed on Markov models—microscopic reversibility. We then relate this property to the qualitative behaviour of the related governing equation (1) via the spectrum of the transition-rate matrix, Q\mathbf{Q}.

In Section 4, we discuss some computational consideration for Markov models in the form of (1). Here, we derive a method which uses the conservation constraint to reduce the N×NN \times N ODE-system ((1)) to an (N−1)×(N−1)(N - 1) \times(N - 1) system. This model simplification can significantly reduce the computation required to simulate a Markov model.

Finally, in Section 5 we demonstrate these approaches through two numerical examples: the first is taken from the study of macroscopic ion-channel kinetics in cardiac electrophysiology [14]; the second demonstrates how our results may be used to simplify cellular signalling pathways models which contain some subnetwork which satisfies the above properties. For the first example, we show how the previously introduced results allow more efficient simulation. For the second, we use these results to make a quasi steady-state assumption which greatly simplifies simulation and analysis of the resultant dynamical system. We suggest that this material will prove useful more widely for the computational implementation of similar models in any relevant application area.

Steady states of Markov models

One particularly important aspect of ODE-based models is their long-term behaviour [20]. Determining the existence and uniqueness of our models’ steady states, is often relied upon for parameter fitting [14, 43]. In this section, we show that irreducibility (as described above) guarantees stability and the uniqueness of steady states of Equation (1). We begin by introducing some useful graph theory terminology to more precisely describe the model topology.

Connectedness and Irreducibility

The transition-rate matrix, Q\mathbf{Q}, can be associated with a directed graph or digraph [3] having a directed edge (connection) between states ii and jj with weight Qi,jQ_{i,j} where Qi,j≠0Q_{i,j} \ne0. Note that a weighted digraph may also be called a network [22].

Let DD be a digraph and let H≤DH \leq D be a subdigraph, that is, a digraph such that each node in HH is also in DD and each edge in HH is also present in DD [3]. Then, H≤DH \leq D is said to be strongly connected if, for any two nodes, u,v∈Hu,v \in H there is a walk from uu to vv. For example the models shown in Figure 1 are strongly and weakly connected; whereas the model shown in Figure 1 is weakly connected, but not strongly connected. In this way, a digraph can be partitioned into strongly connected components, each of which is itself strongly connected. Equivalently, a digraph has exactly one strongly connected component if and only if it is strongly connected. For the Markov models discussed in this paper, it is simple to check that a given graph is connected either visually or by using an algorithmic approach such as a depth-first search [3]—this is particularly simple for the Markov models discussed in this paper which have at most 6 states.

A matrix, say AA, is said to be irreducible if there exists no permutation matrix M\mathbf{M} (consisting of one 0s and exactly one 1 in each row and column) such that MAM−1\mathbf{M}A\mathbf{M}^{-1} is upper-triangular [5]. For Markov models in the form of Equation (1), it is known that Q\mathbf{Q} is irreducible if and only if the digraph DD is strongly connected [5]. As we will see in the following section, this link between these properties of the model topology (characterised by DD), and the properties of the transition-rate matrix Q\mathbf{Q} prove useful in characterising the behaviour of Markov models. Principally, we explain how these graph-theoretic properties are related to the large-time behaviour of Equation (1)—and in particular, the equilibrium point(s) of Equation (1), that is where dxdt=QTx=0\frac{\mathrm{d}x}{\mathrm{d}t} = \mathbf{Q}^{\mathsf{T}}\mathbf{x} = 0. Our main focus in this section is the following result, which closely follows from standard material pertaining to the class of nonnegative matrices [5].

Proposition 1 Let Q\mathbf{Q} be an irreducible matrix satisfying conditions (2)–(4) and consider the ODE system defined by Equation (1), then there is a vector x∞≠0\mathbf{x}_{\infty} \ne0 such that,

(i) QTx∞=0\mathbf{Q}^{\mathsf{T}}\mathbf{x}_{\infty} = 0,

(ii) x∞\mathbf{x}_{\infty} is unique up to a scalar,

(iii) provided 1Tx(0)=1\mathbf{1}^{\mathsf{T}}\mathbf{x}(0) = 1, we have x(t)→x∞\mathbf{x}(t) \to\mathbf{x}_{\infty} as t→∞t \to\infty.

In other words, if the digraph of our Markov model is strongly connected, there exists a unique stable equilibrium point. Note that in the case where each reaction in the model, i→ji \to j with Qi,j>0Q_{i,j} > 0, has a corresponding reverse reaction (that is, Qj,i>0Q_{j,i} > 0), we need only consider the connectedness of the (undirected) graph representation of the model.

We first focus on part (i), the existence of an equilibrium point for Equation (1). The proofs of parts (ii) and (iii) are deferred to Section 2.2, following a discussion of the necessary theory. We begin by considering the eigenvalues of QT\mathbf{Q}^{\mathsf{T}}. Firstly, we see that the condition that Q1=0\mathbf{Q}\mathbf{1} = 0 means precisely that 0 is an eigenvalue of Q\mathbf{Q} with 1\mathbf{1} being the corresponding eigenvector. Hence, we see that,

0T=(Q1)T=1TQT,\mathbf{0}^{\mathsf{T}} = (\mathbf{Q}\mathbf{1})^{\mathsf{T}} = \mathbf{1}^{\mathsf{T}}\mathbf{Q}^{\mathsf{T}},

and so 1T\mathbf{1}^{\mathsf{T}} is a left-eigenvector of QT\mathbf{Q}^{\mathsf{T}} with eigenvalue 0. The characteristic equation is not changed by transposition, so det⁡(Q−λI)=det⁡(QT−λI)\det(\mathbf{Q} - \lambda\mathbf{I}) = \det(\mathbf{Q}^{\mathsf{T}} - \lambda\mathbf{I}) for any λ\lambda. Hence, setting λ=0\lambda= 0, we see that there is a corresponding right eigenvector, v\mathbf{v} with QTv=0\mathbf{Q}^{\mathsf{T}}\mathbf{v} = 0, which means that v\mathbf{v} is an equilibrium point of the governing equation (Equation (1)), hence,

dxdt=QTv=0.(6)\frac{\mathrm{d}\mathbf{x}}{\mathrm{d}t} = \mathbf{Q}^{\mathsf{T}}\mathbf{v} = 0. \tag*{(6)}

Note that for any α∈R\alpha\in\mathbb{R}, we also have QT(αv)=αQTv=0\mathbf{Q}^{\mathsf{T}}(\alpha\mathbf{v}) = \alpha\mathbf{Q}^{\mathsf{T}}\mathbf{v} = 0, but the only equilibrium point on this line satisfying the constraint 1Tv=1\mathbf{1}^{\mathsf{T}}\mathbf{v} = 1 is v1Tv\frac{\mathbf{v}}{\mathbf{1}^{\mathsf{T}}\mathbf{v}}. Hence, we have proved part (i) of Proposition 1. In Section 2.2, we provide proofs of parts (ii) and (iii) which concern the uniqueness and stability of the equilibrium x∞\mathbf{x}_{\infty}.

The following result concerns the properties of the non-zero eigenvalues. These results allow us to assess the stability of the equilibria described above as when an eigenvalue of QT\mathbf{Q}^{\mathsf{T}}, say λ\lambda has Re⁡(λ)>0\operatorname{Re}(\lambda) > 0, the system is unstable [20]. Later, in Section 2.2, we use this result to prove parts (ii) and (iii) of Proposition 1.

Proposition 2 Let Q\mathbf{Q} be a matrix satisfying conditions (2)–(4). Then, for any eigenvalue of Q\mathbf{Q}, λ\lambda, we have Re⁡(λ)≤0\operatorname{Re}(\lambda) \le0. Proof of Proposition 2: by Conditions (2)–(4), we have

∣Qi,i∣=∣∑j≠iQi,j∣=∑j≠i∣Qi,j∣(7)\lvert Q_{i,i}\rvert= \left\lvert\sum_{j\ne i} Q_{i,j}\right\rvert= \sum_{j\ne i} \lvert Q_{i,j}\rvert \tag*{(7)}

because Qi,j≥0Q_{i,j} \ge0 for all i,ji,j with i≠ji \ne j. In other words, Q is (weakly) diagonally dominant. Because the diagonal elements are negative, weak diagonal dominance implies that the eigenvalues of Q have non-positive real part [19]. Then, because the eigenvalues of Q and QT\mathbf{Q}^{\mathsf{T}} are identical, all non-zero eigenvalues of QT\mathbf{Q}^{\mathsf{T}} have non-positive real part—that is, Re⁡(λ)≤0\operatorname{Re}(\lambda) \le0 for each eigenvalue, λ\lambda.

Next, we demonstrate these eigenvalue properties for two example model topologies, the first, is a strongly connected model where Q is irreducible, and the second, an example of a Markov model with a reducible transition-rate matrix, for which there is no unique equilibrium.

Example: a disconnected Markov model

Consider the four-state Markov model,

Q=(−k1k100k2−k20000−k3k300k4−k4).(8)\mathbf{Q} = \begin{pmatrix} -k_1 & k_1 & 0 & 0 \\ k_2 & -k_2 & 0 & 0 \\ 0 & 0 & -k_3 & k_3 \\ 0 & 0 & k_4 & -k_4 \end{pmatrix}. \tag*{(8)}

We can see from the corresponding graph (Figure 2(b)) that this Markov model is disconnected. Alternatively, we can see that Q is reducible because it is already in block upper-triangular form. In computing the eigenvalues of Q, we see that it has two eigenvectors corresponding to the zero eigenvalue. The two connected components behave independently (as shown in Figure 2), and so we have steady states of the form (v1,v2,0,0)T(v_1,v_2,0,0)^{\mathsf{T}} and (0,0,v3,v4)T(0,0,v_3,v_4)^{\mathsf{T}} where v1,v2,v3,v4≠0v_1,v_2,v_3,v_4 \ne0.

Figure 2. a: a three-state Markov model. This graph is strongly connected as each state is accessible from every other state, so the corresponding transition rate matrix must be irreducible, and the corresponding system has a unique equilibrium point (under the constraint 1Tx(0)=1{\mathbf{1}}^{\mathsf{T}}x(0)=1). The transition rates oriented in the clockwise direction (red) have odd indices (k1k_1, k3k_3, k5k_5). Whereas the transition rates pointing in the anti-clockwise direction (blue) have even indices (k2k_2, k4k_4, k6k_6). b: a four-state Markov model with a disconnected graph. Since the graph is disconnected, the corresponding transition-rate matrix is reducible. The two connected components (A and B, and C and D) may be seen as wholly independent processes, each with a unique stable equilibrium.

Such models may be treated as two separate ODE systems, representing the first two and final two states, respectively, with each individually satisfying 1Tx=1\mathbf{1}^{\mathsf{T}}\mathbf{x} = 1. Proposition 1 can then be applied to each component individually to see that the combined system has a unique equilibrium Such an approach is often taken in the computation of cardiac ion-channel models [25, 1, 43]. So-called Hodgkin-Huxley ion-channel models may take this form, where multiple independent open-closed components (referred to as subunits) are combined to give a single output (the proportion of open channels) [25, 14].

For typically-sized models, it is easy to visually check that a given transition-rate matrix is strongly connected. Alternatively, it is possible check connectedness programmatically by using an algorithm such as Depth-First Search [16].

Example: a connected Markov model

Consider the three-state Markov model shown as a weighted digraph in Figure 2.

The transition rate matrix for x=(A,B,C)T\mathbf{x}=(A,B,C)^{\mathsf{T}} is,

Q=(−k1−k6k1k6k2−k2−k3k3k5k4−k4−k5).(9)\mathbf{Q}=\begin{pmatrix} -k_1-k_6 & k_1 & k_6 \\ k_2 & -k_2-k_3 & k_3 \\ k_5 & k_4 & -k_4-k_5 \end{pmatrix}. \tag*{(9)}

We can see that Q\mathbf{Q} is irreducible from Figure 2 as the corresponding digraph is strongly connected. As discussed above, this implies there is exactly one eigenvector of QT\mathbf{Q}^{\mathsf{T}} corresponding to a vanishing eigenvalue.

We may compute the eigenvalues of (9) directly. The characteristic polynomial of QT\mathbf{Q}^{\mathsf{T}} is,

det⁡(QT−λI)=λ(−k1k3−k1k4−k2k4−k1k5−k2k5−k3k5−k2k6−k3k6−k4k6−k1λ−k2λ−k3λ−k4λ−k5λ−k6λ−λ2).(10)\det(\mathbf{Q}^{\mathsf{T}}-\lambda\mathbf{I}) = \lambda\left(-k_1k_3-k_1k_4-k_2k_4-k_1k_5-k_2k_5-k_3k_5-k_2k_6-k_3k_6-k_4k_6-k_1\lambda-k_2\lambda-k_3\lambda-k_4\lambda-k_5\lambda-k_6\lambda-\lambda^2\right). \tag*{(10)}

Hence, 0 is an eigenvalue of multiplicity 1, meaning that there is an eigenvector v\mathbf{v} satisfying QTv=0\mathbf{Q}^{\mathsf{T}}\mathbf{v}=0 which is unique up to a scalar. That is, any u\mathbf{u} with QTu=0\mathbf{Q}^{\mathsf{T}}\mathbf{u}=0, may be expressed as a scalar multiple of v\mathbf{v}, say, u=αv\mathbf{u}=\alpha\mathbf{v} for some α∈R\alpha\in\mathbb{R}. Therefore, if we include the constraint that 1Tx=1{\mathbf{1}}^{\mathsf{T}}\mathbf{x}=1, the governing equation has exactly one equilibrium point: v1Tv\frac{\mathbf{v}}{{\mathbf{1}}^{\mathsf{T}}\mathbf{v}}.

A Markov model with complex eigenvalues

We conclude by demonstrating the results introduced in this section by computing the eigenvalues of QT\mathbf{Q}^{\mathsf{T}} for a three-state model as shown in Figure 2. We set transition rates as,

(k1,k2,k3,k4,k5,k6)=(1,2,3,4,5,10).(11)(k_1,k_2,k_3,k_4,k_5,k_6) = (1, 2, 3, 4, 5, 10). \tag*{(11)}

The resulting transition rate matrix is,

Q=(−111102−5354−9).(12)\mathbf{Q} = \begin{pmatrix} -11 & 1 & 10 \\ 2 & -5 & 3 \\ 5 & 4 & -9 \end{pmatrix}. \tag*{(12)}

To one decimal place, the right-eigenpairs of QT\mathbf{Q}^{\mathsf{T}} are,

λ1=−17.1,v1=(−0.7,−0.3,1)T,\lambda_1 = -17.1,\qquad\mathbf{v}_1 = (-0.7,-0.3,1)^{\mathsf{T}},
λ2=−7.9,v2=(0.6,−1.6,1)T,\lambda_2 = -7.9,\qquad\mathbf{v}_2 = (0.6,-1.6,1)^{\mathsf{T}},

and

λ3=0,v3=(0.6,0.9,1)T.\lambda_3 = 0,\qquad\mathbf{v}_3 = (0.6,0.9,1)^{\mathsf{T}}.

However, if we choose,

(k1,k2,k3,k4,k5,k6)=(1,100,1,100,1,100).(13)(k_1,k_2,k_3,k_4,k_5,k_6) = (1,100,1,100,1,100). \tag*{(13)}

the right-eigenpairs of QT\mathbf{Q}^{\mathsf{T}} are (to one decimal place),

λ1≈−151.5+85.7i,v1≈(−0.5+0.9i,−0.5−0.9i,1.0),\lambda_1 \approx-151.5 + 85.7\mathrm{i},\qquad\mathbf{v}_1 \approx(-0.5 + 0.9\mathrm{i},-0.5 - 0.9\mathrm{i},1.0),
λ2≈−151.5−85.7i,v2≈(−0.5−0.9i,−0.5+0.9i,1.0),\lambda_2 \approx-151.5 - 85.7\mathrm{i},\qquad\mathbf{v}_2 \approx(-0.5 - 0.9\mathrm{i},-0.5 + 0.9\mathrm{i},1.0),
λ3≈0.0,v3≈(1.0,1.0,1.0).\lambda_3 \approx0.0,\qquad\mathbf{v}_3 \approx(1.0,1.0,1.0).

This example demonstrates that the eigenvalues of Q\mathbf{Q} may be non-real for certain choices of Q\mathbf{Q}, even though the solution itself is real-valued. This fact should be considered when a computational eigendecomposition method ([36]) is used to simulate such a model (that is, to solve (1)). However, the computational implementation of other matrix-exponential solution methods does not require complex variables in computer code (since solutions and the transition-rate matrix itself contain only real values). Examples of such methods include Padé approximation ([36]), as used in [45], and the use of numerical ODE solvers, as presented in Section 5. Also, as discussed in Section 3, non-real eigenvalues do not arise in Markov models which satisfy microscopic reversibility—an additional criterion often imposed on the transition-rate matrix, Q\mathbf{Q}.

The Perron-Frobenius Theorem for Markov models

The Perron-Frobenius theorem is a collection of powerful results arising from the study of strictly positive matrices, that is, those matrices A\mathbf{A} with the property, Ai,j>0A_{i,j} > 0 for all i,ji,j ([5]; [34]). However, there are certain extensions of Perron-Frobenius theory to certain classes of nonnegative matrices, such as the theorem presented below. The theorem presented below is a simplified version of the result presented by [34] concerning nonnegative, irreducible matrices. However, stronger results hold for strictly positive matrices [34, 42, 5].

Note that a transition-rate matrix, Q\mathbf{Q} satisfies Conditions (2)–(4) necessarily contains negative elements, and so these Perron-Frobenius results cannot be applied directly to Q\mathbf{Q}. Instead, we prove Proposition 1 by applying this result to a closely-related nonnegative matrix.

Theorem 1 (Perron-Frobenius Theorem for nonnegative irreducible matrices) ([34], Chapter 8) Let M=(Mi,j)\mathbf{M} = (M_{i,j}) be an irreducible N×NN \times N matrix with nonnegative entries. Then there exists an eigenpair of M\mathbf{M}, (r,v+)(r,\mathbf{v}^{+}) such that:

  • r≥∣λ∣r \ge\lvert\lambda\rvert for all eigenvalues λ\lambda;

  • the components of v+\mathbf{v}^{+}, vi+v_i^{+}, satisfy vi+>0v_i^{+} > 0 for all ii;

  • and, excluding scalar multiples, v+\mathbf{v}^{+} is the only eigenvector of M\mathbf{M} satisfying Mv+=r\mathbf{M}\mathbf{v}^{+} = r.

Such an eigenvalue, rr, is referred to as the leading eigenvalue ([5]).

Whilst transition-rate matrices of the type introduced in Section 1 do not satisfy this condition, we can see that, A=Q+kI\mathbf{A} = \mathbf{Q} + k\mathbf{I} does for k=max⁡i{−Qi,i}k = \max_i\{-Q_{i,i}\}. Moreover, noting that the graphs associated with A\mathbf{A} and Q\mathbf{Q} are identical, we see that A\mathbf{A} is also irreducible, and so we can apply Theorem 1 to A\mathbf{A}.

Consider the characteristic polynomial of A\mathbf{A},

det⁡(A−λI)=det⁡(Q+kI−λI),(14)\det(\mathbf{A} - \lambda\mathbf{I}) = \det(\mathbf{Q} + k\mathbf{I} - \lambda\mathbf{I}), \tag*{(14)}

from which we can see a simple relationship between the eigenvalues of A\mathbf{A} and Q\mathbf{Q} given by the one-to-one mapping between eigenvalues: if λ\lambda is an eigenvalue of A\mathbf{A}, then λ−k\lambda- k is an eigenvalue of QT\mathbf{Q}^{\mathsf{T}}, and the corresponding eigenvectors are equal. Note also that for any i,ji,j with i≠ji \ne j, we have that Ai,j>0A_{i,j} > 0 if and only if Qi,j>0Q_{i,j} > 0. Hence, if Q\mathbf{Q} is irreducible, A\mathbf{A} is too.

We know from Proposition 2 that all eigenvalues of QT\mathbf{Q}^{\mathsf{T}} satisfy Re⁡(μ)≤0\operatorname{Re}(\mu) \le0, and that 00 is one of these eigenvalues. Hence, kk must be the leading eigenvalue of A\mathbf{A}. Moreover, applying the Perron-Frobenius theorem to A\mathbf{A} tells us that for each eigenvalue of A\mathbf{A}, λ\lambda, satisfies

∣λ∣≤k,(15)\lvert\lambda\rvert\le k, \tag*{(15)}

and so, each eigenvalue of QT\mathbf{Q}^{\mathsf{T}}, say μ\mu, satisfies,

∣μ+k∣≤k.(16)\lvert\mu+ k\rvert\le k. \tag*{(16)}

Therefore, we have that Re⁡(μ)≤0\operatorname{Re}(\mu) \le0 for all eigenvalues μ\mu, and Re⁡(μ)=0\operatorname{Re}(\mu) = 0 only when μ\mu corresponds to the leading eigenvalue of A\mathbf{A}.

The Perron-Frobenius Theorem also tells us that the leading eigenvalue, rr, corresponds to some eigenvector v+\mathbf{v}^{+} with vi+>0v_i^{+} > 0 for all ii. Since 00 is the eigenvalue of QT\mathbf{Q}^{\mathsf{T}} with maximal real part, the eigenpair of A\mathbf{A}, (r,v+)(r,\mathbf{v}^{+}) must correspond to an eigenpair of QT\mathbf{Q}^{\mathsf{T}}, (0,v+)(0,\mathbf{v}^{+}). Also, from Theorem 1, we have that v+\mathbf{v}^{+} is unique up to scalar multiplication. This proves Proposition 1.

Note however, these results provide no guarantee that eigenvalues (except the leading eigenvalue) are real-valued. As demonstrated above, some Markov models, with particular choices of transition rates, have non-real eigenvalues, leading to oscillatory solutions. The realness of these eigenvalues may be guaranteed under certain conditions that we discuss next.

Microscopic Reversibility

In addition to Conditions (2–4), microscopic reversibility is another property that is often imposed on Markov models and concerns the balance of fluxes between individual states in the model. Consider a simple reaction A⇌BA \rightleftharpoons B, then microscopic reversibility is satisfied if, at equilibrium, the flux from AA to BB is equal to the flux of the reverse reaction BB to AA. A model is said to satisfy microscopic reversibility if this is true for all reactions in the model. A more precise definition for Markov models is given below.

Microscopic reversibility is varyingly referred to as “detailed balance”, “thermodynamic equilibrium” or sometimes simply “reversibility” [8].

Microscopic reversibility is seen as a natural, macroscopic consequence of the laws of thermodynamics when the model is assumed to be a closed system at equilibrium [12, 11]. Although, microscopic reversibility has not always been enforced in ion-channel models (for example in [28]). Additionally, microscopic reversibility often leads to a reduction in the number of model parameters—a particularly attractive property when fitting models [6, 8, 14].

For brevity, we proceed using the term “reversibility”, and adopt the following definition.

Definition 1 Consider a Markov model which satisfies Conditions (2–4) with transition-rate matrix, Q\mathbf{Q} such that QT\mathbf{Q}^{\mathsf{T}} is irreducible. Then by Proposition 1, a unique equilibrium point, x∞=(x∞(i))i=1N\mathbf{x}_{\infty} = \left(x_{\infty}^{(i)}\right)_{i=1}^{N}, exists. We say that this Markov model is reversible if it satisfies,

Qi,jx∞(i)=Qj,ix∞(j),(17)Q_{i,j}x_{\infty}^{(i)} = Q_{j,i}x_{\infty}^{(j)}, \tag*{(17)}

for all ii and jj. That is, at equilibrium, the flux from state ii to state jj is equal to the flux from state jj to state ii. This is also commonly known as a detailed balance equation [25].

Note that this definition of reversibility is wholly concerned with properties of Q\mathbf{Q} because x∞\mathbf{x}_{\infty} is precisely the right-eigenvector of QT\mathbf{Q}^{\mathsf{T}} with QTx∞=0\mathbf{Q}^{\mathsf{T}}\mathbf{x}_{\infty}=0, that is, the null eigenvector, which is unique up to a scalar as discussed in Section 2.

Note that this definition does not strictly agree with the definition found in [22], where to be reversible, a CTMC must be stationary—analogous to a Markov model initially being at equilibrium, that is x(0)=x∞\mathbf{x}(0)=\mathbf{x}_{\infty}. In contrast to this, the above definition merely concerns the properties of Q\mathbf{Q}, not the model’s initial conditions. The following result shows that there may be qualitative differences in the behaviour of reversible Markov models and non-reversible Markov models.

Proposition 3 Let Q\mathbf{Q} be an irreducible matrix satisfying conditions (2)-(4). Additionally, suppose Q\mathbf{Q} is reversible. Then, the eigenvalues and eigenvectors of QT\mathbf{Q}^{\mathsf{T}} are real.

We prove that above result by assuming that our model is reversible. Then, we may construct the diagonal matrix D\mathbf{D} with Di,i=x∞(i)D_{i,i} = \sqrt{x_{\infty}^{(i)}} for all ii. D\mathbf{D} is then a diagonal matrix, and from Proposition 1 we see that the irreducibility of Q\mathbf{Q} guarantees that D\mathbf{D} has no zeroes on its diagonal. Hence, D\mathbf{D} is invertible. Then, we have,

\begin{aligned} (\mathbf{D}\mathbf{Q}\mathbf{D}^{-1})_{j,i} = \sqrt{x_{\infty}^{(j)}}Q_{i,j}\frac{x_{\infty}^{(i)}}{x_{\infty}^{(j)}}\frac{1}{\sqrt{x_{\infty}^{(i)}}}, \qquad\text{(using Equation } [](#eq:17)\text{)} \\ &= \sqrt{x_{\infty}^{(i)}}Q_{i,j}\frac{1}{\sqrt{x_{\infty}^{(j)}}}, \\ &= (\mathbf{D}\mathbf{Q}\mathbf{D}^{-1})_{i,j}. \tag*{(18)} \end{aligned}

Now, the characteristic polynomial of Q\mathbf{Q} is identical to that of DQD−1\mathbf{D}\mathbf{Q}\mathbf{D}^{-1} meaning these matrices have identical eigenvalues. And because DQD−1\mathbf{D}\mathbf{Q}\mathbf{D}^{-1} is symmetric, these eigenvalues are real [34]. Therefore, whenever microscopic reversibility holds, Q\mathbf{Q}, and hence QT\mathbf{Q}^{\mathsf{T}}, have only real eigenvalues. Consequently, eigendecomposition matrix-exponential methods [36] can be used to solve the governing equation and simulate the model. Without microscopic reversibility, there is no such guarantee, and numerical implementations should account for non-real eigenvalues and eigenvectors.

This result provides some insight into the implications of reversibility on the dynamics of Markov models. We have seen above that non-real eigenvalues are, in fact, possible for non-reversible models. These eigenvalues, with Im⁡(λ)≠0\operatorname{Im}(\lambda) \ne0, describe oscillatory behaviour (similar to a damped oscillator when Re⁡(λ)≤0\operatorname{Re}(\lambda) \le0). Here, we have shown that such eigenvalues, and hence oscillatory behaviours, are not possible when Q\mathbf{Q} is reversible.

Returning to the three-state Markov model discussed in the previous section (see Equation (9)), we can see that such a Markov model is not reversible in general because the steady state is,

x∞=α(k2k4+k2k5+k3k5k1k3+k2k6+k3k6k1k4+k1k5+k4k6k1k3+k2k6+k3k61).(19)\mathbf{x}_{\infty} = \alpha \begin{pmatrix} \frac{k_{2}k_{4}+k_{2}k_{5}+k_{3}k_{5}}{k_{1}k_{3}+k_{2}k_{6}+k_{3}k_{6}} \\ \frac{k_{1}k_{4}+k_{1}k_{5}+k_{4}k_{6}}{k_{1}k_{3}+k_{2}k_{6}+k_{3}k_{6}} \\ 1 \end{pmatrix}. \tag*{(19)}

for some scaling factor, α\alpha. Now considering the flux from state 1 to state 2 we have,

x∞(1)Q1,2=αk1k2k4+k2k5+k3k5k1k3+k2k6+k3k6,(20)x_{\infty}^{(1)}Q_{1,2} = \alpha k_{1}\frac{k_{2}k_{4}+k_{2}k_{5}+k_{3}k_{5}}{k_{1}k_{3}+k_{2}k_{6}+k_{3}k_{6}}, \tag*{(20)}

whilst, the flux in the opposite direction is,

x∞(2)Q2,1=αk2k1k4+k1k5+k4k6k1k3+k2k6+k3k6.(21)x_{\infty}^{(2)} Q_{2,1} = \alpha k_2 \frac{k_1 k_4 + k_1 k_5 + k_4 k_6}{k_1 k_3 + k_2 k_6 + k_3 k_6}. \tag*{(21)}

Hence, this Markov model is reversible if and only if,

k1k3k5=k2k4k6.(22)k_1 k_3 k_5 = k_2 k_4 k_6. \tag*{(22)}

As we saw previously, when our model is not reversible, or equivalently, k1k3k5≠k2k4k6k_1 k_3 k_5 \ne k_2 k_4 k_6, the transition-rate matrix, Q\mathbf{Q}, may have complex eigenvalues. In the following section, we see that a similar condition may be used, in general, to check the reversibility of any Markov model.

Kolmogorov’s Criterion

It is possible to ensure reversibility by checking that the detailed-balance equation (Equation (17)) holds. However, this requires us to compute the steady state. Kolmogorov’s criterion provides an alternative method which is far more convenient.

Theorem 2 (Kolmogorov’s Criterion [22]). A Markov model with transition-rate matrix Q\mathbf{Q}, with corresponding graph, GG, is reversible if and only if, for every cycle in GG, the products of transition rates in each direction are equal. In other words, Equation (17) holds if and only if,

∏i=1CnQsi−1,si=∏i=1CnQsi,si−1(23)\prod_{i=1}^{C_n} Q_{s_{i-1},s_i} = \prod_{i=1}^{C_n} Q_{s_i,s_{i-1}} \tag*{(23)}

for every cycle C=(s0,…sCn)C = (s_0, \ldots s_{C_n}) of GG, where sCn=s0s_{C_n} = s_0.

For example, we saw above in the three-state model that reversibility was equivalent to the condition k1k3k5=k2k4k6k_1 k_3 k_5 = k_2 k_4 k_6. This is an equality between the product of transition rates around the only cycle in each direction (as illustrated in fig:2a).

This result is proved in [22] for continuous time Markov chains (CTMCs), but an almost identical proof can be applied to ODEs of the form of Equation (1) satisfying Conditions (2)–(4). Using this result, we may ensure that a given Markov model is reversible, by simply drawing the diagram of our model (such as those in Figure 1), and checking whether the product of transition rates around each cycle is equal in both directions. When this condition is satisfied, the Markov model is reversible. However, as explained by [8], we need only check that each of a subset of cycles satisfies Equation (23)—that being the cycle basis of GG ([49]).

Simplifying the governing equation

We conclude by explaining how our Markov models’ conservation constraint (Equation (4)) can be used to simplify the governing equation (Equation (1)). As discussed in [14], this operation effectively simplifies the ODE system, allowing the governing equation to be written in terms of N−1N-1 state variables instead of NN. In Section 5.1, we provide an example where this simplification of the ODE system becomes significantly more efficient to solve.

Such a simplification of the system of ODEs is commonly applied to Markov models of ion-channel currents ([14]; [1]). [9] provide a description of this procedure, which may be applied to any Markov model (that is, a system of ODEs satisfying (2)-(4)). In this section, we provide an explicit derivation of their method, showing that there are many choices of such simplified systems.

First, to derive the scheme suggested by [9], we seek a reduced system of ODEs,

dx~dt=Ax~+b,(24)\frac{\mathrm{d}\tilde{\mathbf{x}}}{\mathrm{d}t} = \mathbf{A}\tilde{\mathbf{x}} + \mathbf{b}, \tag*{(24)}

where x~\tilde{\mathbf{x}} is the top N−1N-1 components of x\mathbf{x}, A\mathbf{A} is a (N−1)×(N−1)(N-1) \times(N-1) matrix, and b\mathbf{b} is a column vector of size (N−1)(N-1). Then, by setting xN=1−∑j=1N−1xjx_N = 1 - \sum_{j=1}^{N-1}x_j, our constraint, 1Tx=1\mathbf{1}^{\mathsf{T}}\mathbf{x}=1 is always satisfied.

Let a\mathbf{a} and b\mathbf{b} be (N−1)(N-1) column vectors, and cc be a scalar such that,

QT(V)=(Q~TbaTc),(25)\mathbf{Q}^{\mathsf{T}}(V) = \begin{pmatrix} \tilde{\mathbf{Q}}^{\mathsf{T}} & \mathbf{b} \\ \mathbf{a}^{\mathsf{T}} & c \end{pmatrix}, \tag*{(25)}

where Q~\tilde{\mathbf{Q}} is an (N−1)×(N−1)(N-1) \times(N-1) matrix containing the elements in the upper-left rows and columns of Q\mathbf{Q}. Then, we multiply both sides of (1) by the (N−1)×N(N-1) \times N matrix,

(IN−1 0)=(100⋯00010⋯00001⋯00000⋱00⋮⋮⋮⋱⋮⋮000⋯10),(26)(\mathbf{I}_{N-1}\ \mathbf{0}) = \begin{pmatrix} 1 & 0 & 0 & \cdots& 0 & 0 \\ 0 & 1 & 0 & \cdots& 0 & 0 \\ 0 & 0 & 1 & \cdots& 0 & 0 \\ 0 & 0 & 0 & \ddots& 0 & 0 \\ \vdots& \vdots& \vdots& \ddots& \vdots& \vdots\\ 0 & 0 & 0 & \cdots& 1 & 0 \end{pmatrix}, \tag*{(26)}

which is simply an identity matrix with a column of zeros appended to its right side. Then, we have,

(IN−1 0)ddtx=(Q~TIN−1b)x=(Q~Tx~0)+xN(b0).(27)(\mathbf{I}_{N-1}\ \mathbf{0})\frac{\mathrm{d}}{\mathrm{d}t}\mathbf{x} = \begin{pmatrix} \tilde{\mathbf{Q}}^{\mathsf{T}} & \mathbf{I}_{N-1}\mathbf{b} \end{pmatrix}\mathbf{x} = \begin{pmatrix} \tilde{\mathbf{Q}}^{\mathsf{T}}\tilde{\mathbf{x}} \\ 0 \end{pmatrix} + x_N \begin{pmatrix} \mathbf{b} \\ 0 \end{pmatrix}. \tag*{(27)}

Hence, substituting xN=1−x~T1x_N = 1 - \tilde{\mathbf{x}}^{\mathsf{T}}\mathbf{1} and considering the first N−1N-1 components,

ddtx~=(Q~T−b1T)x~+b.(28)\frac{\mathrm{d}}{\mathrm{d}t}\tilde{\mathbf{x}} = \left(\tilde{\mathbf{Q}}^{\mathsf{T}}-\mathbf{b}\mathbf{1}^{\mathsf{T}}\right)\tilde{\mathbf{x}}+\mathbf{b}. \tag*{(28)}

After solving this system, it is simple to use the relation xN=1−1Tx~x_N = 1-\mathbf{1}^{\mathsf{T}}\tilde{\mathbf{x}}, to recover x\mathbf{x} from x~\tilde{\mathbf{x}}.

However, Equation (28) is but one of many ways in which we use the conservation constraint to simplify Equation (1). Suppose T\mathbf{T} is a non-singular matrix such that each element of the bottom row is 1. Then, we have the block matrix,

T=(U1T).(29)\mathbf{T} = \begin{pmatrix} \mathbf{U} \\ \mathbf{1}^{\mathsf{T}} \end{pmatrix}. \tag*{(29)}

Now, we let s=Tx\mathbf{s} = \mathbf{T}\mathbf{x} be the state vector of our new, transformed system of ODEs with,

dsdt=dTxdt=Tdxdt=TQTx=TQTT−1s,(30)\begin{aligned} \frac{\mathrm{d}\mathbf{s}}{\mathrm{d}t} &= \frac{\mathrm{d}\mathbf{T}\mathbf{x}}{\mathrm{d}t} \\ &= \mathbf{T}\frac{\mathrm{d}\mathbf{x}}{\mathrm{d}t} \\ &= \mathbf{T}\mathbf{Q}^{\mathsf{T}}\mathbf{x} \\ &= \mathbf{T}\mathbf{Q}^{\mathsf{T}}\mathbf{T}^{-1}\mathbf{s}, \tag*{(30)} \end{aligned}

which is possible because we chose T\mathbf{T} to be non-singular. If we let W=TQTT−1\mathbf{W} = \mathbf{T}\mathbf{Q}^{\mathsf{T}}\mathbf{T}^{-1}, we may write,

dsdt=Ws.(31)\frac{\mathrm{d}\mathbf{s}}{\mathrm{d}t} = \mathbf{W}\mathbf{s}. \tag*{(31)}

Since each element of the bottom row of T\mathbf{T} is 1, the bottom component of s\mathbf{s} is sN=1Tx=1s_N = \mathbf{1}^{\mathsf{T}}\mathbf{x} = 1, and so, sNs_N is constant. Hence, we may simplify Equation (30), by writing,

ds~dt=C~s~+d,(32)\frac{\mathrm{d}\widetilde{\mathbf{s}}}{\mathrm{d}t} = \widetilde{\mathbf{C}}\widetilde{\mathbf{s}} + \mathbf{d}, \tag*{(32)}

where s~\widetilde{\mathbf{s}} is the first N−1N-1 rows of s\mathbf{s}, C\mathbf{C} is the first N−1N-1 rows and columns of W\mathbf{W}, and d\mathbf{d} is first N−1N-1 entries of the rightmost column of W\mathbf{W}. Now, consider the bottom row of W\mathbf{W}, denoted WN\mathbf{W}_N. We have, WN=(TQTT−1)N\mathbf{W}_N = (\mathbf{T}\mathbf{Q}^{\mathsf{T}}\mathbf{T}^{-1})_N, and (TQT)N=1TQT=0(\mathbf{T}\mathbf{Q}^{\mathsf{T}})_N = \mathbf{1}^{\mathsf{T}}\mathbf{Q}^{\mathsf{T}} = \mathbf{0} (using Condition (4)), and so, WN=0TT−1=0T\mathbf{W}_N = \mathbf{0}^{\mathsf{T}}\mathbf{T}^{-1} = \mathbf{0}^{\mathsf{T}}. Hence, W\mathbf{W} is block upper-triangular with determinant,

det⁡(W−λI)=−λdet⁡(C−λI).(33)\det(\mathbf{W} - \lambda\mathbf{I}) = -\lambda\det(\mathbf{C} - \lambda\mathbf{I}). \tag*{(33)}

Also, Proposition (1)(ii) guarantees that the null eigenvalue is simple (corresponding to a unique equilibrium) meaning that rank⁡(W)=N−1\operatorname{rank}(\mathbf{W}) = N-1 and so, C\mathbf{C} is necessarily nonsingular and its eigenvalues are exactly the non-zero eigenvalues of W\mathbf{W} (that is, the non-zero eigenvalues of QT\mathbf{Q}^{\mathsf{T}}).

There are many possible choices for the matrix, T\mathbf{T}. Perhaps the most obvious choice for U\mathbf{U} is the (N−1)(N-1)-dimensional identity matrix, IN−1\mathbf{I}_{N-1}, with a zero vector, 0\mathbf{0}, appended to its right-hand side. In this case we have,

T=(100⋯00010⋯00001⋯00⋮⋮⋮⋱⋮⋮000⋯10111⋯11),(34)\mathbf{T} = \begin{pmatrix} 1 & 0 & 0 & \cdots& 0 & 0 \\ 0 & 1 & 0 & \cdots& 0 & 0 \\ 0 & 0 & 1 & \cdots& 0 & 0 \\ \vdots& \vdots& \vdots& \ddots& \vdots& \vdots\\ 0 & 0 & 0 & \cdots& 1 & 0 \\ 1 & 1 & 1 & \cdots& 1 & 1 \end{pmatrix}, \tag*{(34)}

from which obtain (28). Note that for a reversible model, the transition-rate matrix Q\mathbf{Q} has only real eigenvalues, and we use a real-valued transformation matrix T\mathbf{T} (such as the one defined in (34)), we guarantee that C\mathbf{C} has real eigenvalues, and so the system can be solved using diagonalisation with only real-valued matrices [36]. This is not the case when non-reversible models are used, in which case, it is possible that the resulting eigenvectors and eigenvalues are non-real, as discussed in Section 3.

Now, instead of eliminating the NthN^{\mathrm{th}} state, xNx_N, we could eliminate any other state. For example, to eliminate the first state, x1x_1 instead of xNx_N, we may define,

T=(000⋯01010⋯00001⋯00⋮⋮⋮⋱⋮⋮000⋯10111⋯11).(35)\mathbf{T} = \begin{pmatrix} 0 & 0 & 0 & \cdots& 0 & 1 \\ 0 & 1 & 0 & \cdots& 0 & 0 \\ 0 & 0 & 1 & \cdots& 0 & 0 \\ \vdots& \vdots& \vdots& \ddots& \vdots& \vdots\\ 0 & 0 & 0 & \cdots& 1 & 0 \\ 1 & 1 & 1 & \cdots& 1 & 1 \end{pmatrix}. \tag*{(35)}

However, there are many other possible choices of T\mathbf{T} which do not correspond to the removal of a single state. It may be possible to choose T\mathbf{T} such that the resultant system of ODEs has some desirable properties. We explore the effect of some possible choices T\mathbf{T} in the following section.

Examples

We introduce examples of the application of these results to two mathematical biology models. In both examples, the model in question contains a Markov model, but also includes some other elements. In the first example, the Markov model has transition rates which depend on an external variable, and the state occupancies are mapped to some observable output via an observation function; in the second the Markov model is embedded within a larger deterministic chemical reaction network model. In both examples, we use the results introduced in Section 2.

Example I: Simulation of ion channel dynamics

There are many Markov models which have been proposed to describe ion channel dynamics. In this section, we consider a selection of models of the rapid delayed rectifier potassium current (IKrI_{\mathrm{Kr}}). This current plays an important role in the electrophysiology of various cells, including heart-muscle cells [44]. Deterministic, ODE-based Markov models (like those described in the previous sections) are commonly used to model the effect of thousands of channels carrying a current which helps to repolarise a cell after an action potential.

As in the previous sections, such a Markov model can be formulated as a system of ODEs in the form of (1). Here, the state vector x\mathbf{x} represents the proportion of channels in each of a collection of possible conformational states, and the transition-rate matrix Q\mathbf{Q} describes the rate at which the population of channels transitions between these states. The current, IKrI_{\mathrm{Kr}}, is voltage-gated, meaning that these transition rates are dependent on an external variable, the transmembrane potential, VV, which itself can change through time, tt. To show this dependence explicitly we rewrite (1),

dxdt=Q(V(t))Tx.(36)\frac{\mathrm{d}\mathbf{x}}{\mathrm{d}t} = \mathbf{Q}(V(t))^{\mathsf{T}}\mathbf{x}. \tag*{(36)}

We further require that for any i,ji,j such that i≠ji \ne j, we have either Qi,j(V)=0Q_{i,j}(V)=0 for all VV or Qi,j>0Q_{i,j}>0 for all VV. In other words, whilst the transition rates themselves may change, the fundamental graph properties of the model are independent of the transmembrane potential.

Such models may be incorporated into whole-cell action-potential models [40]. Often, such models are fitted to data obtained from patch-clamp experiments performed on cells during which the current of interest is pharmacologically isolated [48, 1, 27]. In such experiments, this current may be recorded whilst the transmembrane potential, VV, is manipulated.

As the experiments are performed after the cell has equilibrated, it is assumed that at the beginning of the experiment, where t=0t=0, we have,

x(0)=x∞(V0).(37)\mathbf{x}(0) = \mathbf{x}_{\infty}(V_0). \tag*{(37)}

where x∞(V0)\mathbf{x}_{\infty}(V_0) is the steady state, guaranteed to exist (for any VV) by Proposition 1. This fact underpins typical inference approaches [7], where transition-rate parameters are inferred from data, without considering the system’s initial conditions as additional independent parameters. For example, when inferring transition rates from current recordings obtained from voltage-clamp experiments ([14]; [1]; [7]). Here, each proposed parameter set in an optimisation x∞(V0)x_{\infty}(V_0) is computed and used as the initial condition (for a forward simulation and subsequent objective function evaluation), which should be a good approximation for the conditions within experiments where the cells are held at V0V_0 for an extended period before recordings begin. An observation function is then used to compare the Markov model and observed data, typically of the form,

IKr=gxO(V−EKr),(38)I_{\mathrm{Kr}} = gx_{\mathrm{O}}(V - E_{\mathrm{Kr}}), \tag*{(38)}

where gg is a further parameter known as the maximal conductance, xOx_{\mathrm{O}} is the state variable corresponding to a single open state, VV is the transmembrane potential (controlled by the experimenter) and EKrE_{\mathrm{Kr}} is an additional constant (the reversal potential, often computed from first principles with the Nernst equation). For any Markov model satisfying Conditions (2)–(4), a stable equilibrium is assumed at time t=0t = 0 which removes the need to infer the initial condition, x(0)x(0). Instead, we only need to infer the transition-rate parameters and gg. Whilst only one model structure is used here, the same approach may be taken with many other proposed Markov model structures, such as those discussed in [37]; [43].

Reducible Markov models in Cardiac Electrophysiology

Other models used to model voltage-gated currents like IKrI_{\mathrm{Kr}} include so-called Hodgkin-Huxley gating models. These draw their inspiration from Hodgkin and Huxley’s seminal action-potential model ([18]) which includes gating variables of the form,

dmdt=αm(1−m)−βmm,(39)\frac{\mathrm{d}m}{\mathrm{d}t} = \alpha_m(1-m) - \beta_m m, \tag*{(39)}

and

dhdt=αh(1−h)−βhh,(40)\frac{\mathrm{d}h}{\mathrm{d}t} = \alpha_h(1-h) - \beta_h h, \tag*{(40)}

which combine to form Hodgkin and Huxley’s sodium current, INaI_{\mathrm{Na}} which is proportional to m3hm^3h. Such a model can be seen as the combination of two separate, irreducible Markov models, though the existence of a unique stable equilibrium may also be proved directly ([25]). Products of Hodgkin-Huxley gates may be combined into a single equivalent irreducible Markov model with a higher number of states ([40]), as done for IKrI_{\mathrm{Kr}} in [7] (using a Hodgkin-Huxley style formulation) and [1] (using a single irreducible Markov model). Either way, the results of the preceding sections relating to the existence and uniqueness of steady states, reversibility, and the related methods also apply to Hodgkin-Huxley style ion channel gating models.

Drug binding models

Markov models of cardiac ion-channel currents are commonly augmented with drug-block components ([28]; [32]). Additional states and transition-rates are included, representing the way in which certain compounds can modify the kinetics of an ion channel. Such models are comprised of two components. A subnetwork modelling kinetics of ion channels in the absence of drugs (for example, those Markov models shown previously in this section), and a subnetwork that models the kinetics of drug block. Such an example is shown in Figure 3. The additional states representing the binding of drugs to an ion channel are included in the model as extra rows and columns in the transition-rate matrix, and, accordingly, additional components of x\mathbf{x}. Note that some of these transition rates are dependent on the concentration of drug present, denoted by DD.

Figure 3. Markov models of IKrI_{\mathrm{Kr}} used in this section. a: the unaltered Wang et al. (1997) Model with no drug-bound state(s). b the Wang et al. (1997) model with an additional drug-bound state. In the drug-bound model, there are two additional transition rates DkonDk_{\mathrm{on}} and koffk_{\mathrm{off}}. In this way, when D=1D = 1, the model is strongly connected and hence irreducible. If D=0D = 0, the model is not irreducible, but channels in the drug-bound state, ODO_{\mathrm{D}}, will transition into the other, drug-free states. However, the existence of a globally stable equilibrium is still guaranteed for the drug-bound model as well as the drug-free model.

However, the inclusion of these additional states and transition rates may have an effect on the properties of the model. For instance, the model is reducible when D=0D=0, because there is no path to the drug-bound state from any other state in the model. However, a unique equilibrium can still be computed when D=0D=0 by considering only the Markov model representing the drug-free kinetics of ion-channel gating (since no channels can be drug-bound state at equilibrium). To see why this is the case, we may consider the two strong-connected components of the model when D=0D=0: the drug-bound state (denoted xDx_D), and drug-free states. We see that there is no flux between the latter to the former when D=0D = 0, but the flux in the opposite direction is positive provided xD>0x_D > 0. Hence as t→∞t \to\infty we have xD=0x_D = 0. It follows that as x→x∞\mathbf{x} \to\mathbf{x}_\infty as t→∞t \to\infty where x∞\mathbf{x}_\infty is identical to the steady state of the drug-free model, but with an additional zero-valued entry corresponding to the drug-bound state.

When this is the case, it is clear that for all ii corresponding to a drug-bound state, we have xi→0x_i \to0 as t→∞t \to\infty. Consequently, we can consider a Markov model with the drug-bound states removed, and providing this model is irreducible, we can see that a unique stable equilibrium exists through Proposition 1. On the other hand, when D>0D > 0, we can consider the full Markov model in its entirety. Because Conditions (2)–(4) are satisfied and the digraph is strongly connected (see Section 2.1), we know that a unique steady state exists. That is to say, the results introduced in Section 2 may be applied directly to this special case, even though the complete model is not irreducible, strictly-speaking.

To demonstrate this fact, we choose the [48] model of IKr\mathrm{I}_{\mathrm{Kr}} and augment this with a single ‘drugged state’ connected to channel model’s open state. However, these methods can be applied to any number of alternative ion-channel model topologies and drug-binding schemes such as those as discussed in [33, 32, 38].

By considering the detailed balance equations at equilibrium or by applying Theorem 2 (noting that there are no cycles in the model), we see that the [48] model is reversible whether the drug is present or not (that is, D>0D > 0 or D=0D = 0). Thus, in either case, Proposition 3 guarantees that the transition-rate matrix, Q\mathbf{Q}, has only real eigenvalues and, consequently, that this model cannot produce damped oscillatory solutions.

We may simulate this model using the model-reduction methods described in Section 4. We simulate this model using scipy’s “LSODA” routine which adaptively switches integration method when it detects stiffness/non-stiffness in the solution ([39]). Absolute and relative solver tolerances were set to 10−1210^{-12}. The parameters used were those presented by [48] corresponding to a 2 mM concentration of KCl. A simulation of this model under various drug concentrations (DD) is shown in Figure 4, where we see, after starting from some non-equilibrium initial conditions, the model decays to some equilibrium with and without a positive drug concentration, as we would expect; such equilibria are unique, and are guaranteed to exist as discussed above.

Figure 4. Stable equilibria for the drug-bound ion-channel model exist with and without the presence of drugs. Simulation of the [48] Model augmented with a drug-bound open state. In the absence of drug D=0D = 0, the model can be seen as a reducible Markov model, where channels in the drug-bound state slowly unbind and transition to drugless states. For D=1D = 1, the model topology is strongly connected and so, may simply be treated as a single irreducible Markov model. a: time-course showing the application of drug when 1≤t≤31 \le t \le3 (D=1D = 1), and absence of drug D=0D = 0 otherwise. b: The proportion of channels in each state at time tt according to the model. Two steady states are clearly shown: one when D=0D = 0 (without drug), and one where D=1D = 1 (with drug). Moreover, once the drug is removed, the system returns to the drugless steady state. Whether D=0D = 0 or D>0D > 0 these steady states are unique, as discussed above.

We set the drug-binding parameter kon=10−1k_{\mathrm{on}} = 10^{-1}, and the corresponding unbinding parameter, koff=10−2k_{\mathrm{off}} = 10^{-2}. Note that for real-life applications, these parameters would be fitted to represent the binding kinetics of a particular drug, whereas the other model parameters should be independent of the particular drug being considered.

Removing a state variable

In Section 4, we described how the governing Equation (1) may be simplified using different choices of a particular transformation matrix (denoted T\mathbf{T}). By mapping a state, or linear combination of states, to 0, this allows the governing equation to be rewritten with one fewer state variables. Here, we explore the numerical properties of the Wang model when transformed by various T\mathbf{T} matrices. Firstly, we rewrite the model in 5 different ways by removing each of the model’s five state variables. We then compare these approaches against the full form of the model using the unaltered Q\mathbf{Q}-matrix (as in (1)).

Again, use the [48] model, and simulate it using scipy’s “LSODA” routine. For each simulation, relative and absolute solver tolerances were set to the same value. Results of this approach are shown in Figure 5, and we perform simulations for a range of values. Here, it seems all the different reductions schemes are similarly suitable—in each case, the simplified model requires far fewer steps than the full model to achieve a similar level of accuracy. Though it remains to be seen if different choices of T\mathbf{T} require less solver steps for this, and other, example models.

Figure 5. Regardless of which state is eliminated from the model, significantly less function evaluations are required to simulate the [48] model. a A staircase-like voltage signal used in [27] is input to the model. b: the proportion of ion channels in each of the five states at time tt. c: The resulting current IKrI_{\mathrm{Kr}} with the maximal conductance, gKrg_{\mathrm{Kr}}, set to 0.1524 μS\mu\mathrm{S}. d: the number of function evaluations required to simulate the model and the corresponding root-mean-square error (RMSE) between the solution and a reference solution (for which both the relative and absolute solver tolerances were set to 10−1210^{-12}). For a range of tolerances between 10−210^{-2} and 10−810^{-8}, we show the computed error between each version of the model (with a given state removed, or computed using the entire Q\mathbf{Q} matrix). Here, eliminating each state (those shown in the legend) at the top of the figure results in a similar amount of error (compared to a reference solution obtained with fine tolerances). e: The error when eliminating a state (here, state O) is significantly less than when the model is simulated using the full transition-rate matrix, with no state variables removed (black dashed line).

Example II: Exploring the fast-slow dynamics of an auxin signalling pathway

Nuclear signalling pathways play an important role in the response of living cells (both plant and animal) to environmental cues. The modelling of such signalling pathways is a ubiquitous challenge encountered in many areas of mathematical biology ([23]). Models can quickly become infeasibly complicated when large signalling pathways are considered in their entirety. Here, we present an example of a signalling pathway model, where the presence of a Markov-model subnetwork allows for model simplification.

Auxin is a plant hormone which, amongst other things, controls the expression of genes relating to cell growth and maturation ([29]). Auxin interacts with the signalling pathway by promoting the degradation of Aux/IAA inhibitor proteins. Our model describes a concentration of Aux/IAA proteins, denoted II, and a concentration of Auxin Response Factors (ARFs), denoted AA. As in previous work, such variables may represent either specific members of the Aux/IAA and ARF gene families, or some combinations of genes ([35, 13]).

Individual ARF and Aux/IAA proteins are known to bind together to form dimers. We denote the concentration of a dimer formed by a single ARF and Aux/IAA as DA,ID_{A,I}. For the sake of parsimony, we assume that DA,I=DI,AD_{A,I}=D_{I,A}. We also consider ARF-ARF homodimers with concentration denoted by DA,AD_{A,A}, and Aux/IAA-Aux/IAA homodimers with concentrations denoted by DI,ID_{I,I}. Then, DA,AD_{A,A}, DA,ID_{A,I}, and DI,ID_{I,I} are all state-variables representing the concentrations of dimers in the nucleus.

Following [41] and assuming that all reactions between the various species (that is proteins and protein complexes) follow the mass-action law, we have,

dAdt=kA−dAA−2A2kA,A−kA,IAI+2dA,ADA,A+dA,IDA,I,(41)\frac{\mathrm{d}A}{\mathrm{d}t}=k_A-d_A A-2A^2 k_{A,A}-k_{A,I}AI+2d_{A,A}D_{A,A}+d_{A,I}D_{A,I}, \tag*{(41)}
dIdt=kI−dII−AIkA,I−2I2kI,I+2dI,IDI,I+dA,IDA,I,(42)\frac{\mathrm{d}I}{\mathrm{d}t}=k_I-d_I I-AI k_{A,I}-2I^2 k_{I,I}+2d_{I,I}D_{I,I}+d_{A,I}D_{A,I}, \tag*{(42)}
dDA,Adt=A2kA,A−dA,ADA,A,(43)\frac{\mathrm{d}D_{A,A}}{\mathrm{d}t}=A^2 k_{A,A}-d_{A,A}D_{A,A}, \tag*{(43)}
dDA,Idt=AIkA,I−dA,IDA,I,(44)\frac{\mathrm{d}D_{A,I}}{\mathrm{d}t}=AI k_{A,I}-d_{A,I}D_{A,I}, \tag*{(44)}
dDI,Idt=−dI,IDI,I+I2kI,I(45)\frac{\mathrm{d}D_{I,I}}{\mathrm{d}t}=-d_{I,I}D_{I,I}+I^2k_{I,I} \tag*{(45)}

where kA,Ak_{A,A}, kA,Ik_{A,I}, and kI,Ik_{I,I} are association rates that control the rate at which dimers are formed; dA,Ad_{A,A}, dA,Id_{A,I}, and dI,Id_{I,I} are the corresponding dissociation rates; and kAk_A and dAd_A, and kIk_I and dId_I are the production and decay rates for ARFs and Aux/IAA proteins, respectively. The production and decay rates for ARFs, that is kAk_A and dAd_A, and the Aux/IAA production rate are assumed to be constant, whereas Aux/IAA decays more rapidly in the presence of auxin. This fact is what enables the signalling network to respond to changes in auxin concentration, because these changes in concentration affect the rate at which target genes are transcribed.

This response to auxin enables many important processes such as cell growth, division and differentiation, for example. In this model, the effect of an increased/decreased auxin concentration in the cell can be achieved by increasing/decreasing the Aux/IAA decay parameter, dId_I, which is assumed constant. In this section, we consider only the dynamics of the signalling pathway under steady-state concentrations of auxin—in which case, we assume that dId_I is constant over the entire time-course.

It is natural to use a Markov model to describe the binding/unbinding of complex proteins to DNA. Here individual protein complexes (such as individual proteins and dimers) may bind to and unbind from the DNA’s promoter region at rates proportional to their respective concentrations. We write this part of the model as,

dgdt=1τGQg(x,θ)Tg(46)\frac{\mathrm{d}\mathbf{g}}{\mathrm{d}t}=\frac{1}{\tau_G}\mathbf{Q}_g(\mathbf{x},\boldsymbol{\theta})^{\mathsf{T}}\mathbf{g} \tag*{(46)}

where

g=(GGA,AGA,I)(47)\mathbf{g}= \begin{pmatrix} G\\ G_{A,A}\\ G_{A,I} \end{pmatrix} \tag*{(47)}

is a vector comprising the proportions of all possible promoter configurations (unbound, bound to an ARF-ARF dimer and bound to an ARF-Aux/IAA, respectively), Qg\mathbf{Q}_g is a transition-rate matrix which depends on the models state (x\mathbf{x}) and parameter (θ\boldsymbol{\theta}) vectors, and τG\tau_G is some representative timescale that dictates the over-all rate of the dynamics, but does not affect the steady state. For fixed x\mathbf{x} and θ\boldsymbol{\theta}, this portion of the model is a Markov model as described in Section 1. This transition-rate matrix may be parameterised so that it reflects affinities for protein-promoter kinetics.

The above model equations, along with the computer code implementation of the model, were produced using the auxin_signalling_models package (v0.3.1) which may found on GitHub. Further details are provided in Section 6

This Markov model then describes the probability that a given promoter is bound to one of each of the model’s monomers or dimers at a given time. These promoter-state variables dictate the transcription rates which ultimately control the production of ARF and Aux/IAA monomers, as described in (41) and (42). Conversely, the concentrations of ARFs, Aux/IAAs and dimers thereof dictates the transition rates between states in the promoter Markov model. This interaction and feedback between the Markov-model component of the model, and the concentration of ARF and Aux/IAA proteins, is shown in Figure 6.

Figure 6. Schematic showing a Markov model as a component of a larger ODE model. When the transition rates in the Markov model are fast compared to other dynamics of the model, a quasi steady-state assumption may be used. In this case, the unique steady state of the Markov model is determined by the yy state variables described by the rest of the model. In turn, the quasi steady-state variables the model is used to compute dydt\frac{\mathrm{d}y}{\mathrm{d}t} to simulate the model. For the auxin model described in the article, the Markov model component corresponds to the binding of complexes with the promoter region of the DNA, and the remaining state variables govern the production, decay and dimerisation of proteins, and the production and decay of mRNA.

Each promoter state corresponds to a different transcription rate for each species of mRNA. There are two types of mRNA in our model, with concentrations denoted by RAR_A and RIR_I, that drive the expression of ARF and Aux/IAA proteins, respectively. Each mRNA concentration, RiR_i, is governed by an ODE of the form,

dRidt=Ki(g,θ)−dRRi,(48)\frac{\mathrm{d}R_i}{\mathrm{d}t}=K_i(\mathbf{g},\boldsymbol{\theta})-d_RR_i, \tag*{(48)}

where dRd_R is the assumed (time-independent) decay rate for mRNA (assumed equal for both types of mRNA described by the model), and Ki(g,θ)K_i(\mathbf{g},\boldsymbol{\theta}) is a function which maps the promoter states and parameter vectors to some transcription rate,

Ki(g,θ)=Kmax⁡,iGA,A+K0,iG,(49)K_i(\mathbf{g},\boldsymbol{\theta})=K_{\max,i}G_{A,A}+K_{0,i}G, \tag*{(49)}

where Kmax⁡,iK_{\max,i} is a constant parameter which quantifies the rate of protein translation when an ARF-ARF homodimer is bound to the promoter, and K0,iK_{0,i} is the basal rate of transcription which occurs when no ARF nor Aux/IAA protein is bound to the promoter. Here, we assume that ARF-Aux/IAA dimers have a repressive effect on both ARF and Aux/IAA transcription and consequently, the promoter state GA,IG_{A,I} has no associated transcription rate. Such a motif is found in Arabidopsis thaliana (particularly in early embryos), consisting of ARF, ARF5/Monopteros (MP) and the Aux/IAA, IAA12/Bodenlos (BDL) [31].

For small τG\tau_G, where promoter binding/unbinding occurs relatively quickly, we can approximate the system using a quasi steady-state assumption to define the slow-manifold model,

dydt=f(y,g,t;θ),(50)\frac{\mathrm{d}\mathbf{y}}{\mathrm{d}t}=\mathbf{f}(\mathbf{y},\mathbf{g},t;\boldsymbol{\theta}), \tag*{(50)}
g=G∞(y,θ),(51)\mathbf{g}=\mathbf{G}_{\infty}(\mathbf{y},\boldsymbol{\theta}), \tag*{(51)}

where f(y,t;p)\mathbf{f}(\mathbf{y},t;p) is the vector-valued function describing the evolution of the state variables as in (41)–(45), and the function G\mathbf{G} maps these state variables, y\mathbf{y}, and our parameter vector, θ\boldsymbol{\theta} to the corresponding equilibrium point of the promoter Markov model. This equilibrium point is determined by finding the non-trivial solution to (46) with elements summing to one, that is, 1⊤g=1\mathbf{1}^{\top}\mathbf{g}=1. Such an equilibrium point is guaranteed to exist by Proposition 1. The simpler slow-manifold model is then a suitable approximation for the full model when τG\tau_G is small [2]. The assumption that these protein-promoter interactions occur on a much faster timescale than the rest of the model is used in previous models which do not include an explicit description of promoter-protein binding dynamics [35, 4, 13]. Nevertheless, simplifying the model in this way reduces the dimensionality of the dynamical system.

Furthermore, we may find the steady state of the promoter Markov model in the above model explicitly,

G=11+λA,A+λA,I(52)G = \frac{1}{1+\lambda_{A,A}+\lambda_{A,I}} \tag*{(52)}
GA,A=λA,A1+λA,A+λA,I(53)G_{A,A} = \frac{\lambda_{A,A}}{1+\lambda_{A,A}+\lambda_{A,I}} \tag*{(53)}
GA,I=λA,I1+λA,A+λA,I(54)G_{A,I} = \frac{\lambda_{A,I}}{1+\lambda_{A,A}+\lambda_{A,I}} \tag*{(54)}

where λi,j\lambda_{i,j} are ratios of transition rates in the Markov model component,

λA,A=DA,AkG,DA,AdG,DA,A(55)\lambda_{A,A} = D_{A,A}\frac{k_{G,D_{A,A}}}{d_{G,D_{A,A}}} \tag*{(55)}
λA,I=DA,IkG,DA,IdG,DA,I(56)\lambda_{A,I} = D_{A,I}\frac{k_{G,D_{A,I}}}{d_{G,D_{A,I}}} \tag*{(56)}

Hence, in this case, the steady state of the Markov model depends only on the ratio of pairs of transition rates. This fact allows for a reduction in the number of necessary model parameters under the quasi steady-state assumption outlined above.

Figure 7 shows the behaviour of the model with and without the quasi steady-state assumption, and under the parameter values given in Table 1. This figure also shows how the resultant model trajectories converge to the quasi steady-state approximation model as τG\tau_G becomes small. Whilst the error between the full model and the approximate model decreases for smaller τG\tau_G, the number of RHS evaluations required by the solver increases due to the increasing stiffness of the system. Accordingly, we see that for small τg\tau_g, the quasi steady-state model provides a good approximation of the full model, and its usage reduces computational expense.

Related processParametervalue
DimerisationkI,Ik_{I,I}0.15
dI,Id_{I,I}0.01
kA,Ak_{A,A}0.05
dA,Ad_{A,A}0.01
kA,Ik_{A,I}0.05
dA,Id_{A,I}0.01
Monomer degradationdAd_A2.0
dId_I0.1
Monomer productionkAk_A1.0
kIk_I1.0
RNA degradationdRd_R0.1
Aux/IAA mRNA transcriptionKmax⁡,RIK_{\max,R_I}1.0
K0,RIK_{0,R_I}0.01
ARF mRNA transcriptionKmax⁡,RAK_{\max,R_A}1.0
K0,RAK_{0,R_A}0.0001

Table 1. List of model parameters and associated values used to simulate and analyse our model of the auxin-signalling pathway. All promoter-protein association/dissociation rates are set to 1. Note that a different transcription rate is given for each state of the promoter in the model. The effective transcription-rate is obtained by taking an average of these rates, weighted by the probability that the promoter is in each state.

Figure 7. The full model becomes well-approximated by the slow-manifold model as the promoter timescale, τG\tau_G decreases. Simultaneously the full model becomes more expensive to simulate as τG\tau_G decreases. Panel a: a simulation of the slow-manifold model. Panel b: trajectories of the full model for various values of τG\tau_G showing the Aux/IAA mRNA concentration, RIR_I. Here the output of slow-manifold model is shown by the grey, dashed line. Panel c: a scatterplot showing how the number of RHS evaluations required to compute the above trajectories depends on τG\tau_G. The number of RHS evaluations required by the slow-manifold model is shown by the horizontal, grey, dashed line. d: root-mean-square error between the above RIR_I time series from the slow-manifold model and the full model for various values of τG\tau_G.

This reduction in the number of state variables also proves useful when exploring the steady-state behaviour of such models [41].

Discussion

Mathematical models may be used in a variety of settings to provide mechanistic and quantitative descriptions of complex biological phenomena. For certain applications, these models may be expressed as irreducible systems of linear ODEs. Such mathematical models are guaranteed certain properties—chiefly the existence and uniqueness of stable equilibria. We have mainly discussed models where the derivative function may be expressed in terms of an irreducible matrix. However, as in the case of the drug-binding model discussed in Section 5.1, similar results may also apply to closely-related linear systems of ODEs. We also saw in Section 3 that microscopic reversibility has consequences for model implementations in code, where eigenvalues/eigenvectors should be assumed to be real-valued only if the model satisfies microscopic reversibility.

We have also seen that such formulations allow for a reduction in model complexity (number of state variables) which facilitates mathematical investigation, and may lead to significant performance gains in computer code. Such performance gains are particularly valuable when fitting models—as are the aforementioned mathematical guarantees regarding steady states. The fact that the conservation condition allows for the removal of one state variable is well known ([9]; [14]), though the choice of which state (or linear combination of states) to remove is not obvious. In fact, we saw that this choice was of little importance for the example presented in Section 5.1: no matter which state was removed, a similar number of function evaluations were required to provide a given accuracy. However, this conclusion may change in new settings, particularly in conditions where transitions between certain states are much faster than others. Further work identifying schemes for model reduction which improve the numerical properties of the resulting simplified ODE systems could further improve the implementation of Markov models.

Our second example demonstrates how the mathematical properties of Markov models allows for model simplification of signalling pathway models, which typically include protein-protein binding, and protein-DNA binding, two processes which operate at different time scales and in completely different concentration ranges. This justifies model simplification via a quasi steady-state assumption, allowing for more efficient simulation, a reduction in the number of necessary model parameters, and possibly easier analysis of the resulting dynamical systems. Here, a simple model was introduced for demonstrative purposes, but it would be natural to extend this model to include multiple ARF species and multiple Aux/IAA species ([4]).

In such a case, our quasi steady-state assumption is yet more useful, removing even more state variables from the ODE system.

Other examples of irreducible Markov models embedded in larger ODE mathematical biology models include other models of gene regulations [24], and IK1\mathrm{I}_{\mathrm{K1}} in cardiac action-potential models [30, 46], which can be interpreted as a similar quasi steady-state formulation. For any such model, the examples presented above show how the mathematical properties of irreducible Markov models can be used to simplify models and analyse the steady-state behaviour of systems, even when the irreducible Markov model forms but a small subnetwork of some larger system.

Data Accessibility

All codes used for model generation, simulation, and the production of figures is available on GitHub at https://github.com/joeyshuttleworth/irreducible_markov_models.

Acknowledgments

This work was supported by the Wellcome Trust (grant no. 212203/Z/18/Z); and the Leverhulme Trust (grant no. RPG-2024-061). GRM acknowledges support from the Wellcome Trust via a Senior Research Fellowship. JGS and EF acknowledge support from the Leverhulme Trust. This research was funded in whole, or in part, by the Wellcome Trust [212203/Z/18/Z]. For the purpose of open access, the author has applied a CC-BY public copyright licence to any Author Accepted Manuscript version arising from this submission.

References

  1. [1]Beattie, K.A., Hill, A.P., Bardenet, R., Cui, Y., Vandenberg, J.I., Gavaghan, D.J., Boer, T.P.d., Mirams, G.R.: Sinusoidal voltage protocols for rapid characterisation of ion channel kinetics. The Journal of Physiology 596(10), 1813–1828 (2018) https://doi.org/10.1113/JP275733
  2. [2]Battelli, F., Lazzari, C.: On the pseudo-steady-state approximation and Tikhonov theorem for general enzyme systems. Mathematical Biosciences 75(2), 229–246 (1985) https://doi.org/10.1016/0025-5564(85)90039-2 . Accessed 2026-08-14
  3. [3]Bondy, A., Murty, U.S.R.: Graph Theory, 3rd edn. Graduate Texts in Mathematics, vol. 244. Springer, London (2008)
  4. [4]Bridge, L.J., Mirams, G.R., Kieffer, M.L., King, J.R., Kepinski, S.: Distinguishing possible mechanisms for auxin-mediated developmental control in arabidopsis: models with two aux/iaa and arf proteins, and two target gene-sets. Mathematical biosciences 235(1), 32–44 (2012) https://doi.org/10.1016/j.mbs.2011.10.005
  5. [5]Berman, A., Plemmons, R.J.: Nonnegative Matrices in the Mathematical Sciences. Computer science and applied mathematics. Academic Press, New York ; London (1979)
  6. [6]Bates, D.M., Watts, D.G.: Nonlinear Regression Analysis and Its Applications. Wiley, New York (1988)
  7. [7]Clerx, M., Beattie, K.A., Gavaghan, D.J., Mirams, G.R.: Four ways to fit an ion channel model. Biophysical Journal 117(12), 2420–2437 (2019) https://doi.org/10.1016/j.bpj.2019.08.001
  8. [8]Colquhoun, D., Dowsland, K.A., Beato, M., Plested, A.J.R.: How to impose microscopic reversibility in complex reaction mechanisms. Biophysical Journal 86(6), 3510–3518 (2004) https://doi.org/10.1529/biophysj.103.038679
  9. [9]Colquhoun, D., Hawkes, A.G.: A Q-matrix cookbook: how to write only one program to calculate the single-channel and macroscopic predictions for any kinetic mechanism. In: Sakmann, B., Neher, E. (eds.) Single-Channel Recording, 2nd edn., pp. 589–633. Springer, Boston, MA (1995). https://doi.org/10.1007/978-1-4419-1229-9_20
  10. [10]Clancy, C.E., Rudy, Y.: Na+ Channel Mutation That Causes Both Brugada and Long-QT Syndrome Phenotypes. Circulation 105(10), 1208–1213 (2002) https://doi.org/10.1161/hc1002.105183
  11. [11]Crooks, G.E.: On thermodynamic and microscopic reversibility. Journal of Statistical Mechanics: Theory and Experiment 2011(07), 07008 (2011) https://doi.org/10.1088/1742-5468/2011/07/P07008
  12. [12]Ederer, M., Gilles, E.D.: Thermodynamically feasible kinetic models of reaction networks. Biophysical journal 92(6), 1846–1857 (2007) https://doi.org/10.1529/biophysj.106.094094
  13. [13]Farcot, E., Lavedrine, C., Vernoux, T.: A Modular Analysis of the Auxin Signalling Network. PLOS ONE 10(3), 0122231 (2015) https://doi.org/10.1371/journal.pone.0122231
  14. [14]Fink, M., Noble, D.: Markov models for ion channels: versatility versus identifiability and speed. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 367(1896), 2161–2179 (2009) https://doi.org/10.1098/rsta.2008.0301
  15. [15]Gupta, P.B., Fillmore, C.M., Jiang, G., Shapira, S.D., Tao, K., Kuperwasser, C., Lander, E.S.: Stochastic State Transitions Give Rise to Phenotypic Equilibrium in Populations of Cancer Cells. Cell 146(4), 633–644 (2011) https://doi.org/10.1016/j.cell.2011.07.026
  16. [16]Gibbons, A.: Algorithmic Graph Theory. Cambridge University Press, Cambridge, United Kingdom (1985)
  17. [17]Gillespie, D.T.: Deterministic Limit of Stochastic Chemical Kinetics. The Journal of Physical Chemistry B 113(6), 1640–1644 (2009) https://doi.org/10.1021/jp806431b
  18. [18]Hodgkin, A.L., Huxley, A.F.: A quantitative description of membrane current and its application to conduction and excitation in nerve. The Journal of Physiology 117(4), 500–544 (1952) https://doi.org/10.1113/jphysiol.1952.sp004764
  19. [19]Horn, R.A., Johnson, C.R.: Matrix Analysis, 2nd edn. Cambridge University Press, Cambridge, United Kingdom (2012)
  20. [20]Hirsch, M.W., Smale, S., Devaney, R.L. (eds.): Differential Equations, Dynamical Systems, and an Introduction to Chaos, Third edition edn. 3rd, Boston (2013). https://doi.org/10.1016/B978-0-12-382010-5.00055-5
  21. [21]Kepler, T.B., Elston, T.C.: Stochasticity in Transcriptional Regulation: Origins, Consequences, and Mathematical Representations. Biophysical Journal 81(6), 3116–3136 (2001) https://doi.org/10.1016/S0006-3495(01)75949-8 . Accessed 2026-05-12
  22. [22]Kelly, F.P.: Reversibility and Stochastic Networks. Cambridge University Press, Cambridge, United Kingdom (1981)
  23. [23]Klipp, E., Liebermeister, W.: Mathematical modeling of intracellular signaling pathways. BMC Neuroscience 7(1), 10 (2006) https://doi.org/10.1186/1471-2202-7-S1-S10
  24. [24]Kar, P., Mirams, G.R., Christian, H.C., Parekh, A.B.: Control of NFAT Isoform Activation and NFAT-Dependent Gene Expression through Two Coincident and Spatially Segregated Intracellular Ca2+ Signals. Molecular Cell 64(4), 746–759 (2016) https://doi.org/10.1016/j.molcel.2016.11.011
  25. [25]Keener, J.P., Sneyd, J.: Mathematical Physiology. Interdisciplinary applied mathematics. Springer, New York (2009)
  26. [26]Lin, Y.T., Buchler, N.E.: Efficient analysis of stochastic gene dynamics in the non-adiabatic regime using piecewise deterministic Markov processes. Journal of The Royal Society Interface 15(138), 20170804 (2018) https://doi.org/10.1098/rsif.2017.0804. Accessed 2026-05-08
  27. [27]Lei, C.L., Clerx, M., Gavaghan, D.J., Polonchuk, L., Mirams, G.R., Wang, K.: Rapid characterization of hERG channel kinetics I: Using an automated high-throughput system. Biophysical Journal 117(12), 2438–2454 (2019) https://doi.org/10.1016/j.bpj.2019.07.029
  28. [28]Li, Z., Dutta, S., Sheng, J., Tran, P.N., Wu, W., Chang, K., Mdluli, T., Strauss, D.G., Colatsky, T.: Improving the in silico assessment of proarrhythmic risk by combining hERG (Human Ether-à-go-go-Related Gene) channel-drug binding kinetics and multichannel pharmacology. Circulation: Arrhythmia and Electrophysiology 10(2), 004628 (2017) https://doi.org/10.1161/CIRCEP.116.004628
  29. [29]Leyser, O.: Auxin Signaling. Plant Physiology 176(1), 465–479 (2018) https://doi.org/10.1104/pp.17.00765
  30. [30]Luo, C.H., Rudy, Y.: A dynamic model of the cardiac ventricular action potential. I. Simulation of ionic currents and concentration changes. Circulation Research 74(6), 1071–1096 (1994) https://doi.org/10.1161/01.res.74.6.1071
  31. [31]Lau, S., Smet, I.D., Kolb, M., Meinhardt, H., Jürgens, G.: Auxin triggers a genetic switch. Nature Cell Biology 13(5), 611–615 (2011) https://doi.org/10.1038/ncb2212
  32. [32]Lei, C.L., Whittaker, D.G., Mirams, G.R.: The impact of uncertainty in hERG binding mechanism on in silico predictions of drug-induced proarrhythmic risk. British Journal of Pharmacology 181(7), 987–1004 (2024) https://doi.org/10.1111/bph.16250
  33. [33]Mangold, K.E., Brumback, B.D., Angsutararux, P., Voelker, T.L., Zhu, W., Kang, P.W., Moreno, J.D., Silva, J.R.: Mechanisms and models of cardiac sodium channel inactivation. Channels 11(6), 517–533 (2017) https://doi.org/10.1080/19336950.2017.1369637
  34. [34]Meyer, C.D.: Matrix Analysis and Applied Linear Algebra. Society for Industrial and Applied Mathematics, Philadelphia (2000)
  35. [35]Middleton, A.M., King, J.R., Bennett, M.J., Owen, M.R.: Mathematical modelling of the Aux/IAA negative feedback loop. Bulletin of Mathematical Biology 72(6), 1383–1407 (2010) https://doi.org/10.1007/s11538-009-9497-4
  36. [36]Moler, C., Van Loan, C.: Nineteen dubious ways to compute the exponential of a matrix, twenty-five years later. SIAM review 45(1), 3–49 (2003) https://doi.org/10.1137/S00361445024180
  37. [37]Mangold, K.E., Wang, W., Johnson, E.K., Bhagavan, D., Moreno, J.D., Nerbonne, J.M., Silva, J.R.: Identification of structures for ion channel kinetic models. PLoS computational biology 17(8), 1008932 (2021) https://doi.org/10.1371/journal.pcbi.1008932
  38. [38]Patten-Elliott, F., Lei, C.L., Preston, S.P., Wilkinson, R.D., Mirams, G.R.: Optimizing experimental designs for model selection of ion channel drug-binding mechanisms. Philosophical Transactions A 383(2292), 20240227 (2025) https://doi.org/10.1098/rsta.2024.0227
  39. [39]Postawa, K., Szczygieł, J., Kułażyński, M.: A comprehensive comparison of ODE solvers for biochemical problems. Renewable Energy 156, 624–633 (2020) https://doi.org/10.1016/j.renene.2020.04.089
  40. [40]Rudy, Y., Silva, J.R.: Computational biology in the study of cardiac ion channels and cell electrophysiology. Quarterly Reviews of Biophysics 39(1), 57–116 (2006) https://doi.org/10.1017/S0033583506004227
  41. [41]Shuttleworth, J.G., Chan, E., Welch, T., Bhosale, R.G., Bishopp, A., Farcot, E.: A general mathematical framework for modelling subnetworks of the nuclear auxin pathway. bioRxiv. ISSN: 2692-8205 Pages: 2026.08.06.742982 Section: New Results (2026). https://doi.org/10.64898/2026.08.06.742982 . https://www.biorxiv.org/content/10.64898/2026.08.06.742982v1 Accessed 2026-08-10
  42. [42]Seneta, E.: Non-negative Matrices and Markov Chains. Springer, New York (2006)
  43. [43]Shuttleworth, J.G., Lei, C.L., Windley, M.J., Hill, A.P., Preston, S.P., Mirams, G.R.: Evaluating the predictive accuracy of ion-channel models using data from multiple experimental designs. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 383(2292), 20240211 (2025) https://doi.org/10.1098/rsta.2024.0211
  44. [44]Sanguinetti, M.C., Tristani-Firouzi, M.: hERG potassium channels and cardiac arrhythmia. Nature 440(7083), 463–469 (2006) https://doi.org/10.1038/nature04710
  45. [45]Teed, Z.R., Silva, J.R.: A computationally efficient algorithm for fitting ion channel parameters. MethodsX 3, 577–588 (2016) https://doi.org/10.1016/j.mex.2016.11.001
  46. [46]Tusscher, K.H.W.J., Noble, D., Noble, P.J., Panfilov, A.V.: A model for human ventricular tissue. American Journal of Physiology-Heart and Circulatory Physiology 286(4), 1573–1589 (2004) https://doi.org/10.1152/ajpheart.00794.2003
  47. [47]Wilkinson, D.J.: Stochastic Modelling for Systems Biology, Third edition. edn. CRC Press, Boca Raton (2019)DOI
  48. [48]Wang, S., Liu, S., Morales, M.J., Strauss, H.C., Rassm​​usson, R.L.: A quantitative analysis of the activation and inactivation kinetics of HERG expressed in Xenopus oocytes. The Journal of Physiology 502 ( Pt 1)(Pt 1), 45–60 (1997) https://doi.org/10.1111/j.1469-7793.1997.045bl.x
  49. [49]Yang, J., Bruno, W.J., H​​lavacek, W.S., Pearson, J.E.: On imposing detailed balance in complex reaction mechanisms. Biophysical Journal 91(3), 1136–1141 (2006) https://doi.org/10.1529/biophysj.105.071852

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type