Next Article in Journal
Controllability and Stability Analysis of Piecewise Dynamical Systems Under Integral Boundary Conditions
Previous Article in Journal
Critical Problem of Optimal Stabilization Without Control Constraints
Previous Article in Special Issue
Local Existence and Regularity of Mild Solutions for Hadamard Fractional Semilinear Integro-Differential Equations with Compact Semigroups
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On a Second-Order Difference Equation with Two Periodic Coefficients

by
Lama Sh. Aljoufi
1,*,
Nouressadat Touafek
2 and
Elsayed M. Elsayed
1
1
Department of Mathematics, Faculty of Science, King Addulaziz University, P.O. Box 80203, Jeddah 21589, Saudi Arabia
2
LMAM Laboratory, Faculty of Exact Sciences and Informatics, Jijel University, Jijel 18000, Algeria
*
Author to whom correspondence should be addressed.
Axioms 2026, 15(6), 437; https://doi.org/10.3390/axioms15060437 (registering DOI)
Submission received: 3 May 2026 / Revised: 29 May 2026 / Accepted: 8 June 2026 / Published: 12 June 2026
(This article belongs to the Special Issue Delay Differential Equations: Theory, Control and Applications)

Abstract

This work focuses on a class of nonlinear second-order difference equations with non-autonomous periodic coefficients. We obtain explicit solution formulas that allow for a constructive characterization of their behavior. In particular, we derive necessary and sufficient conditions for the existence of periodic solutions, providing a complete description of when they arise. Several numerical examples are also included to illustrate the theoretical results.

1. Introduction

Difference equations and their systems are an essential and fundamental tool for studying many discrete models in various fields such as applied mathematics, economics, and engineering. They provide an appropriate framework for describing discrete phenomena characterized by memory effects, delayed responses, or interactions between successive states. This explains the large number of studies dealing with these types of equations and systems. As examples, one may consult the following references [1,2,3,4,5,6,7,8].
Real discrete phenomena subject to periodic or seasonal variations can be modeled using difference equations and systems with periodic coefficients. For instance, in population dynamics, such models incorporate periodically varying parameters to reflect environmental seasonality, while in economics and engineering they capture cyclic behavior driven by internal or external periodic influences. A lot of studies have been devoted to such types of difference equations and systems; see, for example, references [9,10,11,12].
Solving nonlinear difference equations, especially those with non-autonomous coefficients, is challenging due to the lack of a general method; thus, researchers often rely on suitable variable transformations to reduce them to solvable forms and then reconstruct the original solutions. Once explicit formulas are derived, they facilitate a deeper analysis of key properties such as periodicity, asymptotic behavior, and oscillatory dynamics. Motivated by these observations, the present work is devoted to the study of a class of nonlinear second-order difference equations with non-autonomous periodic coefficients.
In realizing the present work, we are mainly motivated by a sequence of contributions that appeared progressively in the literature and that we briefly review below in chronological order. One of the earliest related contributions is due to Elabbasy et al. [13], in which the authors provide, among other things, the explicit formulas of the following nonlinear second-order rational difference equation:
x n + 1 = x n x n 1 x n 1 + 1 , n N 0 .
Haddad et al., in [14] and as a generalization of Equation (1), studied the following second-order rational system:
x n + 1 = a x n y n 1 y n γ + c , y n + 1 = α y n x n 1 x n c + γ , n N 0 ,
where the parameters and the initial values are positive real numbers. Subsequently, Yazlik et al. [15] extended system (2) to the non-autonomous higher-order system
x n + 1 = a n x n k + 1 y n k y n γ n + c n + 1 , y n + 1 = α n y n k + 1 x n k x n c n + γ n + 1 , n N 0 ,
where k N and the sequences ( a n ) n N 0 , ( α n ) n N 0 , ( c n ) n N 0 , and ( γ n ) n N 0 are periodic sequences of real numbers. Inspired by the above-mentioned works, Touafek and AL-Juaid [16] recently investigated the solvability of the following autonomous system of difference equations:
x n + 1 = a x n y n 1 y n β y n 1 γ + b x n + c , y n + 1 = α y n x n 1 x n b x n 1 c + β y n + γ , n N 0 ,
where a, α and the initial values x 1 , y 1 , x 0 and y 0 are non-zero real numbers, while b, c, β and γ are real numbers, and as a consequence of their obtained results, they present the formulas of the solutions of the following autonomous difference equation:
x n + 1 = α x n x n 1 x n β b x n 1 γ + β x n + γ , n N 0 .
A natural extension of Equation (4) is to ask whether explicit formulas can be derived for the following difference equation with non-autonomous periodic coefficients:
x n + 1 = α n x n x n 1 x n β n x n 1 γ n + β n + 1 x n + γ n + 1 ,
where n N 0 , ( α n ) , ( β n ) , ( γ n ) are periodic sequences of real numbers of period two, and the initial values x 1 , x 0 , are non-zero real numbers. In this work, we provide a positive answer to this question. Specifically, we derive explicit formulas for the solutions of the equation. These formulas allow us to establish necessary and sufficient conditions for the existence of periodic solutions, leading to a complete characterization of when such solutions occur. In addition, we present results concerning the limiting behavior of solutions. Our theoretical findings are illustrated by several numerical examples. More related works can be found in the following references: [17,18,19].
While the present work is mainly devoted to the solvability of Equation (5) and the existence of periodic solutions, the study of local and global stability remains essential for understanding the robustness and long-term behavior of such solutions. Moreover, bifurcation analysis is crucial for describing qualitative changes in the dynamics caused by variations in the periodic parameters, including transitions between stability and instability and the emergence of more complex behaviors. For some contributions on these important notions, we refer to [20,21,22,23,24,25].
In this work, for periodic solutions, we adopt the following definition.
Definition 1.
A solution x n n = 1 + of Equation (5) is said to be eventually p-periodic, p N , if there exists n 0 1 such that
x n + p = x n , n n 0 .
If n 0 = 1 , the solution is said p-periodic.
Remark 1.
If p in Definition 1 is the smallest k N for which
x n + k = x n , n n 0 , respectively ( x n + k = x n , n 1 ) ,
the solution is eventually prime p-periodic, respectively, prime p-periodic.

