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

Slides:



Advertisements
Similar presentations
Section 7.6 – Numerical Integration
Advertisements

1 When you see… Find the zeros You think…. 2 To find the zeros...
When you see… Find the zeros You think…. To find the zeros...
Numerical Integration
Adguary Calwile Laura Rogers Autrey~ 2nd Per. 3/14/11
6. 4 Integration with tables and computer algebra systems 6
§ 6.2 Areas and Riemann Sums. Area Under a Graph Riemann Sums to Approximate Areas (Midpoints) Riemann Sums to Approximate Areas (Left Endpoints) Applications.
When you see… Find the zeros You think….
When you see… Find the zeros You think…. To find the zeros...
Section 8.5 Riemann Sums and the Definite Integral.
Section 5.7 Numerical Integration. Approximations for integrals: Riemann Sums, Trapezoidal Rule, Simpson's Rule Riemann Sum: Trapezoidal Rule: Simpson’s.
Copyright © Cengage Learning. All rights reserved. 5 Integrals.
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.
5.2 Definite Integrals Quick Review Quick Review Solutions.
Riemann Sums and the Definite Integral Lesson 5.3.
Integrals 5.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
MAT 1235 Calculus II Section 7.7 Approximate (Numerical) Integration
1 Simpson’s 1/3 rd Rule of Integration. 2 What is Integration? Integration The process of measuring the area under a curve. Where: f(x) is the integrand.
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. The Trapezoidal Rule One method to approximate a definite integral is to use n trapezoids.
Homework questions thus far??? Section 4.10? 5.1? 5.2?
Lets take a trip back in time…to geometry. Can you find the area of the following? If so, why?
EE3561_Unit 7Al-Dhaifallah EE 3561 : Computational Methods Unit 7 Numerical Integration Dr. Mujahed AlDhaifallah ( Term 342)
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.
SECTION 5.1: ESTIMATING WITH FINITE SUMS Objectives: Students will be able to… Find distance traveled Estimate using Rectangular Approximation Method Estimate.
Math – Integration 1. We know how to calculate areas of some shapes. 2.
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,
Section 7.6 – Numerical Integration. represents the area between the curve 3/x and the x-axis from x = 4 to x = 8.
Section 3.2 – Calculating Areas; Riemann Sums
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.
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.
Chapter 6 Integration Section 4 The Definite Integral.
AP CALC: CHAPTER 5 THE BEGINNING OF INTEGRAL FUN….
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,
Warm up Problems 1) Approximate using left- and right- hand Riemann sums, n = 6. 2) 3) Find without a calculator.
When you see… Find the zeros You think…. To find the zeros...
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: Definite Integrals Learning Goals Express the area under a curve as a definite integral and as limit of Riemann sums Compute the exact area under.
Copyright © Cengage Learning. All rights reserved. 7 Techniques of Integration.
Area under a curve To the x axis.
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.
Chapter 5 Integrals 5.1 Areas and Distances
Numerical Integration
Lecture 19 – Numerical Integration
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
Midpoint and Trapezoidal Rules
Riemann Sums as Estimates for Definite Integrals
Review Practice problems
AP Calculus BC Review: Riemann Sum
5. 7a Numerical Integration. Trapezoidal sums
Section 3.2 – Calculating Areas; Riemann Sums
Accumulation AP Calculus AB Day 10
5. 7a Numerical Integration. Trapezoidal sums
Section 3.2 – Calculating Areas; Riemann Sums
5.1 Area.
Numerical Computation and Optimization
Drill 80(5) = 400 miles 48 (3) = 144 miles a(t) = 10
§ 6.2 Areas and Riemann Sums.
Riemann Sums as Estimates for Definite Integrals
Areas and Distances In this handout: The Area problem
Presentation transcript:

