MTH 146 Class 7 Notes

Similar documents
In Calculus I you learned an approximation method using a Riemann sum. Recall that the Riemann sum is

Area and the Definite Integral. Area under Curve. The Partition. y f (x) We want to find the area under f (x) on [ a, b ]

Roberto s Notes on Integral Calculus Chapter 4: Definite integrals and the FTC Section 2. Riemann sums

this is the indefinite integral Since integration is the reverse of differentiation we can check the previous by [ ]

19 22 Evaluate the integral by interpreting it in terms of areas. (1 x ) dx. y Write the given sum or difference as a single integral in

20 23 Evaluate the integral by interpreting it in terms of areas. (1 x ) dx. y 2 2

under the curve in the first quadrant.

Mathematically, integration is just finding the area under a curve from one point to another. It is b

14.2 Line Integrals. determines a partition P of the curve by points Pi ( xi, y

Chapter Simpson s 1/3 Rule of Integration. ( x)

St John s College. UPPER V Mathematics: Paper 1 Learning Outcome 1 and 2. Examiner: GE Marks: 150 Moderator: BT / SLS INSTRUCTIONS AND INFORMATION

MTH 146 Class 16 Notes

Numerical Differentiation and Integration

Chapter 4: Distributions

Preliminary Examinations: Upper V Mathematics Paper 1

Week 13 Notes: 1) Riemann Sum. Aim: Compute Area Under a Graph. Suppose we want to find out the area of a graph, like the one on the right:

Chapter 12-b Integral Calculus - Extra

6.6 Moments and Centers of Mass

CS473-Algorithms I. Lecture 3. Solving Recurrences. Cevdet Aykanat - Bilkent University Computer Engineering Department

Taylor Polynomials. The Tangent Line. (a, f (a)) and has the same slope as the curve y = f (x) at that point. It is the best

Numerical differentiation (Finite difference)

Application: Work. 8.1 What is Work?

B. Examples 1. Finite Sums finite sums are an example of Riemann Sums in which each subinterval has the same length and the same x i

The definite Riemann integral

ME 501A Seminar in Engineering Analysis Page 1

CS321. Numerical Analysis

A Brief Introduction to Olympiad Inequalities

Limit of a function:

ITERATIVE METHODS FOR SOLVING SYSTEMS OF LINEAR ALGEBRAIC EQUATIONS

Section IV.6: The Master Method and Applications

On Several Inequalities Deduced Using a Power Series Approach

General properties of definite integrals

A Technique for Constructing Odd-order Magic Squares Using Basic Latin Squares

Optimality of Strategies for Collapsing Expanded Random Variables In a Simple Random Sample Ed Stanek

Chapter 2 Intro to Math Techniques for Quantum Mechanics

the midpoint of the ith subinterval, and n is even for

Approximate Integration

Available online through

UNIT I. Definition and existence of Riemann-Stieltjes

8.1 Arc Length. What is the length of a curve? How can we approximate it? We could do it following the pattern we ve used before

CURVE FITTING LEAST SQUARES METHOD

UNIVERSITI KEBANGSAAN MALAYSIA PEPERIKSAAN AKHIR SEMESTER I SESI AKADEMIK 2007/2008 IJAZAH SARJANAMUDA DENGAN KEPUJIAN NOVEMBER 2007 MASA : 3 JAM

Math1242 Project I (TI 84) Name:

MATLAB PROGRAM FOR THE NUMERICAL SOLUTION OF DUHAMEL CONVOLUTION INTEGRAL

PubH 7405: REGRESSION ANALYSIS REGRESSION IN MATRIX TERMS

St John s College. Preliminary Examinations July 2014 Mathematics Paper 1. Examiner: G Evans Time: 3 hrs Moderator: D Grigoratos Marks: 150

Integration by Parts for D K

Chapter Gauss-Seidel Method

MA123, Chapter 9: Computing some integrals (pp )

Definite Integral. The Left and Right Sums

St John s College. UPPER V Mathematics: Paper II. Learning Outcomes 3 and 4. Examiner: SLS / BH Marks: 150 Moderator: DG

ICS141: Discrete Mathematics for Computer Science I

Analytical Approach for the Solution of Thermodynamic Identities with Relativistic General Equation of State in a Mixture of Gases

Chapter 5. The Riemann Integral. 5.1 The Riemann integral Partitions and lower and upper integrals. Note: 1.5 lectures

4. When is the particle speeding up? Why? 5. When is the particle slowing down? Why?

Asymptotic Dominance Problems. is not constant but for n 0, f ( n) 11. 0, so that for n N f

CHAPTER 4 RADICAL EXPRESSIONS

Lecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar)

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b

COMPLEX NUMBERS AND DE MOIVRE S THEOREM

Chapter Simpson s 1/3 Rule of Integration. ( x)

Rank One Update And the Google Matrix by Al Bernstein Signal Science, LLC

Approximations of Definite Integrals

