1 Introduction

For xR, the error function erf(x) is defined as

erf(x)= 2 π 0 x e t 2 dt.

It is well known that the error function erf(x) is odd, strictly increasing on (,+) with lim x + erf(x)=1, strictly concave and strictly log-concave on [0,+). For the n th derivation we have the representation

d n d x n erf(x)= ( 1 ) n 1 2 π e x 2 H n 1 (x),

where H n (x)= ( 1 ) n e x 2 d n d x n ( e x 2 ) is a Hermite polynomial.

The error function can be expanded as a power series in the following two ways [1]:

erf(x)= 2 π n = 0 + ( 1 ) n n ! ( 2 n + 1 ) x 2 n + 1 = e x 2 n = 0 + 1 Γ ( n + 3 2 ) x 2 n + 1 .

It also can be expressed in terms of incomplete gamma function and a confluent hypergeometric function:

erf(x)= sgn ( x ) π γ ( 1 2 , x 2 ) = 2 x π 1 F 1 ( 1 2 ; 3 2 ; x 2 ) .

Recently, the error function have been the subject of intensive research. In particular, many remarkable properties and inequalities for the error function can be found in the literature [210]. It might be surprising that the error function has applications in heat conduction problems [11, 12].

In [13], Chu proved that the double inequality

1 e a x 2 erf(x) 1 e b x 2

holds for all x0 if and only if 0a1 and b 4 π .

Mitrinović and Weinacht [14] established that

erf(x)+erf(y)erf(x+y)+erf(x)erf(y)

for all x,y0, and proved that the inequality become equality if and only if x=0 or y=0.

In [15, 16] Alzer proved that

α n = { 0.90686 , if  n = 2 , 1 , if  n 3 and β n =n1
(1.1)

are the best possible constants such that the double inequality

α n erf ( i = 1 n x i ) i = 1 n erf( x i ) i = 1 n erf( x i ) β n erf ( i = 1 n x i )

holds for n2 and all real number x i 0 (i=1,2,,n), and the sharp double inequalities

erf(1)< erf ( x + erf ( y ) ) erf ( y + erf ( x ) ) < 2 π

and

0< erf ( x erf ( y ) ) erf ( y erf ( x ) ) 1

hold for all positive real numbers x, y with xy.

Let λ(0,1), and A(x,y;λ)=λx+(1λ)y, G(x,y;λ)= x λ y 1 λ , H(x,y;λ)=xy/[λy+(1λ)x], and M r (x,y;λ)= [ λ x r + ( 1 λ ) y r ] 1 / r (r0) and M 0 (x,y;λ)= x λ y 1 λ be, respectively, the weighted arithmetic, geometric, harmonic, and power means of two positive numbers x and y. Then it is well known that the inequalities

H(x,y;λ)= M 1 (x,y;λ)<G(x,y;λ)= M 0 (x,y;λ)<A(x,y;λ)= M 1 (x,y;λ)

hold for all λ(0,1) and x,y>0 with xy.

Very recently, Alzer [17] proved that c 1 (λ)=[λ+(1λ)erf(1)]/[erf(1/(1λ))] and c 2 (λ)=1 are the best possible factors such that the double inequality

c 1 (λ)erf ( H ( x , y ; λ ) ) A ( erf ( x ) , erf ( y ) ; λ ) c 2 (λ)erf ( H ( x , y ; λ ) )
(1.2)

holds for all x,y[1,+) and λ(0,1/2).

It is natural to ask what are the least value r and the greatest value p such that the double inequality

erf ( M p ( x , y ; λ ) ) H ( erf ( x ) , erf ( y ) ; λ ) erf ( M r ( x , y ; λ ) )

holds for all x,y1 (or 0<x,y<1)? The main purpose of this article is to answer this question.

2 Lemmas

In order to prove our main results we need three lemmas, which we present in this section.

Lemma 2.1 Let r0 and J(x)= 1 r [erf( x 1 / r ) 1 π x 1 / r e x 2 / r ]. Then the following statements are true:

  1. (1)

    if 1r<0, then J(x)<0 for all x(0,+);

  2. (2)

    if 0<r<1, then J(x)>0 for all x(0,+).

Proof Simple computation leads to

J (x)= 1 r 2 2 π x 1 / r 1 e x 2 / r ( 1 2 + x 2 / r ) >0
(2.1)

for all x(0,+).

  1. (1)

    If 1r<0, then we clearly see that

    lim x + J(x)=0.
    (2.2)

Therefore, Lemma 2.1(1) follows easily from (2.1) and (2.2).

  1. (2)

    If 0<r<1, then it is obvious that

    lim x 0 + J(x)=0.
    (2.3)

Therefore, Lemma 2.1(2) follows from (2.1) and (2.3). □

Lemma 2.2 Let r0, r 0 =1 4 e π erf ( 1 ) =1.9852 and u(x)= 1 erf ( x 1 / r ) . Then the following statements are true:

  1. (1)

    if r r 0 , then u(x) is strictly concave on [1,+);

  2. (2)

    if r 0 r<1, then u(x) is strictly convex on (0,1];

  3. (3)

    if r1, then u(x) is strictly convex on (0,+).

Proof Differentiating u(x) leads to

u (x)= 1 r x 1 / r 1 erf ( x 1 / r ) erf 2 ( x 1 / r )
(2.4)

and

u (x)= 1 r 2 2 π 1 erf 2 ( x 1 / r ) x 1 / r 2 e x 2 / r g(x),
(2.5)

where

g(x)= ( r 1 + 2 x 2 / r ) erf ( x 1 / r ) + 4 π x 1 / r e x 2 / r .
(2.6)

It follows from (2.6) that

g(1)=(r+1)erf(1)+ 4 e π ,
(2.7)
g ( x ) = 4 x 2 / r 1 g 1 ( x ) , g 1 ( x ) = 1 r erf ( x 1 / r ) + 1 r 1 2 π x 1 / r [ ( 1 + r ) x 2 / r 2 ] e x 2 / r ,
(2.8)
g 1 ( x ) = 1 r 2 1 2 π x 1 / r 1 e x 2 / r g 2 ( x ) , g 2 ( x ) = 4 x 4 / r 2 r x 2 / r ( 1 + r ) .
(2.9)

We divide the proof into four cases.

Case 1 r<1. Then from (2.6) and (2.8) together with (2.9) we clearly see that

lim x 0 + g(x)=+, lim x + g(x)=0,
(2.10)
lim x 0 + g 1 (x)= 1 r <0, lim x + g 1 (x)=+,
(2.11)
lim x + g 2 (x)=(1+r)>0,
(2.12)

and g 2 (x) is strictly decreasing on [0,+).

It follows from the monotonicity of g 2 (x) and (2.12) that g 1 (x) is strictly increasing on [0,+).

The monotonicity of g 1 (x) and (2.11) imply that there exists x 1 (0,+), such that g 1 (x)<0 for x(0, x 1 ) and g 1 (x)>0 for x( x 1 ,+). Therefore, g(x) is strictly decreasing on [0, x 1 ] and strictly increasing on [ x 1 ,+).

From the piecewise monotonicity of g(x) and (2.10) we clearly see that there exists x 2 (0,+), such that g(x)>0 for x(0, x 2 ) and g(x)<0 for x( x 2 ,+).

If r r 0 , then (2.7) leads to g(1)0, this implies that g(x)<0 for x(1,+). Therefore, (2.5) leads to the conclusion that u(x) is strictly concave on [1,+).

If r 0 r<1, then (2.7) leads to g(1)0, this implies that g(x)>0 for x(0,1). Therefore, (2.5) leads to the conclusion that u(x) is strictly convex on (0,1).

Case 2 1r<0. Then we clearly see that the function (1+r) x 2 / r 2 is strictly increasing on (0,+) with lim x 0 + [(1+r) x 2 / r 2]=2, and

g 1 (x)< 1 r [ erf ( x 1 / r ) 1 π x 1 / r e x 2 / r ] .
(2.13)

Therefore, Lemma 2.1(1) and (2.13) imply that g 1 (x)<0 for x(0,+). This leads to the conclusion that g(x) is strictly decreasing on (0,+).

From (2.6) we get

lim x + g(x)=0
(2.14)

for 1r<0.

It follows from the monotonicity of g(x) and (2.14) that g(x)>0 for x(0,+). Therefore, (2.5) leads to the conclusion that u(x) is strictly convex on (0,+).

Case 3 0<r<1. Then we clearly see that the function (1+r) x 2 / r 2 is strictly decreasing on (0,+) with lim x + [(1+r) x 2 / r 2]=2, and

g 1 (x)> 1 r [ erf ( x 1 / r ) 1 π x 1 / r e x 2 / r ] .
(2.15)

It follows from Lemma 2.1(2) and (2.15) that g 1 (x)>0 for x(0,+). This leads to g(x) being strictly increasing on (0,+).

It follows from (2.6) that

lim x 0 + g(x)=0
(2.16)

for 0<r<1.

From the monotonicity of g(x) and (2.16) we know that g(x)>0 for x(0,+). Therefore, (2.5) leads to the conclusion that u(x) is strictly convex on (0,+).

Case 4 r1. Then from (2.6) we clearly see that g(x)>0 for x(0,+). Therefore, u(x) is strictly convex on (0,+) follows easily from (2.5). □

Lemma 2.3 The function h(x)= x 2 + x e x 2 0 x e t 2 d t is strictly increasing on (0,+).

Proof Simple computations lead to

h (x)= h 1 ( x ) ( 0 x e t 2 d t ) 2 ,
(2.17)

where

h 1 ( x ) = 2 x ( 0 x e t 2 d t ) 2 + ( 1 2 x 2 ) e x 2 0 x e t 2 d t x e 2 x 2 , h 1 ( 0 ) = 0 , h 1 ( 1 ) = 0.7054 > 0 ,
(2.18)
h 1 (x)=2 ( 0 x e t 2 d t ) 2 +2x ( 2 x 2 1 ) e x 2 0 x e t 2 dt+2 x 2 e 2 x 2 ,
(2.19)
h 1 (0)=0,
(2.20)
h 1 (x)= e x 2 h 2 (x),
(2.21)
h 2 ( x ) = ( 8 x 4 + 16 x 2 + 2 ) 0 x e t 2 d t + ( 4 x 3 + 2 x ) e x 2 , h 2 ( 0 ) = 0 ,
(2.22)
h 2 (x)=32x ( 1 x 2 ) 0 x e t 2 dt+4 e x 2 .
(2.23)

We divide the proof into two cases.

Case 1 x1. Then (2.19) leads to h 1 (x)>0. Therefore, h (x)>0 follows from (2.18) and (2.17).

Case 2 0<x<1. Then from (2.23) we clearly see that h 2 (x)>0. Therefore, h (x)>0 follows from (2.17) and (2.18) together with (2.20)-(2.22). □

3 Main results

Theorem 3.1 Let λ(0,1) and r 0 =1 4 e π erf ( 1 ) =1.9852. Then the double inequality

erf ( M μ ( x , y ; λ ) ) H ( erf ( x ) , erf ( y ) ; λ ) erf ( M ν ( x , y ; λ ) )
(3.1)

holds for all 0<x,y<1 if and only if μ r 0 and ν1.

Proof Firstly, we prove that (3.1) holds if μ r 0 and ν1.

If μ r 0 , u(z)= 1 erf ( z 1 / μ ) , then Lemma 2.2(1) leads to

λu(s)+(1λ)u(t)u ( λ s + ( 1 λ ) t )
(3.2)

for λ(0,1) and s,t>1.

Let s= x μ , t= y μ , and 0<x,y<1. Then (3.2) leads to the first inequality in (3.1).

Since the function terf( M t (x,y;λ)) is strictly increasing on R if ν1, it is enough to prove the second inequality in (3.1) is true for 1ν<0.

Let 1ν<0 and u(z)= 1 erf ( z 1 / ν ) . Then Lemma 2.2(3) leads to

u ( λ s + ( 1 λ ) t ) λu(s)+(1λ)u(t)
(3.3)

for λ(0,1) and s,t>1.

Therefore, the second inequality in (3.1) follows from s= x ν and t= y ν together with (3.3).

Secondly, we prove that the second inequality in (3.1) implies ν1.

Let 0<x,y<1. Then the second inequality in (3.1) leads to

D(x,y):=erf ( M ν ( x , y ; λ ) ) H ( erf ( x ) , erf ( y ) ; λ ) 0.
(3.4)

It follows from (3.4) that

D(y,y)= x D(x,y) | x = y =0

and

2 x 2 D(x,y) | x = y =λ(1λ) y 1 erf (y) [ ν 1 + 2 ( y 2 + y e y 2 0 y e t 2 d t ) ] .
(3.5)

Therefore,

ν lim y 0 + [ 1 2 ( y 2 + y e y 2 0 y e t 2 d t ) ] =1

follows from (3.4) and (3.5) together with Lemma 2.3.

Finally, we prove that the first inequality in (3.1) implies μ r 0 .

Let y1. Then the first inequality in (3.1) leads to

L(x)=:H ( erf ( x ) , erf ( 1 ) ; λ ) erf ( m μ ( x , 1 ; λ ) ) 0
(3.6)

for 0<x<1.

It follows from (3.6) that

L(1)=0,
(3.7)
[ λ erf ( 1 ) + ( 1 λ ) erf ( x ) ] 2 L (x)= 2 λ π e x 2 L 1 (x),
(3.8)

where

L 1 ( x ) = erf ( 1 ) 2 x μ 1 ( λ x μ + 1 λ ) 1 μ 1 [ λ erf ( 1 ) + ( 1 λ ) erf ( x ) ] 2 e x 2 ( λ x μ + 1 λ ) 2 μ , lim x 1 L 1 ( x ) = 0 ,
(3.9)
lim x 1 L 1 (x)=(1λ)erf ( 1 ) 2 [ 1 μ 4 e π erf ( 1 ) ] .
(3.10)

If μ> r 0 , then from (3.10) we know that there exists a small δ 1 >0, such that L 1 (x)<0 for x(1 δ 1 ,1). Therefore, L 1 (x) is strictly decreasing on [1 δ 1 ,1].

The monotonicity of L 1 (x) together with (3.8) and (3.9) imply that there exists δ 2 >0, such that L(x) is strictly increasing on (1 δ 2 ,1)

It follows from the monotonicity of L(x) and (3.7) that there exists δ 3 >0, such that L(x)<0 for x(1 δ 3 ,1), this contradicts with (3.6). □

Theorem 3.2 Let λ(0,1) and r 0 =1 4 e π erf ( 1 ) =1.9852. Then the double inequality

erf ( M p ( x , y ; λ ) ) H ( erf ( x ) , erf ( y ) ; λ ) erf ( M r ( x , y ; λ ) )
(3.11)

holds for all x,y1 if and only if p= and r r 0 .

Proof Firstly, we prove that inequality (3.11) holds if p= and r r 0 . Since the first inequality in (3.11) is true if p=, thus we only need to prove the second inequality in (3.11).

It follows from the monotonicity of the function erf( M t (x,y;λ)) with respect to t that we only need to prove the second inequality in (3.11) holds for r 0 r<1.

Let r 0 r<1 and u(z)= 1 erf ( z 1 / r ) . Then Lemma 2.2(2) leads to

u ( λ s + ( 1 λ ) t ) λu(s)+(1λ)u(t)
(3.12)

for λ(0,1) and s,t(0,1].

Therefore, the second inequality in (3.11) follows from s= x r and t= y r together with (3.12).

Secondly, we prove that the second inequality in (3.11) implies r r 0 .

Let x1 and y1. Then the second inequality in (3.11) leads to

K(x,y)=:erf ( M r ( x , y ; λ ) ) H ( erf ( x ) , erf ( y ) ; λ ) 0.
(3.13)

It follows from (3.13) that

K(y,y)= x K(x,y) | x = y =0

and

2 x 2 K(x,y) | x = y =λ(1λ) y 1 erf (y) [ r 1 + 2 ( y 2 + y e y 2 0 y e t 2 d t ) ] .
(3.14)

Therefore,

r lim y 1 + [ 1 2 ( y 2 + y e y 2 0 y e t 2 d t ) ] = r 0

follows from (3.13) and (3.14) together with Lemma 2.3.

Finally, we prove that the first inequality in (3.11) implies p=. We divide the proof into two cases.

Case 1 p0. Then for any fixed y(1,+) one has

lim x + erf ( M p ( x , y ; λ ) ) =1

and

lim x + H ( erf ( x ) , erf ( y ) ; λ ) = erf ( y ) λ erf ( y ) + 1 λ <1,

which contradicts with the first inequality in (3.11).

Case 2 <p<0. Let x1, θ= λ 1 / p , and y+. Then the first inequality in (3.11) leads to

T(x)=:H ( erf ( x ) , 1 ; λ ) erf(θx)0.
(3.15)

It follows from (3.15) that

lim x + T(x)=0
(3.16)

and

[ λ + ( 1 λ ) erf ( x ) ] 2 T (x)= 2 π e x 2 [ λ ( λ + ( 1 λ ) erf ( x ) ) 2 θ e ( 1 θ 2 ) x 2 ] .
(3.17)

Note that

lim x + [ λ ( λ + ( 1 λ ) erf ( x ) ) 2 θ e ( 1 θ 2 ) x 2 ] =λ>0.
(3.18)

It follows from (3.17) and (3.18) that there exists a large enough η 1 (0,+), such that T (x)>0 for x( η 1 ,+), hence T(x) is strictly increasing on [ η 1 ,+).

From the monotonicity of T(x) and (3.16) we conclude that there exists a large enough η 2 (0,+), such that T(x)<0 for x( η 2 ,+), this contradicts with (3.15). □