Papers
Topics
Authors
Recent
Search
2000 character limit reached

Algorithmic Nondimensionalization Pipeline

Updated 18 December 2025
  • Algorithmic nondimensionalization is a computational method that automates the conversion of ODE systems into dimensionless form by exploiting maximal scaling symmetries.
  • It employs integer linear algebra techniques such as Hermite and Smith normal forms to derive invariant quantities in a reproducible and efficient manner.
  • The pipeline guarantees mathematical consistency by avoiding spurious symmetries and effectively handles complex, high-dimensional models like enzyme kinetics.

Algorithmic nondimensionalization, as formalized in Tanburn et al., constitutes a systematic, mathematically rigorous process to transform systems of rational first-order ordinary differential equations (ODEs) into dimensionless form by exploiting their maximal scaling symmetries using integer linear algebra. The pipeline replaces centuries of heuristic, manual nondimensionalization with a reproducible computational framework. This approach applies to high-dimensional models involving arbitrary combinations of parameters and variables, is grounded in the theory of scaling invariants, and extends to invariants chosen by the user—including initial data—while guaranteeing the absence of spurious symmetries under dimensionally consistent transformations (Tanburn et al., 15 Dec 2025).

1. Mathematical Foundation of Scaling Symmetries

A dynamical system with variables z=(z1,…,zn)z = (z_1,\ldots,z_n) and constant parameters c=(c1,…,cp)c = (c_1,\ldots,c_p) described by rational ODEs is canonically formulated in a "homogeneous" form:

dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)

for each state variable ziz_i, with FiF_i a rational function. Introducing the augmented variable z0=tz_0 = t and collecting all dynamical quantities in zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n), yields

dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})

with Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n). The maximal scaling symmetry is characterized by a one-parameter scaling ansatz

zˉj↦λajzˉj,j=0,…,n\bar{z}_j \mapsto \lambda^{a_j} \bar{z}_j, \quad j=0,\ldots,n

with exponent vector c=(c1,…,cp)c = (c_1,\ldots,c_p)0. The infinitesimal generator, c=(c1,…,cp)c = (c_1,\ldots,c_p)1, imposes the invariance condition c=(c1,…,cp)c = (c_1,\ldots,c_p)2 for all c=(c1,…,cp)c = (c_1,\ldots,c_p)3, which can be recast as a first-order linear PDE satisfied by invariants c=(c1,…,cp)c = (c_1,\ldots,c_p)4.

2. Algorithmic Computation of Scaling Lattice

Each rational c=(c1,…,cp)c = (c_1,\ldots,c_p)5 is decomposed into monomials; for each, an exponent vector c=(c1,…,cp)c = (c_1,\ldots,c_p)6 records the power of each variable and parameter. To encode scaling invariance, one selects a reference monomial, subtracts its exponents from those of all monomials, and assembles the resulting difference vectors as columns in the integer exponent matrix c=(c1,…,cp)c = (c_1,\ldots,c_p)7. The full matrix c=(c1,…,cp)c = (c_1,\ldots,c_p)8 collects these across ODE components.

The scaling lattice corresponds to all integer solutions c=(c1,…,cp)c = (c_1,\ldots,c_p)9 with dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)0. The set of independent scaling exponents is obtained by computing the row Hermite normal form dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)1, with rank dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)2 determined by the number of nonzero rows. The bottom dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)3 rows of unimodular dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)4 yield the scaling action matrix dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)5:

Step Object Description
Exponent Extraction dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)6-vectors For each monomial in dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)7
Exponent Matrices dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)8, dzidt=zitFi(t,z,c)\frac{dz_i}{dt} = \frac{z_i}{t} F_i(t, z, c)9 Difference matrices, full concatenated matrix
Symmetry Action ziz_i0 Basis for maximal scaling action (bottom ziz_i1 rows of ziz_i2)

3. Algorithmic Construction of Dimensionless Invariants

Given ziz_i3 scaling generators, the dimension of the invariant space is ziz_i4. To explicitly obtain algebraically independent invariants, one computes a column Hermite multiplier ziz_i5 such that ziz_i6. Partitioning ziz_i7 yields ziz_i8 of size ziz_i9. The dimensionless variables are:

FiF_i0

Naming the resulting invariants as FiF_i1, the system is thus reduced to algebraically independent, dimensionless quantities.

4. Incorporating Initial Conditions and User-Selected Invariants

To enforce invariance of specific ratios—e.g., FiF_i2 or parameter functions—one appends the corresponding exponent vectors to FiF_i3 and repeats the calculation. For a chosen set of FiF_i4 invariants encoded in FiF_i5, compatibility (i.e., FiF_i6) is required. A Smith normal form-based extension algorithm extends FiF_i7 to a full basis, using the Smith normal form of FiF_i8 (where FiF_i9), verifying a full-rank diagonal, and extending to a unimodular matrix z0=tz_0 = t0 such that z0=tz_0 = t1. The first z0=tz_0 = t2 columns of the resulting z0=tz_0 = t3 coincide with z0=tz_0 = t4.

5. Algorithmic Pipeline and Complexity

The algorithm admits a stepwise, tractable implementation. Letting z0=tz_0 = t5 denote the total number of monomials, construction of z0=tz_0 = t6 requires z0=tz_0 = t7 time. Hermite and Smith normal forms dominate computational cost, typically requiring polynomial time in the size and bit lengths of matrix entries. The pipeline is summarized as follows:

  1. Rewrite z0=tz_0 = t8.
  2. Build exponent matrices z0=tz_0 = t9 for all zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)0.
  3. Concatenate zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)1 and append additional columns for any prescribed invariants.
  4. Compute row Hermite normal form zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)2, determine rank zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)3.
  5. Extract scaling action zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)4 (bottom zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)5 rows of zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)6).
  6. Calculate Hermite multiplier zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)7 of zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)8 and identify zˉ=(z0,z1,...,zn)\bar{z} = (z_0, z_1, ..., z_n)9.
  7. If invariants are user-supplied, perform Smith normal form extension as described.
  8. Define invariants dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})0 and substitute into the ODE system.
  9. Integrate auxiliary variables as needed.

The computational complexity is dominated by integer linear algebra operations, scaling polynomially in the number of variables, parameters, and bit-lengths of integer entries.

6. Illustrative Example: Michaelis-Menten System

Consider the classical Michaelis–Menten enzyme kinetics with post-conservation variables dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})1:

dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})2

Rewriting each equation in homogeneous form yields the rational representation required for matrix construction. The scaling action matrix dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})3 obtained through the Hermite decomposition corresponds to two symmetries:

  • dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})4 dilates dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})5
  • dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})6 dilates dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})7

The invariants computed via dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})8 are:

  • dzˉdt=zˉtFˉ(zˉ)\frac{d\bar{z}}{dt} = \frac{\bar{z}}{t} \bar{F}(\bar{z})9
  • Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)0
  • Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)1
  • Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)2
  • Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)3

The system, upon substitution, reduces to:

Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)4

Inclusion of constraints representing the initial condition and alternative parameter groupings, as in the Murray nondimensionalization form, can be accommodated by appending invariants and recomputing the pipeline, yielding standard nondimensional parameters:

  • Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)5
  • Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)6
  • Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)7
  • Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)8
  • Fˉ=(1,F1,...,Fn)\bar{F} = (1, F_1, ..., F_n)9
  • zˉj↦λajzˉj,j=0,…,n\bar{z}_j \mapsto \lambda^{a_j} \bar{z}_j, \quad j=0,\ldots,n0

7. Theoretical Guarantees and Consistency

The pipeline is underpinned by a structural theorem (Theorem 4.10 of Tanburn et al.) asserting that any invertible, dimensionally consistent change of variables (i.e., one preserving scaling exponents) cannot increase the dimension of the scaling symmetry. Thus, the maximal scaling action is intrinsic to the underlying ODE, independent of the model's specific realization, and the resulting invariants are canonical. No extraneous symmetries can be created through well-posed reparametrizations, guaranteeing the optimality and consistency of computed nondimensionalizations (Tanburn et al., 15 Dec 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Algorithmic Nondimensionalization Pipeline.