1 Introduction

Let E be a complex Banach space and \(c\in \mathbb {C}{\setminus }\{0\}\). It is said that a continuous function \(f:\mathbb {R}\rightarrow E\) is c-periodic if there exists \(w>0\) such that \(f(x+w)=cf(x)\) for all \(x\in \mathbb {R}\). This concept, which was proposed in [1], extends the more known notions of anti-periodicity (with \(c=-1\)) and Bloch periodicity (with c depending on w in the form \(c=e^{ikw}\), \(k\in \mathbb {R}\)), which constitute variants of the usual periodicity with practical relevance for engineering science (especially condensed matter physics). See also [2, 10, 13, 14] for more information on these spaces of functions. In particular, it is easy to see that any anti-periodic function is also periodic (because of the fact that \(f(x+2w)=f((x+w)+w)=-f(x+w)=f(x)\) for all \(x\in \mathbb {R}\)), and the class of Bloch (wk)-periodic functions is equal to the class of anti-periodic functions when \(kw=\pi \). In fact, if \(kw\in \mathbb {Q}\) (put \(kw=\frac{p }{ q}\), with \(p\in \mathbb {Z}\) and \(q\in \mathbb {Z}{\setminus }\{0\}\)), then a Bloch \((2\pi w,k)\)-periodic function f(x) is also periodic because of the fact that

$$\begin{aligned} f(x+qw)&=f((x+(q-1)w)+w)=e^{2\pi ikw}f(x+(q-1)w)\\&=e^{2\pi ikw}f(x+(q-2)w+w)=e^{2\pi i2kw}f(x+(q-2)w)\\&=\cdots =e^{2\pi iqkw}f(x)=e^{2\pi ip}f(x)=f(x). \end{aligned}$$

As a generalization of purely periodic functions defined on the set of the real numbers, H. Bohr introduced the concept of almost periodicity during the 1920’s. A continuous function \(f:\mathbb {R}\rightarrow E\), where E is a complex Banach space whose norm is denoted by \(\Vert \cdot \Vert \), is said to be almost periodic (in Bohr’s sense) if for every \(\varepsilon >0\) there corresponds a number \(l=l(\varepsilon )>0\) such that any open interval of length l contains a number \(\tau \) satisfying \(\Vert f(x+\tau )-f(x)\Vert \le \varepsilon \) for all real numbers x. The number \(\tau \) described above is called an \(\varepsilon \)-almost period or an \(\varepsilon \)-translation number of f(x) and, equivalently, the property of almost periodicity means that the set of all \(\varepsilon \)-translation numbers of f(x) is relatively dense on the real line. We will denote as \({\textit{AP}}(\mathbb {R},\mathbb {C})\) the space of almost periodic functions in the sense of this definition (Bohr’s condition). As in classical Fourier analysis, it can be seen that every almost periodic function is bounded and is associated with a Fourier series with real frequencies (see for example [3, 5]). Shortly after its development, this theory acquired numerous applications to various areas of mathematics, from harmonic analysis to differential equations.

In connection with the notion of almost periodicity, Khalladi et al. [12] have recently considered the following generalization, which is called c-almost periodicity: a continuous function \(f:\mathbb {R}\rightarrow E\) (where E is a complex Banach space whose norm is denoted by \(\Vert \cdot \Vert \)) is said to be c-almost periodic if for every \(\varepsilon >0\) there corresponds a number \(l=l(\varepsilon )>0\) such that any open interval of length l contains a number \(\tau \) satisfying \(\Vert f(x+\tau )-cf(x)\Vert \le \varepsilon \) for all x. It is clear that any c-periodic function is also c-almost periodic. The number \(\tau \) described above is now called an \((\varepsilon ,c)\)-almost period or an \((\varepsilon ,c)\)-translation number of f(x). Hence c-almost periodicity means that the set of all \((\varepsilon ,c)\)-translation numbers of f(x) is relatively dense on the real line. We will denote as \({\textit{AP}}_c(\mathbb {R},E)\) the space of c-almost periodic functions in the sense of this definition. Note that the case \(c=1\) leads to the space \({\textit{AP}}(\mathbb {R},E)\). Moreover, if \(c=-1\) the functions in the space \({\textit{AP}}_{-1}(\mathbb {R},E)\) are called almost anti-periodic (in this respect, Cheban considered this notion in two papers [6, 7] written around 1980). See also [2, 10, 13, 14] for more information on these spaces of functions defined on the real line.

In this paper, we will extend the concept of c-almost periodicity to the case of functions defined on vertical strips of the complex plane (see Definition 1). For the case \(c=1\), this notion corresponds with the set \({\textit{AP}}(U,\mathbb {C})\) of almost periodic functions defined on a vertical strip of the form \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). This space, which was theorized in [4], has been widely studied in the literature as an extension of the real case (see for example Chapter 3 of the books [3, 8] and the references [5, 9, 11, 16]). As it can be seen, many properties of this space of functions are closely related to the theory of analytic functions.

Given an arbitrary \(c\in \mathbb {C}{\setminus }\{0\}\), in comparison with the real case and the almost periodicity, we will establish in Sect. 2 the main properties of the space of c-almost periodic functions in a vertical strip U (see particularly Propositions 134 and Corollary 1). It is worth noting that, in general, this space of functions is not a vector space with the usual operations (see Example 2). However, many other properties associated with the class of almost periodic functions (such as Propositions 1247, Corollary 1 or Theorems 12) are also true for this new class of c-almost periodic functions.

In Sect. 3, we will demonstrate that the set of all the values of a c-almost periodic function on any vertical substrip included in its domain is relatively compact in \(\mathbb {C}\) (see Proposition 7), which represents an extension of [8,  Theorem 6.5]. Moreover, we will prove that the family of vertical translates of a prefixed c-almost periodic function defined in U is relatively compact on the vertical substrips of U (see Theorem 2), which represents an extension of the necessary condition of [8,  Theorem 6.6]. This will allow us to prove that every c-almost periodic function defined in U is also almost periodic and, in fact, \(c^m\)-almost periodic for each \(m\in \mathbb {Z}\) (see Proposition 3, point i), and Corollary 3). The proof of this result can be immediately adapted to the real case in order to state that \({\textit{AP}}_c(\mathbb {R},\mathbb {C})\) is included in \({\textit{AP}}(\mathbb {R},\mathbb {C})\) for any \(c\in \mathbb {C}{\setminus }\{0\}\), which constitutes an extension of a result proved by Khalladi et al. for the case \(|c|=1\) (see [12,  Proposition 2.11 and comments above]).

2 The property of c-almost periodicity for the case of functions of a complex variable

Our starting point is the following definition which is based on the concept of c-almost periodicity for the case of functions defined on \(\mathbb {R}\) (see [12,  Definition 2.1]) and Bohr’s notion of almost periodicity for the case of functions of a complex variable (see for example [16,  p. 246], [11,  p. 311], [8,  pp. 83,86] or [3,  pp. 141,142]).

Definition 1

Let \(f:U\rightarrow \mathbb {C}\) be a complex function continuous in a strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \), and \(c\in \mathbb {C}{\setminus }\{0\}\). Given \(\varepsilon >0\) and a reduced strip \(U_{1}=\left\{ z\in \mathbb {C}:\alpha _{1}\le {\text {Re}} z\le \beta _{1}\right\} \subset U\) (with \(\alpha<\alpha _{1}<\beta _{1}<\beta )\), a real number \(\tau \) satisfying the condition

$$\begin{aligned} \left| f(z+i\tau )-cf(z)\right| \le \varepsilon ,\quad \text {for all}\,\;z\in U_1, \end{aligned}$$

is called an \((\varepsilon ,c)\)-translation number of f(z) (or a c-translation number belonging to \(\varepsilon \)) associated with \(U_1\). The set of all \((\varepsilon ,c)\)-translation numbers of f(z) associated with a reduced strip \(U_1\subset U\) will be denoted by \(E_{c}\{f(z),U_1,\varepsilon \}\) or simply \(E_{c}\{f(z),\varepsilon \}\) (we will omit \(U_1\) in the notation when it is clear from the context).

If the sets \(E_{c}\{f(z),U_1,\varepsilon \}\) are relatively dense for every prefixed \(\varepsilon >0\) and reduced strip \(U_1\subset U\) (which means that there corresponds a number \(l>0\) such that every open interval of length l contains points in \(E_{c}\{f(z),U_1,\varepsilon \}\)), then the function f(z) will be called c-almost periodic in the strip U. We will denote as \({\textit{AP}}_c(U,\mathbb {C})\) the set of c-almost periodic functions in the sense of this definition.

The case \(c=1\) of the set of the almost periodic functions defined on U will be also denoted as \({\textit{AP}}(U,\mathbb {C})\).

In the particular case that \(c=-1\), it is said that f(z) is almost anti-periodic in the strip U.

Remark 1

Given \(c{\in }\mathbb {C}{\setminus }\{0\}\), \(f{\in } {\textit{AP}}_c(U,\mathbb {C})\) and \(\varepsilon >0\), note that the sets \(E_{c}\{f(z),U_1,\varepsilon \}\subset \mathbb {R}\) are closed for every reduced strip \(U_1\subset U\). Indeed, fixed such a strip \(U_1\subset U\) and \(\{\tau _n\}_{n\ge 1}\subset E_{c}\{f(z),U_1,\varepsilon \}\) a sequence converging to a value \(\tau \in \mathbb {R}\), then

$$\begin{aligned} \left| f(z+i\tau _n )-cf(z)\right| \le \varepsilon ,\quad \text {for all}\;z\in U_1\; \text {and}\;n\in \mathbb {N}, \end{aligned}$$

and we deduce from the continuity of f(z) that

$$\begin{aligned} \left| f(z+i\tau )-cf(z)\right| \le \varepsilon ,\quad \text {for all}\;\,z\in U_1, \end{aligned}$$

which yields that \(\tau \in E_{c}\{f(z),U_1,\varepsilon \}\).

Remark 2

Let \(f:U\rightarrow \mathbb {C}\) be a complex function continuous in a strip U, \(c\in \mathbb {C}{\setminus }\{0\}\), and take \(\varepsilon >0\) and \(U_{1}=\left\{ z\in \mathbb {C}:\alpha _{1}\le {\text {Re}} z\le \beta _{1}\right\} \subset U\). If \(\tau _1 \in E_{c}\{f(z),U_1,\frac{ \varepsilon }{ 2|c|}\}\) and \(\tau _2 \in E_{c}\{f(z),U_1,\frac{ \varepsilon }{ 2}\}\), then \(\tau _1+\tau _2\in E_{c^2}\{f(z),U_1,\varepsilon \}\). Indeed, we have

$$\begin{aligned} \left| f(z+i(\tau _1+\tau _2))-c^2f(z)\right|&\le \left| f(z+i(\tau _1+\tau _2))-cf(z+i\tau _1)\right| \\&\quad +\left| cf(z+i\tau _1)-c^2f(z)\right| \le \varepsilon ,\quad \text {for all}\;\,z\in U_1. \end{aligned}$$

If \(c\ne 1\) and U is an arbitrary vertical strip of the complex plane, it is straightforward to see that the non-zero constant functions are not c-almost periodic in U (but they are almost periodic in U). However, if c is a unitary complex number, the exponential monomials of the form \(ae^{\lambda z}\), with \(a\in \mathbb {C}\) and \(\lambda \in \mathbb {R}{\setminus }\{0\}\), are representative examples of c-almost periodic functions in U.

Example 1

Let \(c\in \mathbb {C}\) be a complex number so that \(|c|=1\) (put \(c=e^{i\theta _c}\) with \(\theta _c\in (-\pi ,\pi ]\)). Given an arbitrary vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \), \(a\in \mathbb {C}\) and \(\lambda \in \mathbb {R}{\setminus }\{0\}\), consider the function \(f(z)=ae^{\lambda z}\), \(z\in U\). Then \(f(z)\in {\textit{AP}}_c(U,\mathbb {C})\). Indeed, given \(\varepsilon >0\) and \(U_{1}=\left\{ z\in \mathbb {C}:\alpha _{1}\le {\text {Re}} z\le \beta _{1}\right\} \subset U\), note that the choice \(\tau =\frac{ \theta _c}{ \lambda }+\frac{2\pi k }{ \lambda }\), \(k\in \mathbb {Z}\), satisfies

$$\begin{aligned} \left| f(z+i\tau )-cf(z)\right| =|a||e^{\lambda (z+i\tau )}-ce^{\lambda z}|=|a||e^{i\theta _c}e^{\lambda z}-e^{i\theta _c}e^{\lambda z}|=0 < \varepsilon , \end{aligned}$$

\(\text {for all }z\in U_1.\) Hence the sets of the \((\varepsilon ,c)\)-translation numbers of f(z) (associated with every reduced strip of U) are relatively dense.

Given \(c\in \mathbb {C}{\setminus }\{0\}\), we next show that the sets \({\textit{AP}}_{c}(U,\mathbb {C})\) and \({\textit{AP}}_{1/c}(U,\mathbb {C})\) are equal.

Lemma 1

Let \(c\in \mathbb {C}{\setminus }\{0\}\) and \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\) (with \(-\infty \le \alpha <\beta \le \infty \)). Then \(f(z)\in {\textit{AP}}_{c}(U,\mathbb {C})\) if and only if \(f(z)\in {\textit{AP}}_{1/c}(U,\mathbb {C})\).

Proof

Given \(\varepsilon >0\), \(U_{1}=\left\{ z\in \mathbb {C}:\alpha _{1}\le {\text {Re}} z\le \beta _{1}\right\} \subset U\), \(\tau \in \mathbb {R}\) and \(z\in U_1\), note that

$$\begin{aligned} \left| f(z-i\tau )-\frac{1 }{ c}f(z)\right| = \frac{1 }{|c| }\left| cf(z-i\tau )-f(z)\right| =\frac{1 }{|c| }\left| f(z)-cf(z-i\tau )\right| . \end{aligned}$$

This means that \(\tau \in E_{c}\{f(z),U_1,|c|\varepsilon \}\) if and only if \(-\tau \in E_{1/c}\{f(z),U_1,\varepsilon \}\), which proves the result. \(\square \)

As usual, put \(z=x+iy\). Note that a c-almost periodic function f(z) in a certain vertical strip U is also a c-almost periodic function of the real variable y on any vertical line included in U. That is, for every \(\varepsilon >0\) and an arbitrary \(x_0\in (\alpha ,\beta )\), there corresponds a number \(l=l(\varepsilon )>0\) such that any open interval of length l contains a number \(\tau \) satisfying \(|f(x_0+i(y+\tau ))-cf(x_0+iy)|\le \varepsilon \) for all y. We next analyse the converse of this property.

Proposition 1

Let \(f:U\rightarrow \mathbb {C}\) be an analytic function in a certain vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\) (with \(-\infty \le \alpha <\beta \le \infty \)) which is bounded in any substrip \(\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\) with \(\alpha<\alpha _1<\beta _1<\beta \). Given \(c\in \mathbb {C}\setminus \{0\}\), suppose that \(f(x_0+iy)\) is a c-almost periodic function of the real variable y for some \(x_0\in (\alpha ,\beta )\). Then f(z) is c-almost periodic in U.

Proof

Take \(c\in \mathbb {C}\setminus \{0\}\) and \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\) a reduced vertical strip of U, with \(\alpha _1<x_0<\beta _1\). Let \(U_2=\{z\in \mathbb {C}:\alpha _2\le {\text {Re}}z\le \beta _2\}\supset U_1\), with \(\alpha<\alpha _2<\alpha _1<\beta _1<\beta _2<\beta \). By hypothesis, we can assure the existence of a positive number M such that \(|f(z)|\le M\) \(\forall z\in U_2\), which yields that

$$\begin{aligned} | f(z+i\tau _1 )-cf(z)| \le (1+|c|)M ,\quad \text {for all}\;\,z\in U_2, \end{aligned}$$
(1)

for any \(\tau _1\in \mathbb {R}\). Also, by c-almost periodicity of f on the vertical line \(x=x_0\) (included in the interior of \(U_1\)), we know that for every \(\delta _1>0\) there exists a relatively dense set of \((\delta _1,c)\)-translation numbers of \(f(x_0+iy)\). Let \(\tau \) be an \((\delta _1,c)\)-translation number of \(f(x_0+iy)\), which means that

$$\begin{aligned} \left| f(x_0+i(y+\tau ) )-cf(x_0+iy)\right| \le \delta _1 ,\quad \text {for all}\;\,y\in \mathbb {R}. \end{aligned}$$
(2)

For every value \(\tau \) defined as above, by (1) and (2) the function given by \(g_{\tau }(z):=f(z+i\tau )-cf(z)\), \(z\in U\), is analytic in U and it satisfies the following inequalities: \(|g_{\tau }(z)| \le (1+|c|)M\ \text { for all }z\in U_2\) and \(|g_{\tau }(x_0+iy)|\le \delta _1\ \text {for all }y\in \mathbb {R}\). Consequently, we can apply [3,  p. 138] (or [8,  Theorem 3.5]) in order to assure that to any \(\varepsilon >0\) (with \(\varepsilon <(1+|c|)M\)) corresponds \(\delta >0\) satisfying

$$|g_{\tau }(z)|=| f(z+i\tau )-cf(z)|\le \varepsilon ,\quad \forall z\in U_1,$$

provided that \(|g_{\tau }(x_0+iy)|= \left| f(x_0+i(y+\tau ) )-cf(x_0+iy)\right| \le \delta \text { for all }y\in \mathbb {R}.\) However, by taking \(\delta _1=\delta \) in (2), it is clear that this last inequality is true for a relatively dense set of \((\delta ,c)\)-translation numbers of \(f(x_0+iy)\). Consequently, the set of \((\varepsilon ,c)\)-translation numbers of f(z) is also a relatively dense set of the real line, and f(z) is c-almost periodic in U. \(\square \)

As a consequence of the result above, we can establish in a simple way certain properties of the c-almost periodic analytic functions defined on vertical strips by using the corresponding properties of the c-almost periodic functions of a real variable.

In any case, we next show that every function in \({\textit{AP}}_c(U,\mathbb {C})\) is bounded on any vertical substrip included in U.

Proposition 2

Given \(c\in \mathbb {C}{\setminus }\{0\}\), let \(f:U\rightarrow \mathbb {C}\) be a c-almost periodic function in a certain vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Then f(z) is bounded in any strips \(\{z\in \mathbb {C}:a<{\text {Re}}z<b\}\) and \(\{z\in \mathbb {C}:a\le {\text {Re}}z\le b\}\) with \(\alpha<a<b<\beta \).

Proof

Take \(U_2=\{z\in \mathbb {C}:a<{\text {Re}}z<b\}\subset U\) with \(\alpha<a<b<\beta \). As f(z) is continuous on \({\text {cl}}U_2\), it is bounded on any compact subset included in \({\text {cl}}U_2\). Now, take \(\varepsilon =1\) and \(U_1={\text {cl}}U_2\). By c-almost periodicity, there exists a number \(l>0\) such that every open interval of length l contains an \((\varepsilon ,c)\)-translation number of f(z) associated with \(U_1\). If \(z=x+iy\) is an arbitrary complex number in \(U_1\), we can assure the existence of an \((\varepsilon ,c)\)-translation number \(\tau \in \mathbb {R}\) of f(z) so that \(y+\tau \in [0,l]\). Also, let \(M=\max \{|f(w)|:w=x+iy\ \text {with }y\in [0,l]\ \text {and }x\in [a,b]\}\). Consequently,

$$\begin{aligned} |cf(z)|\le \left| f(z+i\tau )-cf(z)\right| +|f(x+i(y+\tau ))| \le 1+M, \end{aligned}$$

which yields that

$$\begin{aligned} |f(z)|\le \frac{1+M }{|c| }. \end{aligned}$$

This proves that f(z) is bounded in \(U_1\) (and hence also in \(U_2\)). \(\square \)

Remark 3

In general, the boundedness of the function is not true in the whole strip U. For example, the function \(f(z)=\frac{ 1}{\sinh z }\) is in \({\textit{AP}}_1(U_r,\mathbb {C})\), where \(U_r\) is of the form \(U_r=\{z\in \mathbb {C}:0<{\text {Re}}z<r\}\) for any \(r>0\), but it is not bounded in \(U_r\) (see [8,  p. 86]).

As a consequence of the definition of c-almost periodicity and the proposition above, we obtain the following results.

Corollary 1

Given \(c\in \mathbb {C}{\setminus }\{0\}\), let \(f:U\rightarrow \mathbb {C}\) be a c-almost periodic function in a certain vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Also, consider an arbitrary reduced strip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\), with \(\alpha<\alpha _1<\beta _1<\beta \). Then the following properties are satisfied:

  1. (i)

    The function f(z) is uniformly continuous in \(U_1\).

  2. (ii)

    If f(z) is analytic in U, then all its derivatives are uniformly continuous in \(U_1\).

Proof

(i) Fixed \(\varepsilon >0\) and a reduced strip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\), take l the length associated with \(\varepsilon _1=\frac{|c|\varepsilon }{ 3}\) according to the definition of c-almost periodicity of f(z) in \(U_1\), which means that every open interval of length \(l>0\) contains an \((\varepsilon _1,c)\)-translation number of f(z) associated with \(U_1\). As f(z) is continuous on U, we know that f(z) is uniformly continuous on the compact set \(K=\{z\in \mathbb {C}: \alpha _1\le {\text {Re}}z\le \beta _1,\ -1\le {\text {Im}}z\le 1+l\}\). Let \(\delta <1\) be the positive number associated with \(\varepsilon _1\) according to the property of uniform continuity of f(z) in K, i.e.

$$\begin{aligned} |f(z_1)-f(z_2)|\le \varepsilon _1\quad \text {when}\quad z_1,z_2\in K\quad \text {with}\quad |z_1-z_2|<\delta . \end{aligned}$$

In this way, consider \(z_1,z_2\in U_1\) with \(|z_1-z_2|<\delta \), and take a number \(\tau \in (-{\text {Im}}z_1,-{\text {Im}}z_1+l)\) which is an \((\varepsilon _1,c)\)-translation number of f(z) associated with \(U_1\). Hence \({\text {Im}}z_1+\tau \in [0,l]\subset [-1,1+l]\) (i.e. \(z_1+i\tau \in K\)) and \(|{\text {Im}}(z_1-z_2)|\le |z_1-z_2|<\delta <1\), which yields that \({\text {Im}}z_2+\tau \in [-1,1+l]\) (i.e. \(z_2+i\tau \in K\)). Then it is satisfied

$$\begin{aligned} |cf(z_1)-cf(z_2)|&\le |cf(z_1)-f(z_1+i\tau )|\\&\quad +|f(z_1+i\tau )-f(z_2+i\tau )|\\&\quad +|f(z_2+i\tau )-cf(z_2)|\le 3\varepsilon _1=|c|\varepsilon , \end{aligned}$$

which means that f is uniformly continuous on \(U_1\).

(ii) Since f(z) is analytic in U and it is bounded in any substrip \(\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\) with \(\alpha<\alpha _1<\beta _1<\beta \) (by Proposition 2), this result is now a direct consequence of [8,  Theorem 3.7]. \(\square \)

Corollary 2

Given \(c\in \mathbb {C}{\setminus }\{0\}\), let \(f:U\rightarrow \mathbb {C}\) be a c-almost periodic function in a certain vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Then for every \(\varepsilon >0\) and reduced strip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\) there exist two positive numbers l and \(\delta \) with the property that any interval of length l (of the real line) contains a subinterval of length \(\delta \) whose points are \((\varepsilon ,c)\)-translation numbers of f(z) associated with \(U_1\).

Proof

Fix \(\varepsilon >0\) and take an arbitrary reduced strip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\) with \(\alpha<\alpha _1<\beta _1<\beta \). By Corollary 1 there exists \(\delta _1>0\) such that, under the condition \(|h|<\delta _1\), it is accomplished that

$$\begin{aligned} |f(z+ih)-f(z)|<\frac{\varepsilon }{ 2|c|},\quad \text {for every}\;\,z\in U_1. \end{aligned}$$
(3)

Moreover, by c-almost periodicity, there exists a number \(l_1>0\) such that every open interval of length \(l_1\) contains an \((\frac{\varepsilon }{ 2},c)\)-translation number of f(z) associated with \(U_1\), i.e. a real number \(\tau \) satisfying

$$\begin{aligned} |f(z+i\tau )-cf(z)|\le \frac{\varepsilon }{2},\quad \text {for every}\;\,z\in U_1. \end{aligned}$$
(4)

If \(\tau \in [r,r+l_1]\) for some \(r\in \mathbb {R}\), then \(\tau +h\in [r-\delta _1,r+l_1+\delta _1]\) for any real number h such that \(|h|<\delta _1\). Thus we deduce from (3) and (4) that

$$\begin{aligned} |f(z+i(\tau +h))-cf(z)|&\le |f(z+i(\tau +h))-cf(z+ih)|\\&\quad +|cf(z+ih)-cf(z)|\\&< \frac{\varepsilon }{ 2}+|c|\frac{\varepsilon }{ 2|c|}=\varepsilon , \end{aligned}$$

for every \(z\in U_1\). This means that every \(\tau +h\) with \(|h|<\delta _1\) is an \((\varepsilon ,c)\)-translation number of f(z) associated with \(U_1\). Thus the result holds by taking \(l=l_1+2\delta _1\) and \(\delta =2\delta _1\). \(\square \)

If \(f\in {\textit{AP}}_c(U,\mathbb {C})\) and \(h\in \mathbb {R}\), it is clear from the definition of c-almost periodicity that the function \(f(z+ih)\) is also in \({\textit{AP}}_c(U,\mathbb {C})\). Among other properties, we next analyse the c-almost periodicity of the product by scalars, the complex conjugate, the real and imaginary part, and the multiplicative inverse (or reciprocal) of c-almost periodic functions.

Proposition 3

Given \(c\in \mathbb {C}{\setminus }\{0\}\), let \(f:U\rightarrow \mathbb {C}\) be a c-almost periodic function in a certain vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Then the following properties are satisfied:

  1. (i)

    f(z) is also a \(c^m\)-almost periodic function in U for each \(m\in \mathbb {Z}{\setminus }\{0\}\).

  2. (ii)

    \(\overline{f}(z)\) is a \(\overline{c}^{\, m}\)-almost periodic function in U for each \(m\in \mathbb {Z}{\setminus }\{0\}\).

  3. (iii)

    \(f(\overline{z})\) is a \(\frac{ 1}{c }\)-almost periodic function in U (and hence a \(c^m\)-almost periodic function in U for each \(m\in \mathbb {Z}{\setminus }\{0\}\)).

  4. (iv)

    \(\lambda f(z)\) is a \(c^m\)-almost periodic function in U for each \(m\in \mathbb {Z}{\setminus }\{0\}\) and \(\lambda \in \mathbb {C}\).

  5. (v)

    \(f^2(z):=(f(z))^2\) is a \(c^{2k}\)-almost periodic function in U for each \(k\in \mathbb {Z}{\setminus }\{0\}\).

  6. (vi)

    If \(|f(z)|\ge m>0\) \(\forall z\in U\), then \(\frac{1}{ f}(z):=\frac{1}{ f(z)}\) is a \(\frac{ 1}{c }\)-almost periodic function in U (and hence a \(c^m\)-almost periodic function in U for each \(m\in \mathbb {Z}{\setminus }\{0\}\)).

  7. (vii)

    If \(|c|=1\), then \(|f|:U\rightarrow [0,\infty )\) is an almost periodic function in U.

  8. (viii)

    If \(c\in \mathbb {R}\), then the functions \({\text {Re}}f\) and \({\text {Im}}f\) are c-almost periodic in U.

Proof

Fix \(c\in \mathbb {C}{\setminus }\{0\}\) and \(f\in {\textit{AP}}_c(U,\mathbb {C})\). We first recall that, for every arbitrary \(\varepsilon >0\) and reduced strip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\) with \(\alpha<\alpha _1<\beta _1<\beta \), the set \(E_{c}\{f(z),\varepsilon \}\) (of all \((\varepsilon ,c)\)-translation numbers of f(z) associated with \(U_1\)) is relatively dense. So, fix \(\varepsilon >0\) and such a reduced strip \(U_1\subset U\).

  1. (i)

    Fixed \(m\in \mathbb {N}\), consider the value \(a=1+|c|+\ldots +|c|^{m-1}={\left\{ \begin{array}{ll} m&{} \text {if }|c|= 1\\ \left( \frac{1-|c|^m }{1-|c| }\right) &{} \text {if }|c|\ne 1 \end{array}\right. }\). Note that every \(\tau \in E_{c}\{f(z),\varepsilon /a \}\) satisfies

    $$\begin{aligned} \left| f(z+im\tau )- c^mf(z)\right|&\le \left| f(z+im\tau )-cf(z+i(m-1)\tau )\right| \\&\quad +\left| cf(z+i(m-1)\tau )-c^2f(z+i(m-2)\tau )\right| +\cdots +\\&\quad +\left| c^{m-1}f(z+i\tau )-c^mf(z)\right| \\&\le \frac{\varepsilon }{ a}\left( 1+|c|+\ldots +|c|^{m-1}\right) ,\quad \forall z\in U_1. \end{aligned}$$

    This shows that \(m\tau \in E_{c^m}\{f(z),\varepsilon \}\). Hence f(z) is a \(c^m\)-almost periodic function in U. Finally, by Lemma 1, f(z) is also \(\frac{1 }{ c^{m}}\)-almost periodic function in U. This proves the result.

  2. (ii)

    Note that every \(\tau \in E_{c}\{f(z),\varepsilon \}\) satisfies

    $$\begin{aligned} \left| \overline{f}(z+i\tau )- \overline{c}\overline{f}(z)\right| =\left| f(z+i\tau )-cf(z)\right| \le \varepsilon ,\quad \forall z\in U_1, \end{aligned}$$

    which yields that \(\tau \in E_{\overline{c}}\{\overline{f}(z),\varepsilon \}\). This shows that \(\overline{f}\in {\textit{AP}}_{\overline{c}}(U,\mathbb {C}) \). Finally, we deduce from i) that \(\overline{f}\in {\textit{AP}}_{\,\overline{c}^{\, m}}(U,\mathbb {C})\) for any \(m\in \mathbb {Z}{\setminus }\{0\}\).

  3. (iii)

    Let \(g(z):=f(\overline{z})\), \(z\in U\). Note that every \(\tau \in E_{c}\{f(z),|c|\varepsilon \}\) satisfies

    $$\begin{aligned} \left| g(z+i\tau )- \frac{1 }{ c}g(z)\right|&=\left| f(\overline{z+i\tau } )-\frac{1 }{ c}f(\overline{z})\right| =\left| f(\overline{z}-i\tau )-\frac{1 }{ c}f(\overline{z})\right| \\&=\frac{1 }{ |c|}\left| f(\overline{z})-cf(\overline{z}-i\tau )\right| \le \frac{|c|\varepsilon }{ |c|}=\varepsilon ,\quad \forall z\in U_1, \end{aligned}$$

    which yields that \(\tau \in E_{\frac{1 }{ c}}\{g(z),\varepsilon \}\). This shows that \(g(z)\in {\textit{AP}}_{1/c}(U,\mathbb {C}) \) and, by (i), \(g(z)\in {\textit{AP}}_{c^m}(U,\mathbb {C})\) for any \(m\in \mathbb {Z}{\setminus }\{0\}\).

  4. (iv)

    Fixed \(\lambda \in \mathbb {C}{\setminus }\{0\}\) (the case \(\lambda =0\) is trivial), note that every \(\tau \in E_{c}\{f(z),\frac{ \varepsilon }{|\lambda | } \}\) satisfies

    $$\begin{aligned} \left| \lambda f(z+i\tau )- c\lambda f(z)\right| =|\lambda | \left| f(z+i\tau )-cf(z)\right| \le \left| \lambda \right| \frac{ \varepsilon }{|\lambda | }=\varepsilon ,\quad \forall z\in U_1, \end{aligned}$$

    which, jointly with (i), proves the result.

  5. (v)

    As f is bounded in any reduced strip \(U_1\subset U\) (by Proposition 2), there exists \(M>0\) such that \(|f(z)|\le M\) \(\forall z\in U_1\). Now, note that every \(\tau \in E_{c}\{f(z),\frac{ \varepsilon }{ M(1+|c|)} \}\) satisfies

    $$\begin{aligned} \left| f^2(z+i\tau )- c^2f^2(z)\right|&=\left| (f(z+i\tau )- cf(z))(f(z+i\tau )+ cf(z))\right| \\&\le \left| f(z+i\tau )-cf(z)\right| M(1+|c|)\\&\le \frac{ \varepsilon }{ M(1+|c|)} M(1+|c|)=\varepsilon ,\quad \forall z\in U_1, \end{aligned}$$

    which proves that \(\tau \in E_{c^2}\{f^2(z),\varepsilon \}\). This shows that \(f^2(z)\in {\textit{AP}}_{c^2}(U,\mathbb {C})\). Finally, we deduce from i) that \(f^2(z)\in {\textit{AP}}_{c^{2k}}(U,\mathbb {C})\) for any \(k\in \mathbb {Z}{\setminus }\{0\}\).

  6. (vi)

    If \(|f(z)|\ge m_1>0\) \(\forall z\in U\), note that every \(\tau \in E_{c}\{f(z),\varepsilon |c|m_1^2 \}\) satisfies

    $$\begin{aligned} \left| \frac{1 }{ f(z+i\tau )}- \frac{1 }{ c}\frac{1 }{ f(z)}\right|&=\left| \frac{f(z)-\frac{ 1}{ c}(f(z+i\tau )) }{f(z) f(z+i\tau )}\right| = \left| \frac{f(z+i\tau )-cf(z)}{cf(z) f(z+i\tau )}\right| \\&\le \frac{\varepsilon |c| m_{1}^{2} }{|c|m_{1}^{2}}=\varepsilon , \end{aligned}$$

    for all \(z\in U_1\), which proves that the multiplicative inverse, or reciprocal, of f(z) is in \({\textit{AP}}_{1/c}(U,\mathbb {C})\). Therefore, we deduce from i) that it is also in \({\textit{AP}}_{c^m}(U,\mathbb {C})\) for each \(m\in \mathbb {Z}{\setminus }\{0\}\).

  7. (vii)

    Note that every \(\tau \in E_{c}\{f(z),\varepsilon \}\) satisfies

    $$\begin{aligned} \left| |f(z+i\tau )|-|f(z)|\right|&=\left| |f(z+i\tau )|-|cf(z)|\right| \\&\le \left| f(z+i\tau )-cf(z)\right| \le \varepsilon ,\quad \forall z\in U_1, \end{aligned}$$

    which proves that \(\tau \in E_{1}\{|f(z)|,\varepsilon \}\). This shows the result.

  8. (viii)

    Note that every \(\tau \in E_{c}\{f(z),\varepsilon \}\) satisfies

    $$\begin{aligned} \left| {\text {Re}}(f(z+i\tau ))-c{\text {Re}}(f(z))\right|&=\left| {\text {Re}}\left( f(z+i\tau )-cf(z)\right) \right| \\&\le \left| f(z+i\tau )-cf(z)\right| \le \varepsilon , \end{aligned}$$

    for all \(z\in U_1\), which proves that \(\tau \in E_{c}\{{\text {Re}}(f(z)),\varepsilon \}\). The case \({\text {Im}}f\) is analogous. \(\square \)

Remark 4

Let \(c\in \mathbb {C}\) be a complex number so that \(|c|=1\). Consider the vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty<\alpha<\beta <\infty \). By Example 1, the function \(f(z)=e^{z}\), \(z\in U\), is in \({\textit{AP}}_c(U,\mathbb {C})\). However, if \(c\ne \pm 1\), the function \({\text {Re}}f(x+iy)=e^x\cos (y)\) is not c-almost periodic in U. Indeed, if \(\tau \in \mathbb {R}\), note that

$$\begin{aligned} |{\text {Re}}f(z+i\tau )-c{\text {Re}}f(z)|&=|e^x\cos (y+\tau )-ce^x\cos (y)|\\&=e^x|\cos (y+\tau )-c\cos (y)| \end{aligned}$$

for all \(z=x+iy\in U\). Consequently, \({\text {Re}}f(x+iy)\) is c-almost periodic in U if and only if the function \(g(y)=\cos (y)\) is in \({\textit{AP}}_c(\mathbb {R},\mathbb {C})\). But we know that g(y) is in \({\textit{AP}}_c(\mathbb {R},\mathbb {C})\) if and only if \(c=\pm 1\) (see [12,  Example 2.15]). In fact, given \(\varepsilon >0\) and \(c=e^{i\theta _c}\ne \pm 1\) (with \(\theta _c\in \mathbb {R}\)), the definition of c-almost periodicity leads to the existence of real values \(\tau \) satisfying \(|\cos (x+\tau )-c\cos x|<\varepsilon \) for every \(x\in \mathbb {R}\). In particular, we have

$$\begin{aligned} |\cos \tau -e^{i\theta _c}|<\varepsilon . \end{aligned}$$

However, since \(|\cos \tau -e^{i\theta _c}|=|\cos \tau -\cos \theta _c-i\sin \theta _c|\ge |\sin \theta _c|\ne 0\), the choice \(0<\varepsilon <|\sin \theta _c|\) represents a contradiction.

We next prove that the set \({\textit{AP}}_c(U,\mathbb {C})\) is closed with respect to the topology of uniform convergence on the reduced strips of the vertical strip U.

Proposition 4

Given \(c\in \mathbb {C}{\setminus }\{0\}\), let \(f_n:U\rightarrow \mathbb {C}\) be a sequence of c-almost periodic functions in a certain vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). If \(\{f_n(z)\}_{n\ge 1}\) converges uniformly on the reduced strips of U to a function \(f:U\rightarrow \mathbb {C}\), then f(z) is a c-almost periodic function in U.

Proof

By hypothesis, given \(\varepsilon >0\) and a reduced strip \(U_1\subset U\), there exists \(n_0\in \mathbb {N}\) such that

$$\begin{aligned} |f_n(z)-f(z)|<\min \left\{ \frac{\varepsilon }{3},\frac{\varepsilon }{3|c|}\right\} \quad \text {for each}\;n\ge n_0\; \text {and for all}\;z\in U_1. \end{aligned}$$

Therefore, every \(\tau \) in the set of \((\frac{ \varepsilon }{3},c)\)-translation numbers of \(f_{n_0}(z)\) associated with \(U_1\) satisfies

$$\begin{aligned} |f(z+i\tau )-cf(z)|&\le |f(z+i\tau )-f_{n_0}(z+i\tau )|+|f_{n_0}(z+i\tau )-cf_{n_0}(z)|\\&\quad +|cf_{n_0}(z)-cf(z)|\\&\le \frac{ \varepsilon }{3 }+\frac{ \varepsilon }{3 }+|c|\frac{ \varepsilon }{3|c| }=\varepsilon ,\quad \text {for all}\;z\in U_1, \end{aligned}$$

which shows that \(\tau \) in the set of \((\varepsilon ,c)\)-translation numbers of f(z) associated with \(U_1\). Thus the result holds. \(\square \)

Given an arbitrary \(c\in \mathbb {C}{\setminus }\{0\}\), we already know that the set \({\textit{AP}}_c(U,\mathbb {C})\) is closed with respect to product by scalars. However, generally speaking, we next show that it is not closed with respect to addition or multiplication and, therefore, it is not a vector space with the usual operations (except for the vector space \({\textit{AP}}(U,\mathbb {C})\) which corresponds with the case \(c=1\)).

Example 2

Take \(|c|=1\) (with \(c\ne 1\)) and \(\lambda \in \mathbb {R}{\setminus }\{0\}\). Then the functions \(f_1(z)=e^{\lambda z}\) and \(f_2(z)=e^{-\lambda z}\) are in \({\textit{AP}}_c(U,\mathbb {C})\) (see Example 1). However, it is clear that the function \(f_1(z)\cdot f_2(z)\equiv 1\) is not in \({\textit{AP}}_c(U,\mathbb {C})\).

Now, take \(c=-1\) and \(U=\{z\in \mathbb {C}:a<{\text {Re}}z<b\}\), with \(a<0<b\), and consider the function \(g(z)=g_1(z)+g_2(z)\), \(z\in U\), where \(g_1(z)=\frac{ 1}{ 2}e^{4z}\) and \(g_2(z)=2e^{2z}\). Note that, by Example 1, \(g_1(z)\) and \(g_2(z)\) are in \({\textit{AP}}_{-1}(U,\mathbb {C})\). Suppose that \(g(z)\in {\textit{AP}}_{-1}(U,\mathbb {C})\). Thus for every \(\varepsilon \in (0,1)\) and \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\), with \(\alpha _1<0<\beta _1\), we can find \(\tau \in \mathbb {R}\) such that

$$\begin{aligned} \left| g(z+i\tau )-cg(z)\right| =\left| \frac{1 }{ 2}e^{4(z+i\tau ) }+2e^{2(z+i\tau ) }+\frac{1 }{ 2}e^{4 z}+2e^{2 z}\right| \le \varepsilon ,\quad \text {for all}\;z\in U_1. \end{aligned}$$
(5)

In particular, for \(z=it\in U_1\) we get

$$\begin{aligned} \left| g(z+i\tau )+g(z)\right|&=\left| \frac{1 }{ 2}e^{4i(t+\tau ) }+2e^{2i(t+\tau ) }+\frac{1 }{ 2}e^{4it}+2e^{2it}\right| \\&\ge \left| {\text {Re}}\left( \frac{1 }{ 2}e^{4i(t+\tau ) }+2e^{2i(t+\tau ) }+\frac{1 }{ 2}e^{4it}+2e^{2it}\right) \right| \\&=\left| \frac{1 }{ 2}\cos (4(t+\tau ))+2\cos (2(t+\tau )) +\frac{1 }{ 2}\cos (4t)+2\cos (2t)\right| \\&=\left| 4\cos ^4(t+\tau )-\frac{ 3}{ 2}+4\cos ^4t-\frac{3 }{ 2}\right| ,\quad \text {for all}\;t\in \mathbb {R}. \end{aligned}$$

Indeed, for any \(x\in \mathbb {R}\), we have that

$$\begin{aligned} \frac{1 }{ 2}\cos (4x)+2\cos (2x)&=\cos ^2(2x)+2\cos (2x)-\frac{ 1}{ 2}\\&=(2\cos ^2x-1)^2+2\cos (2x)-\frac{ 1}{ 2}\\&=4\cos ^4x+\frac{1}{ 2}-4\cos ^2x+2(2\cos ^2x-1)=4\cos ^4x-\frac{ 3}{ 2}. \end{aligned}$$

Therefore, for \(z=\pi i\) it is accomplished that

$$\begin{aligned} \left| g(z+i\tau )+g(z)\right| \ge 4\cos ^4\tau +1\ge 1, \end{aligned}$$

which is a contradiction with (5). Consequently, g(z) is not in \({\textit{AP}}_{-1}(U,\mathbb {C})\). This example is inspired by [12,  Example 2.15].

3 Close connections with Bohr’s almost periodicity

We next show some important inclusions which extend some results incorporated in [12,  Corollary 2.10 and Proposition 2.11].

Proposition 5

Let c be a non-zero complex number such that \(\frac{{\text {arg}}c }{ 2\pi }\in \mathbb {Q}\). Take \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Then

$$\begin{aligned} {\textit{AP}}_c(U,\mathbb {C})\subset {\textit{AP}}_{|c|^q}(U,\mathbb {C}), \end{aligned}$$

where \(q\in \mathbb {N}\) is so that \(\frac{{\text {arg}}c }{ 2\pi }=\frac{ p}{ q}\) for a certain \(p\in \mathbb {Z}\) such that \((p,q)=1\). In particular, under the same condition, the case \(|c|=1\) yields the inclusion \({\textit{AP}}_c(U,\mathbb {C})\subset {\textit{AP}}(U,\mathbb {C})\).

Proof

Put \({\text {arg}}c=\frac{2\pi p }{q } \) with \(p\in \mathbb {Z}\) and \(q\in \mathbb {N}\) so that \((p,q)=1\) (i.e. the greatest common divisor of p and q is equal to 1). Then \(c^q=|c|^qe^{qi{\text {arg}}c}=|c|^qe^{2p\pi i}=|c|^q\). Let \(f\in {\textit{AP}}_c(U,\mathbb {C})\). By Proposition 3(i), it is accomplished that \(f\in {\textit{AP}}_{c^q}(U,\mathbb {C})={\textit{AP}}_{|c|^q}(U,\mathbb {C})\), which proves the result. \(\square \)

Proposition 6

Let c be a non-zero complex number such that \(\frac{{\text {arg}}c }{ \pi }\notin \mathbb {Q}\) and \(|c|=1\). Take \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Then \({\textit{AP}}_c(U,\mathbb {C})\subset {\textit{AP}}(U,\mathbb {C})\).

Proof

Let \(f\in {\textit{AP}}_c(U,\mathbb {C})\), and fix \(\varepsilon >0\) and a reduced strip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\). We recall that, by Proposition 2, there exists \(M>0\) such that \(|f(z)|<M\) for all \(z\in U_1\). Suppose that \({\text {arg}}c\) is not a rational multiple of \(\pi \), which yields that \(e^{ni{\text {arg}}c}\ne 1\) for all \(n\in \mathbb {N}\). Now, choose \(n_1,n_2\in \mathbb {N}\) such that \(|e^{n_2i{\text {arg}}c}-e^{n_1i{\text {arg}}c}|<\frac{\varepsilon }{ 2M}\) (note that the existence of \(n_1\) and \(n_2\) is assured in virtue of \(\{e^{ni{\text {arg}}c}:n\in \mathbb {N}\}\subset \{z\in \mathbb {C}:|z|=1\}\) and the length of the unit circumference is finite). Hence

$$\begin{aligned} |e^{(n_2-n_1)i{\text {arg}}c}-1|=|e^{n_2i{\text {arg}}c}-e^{n_1i{\text {arg}}c}|<\frac{\varepsilon }{ 2M}. \end{aligned}$$

Take \(m_{\varepsilon }=n_2-n_1\). Then, by Proposition 3(i), it is accomplished that \(f\in {\textit{AP}}_{c^{m_{\varepsilon }}}(U,\mathbb {C})\). Consequently, every \(\tau \in E_{c^{m_{\varepsilon }}}\{f(z),U_1,\varepsilon /2 \}\) satisfies

$$\begin{aligned} \left| f(z+i\tau )- f(z)\right| \le \left| f(z+i\tau )-c^{m_{\varepsilon }}f(z)\right| + \left| c^{m_{\varepsilon }}f(z)-f(z)\right| \le \varepsilon ,\quad \forall z\in U_1, \end{aligned}$$

which proves the result. \(\square \)

We already know some conditions under which it can be assured that the sets of c-almost periodic functions are also almost periodic in some vertical strips of the complex plane. However, we will improve these results in the subsequent development (see Corollary 3 at the end of this section).

For this purpose, we next show a result concerning the set of values of a c-almost periodic function on a vertical line, which extends [3,  p. 144, 9\(^{\circ }\). Theorem]. In this respect, given a function f(z) defined in a vertical strip U and a real number \(\sigma _0\in U\), consider the notation \({\text {Img}}(f(\sigma _0+it))=\{w\in \mathbb {C}:\exists t\in \mathbb {R}\ \text {such that }w=f(\sigma _0+it)\}\), i.e. \({\text {Img}}(f(\sigma _0+it))\) is the set of values assumed by f(z) on the straight line \({\text {Re}}z=\sigma _0\).

Theorem 1

Given \(c\in \mathbb {C}{\setminus }\{0\}\), let \(f:U\rightarrow \mathbb {C}\) be an analytic c-almost periodic function in a certain vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Consider \(\sigma _0\in (\alpha ,\beta )\) and take \({\text {Img}}(f(\sigma _0+it))=\{w\in \mathbb {C}:\exists t\in \mathbb {R}\ \text {such that }w=f(\sigma _0+it)\}\). Then the function f(z) assumes all the values in the set of the accumulation points of \({\text {Img}}(f(\sigma _0+it))\) in any vertical strip of the form \(\{z\in \mathbb {C}:\sigma _0-\delta<{\text {Re}}z<\sigma _0+\delta \}\), with \(\delta >0\).

Proof

Let \(w_0\) be an accumulation point of the set \({\text {Img}}(f(\sigma _0+it))\), and consider the function \(g(z):=f(z)-w_0\), \(z\in U\). If g(z) vanishes at \(z=\sigma _0+it\) for some \(t\in \mathbb {R}\), then the result is straightforward. Suppose that g(z) does not vanish at the vertical line \(x=\sigma _0\). Thus there exists a sequence of points of the form \(\{\sigma _0+it_n\}_{n\ge 1}\) such that \(\{g(\sigma _0+it_n)\}_{n\ge 1}\) tends to 0 as n goes to \(\infty \) (hence \(\{cg(\sigma _0+it_n)\}_{n\ge 1}\) also tends to 0 as n goes to \(\infty \)). Now, take \(y_0\in \mathbb {R}\) such that \(\varepsilon =|f(\sigma _0+iy_0)-z_0|>0\), where \(z_0=cw_0\) (if \(y_0\) did not exist, the set \({\text {Img}}(f(\sigma _0+it))=\{z_0\}\) would not have accumulation points). By c-almost periodicity, the set \(E_{c}\{f(z),\varepsilon /2\}\) of the \((\varepsilon /2,c)\)-translation numbers of f(z) associated with the vertical line \(\{z\in \mathbb {C}:{\text {Re}}z=\sigma _0\}\) is relatively dense, which yields that there exists \(l_{\varepsilon }>0\) such that any interval of length \(l_{\varepsilon }\) in the vertical line \(x=\sigma _0\) contains a point \(\tau \) at which

$$\begin{aligned} |f(\sigma _0+it+i\tau )-cf(\sigma _0+it)|\le \frac{\varepsilon }{ 2},\quad \text {for all}\;\,t\in \mathbb {R}. \end{aligned}$$

Thus

$$\begin{aligned} |cg(\sigma _0+iy_0-i\tau )|&=|cf(\sigma _0+iy_0-i\tau )-z_0|\\&=|cf(\sigma _0+iy_0-i\tau )-f(\sigma _0+iy_0)+f(\sigma _0+iy_0)-z_0|\\&\ge \varepsilon -|f(\sigma _0+iy_0)-cf(\sigma _0+iy_0-i\tau )|\\&\ge \frac{\varepsilon }{ 2}>0. \end{aligned}$$

Furthermore, given \(\delta >0\), take \(U_{\delta }=\{z\in \mathbb {C}:\sigma _0-\delta<{\text {Re}}z<\sigma _0+\delta \}\). We know that f(z) is bounded in \(U_{\delta }\) (by Proposition 2). Consequently, by [3,  p. 139, theorem], the function \(g(z)=f(z)-w_0\) has zeros in \(U_{\delta }\), which proves the result. \(\square \)

We next show that the set of all the values of a c-almost periodic function (in \({\textit{AP}}_c(U,\mathbb {C})\)) on any vertical substrip of U is relatively compact in \(\mathbb {C}\), which represents an extension of [8,  Theorem 6.5].

Proposition 7

Given \(c\in \mathbb {C}{\setminus }\{0\}\), let \(f:U\rightarrow \mathbb {C}\) be a c-almost periodic function in a certain vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Then for any reduced vertical substrip \(V\subset U\), the image set \(\{w\in \mathbb {C}:\exists z\in V\ \text {such that }w=f(z)\}\) is relatively compact in \(\mathbb {C}\).

Proof

Let us demonstrate that for any \(\varepsilon >0\) the set of values of f in any vertical reduced substrip of U can be covered by finitely many balls of radius \(\varepsilon \) (recall that, in the Banach spaces, the relatively compact sets coincide with the precompact sets). By c-almost periodicity, for every reduced strip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\), there exists a number \(l>0\) such that every open interval of length l contains an \((\varepsilon ,c)\)-translation number of f(z) associated with \(U_1\). So, fix a reduced strip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\) with \(\alpha<\alpha _1<\beta _1<\beta \). As f(z) is continuous on the vertical strip U, recall first that the set of values of f(z) on any compact subset included in U is compact. In this way, consider a finite amount of balls of radius \(\frac{\varepsilon }{ 2|c|}\) which cover the set \(\{f(z):z=x+iy\ \text {with }y\in [0,l]\ \text {and }x\in [\alpha _1,\beta _1]\}\), and let \(\{z_1,z_2,\ldots ,z_p\}\) denote the centers of these balls. Now, if \(z=x+iy\) is an arbitrary complex number in \(U_1\), we can assure the existence of an \((\varepsilon /2,c)\)-translation number \(\tau \in \mathbb {R}\) (in the interval \([y-l,y]\)) of f(z) so that \(y-\tau \in [0,l]\). Also, let \(z_j\) be the center of the ball of radius \(\frac{\varepsilon }{ 2|c|}\) which contains \(f(x+i(y-\tau ))\). Therefore

$$\begin{aligned} |f(z)-cz_j|\le |f(z)-cf(z-i\tau )|+|cf(z-i\tau )-cz_j|\le \frac{ \varepsilon }{ 2}+|c|\frac{ \varepsilon }{ 2|c|}=\varepsilon . \end{aligned}$$

This proves that the balls of centers \(\{cz_1,cz_2,\ldots ,cz_p\}\) and radius \(\varepsilon \) cover the set \(\{f(z):z\in U_1\}\). \(\square \)

As a consequence of the result above, given a vertical strip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\) (or \(U_1=\{z\in \mathbb {C}:\alpha _1<{\text {Re}}z< \beta _1\}\)), with \(\alpha<\alpha _1<\beta _1<\beta \), from any sequence \(\{f(z_j):z_j\in U_1\}_{j\ge 1}\) we can extract a subsequence which is convergent. In particular, for every \(z\in U_1\), the sequence \(\{f(z+ih_j)\}_{j\ge 1}\) admits a subsequence \(\{f(z+ih_{j_k})\}_{k\ge 1}\) which is convergent.

If \(c\in \mathbb {C}{\setminus }\{0\}\) and \(h\in \mathbb {R}\), recall that the vertical translate \(f_h(z):=f(z+ih)\) is in \({\textit{AP}}_c(U,\mathbb {C})\) for any function \(f\in {\textit{AP}}_c(U,\mathbb {C})\). We next prove that the family of functions \(\{f_h(z):h\in \mathbb {R}\}\) is relatively compact on the vertical substrips of U (in the set of bounded continuous complex functions defined on U). This property, whose proof is similar to that for the case of almost periodic functions, represents an extension of the necessary condition of [8,  Theorem 6.6].

Theorem 2

Given \(c\in \mathbb {C}{\setminus }\{0\}\), let \(f:U\rightarrow \mathbb {C}\) be a c-almost periodic function in a certain vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Then the family of vertical translates \(\{f_h(z):h\in \mathbb {R}\}\) (with \(f_h(z):=f(z+ih)\), \(z\in U\)) is relatively compact on any reduced vertical strip of U.

Proof

Let \(\{f_{h_k}(z)\}_{k\ge 1}\) be a sequence of vertical translates of f, and consider \(S=\{s_n\}_{n\ge 1}\) a dense set in U (for example \(S=\left( \mathbb {Q}+i\mathbb {Q}\right) \cap U=\left( \mathbb {Q}\cap (\alpha ,\beta )\right) +i\mathbb {Q}\)). In this way, from the sequence of complex values \(\{f(s_1+ih_k)\}_{k\ge 1}\) we can extract a subsequence \(\{f(s_1+ih_{k,j_1})\}_{j_1\ge 1}\) which is convergent in \(\mathbb {C}\) (by Proposition 7). Analogously, from the sequence \(\{f(s_2+ih_{k,j_1})\}_{j_1\ge 1}\) we can extract a subsequence \(\{f(s_2+ih_{k,j_2})\}_{j_2\ge 1}\) which is convergent in \(\mathbb {C}\), and so on. In general, by using a diagonal procedure of extraction, the sequence \(\{f(s_k+ih_{k,j_k})\}_{k\ge 1}\) is convergent, and thus \(\{f(z+ih_{k,j_k})\}_{k\ge 1}\) is convergent for every \(z\in S\). In fact, let us demonstrate that the sequence \(\{f(z+ih_{k,j_k})\}_{k\ge 1}\) is uniformly convergent in every reduced substrip \(U_1=\{z\in \mathbb {C}:\alpha _1\le {\text {Re}}z\le \beta _1\}\subset U\), with \(\alpha<\alpha _1<\beta _1<\beta \). Indeed, given \(\varepsilon >0\), by c-almost periodicity there exists a number \(l>0\) such that every open interval of length l contains a \((\frac{ |c|\varepsilon }{ 5},c)\)-translation number of f(z) associated with \(U_1\), i.e. a real number \(\tau \) satisfying the condition

$$\begin{aligned} \left| f(z+i\tau )-cf(z)\right| \le \frac{|c|\varepsilon }{ 5} ,\quad \text {for all}\;\,z\in U_1. \end{aligned}$$
(6)

Also, by Corollary 1, we know that f(z) is uniformly continuous in any reduced vertical substrip of U, which yields the existence of \(\delta >0\) such that

$$\begin{aligned} |f(z_j)-f(z_k)|<\frac{|c|\varepsilon }{ 5}\quad \text {for any}\;z_j,z_k\in U_1\;\text {with}\;|z_j-z_k|<\delta . \end{aligned}$$
(7)

Now, take a subdivision of the square \(C_l=[\alpha _1,\beta _1]\times [0,l]\) in such a way that \(C_l=\bigcup _{j,k=1}^nC_{l,j,k}\), where every \(C_{l,j,k}=[\gamma _{j-1},\gamma _j]\times [\xi _{k-1},\xi _k]\), \(j,k=1,\ldots ,n\), is so that \(|(\gamma _j+i\xi _k)-(\gamma _{j-1}+i\xi _{k-1})|<\delta \) (the length of the diagonal of every subsquare is less than \(\delta \)). Choose a point of S in each subsquare \(C_{l,j,k}\) of \(C_l\), and denote the set of all them as \(S_0=\{p_{1},p_2,\ldots ,p_t\}\). Since \(S_0\) is a finite set, the sequence \(\{f(z+ih_{k,j_k})\}_{j\ge 1}\) is uniformly convergent with respect to \(z\in S_0\). Hence, we can determine a positive integer number N such that for \(n,m\ge N\) we have

$$\begin{aligned} |f(p_k+ih_{n,j_n})-f(p_k+ih_{m,j_m})|<\frac{ |c|\varepsilon }{ 5},\quad k=1,2,\ldots ,t. \end{aligned}$$
(8)

Finally, take an arbitrary \(z=x+iy\in U_1\), and let \(\tau \) be an \((\varepsilon ,c)\)-translation number of f(z) (associated with \(U_1\)) with \(\tau \in [-y,-y+l]\), which yields that \(y+\tau \in [0,l]\) and \(z+i\tau \) belongs to a certain subsquare of \(C_l\). Denote by \(p_j\) the complex number in \(S_0\) (corresponding with this subsquare) such that \(|z+i\tau -p_j|<\delta \). Consequently, if \(n,m\ge N\) (recall that N does not depend on the point \(z\in U_1\)) then

$$\begin{aligned} |c||f(z+ih_{n,j_n})-f(z+ih_{m,j_m})|&=|cf(z+ih_{n,j_n})-cf(z+ih_{m,j_m})|\\&\le |cf(z+ih_{n,j_n})-f(z+ih_{n,j_n}+i\tau )|\\&\quad +|f(z+ih_{n,j_n}+i\tau )-f(p_j+ih_{n,j_n})|\\&\quad +|f(p_j+ih_{n,j_n})-f(p_j+ih_{m,j_m})|\\&\quad +|f(p_j+ih_{m,j_m})-f(z+ih_{m,j_m}+i\tau )|\\&\quad +|f(z+ih_{m,j_m}+i\tau )-cf(z+ih_{m,j_m})|\\&<\frac{|c|\varepsilon }{ 5}+\frac{|c|\varepsilon }{ 5}+\frac{|c|\varepsilon }{ 5}+\frac{|c|\varepsilon }{ 5}+\frac{|c|\varepsilon }{ 5}\\&=|c|\varepsilon , \end{aligned}$$

where (6) was used in the first and the last terms of the strict inequality, (7) in the second and fourth terms, and (8) in the third term. Hence the last inequality shows that the sequence \(\{f(z + ih_{n,j_n})\}_{n\ge 1}\) satisfies Cauchy’s condition for uniform convergence on \(U_1\) (in fact, also on \(V=\{z\in \mathbb {C}:\alpha _1<{\text {Re}}z<\beta _1\}\) and any reduced strip of V). We deduce from Proposition 4 that the limit function is in \({\textit{AP}}_c(V,\mathbb {C})\). Consequently, the initial sequence of vertical translates \(\{f_{h_k}(z)\}_{k\ge 1}\) contains a subsequence that converges uniformly on every reduced strip (in \({\textit{AP}}_c(V,\mathbb {C})\)), and the result holds. \(\square \)

It is known that Bohr’s notion of almost periodicity of a function defined on \(\mathbb {R}\) is equivalent to the relative compactness of the set of its translates with respect to the topology of the uniform convergence (see e.g. [3, 16, 17]). In the same terms, the property of relative compactness of the vertical translates, with respect to the topology of the uniform convergence on reduced strips, identifies the class of almost periodic functions defined on vertical strips of the complex plane. This means that the converse of Theorem 2 is only true for the case \(c=1\). Although this result is known, we provide their proof here for the sake of completeness.

Lemma 2

Given a vertical strip \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \), then \(f\in {\textit{AP}}(U,\mathbb {C})\) if and only if the family of vertical translates \(\{f_h(z):h\in \mathbb {R}\}\) (with \(f_h(z):=f(z+ih)\), \(z\in U\)) is relatively compact on any reduced vertical strip of U.

Proof

The necessity is proved in Theorem 2 (which is also true for the case \(c=1\)).

To prove the sufficiency, suppose by reductio ad absurdum that f is not an almost periodic function in the strip U. Thus there exists at least one real value \(\varepsilon >0\) and a reduced substrip \(U_1\subset U\) such that for any \(l>0\) we can determine an interval of length l in the real line which does not contain any \(\varepsilon \)-translation number of f(z) (associated with \(U_1\)). Now, consider an arbitrary real number \(h_{1}\) and an interval \((a_{1},b_{1})\subset \mathbb {R}\) of length greater than \(2|h_{1}|\) which does not contain any \(\varepsilon \)-translation number of f(z) (associated with \(U_1\)). If we take \(h_{2}=\frac{ 1}{ 2}(a_{1}+b_{1}),\) then \(h_{2}-h_{1}\in (a_{1},b_{1})\) and, consequently, \(h_{2}-h_{1}\) cannot be an \(\varepsilon \)-translation number of f(z) (associated with \(U_1\)). In the same way, there exists an interval \((a_{2},b_{2})\subset \mathbb {R}\) of length greater than \(2(|h_{1}|+|h_{2}|)\) which does not contain any \(\varepsilon \)-translation number of f(z) (associated with \(U_1\)). If we take \(h_{3}=\frac{ 1}{ 2}(a_{2}+b_{2})\), this fact yields that \(h_{3}-h_{1},\ h_{3}-h_{2}\in (a_{2},b_{2})\) and hence \(h_{3}-h_{1}\) and \(h_{3}-h_{2}\) are not \(\varepsilon \)-translation numbers of f(z) (associated with \(U_1\)). If we reiterate this process in a similar manner, we construct a sequence of real numbers \(h_1,h_2,h_3,\ldots \) such that none of the differences \( h_{i}-h_{j}\), \(i,j\ge 1\), is an \(\varepsilon \)-translation number of f(z) (associated with \(U_1\)). Therefore, for any i and j we have

$$\begin{aligned}&\sup \{\left| f(z+ih_{i})-f(z+ih_{j})\right| :z\in U_1\}\\&\quad =\sup \{\left| f(w+i(h_{i}-h_{j}))-f(w)\right| :w\in U_1\}> \varepsilon . \end{aligned}$$

In fact, we know that there exists \(w_0\in U_1\) satisfying the inequality \(\left| f(w_0+i(h_{i}-h_{j}))-f(w_0)\right| >\varepsilon \), which yields that the point \(z_0=w_0-ih_j\in U_1\) satisfies \(\left| f(z_0+ih_{i})-f(z_0+ih_{j})\right| >\varepsilon \). Consequently, the sequence of vertical translates \(\left\{ f(z+ih_{n})\right\} _{n\ge 1} \) does not contain any subsequence uniformly convergent on \(U_1\). This contradicts our hypothesis. Hence the result holds. \(\square \)

Now, we formulate the following corollary of Theorem 2 and Lemma 2 which states that every c-almost periodic function in a vertical strip U is also almost periodic in U.

Corollary 3

Let c be a non-null complex number and \(U=\{z\in \mathbb {C}:\alpha<{\text {Re}}z<\beta \}\), with \(-\infty \le \alpha <\beta \le \infty \). Then \({\textit{AP}}_c(U,\mathbb {C})\subset {\textit{AP}}(U,\mathbb {C})\).

Remark 5

As a consequence of Corollary 3, we have proved that Proposition 3, point i), is also true for the case \(m=0\), i.e. if \(f\in {\textit{AP}}_c(U,\mathbb {C})\) then \(f\in {\textit{AP}}_{c^m}(U,\mathbb {C})\) for each \(m\in \mathbb {Z}\).

It is worth noting that, mutatis mutandi, Theorem 2 can be analogously proved for the case of c-almost periodic functions f(x) defined on \(\mathbb {R}\) (with respect to the topology of the uniform convergence on \(\mathbb {R}\)). In this respect, the paper [12,  p. 181] includes the statement that \({\textit{AP}}_c(\mathbb {R},\mathbb {C})\subset {\textit{AP}}(\mathbb {R},\mathbb {C})\) is true for the case \(|c|=1\) (see [12,  Proposition 2.11 and comments above]). In our case, we have extended this result for every value \(c\in \mathbb {C}{\setminus }\{0\}\).

Corollary 4

Let c be a non-null complex number. Then \({\textit{AP}}_c(\mathbb {R},\mathbb {C})\subset {\textit{AP}}(\mathbb {R},\mathbb {C})\).

Remark 6

During the refereeing process, a reviewer informed us of the notion introduced in the ArXiv paper [15,  Definition 2.6] in connection with our Definition 1, where it is necessary to use the identification of vertical strips in the complex plane with the corresponding subsets of the Euclidean space \(\mathbb {R}^2\).