Solved Problems on Numerical Integration

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

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Definite Integrals

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä NUMERICAL APPROXIMATIONS Decompose [a,b] into n subintervals. Length of a subinterval: k th subinterval: Riemann sum: Tag-points t k can be chosen freely.

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Left Approx. Right Approx. APPROXIMATIONS FOR

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Midpoint Approximation MID(n) = Trapezoidal Approximation APPROXIMATIONS FOR

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä SIMPSONS APPROXIMATION In many cases, Simpsons Approximation gives best results.

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä PROPERTIES LEFT(n) If f is increasing, Property RIGHT(n)

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä COMPARING APPROXIMATIONS Property ab f If f is increasing and concave-up,

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problems

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problems 1 2 Speed given by table. Estimate the distance traveled. 3 t (s) s (m/s)

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä 4 Approximate the value of the integral Which method gives the best result? 5 Approximate the value of the integral Estimate the errors. Problems

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Integrals from graphs Problem Compute the integral Solution Draw the graph of the function and compute the integral as the area under the graph. First get rid of the absolute value signs.

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Solution INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Solution INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Solution INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Solution INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Solution y = ||x + 1| - |x - 1|| INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Solution The integral is the area of the yellow domain INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Solution Area = = INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Answer -221 INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Estimate using left Riemann sums with 12 subintervals of equal length. Problem INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Solution Division points: (-3,-2.5,-2,-1.5, -1,-0.5,0,0.5,1, 1.5,2,2.5,3). As tag points t k, use the left end-points. INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem tktk f(t k ) tktk f(t k ) INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Answer tktk f(t k ) tktk f(t k ) Left(12) estimate = 0.5( ) 11 INTEGRALS FROM GRAPHS

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Average Value of a Function Problem The average value of the function f on the interval [- 3,3] is 1.8.

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Functions given by tables Problem The speed of a racing car during the first 10 second of a race is given in the table below. Estimate the distance traveled during that time. t (s) s (m/s)

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the distance traveled m/s seconds FUNCTIONS GIVEN BY TABLES

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the distance traveled. t (s) s (m/s) Time intervals: 1 second, Δt = 1 (s). k v v = the average velocity during time interval. FUNCTIONS GIVEN BY TABLES

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the distance traveled. Time intervals: 1 second, Δt = 1 (s). k v (m/s) v = the average velocity during time interval. d = distance traveled during time interval. d (m) FUNCTIONS GIVEN BY TABLES

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the distance traveled. Time Speed Distance traveled = speed × time = total area of the rectangles FUNCTIONS GIVEN BY TABLES

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the distance traveled. k v (m/s) d (m) Distance traveled during 10 seconds = 403 m. Average speed 40.3 m/s 90 mph. FUNCTIONS GIVEN BY TABLES

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the distance traveled. Time Speed s(t) = speed of an object at time t. Distance traveled during time interval [a,b] DISTANCE AS AN INTEGRAL OF SPEED

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Time Speed FORMULA 1 RACE CAR Acceleration 0 to 200 km/h (124 mph): 3.8 s. Deceleration: up to 5-6 g (48-58 m/s 2 ).

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Approximate the value of the integral Which method gives the best result? COMPARING METHODS Problem

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Approximate COMPARING METHODS Solution The integral is easy to compute:

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä COMPARING METHODS Solution For this integral: LEFT(1) = 0MID(1) =1/8RIGHT(1) = 1 TRAP(1) = 1/2 RIGHT(1) = 1 Problem Approximate

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä COMPARING METHODS Solution For this integral: RIGHT(1) = 1 SIMPSON(1)= Problem Approximate

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä COMPARING METHODS Conclude Simpsons Approximation gives the precise value of the integral. RIGHT(1) = 1 This is true for integrals of polynomials of degree at most 3. Problem Approximate

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Approximate the integral Estimate the errors. INTEGRALS OF BELL SHAPED CURVES -2 2

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the errors. INTEGRALS OF BELL SHAPED CURVES Solution The function is decreasing for 0 x 1. Hence for all n.

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the errors. INTEGRALS OF BELL SHAPED CURVES Solution Computing with a computer we get Error <

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the errors. INTEGRALS OF BELL SHAPED CURVES Solution Observe that

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the errors. INTEGRALS OF BELL SHAPED CURVES Solution Hence the graph of f is concave down for -1 1 or x < -1. Hence

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the errors. INTEGRALS OF BELL SHAPED CURVES Solution Likewise This yields (with n = 10):

Integration/Integration Techniques/Solved Problems on Numerical Integration by M. Seppälä Problem Estimate the errors. INTEGRALS OF BELL SHAPED CURVES Solution We get Computation with a computer algebra system, yields the more accurate estimate: