error estimates for some composite corrected quadrature rules

5
Applied Mathematics Letters 22 (2009) 771–775 Contents lists available at ScienceDirect Applied Mathematics Letters journal homepage: www.elsevier.com/locate/aml Error estimates for some composite corrected quadrature rules Zheng Liu Institute of Applied Mathematics, School of Science, University of Science and Technology Liaoning, Anshan 114051, Liaoning, China article info Article history: Received 3 November 2006 Received in revised form 25 June 2008 Accepted 26 August 2008 Keywords: Corrected trapezoidal rule Corrected midpoint rule Corrected Simpson rule Composite corrected quadrature rule Error estimates abstract The asymptotic behaviour of the error for a general quadrature rule is established and it is applied to some composite corrected quadrature rules. © 2008 Elsevier Ltd. All rights reserved. 1. Introduction Let f :[a, b]→ R be such that f 0 is absolutely continuous on [a, b]. It is well known that the trapezoidal rule T (f ) := b - a 2 [f (a) + f (b)] (1) and the midpoint rule M(f ) := (b - a)f a + b 2 (2) are the simplest quadrature formulae used to approximate the integral Z b a f (t )dt which can serve as basic elements for constructing more sophisticated formulae by certain types of convex combinations, e.g., the classical Simpson rule is defined as S (f ) = 1 3 T (f ) + 2 3 M(F ) = b - a 6 f (a) + 4f a + b 2 + f (b) . (3) Further, we may consider the corrected or perturbed trapezoidal rule CT (f ) := b - a 2 [f (a) + f (b)]- (b - a) 2 12 [f 0 (b) - f 0 (a)] (4) E-mail address: [email protected]. 0893-9659/$ – see front matter © 2008 Elsevier Ltd. All rights reserved. doi:10.1016/j.aml.2008.08.016

Upload: zheng-liu

Post on 26-Jun-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Error estimates for some composite corrected quadrature rules

Applied Mathematics Letters 22 (2009) 771–775

Contents lists available at ScienceDirect

Applied Mathematics Letters

journal homepage: www.elsevier.com/locate/aml

Error estimates for some composite corrected quadrature rulesZheng LiuInstitute of Applied Mathematics, School of Science, University of Science and Technology Liaoning, Anshan 114051, Liaoning, China

a r t i c l e i n f o

Article history:Received 3 November 2006Received in revised form 25 June 2008Accepted 26 August 2008

Keywords:Corrected trapezoidal ruleCorrected midpoint ruleCorrected Simpson ruleComposite corrected quadrature ruleError estimates

a b s t r a c t

The asymptotic behaviour of the error for a general quadrature rule is established and it isapplied to some composite corrected quadrature rules.

© 2008 Elsevier Ltd. All rights reserved.

1. Introduction

Let f : [a, b] → R be such that f ′ is absolutely continuous on [a, b]. It is well known that the trapezoidal rule

T (f ) :=b− a2[f (a)+ f (b)] (1)

and the midpoint rule

M(f ) := (b− a)f(a+ b2

)(2)

are the simplest quadrature formulae used to approximate the integral∫ b

af (t)dt

which can serve as basic elements for constructing more sophisticated formulae by certain types of convex combinations,e.g., the classical Simpson rule is defined as

S(f ) =13T (f )+

23M(F) =

b− a6

[f (a)+ 4f

(a+ b2

)+ f (b)

]. (3)

Further, we may consider the corrected or perturbed trapezoidal rule

CT (f ) :=b− a2[f (a)+ f (b)] −

(b− a)2

12[f ′(b)− f ′(a)] (4)

E-mail address: [email protected].

0893-9659/$ – see front matter© 2008 Elsevier Ltd. All rights reserved.doi:10.1016/j.aml.2008.08.016

Page 2: Error estimates for some composite corrected quadrature rules

772 Z. Liu / Applied Mathematics Letters 22 (2009) 771–775

and the corrected or perturbed midpoint rule

CM(f ) := (b− a)f(a+ b2

)+(b− a)2

24[f ′(b)− f ′(a)]. (5)

It iswell known that corrected quadrature formulae (4) and (5) have better estimates of error than corresponding originalformulae (1) and (2). (See, e.g., [1–3].)Unfortunately, we could not obtain such a corrected version of the Simpson rule, since

13CT (f )+

23CM(f ) =

b− a6

[f (a)+ 4f

(a+ b2

)+ f (b)

]does not involve the derivatives at the endpoints.Nevertheless, we did find in [4–6] the so-called corrected Simpson quadrature rule that improves on Simpson rule (3):

CS(f ) =715CT (f )+

815CM(f )

=b− a30

[7f (a)+ 16f

(a+ b2

)+ 7f (b)

]−(b− a)2

60[f ′(b)− f ′(a)]. (6)

It is not difficult to find that the corrected trapezoidal rule (4) and the corrected midpoint rule (5) are exact forpolynomials of degree 3 or less, and the corrected Simpson rule (6) is exact for polynomials of degree 5 or less.Now let a = t0 < t1 < · · · < tn = b be an equidistant subdivision of the interval [a, b] such that ti+1 − ti = h = b−a

n ,i = 0, 1, . . . , n− 1. Then we have the composite corrected trapezoidal rule

CTn(f ) =b− a2n[f (t0)+ 2f (t1)+ · · · + 2f (tn−1)+ f (tn)] −

(b− a)2

12n2[f ′(b)− f ′(a)], (7)

the composite corrected midpoint rule

CMn(f ) =b− an

[f(t0 + t12

)+ f

(t1 + t22

)+ · · · + f

(tn−1 + tn2

)]+(b− a)2

24n2[f ′(b)− f ′(a)] (8)

and the composite corrected Simpson rule

CSn(f ) =b− a30n

{7[f (t0)+ 2f (t1)+ · · · + 2f (tn−1)+ f (tn)]

+ 16[f(t0 + t12

)+ f

(t1 + t22

)+ · · · + f

(tn−1 + tn2

)]}−(b− a)2

60n2[f ′(b)− f ′(a)] (9)

which correspond to the corrected quadrature rules (4)–(6), respectively.Motivated by [7,8], in this work, we will give a unified treatment for estimating the errors for the above mentioned

composite corrected quadrature rules (7)–(9).

2. Main results

We need the following result (see Theorem 10 in [8] or Theorem 3 in [9]):

Lemma 1. Let f : [a, b] → R be such that its (r − 1)th derivative f (r−1) is of continuous bounded variation for some positiveinteger r. Then for any x ∈ [0, 1], we have∫ b

af (t)dt = h

n−1∑i=0

f (ti + xh)−r∑ν=1

f (ν−1)(b)− f (ν−1)(a)ν!

Bν(x)hν + R(r)n (f ; x), (10)

where

R(r)n (f ; x) =hr

r!

∫ b

aB̃r

(x− n

t − ab− a

)df (r−1)(t) (11)

and B̃r(t) := Br(t − [t]) while Br(t) is the rth Bernoulli polynomial.

Page 3: Error estimates for some composite corrected quadrature rules

Z. Liu / Applied Mathematics Letters 22 (2009) 771–775 773

Theorem 2. Suppose that for some real constants α 6= 0 and pj ∈ [0, 1], j = 0, 1, . . . ,m− 1, with∑m−1j=0 pj = 1, the following

quadrature rule∫ 1

0f (t)dt =

m−1∑j=0

pjf (xj)+ α[f ′(1)− f ′(0)] (12)

is exact for any polynomial of degree ≤ r − 1 for some positive integer r ≥ 3. Let f : [a, b] → R be such that its (r − 1)thderivative f (r−1) is a continuous function of bounded variation on [a, b]. Then we have∫ b

af (t)dt = h

n−1∑i=0

m−1∑j=0

pjf (ti + xjh)+ αh2[f ′(b)− f ′(a)] + R(r)n (f ), (13)

where

R(r)n (f ) = hr∫ b

aGr

(nt − ab− a

)df (r−1)(t), (14)

and

Gr(t) =1r!

m−1∑j=0

pj(B̃r(xj − t)− Br(xj)). (15)

Proof. We first note that for 1 ≤ ν ≤ r − 1,m−1∑j=0

pjBν(xj)+ α[B′ν(1)− B′

ν(0)] =∫ 1

0Bν(t)dt = 0

due to (12) being exact for any polynomial of degree ≤ r − 1 and a well known property of the Bernoulli polynomials.Moreover, since B0(t) = 1, B′n(t) = nBn−1(t) and Bn(t + 1)− Bn(t) = nt

n−1, n = 1, 2, . . . ,we get

m−1∑j=0

pjBν(xj) ={0, if 1 ≤ ν ≤ r − 1, ν 6= 2,−2α, if ν = 2. (16)

Now setting x = xj in (10), multiplying both sides of (10) by pj, summing from j = 0 to m − 1, from (10), (16) and thefollowing readily checked fact:

f (r−1)(b)− f (r−1)(a)r!

Br(x)hr =hr

r!

∫ b

aBr(x)df (r−1)(t),

we obtain∫ b

af (t)dt = h

n−1∑i=0

m−1∑j=0

pjf (ti + xjh)−r∑ν=1

(m−1∑j=0

pjBν(xj)

)f (ν−1)(b)− f (ν−1)(a)

ν!hν +

m−1∑j=0

pjR(r)n (f ; xj),

i.e., ∫ b

af (t)dt = h

n−1∑i=0

m−1∑j=0

pjf (ti + xjh)−r−1∑ν=1

(m−1∑j=0

pjBν(xj)

)f (ν−1)(b)− f (ν−1)(a)

ν!hν

m−1∑j=0

pjBr(xj)f (r−1)(b)− f (r−1)(a)

r!hr +

m−1∑j=0

pjR(r)n (f ; xj),

and it follows from (16) that∫ b

af (t)dt = h

n−1∑i=0

m−1∑j=0

pjf (ti + xjh)+ αh2[f ′(b)− f ′(a)]

m−1∑j=0

pjhr

r!

∫ b

aBr(xj)df (r−1)(t)+

m−1∑j=0

pjR(r)n (f ; xj).

Page 4: Error estimates for some composite corrected quadrature rules

774 Z. Liu / Applied Mathematics Letters 22 (2009) 771–775

Finally, from (11) we get∫ b

af (t)dt = h

n−1∑i=0

m−1∑j=0

pjf (ti + xjh)+ αh2[f ′(b)− f ′(a)] +hr

r!

∫ b

a

m−1∑j=0

pj(B̃r

(xj − n

t − ab− a

)− Br(xj))df (r−1)(t),

which completes the proof. �

Remark 3. The case α = 0 has already been studied in [8]. For α 6= 0, from the proof of Theorem 2, we can conclude thatr−1∑ν=1

(m−1∑j=0

pjBν(xj)

)f (ν−1)(b)− f (ν−1)(a)

ν!hν = −αh2[f ′(b)− f ′(a)]

only if r ≥ 3. Otherwise (for r = 1, 2) the expression on the left-hand side equals 0.

Theorem 4. Let the assumptions of Theorem 2 hold. Then we have

|nrR(r)n (f )| ≤ Cr(b− a)r∨b

a(f (r−1)), (17)

where

Cr :=1r!sup0<t<1

∣∣∣∣∣m−1∑j=0

pj(B̃r(xj − t)− Br(xj))

∣∣∣∣∣ . (18)

If further f (r−1) is absolutely continuous on [a, b], we then have

limn→∞

nrR(r)n (f ) = Kr(b− a)r∫ b

af (r)(t)dt, (19)

where

Kr := −1r!

m−1∑j=0

pjBr(xj). (20)

The proof is similar to that for the Theorem 12 in [8] and so is omitted.

Remark 5. If (12) has degree of precision r − 1 then Cν and Kν exist for all 3 ≤ ν ≤ r since in this case (12) is exact for anypolynomial of degree≤ ν − 1. We obtain from (16) and (20) that

Kν = 0, if 3 ≤ ν < r, (21)

which implies from (19) that

limn→∞

nνR(ν)n (f ) = 0, if 3 ≤ ν < r.

3. Examples

Example 1. For the corrected trapezoid rule, we see that α = − 112 and it has degree of precision 3 (r = 4). Thus for any

function f such that f (ν−1) (ν = 3, 4) is continuous of bounded variation, we get Cν by direct calculations from (18) as

C3 =

√3

216, C4 =

1384

,

and, for any function f such that f (ν−1) (ν = 3, 4) is absolutely continuous, we obtain Kν from (21) and by a direct calculationfrom (20) as

K3 = 0, K4 =1720

and these imply that

limn→∞

n3R(f ; CTn) = limn→∞

n3R(3)n (f ) = 0

Page 5: Error estimates for some composite corrected quadrature rules

Z. Liu / Applied Mathematics Letters 22 (2009) 771–775 775

and

limn→∞

n4R(f ; CTn) = limn→∞

n4R(4)n (f ) =1720

(b− a)4[f ′′′(b)− f ′′′(a)].

Example 2. For the corrected midpoint rule, we see that α = 124 and it has degree of precision 3 (r = 4). Thus for any

function f such that f (ν−1) (ν = 3, 4) is continuous of bounded variation, we get Cν by direct calculations from (18) as

C3 =

√3

216, C4 =

1384

,

and, for any function f such that f (ν−1) (ν = 3, 4) is absolutely continuous, we obtain Kν from (21) and by a direct calculationfrom (20) as

K3 = 0, K4 = −75760

and these imply that

limn→∞

n3R(f ; CMn) = limn→∞

n3R(3)n (f ) = 0

and

limn→∞

n4R(f ; CMn) = limn→∞

n4R(4)n (f ) = −75760

(b− a)4[f ′′′(b)− f ′′′(a)].

Example 3. For the corrected Simpson rule, we see that α = − 160 and it has degree of precision 5 (r = 6). Thus for any

function f such that f (ν−1) (ν = 3, 4, 5, 6) is continuous of bounded variation, we get Cν by direct calculations from (18) as

C3 =7

20 250+19√19

81 000, C4 =

15760

, C5 =1

58 320, C6 =

1230 400

and, for any function f such that f (ν−1) (ν = 3, 4, 5, 6) is absolutely continuous, we obtain Kν from (21) and by a directcalculation from (20) as

K3 = K4 = K5 = 0, K6 =1

604 800and these imply that

limn→∞

nνR(f ; CSn) = limn→∞

nνR(ν)n (f ) = 0, for ν = 3, 4, 5,

and

limn→∞

n6R(f ; CSn) = limn→∞

n6R(6)n (f ) =1

604 800(b− a)4[f (5)(b)− f (5)(a)].

Remark 6. It should be mentioned that the same estimates of error for the corrected Simpson rule were obtained in [6].Furthermore, estimates of error for both classical and corrected trapezoidal rules were obtained in [10] and for themidpointand corrected midpoint rules in [11].

Acknowledgment

The author wishes to express his sincere thanks to the referee for valuable comments and suggestions.

References

[1] P. Cerone, On perturbed trapezoidal and midpoint rules, Korean J. Comput. Appl. Math. 2 (2002) 423–435.[2] X.L. Cheng, J. Sun, A note on the perturbed trapezoid inequality, J. Inequal. Pure Appl. Math. 3 (2002). Article 29 http://jipam.vu.edu.au.[3] Z. Liu, On sharp perturbed midpoint inequalities, Tamkang J. Math. 36 (2005) 131–136.[4] N. Ujević, A.J. Roberts, A corrected quadrature formula and applications, ANZIAM J. 45 (E) (2004) E41–E56.[5] N. Ujević, A generalization of the modified Simpson’s rule and error bounds, ANZIAM J. 47 (E) (2005) E1–E13.[6] J. Pečarić, I. Franjić, Generalization of corrected Simpson’s formula, ANZIAM J. 47 (2006) 367–385.[7] D. Cruz-Uribe, C.J. Neugebauer, Sharp error bounds for the trapezoidal rule and Simpson’s rule, J. Inequal. Pure Appl. Math. 3 (2002). Article 49http://jipam.vu.edu.au.

[8] Q.B. Wu, S.J. Yang, A note to Ujević’s generalization of Ostrowski’s inequality, Appl. Math. Lett. 18 (2005) 657–665.[9] I. Franjić, I. Perić, J. Pečarić, General Euler–Ostrowski formulae and applications to quadratures, Appl. Math. Comput. 177 (2006) 92–98.[10] Lj. Dedić, M. Matić, J. Pečarić, On Euler trapezoid formulae, Appl. Math. Comput. 123 (2001) 37–62.[11] Lj. Dedić, M. Matić, J. Pečarić, On Euler midpoint formulae, ANZIAM J. 46 (2005) 417–438.