2. Explicit Representation of the Solutions of Equation (5)

In this section, we show that Equation (5) is solvable, and hence we provide explicit representation of its solutions. Following the approach in [14,16], we first transform (5) into a solvable first-order non-autonomous rational difference equation. Then, by considering the parity of n N 0 , we derive two solvable first-order non-autonomous linear difference equations whose solutions coincide exactly with those of (5).
Let α n = α 0 , if n even α 1 if n odd , β n = β 0 , if n even β 1 if n odd , γ n = γ 0 , if n even γ 1 if n odd .
From (5), we can write
x n + 1 β n + 1 x n γ n + 1 x n = α n x n β n x n 1 γ n x n 1 , n N 0 .
To be well-defined, in identity (6), we must assume that
x n β n x n 1 γ n 0 , x n 1 0 , n N 0 .
Through the rest of our work, for each solution of (5), it is assumed that (7) holds.
Our first result is devoted to the explicit formulas of the solutions of Equation (5).
Theorem 1.
Let ( x n ) n = 1 + be a solution of (5), where the following statements are true.
1. 
For all n N 0 , we have
x 2 n = x 0 k = 0 n 1 A k + j = 0 n 1 k = j + 1 n 1 A k β 0 + α 1 α 0 j + 1 v 0 γ 1 + γ 0 ,
x 2 n 1 = x 1 k = 0 n 1 B k + j = 0 n 1 k = j + 1 n 1 B k β 1 + α 0 α 1 j α 0 v 0 γ 0 + γ 1 ,
where
A k = β 0 + α 1 α 0 k + 1 v 0 β 1 + α 0 α 1 k α 0 v 0 ,
B k = β 0 + α 1 α 0 k v 0 β 1 + α 0 α 1 k α 0 v 0 .
2. 
Assume that the sequence ( α n ) n = 1 + is constant, that is α 1 = α 0 .
  • If β 0 + v 0 β 1 + α 0 v 0 1 , then for all n N , we have
    x 2 n 1 = x 1 β 0 + v 0 β 1 + α 0 v 0 n + β 1 + α 0 v 0 γ 0 + γ 1 β 0 + v 0 β 1 + α 0 v 0 n 1 β 0 + v 0 β 1 + α 0 v 0 1 ,
    x 2 n = x 0 β 0 + v 0 β 1 + α 0 v 0 n + β 0 + v 0 γ 1 + γ 0 β 0 + v 0 β 1 + α 0 v 0 n 1 β 0 + v 0 β 1 + α 0 v 0 1 ,
  • If β 0 + v 0 β 1 + α 0 v 0 = 1 , then for all n N 0 , we have
    x 2 n 1 = x 1 + β 1 + α 0 v 0 γ 0 + γ 1 n ,
    x 2 n = x 0 + β 0 + v 0 γ 1 + γ 0 n ,
    where
    v 0 = x 0 β 0 x 1 γ 0 x 1 .
