1. Introduction
Mathematical modeling has become an essential tool for understanding the complex dynamics of biological and ecological systems. In particular, chemostat models are frequently used by microbiologists, biotechnologists, and ecologists to examine the dynamics of populations, the uptake of nutrients, and the stability of ecosystems [
1,
2,
3]. Chemostat models have proven themselves to be an efficient tool for investigating complicated dynamics in an environment where nutrients are constantly supplied and microorganisms are removed from the environment.
Classic chemostat models usually represent the dynamics of bacterial populations based on the availability of nutrients. The interplay between biomass and nutrients can be represented using saturating functions, as the growth rate increases with the increase in nutrient availability but becomes saturated after reaching a certain level. Nonlinear interactions lead to several dynamic behaviors such as equilibrium stability, periodic behavior, and bifurcation. Understanding these dynamics is essential to determine future behaviors and devise appropriate control measures for the system.
Studies on chemostat models have significantly contributed to understanding complex biological and ecological dynamics. Pilyugin and Waltman [
4] explored a chemostat model with variable yields and proved that contrary to the conventional Monod model, there was an occurrence of oscillations and subcritical Hopf bifurcation in the model, resulting in the coexistence of several limit cycles. Chemostat models with more than one limiting substrate have been considered by Mazenc and Malisoff [
5], where conditions guaranteeing global asymptotic stability of the positive equilibrium points of the systems and techniques for stabilizing the controlled chemostats have been provided. Khan et al. [
6] studied a chemostat model using fractional fractal derivatives and proved the existence, uniqueness, and stability of solutions, highlighting the impact of memory effects and complex media. Ben and Abdellatif [
7] considered a chemostat model with inhibitory control mechanisms and showed that these controls would affect the region of stability of the system, thus giving rise to bifurcations in various forms. Sharma et al. [
8] analyzed a discrete chemostat model and showed the appearance of one- and two-codimensional bifurcations, like folding, period doubling, Neimark–Sacker and resonance bifurcations, demonstrating the presence of highly complex dynamical behaviors.
In this work, we consider the following continuous-time chemostat model [
9]:
where
is the density of bacterial cells per unit volume of growth medium at time
t, indicating the presence of bacteria in the chemostat. The term
refers to the amount of nutrients present at time
t in the growth chamber, affecting the growth of bacteria. Furthermore,
is the natural growth rate of the bacteria, whereas
is the supply rate of fresh nutrients to the chemostat.
Model (
1) reflects the key coupling between biomass and nutrient concentration. The expression
models the nutrient-dependent growth via a saturating function, whereas the linear degradation rates incorporate wash-out effects. In addition, the nutrient dynamics include both uptake by the bacteria and input from an external source.
In [
9], Basyouni and Khan analyzed the discrete version of system (
1) which was generated by the forward Euler scheme. Their work showed that the discrete version of system (
1) experiences period-doubling bifurcation. Moreover, Alsulami [
10] analyzed a discretized system of Equation (
1) through the use of the piecewise constant argument technique. It was found out that the discrete system experiences transcritical and period-doubling bifurcations.
Though the model (
1) adequately explains several key features of the dynamics of microorganisms, it does not take into account one of the most significant factors of ecology: the regeneration of nutrients from organic matter. The actual biological world consists of organisms that do not only consume nutrients but also regenerate them through phenomena like cellular death, decay, and metabolic effluents.
To address this limitation, we extend system (
1) by incorporating a nutrient recycling term, leading to the modified model:
where the extra parameter
denotes the rate of nutrient recycling from bacteria to nutrients. The expression
takes into account the effects of bacteria on the recycling of nutrients via biological means such as decomposition and metabolic waste.
The incorporation of the recycling concept into the model substantially improves its dynamical properties. The interaction of consumption and production processes can be affected by recycling and thus give rise to new equilibrium configurations. In particular, the recycling process may positively influence the sustainability of bacterial communities or alter the stability criteria of equilibria.
Although continuous-time models provide valuable theoretical insights, many real-world processes evolve in discrete time due to factors such as seasonality, sampling, or numerical approximation. Moreover, continuous-time systems often do not exhibit complex behaviors such as period-doubling and chaotic dynamics due to the Poincare–Bendixson theorem [
11], whereas discrete-time systems are capable of displaying such phenomena [
12,
13,
14]. Therefore, it is of interest to study the discrete form of the model (
2).
Motivated by these considerations, we discretize system (
2) using the forward Euler method. This yields the following discrete system:
where
denotes the step size.
The primary purpose of this study is to explore the dynamical characteristics of system (
3). This study highlights the existence and stability of equilibrium points and studies different types of bifurcations, such as transcritical and period-doubling bifurcations. Through detailed analysis, we derive explicit stability and bifurcation conditions, which offer an in-depth insight into the effects of model parameters on its dynamical characteristics.
The novelty of this study is based on the integration of nutrient recycling within a chemostat model and the exploration of the dynamical properties of its discrete version. The interaction between the influence of the recycling and the discrete-time nature of the system results in interesting phenomena, which have not been investigated in previous literature.
The remaining parts of the paper are structured as follows. The existence and stability of the fixed points of system (
3) are examined in
Section 2. Bifurcation analysis of system (
3) is analyzed in
Section 3, where transcritical and period-doubling bifurcations are studied via the center manifold method.
Section 4 presents a comparison of continuous model (
2) and discrete model (
3).
Section 5 discusses two approaches for controlling bifurcation and chaos in system (
3). Numerical examples are provided in
Section 6 to illustrate our analytical results and complexity of system (
3). Finally, conclusions are drawn in
Section 7 summarizing the main findings and their biological implications.
5. Chaos Control
This section focuses on controlling the complex and potentially chaotic dynamics exhibited by the discrete chemostat system (
3). The occurrence of erratic oscillations and chaotic behavior in biological systems can cause instability in population levels and inefficient use of resources. Therefore, it is necessary to develop control strategies that promote stable and predictable dynamics. To achieve this, two control approaches, state feedback control and hybrid control, are employed to reduce chaos and stabilize unstable equilibria resulting from bifurcation phenomena.
We first use a state feedback control strategy, as described in [
20,
21], to stabilize the chaotic dynamics of (
3). This strategy adds a feedback term whose effect is to change the trajectory of the system depending on its distance from the required equilibrium point. The feedback control is used to direct the system to move towards the positive equilibrium point
. The controlled system is given by
where
denotes the feedback control input, and
are the corresponding control gains. A straightforward computation yields
The characteristic equation associated with
takes the form
where
Let
and
be the eigenvalues determined by (
33). Then, we have
The lines of marginal stability are determined from the conditions
and
, which define the boundary where
. If
, then equation (
35) gives
where
. Next, let
. Then, from Equations (
34) and (
35), we obtain
Next, let
. Then, from Equations (
34) and (
35), we obtain
where
. The region of stability is given by the triangular domain enclosed by
,
, and
.
The triangular region delineates the set of parameter pairs for which the controlled system remains stable. Choosing in this range will cause the appropriate eigenvalues to move into the interior of the unit circle, thus making the equilibrium point stable. In biological terms, this may be understood as adjusting the regulation of the bacteria and nutrient levels such that undesirable oscillations are eliminated and stability is achieved.
Afterward, we apply the technique of using a hybrid control methodology [
22], which combines state feedback and parameter manipulation for achieving stability of the system. This will be done through introducing the control parameter
, which basically acts as an interpolation between the uncontrolled and controlled system. The advantage of applying this method comes from its flexibility because by controlling this parameter, we will be able to steer the system toward stability in a conditionally stable manner. The controlled system is expressed by
where
is the control parameter. Both system (
39) and system (
3) possess identical fixed points. It is obtained that
then, its characteristic equation is given by
where
When
, there is a sink at the fixed point
of (
39). Therefore, one can control the stability of the equilibrium point of coexistence
using the parameter
. It is possible to force the eigenvalues of the system (
39) to lie within the unit circle by setting
.
Remark 1. Besides the state feedback and hybrid control strategies considered above, other approaches, such as parameter perturbation, adaptive control, delayed feedback control, and impulsive control, may also be employed to suppress undesirable oscillations and chaotic dynamics in discrete-time systems. For the corresponding continuous-time system (2), control can be introduced through biologically accessible quantities such as the nutrient input, dilution rate, or recycling rate. For example, feedback or adaptive control may be designed to regulate these quantities and drive the system toward a desired equilibrium. In the present model, however, the positive equilibrium of the continuous system is already locally asymptotically stable under its existence conditions. Therefore, the control strategies used here are primarily relevant to stabilizing the complex dynamics arising in the discrete-time model. 6. Numerical Examples
In this section, we present numerical simulations to complement and illustrate the analytical results. These confirm the theoretical results on stability and bifurcation, and they also reveal more intricate behaviors, including periodic oscillations and chaos. All calculations are carried out in Mathematica 13.3, while the figures are produced using MATLAB R2023a.
6.1. Transcritical Bifurcation Analysis
Assume that
,
, and
. With these parameter values, the boundary fixed point is
. The system (
3) goes through a transcritical bifurcation at
when
. At this critical value, the eigenvalues of
are
and
. This indicates that the fixed point is non-hyperbolic.
Furthermore, the reduced map on the center manifold is given by
and satisfies
which verifies the conditions of Theorem 3 and confirms the occurrence of a transcritical bifurcation.
To illustrate this behavior, phase portrait diagrams are provided in
Figure 1. Biologically, the equilibrium
does not make sense when
, because the population level of bacteria becomes non-positive. For
, as seen from
Figure 1a,
is stable but
is unstable, showing extinction of bacteria. At the threshold parameter value
, we notice that
Figure 1b illustrates collision and switching of stability of the two equilibria
and
. If
surpasses this threshold value, say
, then
Figure 1c indicates that the stability of
switches to stability, whereas that of
switches to instability, which means the appearance of a coexistence state. This exchange of stability between
and
clearly confirms the presence of a transcritical bifurcation in the system.
6.2. Period-Doubling Bifurcation Analysis
We set
,
, and
. With these parameter values, the system (
3) experiences a period-doubling bifurcation at
. The related positive fixed point is
. At this critical value, the eigenvalues of
are
and
. This shows that one eigenvalue crosses
, which confirms the period-doubling bifurcation noted in Theorem 5.
Additionally, the resulting values for the coefficients are and , indicating that all theoretical necessary conditions have been met. Because , this produces a stable period-2 cycle emanating from , which means that there is a transition between steady-state coexistence and oscillatory dynamics.
In order to illustrate this dynamical behavior, bifurcation diagrams against
are depicted in
Figure 2a,b in the range
. It is evident from these figures that when the control parameter exceeds a certain threshold value
, the system undergoes a period-doubling bifurcation and generates a stable period-2 cycle. In this case, the MLE of the model is shown in
Figure 2c. Therefore, one can observe that higher nutrient input may induce instability in the system.
Next, we choose , , and . Under this choice of parameters, the system undergoes a period-doubling bifurcation at . The corresponding positive equilibrium is . At this critical point, the eigenvalues of are and , showing that one eigenvalue crosses , which confirms the onset of period-doubling bifurcation as described in Theorem 5.
Bifurcation diagrams with respect to
are shown in
Figure 3a,b for
. These bifurcation diagrams reveal the existence of the period doubling phenomenon when
and hence, the equilibrium point
becomes unstable while a stable periodic orbit of period-2 arises. A magnified view of the bifurcation structure on
is provided in
Figure 3c,d, which further reveals a cascade of period-doubling bifurcations and the onset of more intricate dynamical behavior.
Figure 3e shows the corresponding MLE curve. The negative value of MLE means that periodic oscillations are stable, whereas the MLE equal to zero means bifurcation. Further increase in parameter
leads to positive MLE, indicating chaos.
To further investigate the combined influence of the nutrient input rate
and the recycling rate
, a two-parameter bifurcation diagram is presented in
Figure 4. Here,
and
are fixed, while
and
are varied simultaneously. The diagram reveals a highly structured organization of periodic windows in the
parameter plane. In particular, regions corresponding to periodic orbits of different periods are arranged in narrow bands, showing that small simultaneous variations in the nutrient supply and recycling rates can produce substantial changes in the long-term dynamics. The occurrence of successively higher-period regions is consistent with the complex bifurcation structure observed in the one-parameter diagrams.
The dynamical alterations are further described by the phase portraits in
Figure 5 and
Figure 6. For
,
is stable, indicating steady coexistence between bacteria and nutrients. Once
crosses the critical threshold
, the equilibrium loses stability and a stable period-2 orbit appears, as seen for
. As
increases further, the system undergoes a cascade of period-doubling bifurcations, yielding progressively more intricate oscillatory patterns. For larger values, such as
, the dynamics become chaotic, with trajectories that are irregular, aperiodic, and highly sensitive to initial conditions.
Biologically, this result brings to attention the importance of the nutrient recycling rate . Moderate nutrient recycling ensures high nutrient levels that enable stable coexistence of species. On the other hand, high nutrient recycling can cause destabilization, leading to dramatic oscillatory dynamics in the population and nutrient density.
6.3. Influence of the Step Size on Bifurcation Thresholds
Since system (
3) is obtained using the forward Euler scheme, the step size
h directly influences the discrete stability and bifurcation conditions. The forward Euler method has a local truncation error of
and a global error of
. Therefore, the bifurcation thresholds of the discrete system may depend on the selected finite step size. Indeed, the period-doubling threshold
obtained in Theorem 5 depends explicitly on
h, showing that changes in
h shift the corresponding bifurcation boundary. Numerical bifurcation diagrams with respect to
h are presented below to further illustrate the influence of the discretization step on the system dynamics.
To examine the influence of the forward Euler step size on the dynamics, we fix and vary h. For these parameter values, the critical step size for the period-doubling bifurcation is . The corresponding positive fixed point is , and the eigenvalues of are and , confirming the period-doubling condition.
Figure 7 shows the bifurcation diagrams of
and
with respect to
h. For
, trajectories converge to the positive equilibrium. As
h crosses
, a stable period-2 orbit emerges. Thus, the numerical results confirm the analytical dependence of the discrete dynamics on the Euler step size. In particular, larger finite step sizes can destabilize the equilibrium and alter the location of the bifurcation boundaries.
Moreover,
Table 1 reports the critical values of
obtained for different values of
h, while the remaining parameters are kept fixed as
and
. It demonstrates a clear shift in the period-doubling threshold as the Euler step size is varied. Thus, increasing
h shifts the period-doubling boundary toward smaller values of
, whereas decreasing
h shifts it toward larger values.
6.4. Basins of Attraction and Multistability
To further investigate the global dynamics of system (
3), the basins of attraction associated with different coexisting attractors are examined. Unlike one- and two-parameter bifurcation diagrams, which describe changes in the asymptotic dynamics as model parameters vary, basin diagrams reveal the dependence of long-term behavior on the initial conditions
for fixed parameter values. In each diagram, a grid of initial conditions is iterated under system (
3), with each initial condition classified according to the attractor approached by the corresponding trajectory. The resulting basin structure thus provides a direct visualization of multistability and the sensitivity of the asymptotic dynamics to the choice of initial conditions.
Figure 8a–e illustrate the basins of attraction of system (
3) and reveal the presence of multistability for different parameter sets given in
Table 2. In particular, the coexistence of the boundary equilibrium
with period-2, period-4, and period-8 attractors is observed, while other parameter choices exhibit coexistence between period-2 and period-12 attractors and between period-6 and period-8 attractors. The distinct and intricately structured basins demonstrate that, for the same parameter values, different initial conditions may lead to qualitatively different long-term behaviors. Thus, the basin analysis complements the bifurcation diagrams and phase portraits by showing that the asymptotic dynamics depend not only on the model parameters but also strongly on the initial state. Biologically, this multistability implies that identical environmental conditions may result in different long-term bacteria-nutrient dynamics, ranging from bacterial extinction to persistent oscillatory regimes, depending on the initial bacterial and nutrient concentrations.
6.5. Chaos Control Examples
Let us analyze the efficacy of the control approaches presented for stabilization of the system dynamics. To begin with, we analyze the state feedback control technique. By employing the parameters
,
,
, and
, the marginal stability lines for the controlled system (
31) are determined as
The stability region bounded by these lines is depicted in
Figure 9, which gives the range of acceptable values for feedback gains
to ensure local stability of the controlled system.
Under these parameter conditions, the positive fixed point
of the system (
3) is unstable. For this equilibrium point to become stable, we use the control force
, where
and
belong to the stability region. The time series plots of
and
are shown in
Figure 10a and
Figure 10b, respectively, while the associated phase portrait is given in
Figure 10c. From these graphs, it is clear that the feedback control method suppresses oscillations and stabilizes the system at the desired equilibrium without chaotic and period-doubling behavior.
We now analyze the efficacy of the hybrid control scheme. For the controlled system (
39), the parameters are fixed as
,
,
, and
, while
is varied. The bifurcation diagrams shown in
Figure 11 reveal that the period-doubling bifurcation occurs at
, which is higher than the corresponding bifurcation value for the uncontrolled system (
3). This shift indicates that the hybrid control strategy delays the onset of instability and expands the range of parameter values over which the system remains stable.
From a biological point of view, these control strategies can be interpreted as regulatory mechanisms to stabilize the dynamics of populations. In contrast, the feedback control approach compensates for deviations from equilibrium by controlling the system actively while the hybrid control approach controls the system indirectly through a weighted sum of controlled dynamics and uncontrolled open-loop dynamics. Both approaches result in suppressing unwanted oscillations, yielding stable coexistence mechanics between bacteria and carbon sources.
7. Conclusions
This study proposed and investigated a novel discrete-time chemostat model with nutrient recycling. By adding the recycling parameter, the classical model is improved in such a way that it considers the internal feedback process caused by the regeneration of nutrients by biomass. The addition of the recycling parameter makes the ecological interaction more practical and also makes the dynamics of the system richer. Two meaningful equilibria of the system are obtained, and the stability conditions for both the equilibria are explicitly calculated by linearization and characteristic equations.
The bifurcation analysis reveals that the system undergoes both transcritical and period-doubling bifurcations. The transcritical bifurcation describes the transition from extinction to persistence as nutrient input crosses a critical threshold, and the period-doubling bifurcation points to the onset of oscillatory and potentially chaotic dynamics. Also, it is proved that there is no Neimark–Sacker bifurcation in this model. These analytical results are strongly supported by numerical simulations and clearly show the emergence of complex dynamics as parameters in the system change.
In comparison with existing chemostat models, the present model provided a broader description by incorporating nutrient recycling into a discrete-time framework and examining its interaction with discretization. In the continuous-time framework of [
3], nutrient recycling was incorporated with mutualistic bacterial interactions, with emphasis on positivity, boundedness, coexistence, stability, persistence, and control. In contrast, the discrete chemostat model in [
8] exhibited fold, period-doubling, Neimark–Sacker, and
resonance bifurcations but did not include nutrient recycling. Alsulami [
10] considered a chemostat model without nutrient recycling and discretized it using the piecewise constant argument method, which preserved non-negativity and produced transcritical and period-doubling bifurcations. In contrast, the present model incorporated the recycling term and employed forward Euler discretization, so that both the recycling parameter
and the step size
h directly affect the stability and bifurcation conditions. Unlike [
8], the present model exhibited period-doubling and complex dynamics while analytically excluding a Neimark–Sacker bifurcation at the positive equilibrium.
The proposed two-dimensional framework can be extended to higher-dimensional chemostat models by incorporating additional biologically relevant variables. For example, a three-dimensional model may include bacterial biomass, nutrient concentration, and recycled organic matter, while a four-dimensional model may further incorporate a competing microbial population. Such extensions could provide a more realistic description of nutrient recycling in complex microbial communities and constitute an interesting direction for future research. Future studies may also consider time delays, stochastic effects, and alternative positivity-preserving discretization schemes to examine their influence on the stability and bifurcation structure.