Key words. Numerical quadrature, piecewise polynomial, convergence rate, trapezoidal rule, midpoint rule, Simpson s rule, spectral accuracy.

Similar documents
Lecture Note 4: Numerical differentiation and integration. Xiaoqun Zhang Shanghai Jiao Tong University

NUMERICAL INTEGRATION

Numerical Analysis: Trapezoidal and Simpson s Rule

University of Houston, Department of Mathematics Numerical Analysis II

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

The Riemann Integral

Chapter 2. Numerical Integration also called quadrature. 2.2 Trapezoidal Rule. 2.1 A basic principle Extending the Trapezoidal Rule DRAWINGS

Math 1B, lecture 4: Error bounds for numerical methods

QUADRATURE is an old-fashioned word that refers to

Math Week 5 concepts and homework, due Friday February 10

Review of Calculus, cont d

Lecture 14: Quadrature

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature

Math& 152 Section Integration by Parts

DOING PHYSICS WITH MATLAB MATHEMATICAL ROUTINES

3.4 Numerical integration

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004

1 The Lagrange interpolation formula

Theoretical foundations of Gaussian quadrature

RGMIA Research Report Collection, Vol. 1, No. 1, SOME OSTROWSKI TYPE INEQUALITIES FOR N-TIME DIFFERENTIA

Best Approximation in the 2-norm

Numerical integration

III. Lecture on Numerical Integration. File faclib/dattab/lecture-notes/numerical-inter03.tex /by EC, 3/14/2008 at 15:11, version 9

Math 554 Integration

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), )

Convex Sets and Functions

Lecture 19: Continuous Least Squares Approximation

LECTURE 19. Numerical Integration. Z b. is generally thought of as representing the area under the graph of fèxè between the points x = a and

The Regulated and Riemann Integrals

Fundamental Theorem of Calculus

S. S. Dragomir. 2, we have the inequality. b a

Topic 6b Finite Difference Approximations

Numerical Integration

Lecture 6: Singular Integrals, Open Quadrature rules, and Gauss Quadrature

Definite integral. Mathematics FRDIS MENDELU

Riemann is the Mann! (But Lebesgue may besgue to differ.)

1 Error Analysis of Simple Rules for Numerical Integration

1 The Riemann Integral

Definite integral. Mathematics FRDIS MENDELU. Simona Fišnarová (Mendel University) Definite integral MENDELU 1 / 30

Z b. f(x)dx. Yet in the above two cases we know what f(x) is. Sometimes, engineers want to calculate an area by computing I, but...

AN INEQUALITY OF OSTROWSKI TYPE AND ITS APPLICATIONS FOR SIMPSON S RULE AND SPECIAL MEANS. I. Fedotov and S. S. Dragomir

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

INTRODUCTION TO INTEGRATION

Arithmetic Mean Derivative Based Midpoint Rule

Orthogonal Polynomials and Least-Squares Approximations to Functions

Numerical Methods I Orthogonal Polynomials

Discrete Least-squares Approximations

Integration Techniques

Properties of the Riemann Integral

APPROXIMATE INTEGRATION

S. S. Dragomir. 1. Introduction. In [1], Guessab and Schmeisser have proved among others, the following companion of Ostrowski s inequality:

12 Basic Integration in R

Abstract inner product spaces

1. Gauss-Jacobi quadrature and Legendre polynomials. p(t)w(t)dt, p {p(x 0 ),...p(x n )} p(t)w(t)dt = w k p(x k ),

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

6.5 Numerical Approximations of Definite Integrals

different methods (left endpoint, right endpoint, midpoint, trapezoid, Simpson s).

Journal of Inequalities in Pure and Applied Mathematics

Lecture 23: Interpolatory Quadrature

Keywords : Generalized Ostrowski s inequality, generalized midpoint inequality, Taylor s formula.

Section 6.1 Definite Integral

Numerical Integration

AN INTEGRAL INEQUALITY FOR CONVEX FUNCTIONS AND APPLICATIONS IN NUMERICAL INTEGRATION

Introduction to Numerical Analysis

A basic logarithmic inequality, and the logarithmic mean

