Approximate Integration: The Trapezoidal Rule Claus Schubert May 25, 2000.

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

6. 4 Integration with tables and computer algebra systems 6
We sometimes need an efficient method to estimate area when we can not find the antiderivative.
Lesson 5-1 Area Underneath the Curve. Quiz Homework Problem: Reading questions:
A Riemann sum is a method for approximating the total area underneath a curve on a graph. This method is also known as taking an integral. There are 3.
5/16/2015 Perkins AP Calculus AB Day 5 Section 4.2.
Riemann Sums Jim Wang Mr. Brose Period 6. Approximate the Area under y = x² on [ 0,4 ] a)4 rectangles whose height is given using the left endpoint b)4.
CHAPTER 4 THE DEFINITE INTEGRAL.
1 Example 2 Estimate by the six Rectangle Rules using the regular partition P of the interval [0,  ] into 6 subintervals. Solution Observe that the function.
1 Example 1 (a) Estimate by the Midpoint, Trapezoid and Simpson's Rules using the regular partition P of the interval [0,2] into 6 subintervals. (b) Find.
Integrals 5.
Numerical Integration Approximating Definite Integral.
MAT 1235 Calculus II Section 7.7 Approximate (Numerical) Integration
Lecture 19 – Numerical Integration 1 Area under curve led to Riemann sum which led to FTC. But not every function has a closed-form antiderivative.
Chapter 7 – Techniques of Integration
Numerical Integration
 Finding area of polygonal regions can be accomplished using area formulas for rectangles and triangles.  Finding area bounded by a curve is more challenging.
Aim: Riemann Sums & Definite Integrals Course: Calculus Do Now: Aim: What are Riemann Sums? Approximate the area under the curve y = 4 – x 2 for [-1, 1]
A REA A PPROXIMATION 4-B. Exact Area Use geometric shapes such as rectangles, circles, trapezoids, triangles etc… rectangle triangle parallelogram.
CHAPTER 4 SECTION 4.2 AREA.
1 §12.4 The Definite Integral The student will learn about the area under a curve defining the definite integral.
CHAPTER Continuity The Definite Integral animation  i=1 n f (x i * )  x f (x) xx Riemann Sum xi*xi* xixi x i+1.
Section 5.9 Approximate Integration Practice HW from Stewart Textbook (not to hand in) p. 421 # 3 – 15 odd.
Definite Integrals Riemann Sums and Trapezoidal Rule.
A REA A PPROXIMATION 4-E Riemann Sums. Exact Area Use geometric shapes such as rectangles, circles, trapezoids, triangles etc… rectangle triangle parallelogram.
4-6Trapezoidal Rule: A Mathematics Academy Production.
Warm Up – Calculator Active
1 Example 1 Estimate by the six Rectangle Rules using the regular partition P of the interval [0,1] into 4 subintervals. Solution This definite integral.
Estimating area under a curve
Numerical integration is the process of approximating a definite integral using well-chosen sums of function values. It is needed when we cannot find.
Observations about Error in Integral Approximations The Simplest Geometry.
Chapter 6 Integration Section 4 The Definite Integral.
Lesson 7-7 Numerical Approximations of Integrals -- What we do when we can’t integrate a function Riemann Sums Trapezoidal Rule.
Integration Review Part I When you see the words… This is what you think of doing…  A Riemann Sum equivalent to the definite integral is… -- 1.
Riemann Sums and Definite Integration y = 6 y = x ex: Estimate the area under the curve y = x from x = 0 to 3 using 3 subintervals and right endpoints,
Chapter Definite Integrals Obj: find area using definite integrals.
Warm up 10/16 (glue in). Be seated before the bell rings DESK homework Warm-up (in your notes) Agenda : go over hw Finish Notes lesson 4.5 Start 4.6.
Section 5.6: Approximating Sums Suppose we want to compute the signed area of a region bounded by the graph of a function from x = a to x = b.
Clicker Question 1 What is ? (Hint: u-sub) – A. ln(x – 2) + C – B. x – x 2 + C – C. x + ln(x – 2) + C – D. x + 2 ln(x – 2) + C – E. 1 / (x – 2) 2 + C.
Definite Integrals & Riemann Sums
Copyright © Cengage Learning. All rights reserved. 7 Techniques of Integration.
The Definite Integral. Area below function in the interval. Divide [0,2] into 4 equal subintervals Left Rectangles.
Approximating Antiderivatives. Can we integrate all continuous functions? Most of the functions that we have been dealing with are what are called elementary.
Numerical Integration using Trapezoidal Rule
[5-4] Riemann Sums and the Definition of Definite Integral Yiwei Gong Cathy Shin.
SECTION 4-3-B Area under the Curve. Def: The area under a curve bounded by f(x) and the x-axis and the lines x = a and x = b is given by Where and n is.
5.5 The Trapezoid Rule.
Lecture 19 – Numerical Integration
Approximate Integration
Clicker Question 1 What is ? A. x tan(x2) + C
Trapezoidal Approximation
Midpoint and Trapezoidal Rules
Area Approximation This template can be used as a starter file for presenting training materials in a group setting. Sections Right-click on a slide to.
Copyright © Cengage Learning. All rights reserved.
More Approximations Left-hand sum: use rectangles, left endpoint used for height Right-hand sum: use rectangles, right endpoint used for height Midpoint.
Riemann Sums as Estimates for Definite Integrals
5.5 Trapezoidal Rule.
5. 7a Numerical Integration. Trapezoidal sums
Approximating Definite Integrals. Left Hand Riemann Sums.
Approximating Definite Integrals. Left Hand Riemann Sums.
Integration & Area Under a Curve
Applications of Integration
Using integrals to find area works extremely well as long as we can find the antiderivative of the function. Sometimes, the function is too complicated.
5. 7a Numerical Integration. Trapezoidal sums
Ch. 6 – The Definite Integral
Arc Length … x y a b xi ... Pi P0 P1 Pn
Objectives Approximate a definite integral using the Trapezoidal Rule.
Riemann Sums as Estimates for Definite Integrals
Area Under a Curve Riemann Sums.
Jim Wang Mr. Brose Period 6
Presentation transcript:

Approximate Integration: The Trapezoidal Rule Claus Schubert May 25, 2000

Why Approximate Integration? zCan’t always find an antiderivative Example: zDon’t always know the function

First Approach: Riemann Sums zUse left or right Riemann sums to approximate the integral. zLeft Riemann sum:  x : length of the n subintervals x i :endpoints of the subintervals

x0x0 x1x1 x2x2 x3x3 Left Riemann Sums By refining the partition, we obtain better approximations. L n is the sum of all the inscribed rectangles starting at the left endpoints. It is called a left endpoint approximation. y x xx f(x0)f(x0) xx f(x1)f(x1) xx f(x2)f(x2)

x0x0 x1x1 x2x2 x3x3 Right Riemann Sums y x R n is the sum of all the inscribed rectangles starting at the right endpoints. It is called a right endpoint approximation.

 If L n underestimates, then R n overestimates, and vice versa Left and Right Endpoint Approximations zObservations:  Approximations get better if we increase n yTake the average of both approximations zIdea for improvement:

Trapezoidal Approximation a b h

LnLn RnRn x0x0 x1x1 x2x2 x3x3 y x TnTn

x0x0 x1x1 x2x2 x3x3 y x TnTn

An Example As an example, let us look at.

An Example

Error bounds zQuestion: How accurate is the trapezoidal approximation? zAnswer: where K is an upper bound for | f”(x) |.

Error bounds: An Example In our previous example, how large should n be so that the error is less than ?

Error bounds: An Example

Let’s Wrap Up zApproximations are useful if the function cannot be integrated or no function is given to begin with. zLeft and right endpoint approximations are too inaccurate, so take their average. zThe trapezoidal approximation is much more accurate than the left/right approximations, but better approximations exist (midpoint, Simpson’s etc.)  You need a computer to find approximations with large n - or you need to get a life!!!