Next Article in Journal
Enhancing Logistic Modeling for Diauxic Growth and Biphasic Antibacterial Activity Synthesis by Lactic Acid Bacteria in Realkalized Fed-Batch Fermentations
Previous Article in Journal
Bounds on Causal Effects Based on Expectations in Ordered-Outcome Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the General Solution of xn+1=axn+12kb+cxn+1kxn+12k

1
Department of Mathematics, University of Hafr Al-Batin, Hafr Al-Batin 31991, Saudi Arabia
2
Department of Mathematics, Faculty of Science, The Hashemite University, Zarqa, Jordan
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(19), 3104; https://doi.org/10.3390/math13193104
Submission received: 1 September 2025 / Revised: 17 September 2025 / Accepted: 19 September 2025 / Published: 28 September 2025
(This article belongs to the Section C1: Difference and Differential Equations)

Abstract

This paper investigates the global dynamics of a broad class of nonlinear rational difference equations given by x n + 1 = a x n + 1 2 k b + c x n + 1 k x n + 1 2 k , n = 0 , 1 , , which generalizes several known models in the literature. We establish the existence of exactly three equilibrium points and show that the trivial equilibrium is globally asymptotically stable when the parameter ratio α = ( b / a ) lies in ( 1 , 1 ) . The nontrivial equilibria are shown to be always unstable. An explicit general solution is derived, enabling a detailed analysis of solution behavior in terms of initial conditions and parameters. Furthermore, we identify and classify minimal period 2 k and 4 k solutions, providing necessary and sufficient conditions for the occurrence of constant and periodic behaviors. These analytical results are supported by numerical simulations, confirming the theoretical predictions. The findings generalize and refine existing results by offering a unified framework for analyzing a wide class of rational difference equations.
MSC:
39A10; 39A23; 65Q10

1. Introduction

Difference equations have garnered significant attention in recent years due to their widespread application in modeling real-world problems across various scientific fields. In biology, for instance, they are employed to describe population dynamics, blood cell production, and the growth of annual plants. In economics, they are used to model commodity pricing and national income [1,2,3,4]. The class of rational difference equations studied in this paper also has potential applications in these areas as well as in engineering (see, for example, ref. [5] and the references therein), where global stability and periodicity results ensure predictable and reliable system behavior regardless of initial conditions. This motivates a detailed investigation of their dynamic behavior, including equilibrium points, stability, and periodic solutions.
Numerous researchers have investigated rational difference equations of various forms.
Cınar [6] studied the positive solutions of the rational difference equation
x n + 1 = x n 1 1 + x n x n 1 , n = 0 , 1 ,
In [7], he analyzed the solutions of the equation
x n + 1 = x n 1 1 + a x n x n 1 , a > 0 ,
and in [8], he examined the positive solutions of the equation
x n + 1 = x n 1 1 + a x n x n 1 , a > 0 .
Aloqeili [9] studied the dynamics, including stability and semi-cyclic behavior, of the solutions of the equation
x n + 1 = x n 1 a x n x n 1 , a > 0 .
Andruch-Sobi and Migda [10] investigated the asymptotic properties of the rational difference equation
x n + 1 = a x n 1 b + c x n x n 1 , a , c > 0 , b < 0 ,
with nonnegative initial values. The case with b > 0 was later addressed in [11].
Elsayed [12] studied the solutions of the equation
x n + 1 = x n 3 ± 1 ± x n 1 x n 3 .
Abo-Zeid [13] analyzed the global behavior of the rational difference equation
x n + 1 = a x n 3 b + c x n 1 x n 3 .
Ghazel et al. [14] examined the dynamics and behavior of the equation
x n + 1 = C x n 5 A + B x n 2 x n 5 ,
while Karatas et al. [15] studied the positive solutions of
x n + 1 = x n 5 1 + x n 2 x n 5 .
Karatas [16] derived the general solution of the rational difference equation
x n + 1 = a x n ( 2 k + 3 ) a x n ( k + 1 ) x n ( 2 k + 3 ) .
Karatas et al. [17] investigated the global stability of the equation
x n + 1 = A x n [ 2 ( k + j ) + 1 ] B + C x n ( k + j ) x n [ 2 ( k + j ) 1 ]
and provided solutions to special cases using the iteration method.
Al-Hdaibat [18] studied the general solution and dynamics of the equation
x n + 1 = a x n 1 b + c x n x n 1 , n = 0 , 1 ,
with real parameters a, b, and c satisfying b c > 0 , and arbitrary real initial values x 1 and x 0 . The study also includes a bifurcation analysis of the equation.
In this paper, we study a class of rational difference equations of the form
x n + 1 = a x n + 1 2 k b + c x n + 1 k x n + 1 2 k , n = 0 , 1 , .
This class include all equations of the form:
x n + 1 = a x n 1 b + c x n x n 1 , x n + 1 = a x n 3 b + c x n 1 x n 3 , x n + 1 = a x n 5 b + c x n 2 x n 5 , x n + 1 = a x n 7 b + c x n 3 x n 7 , .
This paper is motivated by the works in [12,14,16,17,18]. We extend their results by investigating a more general form of the class of equations given in Equation (1), where a, b, and c are real parameters satisfying b c > 0 , and the initial values are real.
The structure of this paper is organized as follows. In Section 2, we show that Equation (1) has exactly three equilibrium points. The trivial equilibrium point x ˜ 1 is globally asymptotically stable, while the equilibrium points x ˜ 2 and x ˜ 3 are never linearly stable. In Section 3, we derive the analytical solution of Equation (1). We prove that if ( b / a ) ( 1 , 1 ) , then every solution of Equation (1) converges to zero, even when the initial conditions are negative. Furthermore, we discuss the dynamic behavior of the solutions, including the existence of periodic solutions. In Section 4, we present numerical simulations to support and validate the theoretical results obtained.

