Index FAQ Numerical Approximations of Definite Integrals Riemann Sums Numerical Approximation of Definite Integrals Formulae for Approximations Properties.

Slides:



Advertisements
Similar presentations
Solved Problems on Numerical Integration. Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Review of the Subject.
Advertisements

Improper Integrals II. Improper Integrals II by Mika Seppälä Improper Integrals An integral is improper if either: the interval of integration is infinitely.
Numerical Integration
Volumes by Cylindrical Shells r. Integration/First Applications of Integration/Volumes by Cylindrical Shells by M. Seppälä Cylindrical Shells The method.
6. 4 Integration with tables and computer algebra systems 6
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
6.5 The Definite Integral In our definition of net signed area, we assumed that for each positive number n, the Interval [a, b] was subdivided into n subintervals.
INTEGRALS 5. INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area.  We also saw that it arises when we try to find.
16 MULTIPLE INTEGRALS.
Copyright © Cengage Learning. All rights reserved. 5 Integrals.
APPLICATIONS OF DIFFERENTIATION 4. In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.
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.
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.
MAT 1235 Calculus II Section 7.7 Approximate (Numerical) Integration
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
Wicomico High School Mrs. J. A. Austin AP Calculus 1 AB Third Marking Term.
ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Double Integrals.
 Finding area of polygonal regions can be accomplished using area formulas for rectangles and triangles.  Finding area bounded by a curve is more challenging.
INTEGRALS Areas and Distances INTEGRALS In this section, we will learn that: We get the same special type of limit in trying to find the area under.
1 5.e – The Definite Integral as a Limit of a Riemann Sum (Numerical Techniques for Evaluating Definite Integrals)
Integration Copyright © Cengage Learning. All rights reserved.
CHAPTER 4 SECTION 4.2 AREA.
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
Taylor Series Mika Seppälä. Mika Seppälä: Taylor Polynomials Approximating Functions It is often desirable to approximate functions with simpler functions.
Chapter 5-The Integral Calculus, 2ed, by Blank & Krantz, Copyright 2011 by John Wiley & Sons, Inc, All Rights Reserved.
Numerical Approximations of Definite Integrals Mika Seppälä.
Trapezoidal Rule of Integration
Section 5.9 Approximate Integration Practice HW from Stewart Textbook (not to hand in) p. 421 # 3 – 15 odd.
CHAPTER 3 NUMERICAL METHODS
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,
Copyright © Cengage Learning. All rights reserved. 4 Integrals.
Chapter 15 – Multiple Integrals 15.1 Double Integrals over Rectangles 1 Objectives:  Use double integrals to find volumes  Use double integrals to find.
DOUBLE INTEGRALS OVER RECTANGLES
In Chapters 6 and 8, we will see how to use the integral to solve problems concerning:  Volumes  Lengths of curves  Population predictions  Cardiac.
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.
INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area. We also saw that it arises when we try to find the distance traveled.
5 INTEGRALS.
Observations about Error in Integral Approximations The Simplest Geometry.
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.
Integration Review Part I When you see the words… This is what you think of doing…  A Riemann Sum equivalent to the definite integral is… -- 1.
Chapter Definite Integrals Obj: find area using definite integrals.
Section 5.6: Approximating Sums Suppose we want to compute the signed area of a region bounded by the graph of a function from x = a to x = b.
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.
Properties of Integrals. Mika Seppälä: Properties of Integrals Basic Properties of Integrals Through this section we assume that all functions are continuous.
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.
Area/Sigma Notation Objective: To define area for plane regions with curvilinear boundaries. To use Sigma Notation to find areas.
Copyright © Cengage Learning. All rights reserved. 7 Techniques of Integration.
The Definite Integral. Area below function in the interval. Divide [0,2] into 4 equal subintervals Left Rectangles.
Approximating Antiderivatives. Can we integrate all continuous functions? Most of the functions that we have been dealing with are what are called elementary.
Midpoint and Trapezoidal Rules
Copyright © Cengage Learning. All rights reserved.
NUMERICAL INTEGRATION
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
TECHNIQUES OF INTEGRATION
Copyright © Cengage Learning. All rights reserved.
Area & Riemann Sums Chapter 5.1
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Numerical Integration
Numerical Computation and Optimization
Objectives Approximate a definite integral using the Trapezoidal Rule.
§ 6.2 Areas and Riemann Sums.
Section 4 The Definite Integral
Presentation transcript:

Index FAQ Numerical Approximations of Definite Integrals Riemann Sums Numerical Approximation of Definite Integrals Formulae for Approximations Properties of Approximations Example

Index FAQ Mika Seppälä: Numerical Integration 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. 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.

Index FAQ Mika Seppälä: Numerical Integration Definite Integrals This definition assumes that the limit does not depend on the various choices in the definition of the Riemann sums. This is true if f is continuous on [a,b]. Definitions Measure of the fineness of the decomposition D of the interval [a,b] into subintervals 2 Definition of the definite integral of the function f over the interval [a,b] 3 Riemann sum 1

Index FAQ Mika Seppälä: Numerical Integration Numerical Approximations of Definite Integrals In view of the definition of the definite integral we may approximate its value by choosing the decomposition D to be a decomposition of the interval [a,b] into subintervals of length (b-a)/n for some positive integer n. The points  j can be freely chosen according to any rule from the intervals [x j -1, x j ] = [a + (i -1)(b - a)/n, a + i (b - a)/n ]. In left rule approximations,  j = x j-1. In mid rule approximations,  j = (x j-1 + x j )/2. In right rule approximations,  j = x j.

Index FAQ Mika Seppälä: Numerical Integration Formulae for Approximations Definitions 1 Left Rule Approximation 2 Right Rule Approximation 3 Mid Rule Approximation

Index FAQ Mika Seppälä: Numerical Integration Trapezoidal approximations and Simpson’s Formula Depending on the shape of the function in question, the following approximations are often better approximations than the previously defined approximations: Definitions Trapezoidal Approximation: TRAP(n) = (LEFT(n)+RIGHT(n))/2 Simpson’s Approximation: SIMPSON(n)=(2MID(n)+TRAP(n))/3.

Index FAQ Mika Seppälä: Numerical Integration Properties of Approximations If f is strictly increasing – like in the above picture – then the above inequalities are also strict. If f is decreasing, then the direction of the above inequalities must be changed. Property This property follows directly from the definitions as illustrated in the above pictures. For an increasing positive function every LEFT(n) is the combined area of rectangles included in the area of the domain bounded by the graph of f. Hence we have the first inequality which also holds if the values of f are not always positive.

Index FAQ Mika Seppälä: Numerical Integration Properties of Approximations These estimates show that the approximations can be made as precise as needed simply by increasing the number n of subintervals. Error Estimates If f is decreasing the above inequalities have to be reversed. This follows directly from the definitions.

Index FAQ Mika Seppälä: Numerical Integration Properties of Midpoint Approximations A function which is concave up has the property that its graph lies above any tangent line. This observation leads to the following estimate valid for functions that are concave up. The second inequality follows from the fact that if the graph of a function is concave up, then the graph lies below a secant line between the points of intersection. The approximations MID(n) give the combined area of rectangles like the one in the picture on the right. The area of the blue rectangle is the same as the area of the blue triangle on the right. Since the triangle is included in the area bounded by the graph of f, the first inequality of the above property follows. Property

Index FAQ Mika Seppälä: Numerical Integration Example 1/3 Problem Solution The function to be integrated is decreasing in the interval of integration. Hence we have for any n. For n = 10, we get (compute using Maple) The errors of RIGHT(n) or of LEFT(n) estimates are <

Index FAQ Mika Seppälä: Numerical Integration Example 2/3 Problem Solution In this case the Trapezoidal Approximation and Simpson’s Approximation give better estimates. To be able to apply these estimates correctly we first need to figure out the direction of concavity of the graph of the integrand. By looking at the sign of the second derivative we conclude that the graph of the integrand is concave down in the interval [-1,1] and concave up otherwise.

Index FAQ Mika Seppälä: Numerical Integration Example 3/3 Problem Solution Computing again with Maple for n = 10 we get Since the graph of the integrand is concave down in the interval [-1,1] and concave up otherwise we have TRAP(n, [1,2]) here means that we apply the trapezoidal method in the interval [1,2]. The other terms have similar meanings.