1 Introduction

The main concepts and results of this paper are distillated from the following elementary observations. Assume that I is a nonempty interval and a function \(f :I\rightarrow {\mathbb {R}}\) satisfies the inequality

$$\begin{aligned} f(x)\le f(y)+\varepsilon (y-x)^p \qquad (x,y\in I,\,x<y) \end{aligned}$$
(1.1)

for some nonnegative constant \(\varepsilon \) and real constant \(p\in {\mathbb {R}}\). That is, f is nondecreasing with an error term described in terms of the pth power function. Clearly, if \(\varepsilon =0\), then the above condition is equivalent to the nondecreasingness of f. Conversely, one can notice that every nondecreasing function f satisfies (1.1). On the other hand, if \(p=1\), then (1.1) holds if and only if the function \(g(x):=f(x)+\varepsilon x\) is nondecreasing and hence \(f(x)=-\varepsilon x\) is a strictly decreasing solution of (1.1). If \(p<1\), then the function \(f(x):=-\varepsilon x^p\)\((x>0)\) is a strictly decreasing solution of inequality (1.1) on the interval \(I= ] 0,\infty [ \).

Surprisingly, for \(p>1\), the situation is completely different. Fix \(a<b\) in I, then choose \(n\in {\mathbb {N}}\) arbitrarily, set \(u:=(b-a)/n\) and apply inequality (1.1) for the values \(x:=a+(k-1)u\) and \(y:=a+ku\). Then we get

$$\begin{aligned} f(a+(k-1)u)\le f(a+ku)+\varepsilon u^p \qquad (k\in \{1,\dots ,n\}). \end{aligned}$$

Adding up these inequalities side by side for \(k\in \{1,\dots ,n\}\), after trivial simplifications, we arrive at

$$\begin{aligned} f(a)=f(a+0u) \le f(a+nu)+n\varepsilon u^p = f(b)+\varepsilon n^{1-p}(b-a)^p \qquad (n\in {\mathbb {N}}). \end{aligned}$$

Upon taking the limit \(n\rightarrow \infty \), it follows that

$$\begin{aligned} f(a)\le f(b) \qquad (a,b\in I,\,a<b), \end{aligned}$$

which shows that f is nondecreasing. Therefore, for \(p>1\) a function \(f :I\rightarrow {\mathbb {R}}\) satisfies (1.1) for some nonnegative \(\varepsilon \) if and only if f is nondecreasing.

Another motivation for our paper comes from the theory of approximate convexity which has a rich literature, see for instance [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34, 36,37,38,39]. In these papers several aspects of approximate convexity were investigated: stability problems, Bernstein–Doetsch-type theorems, Hermite–Hadamard type inequalities, etc.

In the paper [35], the particular case \(p=0\) of inequality (1.1) was considered and the following result was proved: A function \(f :I\rightarrow {\mathbb {R}}\) satisfies (1.1) for some \(\varepsilon \ge 0\) with \(p=0\) if and only if there exists a nondecreasing function \( g :I\rightarrow {\mathbb {R}}\) such that \(|f-g|\le \varepsilon /2\) holds on I. In other words, certain approximately monotone functions can be approximated by nondecreasing functions.

The above described observations and results motivate the investigation of classes of functions that obey a more general approximate monotonicity and also the related Hölder property. In fact, the class of approximate Hölder functions was introduced in the paper [26], but this property was only investigated in the related context of approximate convexity. In this paper, we describe structural properties of these function classes, determine the error function which is the most optimal one. We show that optimal error functions for approximate monotonicity and for the Hölder property must be subadditive and absolutely subadditive, respectively. Then we offer a precise formula for the lower and upper approximately monotone and Hölder envelopes and also obtain sandwich-type theorems. In the last section, we introduce a generalization of the classical notion of total variation and we prove a generalization of the Jordan Decomposition Theorem known for functions of bounded variations.

2 On \(\Phi \)-monotone and \(\Phi \)-Hölder functions

Let I be a nonempty open real interval throughout this paper and let \(\ell (I)\in ]0,\infty ]\) denote its length. The symbols \({\mathbb {R}}\) and \({\mathbb {R}}_+\) denote the sets of real and nonnegative real numbers, respectively.

The class of all functions \( \Phi :[0,\ell (I) [ \rightarrow {\mathbb {R}}_+\), called error functions, will be denoted by \({\mathcal {E}}(I)\). Obviously, \({\mathcal {E}}(I)\) is a convex cone, i.e., it is closed with respect to addition and multiplication by nonnegative scalars. In what follows, we are going to define four properties related to an error function \(\Phi \in {\mathcal {E}}(I)\).

A function \(f :I\rightarrow {\mathbb {R}}\) will be called \(\Phi \)-monotone if, for all \(x,y\in I\) with \(x\le y\),

$$\begin{aligned} f(x)\le f(y)+\Phi (y-x). \end{aligned}$$
(2.1)

If this inequality is satisfied with the identically zero error function \(\Phi \), then we say that f is monotone (increasing). The class of all \(\Phi \)-monotone functions on I will be denoted by \({\mathcal {M}}_\Phi (I)\). We also consider the class of all functions that are \(\Phi \)-monotone for some error function \(\Phi \in {\mathcal {E}}(I)\):

$$\begin{aligned} {\mathcal {M}}(I):=\bigcup _{\Phi \in {\mathcal {E}}(I)}{\mathcal {M}}_\Phi (I). \end{aligned}$$

A function \(f :I\rightarrow {\mathbb {R}}\) will be called \(\Phi \)-\({H\ddot{o}lder}\) if, for all \(x,y\in I\),

$$\begin{aligned} |f(x)-f(y)|\le \Phi (|x-y|). \end{aligned}$$
(2.2)

The class of all \(\Phi \)-Hölder functions on I will be denoted by \({\mathcal {H}}_\Phi (I)\). The family of all functions that are \(\Phi \)-Hölder for some error function \(\Phi \in {\mathcal {E}}(I)\) will be denoted by \({\mathcal {H}}(I)\):

$$\begin{aligned} {\mathcal {H}}(I):=\bigcup _{\Phi \in {\mathcal {E}}(I)}{\mathcal {H}}_\Phi (I). \end{aligned}$$

Proposition 2.1

Let \(\Phi _1,\dots ,\Phi _n\in {\mathcal {E}}(I)\) and \(\alpha _1,\dots ,\alpha _n\in {\mathbb {R}}_+\). Then

$$\begin{aligned} \alpha _1{\mathcal {M}}_{\Phi _1}(I)+\cdots +\alpha _n{\mathcal {M}}_{\Phi _n}(I)&\subseteq {\mathcal {M}}_{\alpha _1\Phi _1+\cdots +\alpha _n\Phi _n}(I). \end{aligned}$$

In particular, for all functions \(\Phi \in {\mathcal {E}}(I)\), the class \({\mathcal {M}}_\Phi (I)\) is convex. Furthermore, \({\mathcal {M}}(I)\) is a convex cone.

Proof

To prove the first inclusion, let \(f\in \alpha _1{\mathcal {M}}_{\Phi _1}(I)+\cdots +\alpha _n{\mathcal {M}}_{\Phi _n}(I)\). Then, there exist \(f_1,\dots ,f_n\) belonging to \({\mathcal {M}}_{\Phi _1}(I),\dots ,{\mathcal {M}}_{\Phi _n}(I)\), respectively, such that

$$\begin{aligned} f=\alpha _1 f_1+\dots +\alpha _n f_n. \end{aligned}$$
(2.3)

Then, for all \(x,y\in I\) with \(x\le y\), we have

$$\begin{aligned} f_i(x)\le f_i(y)+\Phi _i(y-x) \qquad (i\in \{1,\dots ,n\}). \end{aligned}$$

Multiplying this inequality by \(\alpha _i\) and summing up side by side, we arrive at

$$\begin{aligned} f(x)=\sum _{i=1}^{n} \alpha _i f_i(x) \le \sum _{i=1}^{n} \alpha _if_i(y)+\sum _{i=1}^{n} \alpha _i\Phi _i(y-x) = f(y)+\Phi (y-x), \end{aligned}$$

where \(\Phi :=\sum _{i=1}^{n}\alpha _i\Phi _i\). This shows that \(f\in {\mathcal {M}}_{\Phi }(I)\), which proves statement.

The additional statements are immediate consequences of what we have proved. \(\square \)

The following result is the counterpart of the previous statement.

Proposition 2.2

Let \(\Phi _1,\dots ,\Phi _n\in {\mathcal {E}}(I)\) and \(\alpha _1,\dots ,\alpha _n\in {\mathbb {R}}\). Then

$$\begin{aligned} \alpha _1{\mathcal {H}}_{\Phi _1}(I)+\cdots +\alpha _n{\mathcal {H}}_{\Phi _n}(I)&\subseteq {\mathcal {H}}_{|\alpha _1|\Phi _1+\cdots +|\alpha _n|\Phi _n}(I). \end{aligned}$$

In particular, for all functions \(\Phi \in {\mathcal {E}}(I)\), the class \({\mathcal {H}}_\Phi (I)\)is convex and centrally symmetric, i.e., \({\mathcal {H}}_\Phi (I)\) is closed with respect to multiplication by \((-1)\). Furthermore, \({\mathcal {H}}(I)\) is a linear space.

Proof

To prove the first inclusion, let \(f\in \alpha _1{\mathcal {H}}_{\Phi _1}(I)+\cdots +\alpha _n{\mathcal {H}}_{\Phi _n}(I)\). Then, there exist \(f_1,\dots ,f_n\) belonging to \({\mathcal {H}}_{\Phi _1}(I),\dots ,{\mathcal {H}}_{\Phi _n}(I)\), respectively, such that (2.3) holds. Then, for all \(x,y\in I\), we have

$$\begin{aligned} |f_i(x)-f_i(y)|\le \Phi _i(y-x) \qquad (i\in \{1,\dots ,n\}). \end{aligned}$$

Multiplying this inequality by \(|\alpha _i|\) and summing up side by side, we arrive at

$$\begin{aligned} |f(x)-f(y)|= & {} \bigg |\sum _{i=1}^{n} \alpha _i (f_i(x)-f_i(y))\bigg | \le \sum _{i=1}^{n} |\alpha _i|\!\cdot \!|f_i(x)-f_i(y)|\\&\le \sum _{i=1}^{n} |\alpha _i|\Phi _i(y-x) =\Phi (y-x), \end{aligned}$$

where \(\Phi :=\sum _{i=1}^{n}|\alpha _i|\Phi _i\). This shows that \(f\in {\mathcal {H}}_{\Phi }(I)\), which proves the statement.

The additional statements are immediate consequences of what we have proved.\(\square \)

Proposition 2.3

Let \(\Phi \in {\mathcal {E}}(I)\). Then

$$\begin{aligned} {\mathcal {H}}_\Phi (I)={\mathcal {M}}_\Phi (I)\cap (-{\mathcal {M}}_\Phi (I)). \end{aligned}$$
(2.4)

Furthermore,

$$\begin{aligned} {\mathcal {H}}(I)={\mathcal {M}}(I)\cap (-{\mathcal {M}}(I)). \end{aligned}$$
(2.5)

Proof

Assume that f is a \(\Phi \)-Hölder function. Then, for any \(x,y\in I\), f will satisfy the inequality (2.2) and hence for any \(x,y\in I\) with \(x\le y\) the inequalities

$$\begin{aligned} f(x)-f(y)\le \Phi (y-x),\qquad f(y)-f(x)\le \Phi (y-x) \end{aligned}$$
(2.6)

holds. Rearranging these inequalities, we have that both f and \(-f\) are \(\Phi \)-monotone. That is \(f\in {\mathcal {M}}_\Phi (I)\cap (-{\mathcal {M}}_\Phi (I)).\)

To show the inverse inclusion, let \(f\in {\mathcal {M}}_\Phi (I)\cap (-{\mathcal {M}}_\Phi (I)).\) Due to the property of \(\Phi \)-monotonicity of the two classes of function, f will satisfy the two inequalities in (2.6). Hence, inequality (2.2) holds for \(x\le y\). This inequality being symmetric in x and y, we get that (2.2) is satisfied for all \(x,y\in I\).

To verify (2.5), let first f be a member of \({\mathcal {H}}(I)\). Then there exists \(\Phi \in {\mathcal {E}}(I)\) such that \(f\in {\mathcal {H}}_\Phi (I)\). In view of the first part, this implies that

$$\begin{aligned} f\in {\mathcal {M}}_\Phi (I)\cap (-{\mathcal {M}}_\Phi (I))\subseteq {\mathcal {M}}(I)\cap (-{\mathcal {M}}(I)). \end{aligned}$$

Thus, we have shown the inclusion \(\subseteq \) for (2.5).

For the reversed inclusion, let \(f\in {\mathcal {M}}(I)\cap (-{\mathcal {M}}(I))\). Then there exist \(\Phi _1,\Phi _2\in {\mathcal {E}}(I)\) such that \(f\in {\mathcal {M}}_{\Phi _1}(I)\) and \(-f\in {\mathcal {M}}_{\Phi _2}(I)\). Define \(\Phi :=\max (\Phi _1,\Phi _2)\). Then, obviously, \(f\in {\mathcal {M}}_{\Phi }(I)\) and \(-f\in {\mathcal {M}}_{\Phi }(I)\), therefore, \(f\in {\mathcal {H}}_\Phi (I)\subseteq {\mathcal {H}}(I)\). This completes the proof.\(\square \)

We say that a family \({\mathcal {F}}\) of real valued functions is closed with respect to the pointwise supremum if \(\{f_\gamma : I\rightarrow {\mathbb {R}}\mid \gamma \in \Gamma \}\) is a subfamily of \({\mathcal {F}}\) with a pointwise supremum \(f :I\rightarrow {\mathbb {R}}\), i.e.,

$$\begin{aligned} f(x)=\sup _{\gamma \in \Gamma } f_\gamma (x)\qquad (x\in I), \end{aligned}$$
(2.7)

then \(f\in {\mathcal {F}}\). Similarly, we can define a family \({\mathcal {F}}\) of real valued functions is closed with respect to the pointwise infimum.

Proposition 2.4

Let \(\Phi \in {\mathcal {E}}(I)\). Then the class \({\mathcal {M}}_\Phi (I)\) is closed with respect to the pointwise infimum and supremum. Furthermore, \({\mathcal {M}}_\Phi (I)\) is closed with respect to the pointwise \(\liminf \) and \(\limsup \) operations.

Proof

Assume that \(\{f_\gamma \mid \gamma \in \Gamma \}\) is a family of \(\Phi \)-monotone functions with a pointwise supremum \(f :I\rightarrow {\mathbb {R}}\), i.e., (2.7) holds. Let \(x,y\in I\) be arbitrary with \(x\le y\). Then, by the \(\Phi \)-monotonicity property, for all \(\gamma \in \Gamma \), we have that

$$\begin{aligned} f_\gamma (x)\le f_\gamma (y)+\Phi (y-x)\le f(y)+\Phi (y-x). \end{aligned}$$

Taking the supremum of the left hand side with respect to \(\gamma \in \Gamma \), we get

$$\begin{aligned} f(x)\le f(y)+\Phi (y-x), \end{aligned}$$

which shows that f is \(\Phi \)-monotone. The proof of the assertion related to the pointwise infimum is similar, therefore it is omitted.

To obtain the statements with respect to the liminf and limsup operations, let \(f :I\rightarrow {\mathbb {R}}\) be the upper limit of a sequence \(f_n :I\rightarrow {\mathbb {R}}\). Then

$$\begin{aligned} f=\inf _{n\in {\mathbb {N}}} g_n, \qquad \text{ where }\qquad g_n:=\sup _{k\ge n} f_k. \end{aligned}$$

If all the functions \(f_n\) are \(\Phi \)-monotone, then for all \(n\in {\mathbb {N}}\), the function \(g_n\) is \(\Phi \)-monotone. On the other hand, the sequence \((g_n)\) is decreasing, therefore f is the pointwise chain infimum of \(\{g_n\mid n\in {\mathbb {N}}\}\), thus f is also \(\Phi \)-monotone.

In a similar way, one can prove that the class of \(\Phi \)-monotone functions is closed with respect to the liminf operation.\(\square \)

As an immediate consequence, we can see that if f is \(\Phi \)-monotone, then \(f_+=\max (f,0)\) is also \(\Phi \)-monotone.

Proposition 2.5

Let \(\Phi \in {\mathcal {E}}(I)\). Then the class \({\mathcal {H}}_\Phi (I)\) is closed with respect to the pointwise infimum and pointwise supremum. Consequently, \({\mathcal {H}}_\Phi (I)\) is closed with respect to the pointwise \(\liminf \) and \(\limsup \) operations.

Proof

Assume that \(f :I\rightarrow {\mathbb {R}}\) is the pointwise supremum of a family \(\{f_\gamma \mid \gamma \in \Gamma \}\subseteq {\mathcal {H}}_\Phi (I)\). By Proposition 2.3, we have that \(\pm f_\gamma \in {\mathcal {M}}_\Phi (I)\) holds for all \(\gamma \in \Gamma \). In view of Proposition 2.4, this implies that

$$\begin{aligned} f=\sup _{\gamma \in \Gamma } f_\gamma \in {\mathcal {M}}_{\Phi }(I) \qquad \text{ and }\qquad -f=\inf _{\gamma \in \Gamma } (-f_\gamma )\in {\mathcal {M}}_{\Phi }(I). \end{aligned}$$

Therefore, \(f\in {\mathcal {M}}_{\Phi }(I)\cap (-{\mathcal {M}}_{\Phi }(I))={\mathcal {H}}_{\Phi }(I)\). The proof of the statement for the pointwise infimum is analogous.

The statements concerning liminf and limsup operations follow from the first part exactly in the same way as in the proof of Proposition 2.4.\(\square \)

As a trivial corollary, we obtain that if f is \(\Phi \)-Hölder, then \(|f|=\max (f,-f)\) is also \(\Phi \)-Hölder.

3 Optimality of the error functions

In what follows, a function \(\Phi \in {\mathcal {E}}(I)\) will be called subadditive if, for all \(u,v\in {\mathbb {R}}_+\) with \(u+v<\ell (I)\), the inequality

$$\begin{aligned} \Phi (u+v)\le \Phi (u)+\Phi (v) \end{aligned}$$
(3.1)

holds. Obviously, a decreasing function \(\Phi \in {\mathcal {E}}(I)\) is automatically subadditive. Indeed, if \(u,v\ge 0\) with \(u+v<\ell (I)\), then \(u\le u+v\) implies \(\Phi (u+v)\le \Phi (u)\), which, together with the nonnegativity of \(\Phi (v)\), yields (3.1). A stronger property of a function \(\Phi \in {\mathcal {E}}(I)\) is the absolute subadditivity, which is defined as follows: for all \(u,v\in {\mathbb {R}}\) with \(|u|,|v|,|u+v|<\ell (I)\), the inequality

$$\begin{aligned} \Phi (|u+v|)\le \Phi (|u|)+\Phi (|v|) \end{aligned}$$
(3.2)

is satisfied. It is clear that absolutely subadditive functions are automatically subadditive. On the other hand, we have the following statement.

Lemma 3.1

If \(\Phi \in {\mathcal {E}}(I)\) is increasing and subadditive, then it is absolutely subadditive.

Proof

Let \(u,v\in {\mathbb {R}}\) with \(|u|,|v|,|u+v|<\ell (I)\). If \(uv\ge 0\), then \(|u|+|v|=|u+v|<\ell (I)\) and the subadditivity implies

$$\begin{aligned} \Phi (|u+v|)=\Phi (|u|+|v|)\le \Phi (|u|)+\Phi (|v|). \end{aligned}$$

In the case \(uv<0\), one can easily check that \(|u+v|\le \max (|u|,|v|)\). Therefore, the monotonicity property of \(\Phi \) yields

$$\begin{aligned} \Phi (|u+v|)\le \Phi (\max (|u|,|v|)) =\max (\Phi (|u|),\Phi (|v|))\le \Phi (|u|)+\Phi (|v|). \end{aligned}$$

Thus, we have proved (3.2) in both cases.\(\square \)

We mention here another related notion, the concept of increasing subadditivity which was introduced in [26]: \(\Phi \in {\mathcal {E}}(I)\) is called increasingly subadditive if, for all \(u,v,w\in [0,\ell (I) [ \) with \(u\le v+w\) the inequality

$$\begin{aligned} \Phi (u)\le \Phi (v)+\Phi (w) \end{aligned}$$

holds. One can easily see that this property implies absolute subadditivity, but the converse is not true in general.

The simplest but important error functions are of the form

$$\begin{aligned} \Phi _p(0):=0,\qquad \Phi _p(u):=u^p \qquad (u>0), \end{aligned}$$

where \(p\in {\mathbb {R}}\). Their subadditivity and absolute subadditivity is characterized by the following statement.

Proposition 3.2

Let \(p\in {\mathbb {R}}\). Then

  1. (i)

    \(\Phi _p\) is subadditive on \({\mathbb {R}}_+\) if and only if \(p\in ]-\infty ,1 ] \).

  2. (ii)

    \(\Phi _p\) is absolutely subadditive on \({\mathbb {R}}_+\) if and only if \(p\in [0,1]\).

Proof

Let \(p\le 1\). To show that \(\Phi _p\) is subadditive, it is enough to check (3.1) for \(\Phi =\Phi _p\) in the case \(uv\ne 0\). Then

$$\begin{aligned} 1=\frac{u}{u+v}+\frac{v}{u+v} \le \Big (\frac{u}{u+v}\Big )^p+\Big (\frac{v}{u+v}\Big )^p. \end{aligned}$$

Multiplying this inequality side by side by \((u+v)^p\), we get

$$\begin{aligned} \Phi _p(u+v)=(u+v)^p\le u^p+v^p=\Phi _p(u)+\Phi _p(v), \end{aligned}$$
(3.3)

which shows the subadditivity of \(\Phi _p\).

If \(p>1\), then with \(u:=v>0\) in (3.3), we get

$$\begin{aligned} \Phi _p(u+u)=(u+u)^p=(2u)^p=2^pu^p>2u^p=\Phi _p(u)+\Phi _p(u), \end{aligned}$$

therefore, \(\Phi _p\) cannot be subadditive (in fact, one can see that \(\Phi _p\) is superadditive).

If \(p\in [0,1]\), then \(\Phi _p\) is increasing and also subadditive on \({\mathbb {R}}_+\) (by the first assertion), hence, by Lemma 3.1, it is also absolutely subadditive on \({\mathbb {R}}_+\).

If \(p>1\), then \(\Phi _p\) is not subadditive, hence, it is also not absolutely subadditive. If \(p<0\), then with \(u:=n+1\) and \(v:=-n\), the absolute subadditivity of \(\Phi _p\) would imply

$$\begin{aligned} 1=\Phi _p(1)=\Phi _p(|u+v|)\le \Phi _p(|u|)+\Phi _p(|v|)=(n+1)^p+n^p \end{aligned}$$

for all \(n\in {\mathbb {N}}\). Upon taking the limit \(n\rightarrow \infty \) and using \(p<0\), we arrive at the contradiction \(1\le 0\). Hence \(\Phi _p\) cannot be absolutely subadditive.\(\square \)

It is also not difficult to see that the class of subadditive functions as well as the class of absolutely subadditive functions are nonempty (because they contain the 0 function) and are closed with respect to pointwise supremum. Therefore, for any \(\Phi \in {\mathcal {E}}(I)\), there exists a largest subadditive function \(\Phi ^\sigma \in {\mathcal {E}}(I)\) and a largest absolutely subadditive function \(\Phi ^\alpha \in {\mathcal {E}}(I)\) which satisfy the inequalities \(0\le \Phi ^\sigma \le \Phi \) and \(0\le \Phi ^\alpha \le \Phi \) on \( [0,\ell (I) [ \), respectively. The functions \(\Phi ^\sigma \) and \(\Phi ^\alpha \) will be called the subadditive envelope (or subadditive minorant) and the absolutely subadditive envelope (or absolutely subadditive minorant) of the function \(\Phi \), respectively. Obviously, the equalities \(\Phi =\Phi ^\sigma \) and \(\Phi =\Phi ^\alpha \) are valid if and only if \(\Phi \) is subadditive and absolutely subadditive, respectively. More generally, the functions \(\Phi ^\sigma \) and \(\Phi ^\alpha \) can be constructed explicitly from \(\Phi \) by the following results.

Proposition 3.3

Let \(\Phi \in {\mathcal {E}}(I)\) be an arbitrary function. Define the function \(\Phi ^\sigma :[0,\ell (I) [ \rightarrow {\mathbb {R}}_+\) by

$$\begin{aligned} \Phi ^\sigma (u):=\inf \big \{\Phi (u_1)+\dots +\Phi (u_n)\mid n\in {\mathbb {N}}, u_1,\dots ,u_n\in {\mathbb {R}}_+:u_1+\dots +u_n=u\big \}. \end{aligned}$$

Then \(\Phi ^\sigma \) is the largest subadditive function which satisfies the inequality \(\Phi ^\sigma \le \Phi \) on \( [0,\ell (I) [ \). Furthermore, \(\Phi ^\sigma (0)=\Phi (0)\) and, additionally, if \(\Phi \) is increasing, then \(\Phi ^\sigma \) is also increasing, and hence \(\Phi ^\sigma =\Phi ^\alpha \).

Proof

First we are going to prove the subadditivity of \(\Phi ^\sigma \). Let \(u,v\in {\mathbb {R}}_+\) such that \(u+v\in [0,\ell (I) [ \). Let \(\varepsilon >0\) be arbitrary. Then there exist \(n,m \in {\mathbb {N}}\) and \(u_1,\dots ,u_n,v_1,\dots ,v_m\in {\mathbb {R}}_+\) such that

$$\begin{aligned} u=\sum _{i=1}^{n} u_i,\quad v=\sum _{j=1}^{m} v_j, \quad \sum _{i=1}^{n}\Phi (u_i)<\Phi ^\sigma (u)+\frac{\varepsilon }{2} \quad \text {and}\quad \sum _{j=1}^{m}\Phi (v_j)<\Phi ^\sigma (v)+\frac{\varepsilon }{2}. \end{aligned}$$

We have that \(u+v=\sum _{i=1}^{n} u_i+\sum _{j=1}^{m} v_j\). Therefore, by the definition of \(\Phi ^\sigma \) and by the last two inequalities, we get

$$\begin{aligned} \Phi ^\sigma (u+v)\le \sum _{i=1}^{n}\Phi (u_i) + \sum _{j=1}^{m}\Phi (v_j) <\Phi ^\sigma (u)+\Phi ^\sigma (v)+\varepsilon . \end{aligned}$$

Since \(\varepsilon \) is an arbitrary positive number, we conclude that \(\Phi ^\sigma (u+v)\le \Phi ^\sigma (u)+\Phi ^\sigma (v)\), which completes the proof of the subadditivity of \(\Phi ^\sigma \). By taking \(n=1\), \(u_1=u\) in the definition of \(\Phi ^\sigma (u)\), we can see that \(\Phi ^\sigma (u)\le \Phi (u)\) also holds for all \(u\in [0,\ell (I) [ \).

By the definition of \(\Phi ^\sigma \) and the inequality \(\Phi (0)\ge 0\), we have that

$$\begin{aligned} \Phi ^\sigma (0)=\inf _{n\in {\mathbb {N}}} n\Phi (0)=\Phi (0). \end{aligned}$$

Now assume that \(\Psi : [0,\ell (I) [ \rightarrow {\mathbb {R}}_+\) is a subadditive function such that \(\Psi \le \Phi \) holds on \( [0,\ell (I) [ \). To show that \(\Psi \le \Phi ^\sigma \), let \(u\in [0,\ell (I) [ \) and \(\varepsilon >0\) be arbitrary. Then there exist \(n \in {\mathbb {N}}\) and \(u_1,\dots ,u_n\in {\mathbb {R}}_+\) such that

$$\begin{aligned} u=u_1+\dots +u_n \qquad \text {and}\qquad \Phi (u_1)+\dots +\Phi (u_n)<\Phi ^\sigma (u)+\varepsilon . \end{aligned}$$
(3.4)

Then, due to the subadditivity of \(\Psi \),

$$\begin{aligned} \Psi (u)\le \Psi (u_1)+\dots +\Psi (u_n) \le \Phi (u_1)+\dots +\Phi (u_n)<\Phi ^\sigma (u)+\varepsilon . \end{aligned}$$

By the arbitrariness of \(\varepsilon >0\), the inequality \(\Psi (u)\le \Phi ^\sigma (u)\) follows for all \(u\in [0,\ell (I) [ \), which was to be proved.

To verify the last assertion, let \(u,v\in [0,\ell (I) [ \) with \(v<u\). Let \(\varepsilon >0\) be arbitrary. Then there exist \(n \in {\mathbb {N}}\) and \(u_1,\dots ,u_n\in {\mathbb {R}}_+\) such that (3.4) is satisfied. Define \(v_i:=\frac{v}{u}u_i\). Then \(v_i\le u_i\), hence \(\Phi (v_i)\le \Phi (u_i)\). On the other hand, \(v_1+\dots +v_n=\frac{v}{u}(u_1+\dots +u_n)=v\), which implies that

$$\begin{aligned} \Phi ^\sigma (v) \le \Phi (v_1)+\dots +\Phi (v_n) \le \Phi (u_1)+\dots +\Phi (u_n) <\Phi ^\sigma (u)+\varepsilon . \end{aligned}$$

Passing the limit \(\varepsilon \rightarrow 0\), we arrive at the inequality \(\Phi ^\sigma (v)\le \Phi ^\sigma (u)\), which proves the increasingness of \(\Phi ^\sigma \). If this is the case, then \(\Phi ^\sigma \) is also absolutely subadditive, therefore, \(\Phi ^\sigma =\Phi ^\alpha \).\(\square \)

The following lemma is instrumental for the construction of the absolute convex envelope of a given error function.

Lemma 3.4

Assume that \(\Phi \in {\mathcal {E}}(I)\) is absolutely subadditive. Then, for all \(n\in {\mathbb {N}}\), \(u_1,\dots ,u_n\in {\mathbb {R}}\) with \(|u_1|,\dots ,|u_n|,|u_1+\dots +u_n|<\ell (I)\),

$$\begin{aligned} \Phi (|u_1+\dots +u_n|)\le \Phi (|u_1|)+\dots +\Phi (|u_n|). \end{aligned}$$

Proof

The statement is trivial for \(n=1\). For \(n\ge 2\), we prove the assertion by induction. If \(n=2\), then it is equivalent to the absolute subadditivity of \(\Phi \). Let \(n\ge 2\) and assume that the statement holds for n variables. Let \(u_1,\dots , u_{n+1}\in ]-\ell (I), \ell (I) [ \) such that \(u_0:=u_1+\dots +u_{n+1}\in ]-\ell (I), \ell (I) [ \). We may assume that \(u_0\ge 0\), (otherwise we can replace \(u_i\) by \(-u_i\) for all \(i\in \{1,\dots ,n+1\}\) in the argument). Then, for at least one \(i\in \{1,\dots ,n+1\}\), we have that \(u_i\ge 0\). By permuting the indices if necessary, we may also assume that \(u_{n+1}\ge 0\). Then, using the inequalities \(u_0\ge 0\), \(u_{n+1}<\ell (I)\), \(u_{n+1}\ge 0\) and \(u_0<\ell (I)\), respectively, we get

$$\begin{aligned} -\ell (I)\le & {} u_0-\ell (I)=u_1+\dots +u_n+(u_{n+1}-\ell (I))\\< & {} u_1+\dots +u_n\le u_1+\dots +u_n+u_{n+1}=u_0<\ell (I). \end{aligned}$$

This shows that \(u_1+\dots +u_n\in ]-\ell (I), \ell (I) [ \). Now, applying the inequality (3.2) with \(u:=u_1+\dots +u_n\) and \(v:=u_{n+1}\) and then the inductive assumption, it follows that

$$\begin{aligned}&\Phi (|u_1+\dots +u_{n+1}|)\le \Phi (|u_1+\dots +u_n|)+\Phi (|u_{n+1}|)\\&\quad \le \Phi (|u_1|)+\dots +\Phi (|u_n|)+\Phi (|u_{n+1}|). \end{aligned}$$

Therefore, the statement is valid also for \(n+1\) variables.\(\square \)

Proposition 3.5

Let \(\Phi \in {\mathcal {E}}(I)\) be an arbitrary function. Define the function \(\Phi ^\alpha : [0,\ell (I) [ \rightarrow {\mathbb {R}}_+\) by

$$\begin{aligned} \Phi ^\alpha (u):&=\inf \big \{\Phi (|u_1|)+\dots +\Phi (|u_n|)\mid n\in {\mathbb {N}}, |u_1|,\dots ,|u_n|\nonumber \\&<\ell (I),\, u_1+\dots +u_n=u\big \}. \end{aligned}$$
(3.5)

Then \(\Phi ^\alpha \) is the largest absolutely subadditive function which satisfies the inequality \(\Phi ^\alpha \le \Phi \) and hence \(\Phi ^\alpha \le \Phi ^\sigma \) on \( [0,\ell (I) [ \).

Proof

First we are going to prove the absolute subadditivity of \(\Phi ^\alpha \). Let \(u,v\in {\mathbb {R}}\) such that \(|u|,|v|,|u+v|<\ell (I)\). Without loss of generality, we may assume that \(u+v\) is nonnegative (otherwise, we replace u and v by \((-u)\) and \((-v)\) in the argument below). Let \(\varepsilon >0\) be arbitrary. Then there exist \(n,m \in {\mathbb {N}}\) and real numbers \(u_1,\dots ,u_n,v_1,\dots ,v_m\in ]-\ell (I), \ell (I) [ \) such that

$$\begin{aligned} u=\sum _{i=1}^{n} u_i,\quad v=\sum _{j=1}^{m} v_j, \quad \sum _{i=1}^{n}\Phi (|u_i|)<\Phi ^\alpha (|u|)+\frac{\varepsilon }{2} \quad \text {and}\quad \sum _{j=1}^{m}\Phi (|v_j|)<\Phi ^\alpha (|v|)+\frac{\varepsilon }{2}. \end{aligned}$$

We have that \(u+v=\sum _{i=1}^{n} u_i+\sum _{j=1}^{m} v_j\). Therefore, by the definition of \(\Phi ^\alpha \) and by the last two inequalities, we get

$$\begin{aligned} \Phi ^\alpha (u+v)\le \sum _{i=1}^{n}\Phi (|u_i|) + \sum _{j=1}^{m}\Phi (|v_j|) <\Phi ^\alpha (|u|)+\Phi ^\alpha (|v|)+\varepsilon . \end{aligned}$$

Since \(\varepsilon \) is an arbitrary positive number, we conclude that \(\Phi ^\alpha (u+v)\le \Phi ^\alpha (|u|)+\Phi ^\alpha (|v|)\), which completes the proof of the absolute subadditivity of \(\Phi ^\alpha \). By taking \(n=1\) and \(u_1=u\) in the right-hand side of (3.5), we can see that \(\Phi ^\alpha \le \Phi \) holds.

Now assume that \(\Psi \in {\mathcal {E}}(I)\) is an absolutely subadditive function such that \(\Psi \le \Phi \) holds on \( [0,\ell (I) [ \). To show that \(\Psi \le \Phi ^\alpha \), let \(u\in [0,\ell (I) [ \) and \(\varepsilon >0\) be arbitrary. Then there exist \(n \in {\mathbb {N}}\) and \(u_1,\dots ,u_n\in ]-\ell (I), \ell (I) [ \) such that

$$\begin{aligned} u=u_1+\dots +u_n \qquad \text {and}\qquad \Phi (|u_1|)+\dots +\Phi (|u_n|)<\Phi ^\alpha (u)+\varepsilon . \end{aligned}$$
(3.6)

Then, due to the absolute subadditivity of \(\Psi \) and Lemma 3.4, we get

$$\begin{aligned} \Psi (u)\le \Psi (|u_1|)+\dots +\Psi (|u_n|) \le \Phi (|u_1|)+\dots +\Phi (|u_n|)<\Phi ^\alpha (u)+\varepsilon . \end{aligned}$$

By the arbitrariness of \(\varepsilon >0\), the inequality \(\Psi (u)\le \Pi ^\alpha (u)\) follows for all \(u\in [0,\ell (I) [ \), which was to be proved.

The function \(\Phi ^\alpha \) being subadditive, the Proposition 3.3 implies that \(\Phi ^\alpha \le \Phi ^\sigma \) also holds.\(\square \)

The following corollaries demonstrate cases when the subadditive and the absolutely subadditive envelopes of an error function are the identically zero functions.

Corollary 3.6

Let \(\Phi \in {\mathcal {E}}(I)\) such that, for all \(0\le u<\ell (I)\),

$$\begin{aligned} \inf _{n\in {\mathbb {N}}} n\Phi \Big (\frac{u}{n}\Big )=0. \end{aligned}$$
(3.7)

Then \(\Phi ^\sigma =\Phi ^\alpha \equiv 0\). In particular, for \(p>1\), \(\Phi _p^\sigma =\Phi _p^\alpha =0\).

Proof

If \(n\in {\mathbb {N}}\) and \(0\le u<\ell (I)\), then, by the construction of \(\Phi ^\sigma \),

$$\begin{aligned} \Phi ^\sigma (u)\le n\Phi \Big (\frac{u}{n}\Big ). \end{aligned}$$

Taking the infimum of the right-hand side of this inequality for \(n\in {\mathbb {N}}\), we get that \(\Phi ^\alpha (u)\le \Phi ^\sigma (u)\le 0\), which yields \(\Phi ^\alpha (u)=\Phi ^\sigma (u)=0\).

For the particular case, let \(\Phi =\Phi _p\) for some \(p>1\). Then \(1-p<0\), thus

$$\begin{aligned} \inf _{n\in {\mathbb {N}}}n\Phi _p\Big (\frac{u}{n}\Big )=\inf _{n\in {\mathbb {N}}}n^{1-p}u^p =\lim _{n\rightarrow \infty }n^{1-p}u^p=0, \end{aligned}$$

which shows that \(\Phi _p^\sigma =\Phi _p^\alpha =0\).\(\square \)

Corollary 3.7

Let I be an unbounded interval and \(\Phi \in {\mathcal {E}}(I)\) such that

$$\begin{aligned} \lim _{v\rightarrow \infty } \Phi (v)=0. \end{aligned}$$
(3.8)

Then \(\Phi ^\alpha \equiv 0\). In particular, for \(p<0\), \(\Phi _p^\alpha =0\).

Proof

Let \(0<u\). Then, by the construction of \(\Phi ^\alpha \), for all \(v>0\), we have the inequality

$$\begin{aligned} \Phi ^\alpha (u)\le \Phi (|u+v|)+\Phi (|-v|)=\Phi (u+v)+\Phi (v). \end{aligned}$$

Upon taking the limit \(v\rightarrow \infty \), the equality (3.8) yields that \(\Phi ^\alpha (u)=0\).\(\square \)

The next result shows that for the notions of \(\Phi \)-monotonicity and \(\Phi \)-Hölder property, the error function \(\Phi \) can always be replaced by its subadditive and absolutely subadditive envelope, respectively.

Theorem 3.8

Let \(\Phi \in {\mathcal {E}}(I)\). Then

$$\begin{aligned} {\mathcal {M}}_\Phi (I)={\mathcal {M}}_{\Phi ^\sigma }(I) \qquad \text{ and }\qquad {\mathcal {H}}_\Phi (I)={\mathcal {H}}_{\Phi ^\sigma }(I). \end{aligned}$$

If, in addition, I is an unbounded interval, then

$$\begin{aligned} {\mathcal {H}}_\Phi (I)={\mathcal {H}}_{\Phi ^\alpha }(I). \end{aligned}$$

Proof

The inclusion \({\mathcal {M}}_{\Phi ^\sigma }(I)\subseteq {\mathcal {M}}_{\Phi }(I)\) is a trivial consequence of the inequality \(\Phi ^\sigma \le \Phi \). To prove the reversed inclusion, let \(f\in {\mathcal {M}}_{\Phi }(I)\). To show that f is also \(\Phi ^\sigma \)-monotone, let \(x<y\) be arbitrary elements of I and \(\varepsilon >0\) be arbitrary.

For \(u:=y-x<\ell (I)\), there exist \(n \in {\mathbb {N}}\) and \(u_1,\dots ,u_n\in {\mathbb {R}}_+\) such that (3.4) holds. For the sake of convenience, let \(u_0:=0\) and

$$\begin{aligned} x_i:=x+u_0+\dots +u_i \qquad (i\in \{0,\dots ,n\}). \end{aligned}$$

Obviously, \(x=x_0\le x_1\le \dots \le x_n=y\). Applying the \(\Phi \)-monotonicity of f, we get that

$$\begin{aligned} f(x_{i-1})\le f(x_{i})+\Phi (x_{i}-x_{i-1}) =f(x_{i})+\Phi (u_i)\qquad (i\in \{1,\dots ,n\}). \end{aligned}$$

Adding up the above inequalities for \(i\in \{1,\dots ,n\}\) side by side, we obtain that

$$\begin{aligned}&f(x)=f(x_0)\le f(x_n)+\Phi (u_1)+\dots +\Phi (u_n)\\&\quad <f(x_n)+\Phi ^\sigma (u)+\varepsilon =f(y)+\Phi ^\sigma (y-x)+\varepsilon . \end{aligned}$$

Upon taking the limit \(\varepsilon \rightarrow 0\), it follows that

$$\begin{aligned} f(x)\le f(y)+\Phi ^\sigma (y-x), \end{aligned}$$

which completes the proof of the \(\Phi ^\sigma \)-monotonicity of f.

Using Proposition 2.3 and the above verified equality, we get

$$\begin{aligned} {\mathcal {H}}_\Phi (I)={\mathcal {M}}_\Phi (I)\cap (-{\mathcal {M}}_\Phi (I)) ={\mathcal {M}}_{\Phi ^\sigma }(I)\cap (-{\mathcal {M}}_{\Phi ^\sigma }(I))={\mathcal {H}}_{\Phi ^\sigma }(I). \end{aligned}$$

Now assume that I is unbounded. The inclusion \({\mathcal {H}}_{\Phi ^\alpha }(I)\subseteq {\mathcal {H}}_{\Phi }(I)\) is a trivial consequence of the inequality \(\Phi ^\alpha \le \Phi \). To prove the reversed inclusion, let \(f\in {\mathcal {H}}_{\Phi }(I)\). To show that f is also \(\Phi ^\alpha \)-Hölder, let \(x,y\in I\) and \(\varepsilon >0\) be arbitrary. We may assume that \(x<y\). Then \(u:=y-x<\ell (I)\) and there exist \(n\in {\mathbb {N}}\) and \(u_1,\dots ,u_n\in ]-\ell (I), \ell (I) [ \) such that (3.6) holds.

Now we have to distinguish two cases according to the unboundedness of I. Assume first that I is unbounded from below. Then we may assume that \(-\ell (I):=u_0<u_1\le \dots \le u_n<\ell (I)\). In view of (3.6), we have that \(u_n>0\), therefore there exists a unique \(k\in \{1,\dots ,n\}\) such that \(u_{k-1}\le 0<u_{k}\). For the sake of convenience, let

$$\begin{aligned} x_0:=x,\qquad x_i:=x+u_1+\dots +u_i\qquad (i\in \{1,\dots ,n\}). \end{aligned}$$

By the construction of k, it follows that

$$\begin{aligned} x=x_0\ge x_1\ge \dots \ge x_{k-1}<x_k\le \dots \le x_n=y. \end{aligned}$$

Therefore, \(x_i\le \max (x,y)\) for all \(i\in \{1,\dots ,n\}\). Thus the unboundedness of I from below yields that \(x_1,\dots ,x_n\in I\) hold. Applying the \(\Phi \)-Hölder property of f, we get that

$$\begin{aligned} f(x_{i-1})\le f(x_{i})+\Phi (|x_{i}-x_{i-1}|) =f(x_{i})+\Phi (|u_i|)\qquad (i\in \{1,\dots ,n\}). \end{aligned}$$

Adding up the above inequalities for \(i\in \{1,\dots ,n\}\) side by side, we obtain that

$$\begin{aligned}&f(x)=f(x_0)\le f(x_n)+\Phi (|u_1|)+\dots +\Phi (|u_n|)\\&<f(x_n)+\Phi ^\alpha (u)+\varepsilon =f(y)+\Phi ^\alpha (y-x)+\varepsilon . \end{aligned}$$

Upon taking the limit \(\varepsilon \rightarrow 0\), it follows that

$$\begin{aligned} f(x)\le f(y)+\Phi ^\alpha (|y-x|). \end{aligned}$$
(3.9)

In the case when I is unbounded from above, one should take the ordering \(-\ell (I)<u_n\le \dots \le u_1<u_0:=\ell (I)\) and use a completely similar argument to obtain inequality (3.9).

Finally, interchanging the roles of x and y in the above proof, we can get

$$\begin{aligned} f(y)\le f(x)+\Phi ^\alpha (|y-x|), \end{aligned}$$

which, together with (3.9), shows that f is \(\Phi ^\alpha \)-Hölder and hence completes the proof.\(\square \)

Corollary 3.9

Let \(\Phi \in {\mathcal {E}}(I)\) such that, for all \(0\le u<\ell (I)\), (3.7) holds. Then \({\mathcal {M}}_\Phi (I)\) equals the class of increasing functions on I and \({\mathcal {H}}_\Phi (I)\) consists of constant functions.

Proof

In view of Corollary 3.6, we have that \(\Phi ^\sigma =\Phi ^\alpha \equiv 0\). Combining this with the result of the Theorem 3.8, we get that \({\mathcal {M}}_\Phi (I)={\mathcal {M}}_0(I)\) and \({\mathcal {H}}_\Phi (I)={\mathcal {H}}_0(I)\), which is equivalent to the statement.\(\square \)

The following result demonstrates that the subadditive and increasing error functions optimally determine the corresponding classes of monotone and Hölder functions.

Theorem 3.10

Let \(\Phi \in {\mathcal {E}}(I)\) be a increasing and subadditive function with \(\Phi (0)=0\) and let \(\Psi \in {\mathcal {E}}(I)\) satisfy the inequality \(\Psi \le \Phi \). Then \({\mathcal {M}}_\Psi (I)={\mathcal {M}}_\Phi (I)\) if and only if \(\Psi =\Phi \). Similarly, \({\mathcal {H}}_\Psi (I)={\mathcal {H}}_\Phi (I)\) if and only if \(\Psi =\Phi \).

Proof

The inclusions \({\mathcal {M}}_\Psi (I)\subseteq {\mathcal {M}}_\Phi (I)\) and \({\mathcal {H}}_\Psi (I)\subseteq {\mathcal {H}}_\Phi (I)\) follow from the inequality \(\Psi \le \Phi \). To prove the statement, it suffices to show that if \(\Psi (p)<\Phi (p)\) for some \(p\in \, ]0,\ell (I) [\,\) then both inclusions \({\mathcal {M}}_\Psi (I)\subseteq {\mathcal {M}}_\Phi (I)\) and \({\mathcal {H}}_\Psi (I)\subseteq {\mathcal {H}}_\Phi (I)\) are proper. For this, we construct a function \(f :I\rightarrow {\mathbb {R}}\) such that \(f\in {\mathcal {H}}_\Phi (I)\) but \(f\notin {\mathcal {M}}_\Psi (I)\).

The inclusion \(p\in \, ]0,\ell (I) [\,\) implies that there exist \(u,v\in I\) such that \(p=v-u\). Define

$$\begin{aligned} f(x):={\left\{ \begin{array}{ll} 0&{}\text{ if } x\le u\\ -\Phi (x-u)&{}\text{ if } u<x \end{array}\right. }\qquad (x\in I). \end{aligned}$$

Then \(-f\) is increasing because \(\Phi \) is increasing, hence \(-f\in {\mathcal {M}}_\Phi (I)\). To prove that \(f\in {\mathcal {M}}_\Phi (I)\), we fix \(x,y\in I\) with \(x\le y\) and distinguish three cases.

If \(x\le y\le u\), then \(f(x)=f(y)=0\), hence the inequality (2.1) is a consequence of the nonnegativity of \(\Phi \).

If \(x\le u<y\), then \(f(x)=0\) and \(f(y)=-\Phi (y-u)\), therefore the inequality (2.1) is now equivalent to

$$\begin{aligned} \Phi (y-u)\le \Phi (y-x), \end{aligned}$$

which is a consequence of the increasingness of \(\Phi \).

If \(u<x\le y\), then \(f(x)=-\Phi (x-u)\) and \(f(y)=-\Phi (y-u)\), therefore the inequality (2.1) is now equivalent to

$$\begin{aligned} \Phi (y-u)\le \Phi (y-x)+\Phi (x-u), \end{aligned}$$

which is a consequence of the subadditivity of \(\Phi \).

This completes the proof of the inclusion \(f\in {\mathcal {M}}_\Phi (I)\) and hence shows that \(f\in {\mathcal {H}}_\Phi (I)\). To complete the proof, we have to verify that \(f\notin {\mathcal {M}}_\Psi (I)\). Indeed, we have that

$$\begin{aligned} f(u)-f(v)=\Phi (v-u)=\Phi (p)>\Psi (p)=\Psi (v-u). \end{aligned}$$

This strict inequality shows that f cannot be \(\Psi \)-monotone.\(\square \)

4 \(\Phi \)-Monotone and \(\Phi \)-Hölder envelopes

As we have seen it in Propositions 2.4 and 2.5, the classes \({\mathcal {M}}_\Phi (I)\) and \({\mathcal {H}}_\Phi (I)\) are closed with respect to pointwise infimum and maximum. Therefore, for any function \(f :I\rightarrow {\mathbb {R}}\), the supremum of all \(\Phi \)-monotone (\(\Phi \)-Hölder) functions below f (provided that there is at least one such function) is the largest \(\Phi \)-monotone (\(\Phi \)-Hölder) function which is smaller than or equal to f. Similarly, the infimum of all \(\Phi \)-monotone (\(\Phi \)-Hölder) functions above f (provided that there is at least one such function) is the smallest \(\Phi \)-monotone (\(\Phi \)-Hölder) function which is bigger than or equal to f. The next result offers a formula for these enveloping functions.

Proposition 4.1

Let \(\Phi \in {\mathcal {E}}(I)\) with \(\Phi (0)=0\) and let \(f :I\rightarrow {\mathbb {R}}\) be a function which admits a \(\Phi \)-monotone minorant. Then the function \(\underline{M}_\Phi (f)\) defined by

$$\begin{aligned} \underline{M}_\Phi (f)(x):=\inf _{x\le y} \big (f(y)+\Phi ^\sigma (y-x)\big ) \qquad (x\in I) \end{aligned}$$

is real-valued and is the largest \(\Phi \)-monotone function which is smaller than or equal to f. Analogously, if f admits a \(\Phi \)-monotone majorant, then the function \(\overline{M}_\Phi (f)\) defined by

$$\begin{aligned} \overline{M}_\Phi (f)(x):=\sup _{y\le x} \big (f(y)-\Phi ^\sigma (x-y)\big ) \qquad (x\in I) \end{aligned}$$

is real-valued and is the smallest \(\Phi \)-monotone function which is bigger than or equal to f.

Proof

Obviously, \(\underline{M}_\Phi (f)\) cannot take the value \(+\infty \) at any point in I, i.e., \(\underline{M}_\Phi (f)(x)<+\infty \) for all \(x\in I\). The condition \(\Phi (0)=0\) implies that \(\Phi ^\sigma (0)=0\), therefore, by taking \(y=x\) in the defining formula of \(\underline{M}_\Phi (f)(x)\), we get that \(\underline{M}_\Phi (f)(x)\le f(x)\) holds for all \(x\in I\).

Now suppose g is a \(\Phi \)-monotone function such that \(g\le f\) holds (by the assumption, there is at least one such function g). Then, by Theorem 3.8, g is also \(\Phi ^\sigma \)-monotone. In order to show that \(g\le \underline{M}_\Phi (f)\), let \(x\in I\) be arbitrarily fixed. Then, for all \(y\in I\) with \(x\le y\), we have

$$\begin{aligned} g(x)\le g(y)+\Phi ^\sigma (y-x) \le f(y)+\Phi ^\sigma (y-x). \end{aligned}$$

Upon taking the infimum of the right-hand side with respect to \(y\ge x\), we get

$$\begin{aligned} g(x) \le \inf _{x\le y}\big (f(y)+\Phi ^\sigma (y-x)\big )=\underline{M}_\Phi (f)(x), \end{aligned}$$

which proves the desired inequality \(g(x)\le \underline{M}_\Phi (f)(x)\) and also that \(\underline{M}_\Phi (f)\) cannot take the value \(-\infty \) at any point of I.

To see that \(\underline{M}_\Phi (f)\) itself is \(\Phi \)-monotone, it is sufficient to show that \(\underline{M}_\Phi (f)\) is \(\Phi ^\sigma \)-monotone. Let \(u,v\in I\) with \(u\le v\). Then, using the subadditivity of \(\Phi ^\sigma \), we obtain

$$\begin{aligned} \underline{M}_\Phi (f)(u)= & {} \inf _{u\le y} \big (f(y)+\Phi ^\sigma (y-u)\big ) \le \inf _{v\le y} \big (f(y)+\Phi ^\sigma (y-u)\big ) \\\le & {} \inf _{v\le y} \big (f(y)+\Phi ^\sigma (y-v)\big )+\Phi ^\sigma (v-u) = \underline{M}_\Phi (f)(v)+\Phi ^\sigma (v-u), \end{aligned}$$

which completes the proof of the \(\Phi \)-monotonicity of \(\underline{M}_\Phi (f)\).

The proof of the second assertion is completely similar.\(\square \)

The following result is of a sandwich-type one.

Corollary 4.2

Let \(\Phi \in {\mathcal {E}}(I)\) with \(\Phi (0)=0\) and let \(g,h :I \rightarrow {\mathbb {R}}\). Then in order that there exist a \(\Phi \)-monotone function \(f :I\rightarrow {\mathbb {R}}\) between g and h it is necessary and sufficient that, for all \(x,y\in I\) with \(x\le y\), the inequality

$$\begin{aligned} g(x)\le h(y)+\Phi ^\sigma (y-x) \end{aligned}$$
(4.1)

be valid.

Proof

Assume first that f is a \(\Phi \)-monotone function such that \(g\le f\le h\). Then, f is \(\Phi ^\sigma \)-monotone and, for all \(x,y\in I\) with \(x\le y\), we have

$$\begin{aligned} g(x)\le f(x)\le f(y)+\Phi ^\sigma (y-x)\le h(y)+\Phi ^\sigma (y-x), \end{aligned}$$

i.e., (4.1) holds.

Conversely, assume that (4.1) holds true for all \(x,y\in I\) with \(x\le y\). For a fixed \(x\in I\), define

$$\begin{aligned} f(x):=\underline{M}_\Phi (h)(x)=\inf _{x\le y} \big (h(y)+\Phi ^\sigma (y-x)\big ). \end{aligned}$$

Now, in view of inequality (4.1), we have that \(g(x)\le f(x)\). By taking \(y=x\) in the definition of f, the condition \(\Phi (0)=0\) ensures that \(f(x)\le h(x)\) is also valid. Finally, arguing similarly as at the end of the proof of Proposition 4.1, it follows that f is \(\Phi ^\sigma \)-monotone and hence \(\Phi \)-monotone as well.\(\square \)

In the next proposition and corollary, we present formulas for the \(\Phi \)-Hölder envelopes of a given function and also a characterization of the existence of a \(\Phi \)-Hölder separation. Their proofs are completely parallel to those of Proposition 4.1 and Corollary 4.2, therefore they are left to the reader.

Proposition 4.3

Let I be an unbounded interval, \(\Phi \in {\mathcal {E}}(I)\) with \(\Phi (0)=0\) and let \(f :I\rightarrow {\mathbb {R}}\) be a function which admits a \(\Phi \)-Hölder minorant. Then the function \(\underline{H}_\Phi (f)\) defined by

$$\begin{aligned} \underline{H}_\Phi (f)(x):=\inf _{y\in I} \big (f(y)+\Phi ^\alpha (|y-x|)\big ) \qquad (x\in I) \end{aligned}$$

is real-valued and is the largest \(\Phi \)-Hölder function which is smaller than or equal to f. Analogously, if f admits a \(\Phi \)-Hölder majorant, then the function \(\overline{H}_\Phi (f)\) defined by

$$\begin{aligned} \overline{H}_\Phi (f)(x):=\sup _{y\in I} \big (f(y)-\Phi ^\alpha (|x-y|)\big ) \qquad (x\in I) \end{aligned}$$

is real-valued and is the smallest \(\Phi \)-Hölder function which is bigger than or equal to f.

Proof

Obviously, \(\underline{H}_\Phi (f)\) cannot take the value \(+\infty \) at any point in I, i.e., \(\underline{H}_\Phi (f)(x)<\infty \) for all \(x\in I\). The condition \(\Phi (0)=0\) implies that \(\Phi ^\alpha (0)=0\), therefore, by taking \(y=x\) in the defining formula of \(\underline{H}_\Phi (f)(x)\), we get that \(\underline{H}_\Phi (f)(x)\le f(x)\) holds for all \(x\in I\).

Now suppose g is a \(\Phi \)-Hölder function such that \(g\le f\) holds (by the assumption, there is at least one such function g). Then, by Theorem 3.8, g is also \(\Phi ^\alpha \)-Hölder. In order to show that \(g\le \underline{H}_\Phi (f)\), let \(x\in I\) be arbitrarily fixed. Then, for all \(y\in I\), we have

$$\begin{aligned} g(x)\le g(y)+\Phi ^\alpha (|y-x|) \le f(y)+\Phi ^\alpha (|y-x|), \end{aligned}$$

Upon taking the infimum of the right-hand side with respect to \(y\in I\), we get

$$\begin{aligned} g(x) \le \inf _{ y}\big (f(y)+\Phi ^\alpha (|y-x|)\big )=\underline{H}_\Phi (f)(x), \end{aligned}$$

which proves the desired inequality \(g(x)\le \underline{H}_\Phi (f)(x)\) and also that \(\underline{H}_\Phi (f)\) cannot take the value \(-\infty \) at any point of I.

To see that \(\underline{H}_\Phi (f)\) itself is \(\Phi \)-Hölder, it is sufficient to show that \(\underline{H}_\Phi (f)\) is \(\Phi ^\alpha \)-Hölder. For any \(u,v\in I\), using the absolute subadditivity of \(\Phi ^\alpha \), we obtain

$$\begin{aligned} \underline{H}_\Phi (f)(u)= & {} \inf _{ y} \big (f(y)+\Phi ^\alpha (|y-u|\big ) \le \inf _{ y} \bigg (f(y)+\Phi ^\alpha \big (|(y-v)|\big )+\Phi ^\alpha \big (|(v-u)|\big )\bigg ) \\= & {} \inf _{ y} \Big (f(y)+\Phi ^\alpha (|y-v|)\Big )+\Phi ^\alpha (|v-u|) = \underline{H}_\Phi (f)(v)+\Phi ^\alpha (|v-u|). \end{aligned}$$

In the same pattern as above, interchanging the roles of u and v in the above equation, we obtain

$$\begin{aligned} \underline{H}_\Phi (f)(v)\le \underline{H}_\Phi (f)(u)+\Phi ^\alpha (|v-u|), \end{aligned}$$

which shows that \(\underline{H}_\Phi (f)\) is \(\Phi \)-Hölder.

The proof of the second assertion is completely similar.\(\square \)

Corollary 4.4

Let I be an unbounded interval, let \(\Phi \in {\mathcal {E}}(I)\) with \(\Phi (0)=0\) and let \(g,h :I \rightarrow {\mathbb {R}}\). Then in order that there exist a \(\Phi \)-Hölder function \(f :I\rightarrow {\mathbb {R}}\) between g and h it is necessary and sufficient that, for all \(x,y\in I\), the inequality

$$\begin{aligned} g(x)\le h(y)+\Phi ^\alpha (|y-x|) \end{aligned}$$
(4.2)

be valid.

Proof

Assume first that f is a \(\Phi \)-Hölder function such that \(g\le f\le h\). Then, f is \(\Phi ^\alpha \)-Hölder and, for all \(x,y\in I\), we have

$$\begin{aligned} g(x)\le f(x)\le f(y)+\Phi ^\alpha (|y-x|)\le h(y)+\Phi ^\alpha (|y-x|), \end{aligned}$$

i.e., (4.2) holds.

Conversely, assume that (4.2) holds true for all \(x,y\in I\). For a fixed \(x\in I\), define

$$\begin{aligned} f(x):=\underline{H}_\Phi (h)(x)=\inf _{y\in I} \big (h(y)+\Phi ^\alpha (|y-x|)\big ). \end{aligned}$$

Now, in view of inequality (4.2), we have that \(g(x)\le f(x)\). By taking \(y=x\) in the definition of f, the conditions \(\Phi (0)=0\) ensures that \(f(x)\le h(x)\) is also valid. Finally, arguing similarly as at the end of the proof of Proposition 4.3, it follows that f is \(\Phi ^\alpha \)-Hölder and hence \(\Phi \)-Hölder as well.\(\square \)

Before we formulate and prove the next theorem we shall need the following auxiliary result.

Lemma 4.5

Let \(\Phi ,\Psi \in {\mathcal {E}}(I)\) such that \((-\Phi )\) is \(\Psi \)-monotone on \( ]0,\ell (I) [\). Then \((-\Phi ^\sigma )\) is also \(\Psi \)-monotone on \( ]0,\ell (I) [\).

Proof

To prove this lemma, let \(x,y\in ]0,\ell (I) [\) with \(x<y\) and \(\varepsilon >0\) be arbitrary. Then by definition of \(\Phi ^\sigma \), there exist \(n\in N\) and \(u_1,\dots ,u_n\in {\mathbb {R}}_+\) such that \(x=u_1+\dots +u_n\) satisfying

$$\begin{aligned} \Phi (u_1)+\dots +\Phi (u_n)<\Phi ^\sigma (x)+\varepsilon . \end{aligned}$$
(4.3)

Using the \(\Psi \)-monotonicity of \((-\Phi )\), we have

$$\begin{aligned} (-\Phi )(u_n)\le (-\Phi )(u_n+(y-x))+\Psi (y-x), \end{aligned}$$

from which we obtain

$$\begin{aligned} \Phi (u_n+(y-x))\le \Phi (u_n)+\Psi (y-x). \end{aligned}$$

Observe that \(y=u_1+\dots +u_{n-1}+(u_n+(y-x))\). Thus, using the inequality in (4.3), we arrive at

$$\begin{aligned} \Phi ^\sigma (y)\le & {} \Phi (u_1)+\dots +\Phi (u_{n-1})+\Phi (u_n+(y-x))\\\le & {} \Phi (u_1)+\dots +\Phi (u_{n-1})+\Phi (u_n)+\Psi (y-x) <\Phi ^\sigma (x)+\Psi (y-x)+\varepsilon . \end{aligned}$$

As \(\varepsilon \) is an arbitrary positive number, we can conclude that \((-\Phi ^\sigma )(x)\le (-\Phi ^\sigma )(y)+\Psi (y-x)\), which completes the proof of the \(\Psi \) monotonicity of \((-\Phi ^\sigma )\).\(\square \)

Theorem 4.6

Let \(\Phi ,\Psi \in {\mathcal {E}}(I)\) such that \((-\Phi )\) is \(\Psi \)-monotone on \( ]0,\ell (I) [\) and let \(f :I\rightarrow {\mathbb {R}}\). Then f is \(\Phi \)-monotone if and only if there exist two \(\Psi \)-monotone functions \(f_*,f^* :I\rightarrow {\mathbb {R}}\) such that \(f_*\le f\le f^*\) hold on I and, for all \(x,y\in I\) with \(x<y\),

$$\begin{aligned} f(x)\le f_*(y)+\Phi ^\sigma (y-x) \qquad \text{ and }\qquad f^*(x)\le f(y)+\Phi ^\sigma (y-x). \end{aligned}$$
(4.4)

Proof

First assume that f is \(\Phi \)-monotone. Then, by Theorem 3.8, it is also \(\Phi ^\sigma \)-monotone. For a fixed point \(x\in I\), define

$$\begin{aligned} f_*(x):=\sup _{u<x}\Big (f(u)-\Phi ^\sigma (x-u)\Big )\qquad \text{ and } \qquad f^*(x):=\inf _{x<v}\Big (f(v)+\Phi ^\sigma (v-x)\Big ). \end{aligned}$$

In view of the \(\Phi ^\sigma \)-monotonicity of f, for all \(u<x<v\), we have that

$$\begin{aligned} f(u)-\Phi ^\sigma (x-u)\le f(x) \qquad \text{ and }\qquad f(x)\le f(v)+\Phi ^\sigma (v-x). \end{aligned}$$

Therefore, upon taking the supremum for \(u<x\) and the infimum for \(x<v\), we get that \(f_*(x)\le f(x)\) and \(f(x)\le f^*(x)\), respectively. That is, we have that \(f_*\) and \(f^*\) are real valued functions and the inequalities \(f_*\le f\le f^*\) hold on I.

In the next step, we establish the \(\Psi \)-monotonicity of \(f_*\) and \(f^*\). By the definition of \(f^*\), for all \(x,y\in I\) with \(x<y\), we have

$$\begin{aligned} f_*(x)=\sup _{u<x}\Big (f(u)-\Phi ^\sigma (x-u)\Big ) \le \sup _{u<y}\Big (f(u)-\Phi ^\sigma (x-u)\Big ). \end{aligned}$$
(4.5)

By Lemma 4.5, we have the \(\Psi \)-monotonicity of \((-\Phi ^\sigma )\), which, for all \(u\in I\) with \(u<x\), implies

$$\begin{aligned} -\Phi ^\sigma (x-u)\le -\Phi ^\sigma (y-u)+\Psi ((y-u)-(x-u)) =-\Phi ^\sigma (y-u)+\Psi (y-x). \end{aligned}$$

Applying this inequality to the right most expression of inequality (4.5), we arrive at

$$\begin{aligned} f_*(x)&\le \sup _{u<y}\Big (f(u)-\Phi ^\sigma (x-u)\Big )\\&\le \sup _{u<y}\Big (f(u)-\Phi ^\sigma (y-u)\Big )+\Psi (y-x)=f_*(y)+\Psi (y-x), \end{aligned}$$

which shows that \(f_*\) is also \(\Psi \)-monotone.

Take \(x,y\in I\) with \(x<y\). Then, by the definition of \(f^*\), we have

$$\begin{aligned} f^*(x)=\inf _{x<v}\Big (f(v)+\Phi ^\sigma (v-x)\Big ) \le \inf _{y<v}\Big (f(v)+\Phi ^\sigma (v-x)\Big ). \end{aligned}$$
(4.6)

By the \(\Psi \)-monotonicity of \((-\Phi ^\sigma )\), for all \(v\in I\) with \(y<v\), we obtain

$$\begin{aligned} \Phi ^\sigma (v-x)\le \Phi ^\sigma (v-y)+\Psi ((v-x)-(v-y)) =\Phi ^\sigma (v-y)+\Psi (y-x). \end{aligned}$$

Applying this inequality to the right most expression of inequality (4.6), we arrive at

$$\begin{aligned}&f^*(x)\le \inf _{y<v}\Big (f(v)+\Phi ^\sigma (v-x)\Big )\\&\le \inf _{y<v}\Big (f(v)+\Phi ^\sigma (v-y)\Big )+\Psi (y-x)=f^*(y)+\Psi (y-x), \end{aligned}$$

which proves that \(f^*\) is \(\Psi \)-monotone.

Finally, for \(x,y\in I\) with \(x<y\), from the definitions of \(f_*\) and \(f^*\), we obtain the inequalities

$$\begin{aligned} f(x)-\Phi ^\sigma (y-x)\le f_*(y) \qquad \text{ and }\qquad f^*(x)\le f(y)+\Phi ^\sigma (y-x), \end{aligned}$$

respectively, which prove that \(f_*\) and \(f^*\) satisfy the inequalities stated in (4.4).

Conversely, if the first inequality in (4.4) holds for some function \(f_* :I \rightarrow {\mathbb {R}}\) satisfying \(f_*\le f\), then \(f(x)\le f_*(y)+\Phi ^\sigma (y-x)\le f(y)+\Phi ^\sigma (y-x)\), which shows the \(\Phi ^\sigma \)-monotonicity of f. Similarly, the existence of a function \(f^* :I \rightarrow {\mathbb {R}}\) satisfying \(f\le f^*\) and the second inequality of (4.4), also implies that f is \(\Phi ^\sigma \)-monotone.\(\square \)

By taking the error function \(\Psi \equiv 0\), the previous theorem directly implies the following result. Observe that, in this case, \(\Psi \)-monotonicity is equivalent to increasingness.

Corollary 4.7

Let \(\Phi \in {\mathcal {E}}(I)\) such that \(\Phi \) is decreasing on \( ]0,\ell (I) [\) and let \(f :I\rightarrow {\mathbb {R}}\). Then, f is \(\Phi \)-monotone if and only if there exist two increasing functions \(f_*,f^* :I \rightarrow {\mathbb {R}}\) such that \(f_*\le f\le f^*\) hold on I and, for all \(x,y\in I\) with \(x<y\), the inequalities in (4.4) are satisfied.

The analogue of Lemma 4.5 for the \(\Psi \)-Hölder setting is contained in the following lemma.

Lemma 4.8

Let I be an unbounded interval, let \(\Phi ,\Psi \in {\mathcal {E}}(I)\) such that \(\Phi \circ |\cdot |\) is \(\Psi \)-Hölder on \({\mathbb {R}}\). Then \(\Phi ^\alpha \circ |\cdot |\) is also \(\Psi \)-Hölder on \({\mathbb {R}}\).

Proof

To prove this lemma, let \(x,y\in {\mathbb {R}}\) and \(\varepsilon >0\) be arbitrary. Then by definition of \(\Phi ^\alpha \), there exist \(n\in N\) and \(u_1,\dots ,u_n\in {\mathbb {R}}\) with \(y=u_1+\dots +u_n\) satisfying

$$\begin{aligned} \Phi (|u_1|)+\dots +\Phi (|u_n|)<\Phi ^\alpha (|y|)+\varepsilon . \end{aligned}$$
(4.7)

Using the \(\Psi \)-Hölder property of \(\Phi \circ |\cdot |\), we have

$$\begin{aligned} \Phi (|u_n+(x-y)|)\le \Phi (|u_n|)+\Psi (|y-x|). \end{aligned}$$

Observe that \(x=u_1+\dots +u_{n-1}+(u_n+(x-y))\). Thus, using the inequality in (4.7), we arrive at

$$\begin{aligned} \Phi ^\alpha (|x|)\le & {} \Phi (|u_1|)+\dots +\Phi (|u_{n-1}|)+\Phi (|u_n+(x-y)|)\\\le & {} \Phi (|u_1|)+\dots +\Phi (|u_{n-1}|)+\Phi (|u_n|)+\Psi (|y-x|) <\Phi ^\alpha (|y|)+\Psi (|y-x|)+\varepsilon . \end{aligned}$$

As \(\varepsilon \) is an arbitrary positive number, we can conclude that \(\Phi ^\alpha \circ |\cdot |\) is \(\Psi \)-Hölder.\(\square \)

Remark 4.9

The property that \(\Phi \circ |\cdot |\) is \(\Psi \)-Hölder on \({\mathbb {R}}\) means that, for all \(x,y\in {\mathbb {R}}\),

$$\begin{aligned} \Phi (|x|)\le \Phi (|y|)+\Psi (|y-x|). \end{aligned}$$

Denoting |x| and |y| by u and v, respectively, the above inequality implies, for all \(u,v\ge 0\),

$$\begin{aligned} \Phi (u)\le \Phi (v)+\min (\Psi (|v-u|),\Psi (u+v)). \end{aligned}$$

Conversely, one can see that the \(\Psi \)-Hölder property of the function \(\Phi \circ |\cdot |\) is a consequence of the last inequality. Therefore, if \(\Psi \) is increasing, then \(\Phi \circ |\cdot |\) is \(\Psi \)-Hölder if and only if \(\Phi \) is \(\Psi \)-Hölder.

Theorem 4.10

Let I be an unbounded interval, \(\Phi ,\Psi \in {\mathcal {E}}(I)\) such that \(\Phi \circ |\cdot |\) is \(\Psi \)-Hölder on \({\mathbb {R}}\). Then \(f :I\rightarrow {\mathbb {R}}\) is \(\Phi \)-Hölder if and only if there exist two \(\Psi \)-Hölder functions \(f_*,f^* :I \rightarrow {\mathbb {R}}\) such that \(f_*\le f\le f^*\) holds on I and, for all \(x,y\in I \) with \(x\ne y\)

$$\begin{aligned} f(x)\le f_*(y)+\Phi ^\alpha (|y-x|) \qquad \text{ and }\qquad f^*(x)\le f(y)+\Phi ^\alpha (|y-x|). \end{aligned}$$
(4.8)

Additionally, for all \(x\in I\),

$$\begin{aligned} f^*(x)-f_*(x)\le \inf _{y\in I}2\Phi (|y-x|). \end{aligned}$$
(4.9)

Proof

First assume that f is \(\Phi \)-Hölder. Then, by Theorem 3.8, f is also \(\Phi ^\alpha \)-Hölder. For a fixed point \(x\in I\), define

$$\begin{aligned} f_*(x):=\sup _{u\in I}\Big (f(u)-\Phi ^\alpha (|u-x|)\Big )\qquad \text{ and } \qquad f^*(x):=\inf _{u\in I}\Big (f(u)+\Phi ^\alpha (|u-x|)\Big ). \end{aligned}$$

In view of the \(\Phi ^\alpha \)-Hölder property of f, for all \(u,x\in I\), we have that

$$\begin{aligned} f(u)-\Phi ^\alpha (|u-x|)\le f(x) \qquad \text{ and }\qquad f(x)\le f(u)+\Phi ^\alpha (|u-x|). \end{aligned}$$

Therefore, upon taking the supremum and infimum for all \(u\in I\), we get that \(f_*(x)\le f(x)\) and \(f(x)\le f^*(x)\), respectively. That is, \(f_*\) and \(f^*\) are real valued functions and \(f_*\le f\le f^*\) is satisfied on I. In the next step, we establish that \(f_*\) and \(f^*\) are \(\Psi \)-Hölder.

In view of Lemma 4.8, the \(\Psi \)-Hölder property of \(\Phi \circ |\cdot |\) yields that \(\Phi ^\alpha \circ |\cdot |\) is also \(\Psi \)-Hölder. Therefore, for all \(u,x,y \in I\), we have

$$\begin{aligned} -\Phi ^\alpha (|x-u|)\le -\Phi ^\alpha (|y-u|)+\Psi (|(y-u)-(x-u)|)\le -\Phi ^\alpha (|u-y|)+\Psi (|y-x|). \end{aligned}$$

Applying this inequality to the definition of \(f_*\), we arrive at

$$\begin{aligned} f_*(x)&=\sup _{u\in I} \Big (f(u)-\Phi ^\alpha (|u-x|)\Big )\\&\le \sup _{u\in I}\Big (f(u)-\Phi ^\alpha (|u-y|)\Big )+\Psi (|y-x|)=f_*(y)+\Psi (|y-x|), \end{aligned}$$

which shows that \(f_*\) is \(\Psi \)-Hölder.

Similarly, by the \(\Psi \)-Hölder property of \(\Phi ^\alpha \circ |\cdot |\), for all \(u,x,y\in I\), we obtain

$$\begin{aligned} \Phi ^\alpha (|u-x|)\le \Phi ^\alpha (|u-y|)+\Psi (\left| (u-y)-(u-x)\right| )=\Phi ^\alpha (|u-y|)+\Psi (|y-x|). \end{aligned}$$

Applying this inequality to the definition of \(f^*\), it follows that

$$\begin{aligned} f^*(x)&=\inf _{u\in I}\Big (f(u)+\Phi ^\alpha (|u-x|)\Big )\\&\le \inf _{u\in I}\Big (f(u)+\Phi ^\alpha (|u-y|)\Big )+\Psi (|y-x|)=f^*(y)+\Psi (|y-x|), \end{aligned}$$

which proves that \(f^*\) is also \(\Psi \)-Hölder.

Next we prove that \(f_*\) and \(f^*\) satisfy the inequalities stated in (4.8). Indeed, for \(x,y\in I\), from the definitions of \(f_*\) and \(f^*\), we obtain the inequalities

$$\begin{aligned} f(x)-\Phi ^\alpha (|y-x|)\le f_*(y) \qquad \text{ and }\qquad f^*(x)\le f(y)+\Phi ^\alpha (|y-x|), \end{aligned}$$

respectively. Conversely, if the first inequality in (4.8) holds for some function \(f_* :I \rightarrow {\mathbb {R}}\) satisfying \(f_*\le f\), then \(f(x)\le f_*(y)+\Phi ^\alpha (|y-x|)\le f(y)+\Phi ^\alpha (|y-x|)\), which shows that f is \(\Phi ^\alpha \)-Hölder. Similarly, the existence of a function \(f^* :I \rightarrow {\mathbb {R}}\) satisfying \(f\le f^*\) and the second inequality of (4.8), also implies that f is \(\Phi ^\alpha \)-Hölder.

Finally, to obtain the last inequality (4.9) of Theorem 4.10, we interchange x and y in the first inequality of (4.8) and obtain that

$$\begin{aligned} -f_*(x)\le -f(y)+\Phi (|y-x|) \end{aligned}$$

By summing up this inequality with the second inequality of (4.8) side by side, we reach at our desired conclusion.\(\square \)

5 Jordan-type decomposition of functions with bounded \(\Phi \)-variation

Let \(\Phi \in {\mathcal {E}}(I)\). Then a function \(f :I\rightarrow {\mathbb {R}}\) is called delta-\(\Phi \)-monotone if it is the difference of two \(\Phi \)-monotone functions. In what follows, we shall extend the celebrated Jordan Decomposition Theorem for delta-\(\Phi \)-monotone functions. For this purpose, we have to extend the notion of total variation to this more general setting.

Let \([a,b]\subseteq I\) and let \(\tau =(t_0,\dots ,t_n)\) be a partition of the interval [ab] (i.e., \(a=t_0<t_1<\dots <t_n=b\)). Then the \(\Phi \)-variation offwith respect to\(\tau \) is defined by

$$\begin{aligned} V^\Phi (f;\tau ):=\sum _{i=1}^n \big (|f(t_i)-f(t_{i-1})|-\Phi (t_i-t_{i-1})\big ). \end{aligned}$$

Finally, the total\(\Phi \)-variation offon the interval [ab] is defined by

$$\begin{aligned} V^\Phi _{[a,b]}f :=\sup \{V^\Phi (f;\tau )\mid \tau \text{ is } \text{ a } \text{ partition } \text{ of } [a,b]\}. \end{aligned}$$

Lemma 5.1

Let \(\Phi \in {\mathcal {E}}(I)\). Then, for all \(f :I\rightarrow {\mathbb {R}}\) and \(a<b<c\) in I, we have

$$\begin{aligned} V^\Phi _{[a,b]}f+V^\Phi _{[b,c]}f\le V^\Phi _{[a,c]}f. \end{aligned}$$
(5.1)

Proof

Let

$$\begin{aligned} u<V^\Phi _{[a,b]}f \qquad \text{ and }\qquad v<V^\Phi _{[b,c]}f \end{aligned}$$

be arbitrary real numbers. Then there exist a partition \(\tau =(t_0,\dots ,t_n)\) of [ab] and partition \(\sigma =(s_0,\dots ,s_m)\) of [bc] such that

$$\begin{aligned}&u<\sum _{i=1}^n \big (|f(t_i)-f(t_{i-1})|-\Phi (t_i-t_{i-1})\big ) \quad \text{ and }\quad \\&v<\sum _{j=1}^m \big (|f(s_j)-f(s_{j-1})|-\Phi (s_j-s_{j-1})\big ). \end{aligned}$$

Observe that \(\tau \cup \sigma :=(t_0,\dots ,t_n=b=s_0,\dots ,s_m)\) is a partition of the interval [ac]. Therefore, adding the above inequalities side by side, we get

$$\begin{aligned} u+v<V^\Phi (f;\tau \cup \sigma )\le V^\Phi _{[a,c]}f. \end{aligned}$$

Using the arbitrariness of u and v, it follows that (5.1) holds.\(\square \)

Our first result characterizes those functions whose total \(\Phi \)-variation is nonpositive on every subinterval of I.

Theorem 5.2

Let \(\Phi \in {\mathcal {E}}(I)\). Then \(V^\Phi _{[a,b]}f\le 0\) holds for all \(a<b\) in I if and only if f is a \(\Phi \)-Hölder function.

Proof

Assume first that f is a \(\Phi \)-Hölder function and let \(a<b\) in I. Then, for any partition \(\tau =(t_0,\dots ,t_n)\) of [ab], the \(\Phi \)-Hölder property of f yields

$$\begin{aligned} |f(t_i)-f(t_{i-1})|-\Phi (t_i-t_{i-1})\le 0 \qquad (i\in \{1,\dots ,n\}). \end{aligned}$$

After summation, this results that \(V^\Phi (f;\tau )\le 0\) for all partition \(\tau \) and hence \(V^\Phi _{[a,b]}f\le 0\).

Now assume that, for all \(a<b\) in I, \(V^\Phi _{[a,b]}f\le 0\). Then \(V^\Phi (f;\tau )\le 0\), where \(\tau \) is the trivial partition \(t_0=a\), \(t_1=b\). Therefore,

$$\begin{aligned} |f(b)-f(a)|-\Phi (b-a)\le 0. \end{aligned}$$

This shows that f is \(\Phi \)-Hölder, indeed.\(\square \)

The main results of this section are as follows.

Theorem 5.3

Let \(\Phi ,\Psi \in {\mathcal {E}}(I)\). If \(f :I\rightarrow {\mathbb {R}}\) is the difference of a \(\Phi \)-monotone and a \(\Psi \)-monotone functions, then the total \(2\max (\Phi ,\Psi )\)-variation of f is finite on every compact subinterval of I.

Proof

Assume that \(f=g-h\), where \( g :I\rightarrow {\mathbb {R}}\) is \(\Phi \)-monotone and \(h :I \rightarrow {\mathbb {R}}\) is \(\Psi \)-monotone. Let \([a,b]\subseteq I\) and let \(\tau =(t_0,\dots ,t_n)\) be a partition of [ab]. Then, by the monotonicity properties of g and h, for all \(i\in \{1,\dots ,n\}\), we have

$$\begin{aligned} g(t_i)-g(t_{i-1})+\Phi (t_i-t_{i-1})\ge 0 \qquad \text{ and }\qquad h(t_i)-h(t_{i-1})+\Psi (t_i-t_{i-1})\ge 0. \end{aligned}$$

Therefore, by the triangle inequality,

$$\begin{aligned}&|f(t_i)-f(t_{i-1})|-2\max (\Phi ,\Psi )(t_i-t_{i-1})\\&\quad =\big |[g(t_i)-g(t_{i-1})+\Phi (t_i-t_{i-1})]-[h(t_i)-h(t_{i-1})+\Psi (t_i-t_{i-1})] \\&\qquad +(\Psi -\Phi )(t_i-t_{i-1})\big |-2\max (\Phi ,\Psi )(t_i-t_{i-1})\\&\quad \le [g(t_i)-g(t_{i-1})+\Phi (t_i-t_{i-1})]+[h(t_i)-h(t_{i-1})+\Psi (t_i-t_{i-1})]|\\&\qquad +|\Psi -\Phi |(t_i-t_{i-1})-2\max (\Phi ,\Psi )(t_i-t_{i-1}) \\&\quad =g(t_i)-g(t_{i-1})+h(t_i)-h(t_{i-1})+(\Phi +\Psi +|\Psi -\Phi |-2\max (\Phi ,\Psi ))(t_i-t_{i-1})\\&\quad =g(t_i)-g(t_{i-1})+h(t_i)-h(t_{i-1}). \end{aligned}$$

Summing up these inequalities side by side for \(i\in \{1,\dots ,n\}\), we obtain

$$\begin{aligned} V^{2\max (\Phi ,\Psi )}(f;\tau )\le g(b)-g(a)+h(b)-h(a). \end{aligned}$$

Upon taking the supremum with respect to all partitions \(\tau \) of [ab], it follows that

$$\begin{aligned} V^{2\max (\Phi ,\Psi )}_{[a,b]}f\le g(b)-g(a)+h(b)-h(a)<\infty . \end{aligned}$$

Hence f is of bounded \(2\max (\Phi ,\Psi )\)-total variation on [ab].\(\square \)

The particular case \(\Phi =\Psi \) of the above result yields the following statement.

Corollary 5.4

Let \(\Phi \in {\mathcal {E}}(I)\). If \(f :I\rightarrow {\mathbb {R}}\) is a delta-\(\Phi \)-monotone function, then the total \(2\Phi \)-variation of f is finite on every compact subinterval of I.

Theorem 5.5

Let \(\Phi \in {\mathcal {E}}(I)\) and \(f :I\rightarrow {\mathbb {R}}\) such that the total \(2\Phi \)-variation of f on is finite on every compact subinterval of I. Then, for all \(a\in I\), f is a delta-\(\Phi \)-monotone function on \(I\cap \,]a,\infty [\).

Proof

Assume that the total \(2\Phi \)-variation of f on every compact subinterval of I is finite.

Let \(a\in I\) be an arbitrarily fixed point and, for \(x\in I\), \(x>a\), define

$$\begin{aligned} g(x):=\frac{1}{2}\big (V^{2\Phi }_{[a,x]}f+f(x)\big ) \quad \text{ and }\qquad h(x):=\frac{1}{2}\big (V^{2\Phi }_{[a,x]}f-f(x)\big ). \end{aligned}$$

Then, we immediately have that \(f=g-h\).

Then, based on the Lemma 5.1, for \(a<x<y\), we get

$$\begin{aligned} V^{2\Phi }_{[a,x]}f+f(x)-f(y)-2\Phi (y-x)\le & {} V^{2\Phi }_{[a,x]}f+|f(x)-f(y)|-2\Phi (y-x)\\\le & {} V^{2\Phi }_{[a,x]}f+V^{2\Phi }_{[x,y]}f\le V^{2\Phi }_{[a,y]}f. \end{aligned}$$

Rearranging this inequality, it follows that

$$\begin{aligned} g(x)\le g(y)+\Phi (y-x), \end{aligned}$$

which proves that g is \(\Phi \)-monotone. Similarly, we can see that h is also \(\Phi \)-monotone. This, together with the identity \(f=g-h\) show that f is delta-\(\Phi \)-monotone function on \(I\cap \,]a,\infty [\).\(\square \)

6 Individual error functions

In this section we shall characterize the elements of the classes \({\mathcal {M}}(I)\) and \({\mathcal {H}}(I)\). For this purpose, given a function \(f :I\rightarrow {\mathbb {R}}\), we define the following two extended real valued error functions on \( [0,\ell (I) [ \):

$$\begin{aligned} \Phi _f^\sigma (u):=\sup _{x\in I\cap (I-u)}(f(x)-f(x+u))_+\qquad \text{ and }\qquad \Phi _f^\alpha (u):=\sup _{x\in I\cap (I-u)}|f(x)-f(x+u)|. \end{aligned}$$

Here, the positive part of a real number c is defined as \(c_+:=\max (c,0)\).

Theorem 6.1

Let \(f :I\rightarrow {\mathbb {R}}\). Then we have the following two statements.

  1. (i)

    \(f\in {\mathcal {M}}(I)\) if and only if \(\Phi _f^\sigma \) is finite valued on \( [0,\ell (I)[ \). Additionally, if for some \(\Phi \in {\mathcal {E}}(I)\), we have \(f\in {\mathcal {M}}_\Phi (I)\), then \(\Phi _f^\sigma \le \Phi \).

  2. (ii)

    \(f\in {\mathcal {H}}(I)\) if and only if \(\Phi _f^\alpha \) is finite valued on \( [0,\ell (I)[ \). Additionally, if for some \(\Phi \in {\mathcal {E}}(I)\), we have \(f\in {\mathcal {H}}_\Phi (I)\), then \(\Phi _f^\alpha \le \Phi \).

Proof

Assume that \(f\in {\mathcal {M}}(I)\). Then there exists an error function \(\Phi \in {\mathcal {E}}(I)\) such that \(f\in {\mathcal {M}}_\Phi (I)\). Therefore, for all \(u\in [0,\ell (I) [ \),

$$\begin{aligned} f(x)-f(x+u)\le \Phi (u) \qquad (x\in I\cap (I-u)). \end{aligned}$$

Using that \(\Phi \) is nonnegative, we get

$$\begin{aligned} (f(x)-f(x+u))_+=\max (f(x)-f(x+u),0)\le \Phi (u) \qquad (x\in I\cap (I-u)). \end{aligned}$$

Upon taking the supremum with respect to \(x\in I\cap (I-u)\), we get that \(\Phi _f^\sigma (u)\le \Phi (u)\), which proves that \(\Phi _f^\sigma \) has finite values.

Conversely, assume that \(\Phi _f^\sigma \) has finite values. Then \(\Phi _f^\sigma \in {\mathcal {E}}(I)\) and, for all \(u\in [0,\ell (I) [ \) and \(x\in I\cap (I-u)\),

$$\begin{aligned} f(x)-f(x+u)\le \Phi _f^\sigma (u). \end{aligned}$$

This shows that f is \(\Phi _f^\sigma \)-monotone, and hence, \(f\in {\mathcal {M}}(I)\).

The proof about the second assertion is very similar and therefore, it is omitted.\(\square \)

Theorem 6.2

Let \(f :I\rightarrow {\mathbb {R}}\). Then we have the following two statements.

  1. (i)

    If \(f\in {\mathcal {M}}(I)\), then \(\Phi _{f}^\sigma \) is subadditive. Additionally, if for some \(\Phi \in {\mathcal {E}}(I)\), we have \(f\in {\mathcal {M}}_\Phi (I)\), then \(\Phi _{f}^\sigma \le \Phi ^\sigma \).

  2. (ii)

    Provided that I is unbounded, if \(f\in {\mathcal {H}}(I)\), then \(\Phi _{f}^\alpha \) is absolutely subadditive. Additionally, if for some \(\Phi \in {\mathcal {E}}(I)\), \(f\in {\mathcal {H}}_\Phi (I)\), then \(\Phi _{f}^\alpha \le \Phi ^\alpha \).

Proof

Let \(f\in {\mathcal {M}}(I)\) and let \(u,v\in {\mathbb {R}}_+\) such that \(u+v<\ell (I)\). By the definition of \(\Phi _f^\sigma \) and the subadditivity of the function \((\cdot )_+\), we have

$$\begin{aligned} \Phi _f^\sigma (u+v)= & {} \sup _{x\in I\cap (I-(u+v))}\big (f(x)-f(x+(u+v))\big )_+\\\le & {} \sup _{x\in I\cap (I-(u+v))}\big (f(x)-f(x+u)\big )_+ +\big (f(x+u)-f(x+(u+v))\big )_+\\\le & {} \sup _{x\in I\cap (I-(u+v))}\big (f(x)-f(x+u)\big )_+ +\sup _{x\in I\cap (I-(u+v))}\big (f(x+u)-f(x+(u+v))\big )_+\\\le & {} \sup _{x\in I\cap (I-u)}\big (f(x)-f(x+u)\big )_+ +\sup _{x\in (I-u)\cap (I-(u+v))}\big (f(x+u)-f(x+(u+v))\big )_+\\= & {} \Phi _f^\sigma (u)+\Phi _f^\sigma (v), \end{aligned}$$

which establishes the subadditivity of \(\Phi _f^\sigma \).

Since,\(\Phi ^\sigma \) is the largest subadditive function satisfying the inequality \(\Phi ^\sigma \le \Phi \). Therefore, the inequality \(\Phi _{f}^\sigma \le \Phi ^\sigma \) follows.

Suppose that the interval I is unbounded from above. Let \(f\in {\mathcal {H}}(I)\) and let \(u,v\in {\mathbb {R}}\) such that \(|u|,|v|,|u+v|<\ell (I)\). We may assume that \(u+v\) is nonnegative (otherwise we replace u by \((-u)\) and v by \((-v)\)). Therefore, by the unboundedness of I, we have that \(I\subseteq I-(u+v)\) holds. Then at least one of the values u and v is nonnegative. By symmetry, we may also assume that \(u\ge 0\) and thus we have \(I\subseteq I-u\). In this case, \(x+u\in I\) for all \(x\in I\). By the definition of \(\Phi _f^\sigma \) and the subadditivity of the function \(|\cdot |\), we have

$$\begin{aligned} \Phi _f^\sigma (u+v)= & {} \sup _{x\in I\cap (I-(u+v))}\big |f(x)-f(x+(u+v))\big | =\sup _{x\in I}\big |f(x)-f(x+(u+v))\big |\\\le & {} \sup _{x\in I}\big |f(x)-f(x+u)\big | +\big |f(x+u)-f(x+(u+v))\big |\\\le & {} \sup _{x\in I}\big |f(x)-f(x+u)\big | +\sup _{x\in I}\big |f(x+u)-f(x+(u+v))\big |\\\le & {} \sup _{x\in I\cap (I-u)}\big |f(x)-f(x+u)\big | +\sup _{x\in (I-u)\cap (I-(u+v))}\big |f(x+u)-f(x+(u+v))\big |\\= & {} \Phi _f^\sigma (|u|)+\Phi _f^\sigma (|v|), \end{aligned}$$

which establishes the absolute subadditivity of \(\Phi _f^\alpha \) if I is unbounded from above. The argument for the remaining case is similar, therefore it is left to the reader.

Since, \(\Phi ^\alpha \) is the largest absolutely subadditive function satisfying the inequality \(\Phi ^\alpha \le \Phi \). Therefore, the inequality \(\Phi _f^\alpha \le \Phi ^\alpha \) follows.\(\square \)