Lecture 19 – Numerical Integration

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

6. 4 Integration with tables and computer algebra systems 6
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.
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.
Trapezoidal Approximation Objective: To relate the Riemann Sum approximation with rectangles to a Riemann Sum with trapezoids.
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.
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 DIFFERENTIATION The derivative of f (x) at x 0 is: An approximation to this is: for small values of h. Forward Difference Formula.
Integration. Problem: An experiment has measured the number of particles entering a counter per unit time dN(t)/dt, as a function of time. The problem.
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.
Approximate Integration: The Trapezoidal Rule Claus Schubert May 25, 2000.
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
Wicomico High School Mrs. J. A. Austin AP Calculus 1 AB Third Marking Term.
A REA A PPROXIMATION 4-B. Exact Area Use geometric shapes such as rectangles, circles, trapezoids, triangles etc… rectangle triangle parallelogram.
1 §12.4 The Definite Integral The student will learn about the area under a curve defining the definite integral.
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 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.
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.
Section 7.6 – Numerical Integration. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
5.5 Numerical Integration. concave down concave up concave down concave up concave down.
Numerical integration is the process of approximating a definite integral using well-chosen sums of function values. It is needed when we cannot find.
5.1 Approximating Area Thurs Feb 18 Do Now Evaluate the integral 1)
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.
Riemann Sums and the Definite Integral. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
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.
2/28/2016 Perkins AP Calculus AB Day 15 Section 4.6.
Warm up HW Assessment You may use your notes/ class work / homework.
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
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.5 Numerical Integration
NUMERICAL DIFFERENTIATION Forward Difference Formula
5.5 The Trapezoid Rule.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Riemann Sums and the Definite Integral
Section 4-2-B More approximations of area using
Clicker Question 1 What is ? A. x tan(x2) + C
Trapezoidal Approximation
Midpoint and Trapezoidal Rules
More Approximations Left-hand sum: use rectangles, left endpoint used for height Right-hand sum: use rectangles, right endpoint used for height Midpoint.
NUMERICAL INTEGRATION
Riemann Sums as Estimates for Definite Integrals
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
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
Ch. 6 – The Definite Integral
Warm-up 2/4 Find the AVERAGE VALUE of
5.5 Numerical Integration
5.5 Numerical Integration
Arc Length … x y a b xi ... Pi P0 P1 Pn
Riemann Sums as Estimates for Definite Integrals
76 – Riemann Sums – Rectangles Day 2 – Tables Calculator Required
AP Calculus December 1, 2016 Mrs. Agnew
Jim Wang Mr. Brose Period 6
Section 4 The Definite Integral
Presentation transcript:

Lecture 19 – Numerical Integration Area under curve led to Riemann sum which led to FTC. But not every function has a closed-form antiderivative.

Using rectangles based on the left endpoint of each subinterval. Using rectangles based on the right endpoints of each subinterval a b a b

Using rectangles based on the midpoint of each subinterval.

Regardless of what determines height:

Example 1 Use the midpoint rule to estimate the area from 0 to 120. 8 6 4 2 120

Example 2 Compare the three rectangle methods in estimating area from x = 1 to 9 using 4 subintervals. f(x) 1 2 3 4 5 6 7 8 9 x 1 9

Lecture 20 – More Numerical Integration Instead of rectangles, look at other types easy to compute. Trapezoid Rule: average of Left and Right estimates a b a b a b Area for one trapezoid is (average length of parallel sides) times (width).

Trapezoid Rule is the average of the left and right estimates, so x0 x1 x2 xn-1 xn

Simpson’s Rule: weighted average of Mid and Trap estimates – areas under quadratic curves – must break into even number of subintervals – pairs of subintervals form quadratic function a b

Simpson’s Rule is the sum of these areas, so Calculate efficiency of estimates with absolute errors, relative errors, and percent error (change decimal of relative to %).

Example 3 Use the trapezoid and Simpson’s rules to estimate the integral. 1 9

Example 4 Rule Estimate Absolute Error Relative Use the M6, T6, and S6 to fill in the table for the given integral. 2 8 Rule Estimate Absolute Error Relative M6 T6 S6