Tutorial 5: long-term dynamics of linear multivariate models
Discrete time
We now know that the general solution of a system of linear recursion equations, \(\vec{x}(t+1) = \mathbf{M}\vec{x}(t) + \vec{m}\), can be written
where \(\hat{\vec{x}}=-(\mathbf{M} - \mathbf{I})^{-1}\vec{m}\) is the equilibrium, \(\mathbf{A}\) is a matrix with right eigenvectors as columns, and \(\mathbf{D}\) is a diagonal matrix with eigenvalues along the diagonal.
Note that as time proceeds, the eigenvalues in \(\mathbf{D}\) get raised to higher and higher powers. As a result, the eigenvalue with the largest absolute value, which we call the leading eigenvalue, comes to dominate. To see this, let the leading eigenvalue be \(\lambda_1\) and factor it out of \(\mathbf{D}^t\),
Since \(|\lambda_i/\lambda_1|<1\) for all \(i\), for large \(t\) these all go to zero and we have
Warning
Note that this does not work if more than one eigenvalue share the largest absolute value.
We can therefore approximate \(\vec{x}(t)\) after a sufficient amount of time as
where \(\vec{v}_1\) is the right eigenvector associated with the leading eigenvalue (the first column of \(\mathbf{A}\)) and \(\vec{u}_1\) is the left eigenvector associated with the leading eigenvalue, \(\lambda_1\) (the first row of \(\mathbf{A}^{-1}\)).
Warning
Finding the left eigenvectors via the inverse of \(\mathbf{A}\) guarantees that the eigenvectors have been scaled such that \(\vec{u}_i\vec{v}_i = 1\). If you instead find the left eigenvectors by solving \(\vec{u}\mathbf{M}=\lambda\vec{u}\), make sure you scale \(\vec{u}_1\) so that \(\vec{u}_1\vec{v}_1 = 1\), eg, divide your unscaled left eigenvector, \(\vec{u}_1'\), by \(\vec{u}_1'\vec{v}_1\). Otherwise the long-term approximation will be off by a constant factor.
This convenient approximation tells us two things:
- the system will eventually converge to the equilibrium \(\hat{\vec{x}}\) if and only if the leading eigenvalue has absolute value less than one, \(|\lambda_1|<1\)
- since \(\vec{u}_1 (\vec{x}(0)-\hat{\vec{x}})\) is a scalar (row vector times column vector), \(\vec{v}_1\) tells us the relative deviation of each \(x_i\) from its equilibrium value in the long term, eg, if \(\vec{v}_1= \begin{pmatrix} 2 \\ 1 \end{pmatrix}\) then \(x_1\) is eventually twice as far from its equilibrium value than \(x_1\) is
Continuous time
In continuous time we the general solution is
with \(\hat{\vec{x}}=-\mathbf{M}^{-1}\vec{m}\).
As \(t\) increases \(\exp(\mathbf{D}t)\) becomes dominated by the eigenvalue with the largest (ie, most positive) value, which we call the leading eigenvalue. The long term dynamics can then be approximated
Therefore
- the system will eventually converge to the equilibrium \(\hat{\vec{x}}\) if and only if the leading eigenvalue is negative, \(\lambda_1<0\)
- \(\vec{v}_1\) tells us the relative deviation of each \(x_i\) from its equilibrium value in the long term
Problem
Many eukaryotic genes have both exons and introns, where only exons code for protein sequence. Messenger RNAs (mRNAs) transcribed from such genes initially include the introns, which must be spliced out before the mRNAs can be translated into proteins. Let \(n_1\) be the number of unspliced “pre-mRNAs,” which are produced by the cell at rate \(c\) and let \(n_2\) be the number of spliced “processed mRNAs”. If pre-mRNAs are spliced at rate \(a\) and processed mRNAs degrade at rate \(d\), the numbers of pre-mRNAs and processed mRNAs change according to
Writing this in matrix form, \(\mathrm{d}\vec{n}/\mathrm{d}t = \mathbf{M}\vec{n} + \vec{m}\), determine \(\mathbf{M}\) and \(\vec{m}\). Determine the eigenvalues (and associated eigenvectors if you have time). Is the equilibrium stable?