Abstract
In this paper, we investigate the dynamical behaviors of the rational difference equation with arbitrary initial conditions, where a, b, and c are real numbers. A general solution is obtained. The asymptotic stability of the equilibrium points is investigated, using a nonlinear stability criterion combined with basin of attraction analysis and simulation to determine the stability regions of the equilibrium points. The existence of the periodic solutions is discussed. We investigate the codim-1 bifurcations of the equation. We show that the equation exhibits a Neimark–Sacker bifurcation. For this bifurcation, the topological normal form is computed. To confirm our theoretical results, we performed a numerical simulation as well as numerical bifurcation analysis by using the Matlab package MatContM.
Keywords:
difference equations; general solution; stability analysis; topological normal forms; bifurcations; MatContM MSC:
37G05; 39A23; 39A28; 39A30; 65Q10
1. Introduction
The study of difference equations has expanded significantly over the past decade. The reason for this is that these equations are used in modeling real-life problems in a wide range of fields of science. For example, in biology, these equations can be used in modeling some natural phenomena, such as the size of a population at time n, the blood cell production, and the propagation of annual plants, while in economics these equations have been used to study the pricing of a certain commodity and the national income of a country [1,2,3].
In this paper, we study the general solution and the dynamical behaviors of the rational difference equation
where a, b, and c are real numbers with , and the initial conditions and are real numbers. Also, we study the bifurcations that occur in this equation. Cinar [4] investigated the positive solutions of the rational difference equation
Cinar [5] investigated the solutions of the difference equation
where . Cinar [6] investigated the positive solutions of the difference equation
where . Aloqeili [7] discussed the stability properties and semi-cycle behavior of the solution of the difference equation
where . Andruch-Sobi and Migda [8] investigated the asymptotic behavior of all solutions of the rational difference equation
with a positive a and c, negative b, and non-negative initial conditions and . The same equation with a positive b was considered in [9]. Elsayed [10] obtained the solutions of the rational difference equation
Abo-Zeid [11] introduced the solutions of the rational difference equation
Ghazel et al. [12] obtained the solutions and the dynamical behaviors of the rational difference equation
Karatas et al. [13] investigated the positive solutions of the difference equation
Abo-Zeid [14] investigated the global behavior of all solutions of the rational difference equation
Karatas [15] obtained the solution of the rational difference equation
Karatas et al. [16] proved the global asymptotic stability of the equation
Moreover, they obtained the solutions of some special cases of this difference equation by applying the standard iteration method. The study of the dynamical behaviors of the solutions of rational difference equations, such as local and global stability, periodicity, and bifurcations, has been discussed by many authors—for examples, see [2,16,17,18,19,20,21] and the references therein.
The present paper is motivated by the incomplete analysis of Equation (1). We extend the work of [4,5,6,7,8,9] by studying its general form with a, b, and c as real numbers with , and the initial conditions being arbitrary real numbers. We perform a comprehensive stability analysis, considering not only the trivial equilibrium point and instability regions of other equilibrium points but also the stability regions of all equilibrium points of Equation (1). Furthermore, we investigate the existence of bifurcations in Equation (1). Importantly, previous studies have not addressed the bifurcation analysis of this equation. The setup of this paper is outlined as follows. In Section 2, we show that Equation (1) has only three equilibrium points. We discuss the stability of these points. We show that the equilibrium point is globally asymptotically stable (see also Section 3). On the other hand, we show that the equilibrium points and are never linearly stable. In Section 3, we obtain the analytical solution of Equation (1). We prove that, if , then every solution of Equation (1) converges to zero even if we choose negative initial conditions. Furthermore, we discuss the dynamic behaviors of the solution and the periodic solutions of Equation (1). In Section 4, a complete bifurcation analysis is presented. We show that Equation (1) exhibits a Neimark–Sacker bifurcation. For this bifurcation, we compute the topological normal form. In Section 5, we use a nonlinear stability criterion to better understand the stability of the equilibrium points and where the characteristic equation evaluated at these points always has one root less than one and the other is equal to −1. This criterion is based on stability analysis in the direction of the eigenvector corresponding to the eigenvalue equal to −1. We show that these points are stable and we always have small regions of stability in their domain. In Section 6, we perform a numerical simulation as well as a numerical bifurcation analysis to confirm our theoretical results.
2. Preliminaries
Here, we present some known results that will be useful in the study of Equation (1). Let and let be a continuously differentiable function. Then, for any initial conditions , the difference equation
has a unique solution .
Definition 1.
A point is called an equilibrium point of Equation (2) if .
Definition 2.
A solution is said to be periodic with period t if
A solution is called periodic with prime period t if t is the smallest positive integer for which Equation (3) holds.
Definition 3.
Let be an equilibrium point of Equation (2).
- 1.
- is called stable if for every , there exists such that for all and , we have , for all .
- 2.
- is called locally asymptotically stable if is stable and there exists , such that for all and , we have .
- 3.
- is called a global attractor if for all , we have .
- 4.
- is called globally asymptotically stable if is stable and is a global attractor.
- 5.
- is called unstable if is not stable.
Let
where the function f is given in Equation (2) and is an equilibrium point of Equation (2). Equation (4) is the linearized equation of Equation (2) about . The characteristic equation of Equation (4) is
Theorem 1.
Assume that f is a continuously differentiable function and let be an equilibrium point of Equation (2). Then, the following statements are true.
The change in variables (with ) reduces the Equation (1) to the rational difference equation
where .
Theorem 2.
Equation (6) has exactly three equilibrium points, which are given by
Proof.
The linearized equation associated with Equation (6) about the equilibrium point is given by the linear difference equation:
The characteristic equation corresponding to Equation (7) is
The following corollary directly follows from Theorem 1.
Corollary 1.
If , then the equilibrium point of Equation (6) is locally asymptotically stable.
Note that, for the equilibrium points , the characteristic Equation (8) has two eigenvalues, namely and for all . Since there is always one root equal to , then the equilibrium point is never locally asymptotically stable. The stability analysis of the equilibrium points and will be discussed in Section 5.
3. Analytical Expression of
In the following, we obtain the analytical expression of the general solution of Equation (6) with arbitrary initial conditions and , where is a real number.
Theorem 3.
Proof.
Assume that n is even. Therefore, and are odd. Substituting Equation (9) into the L.H.S of Equation (6) gives
Similarly, if we assume that n is odd, then and are even. If we substitute Equation (9) into the L.H.S of Equation (6), we obtain
From the R.H.S of Equation (6), it follows that
This completes the proof. □
Theorem 4.
Let . Then, every solution of Equation (6) converges to zero.
Proof.
Let be a solution of Equation (2) with the initial conditions and being real numbers. If , then it is clear that for all . If and , then we can easily obtain that
Since , it is clear that . Similarly, if and , then we can easily obtain that
Hence, for all . If and , then let . It is enough to show that the sub-sequences and converge to 0 as . From Equation (9), we obtain
For , , then , and hence the series is convergent. Therefore,
so as and hence as .
Similarly, we obtain
For , , then , and hence the series is convergent. Therefore,
so as . This completes the proof. □
Theorem 5.
If , then the equilibrium point of Equation (6) is globally asymptotically stable.
Proof.
It follows from Theorem 4 and Corollary 1. □
Theorem 6.
If and , then the solution of Equation (6) is equal to ξ.
Proof.
If and , we want to show that for all . Using Equation (9),
Similarly,
This completes the proof. □
Theorem 7.
The nontrivial solutions of Equation (6) will be periodic with period 2 if the initial conditions are chosen such that , and . Then, .
Proof.
If , and , we want to show that and for all . Using Equation (9),
Similarly,
This completes the proof. □
Theorem 8.
The nontrivial solutions of Equation (6) will be periodic with period 2 if the initial conditions are chosen such that , and . Then, .
Proof.
The proof is similar to Theorem 7. □
Theorem 9.
The nontrivial solutions of Equation (6) will be periodic with period 2 if the initial conditions are chosen such that , and . Then, .
Proof.
The proof is similar to Theorem 7. □
Theorem 10.
The nontrivial solutions of Equation (6) will be periodic with period 2 if the initial conditions are chosen such that . and . Then, .
Proof.
The proof is similar to Theorem 7. □
Theorem 11.
The nontrivial solutions of Equation (6) will be periodic of period 4 if the initial conditions are chosen such that , and . Then .
Proof.
If , and , we want to show that and for all . Using Equation (9),
Similarly,
This completes the proof. □
Theorem 12.
The nontrivial solutions of Equation (6) will be periodic of period 4 if the initial conditions are chosen such that , and . Then, .
Proof.
The proof is similar to Theorem 11. □
4. Bifurcation Analysis
While varying the parameter of Equation (6), we generically encounter one codim-1 bifurcation related to stability changes of the equilibrium point , namely Niemark–Sacker (NS) bifurcation, where the characteristic Equation (8) has a simple pair of complex roots with . This bifurcation occurs at when . A nongeneric situation occurs at a pitch-fork bifurcation (PF) when (note that the equilibrium point splits into two symmetric branches of equilibrium points and as the value of crosses the critical parameter value —see also Figure 2). We will use the normal form theory for discrete-time dynamical systems (see [22,23]) to study the NS bifurcation of Equation (6).
If we set , Equation (6) can be rewritten as the following two-dimensional system of rational difference equations
where and are real numbers with for all . System (12) can be expressed in vector form as
where and . Then, the equilibrium points of System (13) can be computed by solving the system . Therefore, System (13) can have only three equilibrium points, namely , , and . Note that these equilibrium points are the same points as in Theorem 2. We calculate the Jacobian matrix at the equilibrium point of System (13):
The characteristic equation of the Jacobian matrix A is
which is the same equation as in Equation (8). Assume that for some , System (13) has a NS bifurcation at . The Taylor expansion of about can be written as
where the dots denote higher-order terms in , denotes the Jacobian matrix evaluated at given in Equation (14), and and are vectors with two components. These vectors are defined by
where , , , and
When the parameter crosses the critical value (i.e., the NS point), the Jacobian matrix evaluated at has a simple pair of complex eigenvalues and , and . Hence, . Assume that are two right eigenvectors of A and the transposed matrix corresponding to and , respectively, i.e., and . Then, for , we have
We normalized these vectors such that , where is the standard complex inner product, i.e., . Therefore, the vectors p and q become
Then,
and hence
Then, for parameter values close to , the restriction of (6) to a parameter-dependent center manifold is locally smoothly equivalent to
where w is a complex variable, , , and
The first Lyapunov coefficient for the NS bifurcation is
5. Stability Analysis
The equilibrium points and are never linearly asymptotically stable because the Jacobian matrix (14) always has an eigenvalue equal to −1, i.e., the root of the characteristic Equation (8). The stability of these points can be determined by a nonlinear stability analysis in the direction of the eigenvector corresponding to .
Let be an equilibrium point of System (13). For , let be a small perturbation of where e is the right unit eigenvector corresponding to the eigenvalue . Then, we can decompose the function as
where and are scalars and z is an eigenvector corresponding to the eigenvalue . Taking inner products of (24) with the left eigenvector corresponding to the eigenvalue , we obtain
In the sense of the definition of stability associated with a specific eigenvector of the linearized system at an equilibrium point (see for example ([24], Chapter 2)), we can say that the equilibrium point is stable in the direction of the eigenvector e if for all sufficiently small . Moreover, the equilibrium point is unstable in the direction of the eigenvector e if for arbitrarily small values of .
The vectors e and are given by
We numerically compute the value for a large number of values of for and The results are presented in Figure 1. The equilibrium points where are plotted in blue; the equilibrium points where are plotted in green. In red, we label the points where change signs. It is remarkable that a small domain of attraction where the equilibrium points remain stable can always exist. As the value of increases, this domain shrinks, but it still exists around the equilibrium points. Therefore, the equilibrium points and are stable for .
Figure 1.
Stability analysis for the equilibrium point using with step size for (a) and (b) . The blue points are the equilibrium points where . The green points are the equilibrium points where . In red, we label the points where change signs.
Combining the results we have collected with the results in Section 4, we can draw the bifurcation diagram of System (13) (i.e., Equation (6)), as shown in Figure 2.
Figure 2.
Bifurcation diagram and regions of stability of the three fixed points for System (13) (i.e., Equation (6)) in the plane. A solid line is used for stable fixed points and a dashed line is used for unstable ones. The red curve represents the fixed point , while the fixed points and are represented by green and blue curves, respectively.
6. Numerical Results
6.1. General Solution
Example 1.
Let and be the initial conditions of Equation (6) where . Then, we use direct iteration of Equation (6) and we compare the results with the obtained explicit solution in Theorem 3. The results are shown in Table 1. Table 1 sets forth the values of for selected values of n.
Table 1.
The values of for selected values of n for , , and .
Example 2.
Let and be the initial conditions of Equation (6) where . Then, Theorem 4 implies that the solution converges to zero. Table 2 sets forth the values of for selected values of n. See also Figure 3.
Table 2.
The values of for selected values of n for , , and .
Figure 3.
Solution of Equation (6) converges to zero for , , and .
Example 3.
Let and be the initial conditions of Equation (6) where . Then, Theorem 4 implies that the solution converges to zero. Table 3 sets forth the values of for selected small values of n. See also Figure 4.
Table 3.
The values of for selected values of n for , , and .
Figure 4.
Solution of Equation (6) converges to zero for , , and .
6.2. Periodic Solutions
6.3. Numerical Bifurcation Analysis
We perform a numerical bifurcation analysis for System (13). This analysis is based on a continuation method and uses the Matlab package MatContM—see [23,25,26]. Using , we continue the curve of the equilibrium point with the free parameter . The NS bifurcation point is found along this curve. The computed NS point on this curve is given by . The normal form coefficient of the NS point computed by MatContM is 0. We obtained the same results in Section 4 (see Equation (23)). Further, we start again with a continuation with the free parameter and using the initial data and . We compute the curves of the equilibrium points and . The branching point (BP), i.e., PF bifurcation, is computed along these curves and is given by . The continuation leads to Figure 7.
Figure 7.
Bifurcation diagram computed with MatContM.
It is remarkable that as we exceed the NS value , a periodic solution of period 4 is born—see Figure 8. This is agreement with the results of Theorems 11 and 12.
Figure 8.
Phase portraits of System (13): (a) and initial value ; (b) a periodic solution of period 4 for and initial value .
6.4. The Basin of Attraction of the Equilibrium Points
To further corroborate the results in Section 5, we explore the basin of attraction of the equilibrium points and by performing map iterations for different initial points located in the ranges shown in Figure 9. We show the basins of attraction of the equilibrium points for five values of . In Figure 9, the points in the attraction domain of the equilibrium point are colored red, the points in the attraction domain of the equilibrium point are colored blue, and the points in the attraction domain of the equilibrium point are colored green. The yellow points are these where no convergence was established after iterations. For (see Figure 9c,d), the basin of attraction of the equilibrium point is connected, and then it shrinks and disappears as we leave this interval (see Figure 9e). It is clear that this is the case, since is stable for and unstable otherwise. If , the basin of attraction of the equilibrium points and is very small and there are already points very close to the equilibrium points and that are not in its domain of attraction—see Figure 9a,b. However, numerical simulations show that the basin of attraction shrinks to the equilibrium points but never disappears at all. Therefore, these equilibrium points are, in fact, stable for .

