Numerical Integration Problems

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

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

COSC 3361 Numerical Analysis I Numerical Integration and Differentiation (III) - Gauss Quadrature and Adaptive Quadrature

Derivatives, Finding Roots, Interpolating and Integration

Topic 6b Finite Difference Approximations

Section 6.1 Definite Integral

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

Time in Seconds Speed in ft/sec (a) Sketch a possible graph for this function.

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

Math Week 5 concepts and homework, due Friday February 10

Numerical Integration

Lecture 14 Numerical integration: advanced topics

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...

Numerical Analysis: Trapezoidal and Simpson s Rule

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

Anti-derivatives/Indefinite Integrals of Basic Functions

DOING PHYSICS WITH MATLAB MATHEMATICAL ROUTINES

Goals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite

Definite Integrals. The area under a curve can be approximated by adding up the areas of rectangles = 1 1 +

Lecture 12: Numerical Quadrature

Lecture 23: Interpolatory Quadrature

5: The Definite Integral

Average Rate of Change (AROC) The average rate of change of y over an interval is equal to change in

( ) as a fraction. Determine location of the highest

Lecture 20: Numerical Integration III

AB Calculus Review Sheet

Lecture 17. Integration: Gauss Quadrature. David Semeraro. University of Illinois at Urbana-Champaign. March 20, 2014

( ) where f ( x ) is a. AB Calculus Exam Review Sheet. A. Precalculus Type problems. Find the zeros of f ( x).

Lecture 14: Quadrature