Proof. 
Let
v n = x n β n x n 1 γ n x n 1 , n = 0 , 1 ,
It follows from (6) that
v n + 1 = α n v n , n N 0 .
It is not hard to see that
v 2 n = α 1 α 0 n v 0 , v 2 n + 1 = α 0 α 1 n α 0 v 0 , n = 0 , 1 , .
Using (10), we obtain
x n = ( β n + v n ) x n 1 + γ n , n = 0 , 1 , .
Depending on the parity of n, we get from (13)
x 2 n = ( β 2 n + v 2 n ) x 2 n 1 + γ 2 n , x 2 n + 1 = ( β 2 n + 1 + v 2 n + 1 ) x 2 n + γ 2 n + 1 , n = 0 , 1 , .
Using the formulas of α n , β n , γ n and v n , we get for all n = 0 , 1 , ,
x 2 n = β 0 + α 1 α 0 n v 0 x 2 n 1 + γ 0 ,
x 2 n + 1 = β 1 + α 0 α 1 n α 0 v 0 x 2 n + γ 1 .
From (15) and (16), we obtain for all n = 0 , 1 , ,
x 2 n + 2 = β 0 + α 1 α 0 n + 1 v 0 β 1 + α 0 α 1 n α 0 v 0 x 2 n + β 0 + α 1 α 0 n + 1 v 0 γ 1 + γ 0 .
x 2 n + 1 = β 0 + α 1 α 0 n v 0 β 1 + α 0 α 1 n α 0 v 0 x 2 n 1 + β 1 + α 0 α 1 n α 0 v 0 γ 0 + γ 1 .
Equation (17) is a non-autonomous first-order linear difference equation, in x 2 n , and Equation (18) is a non-autonomous first-order linear difference equation, in x 2 n 1 ; the formulas of their solutions are given for all n = 0 , 1 , , by
x 2 n = x 0 k = 0 n 1 A k + j = 0 n 1 k = j + 1 n 1 A k β 0 + α 1 α 0 j + 1 v 0 γ 1 + γ 0 ,
x 2 n 1 = x 1 k = 0 n 1 B k + j = 0 n 1 k = j + 1 n 1 B k β 1 + α 0 α 1 j α 0 v 0 γ 0 + γ 1 ,
where
A k = β 0 + α 1 α 0 k + 1 v 0 β 1 + α 0 α 1 k α 0 v 0 ,
B k = β 0 + α 1 α 0 k v 0 β 1 + α 0 α 1 k α 0 v 0 .
Now, in the case when ( α n ) is a constant sequence, that is α 1 = α 0 , we obtain
A k = B k = β 0 + v 0 β 1 + α 0 v 0 .
So, for all n = 0 , 1 , , we get
x 2 n = x 0 k = 0 n 1 β 0 + v 0 β 1 + α 0 v 0 + j = 0 n 1 k = j + 1 n 1 β 0 + v 0 β 1 + α 0 v 0 β 0 + v 0 γ 1 + γ 0 ,
x 2 n 1 = x 1 k = 0 n 1 β 0 + v 0 β 1 + α 0 v 0 + j = 0 n 1 k = j + 1 n 1 β 0 + v 0 β 1 + α 0 v 0 β 1 + α 0 v 0 γ 0 + γ 1 .
Or equivalently, for all n = 0 , 1 , ,
x 2 n = x 0 β 0 + v 0 β 1 + α 0 v 0 n + β 0 + v 0 γ 1 + γ 0 j = 0 n 1 β 0 + v 0 β 1 + α 0 v 0 n j 1 ,
x 2 n 1 = x 1 β 0 + v 0 β 1 + α 0 v 0 n + β 1 + α 0 v 0 γ 0 + γ 1 j = 0 n 1 β 0 + v 0 β 1 + α 0 v 0 n j 1 .
Again, from (21) and (22), we get for all n N
x 2 n 1 = x 1 β 0 + v 0 β 1 + α 0 v 0 n + β 1 + α 0 v 0 γ 0 + γ 1 β 0 + v 0 β 1 + α 0 v 0 n 1 β 0 + v 0 β 1 + α 0 v 0 1 ,
x 2 n = x 0 β 0 + v 0 β 1 + α 0 v 0 n + β 0 + v 0 γ 1 + γ 0 β 0 + v 0 β 1 + α 0 v 0 n 1 β 0 + v 0 β 1 + α 0 v 0 1 ,
if β 0 + v 0 β 1 + α 0 v 0 1 , and for all n N 0
x 2 n 1 = x 1 + β 1 + α 0 v 0 γ 0 + γ 1 n ,
x 2 n = x 0 + β 0 + v 0 γ 1 + γ 0 n ,
if β 0 + v 0 β 1 + α 0 v 0 = 1 . □
Remark 2.
If β 0 + v 0 β 1 + α 0 v 0 0 , the formulas in (8) and (9) are also valid for n = 0 .

3. The Behavior of the Solutions of Equation (5) When α 1 = α 0

From Theorem 1, the behavior of the solutions of Equation (5) depends on the quantities α 0 α 1 and α 1 α 0 . When α 1 α 0 , one of the terms α 0 α 1 n , α 1 α 0 n grows exponentially while the other decays exponentially as n . More precisely, if α 0 > α 1 , then
α 0 α 1 n + , α 1 α 0 n 0 ,
whereas if α 0 < α 1 , the reverse occurs:
α 0 α 1 n 0 , α 1 α 0 n + .
Therefore, the asymptotic behavior of the solutions becomes difficult to characterize. Motivated by this observation, we focus in this section on the case where the sequence ( α n ) is constant, namely α 1 = α 0 .

3.1. The Case β 0 + v 0 β 1 + α 0 v 0 = 0

The following result, which is a direct consequence of Theorem 1, describes explicitly the formulas of the solutions of Equation (5) when β 0 + v 0 β 1 + α 0 v 0 = 0 .
Lemma 1.
Assume that β 0 + v 0 β 1 + α 0 v 0 = 0 , and let ( x n ) n = 1 + be a solution of (5). Then
x 2 n 1 = β 1 + α 0 v 0 γ 0 + γ 1 , x 2 n = β 0 + v 0 γ 1 + γ 0 , n N ;
that is, the solution is eventually 2-periodic.
Theorem 2.
Assume that β 0 + v 0 β 1 + α 0 v 0 = 0 , and let ( x n ) n = 1 + be a solution of (5). The following statements are true.
1. 
The solution ( x n ) n = 1 + is eventually prime 1-periodic if and only if
( β 1 + α 0 v 0 ) γ 0 + γ 1 = ( β 0 + v 0 ) γ 1 + γ 0 .
2. 
The solution ( x n ) n = 1 + is eventually prime 2-periodic if and only if
( β 1 + α 0 v 0 ) γ 0 + γ 1 ( β 0 + v 0 ) γ 1 + γ 0 .
Proof. 
1.
First, assume that
( β 1 + α 0 v 0 ) γ 0 + γ 1 = ( β 0 + v 0 ) γ 1 + γ 0 ,
then from Lemma 1, the solution takes the form
( x n ) n = 1 + = ( x 1 , x 0 , ( β 0 + v 0 ) γ 1 + γ 0 , ( β 0 + v 0 ) γ 1 + γ 0 , ) ,
which means that the solution is eventually prime 1-periodic. Second, assume that ( x n ) n = 1 + is eventually prime 1-periodic, then
n 0 1 : x n + 1 = x n , n n 0 .
We have n 0 + 2 1 , so from the formulas of the solutions given in Lemma 1, we get
x 2 ( n 0 + 2 ) 1 = β 1 + α 0 v 0 γ 0 + γ 1 , x 2 ( n 0 + 2 ) = β 0 + v 0 γ 1 + γ 0 .
It follows from (24) that
x 2 ( n 0 + 2 ) = x 2 ( n 0 + 2 ) 1 ,
from which, and using (25), we obtain
( β 0 + v 0 ) γ 1 + γ 0 = ( β 1 + α 0 v 0 ) γ 0 + γ 1 .
2.
From Lemma 1, the solution takes the form
( x n ) n = 1 + = ( x 1 , x 0 , ( β 1 + α 0 v 0 ) γ 0 + γ 1 , ( β 0 + v 0 ) γ 1 + γ 0 , ( β 1 + α 0 v 0 ) γ 0 + γ 1 , ( β 0 + v 0 ) γ 1 + γ 0 , ) .
That is, the solution repeats with the cycle of the two terms
( β 1 + α 0 v 0 ) γ 0 + γ 1 , ( β 0 + v 0 ) γ 1 + γ 0 .
So the solution will eventually be prime 2-periodic if and only if the terms of its cycle are different; that is, the solution is eventually prime 2-periodic if and only if
( β 0 + v 0 ) γ 1 + γ 0 ( β 1 + α 0 v 0 ) γ 0 + γ 1 .