Best Approximation. Chapter The General Case

Tangent Line and Tangent Plane Approximations of Definite Integral

63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1

Numerical Analysis. 10th ed. R L Burden, J D Faires, and A M Burden

Numerical Integration. 1 Introduction. 2 Midpoint Rule, Trapezoid Rule, Simpson Rule. AMSC/CMSC 460/466 T. von Petersdorff 1

Advanced Computational Fluid Dynamics AA215A Lecture 3 Polynomial Interpolation: Numerical Differentiation and Integration.

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2.

Anti-derivatives/Indefinite Integrals of Basic Functions

An optimal 3-point quadrature formula of closed type and error bounds

New Expansion and Infinite Series

Lecture 1. Functional series. Pointwise and uniform convergence.

Derivatives, Finding Roots, Interpolating and Integration

Lecture 4: Piecewise Cubic Interpolation

GENERALIZATIONS OF WEIGHTED TRAPEZOIDAL INEQUALITY FOR MONOTONIC MAPPINGS AND ITS APPLICATIONS. (b a)3 [f(a) + f(b)] f x (a,b)

Undergraduate Research

Orthogonal Polynomials

Further integration. x n nx n 1 sinh x cosh x log x 1/x cosh x sinh x e x e x tan x sec 2 x sin x cos x tan 1 x 1/(1 + x 2 ) cos x sin x

Taylor Polynomial Inequalities

Section 6.1 INTRO to LAPLACE TRANSFORMS

Lecture 12: Numerical Quadrature

Stepsize Control for Cubic Spline Interpolation

Calculus I-II Review Sheet

NEW INEQUALITIES OF SIMPSON S TYPE FOR s CONVEX FUNCTIONS WITH APPLICATIONS. := f (4) (x) <. The following inequality. 2 b a

Chapter 0. What is the Lebesgue integral about?

arxiv: v1 [math.ca] 7 Mar 2012

The Fundamental Theorem of Calculus. The Total Change Theorem and the Area Under a Curve.

Lecture 1: Introduction to integration theory and bounded variation

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying

Sections 5.2: The Definite Integral

Quadrature Rules for Evaluation of Hyper Singular Integrals

Numerical Analysis. Doron Levy. Department of Mathematics Stanford University

Fundamental Theorem of Calculus and Computations on Some Special Henstock-Kurzweil Integrals

ODE: Existence and Uniqueness of a Solution

Polynomial Approximations for the Natural Logarithm and Arctangent Functions. Math 230

Transcription:

O SPECTRA ACCURACY OF QUADRATURE FORMUAE BASED O PIECEWISE POYOMIA ITERPOATIO A KURGAOV AD S TSYKOV Abstrct It is well-known tt te trpezoidl rule, wile being only second-order ccurte in generl, improves to spectrl ccurcy if pplied to te integrtion of smoot periodic function over n entire period on uniform grid More precisely, for te function tt s squre integrble derivtive of order r te convergence rte is o r/, were is number of grid nodes Accordingly, for C -function te trpezoidl qudrture converges wit te rte fster tn ny polynomil In tis pper, we prove tt te sme property olds for ll qudrture formule obtined by integrting fixed degree piecewise polynomil interpoltions of smoot integrnd, suc s te midpoint rule, Simpson s rule, etc Key words umericl qudrture, piecewise polynomil, convergence rte, trpezoidl rule, midpoint rule, Simpson s rule, spectrl ccurcy et f fx be function defined in te intervl x b, b To pproximte te vlue of its integrl b fx dx, let us introduce prtition of te intervl [, b] into equl subintervls of size / Te prtition is rendered by te nodes of te grid: x j + j, j, 1,,, so tt x nd x b On ec subintervl [x j, x j+1 ], j, 1,, 1, we pproximte te function f by te interpolting polynomil of degree 1: fx Q 1 x, f, x j, x j+1 f j x j+1 x x x j + f j+1, 1 were f j fx j, j, 1,, Ten, by replcing fx wit te corresponding liner interpolnt 1 on ec subintervl, one obtins te trpezoidl qudrture rule: b x j+1 fx dx Q 1 x, f, x j, x j+1 dx j x j f + f 1 + f + + f + f j f j + f j+1 It is well-known tt if te second derivtive f x is bounded on [, b], ten te interpoltion error in formul 1 is: were ξ ξx [x j, x j+1 ] Terefore, fx Q 1 x, f, x j, x j+1 f ξ x x j x x j+1, 3! fx Q 1 x, f, x j, x j+1 1 8 mx f x 1 x j x x j+1 8 mx f x x b Mtemtics Deprtment, Tulne University, ew Orlens, A 7118, USA E-mil: kurgnov@mttulneedu, UR: ttp://wwwmttulneedu/ kurgnov Reserc of tis utor ws supported in prt by te SF Grnt # DMS-31585 Deprtment of Mtemtics nd Center for Reserc in Scientific Computtion, ort Crolin Stte University, Box 85, Rleig, C 7695, USA E-mil: tsynkov@mtncsuedu, UR: ttp://wwwmtncsuedu/ stsynkov Reserc of tis utor ws supported in prt by te US Air Force Grnt # FA955-4-1-118 1

