The Laplace Transform in Biology
Arthur Mattuck opened his Laplace transform lectures in MIT’s 18.03 by admitting that most students meet the transform as a machine with no visible origin. A short clip of that opening, Where the Laplace Transform comes from, is the prompt for this essay. The clip covers the first minutes of the argument. The full lecture is Lecture 19 of 18.03 on MIT OpenCourseWare, and the second half of the derivation below follows the transcript published there. This piece is part of a series for quantitative readers on how molecular biology gets turned into mathematics. The first half explains where the transform comes from. The second half shows what it does in five fields of biology. It closes with what a linear-systems view means for a person’s own glucose and blood-marker time series.
A power series with a continuous index
Mattuck starts from something every reader has seen. A power series is a sum , or with running from zero to infinity. He writes the coefficients as rather than the usual subscript on purpose. The coefficients are a function of the discrete variable : they assign a real number to each nonnegative integer. Summing the series is then an operation that takes a discrete function and returns a continuous function .
He gives two examples. If for every , the series is , which he tells the class “you are supposed to be born knowing” adds up to . The catch is that the sum only exists when lies strictly between -1 and 1. If , the series is the exponential and it converges for every . The clip ends where the point lands: what goes in is a function of and what comes out is a function of . That change of variable is the whole idea.
The rest of the derivation comes from the OpenCourseWare transcript. Make the index continuous. Replace by a real variable running from zero to infinity, and replace the sum by the only thing that can play its role over the reals, an integral. The continuous analogue of the power series is . For each fixed this integral is a number, so the result is again a function of .
Two cosmetic changes turn this into the familiar form. Nobody wants as the base of an exponential, because is the only base anyone likes to differentiate or integrate. So write . Then look at convergence. The integral has a chance of converging only when is between 0 and 1, so that large powers of shrink. In that range is negative, and it is more pleasant to work with a positive parameter, so define with . Finally rename as and the output as . The result is
and this is the Laplace transform. In Mattuck’s words it is “nothing more than the continuous analog of the summation of a power series”. The convergence condition on has become a convergence condition on , and the mysterious factor is just after a change of name.
He draws out two features. First, this is a transform and not an operator. An operator such as differentiation takes a function of and returns a function of . A transform changes the variable: a function of time goes in and a function of comes out, and in applications is very often a frequency. Second, the transform is linear, because the integral is linear. The first worked example is the transform of the constant function 1, which is . The calculation only works when , and he insists that asking for the value at negative is a meaningless question, exactly as asking for the sum of the geometric series at is meaningless.
Why the transform earns its keep
Two standard rules, which the clip does not reach, are why engineers reach for the transform. Integration by parts gives the derivative rule : differentiating in time becomes multiplying by and subtracting the initial value. A linear differential equation with constant coefficients therefore becomes an algebraic equation in . The second rule concerns convolution. If a system responds to an impulse with and is driven by an input , its output is the convolution , which is a sum of shifted and scaled impulse responses. In the Laplace domain that integral collapses to a product, . The function is called the transfer function, and it characterises the system independently of any particular input. To get back to time you invert the transform, usually by partial fractions and a table.
Most quantitative models in biology are linear differential equations with constant coefficients or are linearised around a steady state to become one. Each such model has a transfer function, and several fields have built their standard methods on that fact.
Pharmacokinetics: compartments in the s-domain
Pharmacokinetics describes what the body does to a drug, and its workhorse is the compartment model. The body is treated as a small number of well-mixed pools, and transfer between pools and elimination from them are first-order: the rate is proportional to the amount present. The simplest case is one compartment with an intravenous bolus dose . The amount obeys with . Applying the derivative rule gives , so , and the table gives .
The method scales. In a two-compartment model the transform of the central-compartment amount is a ratio of polynomials in . Its denominator factors as , so the inverse transform is the biexponential that pharmacokineticists fit to plasma data. The input enters as a separate factor. A bolus is a constant in the transform domain, a constant infusion at rate is , and first-order absorption from the gut with rate is . Concentration is then : the same disposition function multiplied by whichever input transform applies. Gibaldi and Perrier’s textbook devotes a chapter to the method of Laplace transforms and uses it throughout for linear models 1. Benet gave the general solution for linear mammillary models, which are models with a central compartment joined to peripheral ones like spokes, with elimination allowed from any compartment 2.
The linear assumption is also where the method stops. When elimination saturates, so that the enzyme clearing the drug approaches its maximum rate, the rate becomes rather than . The transform of a nonlinear function of is not a function of , and the algebra no longer closes. Gibaldi and Perrier treat this case in a separate chapter on nonlinear pharmacokinetics 3.
Gene circuits as transfer functions
Synthetic biology builds circuits from genes, and control theory supplies the language for what those circuits do to signals. Del Vecchio and Murray’s textbook develops that language for biomolecular systems 4. The simplest element is a gene whose protein is made at a rate proportional to an input and removed by degradation and dilution at rate : . Its transfer function is . To read this as a frequency response, substitute , where is the angular frequency of a sinusoidal input and is the imaginary unit. The magnitude of the response is . Inputs that vary slowly compared with the protein lifetime pass through with gain . Inputs that vary faster are averaged away. A gene is a first-order low-pass filter whose bandwidth is set by how fast its protein disappears.
Circuits follow by algebra. A cascade of genes has a transfer function that is the product of the stages, so each stage adds a further low-pass filter and delay. A negative feedback loop with forward path and feedback path has closed-loop transfer function . If the loop gain is large the response approaches , so the output is set by the feedback element and becomes insensitive to variation in the forward path. Del Vecchio, Dy and Qian review how these ideas have been carried into living cells and the practical obstacles met on the way, writing for both synthetic biologists and control engineers 5.
Measuring the frequency response
Rather than compute from a model, one can measure it. Drive a cell with a periodic input, sweep the period, and record how much of the oscillation reaches the output. The magnitude and phase of the response as a function of frequency are the transfer function evaluated along . Three groups did this to yeast in 2008.
Mettetal and colleagues applied periodic osmotic stimuli to yeast and measured the frequency dependence of the osmo-adaptation pathway. From those measurements they identified a predictive model and found that the dynamics are dominated by fast negative feedback acting through the kinase Hog1 that does not require new protein synthesis. For large shocks a slower feedback through gene expression appears as well 6. Hersen and colleagues built a microfluidic device that switches the osmolyte concentration at chosen frequencies. The HOG pathway behaved as a low-pass filter: it integrates fast changes and tracks slow ones. The frequency data yielded kinetic rates that had not been measurable before and showed that the Ssk1 branch of the pathway integrates fast signals while the Ste11 branch does not 7. Bennett and colleagues did the same for a metabolic network by oscillating the carbon source between glucose and galactose. The galactose system was again a low-pass filter, and the response was faster than models predicted. The discrepancy was traced to galactose transcripts whose half-lives depend on the carbon source 8.
The caveat in all three is the one the transform always carries. A frequency response is a property of a linear system, and a cell is only linear for small enough perturbations around an operating point. The large-shock behaviour that Mettetal’s group observed is the pathway leaving that regime.
Generating functions: the discrete cousin
Mattuck’s power series returns in stochastic gene expression. When molecule counts are small, the state of a cell is a probability of holding molecules at time . The chemical master equation is the set of coupled differential equations that moves probability between neighbouring values of as molecules are made and destroyed. If is used as the coefficient sequence, the power series is the probability generating function. The master equation gives one equation per , and together they become a single partial differential equation for . The moments come from derivatives of at , and if can be solved in closed form the whole distribution follows.
Thattai and van Oudenaarden analysed intrinsic noise in gene networks this way. They found that protein noise is controlled mainly at the level of translation, so that the mean and the variance of a protein can be tuned independently. Negative autoregulation reduces noise, and fluctuations in a regulatory protein propagate down a cascade 9. Shahrezaei and Swain took the two-stage model of an mRNA that is transcribed and translated and used the fact that in budding yeast proteins decay much more slowly than their mRNA. With that separation of timescales they derived the protein distribution in closed form, showed that protein is made in geometrically distributed bursts, and found the distributions to be asymmetric enough that mean and variance alone describe them poorly 10. The Laplace transform is the continuous limit of the same trick.
Survival analysis and frailty
The last example is statistics rather than dynamics. The survival function is the probability that an event, such as death or relapse, has not occurred by time . The hazard is the instantaneous event rate among those still at risk, and its integral is the cumulative hazard, with . A frailty model says that individuals differ by an unobserved positive multiplier on the hazard. Someone with faces twice the baseline hazard at every age. Conditional on , survival is .
The population survival curve is the average of that over the distribution of . Writing the expectation out, , and this is exactly the Laplace transform of the frailty distribution evaluated at the point . Hougaard’s monograph on multivariate survival data builds its treatment of frailty on this identity 11. Aalen introduced a broad family of frailty distributions that contains the gamma distribution and also allows a non-susceptible fraction of the population, and applied it to breast cancer survival from the Norwegian Cancer Registry 12. For gamma frailty with mean 1 and variance the transform is , so . The consequence is selection: the frail leave the population first, so the observed population hazard flattens or declines even when every individual’s hazard is rising. Any study of a biomarker’s relation to an outcome over decades has to reckon with this.
What this means for your own time series
A glucose trace after a meal and a drug concentration after a dose are both responses to an input. The linear-systems view says the response is the input convolved with an impulse response. That impulse response is characterised by a handful of time constants: how fast the curve rises, when it peaks, and how fast it decays. We think this is the right first model for a person’s own data, for three reasons. Superposition means two meals close together should produce the sum of two single-meal responses, so a departure from that sum is information. Time invariance means the same meal on different days should produce the same curve, so a change in the curve is a change in the system rather than in the input. And residuals from a linear prediction are where the nonlinear physiology shows up.
The view breaks in known places. Glucose regulation is nonlinear at its core: in the minimal model that Bergman and colleagues selected from seven candidates, insulin action multiplies the glucose level rather than adding to it, and it was a nonlinear model that best predicted the data 13. Drug elimination saturates at high concentrations 3. Parameters drift with time of day and with sleep and exercise, so the system is only time-invariant over windows of hours. Large inputs push the system out of the linear regime, which is the same lesson as the large osmotic shocks in yeast. And sampling limits what can be identified. A continuous glucose monitor reporting every five minutes can resolve nothing faster than a ten-minute period, and a blood panel drawn monthly carries almost no dynamic information: those markers are levels to be tracked and compared. Where a curve looks abnormal, its interpretation belongs with a clinician.
Questions people also ask
What is the Laplace transform in plain terms? It is the continuous version of summing a power series. The coefficient sequence becomes a function , the sum becomes an integral, and the base is renamed .
Why does the Laplace transform turn differential equations into algebra? Because differentiating in time corresponds to multiplying by in the transform domain, up to an initial-value term. Convolution of an input with an impulse response becomes a product.
Where is the Laplace transform used in biology? In compartmental pharmacokinetics to get concentration-time curves from dose inputs 1 and in the control theory of gene circuits as transfer functions 4. It also appears in the frequency-response analysis of signaling pathways 6 and in survival analysis, where the transform of the frailty distribution gives the population survival curve 11.
When does a linear-systems model of a biological response fail? When the response saturates or the input is large enough to leave the linear regime, when parameters change over the observation window, and when sampling is too sparse to identify the dynamics.
Woolf Software builds longitudinal molecular profiles of individuals: whole-genome sequencing, RNA sequencing, proteomics, blood biomarkers, and continuous glucose data, integrated into one model of you. Build your profile.
Footnotes
-
Milo Gibaldi, Donald Perrier. Method of Laplace Transforms. In Pharmacokinetics, Second Edition. Marcel Dekker (CRC Press), 1982. https://doi.org/10.1201/b14095-13 ↩ ↩2
-
Leslie Z. Benet. General Treatment of Linear Mammillary Models with Elimination from any Compartment as Used in Pharmacokinetics. Journal of Pharmaceutical Sciences, 1972. https://doi.org/10.1002/jps.2600610408 ↩
-
Milo Gibaldi, Donald Perrier. Nonlinear Pharmacokinetics. In Pharmacokinetics, Second Edition. Marcel Dekker (CRC Press), 1982. https://doi.org/10.1201/b14095-7 ↩ ↩2
-
Domitilla Del Vecchio, Richard M. Murray. Biomolecular Feedback Systems. Princeton University Press, 2015. https://doi.org/10.1515/9781400850501 ↩ ↩2
-
Domitilla Del Vecchio, Aaron J. Dy, Yili Qian. Control theory meets synthetic biology. Journal of The Royal Society Interface, 2016. https://doi.org/10.1098/rsif.2016.0380 ↩
-
Jerome T. Mettetal, Dale Muzzey, Carlos Gómez-Uribe, Alexander van Oudenaarden. The Frequency Dependence of Osmo-Adaptation in Saccharomyces cerevisiae. Science, 2008. https://doi.org/10.1126/science.1151582 ↩ ↩2
-
Pascal Hersen, Megan N. McClean, L. Mahadevan, Sharad Ramanathan. Signal processing by the HOG MAP kinase pathway. Proceedings of the National Academy of Sciences, 2008. https://doi.org/10.1073/pnas.0710770105 ↩
-
Matthew R. Bennett, Wyming Lee Pang, Natalie A. Ostroff, et al. Metabolic gene regulation in a dynamically changing environment. Nature, 2008. https://doi.org/10.1038/nature07211 ↩
-
Mukund Thattai, Alexander van Oudenaarden. Intrinsic noise in gene regulatory networks. Proceedings of the National Academy of Sciences, 2001. https://doi.org/10.1073/pnas.151588598 ↩
-
Vahid Shahrezaei, Peter S. Swain. Analytical distributions for stochastic gene expression. Proceedings of the National Academy of Sciences, 2008. https://doi.org/10.1073/pnas.0803850105 ↩
-
Philip Hougaard. Analysis of Multivariate Survival Data. Springer, 2000. https://doi.org/10.1007/978-1-4612-1304-8 ↩ ↩2
-
Odd O. Aalen. Heterogeneity in survival analysis. Statistics in Medicine, 1988. https://doi.org/10.1002/sim.4780071105 ↩
-
Richard N. Bergman, Y. Z. Ider, Charles R. Bowden, Claudio Cobelli. Quantitative estimation of insulin sensitivity. American Journal of Physiology-Endocrinology and Metabolism, 1979. https://doi.org/10.1152/ajpendo.1979.236.6.e667 ↩