Extrapolation in Numerical Integration. Romberg Integration

Similar documents
Numerical Integra/on

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker.

Romberg Rule of Integration

Numerical Integra/on

6 Lecture 6b: the Euler Maclaurin formula

Chapter 5: Numerical Integration and Differentiation

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 16. f(x) dx,

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Numerical Integration

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

Physics 115/242 Romberg Integration

Integration, differentiation, and root finding. Phys 420/580 Lecture 7

Numerical Integration of Functions

Chap. 19: Numerical Differentiation

8.3 Numerical Quadrature, Continued

MA6452 STATISTICS AND NUMERICAL METHODS UNIT IV NUMERICAL DIFFERENTIATION AND INTEGRATION

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places.

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by

Romberg Integration: A Symbolic Approach with Mathematica

Gregory's quadrature method

Outline. 1 Numerical Integration. 2 Numerical Differentiation. 3 Richardson Extrapolation

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation

Numerical Integration (Quadrature) Another application for our interpolation tools!

Extrapolation Methods for Approximating Arc Length and Surface Area

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by

3. Numerical Quadrature. Where analytical abilities end...

Preliminary Examination, Numerical Analysis, August 2016

Numerical Analysis Solution of Algebraic Equation (non-linear equation) 1- Trial and Error. 2- Fixed point

(c) Find the equation of the degree 3 polynomial that has the same y-value, slope, curvature, and third derivative as ln(x + 1) at x = 0.

Math 578: Assignment 2

5. Hand in the entire exam booklet and your computer score sheet.

Romberg Integration. MATH 375 Numerical Analysis. J. Robert Buchanan. Spring Department of Mathematics

(x x 0 )(x x 1 )... (x x n ) (x x 0 ) + y 0.

MA 3021: Numerical Analysis I Numerical Differentiation and Integration

Numerical Methods. King Saud University

you expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form

Numerical Programming I (for CSE)

EXAMPLE OF ONE-STEP METHOD

Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function.

COURSE Numerical integration of functions (continuation) 3.3. The Romberg s iterative generation method

Do not turn over until you are told to do so by the Invigilator.

Homework and Computer Problems for Math*2130 (W17).

Chapter 4 Sequences and Series

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

Numerical Methods. Aaron Naiman Jerusalem College of Technology naiman

Exam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20

Calculus I Exam 1 Review Fall 2016

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b)

MA1021 Calculus I B Term, Sign:

Romberg Integration and Gaussian Quadrature

Stat 451 Lecture Notes Numerical Integration

Section 6.6 Gaussian Quadrature

MAT 460: Numerical Analysis I. James V. Lambers

Numerical Analysis Exam with Solutions

SECTION A. f(x) = ln(x). Sketch the graph of y = f(x), indicating the coordinates of any points where the graph crosses the axes.

MATHEMATICAL FORMULAS AND INTEGRALS

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Taylor Series. Math114. March 1, Department of Mathematics, University of Kentucky. Math114 Lecture 18 1/ 13

Power, Taylor, & Maclaurin Series Page 1

i x i y i

Section 8.7. Taylor and MacLaurin Series. (1) Definitions, (2) Common Maclaurin Series, (3) Taylor Polynomials, (4) Applications.

Problem Set Four Integration AP Calculus AB

5 Numerical Integration & Dierentiation

NUMERICAL METHODS FOR ENGINEERING APPLICATION

Taylor and Maclaurin Series. Approximating functions using Polynomials.

MATLAB Laboratory 10/14/10 Lecture. Taylor Polynomials

Integration. Copyright Cengage Learning. All rights reserved.

Numerical Methods. Aaron Naiman Jerusalem College of Technology naiman

MA2501 Numerical Methods Spring 2015

MA2501 Numerical Methods Spring 2015

Curve Fitting and Interpolation

Simpson s 1/3 Rule Simpson s 1/3 rule assumes 3 equispaced data/interpolation/integration points

Math Numerical Analysis

Numerical Methods for Engineers

MATH 163 HOMEWORK Week 13, due Monday April 26 TOPICS. c n (x a) n then c n = f(n) (a) n!

Preface. 2 Linear Equations and Eigenvalue Problem 22

Name Class. (a) (b) (c) 4 t4 3 C

Sequences and Series

Section 10.7 Taylor series

NUMERICAL ANALYSIS PROBLEMS

Homework set #7 solutions, Math 128A J. Xia

TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1. Chapter Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9

The real voyage of discovery consists not in seeking new landscapes, but in having new eyes. Marcel Proust

MA1023-Methods of Mathematics-15S2 Tutorial 1

Applied Numerical Analysis (AE2220-I) R. Klees and R.P. Dwight

Some notes on Chapter 8: Polynomial and Piecewise-polynomial Interpolation

1.10 Continuity Brian E. Veitch

f(f 1 (x)) = x HOMEWORK DAY 2 Due Thursday, August 23rd Online: 6.2a: 1,2,5,7,9,13,15,16,17,20, , # 8,10,12 (graph exponentials) 2.

Additional exercises with Numerieke Analyse

NUMERICAL METHODS USING MATLAB

Numerical Methods I: Numerical Integration/Quadrature

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

Virginia Tech Math 1226 : Past CTE problems

Families of Functions, Taylor Polynomials, l Hopital s

MATH 118, LECTURES 27 & 28: TAYLOR SERIES

Numerical Methods for Engineers and Scientists

APPM/MATH Problem Set 6 Solutions

Polynomial Functions and Their Graphs

Exercises, module A (ODEs, numerical integration etc)

Transcription:

Extrapolation in Numerical Integration Romberg Integration Matthew Battaglia Joshua Berge Sara Case Yoobin Ji Jimu Ryoo Noah Wichrowski

Introduction Extrapolation: the process of estimating beyond the original observation range, the value of a variable on the basis of its relationship with another variable. (Interpolation is a method of constructing new data points within the range of discrete known points) Trapezoidal rule is one technique for approximating the integral by approximating the region under the graph of the function as a trapezoid and calculating its area.

Trapezoidal Rule Composite trapezoidal rule divides the range into n equal segments and applies the trapezoidal rule over each segment. The sum of the results obtained for each segment is the approximate value for the integral.

Examples

Examples

Trapezoidal Rule (Cont.) Error of the trapezoidal rule is the difference between the value of the integral and the numerical results. Average value of f over the entire interval Error reduces by O(h 2 ) as the cell size h is decreased with the composite trapezoid rule The way the trapezoidal rule is derived can be generalized to higher degree polynomial interpolants. Such a quadrature rule is called a Newton-Cotes formula.

Euler-Maclaurin Formula Euler-Maclaurin summation formula is used to give an estimation of the sum of f(x) through the integral of f(x) with an error term given by an integral => Same idea as in numerical integration Formula: Which in case of Trapezoid rule, can be simplified as: Trapezoid rule and error - This formula can explain why Trapezoid rule works very well on periodic functions. -It also is a different way to analyze error of Trapezoid rule

Romberg s Method Richardson extrapolation uses multiple subinterval lengths to extrapolate better approximations. It jumps to a new, improved approximation using an approximation of the error (E(h) expanded into a series form). Romberg s method is one Newton-Cotes formula which applies Richardson extrapolation repeatedly on the trapezoidal rule to provide a better approximation of the integral by reducing the Error.

Revisiting Trapezoidal Rule

Using Two Estimates

Derivation of Richardson Extrapolation So first, what is the true value of the actual integral? It is exactly equal to the following (based on step size h): True value Approximation Error in approximation of integral Therefore, with differing step sizes h i and h j, such as in the previous figures:

Derivation (Cont.) So what would be a good estimate for our error terms? First, let s expand our E(h) based on what we know from the Trapezoid Rule Average value of f over the entire interval

Derivation (Cont.) Taking the ratio of the two error terms E(h i ) and E(h j ) mentioned previously, Which, after cancelling out common terms, will simplify down to: or

Derivation (Cont.) Now that we have separated the E(h i ) error term, we can rearrange the original equation for the true value for the integral as such: By combining the expression for E(h i ) with the above equation, we get: Which then simply factors out to:

Derivation (Cont.) Finally, we ve obtained the approximation for the error term E(h j ) in terms of values we already have By substituting the above expression into the previous equation, We will now have an improved estimate for the true value of the integral:

Going back... Subinterval h i Sub h j

Weighted Estimate With, we get the following: And finally,

Romberg Integration When each of the trapezoidal estimates are computed by repeatedly halving the step size (h), we get the general equation for Romberg integration:

Order of Accuracy Step Size (h) 2 1 0.5 0.25 0.125

MATLAB Examples Implementation of Romberg Integration on two types of functions

Continuous Function Example

Error in Extrapolations

Another Continuous Example sin(5x) + cos(x^2/100)

Error in Extrapolations

Non-Differentiable functions How much effect does smoothness have on the extrapolations? ln(1+x)-x^2+abs(cos(x^4))

Error in Extrapolations

Questions?