Numerical Integration using Trapezoidal Rule

Slides:



Advertisements
Similar presentations
6. 4 Integration with tables and computer algebra systems 6
Advertisements

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Slide Trapezoidal Rule Mt. Shasta, California Greg Kelly, Hanford.
We sometimes need an efficient method to estimate area when we can not find the antiderivative.
Numerical Integration
Section 8.5 Riemann Sums and the Definite Integral.
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.
Section 5.7 Numerical Integration. Approximations for integrals: Riemann Sums, Trapezoidal Rule, Simpson's Rule Riemann Sum: Trapezoidal Rule: Simpson’s.
Integration – Adding Up the Values of a Function (4/15/09) Whereas the derivative deals with instantaneous rate of change of a function, the (definite)
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.
Numerical Integration In general, a numerical integration is the approximation of a definite integration by a “weighted” sum of function values at discretized.
Integrals 5.
Numerical Integration Approximating Definite Integral.
7.7 Approximate Integration
5.5 Numerical Integration Mt. Shasta, California Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 1998.
5.5 INDEFINITE INTEGRALS ALWAYS ADD AN ARBITRARY CONSTANT “C” TO INDICATE A FAMILY OF SOLUTIONS.
MAT 1235 Calculus II Section 7.7 Approximate (Numerical) Integration
5.5 Numerical Integration. Using integrals to find area works extremely well as long as we can find the antiderivative of the function. But what if we.
4.6 Numerical Integration -Trapezoidal Rule -Simpson’s Rule
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
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
Trapezoidal Approximation Objective: To find area using trapezoids.
A REA A PPROXIMATION 4-B. Exact Area Use geometric shapes such as rectangles, circles, trapezoids, triangles etc… rectangle triangle parallelogram.
1 5.e – The Definite Integral as a Limit of a Riemann Sum (Numerical Techniques for Evaluating Definite Integrals)
In this section, we will investigate how to estimate the value of a definite integral when geometry fails us. We will also construct the formal definition.
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.
Time velocity After 4 seconds, the object has gone 12 feet. Consider an object moving at a constant rate of 3 ft/sec. Since rate. time = distance: If we.
Distance Traveled Area Under a curve Antiderivatives
Section 7.6 – Numerical Integration. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
4-6Trapezoidal Rule: A Mathematics Academy Production.
5.1 Estimating with Finite Sums Objectives SWBAT: 1) approximate the area under the graph of a nonnegative continuous function by using rectangular approximation.
Riemann Sums Approximating Area. One of the classical ways of thinking of an area under a curve is to graph the function and then approximate the area.
Estimating area under a curve
Section 7.6 – Numerical Integration. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
Ch. 6 – The Definite Integral
Riemann Sums and The Definite Integral. time velocity After 4 seconds, the object has gone 12 feet. Consider an object moving at a constant rate of 3.
5.5 Numerical Integration. concave down concave up concave down concave up concave down.
Lesson 7-7 Numerical Approximations of Integrals -- What we do when we can’t integrate a function Riemann Sums Trapezoidal Rule.
2/28/2016 Perkins AP Calculus AB Day 15 Section 4.6.
Warm up HW Assessment You may use your notes/ class work / homework.
5.1 Estimating with Finite Sums Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2002 Greenfield Village, Michigan.
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.
Approximating Antiderivatives. Can we integrate all continuous functions? Most of the functions that we have been dealing with are what are called elementary.
Trapezoidal Approximations Greg Kelly, Hanford High School, Richland, Washington Modified: Mike Efram Healdsburg High School 2004 Photo by Vickie Kelly,
Riemann Sums A Method For Approximating the Areas of Irregular Regions.
7.2: Riemann Sums: Left & Right-hand Sums
5.5 Numerical Integration
NUMERICAL DIFFERENTIATION Forward Difference Formula
5.5 The Trapezoid Rule.
Lecture 19 – Numerical Integration
Clicker Question 1 What is ? A. x tan(x2) + C
Midpoint and Trapezoidal Rules
NUMERICAL INTEGRATION
MTH1170 Numeric Integration
5. 7a Numerical Integration. Trapezoidal sums
Integration & Area Under a Curve
Copyright © Cengage Learning. All rights reserved.
Applications of Integration
5.5 Numerical 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
Warm-up 2/4 Find the AVERAGE VALUE of
5.5 Numerical Integration
4.2/4.6 Approximating Area Mt. Shasta, California.
5.5 Numerical Integration
Arc Length … x y a b xi ... Pi P0 P1 Pn
Objectives Approximate a definite integral using the Trapezoidal Rule.
4.6 The Trapezoidal Rule Mt. Shasta, California
Presentation transcript:

Numerical Integration using Trapezoidal Rule or Simpson’s Rule

Approximating Areas with Trapezoidal Rule or Simpson’s Rule 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 to find the antiderivative. At other times, we don’t even have a function, but only measurements taken from real life. What we need is an efficient method to estimate area when we can not find the antiderivative.

Actual area under curve:

Left-hand rectangular approximation (n = 4): Approximate area: (too low)

Right-hand rectangular approximation (n =4): Approximate area: (too high)

A more accurate approximation can be obtained if the subintervals are treated as trapezoids instead of rectangles. Averaging right and left rectangles gives us trapezoids:

Trapezoidal Rule: ( h = width of subinterval = ) This rule can be used only if h is constant; otherwise, use trapezoid area formula to find area of each subinterval and then sum all subintervals. This gives us a better approximation than either left or right rectangles. Note: This rule and the trapezoid area formula must be memorized for the AP exam.

Simpson’s Rule: ( h = width of subinterval, n must be even ) Example:

Simpson’s rule can also be interpreted as fitting parabolas to sections of the curve, which is why this example came out exactly. Simpson’s rule will usually give a very good approximation with relatively few subintervals. It is especially useful when we have no equation and the data points are determined experimentally.

The widths in meters of a kidney-shaped pool were taken at 2-m intervals. Use the Trapezoidal Rule to estimate the area of the pool. p