2. Preliminaries

Here we present some known results that will be useful in the study of Equation (1), see, for example, [1,19]. Let I R and let f : I 2 k 1 I be a continuously differentiable function. Then for any initial conditions x 2 k + 1 , x 2 k + 2 , , x 0 I , the difference equation
x n + 1 = f ( x n , x n 1 , , x n + 1 2 k ) , n = 0 , 1 , .
has a unique solution x n n = 2 k + 1 .
Definition 1.
A point x ˜ is called an equilibrium point of Equation (2) if f ( x ˜ , x ˜ , , x ˜ ) = x ˜ .
Definition 2.
A solution x n n = 2 k + 1 is said to be periodic with period t if
x n + t = x n for all n 2 k + 1 .
A solution x n n = 2 k + 1 is called periodic with prime period t if t is the smallest positive integer for which Equation (3) holds.
Definition 3.
Let x ˜ be an equilibrium point of Equation (2).
1. 
x ˜ is called stable if for every ε > 0 , there exists δ > 0 such that for all x 2 k + 1 , x k + 1 , , x 0 I and j = 1 2 k x 2 k + j x ˜ < δ , we have x n x ˜ < ε for all n 2 k + 1 .
2. 
x ˜ is called locally asymptotically stable if x ˜ is stable and there exists γ > 0 , such that for all x 2 k + 1 , x 2 k + 2 , , x 0 I and j = 1 2 k x 2 k + j x ˜ < γ , we have lim n x n = x ˜ .
3. 
x ˜ is called a global attractor if for all x 2 k + 1 , x 2 k + 2 , , x 0 I , we have lim n x n = x ˜ .
4. 
x ˜ is called globally asymptotically stable if x ˜ is stable and is a global attractor.
5. 
x ˜ is called unstable if x ˜ is not stable.
Let
y n + 1 = j = 0 2 k 1 ρ j y n j , n = 0 , 1 ,
where
ρ j = f ( x ˜ , x ˜ , , x ˜ ) x n j ,
the function f is given in Equation (2), and x ˜ is an equilibrium of Equation (2). Equation (4) is the linearized equation of Equation (2) about x ˜ . The characteristic equation of Equation (4) is
λ 2 k j = 0 2 k 1 ρ j λ 2 k 1 j = 0 .
Theorem 1.
Assume that f is a continuously differentiable function and let x ˜ be an equilibrium point of Equation (2). Then, the following statements are true:
1. 
x ˜ is locally asymptotically stable if all roots of Equation (5) (i.e., the eigenvalues) have absolute value less than 1.
2. 
x ˜ is unstable if at least one root of Equation (5) has an absolute value greater than 1.
The change of variables x n b / c x n (with b c > 0 ) reduces Equation (1) to the rational difference equation
x n + 1 = α x n + 1 2 k 1 + x n + 1 k x n + 1 2 k , n = 0 , 1 , 2 , ,
where α = a / b .
Theorem 2.
Equation (6) has exactly three equilibrium points, which are given by
x ˜ 1 = 0 when α R , x ˜ 2 = α 1 when α > 1 , x ˜ 3 = α 1 when α > 1 .
Proof. 
For the equilibrium points of Equation (6), we can write x ˜ = ( α x ˜ ) / ( 1 + x ˜ x ˜ ) . Then we have x ˜ x ˜ 2 ( α 1 ) = 0 . Therefore, the equilibrium points of Equation (6) are x ˜ 1 = 0 when α R and x ˜ 2 , 3 = ± α 1 when α > 1 . □
The linearized equation associated with Equation (6) about the equilibrium point x ˜ is given by the linear difference equation:
y n + 1 = ρ 2 k 1 y n + 1 2 k + ρ k 1 y n + 1 k = α 1 + x ˜ 2 2 y n + 1 2 k α x ˜ 2 1 + x ˜ 2 2 y n + 1 k .
The characteristic equation corresponding to Equation (7) is
λ 2 k + α x ˜ 2 1 + x ˜ 2 2 λ k α 1 + x ˜ 2 2 = 0 .
The following corollary is a direct consequence of Theorem 1.
Corollary 1.
If α ( 1 , 1 ) , then the equilibrium point x ˜ 1 of Equation (6) is locally asymptotically stable.
Note that for the equilibrium points x ˜ 2 , 3 , the characteristic Equation (8) can be rewritten as a quadratic in η = λ k :
η 2 + α x ˜ 2 ( 1 + x ˜ 2 ) 2 η α ( 1 + x ˜ 2 ) 2 = 0 .
Solving this equation gives two roots η 1 and η 2 , and the eigenvalues λ are obtained as the k th roots of these values. For all α > 1 , one of these roots satisfies | λ 1 | = 1 , while the other satisfies | λ 2 | < 1 . Since at least one eigenvalue always lies on the unit circle, the equilibrium point is never locally asymptotically stable.

