1 Introduction

As a bridge between theoretical and applied mathematics, approximation theory has been significant in the advancement of several computational approaches in recent years. It focuses on approximating the functions in the most effective way possible by employing much simpler or accessible functions and procedures that depend on the application of modern approximation techniques. In this theory, positive approximation techniques play a crucial role and appear naturally in various problems involving the approximation of continuous functions, particularly when additional qualitative properties are required, such as monotonicity, convexity, shape preservation, symmetry, and so on.

In order to decide a number of practical and symphonic studies, measure hypotheses, PDEs, and probability hypotheses, the positive estimate methods presented by Korovkin [16] play out as an effective component. In 1953, Korovkin [16] found what is likely the most effective and yet surprisingly straightforward criterion for determining whether or not a sequence of positive linear operators \(\langle \kappa _\nu \rangle _{\nu \in {\mathbb {N}}}\) on the space C[0, 1] is an approximation process, i.e., \(\kappa _\nu ({\tilde{f}})\xrightarrow {\text {uniformly}} {\tilde{f}}\) on [0, 1] for every \({\tilde{f}}\in C[0,1].\) This proof inspired other mathematicians to generalize Korovkin’s theorem to more general settings, including all function spaces and general abstract spaces such as Banach spaces, Banach lattices, Banach algebras, and so on. In actuality, Korovkin’s work outlined a novel theory that may be referred to as Korovkin’s type approximation theory. Numerous researchers have investigated the convergence rates and properties of the Korovokin-type approximation; for example, see [16, 17, 21, 28, 29, 31]. Intriguing improvements to approximation theories can really be traced back to the work in [1, 4, 11,12,13,14, 19,20,21,22, 25, 27, 30, 32].

The discipline of approximation theory greatly benefits from the use of Szász operators [29], which are extended Bernstein operators to infinite intervals. Szász suggested the following set of positive linear operators:

$$\begin{aligned} \tilde{\mathcal {S}}_\eta ({\hat{f}},\nu )=e^{-\eta \nu }\sum _{r=0}^{\infty }\frac{(\eta \nu )^r}{r!}{\hat{f}}\left( \frac{r}{\eta }\right) , \end{aligned}$$
(1.1)

where \(\nu \in [0,\infty )\) and \({\hat{f}}\in C[0,\infty )\) the series in Eq. (1.1) converges. Current research has extensively examined the generalizations of Szász operators by employing specialized polynomials. These generalizations expand the scope of approximation theory by introducing a diverse set of new operator sequences.

Within this particular framework, it is advantageous to provide clear definitions for certain terminology and emphasize particular outcomes.

Definition 1.1

The modulus of continuity, denoted as \(\omega (f;\sigma )\), is defined for any uniformly continuous function f on the interval \([0,\infty )\) and for any positive value of \(\sigma \)

$$\begin{aligned} \omega (f;\sigma ):= \sup _{{\begin{array}{l} {{s,t\in [0,\infty ){ }}}\\ {|s-t|\le \sigma } \end{array}}}|f(s)-f(t)|. \end{aligned}$$
(1.2)

Note that for any \(\sigma >0\) and for each \(s,t\in [0,\infty )\), we can write

$$\begin{aligned} |f(s)-f(t)|\le \omega (f;\sigma )\left( \frac{|s-t|}{\sigma }+1\right) . \end{aligned}$$
(1.3)

Definition 1.2

Let f be any function in the space of real-valued bounded and uniformly continuous functions \(C_B[0,\infty )\), the second modulus of continuity is given by

$$\begin{aligned} \omega _2(f;\sigma ):=\sup _{0<x\le \sigma }\Vert f(.+2x)-2f(.+x)+f(.)\Vert , \end{aligned}$$
(1.4)

with the associated norm

$$\begin{aligned} \Vert f\Vert _{C_B}=\sup _{x\in [0,\infty )}|f(x)|. \end{aligned}$$
(1.5)

Let us recall Rasa’s result and the second-order Steklov function, which are used to establish some results.

Lemma 1.1

([10]) Let \(\{{\mathfrak {L}}_n\}_{n\ge 0}\) be a sequence of linear positive operators, with the property \({\mathfrak {L}}_n(1;x)=1\) and \(\tilde{f}\in C^2[0,a]\). Then:

$$\begin{aligned} |{\mathfrak {L}}_n(\tilde{f};x)-\tilde{f}(x)|\le \Vert \tilde{f}'\Vert \sqrt{{\mathfrak {L}}_n\left( (\xi -x)^2;x\right) }+\frac{1}{2}\Vert \tilde{f}''\Vert {\mathfrak {L}}_n\left( (\xi -x)^2;x\right) . \end{aligned}$$
(1.6)

Definition 1.3

([33]) For \(f\in C[a,b],\) the second-order Steklov function of f is defined by

$$\begin{aligned} f_h(x):=\frac{1}{h}\int _{-h}^{h}\left( 1-\frac{|t|}{h}\right) f(h;x+t)dt, \quad x\in [a,b], \end{aligned}$$
(1.7)

where \(f(h;.):[a-h,b+h]\rightarrow {\mathbb {R}},h>0\) is given by

