1 Introduction

Let \(\{{p_{i}(x)},0\leq i\leq n\}\) denote a sequence of real-valued functions on \([0,1]\). Lototsky–Bernstein basis functions \({b_{n,k}(x)}\) for \(0\leq x\leq 1\) are defined as follows

$$\begin{aligned} b_{n,k}(x)=\sum_{ \substack{K\cup L=\{1,2,\ldots ,n\}\\ |L|=n-k,|K|=k}}\prod _{m\in L}\bigl(1-p_{m}(x)\bigr)\prod _{l\in K}p_{l}(x). \end{aligned}$$
(1.1)

The Lototsky–Bernstein operators \(L_{n}\) are defined for each function \(f \in C[0,1]\) by (see [11])

$$\begin{aligned} L_{n}(f;x)=\sum_{k=0}^{n}f \biggl(\frac {k}{n} \biggr)b_{n,k}(x). \end{aligned}$$
(1.2)

Throughout this paper, we always assume that \(p_{i}(x)\in C[0,1]\) (\(1\leq i\leq n\)), \(0< p_{i}(x)<1\) for \(x\in (0,1)\), and that \(p_{i}(0)=0\), \(p_{i}(1)=1\). When \(p_{i}(x)=x\), the operators \(L_{n}\) become the classical n-th order Bernstein operators (see [5]).

The class of Lototsky–Bernstein operators is of particular interest since the Lototsky–Bernstein basis functions \(b_{n,k}(x)\) (\(0\leq k\leq n\)) are generated by special \(p_{i}(x)\) (\(1\leq i\leq n\)). In this case, given a strictly increasing function \(p_{1}(x)\) such that \(p_{1}(0)=0\), \(p_{1}(1)=1\), all the \(p_{j}(x)\) (\(j\geq 2\)) are determined recursively by (see [10])

$$\begin{aligned} p_{n+1}(x)= \frac {\sum_{k=0}^{n} [p_{1}(k/n)-p_{1}(k/(n+1)) ]b_{n,k}(x)}{\sum_{k=0}^{n} [p_{1}((k+1)/(n+1))-p_{1}(k/(n+1)) ]b_{n,k}(x)}. \end{aligned}$$
(1.3)

Set

$$ Q_{k}:= \frac {p_{1}(k/n)-p_{1}(k/(n+1))}{p_{1}((k+1)/(n+1))-p_{1}(k/(n+1))} \in (0,1), \quad 0\leq k\leq n. $$

These special Lototsky–Bernstein operators possess the following properties ([10, 11]):

(a) \(L_{n}(f;x)\) preserve 1 and \(p_{1}(x)\).

(b) \(\lim_{n\to \infty}L_{n}(f;x)=f(x)\) uniformly on \([0,1]\) for any \(f\in C[0,1]\).

(c) \(p_{n}(x)\) (\(n\geq 2\)) are increasing on \([0,1]\) with \(\lim_{n\to \infty}p_{n}(x)=x\) uniformly in \([0,1]\) if \(Q_{k+1}\geq Q_{k}\), for \(0\leq k\leq n-1\).

From (a) and (b) we know that there exist Lototsky–Bernstein operators \(L_{n}(f;x)\) that can fix any increasing function \(p_{1}(x)\) on \([0,1]\) with \(p_{1}(0)=0\), \(p_{1}(1)=1\) and still approximate all continuous functions uniformly on \([0,1]\). In (c), we give monotonicity and convergence of \(p_{n}(x)\) with condition \(Q_{k+1}\geq Q_{k}\), for \(0\leq k\leq n-1\). A natural question we want to ask is how fast of the limit \(\lim_{n\to \infty}p_{n}(x)=x\) in (c) shall be. Since the form of the \(p_{n}(x)\) from (1.3) is quite complicated for general \(p_{1}(x)\), it therefore not easy to get the rate of the limit \(\lim_{n\to \infty}p_{n}(x)=x\).

In this note, we shall consider a special \(p_{1}(x)=x^{2}\) to solve above question to some extent. In this case, the recursive formula of \(p_{n}(x)\) is as follows(see [11] Remark 7.8)

$$\begin{aligned} p_{n+1}(x)=:\frac {(2n+1)x^{2}}{1+2\sum_{k=1}^{n} p_{k}(x)}. \end{aligned}$$
(1.4)

It is not difficult to inductively prove that all the \(p_{n}(x)\) are even functions on \([-1,1]\), which entails that \(\lim_{n\to \infty}p_{n}(x)=|x|\) uniformly on \([-1,1]\).

The function \(|x|\) has been the focus of much research in approximation theory over the years. Its fundamental role in polynomial approximation is well illustrated by Lebesgue’s proof of the Weierstrass approximation theorem, which is based solely on the fact that the single function \(|x|\) can be approximated. For progress on approximation of \(|x|\) by polynomials and rational functions, we refer to see [14, 69].

The primary goal of this paper is to study convergence properties of \(p_{n}(x)\). The paper is organized as follows. In Sect. 2, we present some basic properties of \(p_{n}(x)\). The inequalities \(p_{n}(x)\leq p_{n+1}(x)\) (\(0\leq x\leq 1/2\), \(n\geq 2\)) and \(p_{n}(x)\geq p_{n+1}(x)\) (\(1/2\leq x\leq 1\), \(n\geq 2\)) are derived. Also we deduce two inequalities \(\sum_{k=1}^{n}(x-p_{k}(x))\leq \frac {1-x}{2}\) (\(0\leq x\leq 1/2\)) and \(\sum_{k=1}^{n}(x-p_{k}(x))\geq \frac {1-x}{2}\) (\(1/2< x\leq 1\)), and one limit \(\sum_{k=1}^{\infty}(x-p_{k}(x))=\frac {1-x}{2}\) (\(0< x\leq 1\)). In Sect. 3, we prove the estimate \(\vert |x|-p_{n}(x) \vert \leq \max\{e^{2\delta +1/\delta -4/3},4\} \cdot \frac { ||x|-p_{2}(x)|}{n^{2}}\) on \([-1,\delta ]\cup [\delta ,1]\) for some fixed \(0<\delta <1/2\).

2 Some preservation properties of \(p_{n}(x)\)

This section is devoted to some basic properties on \(p_{n}(x)\). In [11] we prove that \(p_{n}(\frac {1}{2})=\frac {1}{2}\) for \(n\geq 2\). Thus \(p_{n}(x)\) (\(n\geq 2\)) interpolates \(|x|\) at the following set of 5 points: \(\{-1,-\frac {1}{2},0,\frac {1}{2},1\}\). Since \(p_{n}(x)\) as well as \(|x|\) are even functions, the study of the approximation may be restricted to the interval \([0,1] \).

Theorem 2.1

Let \(p_{n}(x)\) be defined in (1.4) for \(x\in [0,1]\). Then for \(n\geq 2\), we have \(p_{n}(x)\leq p_{n+1}(x)\leq x\) when \(0\leq x\leq 1/2\), and \(p_{n}(x)\geq p_{n+1}(x)\geq x\) when \(1/2< x\leq 1\).

Proof

We need only to prove the desired result for \(0< x\leq 1\). It is obvious to deduce from (1.4) that

$$\begin{aligned} \frac {p_{n+1}(x)}{p_{n}(x)}= \frac {(2n+1)x^{2}}{2p_{n}^{2}(x)+(2n-1)x^{2}}, \end{aligned}$$
(2.1)

and

$$\begin{aligned} p_{n+1}(x)-x= \frac {(p_{n}(x)-x)[(2n-1)x^{2}-2xp_{n}(x)]}{2p^{2}_{n}(x)+(2n-1)x^{2}}, \end{aligned}$$
(2.2)

with \(p_{2}(x)=\frac {3x^{2}}{2x^{2}+1}\). Note that the following two inequalities \(p_{2}(x)\leq x\) for \(0< x\leq 1/2\) and \(p_{2}(x)\geq x\) for \(1/2< x\leq 1\) hold. Setting \(a_{n}(x):=(2n-1)x^{2}-2xp_{n}(x)\geq 0\), we now divide the proof into two cases.

