Chaos Control and Synchronization in Nonlinear Prey-Predator Model of Type 1 Diabetes: A Modern IT Perspective ()
1. Introduction
In 1926, the Italian mathematician Vito voltera first proposed simple differential equations to describe the population dynamics of two interacting species, a predator and its prey [1]. The birth of modern ecology recognized complex interactions between species and was equipped with mathematical modelling [2]. Many authors have studied the dynamics of the prey-predator differential equation model [3]-[6]. The behavior of the prey-predator model with holling type I and chaotic dynamics of discrete prey-predator with holling type II was studied [7] [8]. ElSadney [9] discussed dynamical complexity in the food chain. Suarez et al. [10] studied a prey-predator model, and age structure increases the instability of the coexistence equilibrium and leads to a coexistence attractor.
Diabetes is a disease, which can affect any human. This disease is usually of two types: the first is called type I which mainly hurts children and young people and is usually treated by insulin injection, the second type is called type II which hurts older people and is treated by drugs [10]-[12].
The paper is organized as follows:
The time evolution of a continuous-time two-dimensional prey-predator is described. Blood glucose level and the insulin doses were documented for each reading in a sample of 303 females and 178 males aged between 1 and 40 years. All individuals were diagnosed with type one diabetes and registered at Al-Wafa center of Diabetes and Endocrinology Research in Mosul, Iraq.
The existence of equilibrium points and their stability are analyzed in Section 3. In Section 4. Dissipativity of chaotic behavior is investigated by numerical simulation. Section 5 discusses lyapunove exponent and fractal dimension. Chaos treatment control and synchronization are in Section 6, Statistical analysis is in section 7. Finally, the conclusion of this paper is in section 8.
2. Model Formulation [13] [14]
(1)
X(t) represents a measure of blood sugar.
Y(t) is the insuline dose.
a is birth rate, c is the death rate, b is the conversion rate, e is the growth rate,
, k is the carrying capacity
,
From the set of raw data of 581 patients including (sex, age, blood sugar, insuline dose) from Alwafa-center, we get
(2)
3. Equilibrium Points and It’s Stability
3.1. Equilibrium Points
The equilibrium points of system (1) particularly, we are interested in non negative or interior equilibrium points. All possible equilibrium points:
, is the trivial equilibrium point.
, is the axial equilibrium point, In the absence of predator (y=0).
, is the interior equilibrium point.
to be positive, we need
,
.
From the set of data, we get
,
,
.
3.2. Stability of System (1)
3.2.1. Local Stability
The local stability of system (1) is analyzed by computing the Jacobian at each equilibrium. The variation matrix of system (1) at the State variable is expressed as.
(3)
Proposition 1:
The equilibrium point. E0 locally asymptotically. unstable, if a, c > 1.
Otherwise stable fixed point.
Proof: To prove this result at E0.
, it’s characteristic equation
(4)
From (4), the eigen values of.
.
,
, so from (2) we get E0 unstable equilibrium point.
Proposition 2:
The equilibrium point E1, locally unstable for a > c, otherwise it is a stable equilibrium point.
Proof:
The Jacobian matrix at E1, given by
The eigenvalues of the matrix are:
and
. From (2) we get
,
as a result of one eigen values being positive, System (1) is unstable. The local Stability of Interior equilibrium point, E2 the Jacobian matrix (3) at E2 has the form
(5)
It’s characteristic equation
(6)
Where Tr is the trace and Deters is the determinant of the Jacobian matrix defined in Equation (5).
,
,
So, for the interior equilibrium point E2 the roots of equation (6) are complex with negative real part
Hence the interior equilibrium point E2 is stable.
3.2.2. Routh Criteria [15] [16]
The system is asymptotically stable according to Routh stability test if all elements in the first column of Routh array are strictly positive, so from equations (4) and (2), we get
(7)
Since
,
,
. The system (1) does not satisfy asymptotic Stability requirements for the first Column. Table 1 has two negative elements, therefore system (1) is unstable at E0.
Table 1. Routh array for system (1) at E0.
λ2 |
1 |
-148.7006 |
λ1 |
−31.3288 |
0 |
λ0 |
−148.7006 |
0 |
Using Routh array for the rest of Equilibrium E1, and E2, the result is reported in Table 2.
3.2.3. Lyapunove Function [17] [18]
The Lyapunove function of System (1)
If
(8)
, exists, then system (1) is globally asymptotically stable.
By substituting system (1) into equation (8), we get
(9)
At all equilibrium points using equation (9) we get system (1) unstable except at E2, the result reported in Table 2.
3.2.4. Hwritz Criteria [19]
This criterion is employed to assess a system’s stability. If the square matrix A’s principal minors are all positive, the System is stable, if not, it is unstable from equation (4) which is
, we find
System is unstable for the rest of Equilibriums E1, and E2, the result reported in Table 2.
3.2.5. Continued Fraction Stability [20]
The criteria are applied to the characteristic equation of the continuous system (1), the equation
If all values of (h1, h2) are positive, then the roots of
, have negative real part (the System is stable), since
and
∴ system is unstable.
For the rest of Equilibriums E1, E2 the result is reported in Table 2.
3.2.6. A New Method for Lyapunove Function via Continued Fraction [21]
Lyapunov’s direct method is a cornerstone in Stability analysis; constructing an appropriate Lyapunove function remains good for nonlinear systems. In this study, we proposed a Novel approach to construct Lyapunove function using continued fraction criteria as a guiding principle.
Step 1: Using the continued fraction criterion, determine the characteristic polynomial factors.
Step 2: Construct the Lyapunove function as:
As we can see from paragraph (3.2.6)
,
We assume the Lyapunove function as
(9)
at E0 using (9) we get.
, so the system (1) is unstable for the rest of Equilibrium E1, E2, the result reported in Table 2.
Table 2. Stability analysis.
Equilibrum Points |
characteristic Equation Roots |
Routh Stability |
Hwruitz Stability |
LyapunoveFunction |
continued Fraction Stability |
New Method
Continued for Lyapunov |
E0 (0, 0) |
|
|
|
0 |
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(unstable) |
(unstable) |
(unstable) |
(unstable) |
(unstable) |
(unstable) |
E1 (0.8779, 0) |
|
|
|
−0.03112 |
|
7.942405 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(unstable) |
(unstable) |
(unstable) |
(unstable) |
(unstable) |
(unstable) |
E2 (0.00454, 1.2006) |
|
|
|
−0.0038917 |
|
−2.52295 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(unstable) |
(stable) |
(stable) |
(stable) |
(stable) |
(stable) |
4. Dissipativity [22]
Conservativity and dissipativity are two properties for understanding the behavior of dynamical systems, and how they can be used for various applications.
The dissipative nature of a dynamical system ensures that it does not lose energy over time, while the conservative nature ensures that its momentum is preserved. The divergence of system (1) can be obtained as:
The Jacobian matrix (J) of system (1), can be represented as:
, where
,
and
(10)
(11)
The divergence of system (1) depends on the state variable and parameters, hence the system’s dissipativity is state-dependent.
So, we substitute the equilibrium points Values into the divergence expression to analyze the local dissipativity
at E0,
.
at E1,
.
at E2,
.
Hence system(I), is locally unbounded (Nonuniformly conservative and Nonuniformly dissipative).
Preposition 3. system (1), is locally unbonded at all equilibrium points E0, E1 and E2.
5. Numerical Simulation
This section presents selected numerical simulation results and discusses their implication, we solved the System (1) with parameter values as in (2) and initial condition, X(0) = 0.02 and y(0) = 1 using the standard fourth order Rung-kuta technique (Rk4) in MATLAB 24 with Step size h = 0.001. We present numerical evidence illustrating the qualitative dynamical behavior of system (1), Bifurcation diagrams, Lyapunove Exponent, Waveform analysis and multi stability.
5.1. Bifurcation Diagram
The bifurcation analysis was conducted over the parameter range, the numerical analysis started with initial conditions (x(0), y(0)) = (0.02, 1), while the observation time with t0 = 0 the time step tstep = 0.5 and finishing time is tend = 300 seconds.
The bifurcation diagram of system (1), as the parameter varies in three cases.
1. Fixing parameters c, d, b, k, and varying a with respect to x, a ∈ (30,38).
2. Fixing parameters, a, d, c, k and varying b with respect to x, b ∈ (26, 32).
3. Fixing parameters, a, b, d, k, with respect to x, and varying parameter c.
The resulting, bifurcation, diagrams of system (1) are presented in Figures 1-3.
Figure 1. Bifurcation diagram of x versus a.
Figure 2. Bifurcation diagram of x versus b.
Figure 3. Bifurcation diagram of x versus c.
Figure 4. Lyapunove exponent for system (1).
5.2. Lyapunove Exponent [23] [24]
According to nonlinear chaos theory Lyapunove, exponent quantifies the exponential divergence or convergence of nearby trajectories. In the system state space, for system (1), using the parameter value in equation (2) and the initial value. [0.02, 1], the computed Lyapunove exponent is
The corresponding Lyapunove dimension
, as illustrated.
In Figure 4. The evolution of the Lyapunove exponents confirms, that System (1) exhibits chaotic behavior.
5.3. Wave Form Analysis
One of the fundamental features of chaotic dynamical system is the non-periodic structure of the waveform form as seen in Figure 5 and Figure 6 shows the aperiodic waveforms of x(t) and y(t) in time domain.
5.4. Phase Space Analysis
In this paragraph, Figure 7 shows the chaotic attractor in (x-y) plane for (x, y) = (0.02, 1).
5.5. Multistability
Multistability in a dynamical system occurs when multiple (two) attractors exist simultaneously for the same parameter.
Figure 5. Time in second versus X.
Figure 6. Time in second versus y.
Figure 7. Phase plot chaotic attractor of system (1), in x-y plane.
Set with each attractor depending on distinct initial conditions given in Table 3 and Figure 8 shows the Coexistence of multiple attractors. The Coexistence of multiple attractors in multistable System produces complex behavior, with the trajectory following different paths.
Table 3. Coexistence with the same parameter and different Ic’s.
Initial conditions |
color |
Parameter |
Figure |
X0 = 0.02, y0 = 1 |
Red |
a = 35.5157 b = 29.4331 c = 4.1869 d = 921.63 k = 0.8816 |
Figure 8. |
X0 = 0.01, y0 = 1 |
blue |
Figure 8. View of multi stability of two attractors that match Table 3.
6. Chaos Treatment
6.1. Chaos Control
Several methods can be used for obtaining chaos control in continuous-time dynamical system. One of these methods is adaptive control.
Adaptive Control
We give an adaptive control method to stabilize chaotic orbit of system (I), with the following controlled form
(12)
Where (12) is the designed adaptive control law with unknowing parameter c, and
,
are feedback controllers greater than zero to be designed and (x, y) are State variables. In order to ensure (12) globally converges to zero, consider the adaptive control functions are:
(13)
Where,
is the estimate parameter of c and Mi, (i = 1,2,3) are positive constants, substitute (13) into (12), we obtain:
(14)
Let the parameter error estimation
(15)
Substitute (15) into (14) we obtain
(16)
The Lyapunove approach, is applied to derive the update Law (16), which is used to adjust the estimation of parameter c.
Let the Lyapunov. Function
(17)
Which is positive definite on R Differentiating the parameter estimation error (15), with respect to time, we get
(18)
Differentiate (17) and substitute (18) and (16) we get
(19)
In equation (19), we up date estimated parameter by:
(20)
Where M3 is constant greater then zero Now substitute (20) into (19) we get:
(21)
Which is negative definite on R3.
The following result is obtained by applying Lyapunove stability.
Proposition (4).
The chaotic system using lyapunove stability for three equilibrium points E0, E1, E2 ∈ R2 by adaptive control Law (13) and the update estimated parameter law
, where M1, M2 and M3 are positive constants.
6.2. Adaptive Synchronization
6.2.1. Theoretical Results
In order to achieve adaptive synchronization two systems are needed with unknown parameter c, the first system is called the drive (master) system corresponding to the uncontrolled system (1) and the second is called the response system (slave) depicted in (22) and (23), respectively.
(22)
For the response system, the controlled dynamics are represented as
(23)
Where
are the state variables and
are the nonlinear controllers to be designed. The synchronization error between (22) and (23) is given by.
(24)
Hence
(25)
Now define the adaptive control function U1(t) and U2(t) as
(26)
Where M1, M2 are positive real values and
is the estimated value of the parameter c substitute (26) into (25), we get a dynamical System of the synchronization error as:
(27)
Where
.
The lyapunove approach is used to prove the stability, the quadratic lyapunove function is considered as:
(28)
Which is positive definite on R3.
Note that
(29)
Differentiating equation (28) and Substitute (27) and (29), we get
(30)
The estimated parameter is updated by the following law
(31)
Where M3 is a positive constant Substitute (31) into (30), we get
, which is negative on R3.
Hence according to lyapunove Stability [24], the parameter estimation error and the synchronization error both decline to zero exponentially. Therefore, the following proposition (5) is established.
Proposition 5.
The identical chaotic systems-drive system (22) and response system (23) with unknown parameter c- achieve Synchronization of any initial condition through the adaptive control technique (26), where the parameter estimate is defined by (31) and the constant Mi (i = 1,2,3) are positive.
6.2.2. Numerical Results
Runge-Kutta method of the fourth order was used to solve the dynamic. System (22) and (23) as well as the synchronization of the error dynamics described in equation (27). The initial condition for the derive system (22) was set as (x1(0), x2(0)) = [0.02, 1] and for the response system (23) as (y1(0), y2(0)) = [2, 5] and assigned a value of c =4.1860.
The convergence of the synchronization error for system (27) is shown in Figure 9.
Figure 9. Trajectory convergence of the synchronization error dynamic (27).
7. Statistical Analysis
By using spss. 25 program for the set of data at Al-Wafa center of Diabetes and Endocrinology Research in Mosul, Iraq, we get the following results.
1. Table 4 and Table 5 display the research Sample consisting of 278 male and 303 females distributed a cording to age groups as illustrated in Figure 10 and Figure 11 shows approximate equality in number between males and females a cross all age groups except for the third group (21 - 30) years Where female make up to 37% compared to 30% for males.
2. The Statistical measure for the data given in Table 6 shows that males had an average blood sugar level of about 14 with a standard deviation (sd) of 68, while females had an average of 12 with s.d of 6.4.
Male received an average insulin dose of 44.8 with s.d of 21.2 while female received an average dose of 48.8 with s.d of 24.
Table 4. Total research sample according to age groups.
T |
Age |
Frequency |
Ratio |
1 - 10 |
54 |
9.3 |
11 - 20 |
166 |
28.6 |
21 - 30 |
196 |
33.7 |
31 - 40 |
165 |
28.4 |
Total |
581 |
100.0 |
Table 5. Research sample of male and female distributed according to age groups.
Age |
Frequency |
Ratio |
1 - 10 |
30 |
10.8 |
11 - 20 |
82 |
29.5 |
21 - 30 |
83 |
29.9 |
31 - 40 |
83 |
29.9 |
Total male |
278 |
100.0 |
1 - 10 |
24 |
7.9 |
11 - 20 |
84 |
27.7 |
21 - 30 |
113 |
37.3 |
31 - 40 |
82 |
27.0 |
Total female |
303 |
100.0 |
Figure10. The total research sample distributed according to age groups, as given in Table 4.
Figure 11. Show approximate equality in number between males and females a cross all age groups except the third group.
Table 6. Descriptive statistics for both blood sugar concentration and insulin dose.
|
|
N |
Mean |
Std. Deviation |
Minimum |
Maximum |
Blood sugar level |
male |
278 |
14.2119 |
6.80848 |
2.20 |
34.00 |
female |
303 |
11.8868 |
6.40992 |
2.40 |
38.10 |
Insulin dose |
male |
278 |
44.8022 |
21.23397 |
3.00 |
135.00 |
female |
303 |
48.8119 |
24.01974 |
3.00 |
208.00 |
3. The data did not confirm to the properties of Normal distribution by Kolmogorov Smirnov and Shapiro-wilk tests as shown in Table 7, most of the P-values were less than 1%.
Table 7. Test for normal distribution of data.
|
Kolmogorov-Smirnov |
Shapiro-Wilk |
Statistic |
Df |
Sig. |
Statistic |
df |
Sig. |
Blood sugar concentration |
male |
0.073 |
278 |
0.001 |
0.969 |
278 |
0.000 |
female |
0.124 |
303 |
0.000 |
0.929 |
303 |
0.000 |
Insulin dose |
mail |
0.070 |
278 |
0.002 |
0.979 |
278 |
0.000 |
female |
0.088 |
303 |
0.000 |
0.934 |
303 |
0.000 |
Blood sugar concentration |
1 - 10 |
0.149 |
54 |
0.004 |
0.935 |
54 |
0.006 |
11 - 20 |
0.121 |
166 |
0.000 |
0.949 |
166 |
0.000 |
21 - 30 |
0.057 |
196 |
0.200 |
0.963 |
196 |
0.000 |
31 - 40 |
0.118 |
165 |
0.000 |
0.926 |
165 |
0.000 |
Insulin dose |
1 - 10 |
0.112 |
54 |
0.086 |
0.908 |
54 |
0.001 |
11 - 20 |
0.091 |
166 |
0.002 |
0.971 |
166 |
0.001 |
21 - 30 |
0.066 |
196 |
0.037 |
0.985 |
196 |
0.040 |
31 - 40 |
0.133 |
165 |
0.000 |
0.900 |
165 |
0.000 |
4. A correlation and regression analysis of sugar between blood sugar levels (independent variable) and insulin doses (dependent variable) showed a very weak positive Pearson correlation r = 0.084, which was significant across most subgroups. Linear regression yields a low R2 value overall 0.115, indicating a poor fit. The power model provided the best fit R2 = 0.938 and less standard error of the estimates (SE = 0.619) with parameter estimation optimized via 168 iterations, we get the proper Regression model, which is the power Model (which is nonlinear) whose equation is
OR
.
The parameters b0 and b1 are estimated from a set of data using SPSS version 25, shown in Table 8.
Table 8. Parameter estimation of nonlinear regression parameter estimates.
Parameter |
Estimate |
Std. Error |
95% Confidence Interval |
Lower Bound |
Upper Bound |
b0 |
6753317488501340.000 |
28545044677664700.000 |
−49311137106564600.000 |
62817772083567300.000 |
b1 |
4.311 |
1.701 |
0.970 |
7.652 |
8. Conclusion
In this paper, we explored the complex dynamics of a continuous-time prey-predator model derived from type 1 diabetes through nonlinear differential equations. Our investigation revealed rich dynamical behaviors, including instability, chaos and multistability analysis, using a newly constructed Lyapunove function confirmed consistency with classical Stability methods. The system demonstrated chaotic dynamics, with Lyapunove dimension Dky = 1.5121 indicative of sensitive dependence on initial conditions. Notably, the existence of coexisting attractors under different initial conditions highlights the system’s multistable nature.
To address the chaotic behavior, we developed and effectively implemented an adaptive control strategy based on Lyapunor theory. Numerical simulation confirmed this control.
Approach effectively achieves synchronization in the master-slave (drive-response) configuration and suppresses chaos.
An additional statistical analysis of patient data using SPSS showed that blood glucose concentration and saline dosage do not follow a normal distribution. A power-law fit with R² = 0.938 indicates a potential nonlinear or fractal structure, but this alone is not enough to confirm chaotic behavior without additional dynamical analysis.
This research contributes a novel control framework for managing chaos in biology-inspired models and offers valuable insights into the nonlinear nature of diabetes-related physiological interactions.
Future work will extend the model to incorporate real-time clinical feedback and explore control robustness under uncertainty.
Conflicts of Interest
The authors declare no conflicts of interest.