$$\begin{aligned} f(h;x)= {\left\{ \begin{array}{ll} L_{-}(x), &{} a-h \le x \le a\\ f(x), &{} a \le x \le b \\ L_{+}(x), &{} b \le x \le b+h \end{array}\right. } \end{aligned}$$
(1.8)

and \(L_{-}\), \(L_{+}\) are the linear best approximations to f on the mentioned intervals.

Lemma 1.2

[33] Let \(f_h\) be the second-order Steklov function of f, where \(f\in C[a,b]\) and \(h\in \left( 0, \frac{a-b}{2}\right) .\) Then the following inequalities hold true:

$$\begin{aligned}{} & {} \Vert f_h-f\Vert \le \frac{3}{4}\omega _2(f;h), \end{aligned}$$
(1.9)
$$\begin{aligned}{} & {} \quad \Vert f_h''\Vert \le \frac{3}{2h^2}\omega _2(f;h). \end{aligned}$$
(1.10)

The Landau inequality given by

$$\begin{aligned} \Vert f_h^{\prime }\Vert \le \frac{2}{a}\Vert f_h\Vert +\frac{a}{2}\Vert f_h^{\prime \prime }\Vert . \end{aligned}$$
(1.11)

In applied mathematics, the special functions are of paramount significance. Hypergeometric and confluent hypergeometric functions offer a convenient notational framework for expressing a rich variety of special functions. When it comes to the institutionalization of mathematical physics, the theory of special functions is paramount. In physics, engineering, and mathematical analysis, Bessel functions are among the most useful special functions. Several scholars, both in purely mathematical and practical contexts (for example, see [6,7,8]), have introduced various generalizations of Bessel functions. Much progress has been made in the analysis of radiation phenomena related to charge motion in magnetic devices attributable to the theory of generalized Bessel functions.

The following generating function comes in handy to define the \(n^\text {th}\)-order Tricomi functions \(\mathcal {C}_n(x)\) [5]:

$$\begin{aligned} \sum _{n=-\infty }^{\infty }\mathcal {C}_n(x)=\exp \left( t-\frac{x}{t}\right) , \qquad \qquad t\ne 0. \end{aligned}$$
(1.12)

The series definition of the Tricomi functions \(\mathcal {C}_n(x)\) is given by [26]:

$$\begin{aligned} \mathcal {C}_n(x)=\sum _{k=0}^{\infty }\frac{(-1)^kx^k}{k!(n+k)!}. \end{aligned}$$
(1.13)

The Bessel functions \(\mathcal {J}_n(x)\) are defined by the following generating function [26]:

$$\begin{aligned} \sum _{n=-\infty }^{\infty }\mathcal {J}_n(x)=\exp \left( \frac{x}{2}\left( t-\frac{1}{t}\right) \right) , \qquad \qquad t\ne 0; |x|<\infty , \end{aligned}$$
(1.14)

and the series definition of the Bessel functions is given by [26]:

$$\begin{aligned} \mathcal {J}_n(x)=\sum _{k=0}^{\infty }\frac{(-1)^k(\frac{x}{2})^{n+2k}}{k!(n+2k)!}. \end{aligned}$$
(1.15)

Tricomi functions are also characterized by the connection that links them to Bessel functions \(\mathcal {J}_n(x)\) given by:

$$\begin{aligned} \mathcal {C}_n(x)=x^{-\frac{n}{2}}\mathcal {J}_n(2\sqrt{x}). \end{aligned}$$
(1.16)

In particular, the \(0^\text {th}\)-order Tricomi function is defined by the following series:

$$\begin{aligned} \mathcal {C}_0(x)=\mathcal {J}_0(2\sqrt{x})=\sum _{k=0}^{\infty }\frac{(-1)^kx^k}{(k!)^2}, \end{aligned}$$
(1.17)

where \(\mathcal {J}_0(x)\) denotes \(0^\text {th}\)-order Bessel function. Also, we note that

$$\begin{aligned} \mathcal {C}_n(x)=\frac{1}{\Gamma (1+n)} {_0F_1[-;n+1;-x]}. \end{aligned}$$
(1.18)

In 2013, The Mittag-Leffler function was used by Özerslan [23] to introduce an approximation operator. Assume \(\beta >0\) is fixed and let \((v_\eta )\) be any positive real number sequence. The Mittag-Leffler operators are thus defined for every \(\eta \in {\mathbb {N}}\) as follows:

$$\begin{aligned} L_\eta ^{(\beta )}({\hat{f}};x)=\frac{1}{E_{1,\beta }\left( \frac{\eta x}{v_\eta }\right) }\sum _{k=0}^\infty \frac{(\eta x)^k}{v_\eta ^k\Gamma (k+\beta )}{\hat{f}}\left( \frac{k}{\eta }v_\eta \right) , \end{aligned}$$
(1.19)

where \(E_{\alpha ,\beta }(x)\) be the well known 2-parameter Mittag-Leffler function [18].

In [2], Ansari et al. introduced a Stancu variant of \(\lambda \)-Schurer operators and studied the pointwise and weighted approximation properties of these operators. Assume that p and r are non-negative parameters with the condition \(0\le p\le r\), and \(\gamma \) is a non-negative integer. Then, authors construct \(\lambda \)-Schurer-Stancu operators \( \hat{\mathcal {S}}_{\eta ,\gamma }^{p,r}:C[0,\gamma +1]\rightarrow C[0,1]\) as

$$\begin{aligned} \hat{\mathcal {S}}_{\eta ,\gamma }^{p,r}({\hat{f}};x;\lambda )=\sum _{\nu =0}^{\eta +\gamma }{\tilde{s}}_{\eta ,\nu }(\lambda ;x){\hat{f}}\left( \frac{\nu +p}{\eta +r}\right) , \end{aligned}$$
(1.20)

where \({\tilde{s}}_{\eta ,\nu }\) are defined in [24].

In this article, we construct positive linear approximation operators using the Tricomi function of \(0^\text {th}\)-order on the interval \({\mathbb {R}}^+\cup \{0\}\). In Sect. 2, we give the definition of the operators and find their central moments. In Sect. 3, we establish the transformation properties and global Koronvich’s theorem for our operators. Next, we obtain the rate of convergence by using the modulus of continuity and convergence in the different Lipschitz-type spaces. In Sect. 4, we approximate two functions using our operators. We also give a graphical depiction of the approximated functions and compare them with the actual functions. Also, we compute the absolute error for the different values of \(\eta \) on the interval [0, 1] and present the tables and graphical depiction of the error. We run our programming codes in WOLFRAM MATHEMATICA v13.3.1 on the processor MacOS X 13.2.1 x86(64-bit). In Sect. 5, we give some concluding remarks and applications.

2 Construction of Operators

Motivated by the aforementioned applications, in this section, initially, we construct positive linear operators then we establish some equalities. We use these equalities further to determine the convergence characteristics of these operators. In order to construct positive linear operators, we modify \(\mathcal {C}_0(x)\) by replacing x by \(-x\), we get:

$$\begin{aligned} \mathcal {T}_0(xt):= \mathcal {C}_0(-xt)=\sum _{k=0}^{\infty }\frac{(xt)^k}{(k!)^2}. \end{aligned}$$
(2.1)

Now, in view of the above equation, we manifest the positive linear operators for \(\eta \in {\mathbb {N}}\) as follows:

$$\begin{aligned} {\mathscr {T}}_\eta ({\hat{f}};x)=\frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2} {\hat{f}}\left( \frac{k^2}{\eta }\right) , \end{aligned}$$
(2.2)

