Related Experiment Video
Updated: Oct 19, 2025

Author Spotlight: Exploring Breathing Techniques and Digital Solutions for Enhancing Running Performance
Published on: September 27, 2024
Is our breathing optimal? Solving a piecewise linear model with constraints
Faheem Zaidi1, Alona Ben-Tal2, Mick Roberts3
1Department of Mathematical Sciences, Federal Urdu University, Karachi, Pakistan.
Abstract:
This paper is motivated by a question related to the control of amplitude and frequency of breathing. We present a simplified mathematical model, consisting of two piecewise linear ordinary differential equations, that could represent gas exchange in the lungs. We then define and solve an optimal control problem with unknown durations of inhalation and exhalation, subject to several constraints. The durations are divided such that one of the state variables is strictly increasing during the first phase and decreasing during the second phase. The optimal control problem can be solved analytically. One analytical solution is found when the forcing is a given sinusoidal function with unknown period and amplitude. Other analytical solutions are found when the forcing function, the period and the duration of the first phase are unknown but the amplitude is given. Our results show that different cost functions can produce different optimal forcing functions. We also show that the shape of these functions does not affect the average levels of oxygen in the lungs-the average level of oxygen is only dependent on the amplitude and period of breathing in the model we present.
Related Concept Videos
Neural Control of Respiration
Respiratory Centers in the Brainstem
Two primary areas comprise the respiratory center: the medullary respiratory center in the medulla oblongata and the pontine respiratory group in the pons. The...
Physiological Control of Respiration
Breathing, a seemingly passive process, is regulated by the respiratory center in the brainstem. This center coordinates the involuntary control of respirations, which means it occurs without conscious effort, ensuring a smooth and uninterrupted pattern.
Regulation of Ventilation
The body maintains ventilation by monitoring levels of carbon dioxide (CO2), oxygen (O2), and hydrogen ion concentration (pH) in the arterial blood. Among these factors, the level of CO2 plays a crucial...
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Linear Approximation in Time Domain
For a simple pendulum with a mass evenly distributed along its length and the center of mass located at half the pendulum's length,...
Mechanism of Breathing I: Inspiration
The respiratory system, an essential network for breathing, comprises the conducting and respiratory zones, each playing a crucial role in the overall process of respiration. Let us explore the detailed mechanism of inspiration, or inhalation, which is the first phase of the respiratory cycle.
Pathway of Air during Inspiration
During inspiration, air enters our body through the nose or mouth and moves through the conducting zone,...
Parameters Affecting Nonlinear Elimination: Zero-Order Input, First-Order Absorption and Two-Compartment Model
When a drug is administered through a constant intravenous infusion and eliminated via nonlinear pharmacokinetics, it follows zero-order input. For example, oral drugs undergo first-order absorption upon administration and are eliminated through nonlinear pharmacokinetics.
In the case of subcutaneously administered drugs,...