Case I, \(0< x\leq 1/2\). It is easy to see that \(a_{2}(x)=3x^{2}-2xp_{2}(x)\geq 3x^{2}-2x^{2}>0\). Thus from (2.2) we know that the sign of \(p_{3}(x)-x\) is the same as the sign of \(p_{2}(x)-x\), which means that \(p_{3}(x)\leq x\). Along this idea of deduction, by noting \(a_{n}(x)\geq 0\), we can prove inductively from (2.2) that \(p_{n}(x)\leq x\). Thus from (2.1) and \(p_{n}(x)\leq x\), we have \(p_{n+1}(x)/p_{n}(x)\geq 1\), i.e., \(p_{n}(x)\leq p_{n+1}(x)\).

Case II, \(1/2< x\leq 1\). Similarly, we have \(a_{2}(x)=3x^{2}-2xp_{2}(x)=\frac {3x^{2}(2x^{2}-2x+1)}{2x^{2}+1}>0\). It follows as well that the sign of \(p_{3}(x)-x\) is the same as the sign of \(p_{2}(x)-x\), i. e., \(p_{3}(x)\geq x\). From (2.1) we now have \(p_{3}(x)/p_{2}(x)\leq 1\), i.e., \(p_{3}(x)\leq p_{2}(x)\). The inequality \(a_{3}(x)=5x^{2}-2xp_{3}(x)\geq 5x^{2}-2xp_{2}(x)\geq a_{2}(x)> 0\) follows. Along this idea, we can deduce inductively that \(p_{n}(x)\geq x\) and \(p_{n}(x)\geq p_{n+1}(x)\). □

Theorem 2.2

Let \(p_{n}(x)\) be defined in (1.4) for \(x\in [0,1]\). Then

(1) \(\sum_{k=1}^{n}(x-p_{k}(x))\leq \frac {1-x}{2}\), for \(0\leq x\leq \frac {1}{2}\) and \(\sum_{k=1}^{n}(x-p_{k}(x))\geq \frac {1-x}{2}\), for \(\frac {1}{2}< x\leq 1\);

(2) \(\sum_{k=1}^{\infty}(x-p_{k}(x))=\frac {1-x}{2}\), for \(0< x\leq 1\) and \(\sum_{k=1}^{\infty}(x-p_{k}(x))=0\), for \(x=0\).

Proof

(1) It is trivial for \(x=0\). From (1.4) we have for \(0< x\leq 1\)

$$\begin{aligned} 2\sum_{k=1}^{n}\bigl(x-p_{k}(x) \bigr)-1=2nx- \frac {(2n+1)x^{2}}{p_{n+1}(x)}, \end{aligned}$$
(2.3)

which, combined (2.3) with Theorem 2.1, implies that the first two inequalities follow.

(2) In the case of \(0< x\leq 1/2\), we know from (1) that \(\sum_{k=1}^{n}(x-p_{k}(x))\leq \frac {1-x}{2}\). Since \(x-p_{k}(x)\geq 0\), the series \(\sum_{k=1}^{\infty }(x-p_{k}(x))\) converges. Now by noting \(p_{n}(x)\leq p_{n+1}(x)\) from Theorem 2.1, it follows that \(b_{n}(x):=x-p_{n}(x)\) is decreasing in n. Then

$$\begin{aligned} b_{[n/2]}(x)+b_{[n/2]+1}(x)+\cdots +b_{n}(x)\geq nb_{n}(x)/2, \end{aligned}$$
(2.4)

which entails that \(nb_{n}(x)=n(x-p_{n}(x))\to 0\) as \(n\to \infty \). In another case \(1/2\leq x\leq 1\), we know from (1) that \(\sum_{k=2}^{n}(p_{k}(x)-x)\leq (1-x)(x-1/2)\). By noting \(p_{n+1}(x)\geq p_{n}(x)\) from Theorem 2.1, \(p_{n}(x)-x\) is decreasing in n. It follows similarly that \(n(p_{n}(x)-x)\to 0\) as \(n\to \infty \). Thus, from (2.3), we have for \(0< x\leq 1\)

$$\begin{aligned} 2\sum_{k=1}^{n}\bigl(x-p_{k}(x) \bigr)-1= \frac {2nx(p_{n+1}(x)-x)-x^{2}}{p_{n+1}(x)}\to -x,\quad n\to \infty . \end{aligned}$$
(2.5)

The case of \(x=0\) is also trivial. □

Corollary 2.2.1

Let \(p_{n}(x)\) be defined in (1.4) for \(x\in [0,1]\). Then

(1) \(x-p_{n}(x)=o (\frac {1}{n} )\);

(2) \(p_{n}(x)-p_{n+1}(x)=o (\frac {1}{n^{2}} )\).

Proof

The first result follows from (2.4) and the second one can be verified by the fact that

$$\begin{aligned} p_{n+1}(x)-p_{n}(x)= \frac {2p_{n}(x)(x+p_{n}(x))(x-p_{n}(x))}{2p_{n}^{2}(x)+(2n-1)x^{2}}. \end{aligned}$$
(2.6)

 □

3 Approximation estimate of \(p_{n}(x)\)

In this section, we shall give an estimate of the approximation of \(p_{n}(x)\) to \(|x|\) on \([-1,1]\).

Theorem 3.1

For \(x\in [-1,-\delta ]\cup [\delta ,1]\) with some fixed \(0<\delta < \frac{1}{2}\), let \(p_{n}(x)\) (\(n\geq 2\)) be defined in (1.4). Then

$$\begin{aligned} \bigl\vert \vert x \vert -p_{n}(x) \bigr\vert \leq \max\bigl\{ e^{2\delta +1/\delta -4/3},4\bigr\} \cdot \frac { \vert \vert x \vert -p_{2}(x) \vert }{n^{2}}. \end{aligned}$$
(3.1)

Proof

We need only to prove for \(x\in (0,1]\). It follows from (2.2) that

$$\begin{aligned} p_{n+1}(x)-x=\bigl(p_{n}(x)-x\bigr) \frac {2n-1-2\frac{p_{n}(x)}{x}}{2n-1+2(\frac{p_{n}(x)}{x})^{2}}. \end{aligned}$$
(3.2)

In the following, we divide the proof into two cases.

Case I, \(\frac{1}{2}\leq x\leq 1\). We have from Theorem 2.1 that \(x\leq p_{n}(x)\leq p_{2}(x)=\frac {3x^{2}}{2x^{2}+1}\) (\(n\geq 2\)). Thus \(1\leq \frac {p_{n}(x)}{x}\leq \frac {3}{2}\). Now the equality (3.2) can deduce that for \(n\geq 2\)

$$\begin{aligned} p_{n+1}(x)-x\leq \bigl(p_{n}(x)-x\bigr)\frac {2n-1-2}{2n-1+2}= \bigl(p_{n}(x)-x\bigr) \frac {2n-3}{2n+1}. \end{aligned}$$
(3.3)

It follows from iterated inequality (3.3) that

$$\begin{aligned} p_{n}(x)-x&\leq \bigl(p_{2}(x)-x\bigr)\cdot \frac {1}{5}\cdot \frac {3}{7} \cdot \frac {5}{9}\cdots \frac {2n-9}{2n-5}\cdot \frac {2n-7}{2n-3} \cdot \frac {2n-5}{2n-1} \\ &\leq \frac {3(p_{2}(x)-x)}{(2n-3)(2n-1)} \\ &= \frac {3(p_{2}(x)-x)}{(2-\frac{3}{n})(2-\frac{1}{n})n^{2}}\leq \frac {3(p_{2}(x)-x)}{(2-\frac{3}{2})(2-\frac{1}{2})n^{2}}= \frac {4(p_{2}(x)-x)}{n^{2}}. \end{aligned}$$
(3.4)

Case II, \(\delta \leq x<\frac{1}{2}\). It follows from (2.1) that

$$\begin{aligned} &\frac {p_{n+1}(x)-x}{p_{n}(x)-x} \\ &\quad =1+\frac {-4}{2n+1}+ \frac {(x-p_{n}(x)) ((4x+2p_{n}(x))-8(p_{n}(x)+x)/(2n+1) )}{(2n-1)x^{2}+2p^{2}_{n}(x)} \\ &\quad =1+\frac {-2}{n}+\frac {2}{n(2n+1)}+ \frac {(x-p_{n}(x))\cdot ((4+2\frac{p_{n}(x)}{x})-8(\frac{p_{n}(x)}{x}+1)/(2n+1) )}{x\cdot ((2n-1)+2(\frac{p_{n}(x)}{x})^{2})}. \end{aligned}$$
(3.5)