MA Exam 2 Study Guide, Fall u n du (or the integral of linear combinations

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

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

12 Basic Integration in R

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

Review of Gaussian Quadrature method

Math& 152 Section Integration by Parts

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

f(a+h) f(a) x a h 0. This is the rate at which

Chapter 7 Notes, Stewart 8e. 7.1 Integration by Parts Trigonometric Integrals Evaluating sin m x cos n (x) dx...

Calculus AB. For a function f(x), the derivative would be f '(

Trapezoidal Rule, n = 1, x 0 = a, x 1 = b, h = b a. f (x)dx = h 2 (f (x 0) + f (x 1 )) h3

1 Error Analysis of Simple Rules for Numerical Integration

Calculus II: Integrations and Series

On Second Derivative-Free Zero Finding Methods

2 b. , a. area is S= 2π xds. Again, understand where these formulas came from (pages ).

Review of Calculus, cont d

UNIQUENESS THEOREMS FOR ORDINARY DIFFERENTIAL EQUATIONS WITH HÖLDER CONTINUITY

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

MAT137 Calculus! Lecture 28

COT4501 Spring Homework VII

Thomas Whitham Sixth Form

Section 4: Integration ECO4112F 2011

APPROXIMATE INTEGRATION

Lab 11 Approximate Integration

Midpoint Approximation

( ) where f ( x ) is a. AB/BC Calculus Exam Review Sheet. A. Precalculus Type problems. Find the zeros of f ( x).

Orthogonal Polynomials

The Trapezoidal Rule

The goal of this section is to learn how to use a computer to approximate definite integrals, i.e. expressions of the form. Z b

u(t)dt + i a f(t)dt f(t) dt b f(t) dt (2) With this preliminary step in place, we are ready to define integration on a general curve in C.

Chapter 6 Techniques of Integration

Chapter 6 Notes, Larson/Hostetler 3e

Math 1431 Section 6.1. f x dx, find f. Question 22: If. a. 5 b. π c. π-5 d. 0 e. -5. Question 33: Choose the correct statement given that

Construction of Gauss Quadrature Rules

Review Exercises for Chapter 4

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

Chapter 2 Limits and Continuity. Section 2.1 Rates of Change and Limits (pp ) Section Quick Review 2.1

Quadrature Rules for Evaluation of Hyper Singular Integrals

MATH 144: Business Calculus Final Review

. Double-angle formulas. Your answer should involve trig functions of θ, and not of 2θ. sin 2 (θ) =

Chapter 3 Solving Nonlinear Equations

JDEP 384H: Numerical Methods in Business

Polynomials and Division Theory

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

Disclaimer: This Final Exam Study Guide is meant to help you start studying. It is not necessarily a complete list of everything you need to know.

6.2 CONCEPTS FOR ADVANCED MATHEMATICS, C2 (4752) AS

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

Math 1431 Section M TH 4:00 PM 6:00 PM Susan Wheeler Office Hours: Wed 6:00 7:00 PM Online ***NOTE LABS ARE MON AND WED

Chapter 8.2: The Integral

University of Houston, Department of Mathematics Numerical Analysis II

Math 113 Exam 2 Practice

Math 190 Chapter 5 Lecture Notes. Professor Miguel Ornelas

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

QUADRATURE is an old-fashioned word that refers to

1 Part II: Numerical Integration

Continuous Random Variables Class 5, Jeremy Orloff and Jonathan Bloom

ENGI 3424 Engineering Mathematics Five Tutorial Examples of Partial Fractions

Topics Covered AP Calculus AB

( ) Same as above but m = f x = f x - symmetric to y-axis. find where f ( x) Relative: Find where f ( x) x a + lim exists ( lim f exists.

Numerical integration. Quentin Louveaux (ULiège - Institut Montefiore) Numerical analysis / 10

METHODS OF APPROXIMATING THE RIEMANN INTEGRALS AND APPLICATIONS

3.4 Numerical integration

Math 360: A primitive integral and elementary functions

Chapter 9 Definite Integrals

Definite integral. Mathematics FRDIS MENDELU

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:

OPEN NEWTON - COTES QUADRATURE WITH MIDPOINT DERIVATIVE FOR INTEGRATION OF ALGEBRAIC FUNCTIONS

Formulae For. Standard Formulae Of Integrals: x dx k, n 1. log. a dx a k. cosec x.cot xdx cosec. e dx e k. sec. ax dx ax k. 1 1 a x.

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

5.1 How do we Measure Distance Traveled given Velocity? Student Notes

Transcription:

Integrtion COS 33

Nuericl Integrtion Proles Bsic D nuericl integrtion Given ility to evlute or ny, ind Gol: est ccurcy wit ewest sples Clssic prole even nlytic unctions not necessrily integrle in closed or Oter proles uture lectures: Multi-diensionl integrtion Ordinry dierentil equtions Prtil dierentil equtions G = d e t dt

Qudrture Sple t set o points Approite y unction Integrte unction Alterntives: it single unction vs. ultiple piecewise Even vs. uneven spcing

Trpezoidl Rule Approite unction y trpezoid

Trpezoidl Rule d

Etended Trpezoidl Rule d d n Divide into segents o widt, piecewise trpezoidl pproition

Trpezoidl Rule Error Anlysis How ccurte is tis pproition? Strt wit Tylor series or round idpoint 4 4 4 3 6 E d

Trpezoidl Rule Error Anlysis Epnd LHS: Epnd RHS: 0 0 4 5 90 3 4 d [ ] E E = 0 0 4 4 9 4

Trpezoidl Rule Error Anlysis So, E = 3 5 4 480 In generl, error or single segent proportionl to 3 Error or sudividing entire intervl proportionl to Cuic locl ccurcy, qudrtic glol ccurcy Ect or liner unctions Note tt only even-power ters in error:, 4, etc.

Deterining Step Size Cnge in integrl wen reducing step size is resonle guess or ccurcy or trpezoidl rule, esy to go ro / witout wsting previous sples

Sipson s Rule Approite integrl y prol troug tree points d 6 4 5 O Better ccurcy or se # o evlutions Glol error O 4, ect or cuic! unctions Higer-order polynoils Newton-Cotes: Glol error O k or k odd, O k or k even

Ricrdson Etrpoltion Better wy o getting iger ccurcy or given # o sples Suppose we ve evluted integrl or step size nd step size / using trpezoidl rule: Ten = = 4 / 4 β α β α 4 3 / 3 4 O =

Ricrdson Etrpoltion Tis trets te pproition s unction o nd etrpoltes te result to =0 Cn repet: 8 6 4 8 / 4 / / O O O O /3 4/3 /5 6/5 /63 64/63

Open Metods Trpezoidl rule won t work i unction undeined t one o te points were evluting Most oten: unction ininite t one endpoint 0 d Open etods only evlute unction on te open intervl i.e., not t endpoints

Midpoint Rule Approite unction y rectngle evluted t idpoint

Etended Midpoint Rule d 3 d Divide into segents o widt :

Midpoint Rule Error Anlysis ollowing siilr nlysis to trpezoidl rule, ind tt locl ccurcy is cuic, qudrtic glol ccurcy Surprisingly, leding-order constnt is ½ s ig! Better tn trpezoidl rule wit ewer sples orul suitle or dptive etods nd Ricrdson etrpoltion, ut cn t lve intervls witout wsting sples

Etended / Adptive Midpoint Rule Cn cut intervl into tirds:

Liits t Ininity Usul trick: cnge o vriles d = / t / t dt Works wit, se sign, one o te ininite Oterwise, split into ultiple pieces Also requires to decrese ster tn / Else need dierent cnge o vriles, i possile!

Oter Qudrture Rules Nonunior spling: copleity vs. ccurcy Clensw-Curtis: Ceysev polynoils Cnge o vriles: =cos θ Sple t etre o polynoils T-sed lgorit to ind weigts Gussin qudrture Optiize spling loctions to get igest possile ccurcy: O n or n spling points

Discontinuities All te ove error nlyses ssued nice continuous, dierentile unctions In te presence o discontinuity, ll etods revert to ccurcy proportionl to In generl, i te k-t order derivtive is discontinuous, cn do no etter tn O k Loclly-dptive etods: do not sudivide ll intervls eqully, ocus on tose wit lrge error estited ro cnge wit single sudivision