Sigmoidal Functions Some Computational and Modelli
Sigmoidal Functions Some Computational and Modelli
net/publication/273895429
CITATIONS READS
55 757
2 authors:
All content following this page was uploaded by Svetoslav Markov on 28 August 2015.
Biomath Communications
www.biomathforum.org/biomath/index.php/conference
Abstract
We focus on some computational, modelling and approximation
issues related to the logistic sigmoidal function and to Heaviside step
function. The Hausdorff approximation of the Heaviside interval step
function by sigmoidal functions is discussed from various computa-
tional and modelling aspects. Some relations between Verhulst model
and certain biochemical reaction equations are discussed and ana-
lyzed. Numerical examples are presented using CAS Mathematica.
1 Introduction
Many biological dynamic processes, such as certain enzyme kinetic and pop-
ulation growth processes, develop almost step-wise [9], [13]. Such processes
are usually described or approximated by smooth sigmoidal functions; such
functions are widely used in the theory of neural networks [3], [4]. Step-wise
interval functions are a special class of sigmoidal functions; such functions
1
Citation: N. Kyurkchiev, S. Markov, Sigmoidal Functions: Some Computational
and Modelling Aspects. Biomath Communications 1/2 (2014) http://dx.doi.org/10.
11145/j.bmc.2015.03.081
1
are “almost” continuous, or Hausdorff continuous (H-continuous) [2]. De-
pending on the particular modelling situation one may decide to use either
continuous or H-continous (step-wise) functions. Moreover, in many cases
both types of modelling tools can be used interchangeably. This motivates
us to study the closeness of both classes of functions. To substitute a sig-
moidal function by a step function (or conversely) we need to know the
approximation error between the two functions. A natural metric used in
such a situation is the Hausdorff metric between the graphs of the functions.
To this end we recall some basic results concerning the class of interval
Hausdorff continuous functions and the related concept of Hausdorff ap-
proximation. We then focus on classes of logistic sigmoidal functions which
are solutions of the Verhulst population model. We demonstrate that Ver-
hulst model arises from simple autocatalytic (bio)chemical reactions and
thus can be considered as special case of a biochemical reproduction re-
action mechanism. The latter implies a more general model that permits
the formulation of some important modelling and computational problems
including nonautonomous, impulsive and delay DE.
In section 2 we consider sigmoidal and step functions arising from bi-
ological applications. The Hausdorff distance between the Heaviside step
function and the sigmoidal Verhulst function is discussed. In section 3 we
discuss certain kinetic mechanisms yielding Verhulst model via the mass
action law. We show that the Verhulst model arises from some simple
autocatalytic (bio)chemical reactions.
2
2.2 Step functions
For r ∈ R denote by hr ∈ H(R) the (interval) Heaviside step function given
by
0,
if t < r,
hr (t) = [0, 1], if t = r, (1)
1, if t > r,
cf. Fig. 1. For r = 0 we obtain the basic Heaviside step function
0,
if t < 0,
h0 (t) = [0, 1], if t = 0, (2)
1, if t > 0.
Functions (1)–(2) are examples sigmoidal functions. A sigmoidal func-
tion on R with a range [a, b] is defined as a monotone function s(t) : R →
[a, b] such that limt→−∞ s(t) = a, limt→∞ s(t) = b.
3
Figure 1: A step function (1) with jump at r = 10
3, as a sum of step functions of the form (4); in that case we usually have
rk = r1 + hi, i = 1, ..., k and Σki=1 αi = 0. Similarly, one can construct sums
of other suitably shifted sigmoidal functions.
ρ(f, g) = max{ sup inf ||A − B||, sup inf ||A − B||}, (5)
A∈F (f ) B∈F (g) B∈F (g) A∈F (f )
4
Figure 3: A histogram (from wikipedia)
5
Figure 4: Logistic sigmoidal function (6)
the step function ah0 and the sigmoidal function s0 satisfies the relations
0 < d < a/2 and a − s0 (d) = d, that is
6
Figure 6: Reaction rate k = 40; Hausdorff distance d = 0.0661748
Relation (8) gives the rate k in terms of the H-distance d, a few examples
are computed in Table 1.
7
Figure 7: Reaction rate k = 200; Hausdorff distance d = 0.01957.
8
Figure 8: A logistic function shifted with r = 0.5.
imated by the basic logistic function s0 , that is for the H-distance we have
ρ(hr , sr ) = ρ(h0 , s0 ). Focusing on the shifted logistic function we have
a
sr (t) = s0 (t − r) = . (11)
1+ e−k(t−r)
9
concentrations of the reactants in that reaction. If a particular reactant
is involved in several reactions, then the rate of change of this reactant is
made by adding up all positive rates and subtracting all negative ones [12].
k
which can be also written as X −→
←− 2X.
k−1
Applying the mass action law we obtain the Verhulst model:
ds/dt = −k 0 xs,
(15)
dx/dt = k 0 xs, s(0) = s0 , x(0) = x0 .
10
Figure 9: Reaction rate k = 40; s0 = 1, x0 = 1. × 10−9
dx
= k 0 x(a − x). (16)
dt
Clearly, the solution x of the initial problem (15) coincides with the
solution x of problem (16) with initial condition x(0) = x0 :
dx
= k 0 x(a − x). x(0) = x0 . (17)
dt
Conversely, the solution of (17) coincides with the solution x of the inital
problem (15) whenever s0 = a − x0 . The above can be summarized in the
following:
11
Figure 10: Reaction rate k = 40, r = 0.5, x0 = 1.85 × 10−9
dx
= kx(t)s(t), (19)
dt
where s is additionally specified.
The solution x for the input nutrient function s(t) = (Sign(r − t) + 1)/2
obtained by a Mathematica module is given in Appendix 4, see Fig. 10.
12
Figure 11: Reaction rate k = 40; r = 0.6
13
Figure 12: Solution of (20) fails for kr > 30
4 Conclusions
H-continuous step functions and smooth sigmoidal functions are used to
model biological dynamic processes, in particular certain enzyme kinetic
and population growth processes which develop almost step-wise [9]. Such
processes are usually described or approximated by smooth sigmoidal func-
tions (especially in the theory of neural networks), however, H-continuous
step-wise functions can be also conveniently used. To substitute a sigmoidal
function by a step function (or conversely) we need to know the approxi-
mation error as given in Proposition 2. Biological processes are often very
sensitive and can be effectively studied within the frames of interval analy-
sis [8]. Verhulst model is an important classical example involving a simple
logistic sigmoidal function as solution. We demonstrate that this model is
induced by simple autocatalytic reactions that describe certain reproduc-
tion biochemical mechanisms. On a number of computational examples
we demonstrate the applicability of the logistic function to approximate
the Heaviside step function and consequently to be emploit in fitting time
course experimental data related to population dynamics.
Acknowledgments. The authors acknowledge partial support by the
Bulgarian FNI-MON and the Biomath Forum Society.
14
References
[1] Alt, R., S. Markov, Theoretical and computational studies of some
bioreactor models, Computers and Mathematics with Applications
64 (2012), 350–360.
[4] Costarelli, D., Spigler, R.: Approximation results for neural net-
work operators activated by sigmoidal functions, Neural Networks
44, 101–106 (2013).
[7] Hausdorff, F.: Set theory (2 ed.), New York, Chelsea Publ.,1962
[1957], ISBN 978-0821838358 (Republished by AMS-Chelsea 2005).
[9] Markov, S.: Cell Growth Models Using Reaction Schemes: Batch
Cultivation, Biomath 2/2 (2013), 1312301
http://dx.doi.org/10.11145/j.biomath.2013.12.301
15
[10] Markov, S., On the Use of Computer Algebra Systems and Enclo-
sure Methods in the Modelling and Optimization of Biotechnologi-
cal Processes, Bioautomation (Intern. Electronic Journal) 3, 2005,
1–9.
[15] Verhulst, P.-F., Notice sur la loi que la population poursuit dans
son accroissement, Correspondance mathematique et physique 10:
113–121 (1838).
16
Appendix 1. Calculation of the value of the Hausdorff distance d between the
Heaviside step function h and the sigmoidal Verhulst function s in terms of the reaction
rate k
17
Appendix 2. A kinetic mechanism yielding Verhulst model
18
Appendix 3. The general case
19