By using Theorem 2.1, \(p_{2}(x)=\frac {3x^{2}}{2x^{2}+1}\leq p_{n}(x)\leq x\) (\(n\geq 2\)). We know that the sign of the last term of (3.5) is positive for \(n\geq 2\). By taking logarithm to both sides of (3.5) and using the inequality \(\log(1+x)\leq x\) (\(x>-1\)), it follows that for \(n\geq 2\)

$$\begin{aligned} &\log\bigl(x-p_{n+1}(x)\bigr)-\log\bigl(x-p_{n}(x)\bigr) \\ &\quad \leq \frac {-2}{n}+\frac {2}{n(2n+1)}+ \frac {(x-p_{n}(x))\cdot ((4+2\frac{p_{n}(x)}{x})-8(\frac{p_{n}(x)}{x}+1)/(2n+1) )}{x\cdot ((2n-1)+2(\frac{p_{n}(x)}{x})^{2})} \\ &\quad \leq \frac {-2}{n}+\frac {2}{n(2n+1)}+ \frac {(x-p_{n}(x))\cdot ((4+2\frac{p_{n}(x)}{x}) )}{x\cdot ((2n-1)+2(\frac{p_{n}(x)}{x})^{2})} \\ &\quad \leq \frac {-2}{n}+\frac {4}{(2n-1)(2n+1)}+\frac {x-p_{n}(x)}{x} \cdot \frac {6}{2n-1} \\ &\quad \leq \frac {-2}{n}+2 \biggl(\frac {1}{2n-1}-\frac {1}{2n+1} \biggr)+ \frac {2(x-p_{n}(x)}{x}. \end{aligned}$$
(3.6)

Then taking sum of both sides of (3.6), and combining the inequality \(\sum_{k=1}^{n}\frac {1}{k}>\log n+\frac {1}{2}\) and (1) of Theorem 2.2, we get

$$\begin{aligned} &\log\bigl(x-p_{n}(x)\bigr)-\log\bigl(x-p_{2}(x)\bigr) \\ &\quad \leq -2\sum_{k=2}^{n-1}\frac {1}{k}+2 \sum_{k=2}^{n-1} \biggl(\frac {1}{2k-1}- \frac {1}{2k+1} \biggr)+\frac {2}{x}\sum_{k=2}^{n-1} \bigl(x-p_{k}(x)\bigr) \\ &\quad \leq -2(\log n-1/2)+\frac {2}{3}+\frac {2}{x}\cdot \biggl( \frac {1-x}{2}-\bigl(x-x^{2}\bigr)\biggr) \\ &\quad \leq -2\log n+\frac {5}{3}+\frac {(1-x)(1-2x)}{x}. \end{aligned}$$
(3.7)

It follows from (3.7) that

$$\begin{aligned} x-p_{n}(x)\leq e^{5/3+(1-x)(1-2x)/x}\cdot \frac {x-p_{2}(x)}{n^{2}}. \end{aligned}$$
(3.8)

On the other hand, we have for \(x\in [\delta ,1/2)\)

$$\begin{aligned} 2\sqrt{2}-4/3\leq 5/3+(1-x) (1-2x)/x=2x+1/x-4/3\leq 2\delta +1/\delta -4/3. \end{aligned}$$
(3.9)

Summing (3.4), (3.8), and (3.9)

$$\begin{aligned} \bigl\vert \vert x \vert -p_{n}(x) \bigr\vert \leq \max\bigl\{ e^{2\delta +1/\delta -4/3},4\bigr\} \cdot \frac { \vert \vert x \vert -p_{2}(x) \vert }{n^{2}}, \end{aligned}$$
(3.10)

which implies that (3.1) follows. □

Remark 1

When \(\delta \to 0^{+}\) in (3.1), the constant \(\max\{e^{2\delta +1/\delta -4/3},4\}\) may tend to infinity. If the control constant \(\max\{e^{2\delta +1/\delta -4/3},4\}\) can be improved to a constant which is independent of δ remains open.