#### Abstract

Discrete models are versatile and effective tools for assessing and addressing a wide range of scientific and practical problems. As a type of discrete model, the difference equation model has been widely employed in domains such as algorithm analysis, signal processing, biology, economics, and computer science. The global dynamical behavior of a class of discrete models known as the max-type difference equation model is the subject of the research. The purpose of this work is to look into the behavior of the solution of the following four-order max-type difference equation:

#### 1. Introduction

This is generally known: life is intimately connected to mathematics, and science is intrinsically linked to mathematics. One of the core ideas in connecting practical research with mathematics is the formation of equations. Discrete models are useful and effective instruments for assessing and solving a wide range of scientific and practical issues (see [1â€“4]). A recurrence relation that comprises the unknown function and its difference but not the derivative is called a difference equation. It is a strong modeling tool for describing real-world discrete-time systems. The difference equation model, for example, is widely used in algorithm analysis, control theory, computer science, biology, economics, and physics, among other subjects. Many fluid mathematical models can be transformed into discrete forms to improve numerical simulations, which can make the study process and findings easier to understand. As a result, difference equation models can be used to represent a wide range of natural and social phenomena (see [4â€“12]). The majority of the time, the condition parameters vary or change within a particular range, necessitating the adjustment of the equation model. Parameter values are subject to imperfections in an equation model that explains biological phenomena, for example, due to specific modifications [13]. The condition value of the qualifying product is a range rather than a fixed value in some quality control situations. Mozaffari proposed an intelligent framework for determining the exhaust gas temperature (T ex) and hydrocarbon emissions (HC raw) from an automobile engine during cold start operation in [14]. The conditional parameter values are unknown since the cold start operation is treated as a temporary and uncertain phenomenon, thus the adaptive neuro-fuzzy inference computation and fuzzy logic controller are employed in the work. As a result, equation models with manipulated variables and maximum or minimum type equation models are more important; they are commonly used in electronic engineering, computer, artificial intelligence, and science. In [15], Li investigated the stability of particle trajectories in particle swarms using a difference equation and Z-transform and discussed the effects of p-Best, g-Best, and randomness on particle trajectories. In [16], Zhu produced one-dimensional and two-dimensional time evolution equation models of nonlinear effect between pixels, based on his research on nonlinear impact off a digital image pixel grid. In [17], Chen proposed an excellent real-time autofocus technique using the discrete difference equation forecasting models. The proposed technique improves focusing speed. In [18], Fan used a difference equation model to examine a class of discrete SEIRS modeling techniques with general nonlinear occurrence and a discrete SEIRS epidemic model with standard occurrence. The condition that the sickness is permanent or that the model has a unique endemic equilibrium that is globally appealing is given by this equation model. There has been a lot of interest in investigating the dynamics of the max-type difference equation model in few years (see [19â€“25]). These findings are not only useful in and of themselves, but they can also provide insight into their disparate equivalents. The study of max-type difference equations has recently gained a lot of interest. Difference equations of this type can be found in several forms in automatic control systems. At the start of their analysis of these equations, scientists concentrated on the behavior of a few specific situations of the given difference equation:where , , , are the real sequences, as well as the starting values are not equal to zero. Cinar and Yalcinkaya [26] focused on positive difference equation solutions.

In a recent paper [27], it was demonstrated that every solution of the four-order max-type difference (10) with arbitrary nonzero real values as initial conditions and â€‰=â€‰constant *R* is ultimately periodic with period four. In addition, we demonstrated in [28] every positive solution to the identical four-order nonautonomous max-type difference (10), where is a four-periodic sequence of real numbers with period four. The same result was obtained using a min-type difference equation for the similar equation. Simsek et al. [29] explored the answers to the difference equation as follows:

Simsek et al. [30] also looked at how the solutions of the following system of difference equations behaved:

Stevic [31] investigated the boundedness and global attractivity of positive difference equation solutions.

In [32], the periodic nature of the solution of the max-type difference equation was examined.

In [33], the authors propose, for the sake of dialogue, that the nonautonomous reciprocal max-type difference equation,where the parameters are positive periodic sequences with periods and the initial conditions are positive, when may serve as a phenomenological model of seizure activity as occurring in mesial (or middle) temporal lobe epilepsy. When , the above equation may be written as

Authors ask the following questions: Why use a difference equation at all to model particular physiological processes of the human brain? Human brain function, from that which is physiological to that which is higher-level cognitive, can be viewed as recursive in nature. See, for example, the book by Corballis [34]. Why use the max-type difference equation, (9), to model normal functions of the human brain (e.g., the formation of memory) and abnormal function of the human brain (specifically, seizures)?

Motivated by above, the purpose of this work is to look into the behavior of the solution of the following four-order max-type difference equation:

The initial conditions are arbitrary positive real values, and is a four-periodic sequence.

#### 2. Main Results

First, we will add some basic definitions here and then will investigate two main theorems with their subcases.

*Definition 1. **A sequence**is said to be subsequently periodic, have period**, if there is**such that**for all**. If**, then we can say that the sequence**is periodic with period**.*

*Remark 2. *Note that if , equation (1) becomes , implying that every solution has a period of four. As a result, we will look at the case in the next section.

*Remark 3. *It should be noted that if , equation (9) becomes , and it has been demonstrated that this equation is recursive with period four. As a result, in the next section, we will look at the condition .

Theorem 4. *Consider the difference equation (9), where . Then, at some point, every solution of equation (9) is periodic with period four.*

*Proof. *From equation (9), we haveWe consider the following two cases: case : if , then and: if , then and: if , then and: if , then andwhich is subsequently periodic with period four.: if , then andwhich is subsequently periodic with period four.: if , then andwhich is subsequently periodic with period four.: if , then and: if , then and: if , then andwhich is subsequently periodic with period four.: if , then andwhich is subsequently periodic with period four.: if , then and: if , then andwhich is subsequently periodic with period four.: if , then andwhich is subsequently periodic with period four.Case : if , then and: if , then and: if , then andSince, ,which is subsequently periodic with period four.: if , then andSince, ,which is subsequently periodic with period four.: if , then and: if , then and: if , then andwhich is subsequently periodic with period four.: if , then andwhich is subsequently periodic with period four.: if , then andSince, ,: if , then andwhich is subsequently periodic with period four.: if , then andSince, ,which is subsequently periodic with period four.

Theorem 5. *Consider the difference equation (9), where , Then, at some point, every solution of equation (9) is periodic with period four.*

Proof. From (9), we have

We consider the following two cases:

Case : if , then and

: if , then and

: if , then and

: if , then andwhich is subsequently periodic with period four.

: if , then andwhich is subsequently periodic with period four

: if , then and

: if , then andwhich is subsequently periodic with period four

: if , then andwhich is subsequently periodic with period four

: if , then and

: if , then and

: if , then andwhich is subsequently periodic with period four.

: if , then andwhich is subsequently periodic with period four.

: if , then and

Since, ,

: if , then and

Since, ,which is subsequently periodic with period four.

: if , then and

Since, ,which is subsequently periodic with period four.

Case : if , then and

: if , then and