On Spectrl Accurcy of Qudrture Formule Bsed on Piecewise Polynomil Interpoltions Consequently, te error of te trpezoidl rule cn be estimted s: b fj fx dx + f x j+1 j j+1 fx Q 1 x, f, x j, x j+1 dx j j x j+1 x j fx Q 1 x, f, x j, x j+1 dx x j 8 mx x b f x 3 8 mx x b f x In oter words, wen, te error of te trpezoidl rule decys t lest s fst s O importnt to empsize tt in generl tis estimte cnnot be improved mely, even if te function fx s bounded derivtives of order iger tn two on [, b], te convergence of te trpezoidl rule will still remin qudrtic Tis immeditely follows from te fct tt even for smooter functions te interpoltion error is given by te sme formul 3 However, tere is one prticulr cse wen te trpezoidl rule provides muc better ccurcy of pproximtion Tis is te cse of smoot nd -periodic function f, for wic te rte of convergence of te trpezoidl qudrture will utomticlly djust to te degree of regulrity of f In te literture, tis result is commonly referred to s stndrd; proof, for instnce, cn be found in [, Section 9] or in [3, Section 41] It is Moreover, tis result s fr-recing implictions in scientific computtion; it fcilittes construction of efficient numericl metods, for exmple, in te scttering teory, see [1] Since one cn ctully come cross severl sligtly different versions of tis result, we formulte it s teorem nd provide proof tt follows [3] nd is bsed on simpler rgument tn te one used in [] Teorem 1 et f fx be n -periodic function nd ssume tt its derivtive of order r is squre integrble: f r Ten te error of te trpezoidl qudrture rule cn be estimted s: + fj fx dx + f j+1 ζ, 4 r/ were ζ s j Proof We first note tt since te function f is integrted over full period, we my ssume witout loss of generlity tt We ten represent f s te sum of its Fourier series: were fx S x + R x, 5 S x + n cos πnx n1 + n1 b n sin πnx 6 is te prtil sum of order 1 nd R x n n cos πnx + n b n sin πnx 7 is te corresponding reminder Te coefficients n nd b n of te Fourier series of f re given by te formule: n fx cos πnx dx, b n fx sin πnx dx 8

