From model structure to a defensible behavior claim
A worked method for deciding what a reaction-model family permits, what one parameter choice produces, and which calculation supports each conclusion.
Lecturer-written companion, released 15 September 2026 after the September 10 lecture. Álvaro’s student slides are linked separately on the course schedule. The lineage traces the methods, and the audience extension develops the Week 2 student contributions.
The core lecture asks for a map from biochemical structure to dynamical function. This exposition teaches how to build one without confusing a displayed trajectory with a conclusion about a design. A reaction mechanism, admissible state space, kinetic assumptions and parameter ranges define a model family. A numerical run chooses one member of that family and one initial state. Global geometry, local linearization and scalar certificates can instead establish statements that survive specified changes within the family.
Which structure supports which function, over exactly which family? A plotted trajectory is evidence for one model member and one start. A phase portrait organizes all starts in a region. A Hurwitz Jacobian proves a local claim for a strict parameter set or range. A Lyapunov function can sometimes certify a whole invariant domain and, when it is structural, a family of kinetics.
- Family: which mechanisms, signs, domains and parameter ranges are allowed to vary?
- Function: recovery, memory, commitment, bounded recurrence or an attracting clock?
- Scope: one initial state, a neighborhood, an invariant region or every admissible state?
- Failure mode: which omitted state, boundary violation, parameter equality or nonlinear term could invalidate the conclusion?
Define the dynamical object
The exposition begins with technical prerequisites that the core uses later: a phase portrait is meaningful only after the variables contain enough information to determine one velocity at every state.
1Choose a state
State is not merely what can be measured. It is the present information required by the model to determine the instantaneous future.
Consider a mass attached to a spring. If only position is recorded, the same value of can occur while the mass moves left or right. Position therefore does not determine . Velocity must be included. Starting from
Here is mass, is spring stiffness and is the damping coefficient. Define and the state vector . Then
This is an exact change of representation, not an approximation. The second-order scalar equation and the two-dimensional first-order equation contain the same information. The benefit is conceptual: equation (1) assigns one vector to every point in the plane. Trajectories cannot cross there, because crossing would assign two future velocities to one state.1
The same state test applies to cells. Protein concentration alone may not determine its future if a promoter can be in two configurations with different production rates. One can include promoter state explicitly, include an external input as , or derive an effective law by eliminating a fast hidden state. The choice changes what the model claims.
Hold every declared state variable fixed. If different hidden histories, inputs, or molecular configurations can still give different instantaneous derivatives, the declared state is incomplete for an autonomous model.
Choose variables that determine the model's instantaneous future, and distinguish state augmentation from an approximation.
2Convert memory into state
Higher order, delay, and hidden intermediates all express memory. State augmentation makes that memory explicit.
An th-order scalar equation can be written as first-order equations. For
set . The resulting companion system is
A finite chain of maturation steps works the same way. If immature protein matures through to fluorescent , then the current value of does not reveal the pipeline already committed upstream. Retaining turns the apparent memory into ordinary first-order flow.
A true fixed delay is different: its exact state is a history function, hence infinite-dimensional. A chain of intermediate states can approximate a distributed delay, but the approximation and its timescale must be declared. “Everything is first order” means that an appropriate state representation exists, not that one measured variable always suffices.
Rewrite a finite-order equation as a first-order state model, and recognize when a delay requires a history rather than finitely many variables.
3Prove the phase-line rules
For one autonomous variable, ordering makes the sign of one function almost a complete global analysis.
Let , with locally Lipschitz so solutions are locally unique. A fixed point satisfies . Between two consecutive roots, continuity prevents the sign of from changing. Therefore every nonstationary solution in that interval is monotone.
If is twice continuously differentiable near a simple root, Taylor expansion gives . To first order, , so . A negative derivative attracts from both sides, while a positive derivative repels. When , inspect higher-order terms or the exact signs of the field.
The equation shows why the three views are not redundant. Its origin attracts from the left and repels from the right. Separation gives
The phase line predicts the direction, but only equation (3) shows that a positive initial condition escapes in finite time . Conversely, ordering proves a result that no finite collection of traces can prove: a scalar autonomous system has no nonconstant periodic orbit. A periodic trajectory would have to return to a previous value after moving monotonically, contradicting uniqueness.
Use phase-line signs to establish direction and basins, then solve or estimate the travel time when finite-time escape matters.
4Follow a saddle-node family
A bifurcation is a change in the organization of a family of vector fields, not simply a curve drawn in parameter space.
Consider the saddle-node normal form.2
Solving gives no real fixed point for , one double root at , and two roots for . Since , the positive branch is stable and the negative branch unstable. At the collision, , so the hyperbolic linear test fails exactly where the topology changes.
The local return rate also becomes measurable. Write near the stable branch:
Thus diverges as the collision is approached. This is the mechanism behind critical slowing near a generic fold. In data, increased recovery time can be confounded by noise color, nonstationary forcing, sparse sampling, or a transition that is not a fold, so it is evidence to test rather than a universal alarm.4
Distinguish an equilibrium branch from a trajectory and derive the return-time divergence near a generic fold.
Turn mechanism into a portrait
The toggle switch begins as interacting genes and binding states. Its nullclines become a family-level argument only after that biological layer has been reduced carefully and the reduction assumptions have been named.
5Open the toggle circuit
Mutual repression is a network of regulated addition and removal, not an arbitrary pair of sigmoids.
Let gene produce repressor and gene produce repressor . Each protein represses the other gene. At a composite level:
The removal processes need not have the same molecular origin. If is the molecule count and a bacterial cell grows as , a protein that is stable as a molecule can still be diluted as a concentration. With production and concentration ,
Molecular degradation adds its own first-order contribution, so an effective removal rate can be . This connects the circuit directly to reaction and growth bookkeeping.
Separate regulated production, molecular degradation and growth dilution before writing a gene circuit's concentration equations.
6Derive the effective repression law
A Hill term is a reduced occupancy law. Its assumptions are part of the model and should travel with the formula.
For the -producing promoter, let denote the active configuration and a configuration containing that promoter and repressor . Suppose fast binding can be summarized by
Eliminate using promoter conservation:
If promoter redistribution is fast relative to protein accumulation and production is proportional to active occupancy, the slow protein equations become
Equation (8) is an effective binding relation. The exponent can encode concerted switching, cooperative occupancy, or a phenomenological fit. It is not automatically the molecularity of one elementary collision. Independent identical sites with production only when all are empty would instead give . Sequential binding, unequal sites, sequestration, and nonequilibrium promoter cycles yield still other rational functions. The reduction is useful because it states what is being compressed.
Check that promoter binding relaxes faster than the protein variables, that the promoter pool is conserved over the reduction window, and that the chosen occupancy state controls the composite production rate. Failure of any one can require extra state variables.
Derive an effective repression law from an explicit occupancy assumption and name the conditions under which the eliminated states can be ignored.
7Nondimensionalize and find every state
Scaling separates circuit shape from units and makes a complete equilibrium calculation possible.
Let , , and use a common removal time for a symmetric teaching case. Define and . With and ,
At a symmetric equilibrium, and , whose positive root is . The asymmetric solutions are exact:
or approximately and . Substitution into both equations is essential. A point on one nullcline stops only one component and is generally still moving.
Nondimensionalize a circuit and verify every proposed equilibrium in both component equations.
8Assemble basins from nullclines
Nullclines locate the component sign changes. Their intersections and the flow between them organize the decision.
The -nullcline is . Below it, and motion has a rightward component; above it, . The -nullcline is its reflection. Testing one point in each region determines the arrow directions without integrating.
Symmetry gives a useful proof. If , then , so . The diagonal is invariant. Uniqueness prevents a trajectory from crossing it, and each side flows to its corresponding asymmetric expression state. Thus the diagonal is the stable manifold of the middle saddle and the basin boundary.
A steep input-output curve alone is not bistability. Bistability requires two stable invariant outcomes at the same parameter value, separated by a threshold. Hysteresis additionally concerns how the state follows branches when a parameter is swept. Gardner, Cantor, and Collins constructed a mutually repressive switch in Escherichia coli; the dimensionless system here is a transparent teaching model of the same dynamical design, not a parameter fit to that construct.3
Use nullcline signs and invariant sets to distinguish a basin boundary from a single zero-velocity component.
Earn a local family-level claim
Linearization is a new dynamical system for displacements near one equilibrium. Writing that system explicitly reveals which wiring signs and parameter inequalities make the conclusion persist.
9Derive the linearized system
The Jacobian matrix becomes useful only after it is evaluated at a fixed point and placed inside a displacement equation.
For , , let be a fixed point and define the displacement vector . Taylor expansion gives
The canonical linearized system is the separate first-order model
For the toggle,
Every sign has biological content. The diagonal entries are effective protein removal. Growth dilution alone contributes to the corresponding diagonal before other interactions are added. The off-diagonal entries are negative because each protein represses production of the other. Evaluating at different intersections gives different linear systems, so “the Jacobian of the model” is incomplete language unless the state is named.
Define displacement from a specified equilibrium and write the Jacobian inside the linearized dynamical system.
10Read modes and the Hurwitz rule
Eigenvalues are rates because an eigendirection turns a vector equation into one scalar exponential.
If and , then
For a real eigenvalue, the sign controls growth or decay along that eigendirection. For , the real part controls the envelope and controls rotation. A general solution is a sum of modes, with polynomial factors added when a matrix has nontrivial Jordan blocks.
A matrix is Hurwitz exactly when for every eigenvalue. Then is globally exponentially asymptotically stable. If for a continuously differentiable nonlinear system, is locally exponentially asymptotically stable. One positive real part proves instability. A zero real part makes the first-order nonlinear test inconclusive.
The intuition is eventual decay. Every possible initial displacement is assembled from modal components. If even one component grows, a small perturbation with a projection onto it eventually leaves. If all exponential envelopes decay, polynomial prefactors cannot defeat them and every linear trajectory tends to the equilibrium. The distance need not decrease at every instant. For the nonlinear system, the remainder is smaller than linear near the equilibrium, so the strict linear stability result persists in a sufficiently small neighborhood.
Use eigenvalue real parts to test local attraction, and keep the nonlinear scope distinct from the global linear result.
11Use trace and determinant
For a real two-dimensional system, two scalar combinations classify all hyperbolic linear portraits.
Since and , the two-dimensional Hurwitz condition is
A negative determinant forces two real eigenvalues of opposite sign, hence a saddle. With positive determinant, negative trace puts both real roots on the negative side or gives a conjugate pair with negative real part. The discriminant distinguishes nodes from spirals but does not decide stability by itself.
For the two asymmetric toggle states, equation (15) has eigenvalues and , so both are stable nodes. At the symmetric state , each off-diagonal entry is . The eigenvalues are therefore , one positive and one negative. This is the saddle whose stable direction is tangent to the basin boundary.
The tangent is not the full separatrix. Nor does a stable Jacobian prove that every initial condition reaches that equilibrium. Those are global questions, which require invariant regions, nullclines, monotonicity, a Lyapunov argument, or another global tool.
Apply trace and determinant to classify planar linearizations without mistaking their local conclusions for a global basin argument.
12Know when first order is silent
Purely imaginary eigenvalues report the absence of first-order radial motion, not the presence of a nonlinear center.
Consider three systems written in polar coordinates:
At the origin, all three have the same Cartesian Jacobian and eigenvalues . Yet the higher-order radial laws make trajectories spiral inward, stay on circles, or spiral outward.
This is why the Hurwitz theorem uses strict inequalities. If an eigenvalue lies on the imaginary axis, the nonlinear remainder is no longer dominated by first-order contraction. One must calculate the relevant nonlinear terms, find a conserved quantity, construct a Lyapunov function, or apply a bifurcation theorem.
Recognize when zero real parts leave the nonlinear stability question open and choose a higher-order or global test.
Replace a silent local test
The spring now returns. The same example that forced us to enlarge the state also supplies a global scalar whose derivative makes a conclusion that purely imaginary eigenvalues cannot.
13Make energy a certificate
A Lyapunov function is a generalized energy: positive away from the target and nonincreasing along the actual vector field.
For the spring state in equation (1), define
Differentiate along trajectories:
When , equation (21) gives . Every nonzero start remains on its energy ellipse, so the origin is stable but not attracting. The purely imaginary eigenvalues are consistent with this conclusion, but energy proves it globally for the linear spring.
When , is positive definite and nonincreasing. The derivative is not strictly negative: it vanishes on the entire line . To finish correctly, inspect that set. If but , then , so the trajectory immediately leaves. The largest invariant set inside is only . LaSalle's invariance principle then gives convergence to the origin.
- Shift the candidate equilibrium to the origin.
- Show and away from it in the stated domain.
- Compute from the full nonlinear equations.
- If away from the origin, conclude asymptotic stability locally, or globally if the domain and level sets support it.
- If only , find the largest invariant subset of .
Positive definiteness and decreasing derivative are local unless more is shown. A global conclusion generally needs a forward-invariant domain and compact sublevel sets, often supplied by radial unboundedness. A Lyapunov function proves a statement about trajectories. Merely calling a scalar “energy-like” proves nothing. Modern biochemical-network methods construct such certificates from network structure rather than guessing a mechanical energy.78
Check the invariant zero-derivative set and confinement conditions before inferring convergence from an energy balance.
14Work the nonlinear pendulum
The pendulum shows what local linearization captures, what global energy adds, and why the angle's topology matters.
Measure angle from the downward vertical and scale time so . The ideal pendulum is
Its energy per unit is
At , the Jacobian is , so small oscillations have eigenvalues and period . Energy supplies the missing nonlinear result: nearby sublevel sets surround the equilibrium, so it is Lyapunov stable, while conservation prevents attraction.
At , the lower-left Jacobian entry changes to , giving eigenvalues and a saddle. The energy there is . Levels below 2 librate around a downward equilibrium, the level 2 contains the separatrices, and levels above 2 rotate. The small-angle approximation captures the local period and ellipses, but it cannot display the upper saddle, the separatrix, amplitude-dependent period, or rotation.
Because and are the same physical orientation, the natural phase space is a cylinder rather than an infinite plane. Repeated copies in the figure are a drawing convention, not distinct pendulums.
Use pendulum energy and the cylindrical state space to distinguish oscillation, rotation and the separatrix beyond the small-angle approximation.
15Stabilize the inverted pendulum
The same state-space and Hurwitz tools turn an unstable mechanical equilibrium into a transparent feedback design.
Let be angle from the upright position, and let be a signed horizontal pivot acceleration chosen so that
Near , with ,
Without control the eigenvalues are , so the upright equilibrium is a saddle. Passive velocity damping alone changes the trace but leaves a negative determinant, hence it cannot remove the unstable direction. Use local proportional-derivative feedback
The closed-loop linearized matrix is
Hurwitz therefore requires and . Proportional action stronger than gravity flips the effective stiffness; derivative action supplies contraction. With the linearized system is a center, not an attractor. For the smooth nonlinear model, strict Hurwitz stability proves local exponential stability. It does not prove global recovery because the trigonometric dynamics, finite track, actuator saturation, and unmodeled cart dynamics limit the basin.
Design a locally stabilizing feedback from trace and determinant, then state which nonlinear and actuator limits remain outside that guarantee.
Stress-test recurrence against chemistry
Energy distinguishes neutral recurrence from attraction. Saturation can destroy a conserved family and leave an isolated periodic orbit. Chemistry then restricts which mathematical portraits are admissible at all.
16Separate a center from a limit cycle
Closed trajectories can mean a continuum of conserved levels or one isolated attracting orbit. The distinction is dynamical, not visual.
The ideal spring and pendulum have centers. Every nearby energy value produces a different closed orbit. Perturbing one orbit moves the trajectory onto another; it does not return to the first. By contrast,
has an isolated periodic orbit at . Starts with move outward and starts with move inward. Both converge to the same orbit, making it a stable limit cycle.
For a smooth planar flow, the Poincaré-Bendixson theorem gives a proof pattern. Find a compact forward-invariant region, exclude fixed points from the limiting set, and conclude that a periodic orbit remains. It does not apply directly to a three-state repressilator or to a delay equation. A closed-looking numerical trace alone also does not invoke the theorem. Vary the step size and initial conditions, integrate long enough to remove transients, and identify the trapping and exclusion arguments.
Distinguish an isolated attracting cycle from a conserved family and state the hypotheses needed for a planar recurrence theorem.
17Find the Lotka-Volterra integral
The classic predator-prey model looks oscillatory, but its hidden conserved function shows that the orbits form a center rather than an attracting clock.
The positive equilibrium is . Define
Since for , is positive relative to the equilibrium. Its derivative cancels exactly:
Thus the positive equilibrium is surrounded by a family of conserved closed curves. The Jacobian also has purely imaginary eigenvalues, but equation (30) supplies the nonlinear reason. The model is not a robust oscillator: changing the initial condition changes the orbit and period, and common ecological modifications destroy the integral.
Differentiate a candidate first integral to test whether a biological oscillation is neutral rather than attracting.
18See how saturation creates a cycle
A saturating predation rate changes the fixed point from a center to an unstable spiral and permits an isolated attracting orbit.
Replace linear prey growth with logistic growth and let predation saturate. Consider the following illustrative system.
Use , , and . The positive fixed point is
Here and , with eigenvalues . The coexistence point is an unstable spiral. The positive quadrant is invariant. Logistic prey growth bounds , and bounds the total. The computed trajectories in Figure 11 approach the same orbit from both sides. A Poincaré-Bendixson proof would additionally need an interior trapping argument excluding equilibria from the limiting set. That final global proof is not supplied by the local eigenvalues or by the figure alone.
The figure is strong evidence for an attracting cycle for the displayed parameters and solver checks. It is not by itself a proof of uniqueness over all parameters. The analytic claim should name the invariant region and theorem; the numerical claim should archive equations, parameters, initial conditions, tolerances, and convergence tests.
Separate a computed attracting cycle from a local instability and from a complete global existence or uniqueness proof.
19Solve two reaction-network portraits
Small mass-action networks connect bifurcation and basin geometry directly to stoichiometric events.
Before transferring a mathematical portrait to concentrations, check three structural restrictions. Positivity: on the face , the component must be nonnegative, so flow cannot leave the nonnegative orthant. Independent parameters: distinct elementary reactions have independent positive constants unless a declared mechanism couples them; exact equality between unrelated rates is tuning, not structure. Kinetic form: elementary mass action has
so its polynomial signs are tied to what each reaction consumes and adds. Hill and Michaelis–Menten functions can escape that elementary polynomial form only as effective laws whose eliminated states and timescale assumptions remain attached.
A. A square-root response is a saddle-node slice
Treat as a clamped input and let the two reactions be
The rate constants are independent and positive. Choose each as one in this scaled illustration. The resulting scaled rates and give
For , the physical equilibrium is , with derivative . The other algebraic root lies outside the concentration domain. As , the return time diverges as . This is the saddle-node normal form restricted by nonnegativity, and it shows why the state domain belongs in the analysis.
B. A mass-action winner-take-all network
For the chosen equal unit rate constants,
The positive total is conserved, so every trajectory stays on one simplex. This restriction to a positive stoichiometric class is fundamental in mass-action dynamics.5 Set to obtain the two-dimensional system
The equilibria in the triangle are , , , and . The first is a source, the two winner vertices are stable nodes, and the interior point is a saddle with eigenvalues and . One identity explains the choice:
The sign of is preserved and its magnitude is amplified whenever . Positive equal initial competitors stay on the invariant diagonal and approach the saddle. The all- vertex remains stationary. Any imbalance selects a winner. This is bistability built from elementary reactions, a conservation law, and positive invariance, without placing a Hill function into the model by hand. Related monotonicity tools extend order-based conclusions to much larger biochemical systems.6
Use stoichiometry, positivity and a conserved total to derive a reaction network's reduced decision geometry.
20Reuse the complete workflow
A defensible phase portrait is a reproducible argument whose biological, geometric, local, and global layers agree.
- Function and scope. State the behavior: local recovery, two basins, a conserved family, finite-time escape, or an attracting cycle, and name the region over which it is claimed.
- Family. State which mechanisms, signs, kinetic shapes and parameter ranges are fixed, and which are allowed to vary.
- State. List variables, units, domain, external inputs, conserved totals, and any hidden variables removed by approximation.
- Mechanism. Connect every addition, removal and regulatory sign to a reaction or declared effective law.
- Global geometry. Find every scalar root or planar nullcline, label component signs, and mark invariant boundaries before integrating.
- Local system. At every fixed point write and the actual approximation .
- Strict test. Apply Hurwitz only when every eigenvalue has negative real part. Record positive or zero real parts separately.
- Global certificate. Search for energy, a Lyapunov function, a conserved quantity, a trapping region, monotonicity, or stoichiometric structure.
- Chemical audit. Check positivity, parameter independence, mass-action sign constraints and the assumptions behind every effective law.
- Numerical audit. Compare several initial conditions, vary the time step and horizon, and preserve the code and parameters that generated every curve.9
- Scope sentence. End with what has been proved, where it holds, and what remains an inference or hypothesis.
Four transfer exercises, with answers
1. A linear biochemical pair. For , classify the fixed point. Answer: , , and , so it is a stable spiral with eigenvalues .
2. A semidefinite derivative. Why does not alone prove convergence to the origin in a two-state system? Answer: the derivative vanishes on the whole line . One must determine the largest invariant subset of that line. It may be the origin, another trajectory, or a continuum of equilibria.
3. Center or cycle. Two initial conditions produce distinct closed curves that remain separated forever. Which object is supported? Answer: a center or another conserved family, not an attracting limit cycle. Perturbations do not converge back to one isolated orbit.
4. Toggle perturbation. A pulse moves a state close to the diagonal but not across it. Does the cell switch in the deterministic symmetric model? Answer: no. The diagonal is the invariant separatrix. The state returns to the attractor in its original basin. With noise, boundary crossing becomes probabilistic and requires a stochastic model.
You can now take a reaction-model family from structure to function: choose a sufficient state, identify the invariant geometry, write the explicit local system, apply a strict stability rule, add an energy or structural argument when first order is silent, and distinguish what the family guarantees from what one simulation merely displays.
Build a reproducible dynamical argument whose mechanism, state space, local tests, global claims and numerical checks agree.
†References
The important full texts have been inspected and archived in the project literature directory; its index records stable identifiers, retrieval dates, relevance, and checksums.
- M. W. Hirsch, S. Smale, and R. L. Devaney, Differential Equations, Dynamical Systems, and an Introduction to Chaos, 3rd ed. (Academic Press, 2013). DOIPhase lines, linear systems, trace-determinant classification, pendulum, and planar dynamics.
- Y. A. Kuznetsov, Elements of Applied Bifurcation Theory, 2nd ed. (Springer, 1998). DOIFold normal forms and the hypotheses behind local bifurcation reductions.
- T. S. Gardner, C. R. Cantor, and J. J. Collins, “Construction of a genetic toggle switch in Escherichia coli,” Nature 403, 339–342 (2000). DOI
- M. Scheffer et al., “Early-warning signals for critical transitions,” Nature 461, 53–59 (2009). DOI
- F. Horn and R. Jackson, “General mass action kinetics,” Archive for Rational Mechanics and Analysis 47, 81–116 (1972). DOI
- E. D. Sontag, “Monotone and near-monotone biochemical networks,” Systems and Synthetic Biology 1, 59–87 (2007). DOI
- D. Angeli, M. A. Al-Radhawi, and E. D. Sontag, “A robust Lyapunov criterion for non-oscillatory behaviors in biological interaction networks,” IEEE Transactions on Automatic Control 67, 3305–3320 (2022). arXiv
- F. Blanchini and G. Giordano, “Piecewise-linear Lyapunov functions for structural stability of biochemical networks,” Automatica 50, 2482–2493 (2014). DOI
- Lecture 4 computed-figure ledger.
lectures/research/lecture04/analysis/contains the generators and equation checks.