4.6 Numerical Integration -Trapezoidal Rule -Simpson’s Rule

Slides:



Advertisements
Similar presentations
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Advertisements

Section 5.7 Numerical Integration. Approximations for integrals: Riemann Sums, Trapezoidal Rule, Simpson's Rule Riemann Sum: Trapezoidal Rule: Simpson’s.
Applying the well known formula:
6 Integration Antiderivatives and the Rules of Integration
CHAPTER 4 THE DEFINITE INTEGRAL.
Chapter 5 Integration.
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.
Integrals 5.
1 NUMERICAL INTEGRATION Motivation: Most such integrals cannot be evaluated explicitly. Many others it is often faster to integrate them numerically rather.
Numerical Integration
Numerical Integration Approximating Definite Integral.
Numerical Computation
MAT 1235 Calculus II Section 7.7 Approximate (Numerical) Integration
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall 5.4 Fundamental Theorem of Calculus.
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
4.6 Numerical Integration. The Trapezoidal Rule One method to approximate a definite integral is to use n trapezoids.
1 Numerical Integration Section Why Numerical Integration? Let’s say we want to evaluate the following definite integral:
Trapezoidal Approximation Objective: To find area using trapezoids.
The Integral chapter 5 The Indefinite Integral Substitution The Definite Integral As a Sum The Definite Integral As Area The Definite Integral: The Fundamental.
Example We can also evaluate a definite integral by interpretation of definite integral. Ex. Find by interpretation of definite integral. Sol. By the interpretation.
A REA A PPROXIMATION 4-B. Exact Area Use geometric shapes such as rectangles, circles, trapezoids, triangles etc… rectangle triangle parallelogram.
Section 5.3 – The Definite Integral
6.3 Definite Integrals and the Fundamental Theorem.
Question from Test 1 Liquid drains into a tank at the rate 21e-3t units per minute. If the tank starts empty and can hold 6 units, at what time will it.
5.c – The Fundamental Theorem of Calculus and Definite Integrals.
Homework questions thus far??? Section 4.10? 5.1? 5.2?
State Standard – 16.0a Students use definite integrals in problems involving area. Objective – To be able to use the 2 nd derivative test to find concavity.
Section 5.4a FUNDAMENTAL THEOREM OF CALCULUS. Deriving the Theorem Let Apply the definition of the derivative: Rule for Integrals!
7.4: The Fundamental Theorem of Calculus Objectives: To use the FTC to evaluate definite integrals To calculate total area under a curve using FTC and.
Integration Copyright © Cengage Learning. All rights reserved.
The Trapezoidal Rule Some elementary functions simply do not have antiderivatives that are elementary functions. For example, there is no elementary function.
Areas & Definite Integrals TS: Explicitly assessing information and drawing conclusions.
Section 6.4 Second Fundamental Theorem of Calculus.
Section 4.4 The Fundamental Theorem of Calculus Part II – The Second Fundamental Theorem.
The Fundamental Theorems of Calculus Lesson 5.4. First Fundamental Theorem of Calculus Given f is  continuous on interval [a, b]  F is any function.
Warm Up – NO CALCULATOR Let f(x) = x2 – 2x.
4009 Fundamental Theorem of Calculus (Part 2) BC CALCULUS.
Mathematics. Session Definite Integrals –1 Session Objectives  Fundamental Theorem of Integral Calculus  Evaluation of Definite Integrals by Substitution.
Section 5.9 Approximate Integration Practice HW from Stewart Textbook (not to hand in) p. 421 # 3 – 15 odd.
Lecture III Indefinite integral. Definite integral.
MAT 212 Brief Calculus Section 5.4 The Definite Integral.
The Fundamental Theorem of Calculus
Antiderivatives and Indefinite Integration
1. Does: ? 2. What is: ? Think about:. Finding Area between a Function & the x-axis Chapters 5.1 & 5.2 January 25, 2007.
Outline of MA 111 (4/29/09) Pre-Calculus – Functions Different ways to represent functions New functions from old Elementary functions: algebraic (power.
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.
Chapter 6 Integration Section 5 The Fundamental Theorem of Calculus (Day 1)
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.
Trapezoidal Rule & Simpsons Rule AP Calculus Mrs. Mongold.
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.
4.3 Riemann Sums and Definite Integrals
Numerical Integration using Trapezoidal Rule
Section 17.4 Integration LAST ONE!!! Yah Buddy!.  A physicist who knows the velocity of a particle might wish to know its position at a given time. 
5.5 The Trapezoid Rule.
Midpoint and Trapezoidal Rules
NUMERICAL INTEGRATION
MTH1170 Numeric Integration
4.4 The Fundamental Theorem of Calculus
4-6 Numerical integration (The Trapezoidal Rule)
Integration Review Problems
Integration & Area Under a Curve
Use Part 1 of the Fundamental Theorem of Calculus to find the derivative of the function. {image}
Section 4.3 – Area and Definite Integrals
Copyright © Cengage Learning. All rights reserved.
Applications of Integration
Copyright © Cengage Learning. All rights reserved.
Warm-up 2/4 Find the AVERAGE VALUE of
Numerical Integration
Objectives Approximate a definite integral using the Trapezoidal Rule.
Elements of Numerical Integration
Presentation transcript:

4.6 Numerical Integration -Trapezoidal Rule -Simpson’s Rule

If we have to evaluate a definite integral involving a function whose antiderivative cannot be found, the Fundamental Theorem of Calculus cannot be used. Thus we must rely on an approximation method.

Trapezoidal Method After creating a bunch of trapezoids, the area for the ith trapezoid is Which implies that Notice that the coefficients of successive terms follow the pattern of 1 2 2 2 2…2 2 1

Use the trapezoidal rule to evaluate the definite integral of f(x)=sin(x) when n=4, n=8 And this is the value that we substitute into f(x)..starting with zero, and increasing each time Note that this method is useful when an antiderivative cannot be found. There is an antiderivative for this function so we could have used other methods to find the exact area.

Approximate the area under n(x) = 3x + 3 on the interval [5,6] by using the Trapezoidal Rule for n(x) using 6 subintervals. 19.5

Approximate the area under y(x) = 4x2 + 5x + 5 on the interval [4,5] by using the Trapezoidal Rule for y(x) using 4 subintervals. 108.88

Approximate the area under g(x) = 4x2 + 3x + 3 on the interval [0,4] by using the Trapezoidal Rule for g(x) using 7 subintervals.

Simpson’s Rule Simpson’s Rule uses parabolas instead of rectangles or trapezoids and then sums all of those areas up. So it is a better approximation.

Approximate the area under t(x) = 2x3 + 4x2 + 1 on the interval [1,5] by using the Simpson's Rule for t(x) using 8 subintervals. 481.33

Approximate the area under m(x) = 2x3 + 5x2 + 3x + 2 on the interval [2,6] by using the Simpson's Rule for m(x) using 6 subintervals. 1042.67

Notice that the coefficients follow the pattern 1 4 2 4 2 4 …. 4 2 4 1 Let f be continuous on [a,b]. Simpson’s Rule for approximating n has to be even Notice that the coefficients follow the pattern 1 4 2 4 2 4 …. 4 2 4 1

Errors in the Trapezoidal and Simpson Rules We can decide how close of an approximation we want with both of these rules. For example we might want to have an error in approximation less than 0.01. There is then a formula, that we will learn, that you input the error that you want to be within and it tells you then how many subintervals “n” that you need to be within that measurement of error.

Trapezoid Error Simpson’s Error If f has a continuous 2nd derivative on [a,b], then the error E in approximating the integral of f(x) by the Trapezoidal Rule is… Simpson’s Error If f has a continuous 4th derivative on [a,b], then the error E in approximating the integral of f(x) by Simpson’s Rule is…

We are not actually going to work out examples because of time limitations but this formula will tell you how many trapezoids or parabolas you need to use in order to be as close to the actual value as you want to be. The max|f’’(x)| value is determined by critical points that were learned in Ch.3.