On Spectrl Accurcy of Qudrture Formule Bsed on Piecewise Polynomil Interpoltions 3 otice tt ccording to formule 6 nd 8, te following equlity olds: We now integrte equlity 5 over [, ]: fx dx S x dx S x dx + fx dx 9 R x dx 1 nd pply te trpezoidl qudrture rule to te rigt-nd side RHS of 1 For te first integrl tere, tis cn be done vi te term-by-term integrtion of 6 We strt wit te constnt component n, for wic, tking into ccount 9, we immeditely get: j / + / S x dx fx dx For ll oter terms n 1,,, 1 we exploit periodicity wit te period, use te definition of te grid size /, nd obtin: j n n j Similrly, one cn sow tt cos πnj e i πnj j + e bn + n πnj i πnj + 1 cos sin πnj n + b n 1 e i πn 1 e i πn n + j cos πnj πn 1 e i πnj + 1 sin πn 1 e i Altogeter we conclude tt te trpezoidl rule is exct for te prtil sum S given by formul 6, nmely: j S x j + S x j+1 S x dx 11 We lso note tt coosing te prtil sum of order 1, wile te number of grid cells being, is not ccidentl From te previous derivtion is is esy to see tt equlity 11 would no longer old lredy if we were to tke S x insted of S x tere ext, we need to pply te trpezoidl rule to te reminder of te series R given by formul 7 First we recll tt te mgnitude of te reminder or, equivlently, te rte of convergence of te Fourier series, is determined by te smootness of te function f More precisely, one cn sow tt for function f suc tt f r te following estimte olds: sup x R x ζ, 1 r/

On Spectrl Accurcy of Qudrture Formule Bsed on Piecewise Polynomil Interpoltions 4 were ζ s Terefore, R x j j + R x j+1 sup R x x Finlly, we combine formule 11 nd 13 to conclude wit: fj fx dx + f j+1 j S x j + S x j+1 + R x j j R x j + R x j+1 ζ, r/ j wic completes te proof of te teorem + R x j+1 ζ 13 r/ Remrk If f C, ten Teorem 1 implies spectrl convergence of te trpezoidl qudrture rule In oter words, te rte of decy of te error will be fster tn ny polynomil, tt is, fster tn O r for ny r > et us now consider te entire fmily of pproximte qudrtures obtined, like te trpezoidl rule, by integrting piecewise polynomil interpolnts of given fixed degree et P M, were P nd M re positive integers Ten, we prtition te originl grid of cells into P clusters of M cells ec, nd witin every cluster pproximte te function f s follows: fx Q d x, f, x pm, x pm+1,, x p+1m, x [x pm, x p+1m ], p, 1,, P 1, 14 were Q d x, f, x pm, x pm+1,, x p+1m is unique lgebric interpolting polynomil of degree d M tt coincides wit te function fx t te nodes x j, j pm, pm + 1,, p + 1M By integrting te interpolting polynomils 14 over te corresponding cell clusters we rrive t te following pproximte qudrture formul: b fx dx P p P p x p+1m x pm Q d x, f, x pm, x pm+1,, x p+1m dx c f pm + c 1 f pm+1 + + c M f p+1m, 15 were te coefficients c, c 1,, c M, re uniquely defined for given M For exmple, for te previously nlyzed trpezoidl rule we ve P, M 1, c 1/, nd c 1 1/ For te well-known Simpson s rule we ve P /, M, c 1/3, c 1 4/3, nd c 1/3 An obvious importnt property of te qudrture coefficients follows from pplying formul 15 to fx const: c + c 1 + + c M M 16 Typiclly, te ccurcy of te qudrture formule 15 is O M+1, provided tt te function f s bounded derivtive of order M + 1 Sometimes, symmetries my led to somewt better ccurcy For

On Spectrl Accurcy of Qudrture Formule Bsed on Piecewise Polynomil Interpoltions 5 exmple, te ccurcy of Simpson s rule is, in fct, O 4 rter tn O 3, provided tt f 4 is bounded However, for smoot periodic functions f ll qudrture formule of type 15 ttin spectrl ccurcy wen pplied on full period Tis is te centrl result of our note, wic we present in te following teorem Teorem et f fx be n -periodic function nd ssume tt its derivtive of order r is squre integrble: f r Ten te pproximtion error of ny qudrture formul of type 15 cn be estimted s: + were ζ s fx dx P p c f pm + + c M f p+1m ζ, 17 r/ Proof Te proof of te teorem is bsed on reduction of te qudrture formul 15 to liner combintion of te trpezoidl-type qudrtures, for wic estimte 17 reduces to estimte 4 tt ws proved in Teorem 1 mely, we cn rewrite te qudrture formul 15 s: P p c f pm + c 1 f pm+1 + + c M f p+1m c f + c + c M f M + c + c M f M + + c + c M f P M + c M f P M M + c m fm + f m+m + f m+m + + f m+p M m1 ext, we introduce te gost nodes of te grid: {x j } for j + 1,, + M 1 or equivlently, j P M + 1,, P M + M 1, nd use te -periodicity of fx to recst te previous equlity s follows: We terefore ve: P p m1 c f pm + c 1 f pm+1 + + c M f p+1m c + c M f + c + c M f M + + c + c M f P M + c + c M f P M M fm + c m + f m+m + f m+m + + f m+p M + f m+p M P p c f pm + c 1 f pm+1 + + c M f p+1m c + c M M M m α m P fpm + f M p+1m c m + M m1 p fm+pm P p + f m+p+1m P p fpm+m + f p+1m+m, 18 were M denotes te size of te cell clusters Te RHS of 18 is liner combintion of M trpezoidltype qudrtures constructed on uniform grid of P cells of size M Te coefficients of te liner combintion re: α c + c M /M, α 1 c 1 /M,, α M c M /M

On Spectrl Accurcy of Qudrture Formule Bsed on Piecewise Polynomil Interpoltions 6 Moreover, ec qudrture wit m > is trpezoidl rule sifted by m, tt is, formlly it integrtes te function f on te intervl [m, + m] rter tn [, ] However, s te function f is -periodic, we obviously ve: m+ m fx dx fx dx 19 Terefore, we cn pply te sme rgument s used in te proof of Teorem 1 to ec individul trpezoidl formul on te RHS of 18 In doing so, we consider te prtil sum S P nd te reminder R P of te Fourier series of f Tis yields [cf formul 18]: P p c + c M M + M m c f pm + c 1 f pm+1 + + c M f p+1m α m P p Ten, using equtions 16 nd 19 we obtin: P p M m M fx dx + m1 c m M RP x pm+m m+ m fx dx + R P x p+1m+m c f pm + c 1 f pm+1 + + c M f p+1m α m P p RP x pm+m + R P x p+1m+m fx dx Finlly, te desired estimte 17 is obtined by pplying te tringle inequlity nd estimting te reminder of te Fourier series s: sup R P x ζ P x P r/ Tis estimte is equivlent to 1 s long s wen refining te grid MP we keep te order of te qudrture formul M fixed M const, wile letting te number of clusters P to increse P Remrk ote tt one of te simplest qudrture formule, known s te midpoint rule, b fx dx f 1/ + f 3/ + + f /, does not formlly belong to te clss 15 It s ccurcy O provided tt f is bounded, nd is obtined by pproximting te function f wit constnt zero-degree polynomil on ec grid cell: fx Q x, f, x j, x j+1 fx j + / : f j+1/, x [x j, x j+1 ] Yet te sme rgument s employed wen proving Teorem clerly pplies to te qudrture formul, wic mens tt te midpoint rule lso cieves spectrl ccurcy wen used for integrting smoot periodic functions

On Spectrl Accurcy of Qudrture Formule Bsed on Piecewise Polynomil Interpoltions 7 Exmple As numericl demonstrtion, we clculte te integrl π e sin x dx 1 using Simpson s rule on sequence of uniform grids wit, 4, 8, et us denote by I te pproximte vlue of te integrl 1 on te grid wit cells Te results obtined wit double precision re summrized in Tble 1 Tble 1 Computtion of integrl 1 using Simpson s rule I I I / 683185371795871 4 85583615785417 748584353675e+ 8 794346553835646 614573637449778e 16 7954961378319 11463553454844616e 3 7954965118439 4179648358194e 7 64 7954965118439 REFERECES [1] O P Bruno nd A Kunynsky, Surfce scttering in tree dimensions: n ccelerted ig-order solver, R Soc ond Proc Ser A Mt Pys Eng Sci, 457 1, pp 91 934 [] P J Dvis nd P Rbinowitz, Metods of umericl Integrtion, Computer Science nd Applied Mtemtics, Acdemic Press Inc, Orlndo, F, second ed, 1984 [3] V S Ryben kii nd S V Tsynkov, A Teoreticl Introduction to umericl Anlysis, Cpmn & Hll/CRC, Boc Rton, F, 7