Figure 9.
The basins of attraction of the fixed points of System (13). The points in the attraction domain of the equilibrium points (i) are red, those in (i) are blue, and those in (iii) are green. The yellow points are those where no convergence was established after iterations. (a) for and the initial points located in the range ; (b) for and the initial points located in the range ; (c) for and the initial points located in the range ; (d) for and the initial points located in the range ; and (e) for and the initial points located in the same range as in (d).
7. Conclusions
We show that Equation (1) has exactly three equilibrium points. The trivial equilibrium point is globally asymptotically stable, while the equilibrium points and are never linearly stable. Using a nonlinear stability analysis criterion based on studying a small perturbation in the direction of the eigenvector corresponding to an eigenvalue equal to −1, we show that the equilibrium points and are stable (for ) with a small domain of attraction. Additionally, we obtain an explicit formula for the general solution of Equation (1). We prove that if , then every solution of Equation (1) converges to zero. We compute solutions of period 2 and 4 of Equation (1). Moreover, a complete bifurcation analysis is presented. We show that Equation (1) exhibits a Neimark–Sacker bifurcation. For the NS bifurcation, we compute the topological normal form. Finally, we perform a numerical simulation as well as a numerical bifurcation analysis using the Matlab package MatContM to confirm our theoretical results.
Author Contributions
Conceptualization, B.A.-H., R.S., M.H.D. and S.A.-A.; Methodology, B.A.-H., R.S., M.H.D. and S.A.-A.; Software, B.A.-H., R.S., M.H.D. and S.A.-A.; Writing—original draft, B.A.-H.; Writing—review & editing, B.A.-H., R.S., M.H.D. and S.A.-A. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author.
Acknowledgments
The authors thank the anonymous referees for their valuable comments and suggestions that led to the improvement of this paper. The authors are thankful to Jazan University, Jazan, Saudi Arabia, for financially supporting this work.
Conflicts of Interest
The authors declare that they have no competing interests concerning the publication of this manuscript.
Correction Statement
This article has been republished with a minor correction to the existing affiliation information. This change does not affect the scientific content of the article.
References
- Elaydi, S. An Introduction to Difference Equations, 3rd ed.; Undergraduate Texts in Mathematics; Springer: New York, NY, USA, 2005. [Google Scholar]
- Al-Hdaibat, B.; Al-Ashhab, S.; Sabra, R. Explicit Solutions and Bifurcations for a System of Rational Difference Equations. Mathematics 2019, 7, 69. [Google Scholar] [CrossRef]
- Khan, A.; Qureshi, S. Dynamical properties of some rational systems of difference equations. Math. Methods Appl. Sci. 2021, 44, 3485–3508. [Google Scholar] [CrossRef]
- Cinar, C. On the positive solutions of the difference equation xn+1=(xn−1)/(1+xnxn−1). Appl. Math. Comput. 2004, 150, 21–24. [Google Scholar]
- Cinar, C. On the solutions of the difference equation xn+1=(xn−1/(−1+axnxn−1)). Appl. Math. Comput. 2004, 158, 793–797. [Google Scholar]
- Cinar, C. On the positive solutions of the difference equation xn+1=(xn−1/(1+axnxn−1)). Appl. Math. Comput. 2004, 158, 809–812. [Google Scholar]
- Aloqeili, M. Dynamics of a rational difference equation. Appl. Math. Comput. 2006, 176, 768–774. [Google Scholar] [CrossRef]
- Andruch-Sobi, A.; Migda, M. Further properties of the rational recursive sequence xn+1=(axn−1)/(b+cxnxn−1). Opusc. Math. 2006, 26, 387–394. [Google Scholar]
- Andruch-Sobi, A.; Migda, M. On the rational recursive sequence xn+1=(axn−1)/(b+cxnxn−1). Tatra Mt. Math. Publ. 2009, 43, 1–9. [Google Scholar]
- Elsayed, E.M. On the Solution of Some Difference Equations. Eur. J. Pure Appl. Math. 2011, 4, 287–303. [Google Scholar]
- Abo-Zeid, R. Global behavior of the difference equation xn+1=(axn-3)/(b+cxn−1xn-3). Arch. Math. 2015, 51, 77–85. [Google Scholar]
- Ghazel, M.; Elsayed, E.; Matouk, A.; Mousallam, A. Investigating dynamical behaviors of the difference equation xn+1=(Cxn−5)/(A+Bxn−2xn−5). Arch. Math. 2017, 10, 4662–4679. [Google Scholar]
- Karatas, R.; Cinar, C.; Simsek, D. On Positive Solutions of the Difference Equation xn+1=(xn−5)/(1+xn−2xn−5). Int. J. Contemp. Math. Sci. 2006, 1, 495–500. [Google Scholar] [CrossRef]
- Abo-Zeid, R. Behaviour of solutions of a higher order difference equation. Ala. J. Math. 2018, 42, 1–10. [Google Scholar]
- Karatas, R. A Solution Form of a Rational Difference Equation. Konuralp J. Math. 2023, 11, 20–23. [Google Scholar]
- Karatas, R.; Gelisken, A.; Ari, M. A Generalised Difference Equation and Its Dynamics and Solutions. Mathematics 2024, 12, 3531. [Google Scholar] [CrossRef]
- Camouzis, E.; Ladas, G. Dynamics of Third-Order Rational Difference Equations with Open Problems and Conjectures; Advances in Discrete Mathematics and Applications (Volume 5); Chapman & Hall/CRC: Boca Raton, FL, USA, 2019. [Google Scholar]
- Stevic, S.; El-Sayed Ahmed, A.; Kosmala, W.; Smarda, Z. On a class of difference equations with interlacing indices. Adv. Diff. Equ. 2021, 297. [Google Scholar] [CrossRef]
- Khaliq, A.; Mustafa, I.; Ibrahim, T.; Osman, W.M.; Al-Sinan, B.R.; Dawood, A.A.; Juma, M.Y. Stability and Bifurcation Analysis of Fifth-Order Nonlinear Fractional Difference Equation. Fractal Fract. 2023, 7, 113. [Google Scholar] [CrossRef]
- Zhang, Q.; Shen, L. Global asymptotic stability and trajectory structure rules of high-order nonlinear difference equation. AIMS Math. 2024, 9, 28256–28272. [Google Scholar] [CrossRef]
- Kulenovic, M.; O’Loughlin, C.; Pilav, E. Neimark–Sacker bifurcation of two second-order rational difference equations. J. Differ. Equations Appl. 2024, 1–23. [Google Scholar] [CrossRef]
- Kuznetsov, Y.A. Elements of Applied Bifurcation Theory, 3rd ed.; Springer: New York, NY, USA, 2004. [Google Scholar]
- Kuznetsov, Y.A.; Meijer, H.G.E. Numerical Bifurcation Analysis of Maps: From Theory to Software; Cambridge Monographs on Applied and Computational Mathematics; Cambridge University Press: Cambridge, UK, 2019. [Google Scholar]
- Luo, A.C.J. Regularity and Complexity in Dynamical Systems; Springer: New York, NY, USA, 2012. [Google Scholar]
- Neirynck, N.; Al-Hdaibat, B.; Govaerts, W.; Kuznetsov, Y.A.; Meijer, H.G.E. Using MatContM in the study of a nonlinear map in economics. J. Phys. Conf. Ser. 2016, 692, 012013. [Google Scholar] [CrossRef]
- Dhooge, A.; Govaerts, W.; Kuznetsov, Y.A.; Meijer, H.G.E.; Sautois, B. New features of the software MatCont for bifurcation analysis of dynamical systems. Math. Comput. Model. Dyn. Syst. 2008, 14, 147–175. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).