3. Main Results

In the following, we derive an analytical expression for the general solution { x n } n = 1 of Equation (6) with arbitrary initial conditions { x 2 k + i } i = 1 2 k .
Let k N be fixed. For each p = k , k 1 , , 1 , define
y m 1 k , p = x ( m 1 ) k p + 1 , m = 0 , 1 , 2 , .
Assume that n = ( m + 1 ) k p . Then, from Equation (6), we obtain
x ( m + 1 ) k p + 1 = α x ( m + 1 ) k p + 1 2 k 1 + x ( m + 1 ) k p + 1 k · x ( m + 1 ) k p + 1 2 k = α x ( m 1 ) k p + 1 1 + x m k p + 1 · x ( m 1 ) k p + 1 .
Therefore,
y m + 1 k , p = α y m 1 k , p 1 + y m k , p y m 1 k , p , m = 0 , 1 , 2 , ,
with arbitrary initial conditions y 1 k , p and y 0 k , p . Hence, the ( 2 k + 1 ) -th-order Equation (6) can be decomposed into k independent second-order subequations given by Equation (10). The explicit general solution of Equation (10) is obtained in the following theorem.
Theorem 3.
For each p = k , k 1 , , 1 , let y 1 k , p , y 0 k , p R , and let { y m k , p } m = 1 be the solution of Equation (10). Then, for m = 1 , 2 , , all solutions of Equation (10) are given by
y m k , p = α m / 2 y 0 k , p j = 0 m 2 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 m 2 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l if m is even , α ( m + 1 ) / 2 y 1 k , p j = 0 m + 1 2 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 m + 1 2 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l if m is odd .
Proof. 
Assume that m is even. Therefore, m 1 and m + 1 are odd. Substituting Equation (11) into the L.H.S of Equation (10) gives
y m + 1 k , p = α m / 2 + 1 y 1 k , p j = 0 m / 2 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 m / 2 1 + y 0 k , p y 1 k , p l = 0 2 j α l .
On the other hand, substituting Equation (11) into the R.H.S of Equation (10) gives
α y m 1 k , p 1 + y m k , p y 1 k , p = α m / 2 + 1 y 1 k , p j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l 1 + y 0 k , p y 1 k , p α m j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l = α m / 2 + 1 y 1 k , p j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l 1 + y 0 k , p y 1 k , p α m j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l = α m / 2 + 1 y 1 k , p j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l 1 + y 0 k , p y 1 k , p α m 1 1 + y 0 k , p y 1 k , p l = 0 m 1 α l = α m / 2 + 1 y 1 k , p j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l 1 + y 0 k , p y 1 k , p l = 0 m 1 α l + y 0 k , p y 1 k , p α m 1 + y 0 k , p y 1 k , p l = 0 m 1 α l = α m / 2 + 1 y 1 k , p j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 ( m / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l 1 + y 0 k , p y 1 k , p l = 0 m 1 α l 1 + y 0 k , p y 1 k , p l = 0 m α l = α m / 2 + 1 y 1 k , p j = 0 m / 2 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 m / 2 1 + y 0 k , p y 1 k , p l = 0 2 j α l = y m + 1 k , p .
Similarly, if we assume that m is odd, then m 1 and m + 1 are even. If we substitute Equation (11) into the L.H.S of Equation (10), we obtain
y m + 1 k , p = α ( m + 1 ) / 2 y 0 k , p j = 0 ( ( m + 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m + 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l .
From the R.H.S of Equation (10), it follows that
α y m 1 k , p 1 + y m k , p y 1 k , p = α ( m + 1 ) / 2 y 0 k , p j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l 1 + y 0 k , p y 1 k , p α m j = 0 ( ( m + 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 ( ( m + 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l = α ( m + 1 ) / 2 y 0 k , p j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l 1 + y 0 k , p y 1 k , p α m j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m + 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l = α ( m + 1 ) / 2 y 0 k , p j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l 1 + y 0 k , p y 1 k , p α m 1 1 + y 0 k , p y 1 k , p l = 0 m 1 α l = α ( m + 1 ) / 2 y 0 k , p j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l 1 + y 0 k , p y 1 k , p l = 0 m 1 α l + y 0 k , p y 1 k , p α m 1 + y 0 k , p y 1 k , p l = 0 m 1 α l = α ( m + 1 ) / 2 y 0 k , p j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l 1 + y 0 k , p y 1 k , p l = 0 m 1 α l 1 + y 0 k , p y 1 k , p l = 0 m α l = α ( m + 1 ) / 2 y 0 k , p j = 0 ( ( m + 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 ( ( m + 1 ) / 2 ) 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l = y m + 1 k , p .
This completes the proof. □
By applying the change of variables (9), the original ( 2 k + 1 ) -th-order difference Equation (6) is decomposed into k independent second-order subequations given in Equation (10). This decomposition allows the general solution of each subequation to be determined explicitly through the application of Theorem 3. The general solution of the original Equation (6) is then obtained by combining the resulting k independent subsequences, corresponding to p = k , k 1 , , 1 , thereby reconstructing the original Equation (6).
The following theorems summarize the dynamic and rich periodic behaviors exhibited by Equation (6).
Theorem 4.
Let α ( 1 , 1 ) . Then every solution x n of Equation (6) converges to zero.
Proof. 
Since Equation (6) can be decomposed into k independent subequations given by Equation (10), it is sufficient to show that the solution of Equation (10) converges to zero for α ( 1 , 1 ) in order to guarantee that x n 0 for α ( 1 , 1 ) .
Let y m k , p be a solution of Equation (10) with the initial conditions y 1 k , p and y 0 k , p being real numbers. If y 1 k , p = y 0 k , p = 0 , then Equation (11) gives y m k , p = 0 for all m 1 . If y 0 k , p = 0 and y 1 k , p 0 , then, from Equation (11), we can easily obtain that
y m k , p = 0 if m is even , y 1 k , p α ( m + 1 ) / 2 if m is odd .
Since α ( 1 , 1 ) , it is clear that lim m y m k , p = 0 . Similarly, if y 1 k , p = 0 and y 0 k , p 0 , then Equation (11) yields
y m k , p = y 0 k , p α m / 2 if m is even , 0 if m is odd .
Hence, lim m y m k , p = 0 for all α ( 1 , 1 ) . If y 1 k , p 0 and y 0 k , p 0 , then let y 1 k , p y 0 k , p 0 . It is enough to show that the subsequences y 2 m k , p and y 2 m 1 k , p converge to 0 as m . From Equation (11), we obtain
| y 2 m k , p | = y 0 k , p α m j = 0 m 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l j = 0 m 1 1 + y 0 k , p y 1 k , p l = 0 2 j + 1 α l = y 0 k , p α m exp j = 0 m 1 ln 1 1 + r ( j ) ,
where
r ( j ) = y 0 k , p y 1 k , p α 2 j + 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l .
For α ( 1 , 1 ) , we can write
r ( j ) = y 0 k , p y 1 k , p α 2 j + 1 ( α 1 ) y 0 k , p y 1 k , p α 2 j + 1 y 0 k , p y 1 k , p + α 1 ,
and hence lim j r ( j + 1 ) r ( j ) = α 2 < 1 . Thus, the series j = 0 r ( j ) is convergent. Therefore,
| y 0 k , p α m | exp ( 2 m ) exp j = 0 m 1 r ( j ) 0 as m ,
so y 2 m k , p 0 as m , and hence y 2 m k , p 0 .
Similarly, we obtain
| y 2 m 1 k , p | = y 1 k , p α m j = 0 m 1 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l j = 0 m 1 1 + y 0 k , p y 1 k , p l = 0 2 j α l = | y 0 k , p α m | exp j = 0 m 1 ln 1 1 + s ( j ) ,
where
s ( j ) = y 0 k , p y 1 k , p α 2 j 1 + y 0 k , p y 1 k , p l = 0 2 j 1 α l .
For α ( 1 , 1 ) , we have
s ( j ) = y 0 k , p y 1 k , p α 2 j ( α 1 ) y 0 k , p y 1 k , p α 2 j y 0 k , p y 1 k , p + α 1 ,
so that lim j s ( j + 1 ) s ( j ) = α 2 < 1 . Hence, the series j = 0 s ( j ) is convergent. Therefore,
| y 0 k , p α m | exp ( 2 m ) exp j = 0 m 1 s ( j ) 0 as m ,
so y 2 m 1 k , p 0 as m .
This completes the proof. □
Theorem 5.
If α ( 1 , 1 ) , then the equilibrium point x ˜ 1 of Equation (6) is globally asymptotically stable.
Proof. 
It follows from Theorem 4 and Corollary 1. □
Theorem 6.
Let ξ R and α = ξ 2 + 1 . Suppose the initial conditions of Equation (6) satisfy
x 2 k + 1 = x 2 k + 2 = = x 0 = ξ .
Then the solution { x n } of Equation (6) is equal to ξ.
Proof. 
Since the sequence { x n } can be decomposed into k independent subsequences { y m k , p } , it is sufficient to show that y m k , p = ξ for all m 1 .
Using the change of variables (9), the initial conditions (14) imply
y 1 k , p = y 0 k , p = ξ for each p = 1 , 2 , , k ,
We show that for the corresponding subsequence y 2 m k , p and y 2 m 1 k , p , one has
y 2 m k , p = y 2 m 1 k , p = ξ for all m 1 .
Using Equation (11), we have
y 2 m k , p = ξ 2 + 1 m ξ j = 0 m 1 1 + ξ 2 ( ξ 2 + 1 ) 2 j + 1 1 ξ 2 + 1 1 j = 0 m 1 1 + ξ 2 ( ξ 2 + 1 ) 2 j + 2 1 ξ 2 + 1 1 = ξ 2 + 1 m ξ j = 0 m 1 ξ 2 + 1 2 j + 1 j = 0 m 1 ξ 2 + 1 2 j + 2 = ξ 2 + 1 m ξ j = 0 m 1 ξ 2 + 1 2 j + 1 j = 0 m 1 ξ 2 + 1 j = 0 m 1 ξ 2 + 1 2 j + 1 = ξ 2 + 1 m ξ ξ 2 + 1 m = ξ .
Similarly,
y 2 m 1 k , p = ξ 2 + 1 m ξ j = 0 m 1 1 + ξ 2 ( ξ 2 + 1 ) 2 j 1 ξ 2 + 1 1 j = 0 m 1 1 + ξ 2 ( ξ 2 + 1 ) 2 j + 1 1 ξ 2 + 1 1 = ξ 2 + 1 m ξ j = 0 m 1 ξ 2 + 1 2 j j = 0 m 1 ξ 2 + 1 2 j + 1 = ξ 2 + 1 m ξ j = 0 m 1 ξ 2 + 1 2 j j = 0 m 1 ξ 2 + 1 j = 0 m 1 ξ 2 + 1 2 j = ξ 2 + 1 m ξ ξ 2 + 1 m = ξ .
Hence, y m k , p = ξ for all m 1 . Therefore, the corresponding solution { x n } of Equation (6) is equal to ξ , for all n 1 . □
Theorem 7.
Let k N be fixed, and suppose that for each p = k , k 1 , , 1 , the initial conditions y 1 k , p , y 0 k , p R satisfy one of the following cases:
1. 
y 1 k , p 0 , y 0 k , p = α 1 y 1 k , p , with α 1 .
2. 
y 1 k , p = α 1 y 0 k , p , y 0 k , p 0 , with α 1 .
3. 
y 1 k , p 0 , y 0 k , p = 0 , and α = 1 .
4. 
y 1 k , p = 0 , y 0 k , p 0 , and α = 0 .
Then the corresponding solution { x n } of Equation (6) is nontrivial and periodic with period 2 k .
Proof. 
We prove case (1); the remaining cases follow by similar computations.
Assume that y 1 k , p 0 and y 0 k , p = α 1 y 1 k , p with α 1 . We show that for the corresponding subsequence y 2 m k , p and y 2 m 1 k , p one has
y 2 m k , p = y 0 k , p and y 2 m 1 k , p = y 1 k , p for all m 1 .
Using Equation (11), we get
y 2 m k , p = α m y 0 k , p j = 0 m 1 1 + α 1 α 2 j + 1 1 α 1 j = 0 m 1 1 + α 1 α 2 j + 2 1 α 1 = α m y 0 k , p j = 0 m 1 α 2 j + 1 j = 0 m 1 α 2 j + 2 = α m y 0 k , p j = 0 m 1 α 2 j + 1 j = 0 m 1 α j = 0 m 1 α 2 j + 1 = y 0 k , p .
Similarly,
y 2 m 1 k , p = α m y 1 k , p j = 0 m 1 1 + α 1 α 2 j 1 α 1 j = 0 m 1 1 + α 1 α 2 j + 1 1 α 1 = α m y 1 k , p j = 0 m 1 α 2 j j = 0 m 1 α 2 j + 1 = α m y 1 k , p j = 0 m 1 α 2 j j = 0 m 1 α j = 0 m 1 α 2 j = y 1 k , p .
Therefore each sequence { y m k , p } m = 1 is 2-periodic with pattern
y 1 k , p , y 0 k , p , y 1 k , p , y 0 k , p , .
Reconstructing the original sequence { x n } n = 1 from the k independent subsequences { y m k , p } m = 1 yields a nontrivial solution { x n } that is periodic with period 2 k . This completes the proof for case (1). □
Note that the period 2 k is minimal if the initial conditions y 1 k , p and y 0 k , p are not the same for all p. If all subsequences { y m k , p } are identical, the resulting sequence { x n } may have a smaller period.
Theorem 8.
Let k N be fixed, and suppose that for each p = k , k 1 , , 1 , the initial conditions y 1 k , p , y 0 k , p R satisfy one of the following cases:
1. 
y 1 k , p = 0 , y 0 k , p 0 , and α = 1 .
2. 
y 1 k , p 0 , y 0 k , p = 0 , and α = 1 .
Then the corresponding solution { x n } of Equation (6) is nontrivial and periodic with period 4 k .
Proof. 
We prove case (1); case (2) follows by similar computations.
Assume that y 1 k , p = 0 , y 0 k , p 0 , and α = 1 . We show that for the corresponding subsequence y 2 m k , p and y 2 m 1 k , p , one has
y 2 m k , p = ( 1 ) m y 0 k , p , y 2 m 1 k , p = 0 for all m 1 .
Using Equation (11),
y 2 m k , p = ( 1 ) m y 0 k , p j = 0 m 1 ( 1 ) j = 0 m 1 ( 1 ) = ( 1 ) m y 0 k , p .
Similarly,
y 2 m 1 k , p = ( 1 ) m ( 0 ) j = 0 m 1 ( 1 ) j = 0 m 1 ( 1 ) = 0 .
Therefore, each sequence { y m k , p } m = 1 follows the pattern
{ 0 , y 0 k , p , 0 , y 0 k , p , 0 , y 0 k , p , 0 , y 0 k , p , 0 , } ,
which is periodic of period 4. Reconstructing the original sequence { x n } n = 1 from the k independent subsequences { y m k , p } m = 1 yields a nontrivial solution { x n } that is periodic with period 4 k . This completes the proof for case (1). □
Note that the period 4 k is minimal provided that the initial conditions y 1 k , p and y 0 k , p differ across all p. If the subsequences { y m k , p } are identical, the overall sequence { x n } may exhibit a smaller period.

4. Numerical Simulations

4.1. General Solution

Example 1.
For k = 3 , Equation (2) becomes the rational difference equation
x n + 1 = α x n 5 1 + x n 2 x n 5 , n = 0 , 1 , 2 ,
with initial values x 5 , x 4 , x 3 , x 2 , x 1 , x 0 . To solve this equation, we set the initial conditions as x 5 = 2.25 , x 4 = 1 , x 3 = 3.25 , x 2 = 1.5 , x 1 = 0.25 , and x 0 = 1 , corresponding to Equation (6), with the parameter α = 2 . We compute the solution using a direct iteration of Equation (6) and compare the results with those obtained from the explicit formula presented in Theorem 3. The results are summarized in Table 1.
Example 2.
For k = 6 , Equation (2) becomes the rational difference equation
x n + 1 = α x n 11 1 + x n 5 x n 11 , n = 0 , 1 , 2 ,
with initial values x 11 , x 10 , , x 0 . Let x 11 = 4.75 , x 10 = 1.5 , x 9 = 4.25 , x 8 = 1 , x 7 = 1.75 , x 6 = 2.5 , x 5 = 2.25 , x 4 = 3 , x 3 = 0.75 , x 2 = 1.5 , x 1 = 2.25 , and x 0 = 1 be the initial conditions of Equation (6) with α = 0.25 . Then Theorem 4 implies that the solution converges to zero. Table 2 sets forth the values of x n and y m 6 , p . See also Figure 1.

4.2. Periodic Solutions

Example 3.
Let k = 4 . Then Equation (6) becomes
x n + 1 = α x n 7 1 + x n 3 x n 7 , n = 0 , 1 ,
We consider the parameters α = 2.5 , x 7 = 0.5 , x 6 = 1.5 , x 5 = 0.25 , x 4 = 2.5 , x 3 = 3 , x 2 = 1 , x 1 = 6 , and x 0 = 6 . According to Theorem 7, the solution of this equation is periodic with period 8; see Figure 2.
Example  4.
Let k = 6 . Then Equation (6) becomes
x n + 1 = α x n 11 1 + x n 5 x n 11 , n = 0 , 1 ,
By Theorem 8, this equation admits a periodic solution of length 24 when the parameters are chosen as α = 1 , x 11 = x 10 = x 9 = x 8 = x 7 = x 6 = 0 , x 5 = 2 , x 4 = 1 , x 3 = 0.75 , x 2 = 2 , x 1 = 0.5 , and x 0 = 0.25 . The periodic solution is illustrated in Figure 3, and its repeating cycle is given by
Mathematics 13 03104 i001
Figure 3. Periodic solution of period 24 for Equation (6) with k = 6 , α = 1 , and initial values x 11 = x 10 = x 9 = x 8 = x 7 = x 6 = 0 , x 5 = 2 , x 4 = 1 , x 3 = 0.75 , x 2 = 2 , x 1 = 0.5 , and x 0 = 0.25 .
Figure 3. Periodic solution of period 24 for Equation (6) with k = 6 , α = 1 , and initial values x 11 = x 10 = x 9 = x 8 = x 7 = x 6 = 0 , x 5 = 2 , x 4 = 1 , x 3 = 0.75 , x 2 = 2 , x 1 = 0.5 , and x 0 = 0.25 .
Mathematics 13 03104 g003

5. Conclusions

In this paper, we investigated the global dynamics of a broad class of rational difference equations of the form
x n + 1 = a x n + 1 2 k b + c x n + 1 k x n + 1 2 k , n = 0 , 1 , ,
which generalizes several well-known cases studied in the literature. We showed that this class has exactly three equilibrium points: the trivial equilibrium x ˜ 1 , which is globally asymptotically stable, and the nontrivial equilibria x ˜ 2 and x ˜ 3 , which are never linearly stable. By deriving an explicit formula for the general solution, we provided a comprehensive analytical framework characterizing solution behavior in terms of system parameters and initial conditions. Under the condition α = ( b / a ) ( 1 , 1 ) , every solution converges to the zero equilibrium, establishing global asymptotic stability. We also identified and classified nontrivial periodic solutions with minimal periods 2 k and 4 k , depending on the initial conditions and α , supported by theorems providing necessary and sufficient conditions for constant and periodic behaviors. Numerical simulations confirmed the analytical predictions. The results extend and unify previous studies, offering sharper criteria for stability and periodicity. The presented study provides a unified framework for analyzing this class of nonlinear rational difference equations, offering predictive power, generality, and applicability in biology, economics, and engineering, while its main limitations lie in dependence on specific parameter conditions for global stability and restriction to a particular class of equations. Although a detailed bifurcation analysis is beyond the scope of this study, the equations considered can exhibit bifurcation phenomena under certain parameter variations, which will be explored in future research.

Author Contributions

Methodology, A.A., B.A.-H., A.M.A., and M.A.S.; Software, B.A.-H.; Formal Analysis, A.A., B.A.-H., A.M.A., and M.A.S.; Writing—Original Draft, A.A., B.A.-H., A.M.A., and M.A.S.; Writing—Review and Editing, A.A., B.A.-H., A.M.A., and M.A.S. 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 this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare that they have no competing interests concerning the publication of the manuscript.

References

  1. Elaydi, S. An Introduction to Difference Equations, 3rd ed.; Undergraduate Texts in Mathematics; Springer: New York, NY, USA, 2005. [Google Scholar]
  2. 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]
  3. Khan, A.; Qureshi, S. Dynamical properties of some rational systems of difference equations. Math. Methods Appl. Sci. 2021, 44, 3485–3508. [Google Scholar] [CrossRef]
  4. Javaid, Y.; Jawad, S.; Ahmed, R.; Ali, A.H.; Rashwani, B. Dynamic complexity of a discretized predator-prey system with allee effect and herd behaviour. Appl. Math. Sci. Eng. 2024, 32, 2420953. [Google Scholar] [CrossRef]
  5. Al-Hdaibat, B.; Alameer, A. Bifurcation and chaos in a nonlinear population model with delayed nonlinear interactions. Mathematics 2025, 13, 2132. [Google Scholar] [CrossRef]
  6. 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]
  7. 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]
  8. 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]
  9. Aloqeili, M. Dynamics of a rational difference equation. Appl. Math. Comput. 2006, 176, 768–774. [Google Scholar] [CrossRef]
  10. 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]
  11. 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]
  12. Elsayed, E.M. On the solution of some difference equations. Eur. J. Pure Appl. Math. 2011, 4, 287–303. [Google Scholar]
  13. 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]
  14. Ghazel, M.; Elsayed, E.M.; Matouk, A.E.; Mousallam, A.M. Investigating dynamical behaviors of the difference equation xn+1 = (Cxn−5)/(A + Bxn−2xn−5). Arch. Math. 2017, 10, 4662–4679. [Google Scholar]
  15. 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]
  16. Karatas, R. A solution form of a rational difference equation. Konuralp J. Math. 2023, 11, 20–23. [Google Scholar]
  17. Karatas, R.; Gelisken, A.; Ari, M. A generalised difference equation and its dynamics and solutions. Mathematics 2024, 12, 3531. [Google Scholar] [CrossRef]
  18. Al-Hdaibat, B.; Sabra, R.; DarAssi, M.H.; Al-Ashhab, S. On the recursive sequence xn+1 = (axn−1)/(b + cxnxn−1). Mathematics 2025, 13, 823. [Google Scholar] [CrossRef]
  19. Kocic, V.L.; Ladas, G. Global Behavior of Nonlinear Difference Equations of Higher Order with Applications; Kluwer Academic Publishers: Dordrecht, The Netherlands, 1993. [Google Scholar]
Figure 1. Solution of Equation (6) converges to zero for for k = 6 , α = 0.25 , and initials x 11 = 4.75 , x 10 = 1.5 , x 9 = 4.25 , x 8 = 1 , x 7 = 1.75 , x 6 = 2.5 , x 5 = 2.25 , x 4 = 3 , x 3 = 0.75 , x 2 = 1.5 , x 1 = 2.25 , and x 0 = 1 .
Figure 1. Solution of Equation (6) converges to zero for for k = 6 , α = 0.25 , and initials x 11 = 4.75 , x 10 = 1.5 , x 9 = 4.25 , x 8 = 1 , x 7 = 1.75 , x 6 = 2.5 , x 5 = 2.25 , x 4 = 3 , x 3 = 0.75 , x 2 = 1.5 , x 1 = 2.25 , and x 0 = 1 .
Mathematics 13 03104 g001
Figure 2. Periodic solution of period 8 for Equation (6) with k = 4 , α = 2.5 , and initial values x 7 = 0.5 , x 6 = 1.5 , x 5 = 0.25 , x 4 = 2.5 , x 3 = 3 , x 2 = 1 , x 1 = 6 , and x 0 = 6 .
Figure 2. Periodic solution of period 8 for Equation (6) with k = 4 , α = 2.5 , and initial values x 7 = 0.5 , x 6 = 1.5 , x 5 = 0.25 , x 4 = 2.5 , x 3 = 3 , x 2 = 1 , x 1 = 6 , and x 0 = 6 .
Mathematics 13 03104 g002
Table 1. The solution of Equation (6) for k = 6 , α = 2 , and x 5 = 2.25 , x 4 = 1 , x 3 = 3.25 , x 2 = 1.5 , x 1 = 0.25 , and x 0 = 1 .
Table 1. The solution of Equation (6) for k = 6 , α = 2 , and x 5 = 2.25 , x 4 = 1 , x 3 = 3.25 , x 2 = 1.5 , x 1 = 0.25 , and x 0 = 1 .
Computed x n Using Equation (6)Computed y m 3 , p Using Formula (11)Relative Error
x 1 = 1.8947368420 y 1 3 , 3 = 1.8947368420 0
x 2 = 1.6000000000 y 1 3 , 2 = 1.6000000000 0
x 3 = 1.5294117650 y 1 3 , 1 = 1.5294117650 0
x 4 = 0.7808219178 y 2 3 , 3 = 0.7808219178 0
x 5 = 0.3571428571 y 2 3 , 2 = 0.3571428571 0
x 6 = 0.7906976743 y 2 3 , 1 = 0.7906976744 1.26 × 10 10
x 7 = 1.5283512650 y 3 3 , 3 = 1.5283512650 0
x 8 = 2.0363636370 y 3 3 , 2 = 2.0363636360 4.91 × 10 10
x 9 = 1.3845201240 y 3 3 , 1 = 1.3845201240 0
x 10 = 0.7119837136 y 4 3 , 3 = 0.7119837135 1.40 × 10 10
x 11 = 0.4135338346 y 4 3 , 2 = 0.4135338346 0
x 12 = 0.7549374782 y 4 3 , 1 = 0.7549374781 1.32 × 10 10
x 13 = 1.4638249750 y 5 3 , 3 = 1.4638249750 0
x 14 = 2.2109090920 y 5 3 , 2 = 2.2109090910 4.52 × 10 10
x 15 = 1.3539042000 y 5 3 , 1 = 1.3539042000 0
x 16 = 0.6972646171 y 6 3 , 3 = 0.6972646172 1.43 × 10 10
x 17 = 0.4320502748 y 6 3 , 2 = 0.4320502749 2.31 × 10 10
x 18 = 0.7466817827 y 6 3 , 1 = 0.7466817822 6.70 × 10 10
x 19 = 1.4488486890 y 7 3 , 3 = 1.4488486890 0
x 20 = 2.2615405970 y 7 3 , 2 = 2.2615405970 0
x 21 = 1.3465415790 y 7 3 , 1 = 1.3465415800 7.43 × 10 10
x 22 = 0.6937159388 y 8 3 , 3 = 0.6937159386 2.88 × 10 10
x 23 = 0.4370547183 y 8 3 , 2 = 0.4370547183 0
x 24 = 0.7446570351 y 8 3 , 1 = 0.7446570349 2.68 × 10 10
x 25 = 1.4451711420 y 9 3 , 3 = 1.4451711420 0
x 26 = 2.2747146200 y 9 3 , 2 = 2.2747146190 4.40 × 10 10
x 27 = 1.3447183690 y 9 3 , 1 = 1.3447183700 7.43 × 10 10
x 28 = 0.6928366410 y 10 3 , 3 = 0.6928366406 5.77 × 10 10
x 29 = 0.4383314116 y 10 3 , 2 = 0.4383314120 9.13 × 10 10
x 30 = 0.7441532455 y 10 3 , 1 = 0.7441532452 4.03 × 10 10
Table 2. The solution of Equation (6) for k = 6 , α = 0.25 , and initials x 11 = 4.75 , x 10 = 1.5 , x 9 = 4.25 , x 8 = 1 , x 7 = 1.75 , x 6 = 2.5 , x 5 = 2.25 , x 4 = 3 , x 3 = 0.75 , x 2 = 1.5 , x 1 = 2.25 , and x 0 = 1 .
Table 2. The solution of Equation (6) for k = 6 , α = 0.25 , and initials x 11 = 4.75 , x 10 = 1.5 , x 9 = 4.25 , x 8 = 1 , x 7 = 1.75 , x 6 = 2.5 , x 5 = 2.25 , x 4 = 3 , x 3 = 0.75 , x 2 = 1.5 , x 1 = 2.25 , and x 0 = 1 .
Computed x n Using Equation (6)Computed y m 6 , p Using Formula (11)
x 1 = 0.10160427810 y 1 6 , 6 = 0.10160427810
x 2 = 0.06818181818 y 1 6 , 5 = 0.06818181818
x 10 = 1.50000000000 y 2 6 , 3 = 1.50000000000
x 50 = 0.00024922910 y 9 6 , 5 = 0.00024922910
x 150 = 2.08533824700 × 10 8 y 25 6 , 1 = 2.085338246 × 10 8
x 200 = 2.23119038100 × 10 10 y 34 6 , 5 2.231190381 × 10 10
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.

Share and Cite

MDPI and ACS Style

Alameer, A.; Al-Hdaibat, B.; Adawi, A.M.; Safi, M.A. On the General Solution of xn+1=axn+12kb+cxn+1kxn+12k. Mathematics 2025, 13, 3104. https://doi.org/10.3390/math13193104

AMA Style

Alameer A, Al-Hdaibat B, Adawi AM, Safi MA. On the General Solution of xn+1=axn+12kb+cxn+1kxn+12k. Mathematics. 2025; 13(19):3104. https://doi.org/10.3390/math13193104

Chicago/Turabian Style

Alameer, A., Bashir Al-Hdaibat, Ahmad M. Adawi, and Mohammad A. Safi. 2025. "On the General Solution of xn+1=axn+12kb+cxn+1kxn+12k" Mathematics 13, no. 19: 3104. https://doi.org/10.3390/math13193104

APA Style

Alameer, A., Al-Hdaibat, B., Adawi, A. M., & Safi, M. A. (2025). On the General Solution of xn+1=axn+12kb+cxn+1kxn+12k. Mathematics, 13(19), 3104. https://doi.org/10.3390/math13193104

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop