Approximating Antiderivatives. Can we integrate all continuous functions? Most of the functions that we have been dealing with are what are called elementary.

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.
Riemann Sums. Objectives Students will be able to Calculate the area under a graph using approximation with rectangles. Calculate the area under a graph.
Copyright © Cengage Learning. All rights reserved.
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.
Index FAQ Numerical Approximations of Definite Integrals Riemann Sums Numerical Approximation of Definite Integrals Formulae for Approximations Properties.
Definition: the definite integral of f from a to b is provided that this limit exists. If it does exist, we say that is f integrable on [a,b] Sec 5.2:
Integrals 5.
5.5 Numerical Integration Mt. Shasta, California Greg Kelly, Hanford High School, Richland, WashingtonPhoto by Vickie Kelly, 1998.
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.
D MANCHE Finding the area under curves:  There are many mathematical applications which require finding the area under a curve.  The area “under”
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
 Finding area of polygonal regions can be accomplished using area formulas for rectangles and triangles.  Finding area bounded by a curve is more challenging.
A REA A PPROXIMATION 4-B. Exact Area Use geometric shapes such as rectangles, circles, trapezoids, triangles etc… rectangle triangle parallelogram.
Homework questions thus far??? Section 4.10? 5.1? 5.2?
CHAPTER 4 SECTION 4.2 AREA.
Section 15.3 Area and Definite Integral
1 §12.4 The Definite Integral The student will learn about the area under a curve defining the definite integral.
Learning Objectives for Section 13.4 The Definite Integral
Numerical Approximations of Definite Integrals Mika Seppälä.
Section 5.9 Approximate Integration Practice HW from Stewart Textbook (not to hand in) p. 421 # 3 – 15 odd.
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.
Chapter 15 – Multiple Integrals 15.1 Double Integrals over Rectangles 1 Objectives:  Use double integrals to find volumes  Use double integrals to find.
4-6Trapezoidal Rule: A Mathematics Academy Production.
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
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.
Chapter 6 Integration Section 4 The Definite Integral.
2/28/2016 Perkins AP Calculus AB Day 15 Section 4.6.
Warm up HW Assessment You may use your notes/ class work / homework.
Definite Integral df. f continuous function on [a,b]. Divide [a,b] into n equal subintervals of width Let be a sample point. Then the definite integral.
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.
Section 4.2 The Definite Integral. If f is a continuous function defined for a ≤ x ≤ b, we divide the interval [a, b] into n subintervals of equal width.
Copyright © Cengage Learning. All rights reserved. 7 Techniques of Integration.
5.2 – The Definite Integral. Introduction Recall from the last section: Compute an area Try to find the distance traveled by an object.
Area under a curve To the x axis.
Numerical Integration using Trapezoidal Rule
Riemann Sums A Method For Approximating the Areas of Irregular Regions.
[5-4] Riemann Sums and the Definition of Definite Integral Yiwei Gong Cathy Shin.
5.5 Numerical Integration
NUMERICAL DIFFERENTIATION Forward Difference Formula
5.5 The Trapezoid Rule.
Lecture 19 – Numerical Integration
Use the Midpoint Rule to approximate the given integral with the specified value of n. Compare your result to the actual value and find the error in the.
Approximate Integration
Clicker Question 1 What is ? A. x tan(x2) + C
Midpoint and Trapezoidal Rules
NUMERICAL INTEGRATION
Copyright © Cengage Learning. All rights reserved.
Integration & Area Under a Curve
TECHNIQUES OF INTEGRATION
Area & Riemann Sums Chapter 5.1
A Method For Approximating the Areas of Irregular Regions
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.
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
Objectives Approximate a definite integral using the Trapezoidal Rule.
AP Calculus December 1, 2016 Mrs. Agnew
Section 4 The Definite Integral
Presentation transcript:

Approximating Antiderivatives

Can we integrate all continuous functions? Most of the functions that we have been dealing with are what are called elementary functions. These are the polynomials, rational functions, exponential functions, logarithmic functions, trigonometric and inverse trigonometric functions, and all functions that can be obtained from these by the five operations of addition, subtraction, multiplication, division, and composition. If f is an elementary function, then f ’ is an elementary function, but its antiderivative need not be an elementary function. Example, In fact, the majority of elementary functions don’t have elementary antiderivatives. How to find definite integrals for those functions? Approximate!

Approximating definite integrals: Riemann Sums Taking more division points or subintervals in the Riemann sums, the approximation of the area of the domain under the graph of f becomes better. Recall that the definite integral is defined as a limit of Riemann sums. A Riemann sum for the integral of a function f over the interval [a,b] is obtained by first dividing the interval [a,b] into subintervals and then placing a rectangle, as shown below, over each subinterval. The corresponding Riemann sum is the combined area of the green rectangles. The height of the rectangle over some given subinterval is the value of the function f at some point of the subinterval. This point can be chosen freely.

Approximating definite integrals: different choices for the sample points Recall that where x i * is any point in the ith subinterval [x i-1,x i ]. If x i * is chosen to be the left endpoint of the interval, then x i * = x i-1 and we have If x i * is chosen to be the right endpoint of the interval, then x i * = x i and we have L n and R n are called the left endpoint approximation and right endpoint approximation, respectively.

Actual area under curve: First find the exact value using definite integrals. Example

Left endpoint approximation: Approximate area: (too low)

Approximate area: Right endpoint approximation: (too high) Averaging the right and left endpoint approximations: (closer to the actual value)

Averaging the areas of the two rectangles is the same as taking the area of the trapezoid above the subinterval.

Trapezoidal rule This gives us a better approximation than either left or right rectangles.

Can also apply midpoint approximation: choose the midpoint of the subinterval as the sample point. Approximate area: The midpoint rule gives a closer approximation than the trapezoidal rule, but in the opposite direction.

Midpoint rule

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

This weighted approximation gives us a closer approximation than the midpoint or trapezoidal rules. Midpoint: Trapezoidal: twice midpointtrapezoidal

Simpson’s rule Simpson’s rule can also be interpreted as fitting parabolas to sections of the curve. Simpson’s rule will usually give a very good approximation with relatively few subintervals.

Example:

Error bounds for the approximation methods Examples of error estimations on the board.