3.2. The Case β 0 + v 0 β 1 + α 0 v 0 = 1

The formulas of the solutions of Equation (5) when β 0 + v 0 β 1 + α 0 v 0 = 1 are represented in the following result.
Lemma 2.
Let ( x n ) n = 1 + be a solution of (5). Assume that β 0 + v 0 β 1 + α 0 v 0 = 1 . Then, for all n N 0 we have
x 4 n 1 = x 1 , x 4 n = x 0 , x 4 n + 1 = x 1 + β 1 + α 0 v 0 γ 0 + γ 1 , x 4 n + 2 = x 0 + β 0 + v 0 γ 1 + γ 0 ,
and the solution is 4-periodic.
Proof. 
By replacing with β 0 + v 0 β 1 + α 0 v 0 = 1 in Theorem 1, we obtain
x 2 n 1 = x 1 ( 1 ) n + β 1 + α 0 v 0 γ 0 + γ 1 1 n 1 2 , n N 0 ,
x 2 n = x 0 ( 1 ) n + ( β 0 + v 0 ) γ 1 + γ 0 1 n 1 2 , n N 0 .
Depending on the parity of n, it follows from (26) and (27) that
x 4 n 1 = x 1 ( 1 ) 2 n + β 1 + α 0 v 0 γ 0 + γ 1 1 2 n 1 2 = x 1 ,
x 4 n + 1 = x 1 ( 1 ) 2 n + 1 + β 1 + α 0 v 0 γ 0 + γ 1 1 2 n + 1 1 2 = x 1 + β 1 + α 0 v 0 γ 0 + γ 1 ,
x 4 n = x 0 ( 1 ) 2 n + β 0 + v 0 γ 1 + γ 0 1 2 n 1 2 = x 0 ,
x 4 n + 2 = x 0 ( 1 ) 2 n + 1 + β 0 + v 0 γ 1 + γ 0 1 2 n + 1 1 2 = x 0 + β 0 + v 0 γ 1 + γ 0 .
The proof is complete. □
Theorem 3.
Assume that β 0 + v 0 β 1 + α 0 v 0 = 1 , and let ( x n ) n = 1 + be a solution of (5). Then:
1. 
The solution ( x n ) n = 1 + is prime 1-periodic if and only if
x 0 = x 1 = β 0 + v 0 γ 1 + γ 0 2 , β 1 + α 0 v 0 γ 0 + γ 1 = β 0 + v 0 γ 1 + γ 0 .
2. 
The solution ( x n ) n = 1 + is prime 2-periodic if and only if
x 1 = β 1 + α 0 v 0 γ 0 + γ 1 2 , x 0 = β 0 + v 0 γ 1 + γ 0 2 , β 1 + α 0 v 0 γ 0 + γ 1 β 0 + v 0 γ 1 + γ 0 .
Proof. 
1.
First assume that
x 0 = x 1 = β 0 + v 0 γ 1 + γ 0 2 , β 1 + α 0 v 0 γ 0 + γ 1 = β 0 + v 0 γ 1 + γ 0 .
So, from Lemma 2, we obtain
x 4 n 1 = x 4 n = β 0 + v 0 γ 1 + γ 0 2 ,
x 4 n + 1 = β 0 + v 0 γ 1 + γ 0 2 + β 0 + v 0 γ 1 + γ 0 = β 0 + v 0 γ 1 + γ 0 2 ,
x 4 n + 2 = ( β 0 + v 0 ) γ 1 + γ 0 2 + β 0 + v 0 γ 1 + γ 0 = ( β 0 + v 0 ) γ 1 + γ 0 2 .
That is,
x n = ( β 0 + v 0 ) γ 1 + γ 0 2 , n N 0 ,
which means that the solution is prime 1-periodic.
Second, assume that the solution is prime 1-periodic, then
x n + 1 = x n , n = 1 , 0 , ,
so it follows that
x 4 n + 2 = x 4 n + 1 = x 4 n = x 4 n 1 , n N 0 .
Now, using Lemma 2 and (30), we get
x 0 + β 0 + v 0 γ 1 + γ 0 = x 1 + β 1 + α 0 v 0 γ 0 + γ 1 = x 0 = x 1 ,
from which we get
x 0 = x 1 = β 0 + v 0 γ 1 + γ 0 2 , ( β 1 + α 0 v 0 ) γ 0 + γ 1 = ( β 0 + v 0 ) γ 1 + γ 0 .
2.
First assume that
x 1 = β 1 + α 0 v 0 γ 0 + γ 1 2 , x 0 = β 0 + v 0 γ 1 + γ 0 2 , β 1 + α 0 v 0 γ 0 + γ 1 β 0 + v 0 γ 1 + γ 0 .
So, from Lemma 2, we obtain
x 4 n + 1 = x 4 n 1 = ( β 1 + α 0 v 0 ) γ 0 + γ 1 2 , n N 0 ,
x 4 n + 2 = x 4 n = ( β 0 + v 0 ) γ 1 + γ 0 2 , n N 0 .
Or equivalently
( x n ) n = 1 + = ( β 1 + α 0 v 0 ) γ 0 + γ 1 2 , ( β 0 + v 0 ) γ 1 + γ 0 2 , ( β 1 + α 0 v 0 ) γ 0 + γ 1 2 , ( β 0 + v 0 ) γ 1 + γ 0 2 , .
That is, the solution repeats with the cycle of the two different terms
( β 1 + α 0 v 0 ) γ 0 + γ 1 2 , ( β 0 + v 0 ) γ 1 + γ 0 2 ,
and the solution will be prime 2-periodic.
Second, assume that the solution is prime 2-periodic, then
x n + 2 = x n , n = 1 , 0 , ,
so it follows that
x 4 n + 2 = x 4 n , x 4 n + 1 = x 4 n 1 , n N 0 .
Now, using Lemma 2 and (31), we get
x 0 + β 0 + v 0 γ 1 + γ 0 = x 0 , x 1 + β 1 + α 0 v 0 γ 0 + γ 1 = x 1 ,
from which we get
x 1 = β 1 + α 0 v 0 γ 0 + γ 1 2 , x 0 = β 0 + v 0 γ 1 + γ 0 2 ,
and the solution takes the form
x 2 n 1 = β 1 + α 0 v 0 γ 0 + γ 1 2 , x 2 n = β 0 + v 0 γ 1 + γ 0 2 , n N 0 .
As the solution is prime 2-periodic, it follows that
β 1 + α 0 v 0 γ 0 + γ 1 2 β 0 + v 0 γ 1 + γ 0 2 ,
or equivalently
β 1 + α 0 v 0 γ 0 + γ 1 β 0 + v 0 γ 1 + γ 0 .
As a consequence of Theorem 3, we get the following result.
Corollary 1.
Assume that β 0 + v 0 β 1 + α 0 v 0 = 1 , and let ( x n ) n = 1 + be a solution of (5). Then, the solution will be prime 4-periodic if and only if neither (28) nor (29) are satisfied.