where \({{\hat{f}}}\in E:=\left\{ {{\hat{f}}}\in C[0,\infty ): \lim _{x\rightarrow \infty }\frac{{{\hat{f}}}(x)}{1+x^2} \text {is finite} \right\} \) and \(C[0,\infty )\) denotes the space of continuous functions defined on \([0,\infty ).\) It is worth noting that the Banach lattice E is endowed with the norm

$$\begin{aligned} \Vert {{\hat{f}}}\Vert _{*}:= \sup _{x\in [0,\infty )}\frac{|{{\hat{f}}}(x)|}{1+x^2}. \end{aligned}$$
(2.3)

We prove the following results, which are required to establish our main result:

Lemma 2.1

The sequence of operators defined by (2.2) are linear and positive.

Proof

The lemma can be proved using some direct computations. \(\square \)

Lemma 2.2

The following properties are being satisfied by the sequence of operators \({\mathscr {T}}_{\eta }({\hat{f}};x)\), for \(x\in [0,\infty ):\)

$$\begin{aligned}{} & {} {\mathscr {T}}_\eta (1;x)=1, \end{aligned}$$
(2.4)
$$\begin{aligned}{} & {} {\mathscr {T}}_\eta (\nu ;x)= x, \end{aligned}$$
(2.5)
$$\begin{aligned}{} & {} {\mathscr {T}}_\eta (\nu ^2;x)= x^2+2x^2\frac{\mathcal {T}^\prime _0(\eta x)}{\mathcal {T}_0(\eta x)}+\frac{x}{\eta }, \qquad \qquad \forall \eta \in {\mathbb {N}}. \end{aligned}$$
(2.6)

Proof

Since, in view of Eq. (2.1), for \({\hat{f}}(\nu )=1,\) Eq. (2.2) gives assertion (2.4).

Now, for \({\hat{f}}(\nu )=\nu \), Eq. (2.2) gives

$$\begin{aligned} {\mathscr {T}}_\eta (\nu ;x)=\frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2}\frac{k^2}{\eta } \end{aligned}$$
(2.7)

which is equivalent to

$$\begin{aligned} {\mathscr {T}}_\eta (\nu ;x)=\frac{x}{\mathcal {T}_0(\eta x)}\sum _{k=1}^{\infty }\frac{(\eta x)^{k-1}}{((k-1)!)^2}, \end{aligned}$$
(2.8)

Using Eq. (2.1), we get \({\mathscr {T}}_\eta (\nu ;x)= x.\)

Finally, for \({\hat{f}}(\nu )=\nu ^2\)

$$\begin{aligned} {\mathscr {T}}_\eta (\nu ^2;x)=\frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2}\frac{k^4}{\eta ^2} \end{aligned}$$
(2.9)

We consider,

$$\begin{aligned} C(xt)= \sum _{k=0}^{\infty }\frac{( xt)^k}{(k!)^2}\frac{k^4}{\eta ^2}=\frac{1}{\eta ^2}\sum _{k=0}^{\infty }\frac{(xt)^k}{((k-1)!)^2}k^2=\frac{xt}{\eta ^2}\sum _{k=1}^{\infty }\frac{(xt)^{k-1}}{((k-1)!)^2}k^2 \end{aligned}$$
(2.10)

which on simplification, gives

$$\begin{aligned} C(xt)= \frac{xt}{\eta ^2}\left\{ \sum _{k=0}^{\infty }\frac{(xt)^{k}}{(k!)^2}k^2+2\sum _{k=0}^{\infty }\frac{(xt)^{k}}{(k!)^2}k+\mathcal {T}_0(xt)\right\} \end{aligned}$$
(2.11)

We assume

$$\begin{aligned} A(xt)=\sum _{k=1}^{\infty }\frac{(xt)^{k}}{(k!)^2}k^2, \end{aligned}$$
(2.12)

