1 Introduction

Let, as usual, \({\mathbb{N}}\) be the set of positive integers, \({\mathbb{Z}}\) the set of integers, \({\mathbb{R}}\) the set of reals, and \({\mathbb{C}}\) the set of the complex numbers. By \({\mathbb{N}}_{k}\), where \(k\in {\mathbb{Z}}\), we denote the set of all \(j\in {\mathbb{Z}}\) such that \(j\ge k\). If \(p,q\in {\mathbb{Z}}\) and such that \(p\le q\), then the notation \(j=\overline{p,q}\) means that j takes the values of all integers between p and q (including p and q).

Difference equations and systems of difference equations have been studied analytically for more than three hundred years. The first important results were obtained by de Moivre [3, 4] and D. Bernoulli [2]. For some classical results, see, for example, [5, 713, 15]. All these references are to some extent devoted to finding closed-form formulas for solutions to linear or nonlinear difference equations and systems of difference equations. There has been some renewed interest in the solvability of difference equations and systems of difference equations, their invariants, and applications of obtained closed-form formulas for their solutions and/or invariants (see, for example, [1, 1628] and related references therein). It is a common fact that many solvable difference equations and systems are transformed by some suitable changes of variables to some solvable linear ones [1, 19, 22, 23, 2528].

Of the many classes of difference equations and systems of difference equations solvable in closed form, here we mention an important class, which is used in this note. In addition, we also mention a simple method for getting a sequence of difference equations or systems of difference equations from a given one, which can sometimes be used to obtain some counterexamples in the theory of difference equations.

1.1 Product-type difference equations

Some recent investigations on solvability are devoted to product-type difference equations and systems of difference equations, or to some difference equations and systems that can be reduced to them using some suitable transformations (see, e.g., [2224] and the related references therein).

General product-type difference equation is

$$\begin{aligned} x_{n+k}=a_{n}x_{n+k-1}^{\alpha _{n}^{(k-1)}}x_{n+k-2}^{\alpha _{n}^{(k-2)}} \cdots x_{n}^{\alpha _{n}^{(0)}},\quad n\in {\mathbb{N}}_{0}, \end{aligned}$$
(1)

where the sequences \((a_{n})_{n\in {\mathbb{N}}_{0}}\), \((\alpha _{n}^{(j)})_{n\in {\mathbb{N}}_{0}}\), \(j=\overline{0,k-1}\), as well as the initial values \(x_{j}\), \(j=\overline{0,k-1}\), are real or complex.

In some cases, equation (1) can be solved by taking the logarithm, but in the case of complex initial values \(x_{j}\), \(j=\overline{0,k-1}\), coefficients and exponents, some other methods can be used (see, e.g., [2224] and the related reference therein). Since the equation is related to the general linear difference equation, it is of great importance.

1.2 Difference equations with interlacing indices

There is a simple method enabling to construct a family of ‘cloned’ difference equations from a given one. The equations are called the difference equations with interlacing indices [27]. The equations appear from time to time in the literature, and it seems that some authors are not aware that they are obtained by cloning some simpler difference equations (see the examples and analyses conducted in [2528]). However, the equations can be useful in providing some counterexamples in the theory of difference equations (see, e.g., [6]). Systems of difference equations with interlacing indices can also be constructed by the cloning method. Now we briefly describe the method.

The general form of the difference equation with interlacing indices is the following

$$\begin{aligned} y_{n}=h(y_{n-k},y_{n-2k},\ldots ,y_{n-lk}), \quad n\in {\mathbb{N}}_{0}, \end{aligned}$$
(2)

where \(l\in {\mathbb{N}}\), and \(k\ge 2\).

If we define k sets of indices by

$$ {\mathcal{I}}_{j}^{l}:=\bigl\{ (s-l)k+j:s\in { \mathbb{N}}_{0}\bigr\} ,\quad j= \overline{0,k-1},$$

we obviously have

$$ {\mathcal{I}}_{i}^{l}\cap {\mathcal{I}}_{j}^{l}= \emptyset ,\quad i\ne j,$$

and

$$ \bigcup_{j=0}^{k-1}{\mathcal{I}}_{j}^{l}={ \mathbb{N}}_{-lk}.$$

Let

$$ y_{s}^{(j)}:=y_{(s-l)k+j},\quad s\in { \mathbb{N}}_{0}, j= \overline{0,k-1},$$

then from (2), we have

$$ y_{s}^{(j)}=h\bigl(y_{s-1}^{(j)},y_{s-2}^{(j)}, \ldots ,y_{s-l}^{(j)}\bigr), \quad s\in {\mathbb{N}}_{0},$$

for \(j=\overline{0,k-1}\).

This means that the sequences \((y_{s}^{(j)})_{s\in {\mathbb{N}}_{0}}\), \(j=\overline{0,k-1}\) are k solutions to the equation

$$\begin{aligned} z_{n}=h(z_{n-1},z_{n-2},\ldots ,z_{n-l}), \quad n\in {\mathbb{N}}_{0}, \end{aligned}$$
(3)

with unrelated initial values.

Using this procedure in the reverse direction, from equation (3), one can obtain a family of cloned equations in (2), i.e., a family of difference equations with interlacing indices.

1.3 Global convergence results and a claim

One of the main problems in the theory of difference equations is the convergence of the solutions to the equations. There are many results on convergence in the literature, some of which can be found in the literature mentioned above.

The following difference equation

$$\begin{aligned} x_{n+1}=f(x_{n-k},x_{n-m}),\quad n\in { \mathbb{N}}_{0}, \end{aligned}$$
(4)

where \(k,m\in {\mathbb{N}}_{0}\), has been recently studied in [14].

The following claim is the main result concerning the difference equations appearing in [14] (Theorem 3.3 therein).

Theorem A

Assume that f has non-positive partial derivatives and is homogeneous with degree s. Then equation (4) has a unique positive equilibrium \(x^{*}\), and every solution to the equation converges to \(x^{*}\).

In this note, we show that the claim in Theorem A is not true by giving an example of equation (4) such that the function f is homogeneous (with a degree to be chosen appropriately) and has non-positive partial derivatives, and equation (4) has a unique positive equilibrium \(x^{*}\) and solutions that do not converge to the equilibrium.

2 A counterexample to Theorem A

In this section, we give a counterexample to Theorem A. To construct the counterexample, we are looking for a difference equation belonging to the above classes of equations; that is, we are looking for a product-type difference equation with interlacing indices that is solvable in the closed form.

Example 1

Consider the difference equation

$$\begin{aligned} x_{n+k}=\frac{1}{x_{n}^{\alpha }},\quad n\in {\mathbb{N}}_{0}, \end{aligned}$$
(5)

where \(k\in {\mathbb{N}}\), and \(\alpha >1\), which is a special case of the general difference equation of higher order

$$\begin{aligned} x_{n+k}=f(x_{n+k-1},\ldots ,x_{n}),\quad n\in { \mathbb{N}}_{0}, \end{aligned}$$
(6)

where \(k\in {\mathbb{N}}\), and f is an arbitrary function.

Here we are interested in positive solutions to equation (5). Hence, we assume that

$$ x_{j}\in (0,+\infty ),\quad j=\overline{0,k-1}.$$

For the case of equation (5), we have that

$$\begin{aligned} f(t_{1},\ldots ,t_{k})=\frac{1}{t_{k}^{\alpha }} \end{aligned}$$
(7)

is the right-hand side function, which generates their solutions along with the initial values.

Since

$$ \frac{\partial f}{\partial t_{j}}(t_{1},\ldots ,t_{k})=0,\quad j= \overline{1,k-1}$$

and

$$ \frac{\partial f}{\partial t_{k}}(t_{1},\ldots ,t_{k})=- \frac{\alpha }{t_{k}^{\alpha +1}}< 0,$$

when \(t_{k}>0\), we have that the function (7) has non-positive partial derivatives on the set \((0,+\infty )^{k}\), from which we choose our initial values.

On the other hand, since

$$ f(\lambda t_{1},\ldots ,\lambda t_{k})= \frac{1}{(\lambda t_{k})^{\alpha }}= \frac{1}{\lambda ^{\alpha }} \frac{1}{t_{k}^{\alpha }}=\lambda ^{-\alpha }f(t_{1}, \ldots ,t_{k})$$

holds for every \(\lambda >0\), we see that the function defined in (7) is homogeneous with degree −α.

Further, if

$$ x_{n}\equiv x^{*},\quad n\in {\mathbb{N}}_{0}$$

is an equilibrium solution to equation (5), then it must be

$$ x^{*}=\frac{1}{(x^{*})^{\alpha }},$$

from which it immediately follows that \(x^{*}=1\), which means that equation (5) has a unique positive equilibrium.

Now note that equation (5) is a difference equation with interlacing indices, which is obtained by cloning the following product-type difference equation of first order

$$\begin{aligned} y_{n+1}=\frac{1}{y_{n}^{\alpha }},\quad n\in {\mathbb{N}}_{0}, \end{aligned}$$
(8)

that is, equation (5) consists of k copies of equation (8) with initial values not connected to each other.

Equation (8) obviously has the same equilibrium. Hence, to show that the claim of Theorem A is not true, it is enough to show that equation (8) has solutions, which do not converge to the equilibrium.

Now note that by iterating equation (8), we get

$$\begin{aligned} y_{2n+2}=y_{2n}^{\alpha ^{2}} \end{aligned}$$
(9)

and

$$\begin{aligned} y_{2n+3}=y_{2n+1}^{\alpha ^{2}}, \end{aligned}$$
(10)

for \(n\in {\mathbb{N}}_{0}\).

By a simple inductive argument from relations (9), (10), and equation (8) with \(n=1\), one can easily obtain

$$\begin{aligned} y_{2n}=y_{0}^{\alpha ^{2n}} \end{aligned}$$
(11)

and

$$\begin{aligned} y_{2n+1}=y_{1}^{\alpha ^{2n}}=\frac{1}{y_{0}^{\alpha ^{2n+1}}}, \end{aligned}$$
(12)

for \(n\in {\mathbb{N}}_{0}\).

Taking \(\alpha >1\), we have

$$\begin{aligned} \lim_{n\to +\infty }\alpha ^{2n}=\lim_{n\to +\infty } \alpha ^{2n+1}=+ \infty . \end{aligned}$$
(13)

Hence, if \(y_{0}\in (0,1)\), then letting \(n\to +\infty \) in (11) and (12) and using (13), it follows that

$$\begin{aligned} \lim_{n\to +\infty }y_{2n}=0 \end{aligned}$$
(14)

and

$$\begin{aligned} \lim_{n\to +\infty }y_{2n+1}=+\infty . \end{aligned}$$
(15)

Besides this, if \(y_{0}>1\), then letting \(n\to +\infty \) in (11) and (12) and using (13), we obtain

$$\begin{aligned} \lim_{n\to +\infty }y_{2n}=+\infty \end{aligned}$$
(16)

and

$$\begin{aligned} \lim_{n\to +\infty }y_{2n+1}=0. \end{aligned}$$
(17)

From the relations (14)–(17), we see that if any initial value of equation (8) belongs to the set \((0,+\infty )\setminus \{1\}\), the solution is unbounded. This fact implies that if any initial value of equation (5) belongs to the set \((0,+\infty )\setminus \{1\}\), the solution is unbounded.

The above analysis shows that the claim of Theorem A is not true.

Remark 1

Note that the only bounded positive solution to equation (5) is the one which is generated by the initial values

$$\begin{aligned} x_{0}=x_{1}=\cdots =x_{k-1}=1. \end{aligned}$$
(18)

The solution is, in fact, the equilibrium solution \(x_{n}\equiv 1\), \(n\in {\mathbb{N}}_{0}\), which is easily proved using the initial values (18) in equation (5), together with a simple inductive argument.

Remark 2

The above consideration also shows that the equilibrium solution is the unique positive solution to equation (5) that converges, which indicates to what extent the claim in Theorem A fails.

Remark 3

Note also that the linearized equation associated with equation (8) about the equilibrium point is

$$\begin{aligned} z_{n+1}=-\alpha z_{n},\quad n\in {\mathbb{N}}_{0}, \end{aligned}$$
(19)

from which, along with the assumption \(\alpha >1\), it follows that the equilibrium is a repeller. Note that from (19), we have \(|z_{n}|=\alpha ^{n}|z_{0}|\), \(n\in {\mathbb{N}}_{0}\), from which together with (13), we see that for each \(z_{0}\ne 0\), the solution to (19) goes to infinity as \(n\to +\infty \).

Given that equation (8) is solvable and has a closed-form formula for its solutions, from which their long-term behavior is easily described, linearization is not required. However, the linearization argument also suggests in which direction counterexamples should be sought.