5.5 Numerical Integration

Slides:



Advertisements
Similar presentations
5.2 Definite Integrals Greg Kelly, Hanford High School, Richland, Washington.
Advertisements

6. 4 Integration with tables and computer algebra systems 6
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.
Section 8.5 Riemann Sums and the Definite Integral.
8 TECHNIQUES OF INTEGRATION. There are two situations in which it is impossible to find the exact value of a definite integral. TECHNIQUES OF INTEGRATION.
5.1 Estimating with Finite Sums Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2002 Greenfield Village, Michigan.
5.2 Definite Integrals Greg Kelly, Hanford High School, Richland, Washington.
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.
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.
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.
Summation Notation Also called sigma notation
Summation Notation Also called sigma notationAlso called sigma notation (sigma is a Greek letter Σ meaning “sum”) The series can be written.
5.6 Definite Integrals Greg Kelly, Hanford High School, Richland, Washington.
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.
Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics General Education Department Mathematics.
5.1 Estimating with Finite Sums Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 2002 Greenfield Village, Michigan.
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.
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.
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.
Riemann Sums and the Definite Integral. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
2/28/2016 Perkins AP Calculus AB Day 15 Section 4.6.
Warm up HW Assessment You may use your notes/ class work / homework.
6.2 Integration by Substitution M.L.King Jr. Birthplace, Atlanta, GA Greg Kelly Hanford High School Richland, Washington Photo by Vickie Kelly, 2002.
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,
Numerical Integration using Trapezoidal Rule
Riemann Sums A Method For Approximating the Areas of Irregular Regions.
5.1 Estimating with Finite Sums
5.5 Numerical Integration
5.2 Definite Integrals Greg Kelly, Hanford High School, Richland, Washington.
2.3 The Product and Quotient Rules (Part 1)
5.5 The Trapezoid Rule.
Lecture 19 – Numerical Integration
Riemann Sums and the Definite Integral
Clicker Question 1 What is ? A. x tan(x2) + C
Midpoint and Trapezoidal Rules
NUMERICAL INTEGRATION
5.2 Definite Integrals Greg Kelly, Hanford High School, Richland, Washington.
5.1 Estimating with Finite Sums
5.1 (Part II): The Natural Logarithmic Function and Differentiation
4.2 Area Greenfield Village, Michigan
TECHNIQUES OF INTEGRATION
A Method For Approximating the Areas of Irregular Regions
5.2 Definite Integrals Greg Kelly, Hanford High School, Richland, Washington.
5.2 Definite Integrals Greg Kelly, Hanford High School, Richland, Washington.
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.
Warm-up 2/4 Find the AVERAGE VALUE of
5.5 Numerical Integration
4.2/4.6 Approximating Area Mt. Shasta, California.
5.2 Definite Integrals Greg Kelly, Hanford High School, Richland, Washington.
5.1 (Part II): The Natural Logarithmic Function and Differentiation
5.5 Area as Limits Greenfield Village, Michigan
5.1 Estimating with Finite Sums
5.5 Numerical Integration
Arc Length … x y a b xi ... Pi P0 P1 Pn
4.6 The Trapezoidal Rule Mt. Shasta, California
5.1 Estimating with Finite Sums
Presentation transcript:

5.5 Numerical Integration Mt. Shasta, California Greg Kelly, Hanford High School, Richland, Washington Photo by Vickie Kelly, 1998

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: Approximate area: (too low)

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

Averaging the two: 1.25% error (too high)

Averaging right and left rectangles gives us trapezoids:

(still too high)

Trapezoidal Rule: ( h = width of subinterval ) This gives us a better approximation than either left or right rectangles.

Compare this with the Midpoint Rule: Approximate area: 0.625% error (too low) The midpoint rule gives a closer approximation than the trapezoidal rule, but in the opposite direction.

Ahhh! Oooh! Wow! Trapezoidal Rule: 1.25% error (too high) Midpoint Rule: (too low) 0.625% error Notice that the trapezoidal rule gives us an answer that has twice as much error as the midpoint rule, but in the opposite direction. Ahhh! If we use a weighted average: This is the exact answer! Oooh! Wow!

This weighted approximation gives us a closer approximation than the midpoint or trapezoidal rules. twice midpoint trapezoidal

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