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.
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Trapezoidal Approximation Objective: To relate the Riemann Sum approximation with rectangles to a Riemann Sum with trapezoids.
Copyright © Cengage Learning. All rights reserved.
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.
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.
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.
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
Riemann Sums & Definite Integrals Section 5.3. Finding Area with Riemann Sums For convenience, the area of a partition is often divided into subintervals.
AS Maths Masterclass Lesson 4: Areas by integration and the Trapezium rule.
Integration Copyright © Cengage Learning. All rights reserved.
5.2 Definite Integrals. Subintervals are often denoted by  x because they represent the change in x …but you all know this at least from chemistry class,
CHAPTER 4 SECTION 4.2 AREA.
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.
SECTION 5.1: ESTIMATING WITH FINITE SUMS Objectives: Students will be able to… Find distance traveled Estimate using Rectangular Approximation Method Estimate.
Section 5.1/5.2: Areas and Distances – the Definite Integral Practice HW from Stewart Textbook (not to hand in) p. 352 # 3, 5, 9 p. 364 # 1, 3, 9-15 odd,
Warm Up 1) 2) 3)Approximate the area under the curve for 0 < t < 40, given by the data, above using a lower Reimann sum with 4 equal subintervals. 4)Approximate.
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.
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.
5.5 Numerical Integration. concave down concave up concave down concave up concave down.
1. Does: ? 2. What is: ? Think about:. Finding Area between a Function & the x-axis Chapters 5.1 & 5.2 January 25, 2007.
SECTION 4-2-B More area approximations. Approximating Area using the midpoints of rectangles.
Numerical integration is the process of approximating a definite integral using well-chosen sums of function values. It is needed when we cannot find.
To find the area under the curve Warm-Up: Graph. Area under a curve for [0, 3]  The area between the x-axis and the function Warm-up What is the area.
Riemann Sums and the Definite Integral. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
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.
Definite Integrals & Riemann Sums
5.2 – The Definite Integral. Introduction Recall from the last section: Compute an area Try to find the distance traveled by an object.
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-4] Riemann Sums and the Definition of Definite Integral Yiwei Gong Cathy Shin.
Riemann Sums & Definite Integrals
5.5 Numerical Integration
5.5 The Trapezoid Rule.
Lecture 19 – Numerical Integration
Approximate Integration
Riemann Sums and the Definite Integral
Midpoint and Trapezoidal Rules
Area and the Definite Integral
Copyright © Cengage Learning. All rights reserved.
5. 7a Numerical Integration. Trapezoidal sums
Section 5.1: Estimating with Finite Sums
Area and the Definite Integral
The Area Question and the Integral
Integration & Area Under a Curve
MATH 2140 Numerical Methods
Applications of Integration
Objective: Be able to approximate the area under a curve.
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
Copyright © Cengage Learning. All rights reserved.
Objective: Be able to approximate the area under a curve.
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
Numerical Integration
Objectives Approximate a definite integral using the Trapezoidal Rule.
5.1 Areas and Distances Approximating the area under a curve with rectangles or trapezoids, and then trying to improve our approximation by taking.
4.2 – Areas 4.3 – Riemann Sums Roshan Roshan.
Presentation transcript:

NUMERICAL INTEGRATION

Mid-point RULE We will divide the interval [a, b] into n subintervals of equal width,   We will denote each of the intervals as follows, where and

Mid-point RULE Then for each interval let  be the midpoint of the interval.  We then sketch in rectangles for each subinterval with a height of . Here is a graph showing the set up using n=6

Mid-point RULE

Mid-point RULE We can easily find the area for each of these rectangles and so for a general n we get that,   Or, upon factoring out  we get the general Rectangular Rule:

TRAPEZOIDAL RULE For this rule we will do the same set up as for the Rectangular Rule.  We will break up the interval [a, b]into n subintervals of width, Then on each subinterval we will approximate the function with a straight line that is equal to the function values at either endpoint of the interval.  Here is a sketch of this case for n=6 .

TRAPEZOIDAL RULE

TRAPEZOIDAL RULE The area of the trapezoid in the interval is given by So, if we use n subintervals the integral is approximately,

TRAPEZOIDAL RULE Simplifying the equation, gives us the Trapezoidal rule as

SIMPSON’S RULE We will again divide up the interval [a, b] into n subintervals. The width of each subinterval is, In the Trapezoidal Rule we approximated the curve with a straight line.  For Simpson’s Rule we are going to approximate the function with a quadratic equation

SIMPSON’S RULE  

SIMPSON’S RULE Notice that each approximation actually covers two of the subintervals.  So for Simpson’s rule we require n to be even.  It can be shown that the area under the approximation on the intervals  and is,

SIMPSON’S RULE If we use n subintervals the integral is then approximately, The general form of Simpson’s rule is

Examples i xi* f(xi*) 1 1.125 1.42 2 1.375 2.60 3 1.625 4.29 4 1.875 6.59

Trapezoidal Rule Simpson’s Rule i xi f(xi) 1 1.25 1.95 2 1.5 3.38 3 1.75 5.36 8 Simpson’s Rule

Extra practice sums Apply Simpson’s rule to evaluate with n = 6. Evaluate using Simpson’s rule with n = 4. Evaluate using Trapezoidal rule with n = 5.