3.3. The Case β 0 + v 0 β 1 + α 0 v 0 = 1

Now, we investigate the behavior of the solutions of Equation (5) in the case β 0 + v 0 β 1 + α 0 v 0 = 1 . The following result is a direct consequence of Theorem 1, so its proof will be omitted.
Theorem 4.
Assume that β 0 + v 0 β 1 + α 0 v 0 = 1 , and let ( x n ) n = 1 + be a solution of (5). Then, the following statements are true.
1. 
If β 1 + α 0 v 0 γ 0 + γ 1 = β 0 + v 0 γ 1 + γ 0 = 0 , we get
x 2 n 1 = x 1 , x 2 n = x 0 , n N 0 ,
and the solution will be prime 2-periodic provided that x 1 x 0 .
2. 
If β 1 + α 0 v 0 γ 0 + γ 1 β 0 + v 0 γ 1 + γ 0 0 , we obtain
lim n + | x 2 n 1 | = lim n + | x 2 n | = + .

3.4. The Case β 0 + v 0 β 1 + α 0 v 0 1 , 0 , 1

Here, we investigate the periodicity of the solutions of (5) when β 0 + v 0 β 1 + α 0 v 0 1 , 0 , 1 .
Theorem 5.
Let ( x n ) n = 1 + be a solution of (5). The following statements are true.
1. 
Assume that
x 0 + ( β 0 + v 0 ) γ 1 + γ 0 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) 1 = x 1 + ( β 1 + α 0 v 0 ) γ 0 + γ 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) 1 = 0 ,
then
x 2 n = x 0 = ( β 0 + v 0 ) γ 1 + γ 0 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) , x 2 n 1 = x 1 = ( β 1 + α 0 v 0 ) γ 0 + γ 1 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) , n N 0 ,
that is, the solution is 2-periodic and it will be prime 2-periodic provided that x 1 x 0 .
2. 
Assume that
| β 0 + v 0 β 1 + α 0 v 0 | < 1 ,
then, if
x 0 + ( β 0 + v 0 ) γ 1 + γ 0 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) 1 0 x 1 + ( β 1 + α 0 v 0 ) γ 0 + γ 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) 1 ,
we obtain
lim n + x 2 n = ( β 0 + v 0 ) γ 1 + γ 0 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) , lim n + x 2 n 1 = ( β 1 + α 0 v 0 ) γ 0 + γ 1 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) .
Proof. 
From Theorem 1, we have for all n N 0 .
x 2 n 1 = x 1 + β 1 + α 0 v 0 γ 0 + γ 1 ( β 0 + v 0 ) β 1 + α 0 v 0 1 ( β 0 + v 0 ) β 1 + α 0 v 0 n + β 1 + α 0 v 0 γ 0 + γ 1 1 ( β 0 + v 0 ) β 1 + α 0 v 0 ,
x 2 n = x 0 + β 0 + v 0 γ 1 + γ 0 ( β 0 + v 0 ) β 1 + α 0 v 0 1 ( β 0 + v 0 ) β 1 + α 0 v 0 n + β 0 + v 0 γ 1 + γ 0 1 ( β 0 + v 0 ) β 1 + α 0 v 0 .
1.
Taking in (35) and (36),
x 0 + ( β 0 + v 0 ) γ 1 + γ 0 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) 1 = x 1 + ( β 1 + α 0 v 0 ) γ 0 + γ 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) 1 = 0 ,
we obtain
x 2 n = ( β 0 + v 0 ) γ 1 + γ 0 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) = x 0 , x 2 n 1 = ( β 1 + α 0 v 0 ) γ 0 + γ 1 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) = x 1 , n N 0 ,
that is, the solution is 2-periodic, and it will be prime provided that x 1 x 0 .
2.
Now, if
x 0 + ( β 0 + v 0 ) γ 1 + γ 0 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) 1 0 x 1 + ( β 1 + α 0 v 0 ) γ 0 + γ 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) 1 ,
using (33) and taking limits in (35) and (36), we get
lim n + x 2 n = ( β 0 + v 0 ) γ 1 + γ 0 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) , lim n + x 2 n 1 = ( β 1 + α 0 v 0 ) γ 0 + γ 1 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) .