which on solving, gives

$$\begin{aligned} A(xt)=(xt)\mathcal {T}_0(xt). \end{aligned}$$
(2.13)

Now, we assume

$$\begin{aligned} B(xt)=2\sum _{k=0}^{\infty }\frac{(xt)^{k}}{(k!)^2}k. \end{aligned}$$
(2.14)

Differentiating Eq. (2.1) with respect to t, we obtain

$$\begin{aligned} \mathcal {T}^\prime _0(xt)=\sum _{k=1}^{\infty }k\frac{(xt)^{k-1}}{(k!)^2}, \end{aligned}$$
(2.15)

which in view of Eq. (2.14), gives

$$\begin{aligned} 2(xt) \mathcal {T}^\prime _0(xt)=2\sum _{k=0}^{\infty }k\frac{(xt)^{k}}{(k!)^2}=B(xt). \end{aligned}$$
(2.16)

Using equations (2.13), (2.16) in (2.11), we get

$$\begin{aligned} C(xt)= \frac{xt}{\eta ^2}\left\{ (xt)\mathcal {T}_0(xt)+2(xt) \mathcal {T}^\prime _0(xt)+\mathcal {T}_0(xt)\right\} . \end{aligned}$$
(2.17)

Taking \(t=1\) and replacing x by \(\eta x\) in Eq. (2.17), we obtain

$$\begin{aligned} C(\eta x)= \frac{\eta x}{\eta ^2}\left\{ (\eta x)\mathcal {T}_0(\eta x)+2(\eta x) \mathcal {T}^\prime _0(\eta x)+\mathcal {T}_0(\eta x)\right\} , \end{aligned}$$
(2.18)

which on using in Eq. (2.9), we get assertion (2.6). \(\square \)

Remark 2.1

From the following figures (Figs. 1, 2, 3, 4), we can observe that

$$\begin{aligned} \lim _{\eta \rightarrow \infty } \frac{\mathcal {T}^\prime _0(\eta x)}{\mathcal {T}_0(\eta x)}=0. \end{aligned}$$
(2.19)
Fig. 1
figure 1

\( \frac{\mathcal {T}^\prime _0(\eta x)}{\mathcal {T}_0(\eta x)}\) when \(x\in [1,10]\)

Fig. 2
figure 2

\( \frac{\mathcal {T}^\prime _0(\eta x)}{\mathcal {T}_0(\eta x)}\) when \( x\in [100,130]\)

Fig. 3
figure 3

\( \frac{\mathcal {T}^\prime _0(\eta x)}{\mathcal {T}_0(\eta x)}\) when \( x\in [200,250]\)

Fig. 4
figure 4

\( \frac{\mathcal {T}^\prime _0(\eta x)}{\mathcal {T}_0(\eta x)}\) when \(\ x\in [300,350]\)

We obtain the central moments of the Tricomi operators as:

Lemma 2.3

If \(\mu _{(m,x)}(\nu )=(\nu -x)^m\) denotes the central moments of the operators (2.2), then for \(m=2\), we have

$$\begin{aligned} {\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)= 2x^2\frac{\mathcal {T}^\prime _0(\eta x)}{\mathcal {T}_0(\eta x)}+\frac{x}{\eta },\qquad \qquad \forall \eta \in {\mathbb {N}}. \end{aligned}$$
(2.20)

Proof

The left-hand side of the Eq. (2.20) can be rewritten as follows by using the linearity of the operators defined in equation (2.2),

$$\begin{aligned} {\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)= {\mathscr {T}}_\eta (\nu ^2;x)-2x{\mathscr {T}}_\eta (\nu ;x)+x^2{\mathscr {T}}_\eta (1;x) \end{aligned}$$
(2.21)

on using Eqs. (2.4), (2.5) and (2.6) we get assertion (2.20). \(\square \)

In the next section, we establish the transformation properties and rate of convergence of the operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) by using the modulus of continuity. Additionally, we compute the rate of convergence in the different Lipsticz-type spaces.

3 Transformation Properties and Rate of Convergence

In this section, we establish the transformation properties of the operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) and establish the rate of convergence by using the modulus of continuity. Moreover, we compute the rate of convergence in different Lipschitz-type spaces. We initiate with the following lemma, which proves that \({\mathscr {T}}_\eta ({\hat{f}};x)\) maps E into itself.

Lemma 3.1

For \(\omega (x)=\frac{1}{1+x^2}\), there exists a constant \(\mathcal {M}\) such that

$$\begin{aligned} \omega (x){\mathscr {T}}_\eta \left( \frac{1}{\omega };x\right) \le \mathcal {M} \end{aligned}$$
(3.1)

holds for all \(x\in [0,\infty )\) and \(\eta \in {\mathbb {N}}.\) Moreover, for all \({\hat{f}}\in E\), we have

$$\begin{aligned} \Vert {\mathscr {T}}_\eta ({\hat{f}})\Vert _*\le \mathcal {M}\Vert {\hat{f}}\Vert _*. \end{aligned}$$
(3.2)

Proof

Using Lemma 2.1, we can write that

$$\begin{aligned} \omega (x){\mathscr {T}}_\eta \left( \frac{1}{\omega };x\right) =\frac{1}{1+x^2}\left[ {\mathscr {T}}_\eta (1;x)+{\mathscr {T}}_\eta (\nu ^2;x)\right] \end{aligned}$$
(3.3)

on using equations (2.4) and (2.6) in equation (3.3), we obtain

$$\begin{aligned} \omega (x){\mathscr {T}}_\eta \left( \frac{1}{\omega };x\right) =\frac{1}{1+x^2}\left[ 1+x^2+2x^2\frac{\mathcal {T}^\prime _0(\eta x)}{\mathcal {T}_0(\eta x)}+\frac{x}{\eta }\right] \end{aligned}$$
(3.4)

which implies

$$\begin{aligned} \omega (x){\mathscr {T}}_\eta \left( \frac{1}{\omega };x\right) \le \mathcal {M}. \end{aligned}$$
(3.5)

Moreover, by using the norm defined in Eq. (2.3), we have

$$\begin{aligned} \omega (x)\left| {\mathscr {T}}_\eta ({\hat{f}};x)\right| =\omega (x)\left| {\mathscr {T}}_\eta \left( \omega \frac{{\hat{f}}}{\omega };x\right) \right| \le \Vert {\hat{f}}\Vert _*\omega (x){\mathscr {T}}_\eta \left( \frac{1}{\omega };x\right) \le \mathcal {M}\Vert {\hat{f}}\Vert _*, \nonumber \\ \end{aligned}$$
(3.6)

taking supremum over \(x\in [0,\infty )\) in the above inequality, gives the assertion (3.2). \(\square \)

Now, we obtain the uniform convergence by using universal Korovkin’s theorem as:

Theorem 3.1

Let \({{\hat{f}}}\in E:=\left\{ {{\hat{f}}}\in C[0,\infty ): \lim _{x\rightarrow \infty }\frac{{{\hat{f}}}(x)}{1+x^2} \text {is finite} \right\} \) and \(C[0,\infty )\) denotes the space of continuous functions defined on \([0,\infty ).\) Then the sequence of operators defined in (2.2) converges uniformly on the compact subsets of the interval \([0,\infty )\), i.e.,

$$\begin{aligned} \lim _{\eta \rightarrow \infty } {\mathscr {T}}_\eta ({\hat{f}};x)={\hat{f}}(x). \end{aligned}$$
(3.7)

Proof

With the aid of Lemma 2.2 and Remark 2.1, we obtain

$$\begin{aligned} \lim _{n\rightarrow \infty }{\mathscr {T}}_\eta (\nu ^s;x)=x^s,\qquad \qquad s=0,1,2, \end{aligned}$$
(3.8)

uniformly on the compact subsets of the interval \([0,\infty ).\) Hence by applying universal Korovkin’s theorem [3], we get assertion (3.7). \(\square \)

From now onward, we present the approximation results.

Theorem 3.2

Suppose \({\hat{f}}\) is uniformly continuous on the interval \([0,\infty )\). Then the following inequality holds for the sequence of operators \({\mathscr {T}}_\eta ({\hat{f}};x)\)

$$\begin{aligned} \left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| \le 2\omega \left( {{\hat{f}}};\sqrt{{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)}\right) \end{aligned}$$
(3.9)

where \(\omega \) is the modulus of continuity of the function defined by (1.2).

Proof

Consider

$$\begin{aligned} \left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| =\left| \frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2} \left[ {\hat{f}}\left( \frac{k^2}{\eta }\right) -{\hat{f}}(x)\right] \right| \end{aligned}$$
(3.10)

using the triangle inequality gives

$$\begin{aligned} \left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| \le \frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2} \left| {\hat{f}}\left( \frac{k^2}{\eta }\right) -{\hat{f}}(x)\right| \end{aligned}$$
(3.11)

using the definition of modulus of continuity and in view of inequality (1.3), we get

$$\begin{aligned} \left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| \le \frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2} \left[ 1+\frac{1}{\sigma }\left| \frac{k^2}{\eta }-x\right| \right] \omega ({\hat{f}};\sigma ) \end{aligned}$$
(3.12)
$$\begin{aligned} \left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| \le \left[ 1+\frac{1}{\sigma }\frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2}\left| \frac{k^2}{\eta }-x\right| \right] \omega ({\hat{f}};\sigma ). \end{aligned}$$
(3.13)

Taking into account the Cauchy-Schwartz inequality, we find

$$\begin{aligned} \sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2}\left| \frac{k^2}{\eta }-x\right| =\sum _{k=0}^{\infty }\sqrt{\frac{(\eta x)^k}{(k!)^2}}\sqrt{\frac{(\eta x)^k}{(k!)^2}}\left| \frac{k^2}{\eta }-x\right| \end{aligned}$$
(3.14)
$$\begin{aligned} \sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2}\left| \frac{k^2}{\eta }-x\right| \le \left\{ \sum _{k=0}^{\infty }{\frac{(\eta x)^k}{(k!)^2}}\right\} ^{\frac{1}{2}}\left\{ \sum _{k=0}^{\infty }{\frac{(\eta x)^k}{(k!)^2}}\left( \frac{k^2}{\eta }-x\right) ^2\right\} ^{\frac{1}{2}} \end{aligned}$$
(3.15)

multiplying and dividing by \(\sqrt{\mathcal {T}_0(\eta x)}\) in the right hand side of inequality (3.15) and in the view of Eq. (2.1), we have

$$\begin{aligned} \sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2}\left| \frac{k^2}{\eta }-x\right| \le \mathcal {T}_0(\eta x)\left\{ {\mathscr {T}}_\eta ((\nu -x)^2;x)\right\} ^{\frac{1}{2}} \end{aligned}$$
(3.16)

using above inequality in inequality (3.13), we find

$$\begin{aligned} \left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| \le \left[ 1+\frac{1}{\sigma }\sqrt{{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)}\right] \omega ({\hat{f}};\sigma ) \end{aligned}$$
(3.17)

by choosing

$$\begin{aligned} \sigma =\sqrt{{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)} \end{aligned}$$

we get assertion (3.9). \(\square \)

Now, for \(0<\alpha \le 1\) and \(\nu _1, \nu _2\in [0,\infty )\), let us introduce the following class of the functions:

$$\begin{aligned} Lip_{\mathscr {M}}^{(\alpha )}:=\{\psi :|\psi (\nu _1)-\psi (\nu _2)|\le {\mathscr {M}}|\nu _1-\nu _2|^\alpha \}. \end{aligned}$$
(3.18)

Theorem 3.3

Assume that \(\psi \in {Lip}_{\mathscr {M}}^{(\alpha )}\). Then

$$\begin{aligned} \left| {\mathscr {T}}_\eta (\psi ;x)-\psi (x)\right| \le {\mathscr {M}} \left[ {{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)}\right] ^\frac{\alpha }{2}. \end{aligned}$$
(3.19)

Proof

Since, \({\mathscr {T}}_\eta ({\hat{f}};x)\) is positive linear operator and \(\psi \in {Lip}_{\mathscr {M}}^{(\alpha )},\) therefore in view of Eq. (3.18), we obtain

$$\begin{aligned} \left| {\mathscr {T}}_\eta (\psi ;x)-\psi (x)\right|= & {} \left| {\mathscr {T}}_\eta (\psi (\nu )-\psi (x);x)\right| \le {\mathscr {T}}_\eta (|\psi (\nu )-\psi (x)|;x)\nonumber \\ {}\le & {} {\mathscr {M}}{\mathscr {T}}_\eta (|\nu -x|^\alpha ;x) \end{aligned}$$
(3.20)

which on using Hölder’s inequality on the right-hand side, gives

$$\begin{aligned} {\mathscr {T}}_\eta (|\nu -x|^\alpha ;x)=\frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2}\left| \frac{k^2}{\eta }-x\right| ^\alpha \end{aligned}$$
(3.21)
$$\begin{aligned} {\mathscr {T}}_\eta (|\nu -x|^\alpha ;x)=\frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\left\{ \frac{(\eta x)^k}{(k!)^2}\right\} ^{\frac{2-\alpha }{2}}\left\{ \frac{(\eta x)^k}{(k!)^2}\right\} ^{\frac{\alpha }{2}}\left| \frac{k^2}{\eta }-x\right| ^\alpha \end{aligned}$$
(3.22)
$$\begin{aligned} {\mathscr {T}}_\eta (|\nu -x|^\alpha ;x)\le \frac{1}{\mathcal {T}_0(\eta x)}\times [\mathcal {T}_0(\eta x)]^{\frac{2-\alpha }{2}}\left\{ \frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2}\right\} ^{\frac{2-\alpha }{2}}\\\times [\mathcal {T}_0(\eta x)]^{\frac{\alpha }{2}}\left\{ \frac{1}{\mathcal {T}_0(\eta x)}\sum _{k=0}^{\infty }\frac{(\eta x)^k}{(k!)^2}\left( \frac{k^2}{\eta }-x\right) ^2\right\} ^{\frac{\alpha }{2}}. \end{aligned}$$
(3.23)

In view of equations (2.2) and (2.20), the above inequality gives

$$\begin{aligned} {\mathscr {T}}_\eta (|\nu -x|^\alpha ;x)\le [{\mathscr {T}}_\eta (1;x)]^{\frac{2-\alpha }{2}}\left[ {\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)\right] ^\frac{\alpha }{2}, \end{aligned}$$
(3.24)

which on using inequalities (3.20) and (3.24), gives assertion (3.19). \(\square \)

Theorem 3.4

Suppose that \(\chi \) is a continuous function on \([0,\infty )\). Then we have

$$\begin{aligned} \left| {\mathscr {T}}_\eta (\chi ;x)-\chi (x)\right| \le \frac{3}{2}\left( 1+\frac{a}{2}+\frac{h^2}{2}\right) \omega _2(\chi ,h)+\frac{2h^2}{a}\Vert \chi \Vert , \end{aligned}$$
(3.25)

where

$$\begin{aligned} h:=\Omega _n(x)=\left\{ {{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)} \right\} ^{\frac{1}{4}} \end{aligned}$$

and \(\omega _2\) is the second modulus of the continuity of the function \(\chi \) defined in (1.4).

Proof

Let \(f_h\) be the second order Steklov function of the function \(\chi \), Then we have

$$\begin{aligned} \left| {\mathscr {T}}_\eta (\chi ;x)-\chi (x)\right| \le \left| {\mathscr {T}}_\eta (|\chi -f_h|;x)\right| +\left| {\mathscr {T}}_\eta (f_h;x)-f_h(x)\right| +\left| f_h(x)-\chi (x)\right| \nonumber \\ \end{aligned}$$
(3.26)

using Eq. (2.4), we have

$$\begin{aligned} \left| {\mathscr {T}}_\eta (\chi ;x)-\chi (x)\right| \le 2\Vert \chi -f_h\Vert +\left| {\mathscr {T}}_\eta (f_h;x)-f_h(x)\right| \end{aligned}$$
(3.27)

in view of inequality (1.9), above inequality becomes

$$\begin{aligned} \left| {\mathscr {T}}_\eta (\chi ;x)-\chi (x)\right| \le \frac{3}{2}\omega _2(\chi ,h)+\left| {\mathscr {T}}_\eta (f_h;x)-f_h(x)\right| . \end{aligned}$$
(3.28)

Keeping in view that \(f_h\in C^2[0,a]\), from inequality (1.6) it follows that

$$\begin{aligned} \left| {\mathscr {T}}_\eta (f_h;x)-f_h(x)\right| \le \Vert f_h^\prime \Vert \sqrt{{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)}+\frac{1}{2}\Vert f_h^{\prime \prime }\Vert {{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)}, \nonumber \\ \end{aligned}$$
(3.29)

now using inequality (1.10) in above inequality, we find

$$\begin{aligned} \left| {\mathscr {T}}_\eta (f_h;x)-f_h(x)\right| \le \Vert f_h^\prime \Vert \sqrt{{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)}+\frac{3}{4h^2}\omega _2(f,h){{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)}. \nonumber \\ \end{aligned}$$
(3.30)

Further, in view of inequalities (1.10) and (1.11), it gives

$$\begin{aligned} \left| {\mathscr {T}}_\eta (f_h;x)-f_h(x)\right| \le \left( \frac{2}{a}\Vert \chi \Vert +\frac{3a}{4\,h^2}\omega _2(\chi ,h)\right) \sqrt{{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)}\\+ \frac{3}{4\,h^2}\omega _2(\chi ,h){{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)}. \end{aligned}$$
(3.31)

Therefore, in view of equations (3.28) and (3.31), we get assertion (3.25) by choosing

$$\begin{aligned} h:=\Omega _n(x)=\left\{ {{\mathscr {T}}_\eta (\mu _{(2,x)}(\nu );x)} \right\} ^{\frac{1}{4}}. \end{aligned}$$
(3.32)

\(\square \)

Remark 3.1

In Theorem 3.4, \(\Omega _n(x)\rightarrow 0\), as \(n\rightarrow \infty \).

In the next section, we observe the rate of convergence through numerical examples. We give a graphical depiction of the approximated function and its absolute error and provide tables for absolute error for the different values of x and \(\eta \).

4 Numerical Examples

In this section, we explain the convergence of our operators through numerical examples. We give a graphical depiction of approximated expressions and actual functions. Also, we give the graphical depiction of absolute error and tables for the different values of x and \(\eta \).

Example 4.1

For \(\eta =10,10^2,10^3,10^4,10^5\) the rate of convergence of the operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) to the function \({{\hat{f}}}(x)=x^2+\frac{1}{1+x+x^2}\) is illustrated in Fig. 5. Further, in Table 1, we estimate the absolute error \({E}_{\eta }=\left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| \) for different values of \(\eta \) and given the corresponding graph for the error depicting the convergence in Fig. 6.

Fig. 5
figure 5

The Convergence of operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) to \({{\hat{f}}}(x)=x^2+\frac{1}{1+x+x^2}\)

Table 1 Error of approximation process for \({{\hat{f}}}(x)=x^2+\frac{1}{1+x+x^2}\)
Fig. 6
figure 6

Graphical depiction of absolute error of operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) to \({{\hat{f}}}(x)=x^2+\frac{1}{1+x+x^2},\) for \(\eta =10,10^2,10^3,10^4,10^5.\)

It can be clearly seen from Figs. 56, and Table 1 that for larger values of \(\eta \) the proposed operator (2.2) converges to \({{\hat{f}}}(x).\)

Now, we consider another example:

Example 4.2

For \(\eta =10,10^2,10^3,10^4,10^5\) the rate of convergence of the operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) to the function \({{\hat{f}}}(x)=\frac{x}{2}+\frac{1}{10+x^2+x^3}+\sqrt{x}\) is illustrated in Fig. 7. Further, in Table 2, we estimate the absolute error \({E}_{\eta }=\left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| \) for different values of \(\eta \) and given the corresponding graph for the error depicting the convergence in Fig. 8.

Fig. 7
figure 7

The Convergence of operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) to \({{\hat{f}}}(x)=\frac{x}{2}+\frac{1}{10+x^2+x^3}+\sqrt{x}\)

Table 2 Error of approximation process for \({{\hat{f}}}(x)=\frac{x}{2}+\frac{1}{10+x^2+x^3}+\sqrt{x}\)
Fig. 8
figure 8

Graphical depiction of absolute error of operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) to \({{\hat{f}}}(x)=\frac{x}{2}+\frac{1}{10+x^2+x^3}+\sqrt{x},\) for \(\eta =10,10^2,10^3,10^4,10^5.\)

It can be clearly seen from Figs. 7, 8, and Table 2 that for larger values of \(\eta \) the proposed operator (2.2) converges to \({{\hat{f}}}(x).\)

4.1 Comparative Study

This section illustrates the efficacy and efficiency of the \(0^{th}\)-order Tricomi function operators through instructive examples. Our work employs distinct test functions to assess the efficacy of the Schurer-Stancu operators with shape parameter \(\lambda \), Mittag-Leffler operators, and the recently introduced \(0^{th}\)-order Tricomi function operators. Our results indicate that the newly introduced operators, when applied to the selected test functions and parameters, perform better than the Schurer-Stancu operators with shape parameter \(\lambda \) and Mittag-Leffler operator within the specified range. We need to acknowledge that we do not assert absolute superiority of the newly constructed operator over the Schurer-Stancu operators, which have a shape parameter \(\lambda \), and the Mittag-Leffler operators. Instead, we propose it as a feasible alternative. Furthermore, the illustrations shown in this section were calculated using Wolfram Mathematica 13.3.1.0 on the MAC OS X (64-bit) operating system.

Example 4.3

In this example, we examine a test function \({\hat{f}}(x)=\frac{1}{4} (x - 2) (x - 3)\) with parameter \(\beta =3\), and \((v_\eta )=\eta ^{\frac{4}{5}}\), where \(\eta =50,100\).

Using the same interval, Figure 9 compares the performance of the newly defined \(0^{th}\)-order Tricomi function operators in (2.2) with that of the Mittag-Leffler operators presented in (1.19). This graphic clearly shows that the approximation with the new operator fits the test function more smoothly.

Furthermore, we present the error of approximation of both the Mittag-Leffler operator and the newly defined \(0^{th}\)-order Tricomi function operators in Figure 10. Here, \(\mathcal {E}_{\eta }^\mathcal {L}=\left| {L}_\eta ^{(\beta )}({\hat{f}};x)-{\hat{f}}(x)\right| \) and \({\mathbb {E}}^{\mathscr {T}}_{\eta }=\left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| \) denote the error functions of approximations by the Mittag-Leffler operators and newly defined \(0^{th}\)-order Tricomi function operators, respectively.

Table 3 provides a numerical comparison of the approximation error of these operators.

Fig. 9
figure 9

Comparison between operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) and \({L}_\eta ^\beta ({\hat{f}};x)\) with exact function \( {\hat{f}}(x)=\frac{1}{4}(x-2)\left( x-3\right) \)

Fig. 10
figure 10

Absolute error \({\mathbb {E}}_\eta ^{\mathscr {T}}\) and \(\mathcal {E}_\eta ^\mathcal {L}\) of operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) and \({L}_\eta ^\beta ({\hat{f}};x)\) to the function \( {\hat{f}}(x)=\frac{1}{4}(x-2)\left( x-3\right) \)

Example 4.4

In this example, we examine a test function \({\hat{f}}(x)=\frac{(\pi x)^2}{3x+2}+\sin \left( \frac{x^2}{3}+3\right) \) with parameters \(p=2,r=2,\gamma =3\) and \(\lambda =1\), where \(\eta =50,100\).

Using the same interval, Fig. 11 compares the performance of the newly defined \(0^{th}\)-order Tricomi function operators in (2.2) with that of the Schurer-Stancu operators with shape parameter \(\lambda \) presented in (1.20). This graphic clearly shows that the approximation with the new operator fits the test function more smoothly.

Furthermore, we present the error of approximation of both the Schurer-Stancu operators with shape parameter \(\lambda \) and the newly defined \(0^{th}\)-order Tricomi function operators in Fig. 12. Here, \(\mathcal {E}_{\eta }^\mathcal {S}=\left| \hat{\mathcal {S}}_{\eta ,\gamma }^{p,r}({\hat{f}};x;\lambda )-{\hat{f}}(x)\right| \) and \({\mathbb {E}}^{\mathscr {T}}_{\eta }=\left| {\mathscr {T}}_\eta ({\hat{f}};x)-{\hat{f}}(x)\right| \) denote the error functions of approximations by the Schurer-Stancu operators with shape parameter \(\lambda \) operators and newly defined \(0^{th}\)-order Tricomi function operators, respectively.

For a numerical comparison of the error of approximation between these operators, refer to Table 4. Similar to the previous example, it’s evident that the newly introduced operator performs comparably well.

Fig. 11
figure 11

Comparison between operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) and \(\hat{\mathcal {S}}_{\eta ,\gamma }^{p,r}({\hat{f}};x;\lambda )\) with exact function \( {\hat{f}}(x)=\frac{(\pi x)^2}{3x+2}+\sin \left( \frac{x^2}{3}+3\right) \)

Fig. 12
figure 12

Absolute error \({\mathbb {E}}_\eta ^{\mathscr {T}}\) and \(\mathcal {E}_\eta ^\mathcal {S}\) of operators \({\mathscr {T}}_\eta ({\hat{f}};x)\) and \(\hat{\mathcal {S}}_{\eta ,\gamma }^{p,r}({\hat{f}};x;\lambda )\) to the function \( {\hat{f}}(x)=\frac{(\pi x)^2}{3x+2}+\sin \left( \frac{x^2}{3}+3\right) \)

Table 3 Error of approximation process for \({\hat{f}}(x)=\frac{1}{4}(x-2)\left( x-3\right) \)
Table 4 Error of approximation process for \({\hat{f}}(x)=\frac{(\pi x)^2}{3x+2}+\sin \left( \frac{x^2}{3}+3\right) \)

5 Conclusions and Applications

With the help of the Tricomi function, we present a sequence of new operators in this paper. The approximation properties and convergence qualities of the sequence of a positive linear operator in (2.2) are obtained. The numerical examples are done in Wolfram Mathematica. Also, we analyze the error of the approximation and give the graphical depictions of the approximated function \({{\hat{f}}}\) and the error.

In further studies, researchers can look at a new sequence of operators that generalizes the operators in (2.2). For instance, modification or generalization of this operator can be considered for better approximation. Furthermore, the derived results are useful and can be applied in mathematical analysis, mathematical physics, and quantum calculus, particularly with \(q\) and \((p, q)\) analogues of the proposed operators. Regarding the applications of the proposed operators, they can be utilized to solve fractional Volterra integral equations of the first and second kinds, providing numerical approximate solutions [9]. Additionally, the proposed operator can be employed to examine and regulate a real-life issue associated with the daily average global surface air temperature [15]. This sequence of operators has the capacity to exert impact over numerous domains of scientific inquiry.