Back to search

University of New Mexico

Derivation of Adjoint Based Error Estimates for Nonlinear Ordinary Differential Equations with Application to Multistage SIR Models with Demographics

Abstract

dc:description.abstract

Ordinary Differential Equations (ODEs) are central to the mathematical modeling of various real-world phenomena, from mechanical systems governed by Newton’s laws to epidemic dynamics described by SIR-type ODEs. Since many ODEs do not admit closed-form analytic solutions, we approximate them numerically (e.g., with Euler’s, Runge–Kutta, or other such methods). This raises the key question: How accurate are these numerical solutions? In particular, reliably estimating the error in some quantity of interest (QoI) at time T without having an exact solution is of great scientific interest. The first main contribution of this thesis is the development and analysis of adjoint-based error representations that estimate the error in a chosen QoI at final time T. Specifically, we derive four key theorems addressing the scalar linear, vector linear, scalar nonlinear, and vector nonlinear ODE cases. Each theorem shows how to express the true error in the QoI through an integral involving only numerically computed solutions of both the state ODE and a corresponding adjoint ODE. We validate these theoretical results with several examples, including linear ODEs (e.g., a scalar first-order linear equation), nonlinear ODEs (e.g., the logistic equation), and systems of ODEs (e.g., the harmonic oscillator and two-body orbital problems). Our findings confirm that the adjoint-based estimates reliably capture the final-time error, thus offering a rigorous framework for quantifying errors in ODE-based models across scientific and engineering applications. The second main contribution is the numerical implementation of these ideas. We show how to solve the state ODE forward in time and the adjoint ODE backward in time, then apply Gauss–Legendre quadrature to approximate the final-time error integral. This process involves a nested Gauss–Legendre scheme on [0,T], subdividing the main time intervals and using local quadrature nodes to approximate the integral accurately. The third main contribution of this thesis is the illustration and validity of these theorems on the SIR‐type epidemic models (classical SIR, SIR with demographics, multi‐stage SIR) in epidemiology. These numerical experiments help us estimate the final-time T error in the infected class. We show how the adjoint‐based error estimates perform in classical SIR, SIR with demographics, and multi‐stage SIR contexts, confirming the (error in the QoI for non-linear vector ODEs), hence showing the validity in realistic epidemiological systems. Therefore, more importantly, showing us the potential of our theorems in real-world application contexts. By better understanding these models, public health authorities can make more informed decisions about how best to contain outbreaks, reduce the number of infected individuals, and, in the process, ensure healthier communities.

Degree

thesis:*
Name thesis:degree_name
Mathematics
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Mathematics & Statistics

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Alcala, Daniel
Contributors dc:contributor
  • Jehanzeb Chaudhary
  • Helen Wearing
  • Owen Lewis

Subjects

dc:subject × 11

Rights

Language dc:language
English

Identifiers

dc:identifier.*
Repository record dc:identifier
https://digitalrepository.unm.edu/math_etds/251

Chain of custody

source
Harvested from
University of New Mexico
Base URL
digitalrepository.unm.edu/do/oai/
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Alcala, Daniel. Derivation of Adjoint Based Error Estimates for Nonlinear Ordinary Differential Equations with Application to Multistage SIR Models with Demographics. Masters thesis, https://digitalrepository.unm.edu/math_etds/251