4. Numerical Examples

In this section, we present a series of numerical examples, together with their corresponding graphical representations, to illustrate the qualitative behavior of the solutions to Equation (5) when α 1 = α 0 . The numerical results are in full agreement with the theoretical analysis, confirming that the periodicity and asymptotic behavior of the solutions depend on the values of the parameter ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) .
Example 1.
Consider Equation (5), and choose the parameters and initial values as follows:
α 0 = 1 , β 0 = 1 , β 1 = 2 , γ 0 = 5 , γ 1 = 7 , x 0 = 5 , x 1 = 1 2 .
For this choice, we have ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) = 0 , and the solution takes the form
x 2 n 1 = ( β 1 + α 0 v 0 ) γ 0 + γ 1 = 12 , n = 1 , 2 , ,
x 2 n = ( β 0 + v 0 ) γ 1 + γ 0 = 5 , n = 0 , 1 , ,
that is, the solution is eventually prime 2-periodic and this confirms the results of Lemma 1 and Theorem 2, case 2. The graph of the solution is presented in Figure 1.
Example 2.
Consider Equation (5), and choose the parameters and initial values as follows:
α 0 = 1 , β 0 = 4 3 , β 1 = 2 , γ 0 = 4 3 , γ 1 = 2 , x 0 = 1 , x 1 = 1 .
For this choice, we have ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) = 1 , and the solution takes the form
x n = ( β 0 + v 0 ) γ 1 + γ 0 2 = 1 , n = 0 , 1 , ,
that is, the solution is prime 1-periodic and this confirms the results of Theorem 3, case 1. The graph of the solution is presented in Figure 2.
Example 3.
Consider Equation (5), and choose the parameters and initial values as follows:
α 0 = 5 , β 0 = 2 , β 1 = 6 , γ 0 = 2 , γ 1 = 4 , x 0 = 1 , x 1 = 3 .
For this choice, we have ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) = 1 , condition (29) is satisfied, and the solution takes the form
x 2 n 1 = 3 , x 2 n = 1 , n = 0 , 1 , ,
that is, the solution is prime 2-periodic and this confirms the results of Theorem 3, case 2. The graph of the solution is presented in Figure 3.
Example 4.
Consider Equation (5), and choose the parameters and initial values as follows:
α 0 = 5 , β 0 = 7 , β 1 = 4 , γ 0 = 2 , γ 1 = 17 14 + 2 7 29 , x 0 = 3 2 + 1 4 29 , x 1 = 41 14 + 4 7 29 .
For this choice, we have ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) = 1 , conditions (28) and (29) are not satisfied, and the solution takes the form
x 4 n 1 = 41 14 + 4 7 29 , x 4 n = 3 2 + 1 4 29 , x 4 n + 1 = 12 7 + 2 7 29 , x 4 n + 2 = 1 , n = 0 , 1 , ,
that is, the solution is prime 4-periodic and this confirms the results of Corollary 1. The graph of the solution is presented in Figure 4.
Example 5.
Consider Equation (5), and choose the parameters and initial values as follows:
α 0 = 7 , β 0 = 2 , β 1 = 8 , γ 0 = 1 2 , γ 1 = 1 2 , x 0 = 1 4 , x 1 = 1 4 .
For this choice, we have ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) = 1 , ( β 0 + v 0 ) γ 1 + γ 0 = 0 = ( β 1 + α 0 v 0 ) γ 0 + γ 1 , and the solution takes the form
x 2 n 1 = 1 4 , x 2 n = 1 4 , n = 0 , 1 , ,
that is, the solution is prime 2-periodic and this confirms the results of Theorem 4. The graph of the solution is presented in Figure 5.
Example 6.
Consider Equation (5), and choose the parameters and initial values as follows:
α 0 = 1 , β 0 = 6 , β 1 = 4 5 , γ 0 = 3 , γ 1 = 7 , x 0 = 8 , x 1 = 1 .
For this choice, condition (32) is satisfied, and the solution takes the form
x 2 n 1 = 1 , x 2 n = 8 , n = 0 , 1 , ,
that is, the solution is prime 2-periodic and this confirms the results of Theorem 5, case 1. The graph of the solution is presented in Figure 6.
Example 7.
Consider Equation (5), and choose the parameters and initial values as follows:
α 0 = 1 25 , β 0 = 1 5 , β 1 = 8 17 , γ 0 = 3 , γ 1 = 12 , x 0 = 9 , x 1 = 5 .
For this choice, conditions (33) and (34) are satisfied, and the solution satisfies
lim n + x 2 n 1 = ( β 1 + α 0 v 0 ) γ 0 + γ 1 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) = 22245 823 27.02916160 ,
lim n + x 2 n = ( β 0 + v 0 ) γ 1 + γ 0 1 ( β 0 + v 0 ) ( β 1 + α 0 v 0 ) = 24225 823 29.43499392 , n = 0 , 1 , ,
and this confirms the results of Theorem 5, case 2. The graphs of the solution are presented in Figure 7 and Figure 8.

5. Conclusions

In this work, explicit formulas for the solutions of Equation (5) are derived. This representation enables a detailed analysis of both the existence of periodic solutions and their asymptotic behavior. Several numerical examples are also presented to illustrate and confirm the validity of the results.
Open Problem: For interested readers and as a generalization of Equation (5), we propose to study the following second-order system of non-linear difference equations defined as follows:
x n + 1 = a n x n y n 1 y n β n y n 1 γ n + b n + 1 x n + c n + 1 , y n + 1 = α n y n x n 1 x n b n x n 1 c n + β n + 1 y n + γ n + 1 ,
where n N 0 , ( a n ) , ( α n ) , ( b n ) , ( β n ) , ( c n ) ( γ n ) are periodic sequences of real numbers of period two, and the initial values x 1 , y 1 , x 0 , y 0 are non-zero real numbers. System (37) can be written as follows:
x n + 1 b n + 1 x n c n + 1 x n = a n y n β n y n 1 γ n y n 1 , y n + 1 β n + 1 y n γ n + 1 y n = α n x n b n x n 1 c n x n 1 , n N 0 ,
which leads to the following equivalent system:
u n + 1 = a n v n , v n + 1 = α n u n , n N 0 ,
where
u n = x n b n x n 1 c n x n 1 , v n = y n β n y n 1 γ n y n 1 .
It is not hard to see that the solutions of system (39) are
u 2 n = a 1 α 0 n u 0 , u 2 n + 1 = a 0 α 1 n a 0 v 0 , v 2 n = α 1 a 0 n v 0 , v 2 n + 1 = α 0 a 1 n α 0 u 0 , n N 0 .
Following the same approach applied for Equation (5), we can get explicit formulas of the solutions of system (37) and then use them to characterize their behavior.

Author Contributions

Methodology, L.S.A., N.T. and E.M.E.; formal analysis, L.S.A., N.T. and E.M.E.; investigation, L.S.A., N.T. and E.M.E.; software, L.S.A. and N.T.; writing—original draft preparation, L.S.A., N.T. and E.M.E.; writing—review and editing, L.S.A., N.T. and E.M.E.; visualization, L.S.A., N.T. and E.M.E.; supervision, N.T. and E.M.E. 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 no conflicts of interest.

References

  1. Amleh, A.M.; Ladas, G. Convergence to periodic solutions. J. Differ. Equ. Appl. 2001, 7, 621–631. [Google Scholar] [CrossRef]
  2. Elaydi, S. An Introduction to Difference Equations, 3rd ed.; Springer: New York, NY, USA, 2005. [Google Scholar]
  3. Abd El-Moneam, M. Global asymptotic stability of a system of difference equations with quadratic terms. Commun. Adv. Math. Sci. 2023, 6, 31–43. [Google Scholar] [CrossRef]
  4. Grove, E.A.; Kulenovic, M.R.S.; Ladas, G. Progress report on rational difference equations. J. Differ. Equ. Appl. 2004, 10, 1313–1327. [Google Scholar] [CrossRef]
  5. Grove, E.A.; Ladas, G. Periodicities in Nonlinear Difference Equations; Chapman and Hall/CRC: Boca Raton, FL, USA, 2005. [Google Scholar]
  6. Gumus, M. The global asymptotic stability of a system of difference equations. J. Differ. Equ. Appl. 2018, 24, 976–991. [Google Scholar] [CrossRef]
  7. Halim, Y.; Touafek, N.; Elsayed, E.M. Closed form solutions of some systems of rational difference equations in terms of Fibonacci numbers. Dyn. Contin. Discret. Impuls. Syst. Ser. A Math. Anal. 2014, 21, 473–486. [Google Scholar]
  8. Kulenovic, M.R.S.; Ladas, G. Dynamics of Second Order Rational Difference Equations with Open Problems and Conjectures; Chapman and Hall/CRC: Boca Raton, FL, USA, 2002. [Google Scholar]
  9. Dekkar, I.; Touafek, N.; Din, Q. On the global dynamics of a rational difference equation with periodic coefficients. J. Appl. Math. Comput. 2019, 60, 567–588. [Google Scholar] [CrossRef]
  10. Elaydi, S.; Sacker, R.J. Periodic difference equations, population biology and the Cushing–Henson conjectures. Math. Biosci. 2006, 201, 195–207. [Google Scholar] [CrossRef] [PubMed]
  11. Sacker, R.J. Semigroups of maps and periodic difference equations. J. Differ. Equ. Appl. 2010, 16, 1–13. [Google Scholar] [CrossRef]
  12. Voulouv, H.D. On a difference equation with periodic coefficients. J. Differ. Equ. Appl. 2007, 13, 443–452. [Google Scholar] [CrossRef]
  13. Elabbasy, E.M.; Elmatwally, H.; Elsayed, E.M. Qualitative behavior of higher order difference equation. Soochow J. Math. 2007, 33, 861–873. [Google Scholar]
  14. Haddad, N.; Touafek, N.; Rabago, J.F.T. Well-defined solutions of a system of difference equations. J. Appl. Math. Comput. 2018, 56, 439–458. [Google Scholar] [CrossRef]
  15. Yazlik, Y.; Kara, M. On a solvable system of difference equations of higher-order with periodic coefficients. Commun. Fac. Sci. Univ. Ank. Ser. A1 Math. Stat. 2019, 68, 1675–1693. [Google Scholar] [CrossRef]
  16. Touafek, N.; Al-Juaid, J.G. On a second-order system of difference equations: Expressions and behavior of the solutions. AIMS Math. 2025, 10, 28077–28099. [Google Scholar] [CrossRef]
  17. Kara, M.; Touafek, N.; Yazlik, Y. Well-defined solutions of a three-dimensional system of difference equations. Gazi Univ. J. Sci. 2020, 33, 767–778. [Google Scholar] [CrossRef]
  18. Al-Basyouni, K.S.; Elsayed, E.M. On some solvable systems of some rational difference equations of third order. Mathematics 2023, 11, 1047. [Google Scholar] [CrossRef]
  19. Ghezal, A.; Al Salman, H.J.; Al Ghafli, A.A. Three-dimensional second-order rational difference equations: Explicit formulas and simulations. Mathematics 2026, 14, 876. [Google Scholar] [CrossRef]
  20. Alsharawi, Z.; Angelos, J.; Elaydi, S. Existence and stability of periodic orbits of periodic difference equations with delays. Int. J. Bifurc. Chaos Appl. Sci. Eng. 2008, 18, 203–217. [Google Scholar] [CrossRef]
  21. Camouzis, E.; Ladas, G. When does local asymptotic stability imply global attractivity in rational equations? J. Differ. Equ. Appl. 2006, 12, 863–885. [Google Scholar] [CrossRef]
  22. Cheng, Q.; Deng, S. Flip bifurcations of two systems of difference equations. Math. Meth. Appl. Sci. 2020, 43, 9582–9597. [Google Scholar] [CrossRef]
  23. Elaydi, S.; Sacker, R.J. Basin of attraction of periodic orbits of maps on the real line. J. Differ. Equ. Appl. 2004, 10, 881–888. [Google Scholar] [CrossRef]
  24. Tasdemir, E.; Soykan, Y. Global dynamics and bifurcation of a higher order difference equation. Sarajevo J. Math. 2026, 21, 271–295. [Google Scholar] [CrossRef]
  25. Ghasemabadi, A. Stability and bifurcation of Metzler equation. Adv. Differ. Equ. 2015, 2015, 253. [Google Scholar] [CrossRef]
Figure 1. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 1.
Figure 1. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 1.
Axioms 15 00437 g001
Figure 2. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 2.
Figure 2. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 2.
Axioms 15 00437 g002
Figure 3. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 3.
Figure 3. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 3.
Axioms 15 00437 g003
Figure 4. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 4.
Figure 4. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 4.
Axioms 15 00437 g004
Figure 5. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 5.
Figure 5. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 5.
Axioms 15 00437 g005
Figure 6. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 6.
Figure 6. The graph of the solution ( x n ) of Equation (5) with the parameters and initial values given in Example 6.
Axioms 15 00437 g006
Figure 7. The graph of terms x 2 n of the solution of Equation (5) with the parameters and initial values given in Example 7.
Figure 7. The graph of terms x 2 n of the solution of Equation (5) with the parameters and initial values given in Example 7.
Axioms 15 00437 g007
Figure 8. The graph of terms x 2 n + 1 of the solution of Equation (5) with the parameters and initial values given in Example 7.
Figure 8. The graph of terms x 2 n + 1 of the solution of Equation (5) with the parameters and initial values given in Example 7.
Axioms 15 00437 g008
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

Aljoufi, L.S.; Touafek, N.; Elsayed, E.M. On a Second-Order Difference Equation with Two Periodic Coefficients. Axioms 2026, 15, 437. https://doi.org/10.3390/axioms15060437

AMA Style

Aljoufi LS, Touafek N, Elsayed EM. On a Second-Order Difference Equation with Two Periodic Coefficients. Axioms. 2026; 15(6):437. https://doi.org/10.3390/axioms15060437

Chicago/Turabian Style

Aljoufi, Lama Sh., Nouressadat Touafek, and Elsayed M. Elsayed. 2026. "On a Second-Order Difference Equation with Two Periodic Coefficients" Axioms 15, no. 6: 437. https://doi.org/10.3390/axioms15060437

APA Style

Aljoufi, L. S., Touafek, N., & Elsayed, E. M. (2026). On a Second-Order Difference Equation with Two Periodic Coefficients. Axioms, 15(6), 437. https://doi.org/10.3390/axioms15060437

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