10.2 Series. , we get. which is called an infinite series ( or just a series) and is denoted, for short, by the symbol. i i n

Chapter 7. Bounds for weighted sums of Random Variables

Systems of second order ordinary differential equations

Strategies for the AP Calculus Exam

Definite Integrals. The area under a curve can be approximated by adding up the areas of rectangles = 1 1 +

( a n ) converges or diverges.

EVALUATING DEFINITE INTEGRALS

Numerical Analysis Topic 4: Least Squares Curve Fitting

f ( x) ( ) dx =

Itō Calculus (An Abridged Overview)

Soo King Lim Figure 1: Figure 2: Figure 3: Figure 4: Figure 5: Figure 6: Figure 7: Figure 8: Figure 9: Figure 10: Figure 11:

4 7x =250; 5 3x =500; Read section 3.3, 3.4 Announcements: Bell Ringer: Use your calculator to solve

Rendering Equation. Linear equation Spatial homogeneous Both ray tracing and radiosity can be considered special case of this general eq.

Chapter Unary Matrix Operations

1.1 The FTC and Riemann Sums. An Application of Definite Integrals: Net Distance Travelled

We have already referred to a certain reaction, which takes place at high temperature after rich combustion.

We will begin by supplying the proof to (a).

Introduction to mathematical Statistics

INTEGRATION TECHNIQUES (TRIG, LOG, EXP FUNCTIONS)

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2.

Chapter 2 Intro to Math Techniques for Quantum Mechanics

Answer: First, I ll show how to find the terms analytically then I ll show how to use the TI to find them.

3/20/2013. Splines There are cases where polynomial interpolation is bad overshoot oscillations. Examplef x. Interpolation at -4,-3,-2,-1,0,1,2,3,4

1.3 Continuous Functions and Riemann Sums

The area under the graph of f and above the x-axis between a and b is denoted by. f(x) dx. π O

Sequences and summations

i+1 by A and imposes Ax

Solutions Manual for Polymer Science and Technology Third Edition

