Papers
Topics
Authors
Recent
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 a=(a0,a1,...,an)Zn+1a = (a_0, a_1, ..., a_n) \in \mathbb{Z}^{n+1}. The infinitesimal generator, V=j=0najzˉjzˉjV = \sum_{j=0}^n a_j \bar{z}_j \frac{\partial}{\partial \bar{z}_j}, imposes the invariance condition V[Fi]=0V[F_i] = 0 for all ii, which can be recast as a first-order linear PDE satisfied by invariants I(x):jajxjIxj=0I(x): \sum_j a_j x_j \frac{\partial I}{\partial x_j} = 0.

2. Algorithmic Computation of Scaling Lattice

Each rational FiF_i is decomposed into monomials; for each, an exponent vector m=(m0,,mn+p)m = (m_0,\ldots,m_{n+p}) 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 KFiK_{F_i}. The full matrix K=[KF1KF2...KFn]K = [K_{F_1} | K_{F_2} | ... | K_{F_n}] collects these across ODE components.

The scaling lattice corresponds to all integer solutions aZn+p+1a \in \mathbb{Z}^{n+p+1} with aK=0a K = 0. The set of independent scaling exponents is obtained by computing the row Hermite normal form UK=HU K = H, with rank rr determined by the number of nonzero rows. The bottom rr rows of unimodular UU yield the scaling action matrix AZr×(n+p+1)A \in \mathbb{Z}^{r \times (n+p+1)}:

Step Object Description
Exponent Extraction mm-vectors For each monomial in FiF_i
Exponent Matrices KFiK_{F_i}, KK Difference matrices, full concatenated matrix
Symmetry Action AA Basis for maximal scaling action (bottom rr rows of UU)

3. Algorithmic Construction of Dimensionless Invariants

Given rr scaling generators, the dimension of the invariant space is (n+p+1)r(n+p+1) - r. To explicitly obtain algebraically independent invariants, one computes a column Hermite multiplier VV such that AV=[Ir0]A V = [I_r | 0]. Partitioning V=[VaVb]V = [V_a | V_b] yields VbV_b of size (n+p+1)×((n+p+1)r)(n+p+1) \times ((n+p+1)-r). The dimensionless variables are:

yj=i=0n+pzi(Vb)i,jy_j = \prod_{i=0}^{n+p} z_i^{(V_b)_{i,j}}

Naming the resulting invariants as y0=τ,y1=I1,,yn+pr=In+pry_0 = \tau, y_1 = I_1, \ldots, y_{n+p-r} = I_{n+p-r}, 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., zi/zi0z_i/z_{i0} or parameter functions—one appends the corresponding exponent vectors to KK and repeats the calculation. For a chosen set of ss invariants encoded in PZ(n+p+1)×sP \in \mathbb{Z}^{(n+p+1)\times s}, compatibility (i.e., AP=0A P = 0) is required. A Smith normal form-based extension algorithm extends PP to a full basis, using the Smith normal form of WbPW_b P (where W=V1W = V^{-1}), verifying a full-rank diagonal, and extending to a unimodular matrix CC such that VbVbCV_b \leftarrow V_b C. The first ss columns of the resulting VbV_b coincide with PP.

5. Algorithmic Pipeline and Complexity

The algorithm admits a stepwise, tractable implementation. Letting MM denote the total number of monomials, construction of KK requires O(M(n+p+1))O(M(n+p+1)) 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 dzi/dt=(zi/t)Fi(t,z,c)dz_i/dt = (z_i/t) F_i(t, z, c).
  2. Build exponent matrices KFiK_{F_i} for all FiF_i.
  3. Concatenate K=[KF1KFn]K = [K_{F_1}|\ldots|K_{F_n}] and append additional columns for any prescribed invariants.
  4. Compute row Hermite normal form UK=HU K = H, determine rank rr.
  5. Extract scaling action AA (bottom rr rows of UU).
  6. Calculate Hermite multiplier VV of AA and identify VbV_b.
  7. If invariants are user-supplied, perform Smith normal form extension as described.
  8. Define invariants y=zVby = z^{V_b} 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 (t,s,c,k1,k2,k1,e0)(t, s, c, k_{-1}, k_2, k_1, e_0):

dsdt=k1(e0c)s+k1c dcdt=k1(e0c)s(k1+k2)c\begin{align*} \frac{ds}{dt} &= -k_1 (e_0 - c) s + k_{-1} c \ \frac{dc}{dt} &= k_1 (e_0 - c) s - (k_{-1}+k_2) c \end{align*}

Rewriting each equation in homogeneous form yields the rational representation required for matrix construction. The scaling action matrix AA obtained through the Hermite decomposition corresponds to two symmetries:

  • λ:\lambda: dilates (t,s,c,k1,k2,k1,e0)(λt,s,c,λ1k1,λ1k2,λ1k1,e0)(t, s, c, k_{-1}, k_2, k_1, e_0) \to (\lambda t, s, c, \lambda^{-1}k_{-1}, \lambda^{-1}k_2, \lambda^{-1}k_1, e_0)
  • μ:\mu: dilates (t,s,c,k1,k2,k1,e0)(t,μs,μc,...,μ1k1,μe0)(t, s, c, k_{-1}, k_2, k_1, e_0) \to (t, \mu s, \mu c, ..., \mu^{-1}k_1, \mu e_0)

The invariants computed via VbV_b are:

  • τ=k1e0t\tau = k_1 e_0 t
  • u=s/e0u = s/e_0
  • v=c/e0v = c/e_0
  • c0=k1/(k1e0)c_0 = k_{-1}/(k_1 e_0)
  • c1=k2/(k1e0)c_1 = k_2/(k_1 e_0)

The system, upon substitution, reduces to:

dudτ=c0v+uvu dvdτ=(c0+c1)vuv+u\begin{align*} \frac{du}{d\tau} &= c_0 v + uv - u \ \frac{dv}{d\tau} &= -(c_0 + c_1)v - uv + u \end{align*}

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:

  • τ=e0k1t\tau = e_0 k_1 t
  • u=s/s0u = s/s_0
  • v=c/e0v = c/e_0
  • ϵ=e0/s0\epsilon = e_0/s_0
  • Km/s0K_m/s_0
  • λ=k2/(k1s0)\lambda = k_2/(k_1 s_0)

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)

Whiteboard

Follow Topic

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