b a 2 ((g(x))2 (f(x)) 2 dx

6. Chemical Potential and the Grand Partition Function

Review of Gaussian Quadrature method

10. AREAS BETWEEN CURVES

PGE 310: Formulation and Solution in Geosystems Engineering. Dr. Balhoff. Interpolation

The z-transform. LTI System description. Prof. Siripong Potisuk

Random variables and sampling theory

The Reimann Integral is a formal limit definition of a definite integral

Convergence rates of approximate sums of Riemann integrals

Transcription:

7.7- Approxmte Itegrto Motvto: MTH 46 Clss 7 Notes I secto 7.5 we lered tht some defte tegrls, lke x e dx, cot e wrtte terms of elemetry fuctos. So, good questo to sk would e: How c oe clculte somethg lke x e dx to hgh level of ccurcy? I chpter 5 you lered tht f we dvde, to sutervls of legth * we hve ( ) f x dx f x x where, x (Note: wth ths mg scheme we hve x x, the * x s y pot the th sutervl whch we cll x x for 0,,..., ). You lso lered tht the mdpot rule s the pproxmto tht we ot whe we let * x x x. The mdpot rule s pctorlly represeted elow wth 4 : x 0 x x x 3 x 4 If the curve purple represets the grph of f( x ) the the mdpot rule tells us tht the pproxmte vlue of x4 dx s gve y the sum of the res of the four yellow rectgles. x0

Alytclly we c represet the mdpot rule y: dx x f x f x... f x where x x x d x. Clerly the pproxmto yelded y the mdpot rule gets etter s the vlue of creses. A good questo to sk s: Is there cert vlue of tht wll gurtee tht my pproxmto s wth error of E from the ctul re? Grded Exmple: Use the mdpot rule wth to pproxmte the vlue of Soluto: We see tht ths cse d. Ths mes tht mples tht x0, x 0, d x. So, f we let x 4 4 e dx f x f x f f e e 4.558. e x e dx. x. Ths e x y the mdpot rule we see: Trpezodl Rule The de here s to use trpezods rther th rectgles to pproxmte the re. The chllege s to pck the trpezods so tht ther res c e computed quckly d effcetly. The de (wth 4 ) of the trpezodl rule s show pctorlly elow: T T 3 T T 4 x 0 x x x 3 x 4 Note: We wll use the mes dscussg the mdpot rule. x d x the sme wy tht we used these mes whe

x4 I the ove pcture the pproxmte vlue of dx s gve y the sum of the re of the four trpezods. Now, we wll compute ths sum. Frst, recll tht the re of trpezod s gve y the formul: A heght of the trpezod d d see tht the re of T s 0 x0 h where h s the represet the legth of the ses. Usg ths formul we x f x f x. Followg ths ptter, we see tht the sum of the res of ll four trpezods s: x x x x f x0 f x f x f x f x f x3 f x3 f x4. If we x fctor out d come lke terms we see tht ths expresso s equl to: x f x 0 f x f x f x 3 f x 4. Geerlzg ths for rtrry leds to the trpezodl rule. x The Trpezodl Rule: dx f x f x f x... f x f x where x d x x for 0,,...,. 0 Grded Exmple: Use the trpezodl rule wth to pproxmte the vlue of Soluto: We see tht ths cse d. Ths mes tht mples tht x0, x 0, d x. So, f we let x e dx. x. Ths e x y the trpezodl rule we see: x e dx f f (0) f () e e e.367. Questo to the Clss: Whch do you thk gves the etter estmte the trpezodl or mdpot rule? Possle Aswer: Bsed upo the grded exmples we c tt some ecdotl evdece. If we trust tht the clcultor c fd x e dx to hgh level of ccurcy (we get e x dx.494 from the clcultor), we see tht the mout the mdpot rule ws off (for the grded exmple) ws pproxmtely:.558.494.064 d the mout the trpezodl rule ws off ws pproxmtely:.367.494.7. So, ths exmple the mdpot rule ppered to do etter jo.

Theorem: Suppose K Trpezodl d Mdpot rules, the for ll x,. If E T d 3 3 K K ET d E M. 4 E M re the errors the Proof: The proof of ths theorem wll e wthheld. We wll e le to prove ths theorem qute esly fter we fsh chpter. Remrk: From ths theorem we see tht we hve etter upper oud o the error from the Mdpot rule. So, ths sese the mdpot rule s etter. However, there re some exmples whch the trpezodl rule wll do just s well s the mdpot rule of pproxmtg the vlue of defte tegrl. It s mportt to uderstd tht the ove theorem s ot gvg you the error; rther, t s gvg you upper oud o the error ( ctulty the error mght e much smller th the upper oud). Note: Iterestgly, ppled mthemtcs (mely umercl lysts) would vew the Mdpot d Trpezodl rules s roughly the sme wth respect to how good they re sce oth errors c e oud y costt tmes. Exmple: () Suppose we pproxmte x e dx wth the mdpot rule d 5 upper oud for the error volved ths pproxmto. From the theorem we kow we must fd K so tht K for every x. Gve, ( ths cse e x x e 4x. Now, usg the closed tervl method (o pge 78) from Clc we c fd the glol mx d glol m of,. After dog ths we see tht f( x). So, we c tke K. ). We ote tht o Now, from the theorem we see tht upper oud for the error s: 3 6.06. 4 5 600 75 () How lrge should we tke f we wt to use the mdpot rule d ot x pproxmto of e dx tht s wth 000 of the ctul vlue of x e dx?

Smpso s Rule 6 The desred s such tht. Solvg ths equlty for > 0 we 4 000 6 000 000 hve: 6000 4. The sce 4 000 3 3 000 6, we kow we c tke 6 to cheve the desred result. 3 The de here s to use prols sted of strght le segmets (we use strght le segmets for the trpezodl rule) to pproxmte curve. We wll use the mes x d x the sme wy tht we used these mes whe dscussg the mdpot d trpezodl rules. Sce 3 ocoler pots determe prol we use the pots x, f x, x, f x, d x, f x for,4,6,..., to determe prol. The, to pproxmte the re uder the curve, we fd the re ouded etwee the x-xs d the prol (from x to x ). Ths s llustrted elow: Note: It s mportt to uderstd tht the re ove yellow s smply oe secto of Smpso s rule. I ctulty there c e my pots the prtto of the x-xs. Sce y prol tht we fd Smpso s rule wll exst over two of the sutervls (whch, s dvded to) t must e the cse tht s eve whe we pply Smpso s rule.

Due to lck of lecture tme we wll ot derve Smpso s rule. If you would lke to see the dervto t s o pges 5 d 5 of the textook. We ow preset Smpso s rule d the oud o the error (wthout proof) whe Smpso s rule s ppled. Smpso s Rule: x dx f x0 4 f x f x 4 f x3... f x 4f x f x where s 3 eve d x. Theorem: Suppose Smpso s rule the: 4 K for ll x, E S. If 5 K. 4 80 E S s the error volved usg Remrk: Oe should ote tht the error oud for Smpso s rule hs the potetl to e much smller th the error ouds for the Trpezodl d Mdpot rules. Grded Exmple: () Use Smpso s rule wth 4 to pproxmte the vlue of (roud your swer to four decml plces). Soluto: We see tht ths cse d. Ths mes tht x. Ths 4 mples tht x0, x, x 0, x3, d x4. So, f we let e x y x Smpso s rule we see: e dx f x0 4 f x f x 4 f x3 f x4.4944. 6 () Suppose tht you kow tht f e x the e x 4 for y x,. Use ths fct to fd upper oud o the error of the pproxmto you foud (). Soluto: 4 5 By the theorem the error s ouded ove y 384.0083. 80 4 46080 0 Recommeded Homework: 7.7-3-9 odd; 37 dx